(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{"+0xr":function(e,t,n){"use strict";n.d(t,"a",function(){return be}),n.d(t,"b",function(){return ue}),n.d(t,"c",function(){return ge}),n.d(t,"d",function(){return ve}),n.d(t,"e",function(){return he}),n.d(t,"f",function(){return ke}),n.d(t,"g",function(){return _e}),n.d(t,"h",function(){return Ee}),n.d(t,"i",function(){return Se}),n.d(t,"j",function(){return ce}),n.d(t,"k",function(){return Ie}),n("ODXe");var i=n("ReuC"),r=n("foSv"),a=n("vuIU"),o=n("1OyB"),s=n("Ji7U"),l=n("LK+K"),c=n("KQm4"),d=n("uFwe"),u=n("8LU1"),p=n("0EQZ"),h=n("fXoL"),m=n("cH1L"),g=n("nLfN"),f=n("vxfF"),v=n("ofXK"),y=n("XNiG"),b=n("Cfvw"),x=n("2Vo4"),_=n("7+OI"),w=n("LRne"),S=n("1G5W"),C=n("IzEk"),k=[[["caption"]],[["colgroup"],["col"]]],O=["caption","colgroup, col"];function E(e){return function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){var e;Object(o.a)(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r)))._sticky=!1,e._hasStickyChanged=!1,e}return Object(a.a)(n,[{key:"sticky",get:function(){return this._sticky},set:function(e){var t=this._sticky;this._sticky=Object(u.c)(e),this._hasStickyChanged=t!==this._sticky}},{key:"hasStickyChanged",value:function(){var e=this._hasStickyChanged;return this._hasStickyChanged=!1,e}},{key:"resetStickyChanged",value:function(){this._hasStickyChanged=!1}}]),n}(e)}var M=new h.InjectionToken("CDK_TABLE"),I=function(){var e=Object(a.a)(function e(t){Object(o.a)(this,e),this.template=t});return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.TemplateRef))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkCellDef",""]]}),e}(),P=function(){var e=Object(a.a)(function e(t){Object(o.a)(this,e),this.template=t});return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.TemplateRef))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkHeaderCellDef",""]]}),e}(),T=function(){var e=Object(a.a)(function e(t){Object(o.a)(this,e),this.template=t});return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.TemplateRef))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkFooterCellDef",""]]}),e}(),D=E(Object(a.a)(function e(){Object(o.a)(this,e)})),L=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e){var i;return Object(o.a)(this,n),(i=t.call(this))._table=e,i._stickyEnd=!1,i}return Object(a.a)(n,[{key:"name",get:function(){return this._name},set:function(e){this._setNameInput(e)}},{key:"stickyEnd",get:function(){return this._stickyEnd},set:function(e){var t=this._stickyEnd;this._stickyEnd=Object(u.c)(e),this._hasStickyChanged=t!==this._stickyEnd}},{key:"_updateColumnCssClassName",value:function(){this._columnCssClassName=["cdk-column-".concat(this.cssClassFriendlyName)]}},{key:"_setNameInput",value:function(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}]),n}(D);return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](M,8))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,t,n){var i;1&e&&(h["\u0275\u0275contentQuery"](n,I,1),h["\u0275\u0275contentQuery"](n,P,1),h["\u0275\u0275contentQuery"](n,T,1)),2&e&&(h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t.cell=i.first),h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t.headerCell=i.first),h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t.footerCell=i.first))},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[h["\u0275\u0275ProvidersFeature"]([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),h["\u0275\u0275InheritDefinitionFeature"]]}),e}(),R=Object(a.a)(function e(t,n){Object(o.a)(this,e);var i,r=n.nativeElement.classList,a=Object(d.a)(t._columnCssClassName);try{for(a.s();!(i=a.n()).done;)r.add(i.value)}catch(s){a.e(s)}finally{a.f()}}),j=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i){return Object(o.a)(this,n),t.call(this,e,i)}return Object(a.a)(n)}(R);return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](L),h["\u0275\u0275directiveInject"](h.ElementRef))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[h["\u0275\u0275InheritDefinitionFeature"]]}),e}(),A=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i){return Object(o.a)(this,n),t.call(this,e,i)}return Object(a.a)(n)}(R);return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](L),h["\u0275\u0275directiveInject"](h.ElementRef))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:["role","gridcell",1,"cdk-cell"],features:[h["\u0275\u0275InheritDefinitionFeature"]]}),e}(),F=Object(a.a)(function e(){Object(o.a)(this,e),this.tasks=[],this.endTasks=[]}),B=new h.InjectionToken("_COALESCED_STYLE_SCHEDULER"),z=function(){var e=function(){function e(t){Object(o.a)(this,e),this._ngZone=t,this._currentSchedule=null,this._destroyed=new y.a}return Object(a.a)(e,[{key:"schedule",value:function(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}},{key:"scheduleEnd",value:function(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_createScheduleIfNeeded",value:function(){var e=this;this._currentSchedule||(this._currentSchedule=new F,this._getScheduleObservable().pipe(Object(S.a)(this._destroyed)).subscribe(function(){for(;e._currentSchedule.tasks.length||e._currentSchedule.endTasks.length;){var t=e._currentSchedule;e._currentSchedule=new F;var n,i=Object(d.a)(t.tasks);try{for(i.s();!(n=i.n()).done;)(0,n.value)()}catch(o){i.e(o)}finally{i.f()}var r,a=Object(d.a)(t.endTasks);try{for(a.s();!(r=a.n()).done;)(0,r.value)()}catch(o){a.e(o)}finally{a.f()}}e._currentSchedule=null}))}},{key:"_getScheduleObservable",value:function(){return this._ngZone.isStable?Object(b.a)(Promise.resolve(void 0)):this._ngZone.onStable.pipe(Object(C.a)(1))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275inject"](h.NgZone))},e.\u0275prov=h["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),N=function(){var e=function(){function e(t,n){Object(o.a)(this,e),this.template=t,this._differs=n}return Object(a.a)(e,[{key:"ngOnChanges",value:function(e){if(!this._columnsDiffer){var t=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(t).create(),this._columnsDiffer.diff(t)}}},{key:"getColumnsDiff",value:function(){return this._columnsDiffer.diff(this.columns)}},{key:"extractCellTemplate",value:function(e){return this instanceof V?e.headerCell.template:this instanceof W?e.footerCell.template:e.cell.template}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.TemplateRef),h["\u0275\u0275directiveInject"](h.IterableDiffers))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,features:[h["\u0275\u0275NgOnChangesFeature"]]}),e}(),H=E(function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n)}(N)),V=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r){var a;return Object(o.a)(this,n),(a=t.call(this,e,i))._table=r,a}return Object(a.a)(n,[{key:"ngOnChanges",value:function(e){Object(i.a)(Object(r.a)(n.prototype),"ngOnChanges",this).call(this,e)}}]),n}(H);return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.TemplateRef),h["\u0275\u0275directiveInject"](h.IterableDiffers),h["\u0275\u0275directiveInject"](M,8))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[h["\u0275\u0275InheritDefinitionFeature"],h["\u0275\u0275NgOnChangesFeature"]]}),e}(),Y=E(function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n)}(N)),W=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r){var a;return Object(o.a)(this,n),(a=t.call(this,e,i))._table=r,a}return Object(a.a)(n,[{key:"ngOnChanges",value:function(e){Object(i.a)(Object(r.a)(n.prototype),"ngOnChanges",this).call(this,e)}}]),n}(Y);return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.TemplateRef),h["\u0275\u0275directiveInject"](h.IterableDiffers),h["\u0275\u0275directiveInject"](M,8))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[h["\u0275\u0275InheritDefinitionFeature"],h["\u0275\u0275NgOnChangesFeature"]]}),e}(),G=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r){var a;return Object(o.a)(this,n),(a=t.call(this,e,i))._table=r,a}return Object(a.a)(n)}(N);return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.TemplateRef),h["\u0275\u0275directiveInject"](h.IterableDiffers),h["\u0275\u0275directiveInject"](M,8))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[h["\u0275\u0275InheritDefinitionFeature"]]}),e}(),U=function(){var e=function(){function e(t){Object(o.a)(this,e),this._viewContainer=t,e.mostRecentCellOutlet=this}return Object(a.a)(e,[{key:"ngOnDestroy",value:function(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.ViewContainerRef))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkCellOutlet",""]]}),e.mostRecentCellOutlet=null,e}(),q=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=h["\u0275\u0275defineComponent"]({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&h["\u0275\u0275elementContainer"](0,0)},directives:[U],encapsulation:2}),e}(),Z=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=h["\u0275\u0275defineComponent"]({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&h["\u0275\u0275elementContainer"](0,0)},directives:[U],encapsulation:2}),e}(),$=function(){var e=Object(a.a)(function e(t){Object(o.a)(this,e),this.templateRef=t});return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.TemplateRef))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["ng-template","cdkNoDataRow",""]]}),e}(),X=["top","bottom","left","right"],K=function(){function e(t,n,i,r){var a=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],l=arguments.length>6?arguments[6]:void 0;Object(o.a)(this,e),this._isNativeHtmlTable=t,this._stickCellCss=n,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=a,this._needsPositionStickyOnElement=s,this._positionListener=l,this._cachedCellWidths=[],this._borderCellCss={top:"".concat(n,"-border-elem-top"),bottom:"".concat(n,"-border-elem-bottom"),left:"".concat(n,"-border-elem-left"),right:"".concat(n,"-border-elem-right")}}return Object(a.a)(e,[{key:"clearStickyPositioning",value:function(e,t){var n,i=this,r=[],a=Object(d.a)(e);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.nodeType===o.ELEMENT_NODE){r.push(o);for(var s=0;s<o.children.length;s++)r.push(o.children[s])}}}catch(l){a.e(l)}finally{a.f()}this._scheduleStyleChanges(function(){for(var e=0,n=r;e<n.length;e++)i._removeStickyStyle(n[e],t)})}},{key:"updateStickyColumns",value:function(e,t,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(e.length&&this._isBrowser&&(t.some(function(e){return e})||n.some(function(e){return e}))){var a=e[0],o=a.children.length,s=this._getCellWidths(a,r),l=this._getStickyStartColumnPositions(s,t),c=this._getStickyEndColumnPositions(s,n),u=t.lastIndexOf(!0),p=n.indexOf(!0);this._scheduleStyleChanges(function(){var r,a="rtl"===i.direction,h=a?"right":"left",m=a?"left":"right",g=Object(d.a)(e);try{for(g.s();!(r=g.n()).done;)for(var f=r.value,v=0;v<o;v++){var y=f.children[v];t[v]&&i._addStickyStyle(y,h,l[v],v===u),n[v]&&i._addStickyStyle(y,m,c[v],v===p)}}catch(b){g.e(b)}finally{g.f()}i._positionListener&&(i._positionListener.stickyColumnsUpdated({sizes:-1===u?[]:s.slice(0,u+1).map(function(e,n){return t[n]?e:null})}),i._positionListener.stickyEndColumnsUpdated({sizes:-1===p?[]:s.slice(p).map(function(e,t){return n[t+p]?e:null}).reverse()}))})}else this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}))}},{key:"stickRows",value:function(e,t,n){var i=this;if(this._isBrowser){for(var r="bottom"===n?e.slice().reverse():e,a="bottom"===n?t.slice().reverse():t,o=[],s=[],l=[],c=0,u=0;c<r.length;c++)if(o[c]=u,a[c]){var p=r[c];l[c]=this._isNativeHtmlTable?Array.from(p.children):[p];var h=p.getBoundingClientRect().height;u+=h,s[c]=h}var m=a.lastIndexOf(!0);this._scheduleStyleChanges(function(){for(var e,t,c=0;c<r.length;c++)if(a[c]){var u,p=o[c],h=c===m,g=Object(d.a)(l[c]);try{for(g.s();!(u=g.n()).done;)i._addStickyStyle(u.value,n,p,h)}catch(f){g.e(f)}finally{g.f()}}"top"===n?null===(e=i._positionListener)||void 0===e||e.stickyHeaderRowsUpdated({sizes:s,elements:l}):null===(t=i._positionListener)||void 0===t||t.stickyFooterRowsUpdated({sizes:s,elements:l})})}}},{key:"updateStickyFooterContainer",value:function(e,t){var n=this;if(this._isNativeHtmlTable){var i=e.querySelector("tfoot");this._scheduleStyleChanges(function(){t.some(function(e){return!e})?n._removeStickyStyle(i,["bottom"]):n._addStickyStyle(i,"bottom",0,!1)})}}},{key:"_removeStickyStyle",value:function(e,t){var n,i=Object(d.a)(t);try{for(i.s();!(n=i.n()).done;){var r=n.value;e.style[r]="",e.classList.remove(this._borderCellCss[r])}}catch(a){i.e(a)}finally{i.f()}X.some(function(n){return-1===t.indexOf(n)&&e.style[n]})?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}},{key:"_addStickyStyle",value:function(e,t,n,i){e.classList.add(this._stickCellCss),i&&e.classList.add(this._borderCellCss[t]),e.style[t]="".concat(n,"px"),e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}},{key:"_getCalculatedZIndex",value:function(e){for(var t={top:100,bottom:10,left:1,right:1},n=0,i=0,r=X;i<r.length;i++){var a=r[i];e.style[a]&&(n+=t[a])}return n?"".concat(n):""}},{key:"_getCellWidths",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!t&&this._cachedCellWidths.length)return this._cachedCellWidths;for(var n=[],i=e.children,r=0;r<i.length;r++){var a=i[r];n.push(a.getBoundingClientRect().width)}return this._cachedCellWidths=n,n}},{key:"_getStickyStartColumnPositions",value:function(e,t){for(var n=[],i=0,r=0;r<e.length;r++)t[r]&&(n[r]=i,i+=e[r]);return n}},{key:"_getStickyEndColumnPositions",value:function(e,t){for(var n=[],i=0,r=e.length;r>0;r--)t[r]&&(n[r]=i,i+=e[r]);return n}},{key:"_scheduleStyleChanges",value:function(e){this._coalescedStyleScheduler?this._coalescedStyleScheduler.schedule(e):e()}}]),e}(),J=new h.InjectionToken("CDK_SPL"),Q=function(){var e=Object(a.a)(function e(t,n){Object(o.a)(this,e),this.viewContainer=t,this.elementRef=n});return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.ViewContainerRef),h["\u0275\u0275directiveInject"](h.ElementRef))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","rowOutlet",""]]}),e}(),ee=function(){var e=Object(a.a)(function e(t,n){Object(o.a)(this,e),this.viewContainer=t,this.elementRef=n});return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.ViewContainerRef),h["\u0275\u0275directiveInject"](h.ElementRef))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","headerRowOutlet",""]]}),e}(),te=function(){var e=Object(a.a)(function e(t,n){Object(o.a)(this,e),this.viewContainer=t,this.elementRef=n});return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.ViewContainerRef),h["\u0275\u0275directiveInject"](h.ElementRef))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","footerRowOutlet",""]]}),e}(),ne=function(){var e=Object(a.a)(function e(t,n){Object(o.a)(this,e),this.viewContainer=t,this.elementRef=n});return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.ViewContainerRef),h["\u0275\u0275directiveInject"](h.ElementRef))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","noDataRowOutlet",""]]}),e}(),ie=function(){var e=function(){function e(t,n,i,r,a,s,l,c,d,u,p){Object(o.a)(this,e),this._differs=t,this._changeDetectorRef=n,this._elementRef=i,this._dir=a,this._platform=l,this._viewRepeater=c,this._coalescedStyleScheduler=d,this._stickyPositioningListener=u,this._viewportRuler=p,this._onDestroy=new y.a,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.viewChange=new x.a({start:0,end:Number.MAX_VALUE}),r||this._elementRef.nativeElement.setAttribute("role","grid"),this._document=s,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}return Object(a.a)(e,[{key:"trackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"dataSource",get:function(){return this._dataSource},set:function(e){this._dataSource!==e&&this._switchDataSource(e)}},{key:"multiTemplateDataRows",get:function(){return this._multiTemplateDataRows},set:function(e){this._multiTemplateDataRows=Object(u.c)(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}},{key:"fixedLayout",get:function(){return this._fixedLayout},set:function(e){this._fixedLayout=Object(u.c)(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}},{key:"ngOnInit",value:function(){var e=this;this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create(function(t,n){return e.trackBy?e.trackBy(n.dataIndex,n.data):n}),this._viewportRuler&&this._viewportRuler.change().pipe(Object(S.a)(this._onDestroy)).subscribe(function(){e._forceRecalculateCellWidths=!0})}},{key:"ngAfterContentChecked",value:function(){this._cacheRowDefs(),this._cacheColumnDefs();var e=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||e,this._forceRecalculateCellWidths=e,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}},{key:"ngOnDestroy",value:function(){this._rowOutlet.viewContainer.clear(),this._noDataRowOutlet.viewContainer.clear(),this._headerRowOutlet.viewContainer.clear(),this._footerRowOutlet.viewContainer.clear(),this._cachedRenderRowsMap.clear(),this._onDestroy.next(),this._onDestroy.complete(),Object(p.h)(this.dataSource)&&this.dataSource.disconnect(this)}},{key:"renderRows",value:function(){var e=this;this._renderRows=this._getAllRenderRows();var t=this._dataDiffer.diff(this._renderRows);if(t){var n=this._rowOutlet.viewContainer;this._viewRepeater?this._viewRepeater.applyChanges(t,n,function(t,n,i){return e._getEmbeddedViewArgs(t.item,i)},function(e){return e.item.data},function(t){1===t.operation&&t.context&&e._renderCellTemplateForItem(t.record.item.rowDef,t.context)}):t.forEachOperation(function(t,i,r){if(null==t.previousIndex){var a=t.item;e._renderRow(e._rowOutlet,a.rowDef,r,{$implicit:a.data})}else if(null==r)n.remove(i);else{var o=n.get(i);n.move(o,r)}}),this._updateRowIndexContext(),t.forEachIdentityChange(function(e){n.get(e.currentIndex).context.$implicit=e.item.data}),this._updateNoDataRow(),this.updateStickyColumnStyles()}else this._updateNoDataRow()}},{key:"addColumnDef",value:function(e){this._customColumnDefs.add(e)}},{key:"removeColumnDef",value:function(e){this._customColumnDefs.delete(e)}},{key:"addRowDef",value:function(e){this._customRowDefs.add(e)}},{key:"removeRowDef",value:function(e){this._customRowDefs.delete(e)}},{key:"addHeaderRowDef",value:function(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}},{key:"removeHeaderRowDef",value:function(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}},{key:"addFooterRowDef",value:function(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}},{key:"removeFooterRowDef",value:function(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}},{key:"setNoDataRow",value:function(e){this._customNoDataRow=e}},{key:"updateStickyHeaderRowStyles",value:function(){var e=this._getRenderedRows(this._headerRowOutlet),t=this._elementRef.nativeElement.querySelector("thead");t&&(t.style.display=e.length?"":"none");var n=this._headerRowDefs.map(function(e){return e.sticky});this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,n,"top"),this._headerRowDefs.forEach(function(e){return e.resetStickyChanged()})}},{key:"updateStickyFooterRowStyles",value:function(){var e=this._getRenderedRows(this._footerRowOutlet),t=this._elementRef.nativeElement.querySelector("tfoot");t&&(t.style.display=e.length?"":"none");var n=this._footerRowDefs.map(function(e){return e.sticky});this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,n,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,n),this._footerRowDefs.forEach(function(e){return e.resetStickyChanged()})}},{key:"updateStickyColumnStyles",value:function(){var e=this,t=this._getRenderedRows(this._headerRowOutlet),n=this._getRenderedRows(this._rowOutlet),i=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([].concat(Object(c.a)(t),Object(c.a)(n),Object(c.a)(i)),["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach(function(t,n){e._addStickyColumnStyles([t],e._headerRowDefs[n])}),this._rowDefs.forEach(function(t){for(var i=[],r=0;r<n.length;r++)e._renderRows[r].rowDef===t&&i.push(n[r]);e._addStickyColumnStyles(i,t)}),i.forEach(function(t,n){e._addStickyColumnStyles([t],e._footerRowDefs[n])}),Array.from(this._columnDefsByName.values()).forEach(function(e){return e.resetStickyChanged()})}},{key:"_getAllRenderRows",value:function(){var e=[],t=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(var n=0;n<this._data.length;n++){var i=this._data[n],r=this._getRenderRowsForData(i,n,t.get(i));this._cachedRenderRowsMap.has(i)||this._cachedRenderRowsMap.set(i,new WeakMap);for(var a=0;a<r.length;a++){var o=r[a],s=this._cachedRenderRowsMap.get(o.data);s.has(o.rowDef)?s.get(o.rowDef).push(o):s.set(o.rowDef,[o]),e.push(o)}}return e}},{key:"_getRenderRowsForData",value:function(e,t,n){return this._getRowDefs(e,t).map(function(i){var r=n&&n.has(i)?n.get(i):[];if(r.length){var a=r.shift();return a.dataIndex=t,a}return{data:e,rowDef:i,dataIndex:t}})}},{key:"_cacheColumnDefs",value:function(){var e=this;this._columnDefsByName.clear(),re(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(function(t){e._columnDefsByName.has(t.name),e._columnDefsByName.set(t.name,t)})}},{key:"_cacheRowDefs",value:function(){this._headerRowDefs=re(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=re(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=re(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);var e=this._rowDefs.filter(function(e){return!e.when});this._defaultRowDef=e[0]}},{key:"_renderUpdatedColumns",value:function(){var e=function(e,t){return e||!!t.getColumnsDiff()},t=this._rowDefs.reduce(e,!1);t&&this._forceRenderDataRows();var n=this._headerRowDefs.reduce(e,!1);n&&this._forceRenderHeaderRows();var i=this._footerRowDefs.reduce(e,!1);return i&&this._forceRenderFooterRows(),t||n||i}},{key:"_switchDataSource",value:function(e){this._data=[],Object(p.h)(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}},{key:"_observeRenderChanges",value:function(){var e,t=this;this.dataSource&&(Object(p.h)(this.dataSource)?e=this.dataSource.connect(this):Object(_.a)(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=Object(w.a)(this.dataSource)),this._renderChangeSubscription=e.pipe(Object(S.a)(this._onDestroy)).subscribe(function(e){t._data=e||[],t.renderRows()}))}},{key:"_forceRenderHeaderRows",value:function(){var e=this;this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach(function(t,n){return e._renderRow(e._headerRowOutlet,t,n)}),this.updateStickyHeaderRowStyles()}},{key:"_forceRenderFooterRows",value:function(){var e=this;this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach(function(t,n){return e._renderRow(e._footerRowOutlet,t,n)}),this.updateStickyFooterRowStyles()}},{key:"_addStickyColumnStyles",value:function(e,t){var n=this,i=Array.from(t.columns||[]).map(function(e){return n._columnDefsByName.get(e)}),r=i.map(function(e){return e.sticky}),a=i.map(function(e){return e.stickyEnd});this._stickyStyler.updateStickyColumns(e,r,a,!this._fixedLayout||this._forceRecalculateCellWidths)}},{key:"_getRenderedRows",value:function(e){for(var t=[],n=0;n<e.viewContainer.length;n++){var i=e.viewContainer.get(n);t.push(i.rootNodes[0])}return t}},{key:"_getRowDefs",value:function(e,t){if(1==this._rowDefs.length)return[this._rowDefs[0]];var n=[];if(this.multiTemplateDataRows)n=this._rowDefs.filter(function(n){return!n.when||n.when(t,e)});else{var i=this._rowDefs.find(function(n){return n.when&&n.when(t,e)})||this._defaultRowDef;i&&n.push(i)}return n}},{key:"_getEmbeddedViewArgs",value:function(e,t){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:t}}},{key:"_renderRow",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=e.viewContainer.createEmbeddedView(t.template,i,n);return this._renderCellTemplateForItem(t,i),r}},{key:"_renderCellTemplateForItem",value:function(e,t){var n,i=Object(d.a)(this._getCellTemplates(e));try{for(i.s();!(n=i.n()).done;)U.mostRecentCellOutlet&&U.mostRecentCellOutlet._viewContainer.createEmbeddedView(n.value,t)}catch(r){i.e(r)}finally{i.f()}this._changeDetectorRef.markForCheck()}},{key:"_updateRowIndexContext",value:function(){for(var e=this._rowOutlet.viewContainer,t=0,n=e.length;t<n;t++){var i=e.get(t).context;i.count=n,i.first=0===t,i.last=t===n-1,i.even=t%2==0,i.odd=!i.even,this.multiTemplateDataRows?(i.dataIndex=this._renderRows[t].dataIndex,i.renderIndex=t):i.index=this._renderRows[t].dataIndex}}},{key:"_getCellTemplates",value:function(e){var t=this;return e&&e.columns?Array.from(e.columns,function(n){var i=t._columnDefsByName.get(n);return e.extractCellTemplate(i)}):[]}},{key:"_applyNativeTableSections",value:function(){for(var e=this._document.createDocumentFragment(),t=0,n=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];t<n.length;t++){var i=n[t],r=this._document.createElement(i.tag);r.setAttribute("role","rowgroup");var a,o=Object(d.a)(i.outlets);try{for(o.s();!(a=o.n()).done;)r.appendChild(a.value.elementRef.nativeElement)}catch(s){o.e(s)}finally{o.f()}e.appendChild(r)}this._elementRef.nativeElement.appendChild(e)}},{key:"_forceRenderDataRows",value:function(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}},{key:"_checkStickyStates",value:function(){var e=function(e,t){return e||t.hasStickyChanged()};this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}},{key:"_setupStickyStyler",value:function(){var e=this;this._stickyStyler=new K(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Object(w.a)()).pipe(Object(S.a)(this._onDestroy)).subscribe(function(t){e._stickyStyler.direction=t,e.updateStickyColumnStyles()})}},{key:"_getOwnDefs",value:function(e){var t=this;return e.filter(function(e){return!e._table||e._table===t})}},{key:"_updateNoDataRow",value:function(){var e=this._customNoDataRow||this._noDataRow;if(e){var t=0===this._rowOutlet.viewContainer.length;if(t!==this._isShowingNoDataRow){var n=this._noDataRowOutlet.viewContainer;t?n.createEmbeddedView(e.templateRef):n.clear(),this._isShowingNoDataRow=t}}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.IterableDiffers),h["\u0275\u0275directiveInject"](h.ChangeDetectorRef),h["\u0275\u0275directiveInject"](h.ElementRef),h["\u0275\u0275injectAttribute"]("role"),h["\u0275\u0275directiveInject"](m.b,8),h["\u0275\u0275directiveInject"](v.DOCUMENT),h["\u0275\u0275directiveInject"](g.a),h["\u0275\u0275directiveInject"](p.g,8),h["\u0275\u0275directiveInject"](B,8),h["\u0275\u0275directiveInject"](J,12),h["\u0275\u0275directiveInject"](f.d,8))},e.\u0275cmp=h["\u0275\u0275defineComponent"]({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,t,n){var i;1&e&&(h["\u0275\u0275contentQuery"](n,$,1),h["\u0275\u0275contentQuery"](n,L,1),h["\u0275\u0275contentQuery"](n,G,1),h["\u0275\u0275contentQuery"](n,V,1),h["\u0275\u0275contentQuery"](n,W,1)),2&e&&(h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t._noDataRow=i.first),h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t._contentColumnDefs=i),h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t._contentRowDefs=i),h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t._contentHeaderRowDefs=i),h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t._contentFooterRowDefs=i))},viewQuery:function(e,t){var n;1&e&&(h["\u0275\u0275viewQuery"](Q,3),h["\u0275\u0275viewQuery"](ee,3),h["\u0275\u0275viewQuery"](te,3),h["\u0275\u0275viewQuery"](ne,3)),2&e&&(h["\u0275\u0275queryRefresh"](n=h["\u0275\u0275loadQuery"]())&&(t._rowOutlet=n.first),h["\u0275\u0275queryRefresh"](n=h["\u0275\u0275loadQuery"]())&&(t._headerRowOutlet=n.first),h["\u0275\u0275queryRefresh"](n=h["\u0275\u0275loadQuery"]())&&(t._footerRowOutlet=n.first),h["\u0275\u0275queryRefresh"](n=h["\u0275\u0275loadQuery"]())&&(t._noDataRowOutlet=n.first))},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,t){2&e&&h["\u0275\u0275classProp"]("cdk-table-fixed-layout",t.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},exportAs:["cdkTable"],features:[h["\u0275\u0275ProvidersFeature"]([{provide:M,useExisting:e},{provide:p.g,useClass:p.e},{provide:B,useClass:z},{provide:J,useValue:null}])],ngContentSelectors:O,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(h["\u0275\u0275projectionDef"](k),h["\u0275\u0275projection"](0),h["\u0275\u0275projection"](1,1),h["\u0275\u0275elementContainer"](2,0),h["\u0275\u0275elementContainer"](3,1),h["\u0275\u0275elementContainer"](4,2),h["\u0275\u0275elementContainer"](5,3))},directives:[ee,Q,ne,te],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),e}();function re(e,t){return e.concat(Array.from(t))}var ae=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=h["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=h["\u0275\u0275defineInjector"]({imports:[[f.c]]}),e}(),oe=n("FKr1"),se=(n("VRyK"),n("itXk"),n("lJxs"),[[["caption"]],[["colgroup"],["col"]]]),le=["caption","colgroup, col"],ce=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments)).stickyCssClass="mat-table-sticky",e.needsPositionStickyOnElement=!1,e}return Object(a.a)(n)}(ie);return e.\u0275fac=function(t){return de(t||e)},e.\u0275cmp=h["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,t){2&e&&h["\u0275\u0275classProp"]("mat-table-fixed-layout",t.fixedLayout)},exportAs:["matTable"],features:[h["\u0275\u0275ProvidersFeature"]([{provide:p.g,useClass:p.e},{provide:ie,useExisting:e},{provide:M,useExisting:e},{provide:B,useClass:z}]),h["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:le,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,t){1&e&&(h["\u0275\u0275projectionDef"](se),h["\u0275\u0275projection"](0),h["\u0275\u0275projection"](1,1),h["\u0275\u0275elementContainer"](2,0),h["\u0275\u0275elementContainer"](3,1),h["\u0275\u0275elementContainer"](4,2),h["\u0275\u0275elementContainer"](5,3))},directives:[ee,Q,ne,te],styles:['mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-row::after,mat-header-row::after,mat-footer-row::after{display:inline-block;min-height:inherit;content:""}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:-webkit-sticky !important;position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n'],encapsulation:2}),e}(),de=h["\u0275\u0275getInheritedFactory"](ce),ue=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n)}(I);return e.\u0275fac=function(t){return pe(t||e)},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","matCellDef",""]],features:[h["\u0275\u0275ProvidersFeature"]([{provide:I,useExisting:e}]),h["\u0275\u0275InheritDefinitionFeature"]]}),e}(),pe=h["\u0275\u0275getInheritedFactory"](ue),he=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n)}(P);return e.\u0275fac=function(t){return me(t||e)},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","matHeaderCellDef",""]],features:[h["\u0275\u0275ProvidersFeature"]([{provide:P,useExisting:e}]),h["\u0275\u0275InheritDefinitionFeature"]]}),e}(),me=h["\u0275\u0275getInheritedFactory"](he),ge=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"name",get:function(){return this._name},set:function(e){this._setNameInput(e)}},{key:"_updateColumnCssClassName",value:function(){Object(i.a)(Object(r.a)(n.prototype),"_updateColumnCssClassName",this).call(this),this._columnCssClassName.push("mat-column-".concat(this.cssClassFriendlyName))}}]),n}(L);return e.\u0275fac=function(t){return fe(t||e)},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[h["\u0275\u0275ProvidersFeature"]([{provide:L,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),h["\u0275\u0275InheritDefinitionFeature"]]}),e}(),fe=h["\u0275\u0275getInheritedFactory"](ge),ve=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n)}(j);return e.\u0275fac=function(t){return ye(t||e)},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[h["\u0275\u0275InheritDefinitionFeature"]]}),e}(),ye=h["\u0275\u0275getInheritedFactory"](ve),be=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n)}(A);return e.\u0275fac=function(t){return xe(t||e)},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[h["\u0275\u0275InheritDefinitionFeature"]]}),e}(),xe=h["\u0275\u0275getInheritedFactory"](be),_e=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n)}(V);return e.\u0275fac=function(t){return we(t||e)},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[h["\u0275\u0275ProvidersFeature"]([{provide:V,useExisting:e}]),h["\u0275\u0275InheritDefinitionFeature"]]}),e}(),we=h["\u0275\u0275getInheritedFactory"](_e),Se=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n)}(G);return e.\u0275fac=function(t){return Ce(t||e)},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[h["\u0275\u0275ProvidersFeature"]([{provide:G,useExisting:e}]),h["\u0275\u0275InheritDefinitionFeature"]]}),e}(),Ce=h["\u0275\u0275getInheritedFactory"](Se),ke=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n)}(q);return e.\u0275fac=function(t){return Oe(t||e)},e.\u0275cmp=h["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[h["\u0275\u0275ProvidersFeature"]([{provide:q,useExisting:e}]),h["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&h["\u0275\u0275elementContainer"](0,0)},directives:[U],encapsulation:2}),e}(),Oe=h["\u0275\u0275getInheritedFactory"](ke),Ee=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n)}(Z);return e.\u0275fac=function(t){return Me(t||e)},e.\u0275cmp=h["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[h["\u0275\u0275ProvidersFeature"]([{provide:Z,useExisting:e}]),h["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,t){1&e&&h["\u0275\u0275elementContainer"](0,0)},directives:[U],encapsulation:2}),e}(),Me=h["\u0275\u0275getInheritedFactory"](Ee),Ie=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=h["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=h["\u0275\u0275defineInjector"]({imports:[[ae,oe.j],oe.j]}),e}()},"+ic2":function(e,t,n){"use strict";n.d(t,"b",function(){return u}),n.d(t,"o",function(){return p}),n.d(t,"a",function(){return h}),n.d(t,"i",function(){return m}),n.d(t,"f",function(){return g}),n.d(t,"d",function(){return f}),n.d(t,"h",function(){return v}),n.d(t,"g",function(){return y}),n.d(t,"e",function(){return b}),n.d(t,"j",function(){return x}),n.d(t,"l",function(){return _}),n.d(t,"n",function(){return w}),n.d(t,"k",function(){return S}),n.d(t,"m",function(){return C}),n.d(t,"c",function(){return k});var i=n("uJc7"),r=n("XNiG"),a=n("Bu+s"),o=n("RcdG"),s=n("ePeK"),l=n("6n/F"),c=n("fXoL"),d=n("tk/3"),u=function(){function e(e,t){this.http=e,this.accountService=t,this.lengths={60:[46,60],45:[31,45],30:[21,30],20:[6,20],5:[0,5]},this._listRoutinesUrl=this.accountService.getPy3Host()+"/api/v2/routine/list",this._createFromWorkout=this.accountService.getPy3Host()+"/api/v2/routine/create_from_workout",this._shareRoutineUrl=this.accountService.getPy3Host()+"/api/v2/routine/share",this._deleteSharedRoutineUrl=this.accountService.getPy3Host()+"/api/v2/routine/delete_shared",this._searchRoutinesUrl=this.accountService.getPy3Host()+"/api/v2/routine/search",this._getAssessmentsUrl=this.accountService.getPy3Host()+"/api/v2/routine/assessments",this._searchByFilterUrl=this.accountService.getPy3Host()+"/api/v2/routine/search_by_filters",this._downloadRoutineUrl=this.accountService.getPy3Host()+"/api/v2/routine/add",this._routineDetailsUrl=this.accountService.getPy3Host()+"/api/v2/routine/details",this._uploadRoutineUrl=this.accountService.getPy3Host()+"/api/v2/routine/upload_by_timestamp",this._attachGhostRoutineUrl=this.accountService.getPy3Host()+"/api/v2/routine/attach_ghost_routine",this._completedRoutinesUrl=this.accountService.getPy3Host()+"/api/v2/routine/get_completed",this._routinesRoutesFilter="all",this.fetchRoutines=new r.a,this.fetchRoutinesObs=this.fetchRoutines,this.workoutTypeChanged=new r.a,this.clickRoutines=new r.a,this.clickRoutinesTabObs=this.clickRoutines,this._routineUpdates=new r.a}return e.prototype.fetchNewRoutines=function(e){this.fetchRoutines.next(e)},e.prototype.workoutTypeChangedObs=function(){return this.workoutTypeChanged.asObservable()},e.prototype.WorkoutTypeChanged=function(e){this.workoutTypeChanged.next(e)},Object.defineProperty(e.prototype,"routinesRoutesFilter",{get:function(){return this._routinesRoutesFilter},set:function(e){this._routinesRoutesFilter=e},enumerable:!1,configurable:!0}),e.prototype.clickRoutinesTab=function(e){this.clickRoutines.next(e)},e.prototype.routineUpdates=function(){return this._routineUpdates.asObservable()},e.prototype.setRoutineUpdates=function(e){this._routineUpdates.next(e)},e.prototype.routineDetails=function(e,t,n){return this.http.post(this._routineDetailsUrl,{params:{routineId:e,model:t,key:n}})},e.prototype.uploadRoutine=function(e){return this.http.post(this._uploadRoutineUrl,{routines:[e]})},e.prototype.attachGhostRoutine=function(e,t){return this.http.post(this._attachGhostRoutineUrl,{params:{workoutId:e,routineId:t}})},e.prototype.listRoutines=function(e){return this.http.post(this._listRoutinesUrl,{params:{workoutType:e}})},e.prototype.createFromWorkout=function(e,t){return this.http.post(this._createFromWorkout,{params:{workoutId:e,temp:!0,create_hr_zones:t}})},e.prototype.shareRoutine=function(e,t,n,i,r,a,o){return this.http.post(this._shareRoutineUrl,{params:{routine:e.toUploadDict(),privacy:t,brand:a,workoutType:o,categories:n,measurement:i,classType:r}})},e.prototype.deleteSharedRoutine=function(e){return this.http.post(this._deleteSharedRoutineUrl,{params:{shareKey:e}})},e.prototype.searchRoutines=function(e){return this.http.post(this._searchRoutinesUrl,{params:{search:e}})},e.prototype.getAssessments=function(){return this.http.post(this._getAssessmentsUrl,{})},e.prototype.searchByFilters=function(e,t,n,i,r,a,o,s){var l=this.buildParams({searchText:e,lengthFilter:this.lengths[t],categories:n,unitOfMeasure:i,classType:r,workoutType:a,brand:o,has_ghost:s});return this.http.post(this._searchByFilterUrl,{params:l})},e.prototype.buildParams=function(e){var t={};for(var n in e){var i=e[n];(i||Array.isArray(i)&&i.length>0)&&(t[n]=i)}return t},e.prototype.searchRoutinesCategories=function(e){return this.http.post(this._searchRoutinesUrl,{params:{search:e,type:"category"}})},e.prototype.downloadRoutine=function(e){return this.http.post(this._downloadRoutineUrl,{params:{shareKey:e}})},e.prototype.getCompletedRoutines=function(e,t){return this.http.post(this._completedRoutinesUrl,{params:{routineHhc:e,model:t}})},e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](d.b),c["\u0275\u0275inject"](i.a))},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),p=["All","Assessment","Fartlek","Fun","HIIT","Inspirational","Long Slow Distance (LSD)","Low Intensity Steady State (LISS)","Master Instructor","New","Recovery","Run - Walk","Scenic","Speed","Stamina","Steady State","Strength","Tabata","Tempo","Tutorial","Other"],h=function(){function e(e,t,n,i){if(this.isFavorite=!1,this.speedBased=!1,this.isAssessment=!1,this.brand="fitdigits",this.categories=[],this.totalSeries=0,this.totalRepeats=0,this.totalDuration=0,this.durationDisplay=0,this.totalDistance=0,this.hasPace=!1,this.hasHR=!1,this.segmentDetails=[],this.shared=!1,this.downloaded=!1,this.sharable=!0,this.search=[],this.hasVideo=!1,this.hasSong=!1,this.videoDetails={},this.isMetric=!1,this.triggers=[],t&&(this.isMetric=t),this.isFavorite=e.is_favorite||!1,e.zonesetDetail)try{this.zoneset="SpeedZoneSetH"==e.zonesetDetail.model?new o.c(e.zonesetDetail,null,this.isMetric):new o.a(e.zonesetDetail,null,i.floatToPace)}catch(h){}if(this.speedBased=e.speedBased,this.ghostWorkout=e.ghost_workout||null,this.totalDuration=e.routineDef.totalTime,this.totalDistance=e.routineDef.totalDistance,e.ghost)try{this.ghostDetail=new s.a(e.ghost.detail,i.WorkoutTypes,"en",i.ThemeService.isDarkTheme)}catch(h){}if(this.durationDisplay=3600*this.totalDuration,null==n&&(n=e.model),this.model=n,this.creatorProfile=e.creator_profile,this.brand=e.brand||null,this.routineDef=e.routineDef,null==this.routineDef.custom&&(this.routineDef.custom=!0),this.classType=e.classType,"all_levels"!=this.classType&&"All"!=this.classType&&null!=this.classType||(this.classType="all"),this.creator=e.creator,this.isAssessment=e.is_assessment||e.routineDef.assessment||!1,1024==this.routineDef.workoutType&&(this.routineDef.workoutType=this.ghostDetail.activityType.id),this.workoutType=this.routineDef.workoutType,this.name=e.name,this.creationDate=new Date(e.creation_date),this.key=e.key,this.hhc=e.hhc,this.is_deleted=e.is_deleted,this.description=e.description||e.routineDef.DESCRIPTION,this.categories=e.categories,this.search=e.search,this.id=e.id,this.hasVideo=e.has_video||e.hasVideo||!1,this.videoDetails=this.routineDef.video||{},this.unitOfMeasure=e.unitOfMeasure,this.hasVideo&&(this.fullVideoURL="youtube"==this.videoDetails.videoType?"https://youtube.com/watch?v="+this.videoDetails.id:this.videoDetails.id),e.share_id&&(this.shared=!0,this.shareId=e.share_id),e.downloaded&&(this.downloaded=!0),(this.shared||this.downloaded)&&(this.sharable=!1),this.routineDef.video&&(this.videoDetails.videoType=this.routineDef.video.videoType),this.totalSeries=this.routineDef.segmentDef.length,this.routineDef.triggers)for(var r=0;r<this.routineDef.triggers.length;r++);for(r=0;r<this.routineDef.segmentDef.length;r++){var a=this.routineDef.segmentDef[r];this.totalRepeats+=a.repeats;for(var l=0;l<a.repeats;l++)for(var c=0;c<a.intervalDef.length;c++){var d=a.intervalDef[c];d.hasSong&&(this.hasSong=!0);for(var u=0;u<d.zoneRef.length;u++){var p=d.zoneRef[u];1===p.type&&(this.hasHR=!0),2===p.type&&(this.hasPace=!0)}}}try{this.totalDistance=Number(this.totalDistance.toFixed(2))}catch(h){}this.hasSong&&(this.sharable=!1)}return e.prototype.calcTotalDistance=function(){this.speedBased?this.updateSpeedZoneset():this.updatePaceZoneset()},e.prototype.toUploadDict=function(e){this.fullVideoURL&&("youtube"==this.videoDetails.videoType?null==this.fullVideoURL.split("?v=")[1]&&(this.videoDetails.id=this.fullVideoURL.split(".be/")[1]):this.videoDetails.id=this.fullVideoURL.split("&")[0]),this.routineDef.DESCRIPTION=this.description,this.routineDef.name=this.name,this.routineDef.video=this.videoDetails,this.routineDef.workoutType=this.workoutType,this.routineDef.triggers=this.triggers,"all_levels"==this.classType&&(this.classType=null);var t={action:e,tempId:this.tempId,hasVideo:this.hasVideo,id:this.id,name:this.name,categories:this.categories,search:this.search,routineDef:this.routineDef,brand:this.brand,unitOfMeasure:this.unitOfMeasure,classType:this.classType};return this.ghostWorkout&&(t.ghost_workout=this.ghostWorkout),t},e.prototype.updatePaceZoneset=function(e){this.totalDistance=0,this.totalDuration=0,e&&(this.zoneset=e);for(var t=0;t<this.routineDef.segmentDef.length;t++)for(var n=this.routineDef.segmentDef[t],i=0;i<n.repeats;){for(var r=0;r<n.intervalDef.length;r++){var o=n.intervalDef[r];2==o.durationUnits&&null==o.duration&&(this.isMetric?(o.duration=Object(a.c)(o.durationDisplay),console.log("here 2")):(o.duration=o.durationDisplay,console.log("here 3")),o.durationDisplay=o.duration);var s=o.zoneRef[0].zonePos;s<0?s=0:s>4&&(s=4);var l="zone"+(s+1),c=Number(Object(a.W)(this.zoneset[l].paceMin)),d=Number(Object(a.W)(this.zoneset[l].paceMax));if(o.paceAvg=(c+d)/2,2==o.durationUnits){if(this.totalDistance+=o.duration,o.estTime=o.paceAvg*o.duration/60,this.totalDuration+=o.estTime,!o.durationDisplay){var u=Math.round(100*Number(o.duration))/100;o.durationDisplay=u,console.log(o.durationDisplay)}}else this.totalDuration+=o.duration/60/60,o.estDistance=o.duration/60/o.paceAvg,this.totalDistance+=o.estDistance}i+=1}},e.prototype.updateSpeedZoneset=function(e){this.totalDistance=0,this.totalDuration=0,e&&(this.zoneset=e);for(var t=0;t<this.routineDef.segmentDef.length;t++)for(var n=this.routineDef.segmentDef[t],i=0;i<n.repeats;){for(var r=0;r<n.intervalDef.length;r++){console.log("Calculating distance for Interval "+r);var a=n.intervalDef[r],o=a.zoneRef[0].zonePos;o<0?o=0:o>4&&(o=4);var s="zone"+(o+1),l=Number(this.zoneset[s].speedMin),c=Number(this.zoneset[s].speedMax);a.speedAvg=(l+c)/2,a.duration=Number(a.duration),2==a.durationUnits?(a.durationDisplay=Number(a.duration).toFixed(2),this.durationDisplay=a.durationDisplay,this.totalDistance+=Number(a.duration),console.log(this.totalDistance),a.estTime=Number(a.duration)/a.speedAvg,this.totalDuration+=a.estTime):(this.totalDuration+=a.duration/60/60,a.estDistance=a.speedAvg*(a.duration/60/60),this.totalDistance+=a.estDistance)}i+=1}},e.prototype.plotChart=function(e){e||(e=new o.d(Object(o.f)(30),null));for(var t=[],n=0;n<this.routineDef.segmentDef.length;n++)for(var i=Number(this.routineDef.segmentDef[n].repeats),r=0;r<i;r++)for(var s=0;s<this.routineDef.segmentDef[n].intervalDef.length;s++)t.push(this.routineDef.segmentDef[n].intervalDef[s]);var c=e.zoneHigh,d=e.zoneLow,u=a.i.FITDIGITS,p=[],h=[],m=0,g=0;for(s=0;s<t.length;s++){var f=t[s].zoneRef[0].zonePos+1,v=d[f],y=c[f];if(g+=t[s].duration,f<0||f>4);else{var b=[{x:m,y:v,id:"1"},{x:m,y:y,id:"2"},{x:g,y:y,id:"3"},{x:g,y:v,id:"4"}],x=u.zone[Number(f)].tizColor;p.push(b),h.push(x)}m=g}for(var _={chart:{type:"spline",margin:[0,0,0,0],spacingTop:0},credits:{enabled:!1},title:{text:null},xAxis:{title:{},labels:{enabled:!0},minorTickLength:0,tickLength:0},yAxis:{title:{},labels:{enabled:!1,zIndex:999},endOnTick:!1,maxPadding:0,minorTickLength:0,tickLength:0,min:e.zone0.bpmMax,max:e.zone6.bpmMin,minorGridLineWidth:0,gridLineWidth:0,alternateGridColor:null,plotBands:[{from:e.zone0.bpmMin,to:e.zone1.bpmMin,color:u.zone[0].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(e.zone1.bpmMin),to:Number(e.zone1.bpmMax),color:u.zone[1].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(e.zone2.bpmMin),to:Number(e.zone2.bpmMax),color:u.zone[2].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(e.zone3.bpmMin),to:Number(e.zone3.bpmMax),color:u.zone[3].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(e.zone4.bpmMin),to:Number(e.zone4.bpmMax),color:u.zone[4].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(e.zone5.bpmMin),to:Number(e.zone5.bpmMax),color:u.zone[5].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(e.zone6.bpmMin),to:Number(e.zone6.bpmMin),color:u.zone[6].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}}]},plotOptions:{spline:{lineWidth:4,states:{hover:{lineWidth:5}},marker:{enabled:!1}}},legend:{enabled:!1},series:[{type:"line",data:[],color:"#FFFFFF",yAxis:0}],navigation:{menuItemStyle:{fontSize:"10px"}}},w=0;w<p.length;w++)_.series.push({name:"Target",type:"polygon",data:p[w],color:new l.Color(h[w]).setOpacity(1).get(),enableMouseTracking:!1});return _},e}(),m=1,g=2,f=1,v=2,y=-2,b=-1,x=0,_=1,w=2,S=3,C=4,k=5},"+rOU":function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return y}),n.d(t,"c",function(){return b}),n.d(t,"d",function(){return h}),n.d(t,"e",function(){return v}),n.d(t,"f",function(){return x}),n.d(t,"g",function(){return m});var i=n("JX7q"),r=n("ReuC"),a=n("foSv"),o=n("Ji7U"),s=n("LK+K"),l=n("1OyB"),c=n("vuIU"),d=n("fXoL"),u=n("ofXK"),p=function(){function e(){Object(l.a)(this,e)}return Object(c.a)(e,[{key:"attach",value:function(e){return this._attachedHost=e,e.attach(this)}},{key:"detach",value:function(){var e=this._attachedHost;null!=e&&(this._attachedHost=null,e.detach())}},{key:"isAttached",get:function(){return null!=this._attachedHost}},{key:"setAttachedHost",value:function(e){this._attachedHost=e}}]),e}(),h=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r,a){var o;return Object(l.a)(this,n),(o=t.call(this)).component=e,o.viewContainerRef=i,o.injector=r,o.componentFactoryResolver=a,o}return Object(c.a)(n)}(p),m=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r){var a;return Object(l.a)(this,n),(a=t.call(this)).templateRef=e,a.viewContainerRef=i,a.context=r,a}return Object(c.a)(n,[{key:"origin",get:function(){return this.templateRef.elementRef}},{key:"attach",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.context;return this.context=t,Object(r.a)(Object(a.a)(n.prototype),"attach",this).call(this,e)}},{key:"detach",value:function(){return this.context=void 0,Object(r.a)(Object(a.a)(n.prototype),"detach",this).call(this)}}]),n}(p),g=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e){var i;return Object(l.a)(this,n),(i=t.call(this)).element=e instanceof d.ElementRef?e.nativeElement:e,i}return Object(c.a)(n)}(p),f=function(){function e(){Object(l.a)(this,e),this._isDisposed=!1,this.attachDomPortal=null}return Object(c.a)(e,[{key:"hasAttached",value:function(){return!!this._attachedPortal}},{key:"attach",value:function(e){return e instanceof h?(this._attachedPortal=e,this.attachComponentPortal(e)):e instanceof m?(this._attachedPortal=e,this.attachTemplatePortal(e)):this.attachDomPortal&&e instanceof g?(this._attachedPortal=e,this.attachDomPortal(e)):void 0}},{key:"detach",value:function(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}},{key:"dispose",value:function(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}},{key:"setDisposeFn",value:function(e){this._disposeFn=e}},{key:"_invokeDisposeFn",value:function(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}]),e}(),v=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,o,s,c,d){var u,p;return Object(l.a)(this,n),(p=t.call(this)).outletElement=e,p._componentFactoryResolver=o,p._appRef=s,p._defaultInjector=c,p.attachDomPortal=function(e){var t=e.element,o=p._document.createComment("dom-portal");t.parentNode.insertBefore(o,t),p.outletElement.appendChild(t),p._attachedPortal=e,Object(r.a)((u=Object(i.a)(p),Object(a.a)(n.prototype)),"setDisposeFn",u).call(u,function(){o.parentNode&&o.parentNode.replaceChild(t,o)})},p._document=d,p}return Object(c.a)(n,[{key:"attachComponentPortal",value:function(e){var t,n=this,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component);return e.viewContainerRef?(t=e.viewContainerRef.createComponent(i,e.viewContainerRef.length,e.injector||e.viewContainerRef.injector),this.setDisposeFn(function(){return t.destroy()})):(t=i.create(e.injector||this._defaultInjector),this._appRef.attachView(t.hostView),this.setDisposeFn(function(){n._appRef.detachView(t.hostView),t.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(t)),this._attachedPortal=e,t}},{key:"attachTemplatePortal",value:function(e){var t=this,n=e.viewContainerRef,i=n.createEmbeddedView(e.templateRef,e.context);return i.rootNodes.forEach(function(e){return t.outletElement.appendChild(e)}),i.detectChanges(),this.setDisposeFn(function(){var e=n.indexOf(i);-1!==e&&n.remove(e)}),this._attachedPortal=e,i}},{key:"dispose",value:function(){Object(r.a)(Object(a.a)(n.prototype),"dispose",this).call(this),null!=this.outletElement.parentNode&&this.outletElement.parentNode.removeChild(this.outletElement)}},{key:"_getComponentRootNode",value:function(e){return e.hostView.rootNodes[0]}}]),n}(f),y=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i){return Object(l.a)(this,n),t.call(this,e,i)}return Object(c.a)(n)}(m);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.TemplateRef),d["\u0275\u0275directiveInject"](d.ViewContainerRef))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[d["\u0275\u0275InheritDefinitionFeature"]]}),e}(),b=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,o,s){var c,u;return Object(l.a)(this,n),(u=t.call(this))._componentFactoryResolver=e,u._viewContainerRef=o,u._isInitialized=!1,u.attached=new d.EventEmitter,u.attachDomPortal=function(e){var t=e.element,o=u._document.createComment("dom-portal");e.setAttachedHost(Object(i.a)(u)),t.parentNode.insertBefore(o,t),u._getRootNode().appendChild(t),u._attachedPortal=e,Object(r.a)((c=Object(i.a)(u),Object(a.a)(n.prototype)),"setDisposeFn",c).call(c,function(){o.parentNode&&o.parentNode.replaceChild(t,o)})},u._document=s,u}return Object(c.a)(n,[{key:"portal",get:function(){return this._attachedPortal},set:function(e){(!this.hasAttached()||e||this._isInitialized)&&(this.hasAttached()&&Object(r.a)(Object(a.a)(n.prototype),"detach",this).call(this),e&&Object(r.a)(Object(a.a)(n.prototype),"attach",this).call(this,e),this._attachedPortal=e)}},{key:"attachedRef",get:function(){return this._attachedRef}},{key:"ngOnInit",value:function(){this._isInitialized=!0}},{key:"ngOnDestroy",value:function(){Object(r.a)(Object(a.a)(n.prototype),"dispose",this).call(this),this._attachedPortal=null,this._attachedRef=null}},{key:"attachComponentPortal",value:function(e){e.setAttachedHost(this);var t=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,i=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),o=t.createComponent(i,t.length,e.injector||t.injector);return t!==this._viewContainerRef&&this._getRootNode().appendChild(o.hostView.rootNodes[0]),Object(r.a)(Object(a.a)(n.prototype),"setDisposeFn",this).call(this,function(){return o.destroy()}),this._attachedPortal=e,this._attachedRef=o,this.attached.emit(o),o}},{key:"attachTemplatePortal",value:function(e){var t=this;e.setAttachedHost(this);var i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return Object(r.a)(Object(a.a)(n.prototype),"setDisposeFn",this).call(this,function(){return t._viewContainerRef.clear()}),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}},{key:"_getRootNode",value:function(){var e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}]),n}(f);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.ComponentFactoryResolver),d["\u0275\u0275directiveInject"](d.ViewContainerRef),d["\u0275\u0275directiveInject"](u.DOCUMENT))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[d["\u0275\u0275InheritDefinitionFeature"]]}),e}(),x=function(){var e=Object(c.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({}),e}()},"+s0g":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",w:"\xe9\xe9n week",ww:"%d weken",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"//9w":function(e,t,n){!function(e){"use strict";e.defineLocale("se",{months:"o\u0111\u0111ajagem\xe1nnu_guovvam\xe1nnu_njuk\u010dam\xe1nnu_cuo\u014bom\xe1nnu_miessem\xe1nnu_geassem\xe1nnu_suoidnem\xe1nnu_borgem\xe1nnu_\u010dak\u010dam\xe1nnu_golggotm\xe1nnu_sk\xe1bmam\xe1nnu_juovlam\xe1nnu".split("_"),monthsShort:"o\u0111\u0111j_guov_njuk_cuo_mies_geas_suoi_borg_\u010dak\u010d_golg_sk\xe1b_juov".split("_"),weekdays:"sotnabeaivi_vuoss\xe1rga_ma\u014b\u014beb\xe1rga_gaskavahkku_duorastat_bearjadat_l\xe1vvardat".split("_"),weekdaysShort:"sotn_vuos_ma\u014b_gask_duor_bear_l\xe1v".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s gea\u017ees",past:"ma\u014bit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta m\xe1nnu",MM:"%d m\xe1nut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"/1cH":function(e,t,n){"use strict";n.d(t,"a",function(){return V}),n.d(t,"b",function(){return X}),n.d(t,"c",function(){return Z});var i=n("KQm4"),r=n("Ji7U"),a=n("LK+K"),o=n("vuIU"),s=n("1OyB"),l=n("u47x"),c=n("8LU1"),d=n("nLfN"),u=n("fXoL"),p=n("FKr1"),h=n("quSY"),m=n("XNiG"),g=n("NXyV"),f=n("VRyK"),v=n("LRne"),y=n("xgIS"),b=n("ofXK"),x=n("rDax"),_=n("vxfF"),w=n("FtGj"),S=n("+rOU"),C=n("3Pt+"),k=n("kmnG"),O=n("IzEk"),E=n("eIep"),M=n("pLZG"),I=n("lJxs"),P=n("vkgz"),T=n("3E0/"),D=n("cH1L"),L=["panel"];function R(e,t){if(1&e&&(u["\u0275\u0275elementStart"](0,"div",0,1),u["\u0275\u0275projection"](2),u["\u0275\u0275elementEnd"]()),2&e){var n=t.id,i=u["\u0275\u0275nextContext"]();u["\u0275\u0275property"]("id",i.id)("ngClass",i._classList),u["\u0275\u0275attribute"]("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(n))}}var j=["*"],A=0,F=Object(o.a)(function e(t,n){Object(s.a)(this,e),this.source=t,this.option=n}),B=Object(o.a)(function e(){Object(s.a)(this,e)}),z=Object(p.z)(B),N=new u.InjectionToken("mat-autocomplete-default-options",{providedIn:"root",factory:function(){return{autoActiveFirstOption:!1}}}),H=function(){var e=function(e){Object(r.a)(n,e);var t=Object(a.a)(n);function n(e,i,r,a){var o;return Object(s.a)(this,n),(o=t.call(this))._changeDetectorRef=e,o._elementRef=i,o._activeOptionChanges=h.a.EMPTY,o.showPanel=!1,o._isOpen=!1,o.displayWith=null,o.optionSelected=new u.EventEmitter,o.opened=new u.EventEmitter,o.closed=new u.EventEmitter,o.optionActivated=new u.EventEmitter,o._classList={},o.id="mat-autocomplete-".concat(A++),o.inertGroups=(null==a?void 0:a.SAFARI)||!1,o._autoActiveFirstOption=!!r.autoActiveFirstOption,o}return Object(o.a)(n,[{key:"isOpen",get:function(){return this._isOpen&&this.showPanel}},{key:"autoActiveFirstOption",get:function(){return this._autoActiveFirstOption},set:function(e){this._autoActiveFirstOption=Object(c.c)(e)}},{key:"classList",set:function(e){this._classList=e&&e.length?Object(c.g)(e).reduce(function(e,t){return e[t]=!0,e},{}):{},this._setVisibilityClasses(this._classList),this._elementRef.nativeElement.className=""}},{key:"ngAfterContentInit",value:function(){var e=this;this._keyManager=new l.b(this.options).withWrap(),this._activeOptionChanges=this._keyManager.change.subscribe(function(t){e.optionActivated.emit({source:e,option:e.options.toArray()[t]||null})}),this._setVisibility()}},{key:"ngOnDestroy",value:function(){this._activeOptionChanges.unsubscribe()}},{key:"_setScrollTop",value:function(e){this.panel&&(this.panel.nativeElement.scrollTop=e)}},{key:"_getScrollTop",value:function(){return this.panel?this.panel.nativeElement.scrollTop:0}},{key:"_setVisibility",value:function(){this.showPanel=!!this.options.length,this._setVisibilityClasses(this._classList),this._changeDetectorRef.markForCheck()}},{key:"_emitSelectEvent",value:function(e){var t=new F(this,e);this.optionSelected.emit(t)}},{key:"_getPanelAriaLabelledby",value:function(e){return this.ariaLabel?null:this.ariaLabelledby?(e?e+" ":"")+this.ariaLabelledby:e}},{key:"_setVisibilityClasses",value:function(e){e[this._visibleClass]=this.showPanel,e[this._hiddenClass]=!this.showPanel}}]),n}(z);return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275directiveInject"](u.ChangeDetectorRef),u["\u0275\u0275directiveInject"](u.ElementRef),u["\u0275\u0275directiveInject"](N),u["\u0275\u0275directiveInject"](d.a))},e.\u0275dir=u["\u0275\u0275defineDirective"]({type:e,viewQuery:function(e,t){var n;1&e&&(u["\u0275\u0275viewQuery"](u.TemplateRef,3),u["\u0275\u0275viewQuery"](L,1)),2&e&&(u["\u0275\u0275queryRefresh"](n=u["\u0275\u0275loadQuery"]())&&(t.template=n.first),u["\u0275\u0275queryRefresh"](n=u["\u0275\u0275loadQuery"]())&&(t.panel=n.first))},inputs:{displayWith:"displayWith",autoActiveFirstOption:"autoActiveFirstOption",classList:["class","classList"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],panelWidth:"panelWidth"},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},features:[u["\u0275\u0275InheritDefinitionFeature"]]}),e}(),V=function(){var e=function(e){Object(r.a)(n,e);var t=Object(a.a)(n);function n(){var e;return Object(s.a)(this,n),(e=t.apply(this,arguments))._visibleClass="mat-autocomplete-visible",e._hiddenClass="mat-autocomplete-hidden",e}return Object(o.a)(n)}(H);return e.\u0275fac=function(t){return Y(t||e)},e.\u0275cmp=u["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-autocomplete"]],contentQueries:function(e,t,n){var i;1&e&&(u["\u0275\u0275contentQuery"](n,p.g,1),u["\u0275\u0275contentQuery"](n,p.o,1)),2&e&&(u["\u0275\u0275queryRefresh"](i=u["\u0275\u0275loadQuery"]())&&(t.optionGroups=i),u["\u0275\u0275queryRefresh"](i=u["\u0275\u0275loadQuery"]())&&(t.options=i))},hostAttrs:[1,"mat-autocomplete"],inputs:{disableRipple:"disableRipple"},exportAs:["matAutocomplete"],features:[u["\u0275\u0275ProvidersFeature"]([{provide:p.h,useExisting:e}]),u["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:j,decls:1,vars:0,consts:[["role","listbox",1,"mat-autocomplete-panel",3,"id","ngClass"],["panel",""]],template:function(e,t){1&e&&(u["\u0275\u0275projectionDef"](),u["\u0275\u0275template"](0,R,3,4,"ng-template"))},directives:[b.NgClass],styles:[".mat-autocomplete-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-width:none;max-height:256px;position:relative;width:100%;border-bottom-left-radius:4px;border-bottom-right-radius:4px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}.mat-autocomplete-panel-above .mat-autocomplete-panel{border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px}.mat-autocomplete-panel .mat-divider-horizontal{margin-top:-1px}.cdk-high-contrast-active .mat-autocomplete-panel{outline:solid 1px}mat-autocomplete{display:none}\n"],encapsulation:2,changeDetection:0}),e}(),Y=u["\u0275\u0275getInheritedFactory"](V),W=new u.InjectionToken("mat-autocomplete-scroll-strategy"),G={provide:W,deps:[x.c],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},U={provide:C.m,useExisting:Object(u.forwardRef)(function(){return Z}),multi:!0},q=function(){var e=function(){function e(t,n,r,a,o,l,c,d,u,p,v){var y=this;Object(s.a)(this,e),this._element=t,this._overlay=n,this._viewContainerRef=r,this._zone=a,this._changeDetectorRef=o,this._dir=c,this._formField=d,this._document=u,this._viewportRuler=p,this._defaults=v,this._componentDestroyed=!1,this._autocompleteDisabled=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=h.a.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new m.a,this._windowBlurHandler=function(){y._canOpenOnNextFocus=y._document.activeElement!==y._element.nativeElement||y.panelOpen},this._onChange=function(){},this._onTouched=function(){},this.position="auto",this.autocompleteAttribute="off",this._overlayAttached=!1,this.optionSelections=Object(g.a)(function(){return y.autocomplete&&y.autocomplete.options?f.a.apply(void 0,Object(i.a)(y.autocomplete.options.map(function(e){return e.onSelectionChange}))):y._zone.onStable.pipe(Object(O.a)(1),Object(E.a)(function(){return y.optionSelections}))}),this._scrollStrategy=l}return Object(o.a)(e,[{key:"autocompleteDisabled",get:function(){return this._autocompleteDisabled},set:function(e){this._autocompleteDisabled=Object(c.c)(e)}},{key:"ngAfterViewInit",value:function(){var e=this,t=this._getWindow();void 0!==t&&this._zone.runOutsideAngular(function(){return t.addEventListener("blur",e._windowBlurHandler)})}},{key:"ngOnChanges",value:function(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}},{key:"ngOnDestroy",value:function(){var e=this._getWindow();void 0!==e&&e.removeEventListener("blur",this._windowBlurHandler),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete()}},{key:"panelOpen",get:function(){return this._overlayAttached&&this.autocomplete.showPanel}},{key:"openPanel",value:function(){this._attachOverlay(),this._floatLabel()}},{key:"closePanel",value:function(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this.autocomplete.closed.emit(),this.autocomplete._isOpen=this._overlayAttached=!1,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._componentDestroyed||this._changeDetectorRef.detectChanges())}},{key:"updatePosition",value:function(){this._overlayAttached&&this._overlayRef.updatePosition()}},{key:"panelClosingActions",get:function(){var e=this;return Object(f.a)(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Object(M.a)(function(){return e._overlayAttached})),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Object(M.a)(function(){return e._overlayAttached})):Object(v.a)()).pipe(Object(I.a)(function(e){return e instanceof p.q?e:null}))}},{key:"activeOption",get:function(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}},{key:"_getOutsideClickStream",value:function(){var e=this;return Object(f.a)(Object(y.a)(this._document,"click"),Object(y.a)(this._document,"auxclick"),Object(y.a)(this._document,"touchend")).pipe(Object(M.a)(function(t){var n=e._isInsideShadowRoot&&t.composedPath?t.composedPath()[0]:t.target,i=e._formField?e._formField._elementRef.nativeElement:null,r=e.connectedTo?e.connectedTo.elementRef.nativeElement:null;return e._overlayAttached&&n!==e._element.nativeElement&&(!i||!i.contains(n))&&(!r||!r.contains(n))&&!!e._overlayRef&&!e._overlayRef.overlayElement.contains(n)}))}},{key:"writeValue",value:function(e){var t=this;Promise.resolve(null).then(function(){return t._setTriggerValue(e)})}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this._element.nativeElement.disabled=e}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;if(t!==w.h||Object(w.t)(e)||e.preventDefault(),this.activeOption&&t===w.g&&this.panelOpen)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){var n=this.autocomplete._keyManager.activeItem,i=t===w.q||t===w.e;this.panelOpen||t===w.p?this.autocomplete._keyManager.onKeydown(e):i&&this._canOpen()&&this.openPanel(),(i||this.autocomplete._keyManager.activeItem!==n)&&this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0)}}},{key:"_handleInput",value:function(e){var t=e.target,n=t.value;"number"===t.type&&(n=""==n?null:parseFloat(n)),this._previousValue!==n&&(this._previousValue=n,this._onChange(n),this._canOpen()&&this._document.activeElement===e.target&&this.openPanel())}},{key:"_handleFocus",value:function(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}},{key:"_floatLabel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._formField&&"auto"===this._formField.floatLabel&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}},{key:"_resetLabel",value:function(){this._manuallyFloatingLabel&&(this._formField.floatLabel="auto",this._manuallyFloatingLabel=!1)}},{key:"_subscribeToClosingActions",value:function(){var e=this,t=this._zone.onStable.pipe(Object(O.a)(1)),n=this.autocomplete.options.changes.pipe(Object(P.a)(function(){return e._positionStrategy.reapplyLastPosition()}),Object(T.a)(0));return Object(f.a)(t,n).pipe(Object(E.a)(function(){var t=e.panelOpen;return e._resetActiveItem(),e.autocomplete._setVisibility(),e.panelOpen&&(e._overlayRef.updatePosition(),t!==e.panelOpen&&e.autocomplete.opened.emit()),e.panelClosingActions}),Object(O.a)(1)).subscribe(function(t){return e._setValueAndClose(t)})}},{key:"_destroyPanel",value:function(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}},{key:"_setTriggerValue",value:function(e){var t=this.autocomplete&&this.autocomplete.displayWith?this.autocomplete.displayWith(e):e,n=null!=t?t:"";this._formField?this._formField._control.value=n:this._element.nativeElement.value=n,this._previousValue=n}},{key:"_setValueAndClose",value:function(e){e&&e.source&&(this._clearPreviousSelectedOption(e.source),this._setTriggerValue(e.source.value),this._onChange(e.source.value),this._element.nativeElement.focus(),this.autocomplete._emitSelectEvent(e.source)),this.closePanel()}},{key:"_clearPreviousSelectedOption",value:function(e){this.autocomplete.options.forEach(function(t){t!==e&&t.selected&&t.deselect()})}},{key:"_attachOverlay",value:function(){var e,t=this;null==this._isInsideShadowRoot&&(this._isInsideShadowRoot=!!Object(d.c)(this._element.nativeElement));var n=this._overlayRef;n?(this._positionStrategy.setOrigin(this._getConnectedElement()),n.updateSize({width:this._getPanelWidth()})):(this._portal=new S.g(this.autocomplete.template,this._viewContainerRef,{id:null===(e=this._formField)||void 0===e?void 0:e.getLabelId()}),n=this._overlay.create(this._getOverlayConfig()),this._overlayRef=n,n.keydownEvents().subscribe(function(e){(e.keyCode===w.h&&!Object(w.t)(e)||e.keyCode===w.q&&Object(w.t)(e,"altKey"))&&(t._resetActiveItem(),t._closeKeyEventStream.next(),e.stopPropagation(),e.preventDefault())}),this._viewportSubscription=this._viewportRuler.change().subscribe(function(){t.panelOpen&&n&&n.updateSize({width:t._getPanelWidth()})})),n&&!n.hasAttached()&&(n.attach(this._portal),this._closingActionsSubscription=this._subscribeToClosingActions());var i=this.panelOpen;this.autocomplete._setVisibility(),this.autocomplete._isOpen=this._overlayAttached=!0,this.panelOpen&&i!==this.panelOpen&&this.autocomplete.opened.emit()}},{key:"_getOverlayConfig",value:function(){var e;return new x.d({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir,panelClass:null===(e=this._defaults)||void 0===e?void 0:e.overlayPanelClass})}},{key:"_getOverlayPosition",value:function(){var e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}},{key:"_setStrategyPositions",value:function(e){var t,n=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],i=this._aboveClass,r=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:i},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:i}];t="above"===this.position?r:"below"===this.position?n:[].concat(n,r),e.withPositions(t)}},{key:"_getConnectedElement",value:function(){return this.connectedTo?this.connectedTo.elementRef:this._formField?this._formField.getConnectedOverlayOrigin():this._element}},{key:"_getPanelWidth",value:function(){return this.autocomplete.panelWidth||this._getHostWidth()}},{key:"_getHostWidth",value:function(){return this._getConnectedElement().nativeElement.getBoundingClientRect().width}},{key:"_resetActiveItem",value:function(){var e=this.autocomplete;e.autoActiveFirstOption?e._keyManager.setFirstItemActive():e._keyManager.setActiveItem(-1)}},{key:"_canOpen",value:function(){var e=this._element.nativeElement;return!e.readOnly&&!e.disabled&&!this._autocompleteDisabled}},{key:"_getWindow",value:function(){var e;return(null===(e=this._document)||void 0===e?void 0:e.defaultView)||window}},{key:"_scrollToOption",value:function(e){var t=this.autocomplete,n=Object(p.w)(e,t.options,t.optionGroups);if(0===e&&1===n)t._setScrollTop(0);else if(t.panel){var i=t.options.toArray()[e];if(i){var r=i._getHostElement(),a=Object(p.x)(r.offsetTop,r.offsetHeight,t._getScrollTop(),t.panel.nativeElement.offsetHeight);t._setScrollTop(a)}}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275directiveInject"](u.ElementRef),u["\u0275\u0275directiveInject"](x.c),u["\u0275\u0275directiveInject"](u.ViewContainerRef),u["\u0275\u0275directiveInject"](u.NgZone),u["\u0275\u0275directiveInject"](u.ChangeDetectorRef),u["\u0275\u0275directiveInject"](W),u["\u0275\u0275directiveInject"](D.b,8),u["\u0275\u0275directiveInject"](k.a,9),u["\u0275\u0275directiveInject"](b.DOCUMENT,8),u["\u0275\u0275directiveInject"](_.d),u["\u0275\u0275directiveInject"](N,8))},e.\u0275dir=u["\u0275\u0275defineDirective"]({type:e,inputs:{position:["matAutocompletePosition","position"],autocompleteAttribute:["autocomplete","autocompleteAttribute"],autocompleteDisabled:["matAutocompleteDisabled","autocompleteDisabled"],autocomplete:["matAutocomplete","autocomplete"],connectedTo:["matAutocompleteConnectedTo","connectedTo"]},features:[u["\u0275\u0275NgOnChangesFeature"]]}),e}(),Z=function(){var e=function(e){Object(r.a)(n,e);var t=Object(a.a)(n);function n(){var e;return Object(s.a)(this,n),(e=t.apply(this,arguments))._aboveClass="mat-autocomplete-panel-above",e}return Object(o.a)(n)}(q);return e.\u0275fac=function(t){return $(t||e)},e.\u0275dir=u["\u0275\u0275defineDirective"]({type:e,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-autocomplete-trigger"],hostVars:7,hostBindings:function(e,t){1&e&&u["\u0275\u0275listener"]("focusin",function(){return t._handleFocus()})("blur",function(){return t._onTouched()})("input",function(e){return t._handleInput(e)})("keydown",function(e){return t._handleKeydown(e)}),2&e&&u["\u0275\u0275attribute"]("autocomplete",t.autocompleteAttribute)("role",t.autocompleteDisabled?null:"combobox")("aria-autocomplete",t.autocompleteDisabled?null:"list")("aria-activedescendant",t.panelOpen&&t.activeOption?t.activeOption.id:null)("aria-expanded",t.autocompleteDisabled?null:t.panelOpen.toString())("aria-owns",t.autocompleteDisabled||!t.panelOpen||null==t.autocomplete?null:t.autocomplete.id)("aria-haspopup",!t.autocompleteDisabled)},exportAs:["matAutocompleteTrigger"],features:[u["\u0275\u0275ProvidersFeature"]([U]),u["\u0275\u0275InheritDefinitionFeature"]]}),e}(),$=u["\u0275\u0275getInheritedFactory"](Z),X=function(){var e=Object(o.a)(function e(){Object(s.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=u["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=u["\u0275\u0275defineInjector"]({providers:[G],imports:[[x.f,p.p,p.j,b.CommonModule],_.a,p.p,p.j]}),e}()},"/IoE":function(e,t,n){"use strict";var i=n("fXoL");n("YKnz"),n("SrD1"),n("EnSh"),Object.defineProperty(t,"__esModule",{value:!0});var r=n("EnSh"),a=(n("fXoL"),n("VlMW")),o=n("rhsj"),s=(n("YKnz"),n("SrD1"),n("b5fp")),l=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.\u0275\u0275defineNgModule({type:e}),e.\u0275inj=i.\u0275\u0275defineInjector({providers:[s.Lightbox,a.LightboxConfig,o.LightboxEvent,o.LightboxWindowRef],imports:[[r.FileSaverModule]]}),e}();t.LightboxModule=l},"/X5v":function(e,t,n){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~\xe1\xf1\xfa\xe1~r\xfd_F~\xe9br\xfa~\xe1r\xfd_~M\xe1rc~h_\xc1p~r\xedl_~M\xe1\xfd_~J\xfa\xf1\xe9~_J\xfal~\xfd_\xc1\xfa~g\xfast~_S\xe9p~t\xe9mb~\xe9r_\xd3~ct\xf3b~\xe9r_\xd1~\xf3v\xe9m~b\xe9r_~D\xe9c\xe9~mb\xe9r".split("_"),monthsShort:"J~\xe1\xf1_~F\xe9b_~M\xe1r_~\xc1pr_~M\xe1\xfd_~J\xfa\xf1_~J\xfal_~\xc1\xfag_~S\xe9p_~\xd3ct_~\xd1\xf3v_~D\xe9c".split("_"),monthsParseExact:!0,weekdays:"S~\xfa\xf1d\xe1~\xfd_M\xf3~\xf1d\xe1\xfd~_T\xfa\xe9~sd\xe1\xfd~_W\xe9d~\xf1\xe9sd~\xe1\xfd_T~h\xfars~d\xe1\xfd_~Fr\xedd~\xe1\xfd_S~\xe1t\xfar~d\xe1\xfd".split("_"),weekdaysShort:"S~\xfa\xf1_~M\xf3\xf1_~T\xfa\xe9_~W\xe9d_~Th\xfa_~Fr\xed_~S\xe1t".split("_"),weekdaysMin:"S~\xfa_M\xf3~_T\xfa_~W\xe9_T~h_Fr~_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~\xf3d\xe1~\xfd \xe1t] LT",nextDay:"[T~\xf3m\xf3~rr\xf3~w \xe1t] LT",nextWeek:"dddd [\xe1t] LT",lastDay:"[\xdd~\xe9st~\xe9rd\xe1~\xfd \xe1t] LT",lastWeek:"[L~\xe1st] dddd [\xe1t] LT",sameElse:"L"},relativeTime:{future:"\xed~\xf1 %s",past:"%s \xe1~g\xf3",s:"\xe1 ~f\xe9w ~s\xe9c\xf3~\xf1ds",ss:"%d s~\xe9c\xf3\xf1~ds",m:"\xe1 ~m\xed\xf1~\xfat\xe9",mm:"%d m~\xed\xf1\xfa~t\xe9s",h:"\xe1~\xf1 h\xf3~\xfar",hh:"%d h~\xf3\xfars",d:"\xe1 ~d\xe1\xfd",dd:"%d d~\xe1\xfds",M:"\xe1 ~m\xf3\xf1~th",MM:"%d m~\xf3\xf1t~hs",y:"\xe1 ~\xfd\xe9\xe1r",yy:"%d \xfd~\xe9\xe1rs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"/c3D":function(e,t,n){"use strict";n.d(t,"a",function(){return x}),n("Sh3t");var i=n("0IaG"),r=n("Ew8h"),a=n("fXoL"),o=n("sYmb"),s=n("/t3+"),l=n("bTqV"),c=function(){function e(e,t,n){this.member=e,this.translate=t,this.dialogRef=n}return e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.remove=function(){this.dialogRef.close("remove")},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275directiveInject"](i.a),a["\u0275\u0275directiveInject"](o.d),a["\u0275\u0275directiveInject"](i.f))},e.\u0275cmp=a["\u0275\u0275defineComponent"]({type:e,selectors:[["app-group-member-delete-confirm"]],decls:26,vars:16,consts:[[1,"mat-primary"],[1,"flex-span"],["mat-button","",1,"mat-icon-button","float-right",3,"click"],["src","/static/img/icons/deleteXIconWhite.png"],["mat-dialog-content",""],[2,"margin","20px"],[2,"margin","10px","max-width","400px"],["layout","row"],[1,"themed-clear-button",2,"min-width","unset",3,"click"],[2,"padding","0 10px"],[1,"delete-cancel",3,"click"]],template:function(e,t){1&e&&(a["\u0275\u0275elementStart"](0,"mat-toolbar",0),a["\u0275\u0275elementStart"](1,"h2"),a["\u0275\u0275text"](2),a["\u0275\u0275elementEnd"](),a["\u0275\u0275element"](3,"span",1),a["\u0275\u0275elementStart"](4,"button",2),a["\u0275\u0275listener"]("click",function(){return t.cancel()}),a["\u0275\u0275pipe"](5,"translate"),a["\u0275\u0275element"](6,"img",3),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](7,"div",4),a["\u0275\u0275elementStart"](8,"div",5),a["\u0275\u0275elementStart"](9,"div",6),a["\u0275\u0275elementStart"](10,"p"),a["\u0275\u0275text"](11),a["\u0275\u0275pipe"](12,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](13,"p"),a["\u0275\u0275text"](14),a["\u0275\u0275pipe"](15,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](16,"mat-dialog-actions",7),a["\u0275\u0275elementStart"](17,"button",8),a["\u0275\u0275listener"]("click",function(){return t.cancel()}),a["\u0275\u0275elementStart"](18,"span",9),a["\u0275\u0275text"](19),a["\u0275\u0275pipe"](20,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275element"](21,"span",1),a["\u0275\u0275elementStart"](22,"button",10),a["\u0275\u0275listener"]("click",function(){return t.remove()}),a["\u0275\u0275elementStart"](23,"span"),a["\u0275\u0275text"](24),a["\u0275\u0275pipe"](25,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"]()),2&e&&(a["\u0275\u0275advance"](2),a["\u0275\u0275textInterpolate"](t.member.name),a["\u0275\u0275advance"](2),a["\u0275\u0275attribute"]("aria-label",a["\u0275\u0275pipeBind1"](5,6,"ROOT.Cancel")),a["\u0275\u0275advance"](7),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](12,8,"ROOT.You are about to remove this member from the group, this can not be undone.")),a["\u0275\u0275advance"](3),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](15,10,"ROOT.Do you want to proceed?")),a["\u0275\u0275advance"](5),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](20,12,"ROOT.Cancel")),a["\u0275\u0275advance"](5),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](25,14,"ROOT.Remove")))},directives:[s.a,l.b,i.d,i.c],pipes:[o.c],styles:[""]}),e}(),d=n("TlQw"),u=n("NFeN"),p=n("ofXK"),h=n("kmnG"),m=n("d3UM"),g=n("FKr1");function f(e,t){if(1&e&&a["\u0275\u0275element"](0,"img",17),2&e){var n=a["\u0275\u0275nextContext"]();a["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/group_member_photo/",n.member.accountId,"",a["\u0275\u0275sanitizeUrl"])}}function v(e,t){if(1&e&&a["\u0275\u0275element"](0,"img",17),2&e){var n=a["\u0275\u0275nextContext"]();a["\u0275\u0275propertyInterpolate2"]("src","https://storage.googleapis.com/image_manager/profile_image/",n.member.accountId,"/",n.member.imageFilename,"",a["\u0275\u0275sanitizeUrl"])}}function y(e,t){if(1&e&&(a["\u0275\u0275elementStart"](0,"mat-option",18),a["\u0275\u0275text"](1),a["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;a["\u0275\u0275property"]("value",n.value),a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate1"](" ",n.value," ")}}function b(e,t){if(1&e){var n=a["\u0275\u0275getCurrentView"]();a["\u0275\u0275elementStart"](0,"span",19),a["\u0275\u0275elementStart"](1,"button",20),a["\u0275\u0275listener"]("click",function(){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275nextContext"]().remove()}),a["\u0275\u0275elementStart"](2,"span"),a["\u0275\u0275elementStart"](3,"span",21),a["\u0275\u0275text"](4,"delete"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"]()}2&e&&(a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("color","warn"))}var x=function(){function e(e,t,n,i,r,a){this.member=e,this.translate=t,this.dialog=n,this.inboxService=i,this.dialogRef=r,this.groupService=a,this.roleOptions=[{value:"OWNER"},{value:"COACH TRAINER"},{value:"ADMINISTRATOR"},{value:"MEMBER"}],this.messageTitle="",this.messageText="",this.roleChanged=!1,this.errorMessage=null,t.addLangs(["en","es","fr","it","de"]),t.setDefaultLang("en")}return e.prototype.changeRole=function(){var e=this;this.errorMessage=null,console.log("Form field before update:",this.member.role),"OWNER"==this.member.role&&(this.member.isOwner=!0,this.member.isAdmin=!0,this.member.isAuditor=!0),"COACH TRAINER"==this.member.role&&(this.member.isOwner=!1,this.member.isAdmin=!0,this.member.isAuditor=!0),"ADMINISTRATOR"==this.member.role&&(this.member.isOwner=!1,this.member.isAdmin=!0,this.member.isAuditor=!1),"MEMBER"==this.member.role&&(this.member.isOwner=!1,this.member.isAdmin=!1,this.member.isAuditor=!1),this.groupService.updateGroupMember(this.member).subscribe(function(t){console.log("Update successful:",t),e.roleChanged=!0},function(t){console.log(t),e.errorMessage=t.error.response.error.message})},e.prototype.send=function(){var e=this;this.inboxService.createConversation([String(this.member.accountId)],this.messageTitle,this.messageText).subscribe(function(t){e.dialogRef.close()})},e.prototype.remove=function(){var e=this;this.dialog.open(c,{data:this.member,maxWidth:"100vw",maxHeight:"100vh",minWidth:"50vw"}).afterClosed().subscribe(function(t){"remove"===t?e.groupService.removeGroupMember(e.member).subscribe(function(t){e.dialogRef.close()}):e.dialogRef.close()})},e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275directiveInject"](i.a),a["\u0275\u0275directiveInject"](o.d),a["\u0275\u0275directiveInject"](i.b),a["\u0275\u0275directiveInject"](d.a),a["\u0275\u0275directiveInject"](i.f),a["\u0275\u0275directiveInject"](r.a))},e.\u0275cmp=a["\u0275\u0275defineComponent"]({type:e,selectors:[["app-member-role"]],decls:36,vars:20,consts:[[1,"md-primary"],[2,"display","inline","padding-top","10px"],[2,"float","right","width","50px","text-align","right","margin-bottom","40px"],["mat-icon-button","",2,"font-size","20px","border-radius","0",3,"click"],["mat-dialog-content",""],[2,"margin","0px"],["class","form-editMemberRoleProfilePhoto",3,"src",4,"ngIf"],[2,"margin-top","10px","margin-bottom","30px"],[2,"padding-bottom","10px"],["id","email"],["target","_top",3,"href"],[2,"width","unset"],["id","role",3,"value","panelClass","valueChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"material-icons",2,"color","#3FAE48",3,"hidden"],["id","date-added"],["style","justify-content: flex-end;display: flex;",4,"ngIf"],[1,"form-editMemberRoleProfilePhoto",3,"src"],[3,"value"],[2,"justify-content","flex-end","display","flex"],["mat-raised-button","",2,"flex-grow","0",3,"color","click"],[1,"material-icons",2,"vertical-align","middle","padding-bottom","5px"]],template:function(e,t){1&e&&(a["\u0275\u0275elementStart"](0,"mat-toolbar",0),a["\u0275\u0275elementStart"](1,"mat-toolbar-row",1),a["\u0275\u0275elementStart"](2,"div",2),a["\u0275\u0275elementStart"](3,"button",3),a["\u0275\u0275listener"]("click",function(){return t.cancel()}),a["\u0275\u0275pipe"](4,"translate"),a["\u0275\u0275elementStart"](5,"mat-icon"),a["\u0275\u0275text"](6,"close"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](7,"h2"),a["\u0275\u0275text"](8),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](9,"div",4),a["\u0275\u0275elementStart"](10,"div",5),a["\u0275\u0275elementStart"](11,"div",5),a["\u0275\u0275template"](12,f,1,1,"img",6),a["\u0275\u0275template"](13,v,1,2,"img",6),a["\u0275\u0275elementStart"](14,"table",7),a["\u0275\u0275elementStart"](15,"tbody"),a["\u0275\u0275elementStart"](16,"tr"),a["\u0275\u0275elementStart"](17,"td",8),a["\u0275\u0275elementStart"](18,"span",9),a["\u0275\u0275elementStart"](19,"a",10),a["\u0275\u0275text"](20),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](21,"tr"),a["\u0275\u0275elementStart"](22,"td"),a["\u0275\u0275elementStart"](23,"mat-form-field",11),a["\u0275\u0275elementStart"](24,"mat-select",12),a["\u0275\u0275listener"]("valueChange",function(e){return t.member.role=e})("selectionChange",function(){return t.changeRole()}),a["\u0275\u0275template"](25,y,2,2,"mat-option",13),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](26,"span",14),a["\u0275\u0275text"](27,"done"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](28,"tr"),a["\u0275\u0275elementStart"](29,"td"),a["\u0275\u0275text"](30),a["\u0275\u0275pipe"](31,"translate"),a["\u0275\u0275elementStart"](32,"span",15),a["\u0275\u0275text"](33),a["\u0275\u0275pipe"](34,"date"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275template"](35,b,5,1,"span",16),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"]()),2&e&&(a["\u0275\u0275advance"](3),a["\u0275\u0275attribute"]("aria-label",a["\u0275\u0275pipeBind1"](4,13,"ROOT.Cancel")),a["\u0275\u0275advance"](5),a["\u0275\u0275textInterpolate"](t.member.name),a["\u0275\u0275advance"](4),a["\u0275\u0275property"]("ngIf",!t.member.hasImage),a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("ngIf",t.member.hasImage),a["\u0275\u0275advance"](6),a["\u0275\u0275propertyInterpolate1"]("href","mailto:",t.member.emailAddress,"",a["\u0275\u0275sanitizeUrl"]),a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate"](t.member.emailAddress),a["\u0275\u0275advance"](4),a["\u0275\u0275property"]("value",t.member.role)("panelClass","selectOption"),a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("ngForOf",t.roleOptions),a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("hidden",!t.roleChanged),a["\u0275\u0275advance"](4),a["\u0275\u0275textInterpolate1"](" ",a["\u0275\u0275pipeBind1"](31,15,"ROOT.Since")," "),a["\u0275\u0275advance"](3),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind2"](34,17,t.member.creationDate,"longDate")),a["\u0275\u0275advance"](2),a["\u0275\u0275property"]("ngIf",0==t.member.activeAudit))},directives:[s.a,s.c,l.b,u.a,i.d,p.NgIf,h.c,m.a,p.NgForOf,g.o],pipes:[o.c,p.DatePipe],styles:[".mat-select-value-text{font-size:15px}.form-editMemberRoleLabel[_ngcontent-%COMP%]{font-weight:700!important}"]}),e}()},"/dWi":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("uJc7"),r=n("HDdC"),a=n("RcdG"),o=n("Bu+s"),s=n("fXoL"),l=n("tk/3"),c=function(){function e(e,t,n){this.http=e,this.AccountService=t,this.floatToPace=n,this._getAllDefaultZonesetsUrl=this.AccountService.getPy3Host()+"/api/v2/custom_zones/get_default_zonesets"}return e.prototype.getAllDefaultZonesets=function(){return this.http.post(this._getAllDefaultZonesetsUrl,{},{})},e.prototype.getZonesetsByActivityType=function(e){var t=this;return new r.a(function(n){t.getAllDefaultZonesets().subscribe(function(i){var r={bpm:null,pace:null,speed:null,power:null};for(var o in i.response){for(var s=void 0,l=void 0,c=0;c<i.response[o].length&&(-1==i.response[o][c].activity_types&&(s=i.response[o][c]),!l);c++)try{for(var d=0;d<i.response[o][c].activity_types.length;d++)if(i.response[o][c].activity_types[d]==e){l=i.response[o][c];break}}catch(p){}var u=s;switch(l&&(u=l),o){case"pace":r[o]=new a.a(u,null,t.floatToPace);break;case"speed":r[o]=new a.c(u,null,t.AccountService.account.isMetric());break;case"bpm":r[o]=new a.d(u,null);break;case"power":r[o]=new a.b(u,null)}}n.next(r),n.complete()})})},e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275inject"](l.b),s["\u0275\u0275inject"](i.a),s["\u0275\u0275inject"](o.B))},e.\u0275prov=s["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},"/t3+":function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return v}),n.d(t,"c",function(){return g});var i=n("Ji7U"),r=n("LK+K"),a=n("vuIU"),o=n("1OyB"),s=n("FKr1"),l=n("ofXK"),c=n("fXoL"),d=n("nLfN"),u=["*",[["mat-toolbar-row"]]],p=["*","mat-toolbar-row"],h=Object(a.a)(function e(t){Object(o.a)(this,e),this._elementRef=t}),m=Object(s.y)(h),g=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"]}),e}(),f=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r){var a;return Object(o.a)(this,n),(a=t.call(this,e))._platform=i,a._document=r,a}return Object(a.a)(n,[{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(function(){return e._checkToolbarMixedModes()}))}},{key:"_checkToolbarMixedModes",value:function(){}}]),n}(m);return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](d.a),c["\u0275\u0275directiveInject"](l.DOCUMENT))},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-toolbar"]],contentQueries:function(e,t,n){var i;1&e&&c["\u0275\u0275contentQuery"](n,g,1),2&e&&c["\u0275\u0275queryRefresh"](i=c["\u0275\u0275loadQuery"]())&&(t._toolbarRows=i)},hostAttrs:[1,"mat-toolbar"],hostVars:4,hostBindings:function(e,t){2&e&&c["\u0275\u0275classProp"]("mat-toolbar-multiple-rows",t._toolbarRows.length>0)("mat-toolbar-single-row",0===t._toolbarRows.length)},inputs:{color:"color"},exportAs:["matToolbar"],features:[c["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:p,decls:2,vars:0,template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](u),c["\u0275\u0275projection"](0),c["\u0275\u0275projection"](1,1))},styles:[".cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.mat-toolbar-row,.mat-toolbar-single-row{display:flex;box-sizing:border-box;padding:0 16px;width:100%;flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%}\n"],encapsulation:2,changeDetection:0}),e}(),v=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=c["\u0275\u0275defineInjector"]({imports:[[s.j],s.j]}),e}()},"/uUt":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("7o/Q");function l(e,t){return function(n){return n.lift(new c(e,t))}}var c=function(){function e(t,n){Object(a.a)(this,e),this.compare=t,this.keySelector=n}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new d(e,this.compare,this.keySelector))}}]),e}(),d=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r){var o;return Object(a.a)(this,n),(o=t.call(this,e)).keySelector=r,o.hasKey=!1,"function"==typeof i&&(o.compare=i),o}return Object(o.a)(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(r){return this.destination.error(r)}var i=!1;if(this.hasKey)try{i=(0,this.compare)(this.key,t)}catch(r){return this.destination.error(r)}else this.hasKey=!0;i||(this.key=t,this.destination.next(e))}}]),n}(s.a)},0:function(e,t,n){e.exports=n("pLPA")},"0EQZ":function(e,t,n){"use strict";n.d(t,"a",function(){return m}),n.d(t,"b",function(){return p}),n.d(t,"c",function(){return v}),n.d(t,"d",function(){return y}),n.d(t,"e",function(){return g}),n.d(t,"f",function(){return f}),n.d(t,"g",function(){return b}),n.d(t,"h",function(){return h});var i=n("uFwe"),r=n("Ji7U"),a=n("LK+K"),o=n("vuIU"),s=n("1OyB"),l=n("7+OI"),c=n("LRne"),d=n("XNiG"),u=n("fXoL"),p=Object(o.a)(function e(){Object(s.a)(this,e)});function h(e){return e&&"function"==typeof e.connect}var m=function(e){Object(r.a)(n,e);var t=Object(a.a)(n);function n(e){var i;return Object(s.a)(this,n),(i=t.call(this))._data=e,i}return Object(o.a)(n,[{key:"connect",value:function(){return Object(l.a)(this._data)?this._data:Object(c.a)(this._data)}},{key:"disconnect",value:function(){}}]),n}(p),g=function(){function e(){Object(s.a)(this,e)}return Object(o.a)(e,[{key:"applyChanges",value:function(e,t,n,i,r){e.forEachOperation(function(e,i,a){var o,s;if(null==e.previousIndex){var l=n(e,i,a);o=t.createEmbeddedView(l.templateRef,l.context,l.index),s=1}else null==a?(t.remove(i),s=3):(o=t.get(i),t.move(o,a),s=2);r&&r({context:null==o?void 0:o.context,operation:s,record:e})})}},{key:"detach",value:function(){}}]),e}(),f=function(){function e(){Object(s.a)(this,e),this.viewCacheSize=20,this._viewCache=[]}return Object(o.a)(e,[{key:"applyChanges",value:function(e,t,n,i,r){var a=this;e.forEachOperation(function(e,o,s){var l,c;null==e.previousIndex?c=(l=a._insertView(function(){return n(e,o,s)},s,t,i(e)))?1:0:null==s?(a._detachAndCacheView(o,t),c=3):(l=a._moveView(o,s,t,i(e)),c=2),r&&r({context:null==l?void 0:l.context,operation:c,record:e})})}},{key:"detach",value:function(){var e,t=Object(i.a)(this._viewCache);try{for(t.s();!(e=t.n()).done;)e.value.destroy()}catch(n){t.e(n)}finally{t.f()}this._viewCache=[]}},{key:"_insertView",value:function(e,t,n,i){var r=this._insertViewFromCache(t,n);if(!r){var a=e();return n.createEmbeddedView(a.templateRef,a.context,a.index)}r.context.$implicit=i}},{key:"_detachAndCacheView",value:function(e,t){var n=t.detach(e);this._maybeCacheView(n,t)}},{key:"_moveView",value:function(e,t,n,i){var r=n.get(e);return n.move(r,t),r.context.$implicit=i,r}},{key:"_maybeCacheView",value:function(e,t){if(this._viewCache.length<this.viewCacheSize)this._viewCache.push(e);else{var n=t.indexOf(e);-1===n?e.destroy():t.remove(n)}}},{key:"_insertViewFromCache",value:function(e,t){var n=this._viewCache.pop();return n&&t.insert(n,e),n||null}}]),e}(),v=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=arguments.length>1?arguments[1]:void 0,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];Object(s.a)(this,e),this._multiple=n,this._emitChanges=r,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new d.a,i&&i.length&&(n?i.forEach(function(e){return t._markSelected(e)}):this._markSelected(i[0]),this._selectedToEmit.length=0)}return Object(o.a)(e,[{key:"selected",get:function(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}},{key:"select",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach(function(t){return e._markSelected(t)}),this._emitChangeEvent()}},{key:"deselect",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];this._verifyValueAssignment(n),n.forEach(function(t){return e._unmarkSelected(t)}),this._emitChangeEvent()}},{key:"toggle",value:function(e){this.isSelected(e)?this.deselect(e):this.select(e)}},{key:"clear",value:function(){this._unmarkAll(),this._emitChangeEvent()}},{key:"isSelected",value:function(e){return this._selection.has(e)}},{key:"isEmpty",value:function(){return 0===this._selection.size}},{key:"hasValue",value:function(){return!this.isEmpty()}},{key:"sort",value:function(e){this._multiple&&this.selected&&this._selected.sort(e)}},{key:"isMultipleSelection",value:function(){return this._multiple}},{key:"_emitChangeEvent",value:function(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}},{key:"_markSelected",value:function(e){this.isSelected(e)||(this._multiple||this._unmarkAll(),this._selection.add(e),this._emitChanges&&this._selectedToEmit.push(e))}},{key:"_unmarkSelected",value:function(e){this.isSelected(e)&&(this._selection.delete(e),this._emitChanges&&this._deselectedToEmit.push(e))}},{key:"_unmarkAll",value:function(){var e=this;this.isEmpty()||this._selection.forEach(function(t){return e._unmarkSelected(t)})}},{key:"_verifyValueAssignment",value:function(e){}}]),e}(),y=function(){var e=function(){function e(){Object(s.a)(this,e),this._listeners=[]}return Object(o.a)(e,[{key:"notify",value:function(e,t){var n,r=Object(i.a)(this._listeners);try{for(r.s();!(n=r.n()).done;)(0,n.value)(e,t)}catch(a){r.e(a)}finally{r.f()}}},{key:"listen",value:function(e){var t=this;return this._listeners.push(e),function(){t._listeners=t._listeners.filter(function(t){return e!==t})}}},{key:"ngOnDestroy",value:function(){this._listeners=[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(u["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}(),b=new u.InjectionToken("_ViewRepeater")},"0IaG":function(e,t,n){"use strict";n.d(t,"a",function(){return T}),n.d(t,"b",function(){return A}),n.d(t,"c",function(){return N}),n.d(t,"d",function(){return z}),n.d(t,"e",function(){return H}),n.d(t,"f",function(){return I}),n.d(t,"g",function(){return B});var i=n("Ji7U"),r=n("LK+K"),a=n("vuIU"),o=n("1OyB"),s=n("rDax"),l=n("+rOU"),c=n("fXoL"),d=n("FKr1"),u=n("cH1L"),p=n("ofXK"),h=n("XNiG"),m=n("NXyV"),g=n("LRne"),f=n("pLZG"),v=n("IzEk"),y=n("JX91"),b=n("R0Ic"),x=n("FtGj"),_=n("u47x");function w(e,t){}var S=Object(a.a)(function e(){Object(o.a)(this,e),this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus=!0,this.restoreFocus=!0,this.closeOnNavigation=!0}),C={dialogContainer:Object(b.n)("dialogContainer",[Object(b.k)("void, exit",Object(b.l)({opacity:0,transform:"scale(0.7)"})),Object(b.k)("enter",Object(b.l)({transform:"none"})),Object(b.m)("* => enter",Object(b.e)("150ms cubic-bezier(0, 0, 0.2, 1)",Object(b.l)({transform:"none",opacity:1}))),Object(b.m)("* => void, * => exit",Object(b.e)("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",Object(b.l)({opacity:0})))])},k=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r,a,s,l){var d;return Object(o.a)(this,n),(d=t.call(this))._elementRef=e,d._focusTrapFactory=i,d._changeDetectorRef=r,d._config=s,d._focusMonitor=l,d._animationStateChanged=new c.EventEmitter,d._elementFocusedBeforeDialogWasOpened=null,d._closeInteractionType=null,d.attachDomPortal=function(e){return d._portalOutlet.hasAttached(),d._portalOutlet.attachDomPortal(e)},d._ariaLabelledBy=s.ariaLabelledBy||null,d._document=a,d}return Object(a.a)(n,[{key:"_initializeWithAttachedContent",value:function(){this._setupFocusTrap(),this._capturePreviouslyFocusedElement(),this._focusDialogContainer()}},{key:"attachComponentPortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}},{key:"_recaptureFocus",value:function(){this._containsFocus()||(!this._config.autoFocus||!this._focusTrap.focusInitialElement())&&this._elementRef.nativeElement.focus()}},{key:"_trapFocus",value:function(){this._config.autoFocus?this._focusTrap.focusInitialElementWhenReady():this._containsFocus()||this._elementRef.nativeElement.focus()}},{key:"_restoreFocus",value:function(){var e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){var t=this._getActiveElement(),n=this._elementRef.nativeElement;t&&t!==this._document.body&&t!==n&&!n.contains(t)||(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}},{key:"_setupFocusTrap",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement)}},{key:"_capturePreviouslyFocusedElement",value:function(){this._document&&(this._elementFocusedBeforeDialogWasOpened=this._getActiveElement())}},{key:"_focusDialogContainer",value:function(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}},{key:"_containsFocus",value:function(){var e=this._elementRef.nativeElement,t=this._getActiveElement();return e===t||e.contains(t)}},{key:"_getActiveElement",value:function(){var e,t=this._document.activeElement;return(null===(e=null==t?void 0:t.shadowRoot)||void 0===e?void 0:e.activeElement)||t}}]),n}(l.a);return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](_.i),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef),c["\u0275\u0275directiveInject"](p.DOCUMENT,8),c["\u0275\u0275directiveInject"](S),c["\u0275\u0275directiveInject"](_.h))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,viewQuery:function(e,t){var n;1&e&&c["\u0275\u0275viewQuery"](l.c,3),2&e&&c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t._portalOutlet=n.first)},features:[c["\u0275\u0275InheritDefinitionFeature"]]}),e}(),O=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.apply(this,arguments))._state="enter",e}return Object(a.a)(n,[{key:"_onAnimationDone",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?(this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:n})):"exit"===t&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:n}))}},{key:"_onAnimationStart",value:function(e){var t=e.toState,n=e.totalTime;"enter"===t?this._animationStateChanged.next({state:"opening",totalTime:n}):"exit"!==t&&"void"!==t||this._animationStateChanged.next({state:"closing",totalTime:n})}},{key:"_startExitAnimation",value:function(){this._state="exit",this._changeDetectorRef.markForCheck()}}]),n}(k);return e.\u0275fac=function(t){return E(t||e)},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,t){1&e&&c["\u0275\u0275syntheticHostListener"]("@dialogContainer.start",function(e){return t._onAnimationStart(e)})("@dialogContainer.done",function(e){return t._onAnimationDone(e)}),2&e&&(c["\u0275\u0275hostProperty"]("id",t._id),c["\u0275\u0275attribute"]("role",t._config.role)("aria-labelledby",t._config.ariaLabel?null:t._ariaLabelledBy)("aria-label",t._config.ariaLabel)("aria-describedby",t._config.ariaDescribedBy||null),c["\u0275\u0275syntheticHostProperty"]("@dialogContainer",t._state))},features:[c["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,t){1&e&&c["\u0275\u0275template"](0,w,0,0,"ng-template",0)},directives:[l.c],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[C.dialogContainer]}}),e}(),E=c["\u0275\u0275getInheritedFactory"](O),M=0,I=function(){function e(t,n){var i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat-dialog-".concat(M++);Object(o.a)(this,e),this._overlayRef=t,this._containerInstance=n,this.id=r,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new h.a,this._afterClosed=new h.a,this._beforeClosed=new h.a,this._state=0,n._id=r,n._animationStateChanged.pipe(Object(f.a)(function(e){return"opened"===e.state}),Object(v.a)(1)).subscribe(function(){i._afterOpened.next(),i._afterOpened.complete()}),n._animationStateChanged.pipe(Object(f.a)(function(e){return"closed"===e.state}),Object(v.a)(1)).subscribe(function(){clearTimeout(i._closeFallbackTimeout),i._finishDialogClose()}),t.detachments().subscribe(function(){i._beforeClosed.next(i._result),i._beforeClosed.complete(),i._afterClosed.next(i._result),i._afterClosed.complete(),i.componentInstance=null,i._overlayRef.dispose()}),t.keydownEvents().pipe(Object(f.a)(function(e){return e.keyCode===x.h&&!i.disableClose&&!Object(x.t)(e)})).subscribe(function(e){e.preventDefault(),P(i,"keyboard")}),t.backdropClick().subscribe(function(){i.disableClose?i._containerInstance._recaptureFocus():P(i,"mouse")})}return Object(a.a)(e,[{key:"close",value:function(e){var t=this;this._result=e,this._containerInstance._animationStateChanged.pipe(Object(f.a)(function(e){return"closing"===e.state}),Object(v.a)(1)).subscribe(function(n){t._beforeClosed.next(e),t._beforeClosed.complete(),t._overlayRef.detachBackdrop(),t._closeFallbackTimeout=setTimeout(function(){return t._finishDialogClose()},n.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}},{key:"afterOpened",value:function(){return this._afterOpened}},{key:"afterClosed",value:function(){return this._afterClosed}},{key:"beforeClosed",value:function(){return this._beforeClosed}},{key:"backdropClick",value:function(){return this._overlayRef.backdropClick()}},{key:"keydownEvents",value:function(){return this._overlayRef.keydownEvents()}},{key:"updatePosition",value:function(e){var t=this._getPositionStrategy();return e&&(e.left||e.right)?e.left?t.left(e.left):t.right(e.right):t.centerHorizontally(),e&&(e.top||e.bottom)?e.top?t.top(e.top):t.bottom(e.bottom):t.centerVertically(),this._overlayRef.updatePosition(),this}},{key:"updateSize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this._overlayRef.updateSize({width:e,height:t}),this._overlayRef.updatePosition(),this}},{key:"addPanelClass",value:function(e){return this._overlayRef.addPanelClass(e),this}},{key:"removePanelClass",value:function(e){return this._overlayRef.removePanelClass(e),this}},{key:"getState",value:function(){return this._state}},{key:"_finishDialogClose",value:function(){this._state=2,this._overlayRef.dispose()}},{key:"_getPositionStrategy",value:function(){return this._overlayRef.getConfig().positionStrategy}}]),e}();function P(e,t,n){return void 0!==e._containerInstance&&(e._containerInstance._closeInteractionType=t),e.close(n)}var T=new c.InjectionToken("MatDialogData"),D=new c.InjectionToken("mat-dialog-default-options"),L=new c.InjectionToken("mat-dialog-scroll-strategy"),R={provide:L,deps:[s.c],useFactory:function(e){return function(){return e.scrollStrategies.block()}}},j=function(){var e=function(){function e(t,n,i,r,a,s,l,c,d){var u=this;Object(o.a)(this,e),this._overlay=t,this._injector=n,this._defaultOptions=i,this._parentDialog=r,this._overlayContainer=a,this._dialogRefConstructor=l,this._dialogContainerType=c,this._dialogDataToken=d,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new h.a,this._afterOpenedAtThisLevel=new h.a,this._ariaHiddenElements=new Map,this.afterAllClosed=Object(m.a)(function(){return u.openDialogs.length?u._getAfterAllClosed():u._getAfterAllClosed().pipe(Object(y.a)(void 0))}),this._scrollStrategy=s}return Object(a.a)(e,[{key:"openDialogs",get:function(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}},{key:"afterOpened",get:function(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}},{key:"_getAfterAllClosed",value:function(){var e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}},{key:"open",value:function(e,t){var n=this;(t=function(e,t){return Object.assign(Object.assign({},t),e)}(t,this._defaultOptions||new S)).id&&this.getDialogById(t.id);var i=this._createOverlay(t),r=this._attachDialogContainer(i,t),a=this._attachDialogContent(e,r,i,t);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(a),a.afterClosed().subscribe(function(){return n._removeOpenDialog(a)}),this.afterOpened.next(a),r._initializeWithAttachedContent(),a}},{key:"closeAll",value:function(){this._closeDialogs(this.openDialogs)}},{key:"getDialogById",value:function(e){return this.openDialogs.find(function(t){return t.id===e})}},{key:"ngOnDestroy",value:function(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}},{key:"_createOverlay",value:function(e){var t=this._getOverlayConfig(e);return this._overlay.create(t)}},{key:"_getOverlayConfig",value:function(e){var t=new s.d({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(t.backdropClass=e.backdropClass),t}},{key:"_attachDialogContainer",value:function(e,t){var n=c.Injector.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:S,useValue:t}]}),i=new l.d(this._dialogContainerType,t.viewContainerRef,n,t.componentFactoryResolver);return e.attach(i).instance}},{key:"_attachDialogContent",value:function(e,t,n,i){var r=new this._dialogRefConstructor(n,t,i.id);if(e instanceof c.TemplateRef)t.attachTemplatePortal(new l.g(e,null,{$implicit:i.data,dialogRef:r}));else{var a=this._createInjector(i,r,t),o=t.attachComponentPortal(new l.d(e,i.viewContainerRef,a));r.componentInstance=o.instance}return r.updateSize(i.width,i.height).updatePosition(i.position),r}},{key:"_createInjector",value:function(e,t,n){var i=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:n},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:t}];return!e.direction||i&&i.get(u.b,null)||r.push({provide:u.b,useValue:{value:e.direction,change:Object(g.a)()}}),c.Injector.create({parent:i||this._injector,providers:r})}},{key:"_removeOpenDialog",value:function(e){var t=this.openDialogs.indexOf(e);t>-1&&(this.openDialogs.splice(t,1),this.openDialogs.length||(this._ariaHiddenElements.forEach(function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}},{key:"_hideNonDialogContentFromAssistiveTechnology",value:function(){var e=this._overlayContainer.getContainerElement();if(e.parentElement)for(var t=e.parentElement.children,n=t.length-1;n>-1;n--){var i=t[n];i===e||"SCRIPT"===i.nodeName||"STYLE"===i.nodeName||i.hasAttribute("aria-live")||(this._ariaHiddenElements.set(i,i.getAttribute("aria-hidden")),i.setAttribute("aria-hidden","true"))}}},{key:"_closeDialogs",value:function(e){for(var t=e.length;t--;)e[t].close()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](s.c),c["\u0275\u0275directiveInject"](c.Injector),c["\u0275\u0275directiveInject"](void 0),c["\u0275\u0275directiveInject"](void 0),c["\u0275\u0275directiveInject"](s.e),c["\u0275\u0275directiveInject"](void 0),c["\u0275\u0275directiveInject"](c.Type),c["\u0275\u0275directiveInject"](c.Type),c["\u0275\u0275directiveInject"](c.InjectionToken))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e}),e}(),A=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r,a,s,l,c){return Object(o.a)(this,n),t.call(this,e,i,a,l,c,s,I,O,T)}return Object(a.a)(n)}(j);return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](s.c),c["\u0275\u0275inject"](c.Injector),c["\u0275\u0275inject"](p.Location,8),c["\u0275\u0275inject"](D,8),c["\u0275\u0275inject"](L),c["\u0275\u0275inject"](e,12),c["\u0275\u0275inject"](s.e))},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),F=0,B=function(){var e=function(){function e(t,n,i){Object(o.a)(this,e),this._dialogRef=t,this._elementRef=n,this._dialog=i,this.id="mat-dialog-title-".concat(F++)}return Object(a.a)(e,[{key:"ngOnInit",value:function(){var e=this;this._dialogRef||(this._dialogRef=function(e,t){for(var n=e.nativeElement.parentElement;n&&!n.classList.contains("mat-dialog-container");)n=n.parentElement;return n?t.find(function(e){return e.id===n.id}):null}(this._elementRef,this._dialog.openDialogs)),this._dialogRef&&Promise.resolve().then(function(){var t=e._dialogRef._containerInstance;t&&!t._ariaLabelledBy&&(t._ariaLabelledBy=e.id)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](I,8),c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](A))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","mat-dialog-title",""],["","matDialogTitle",""]],hostAttrs:[1,"mat-dialog-title"],hostVars:1,hostBindings:function(e,t){2&e&&c["\u0275\u0275hostProperty"]("id",t.id)},inputs:{id:"id"},exportAs:["matDialogTitle"]}),e}(),z=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","mat-dialog-content",""],["mat-dialog-content"],["","matDialogContent",""]],hostAttrs:[1,"mat-dialog-content"]}),e}(),N=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","mat-dialog-actions",""],["mat-dialog-actions"],["","matDialogActions",""]],hostAttrs:[1,"mat-dialog-actions"]}),e}(),H=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=c["\u0275\u0275defineInjector"]({providers:[A,R],imports:[[s.f,l.f,d.j],d.j]}),e}()},"0MNC":function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return C});var i,r=n("vuIU"),a=n("1OyB"),o=n("fXoL"),s=n("8LU1"),l=n("XNiG"),c=n("itXk"),d=n("GyhO"),u=n("HDdC"),p=n("IzEk"),h=n("zP0r"),m=n("Kj3r"),g=n("lJxs"),f=n("JX91"),v=n("1G5W"),y=n("nLfN"),b=new Set,x=function(){var e=function(){function e(t){Object(a.a)(this,e),this._platform=t,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):_}return Object(r.a)(e,[{key:"matchMedia",value:function(e){return this._platform.WEBKIT&&function(e){if(!b.has(e))try{i||((i=document.createElement("style")).setAttribute("type","text/css"),document.head.appendChild(i)),i.sheet&&(i.sheet.insertRule("@media ".concat(e," {.fx-query-test{ }}"),0),b.add(e))}catch(t){console.error(t)}}(e),this._matchMedia(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](y.a))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(o["\u0275\u0275inject"])(y.a))},token:e,providedIn:"root"}),e}();function _(e){return{matches:"all"===e||""===e,media:e,addListener:function(){},removeListener:function(){}}}var w=function(){var e=function(){function e(t,n){Object(a.a)(this,e),this._mediaMatcher=t,this._zone=n,this._queries=new Map,this._destroySubject=new l.a}return Object(r.a)(e,[{key:"ngOnDestroy",value:function(){this._destroySubject.next(),this._destroySubject.complete()}},{key:"isMatched",value:function(e){var t=this;return S(Object(s.b)(e)).some(function(e){return t._registerQuery(e).mql.matches})}},{key:"observe",value:function(e){var t=this,n=S(Object(s.b)(e)).map(function(e){return t._registerQuery(e).observable}),i=Object(c.a)(n);return(i=Object(d.a)(i.pipe(Object(p.a)(1)),i.pipe(Object(h.a)(1),Object(m.a)(0)))).pipe(Object(g.a)(function(e){var t={matches:!1,breakpoints:{}};return e.forEach(function(e){var n=e.matches,i=e.query;t.matches=t.matches||n,t.breakpoints[i]=n}),t}))}},{key:"_registerQuery",value:function(e){var t=this;if(this._queries.has(e))return this._queries.get(e);var n=this._mediaMatcher.matchMedia(e),i={observable:new u.a(function(e){var i=function(n){return t._zone.run(function(){return e.next(n)})};return n.addListener(i),function(){n.removeListener(i)}}).pipe(Object(f.a)(n),Object(g.a)(function(t){return{query:e,matches:t.matches}}),Object(v.a)(this._destroySubject)),mql:n};return this._queries.set(e,i),i}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](x),o["\u0275\u0275inject"](o.NgZone))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(o["\u0275\u0275inject"])(x),Object(o["\u0275\u0275inject"])(o.NgZone))},token:e,providedIn:"root"}),e}();function S(e){return e.map(function(e){return e.split(",")}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.trim()})}var C={XSmall:"(max-width: 599.98px)",Small:"(min-width: 600px) and (max-width: 959.98px)",Medium:"(min-width: 960px) and (max-width: 1279.98px)",Large:"(min-width: 1280px) and (max-width: 1919.98px)",XLarge:"(min-width: 1920px)",Handset:"(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)",Tablet:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait), (min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",Web:"(min-width: 840px) and (orientation: portrait), (min-width: 1280px) and (orientation: landscape)",HandsetPortrait:"(max-width: 599.98px) and (orientation: portrait)",TabletPortrait:"(min-width: 600px) and (max-width: 839.98px) and (orientation: portrait)",WebPortrait:"(min-width: 840px) and (orientation: portrait)",HandsetLandscape:"(max-width: 959.98px) and (orientation: landscape)",TabletLandscape:"(min-width: 960px) and (max-width: 1279.98px) and (orientation: landscape)",WebLandscape:"(min-width: 1280px) and (orientation: landscape)"}},"0mo+":function(e,t,n){!function(e){"use strict";var t={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},n={"\u0f21":"1","\u0f22":"2","\u0f23":"3","\u0f24":"4","\u0f25":"5","\u0f26":"6","\u0f27":"7","\u0f28":"8","\u0f29":"9","\u0f20":"0"};e.defineLocale("bo",{months:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f44\u0f0b\u0f54\u0f7c_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f66\u0f74\u0f58\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f5e\u0f72\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f63\u0f94\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0fb2\u0f74\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f62\u0f92\u0fb1\u0f51\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f51\u0f42\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f45\u0f72\u0f42\u0f0b\u0f54_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f56\u0f45\u0f74\u0f0b\u0f42\u0f49\u0f72\u0f66\u0f0b\u0f54".split("_"),monthsShort:"\u0f5f\u0fb3\u0f0b1_\u0f5f\u0fb3\u0f0b2_\u0f5f\u0fb3\u0f0b3_\u0f5f\u0fb3\u0f0b4_\u0f5f\u0fb3\u0f0b5_\u0f5f\u0fb3\u0f0b6_\u0f5f\u0fb3\u0f0b7_\u0f5f\u0fb3\u0f0b8_\u0f5f\u0fb3\u0f0b9_\u0f5f\u0fb3\u0f0b10_\u0f5f\u0fb3\u0f0b11_\u0f5f\u0fb3\u0f0b12".split("_"),monthsShortRegex:/^(\u0f5f\u0fb3\u0f0b\d{1,2})/,monthsParseExact:!0,weekdays:"\u0f42\u0f5f\u0f60\u0f0b\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f42\u0f5f\u0f60\u0f0b\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysShort:"\u0f49\u0f72\u0f0b\u0f58\u0f0b_\u0f5f\u0fb3\u0f0b\u0f56\u0f0b_\u0f58\u0f72\u0f42\u0f0b\u0f51\u0f58\u0f62\u0f0b_\u0f63\u0fb7\u0f42\u0f0b\u0f54\u0f0b_\u0f55\u0f74\u0f62\u0f0b\u0f56\u0f74_\u0f54\u0f0b\u0f66\u0f44\u0f66\u0f0b_\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0b".split("_"),weekdaysMin:"\u0f49\u0f72_\u0f5f\u0fb3_\u0f58\u0f72\u0f42_\u0f63\u0fb7\u0f42_\u0f55\u0f74\u0f62_\u0f66\u0f44\u0f66_\u0f66\u0fa4\u0f7a\u0f53".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0f51\u0f72\u0f0b\u0f62\u0f72\u0f44] LT",nextDay:"[\u0f66\u0f44\u0f0b\u0f49\u0f72\u0f53] LT",nextWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f62\u0f97\u0f7a\u0f66\u0f0b\u0f58], LT",lastDay:"[\u0f41\u0f0b\u0f66\u0f44] LT",lastWeek:"[\u0f56\u0f51\u0f74\u0f53\u0f0b\u0f55\u0fb2\u0f42\u0f0b\u0f58\u0f50\u0f60\u0f0b\u0f58] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0f63\u0f0b",past:"%s \u0f66\u0f94\u0f53\u0f0b\u0f63",s:"\u0f63\u0f58\u0f0b\u0f66\u0f44",ss:"%d \u0f66\u0f90\u0f62\u0f0b\u0f46\u0f0d",m:"\u0f66\u0f90\u0f62\u0f0b\u0f58\u0f0b\u0f42\u0f45\u0f72\u0f42",mm:"%d \u0f66\u0f90\u0f62\u0f0b\u0f58",h:"\u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51\u0f0b\u0f42\u0f45\u0f72\u0f42",hh:"%d \u0f46\u0f74\u0f0b\u0f5a\u0f7c\u0f51",d:"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f45\u0f72\u0f42",dd:"%d \u0f49\u0f72\u0f53\u0f0b",M:"\u0f5f\u0fb3\u0f0b\u0f56\u0f0b\u0f42\u0f45\u0f72\u0f42",MM:"%d \u0f5f\u0fb3\u0f0b\u0f56",y:"\u0f63\u0f7c\u0f0b\u0f42\u0f45\u0f72\u0f42",yy:"%d \u0f63\u0f7c"},preparse:function(e){return e.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c|\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66|\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44|\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42|\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===t&&e>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===t&&e<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":e<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":e<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":e<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(n("wd/R"))},"0nor":function(e,t,n){"use strict";n.r(t),n.d(t,"CreateRoutineComponent",function(){return De}),n.d(t,"RoutineSegmentComponent",function(){return Le}),n.d(t,"RoutineIntervalComponent",function(){return Re});var i=n("fXoL"),r=n("LvDl"),a=n("+ic2"),o=n("kHM/"),s=n("deNa"),l=n("Bu+s"),c=n("ePeK"),d=n("BwfH"),u=n("uJc7"),p=n("ov3D"),h=n("yjSS"),m=n("tk/3"),g=n("1zuJ"),f=n("cp0P"),v=n("6n/F"),y=n("/dWi"),b=n("tyNb"),x=n("sYmb"),_=n("ofXK"),w=n("bTqV"),S=n("3Pt+"),C=n("kmnG"),k=n("qFsG"),O=n("d3UM"),E=n("FKr1"),M=n("Xa2L"),I=n("kAVD"),P=n("bSwM"),T=["segments"];function D(e,t){1&e&&i["\u0275\u0275element"](0,"div",5)}function L(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",12),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.router.navigate(["/myroutines",e.routineData.id,"detail"])}),i["\u0275\u0275elementStart"](1,"span",13),i["\u0275\u0275text"](2,"preview"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,1,"ROOT.View")," "))}function R(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",6),i["\u0275\u0275elementStart"](1,"a",7),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().navigateBack()}),i["\u0275\u0275element"](2,"img",8),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",9),i["\u0275\u0275elementStart"](5,"span",10),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"span",10),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](11,L,5,3,"button",11),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("hidden",r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](7,5,"ROOT.Create Workout")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](10,7,"ROOT.Edit")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","RoutineH"==r.routineData.model&&r.isEditing)}}function j(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",26),i["\u0275\u0275elementStart"](1,"h3"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div"),i["\u0275\u0275elementStart"](5,"button",27),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.router.navigate(["video_search"],{queryParams:{activityId:e.activityId}})}),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"button",27),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).isCreating=!0}),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,3,"ROOT.Create using a YouTube Video?")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](7,5,"ROOT.Yes")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](10,7,"ROOT.No")))}function A(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",54),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n[0]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n[1]," ")}}function F(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td",30),i["\u0275\u0275elementStart"](2,"mat-form-field",31),i["\u0275\u0275elementStart"](3,"mat-label"),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"mat-select",53),i["\u0275\u0275listener"]("valueChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).routineData.workoutType=e})("selectionChange",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.workoutTypeChanged(e.routineData.workoutType)}),i["\u0275\u0275template"](7,A,2,2,"mat-option",35),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,3,"ROOT.Activity")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("value",r.routineData.workoutType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.availableWorkoutTypes)}}function B(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",54),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT."+n)," ")}}function z(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",54),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.name)}}function N(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td"),i["\u0275\u0275elementStart"](2,"h4"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"td"),i["\u0275\u0275elementStart"](6,"mat-form-field",55),i["\u0275\u0275elementStart"](7,"mat-select",56),i["\u0275\u0275listener"]("valueChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).routineData.classType=e}),i["\u0275\u0275template"](8,z,2,2,"mat-option",35),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,3,"ROOT.Class Level")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("value",r.routineData.classType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.classTypeOptions)}}function H(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",54),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.key," ")}}var V=function(){return{standalone:!0}};function Y(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td",57),i["\u0275\u0275elementStart"](2,"mat-form-field",31),i["\u0275\u0275elementStart"](3,"mat-label"),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"mat-select",58),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).routineData.brand=e}),i["\u0275\u0275template"](7,H,2,2,"mat-option",35),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,4,"ROOT.Brand")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineData.brand)("ngModelOptions",i["\u0275\u0275pureFunction0"](6,V)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.availableBrands)}}function W(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",60),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Routine has video but VideoType is undefined")," "))}function G(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",54),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.key," ")}}function U(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td",30),i["\u0275\u0275template"](2,W,3,3,"span",59),i["\u0275\u0275elementStart"](3,"mat-form-field",31),i["\u0275\u0275elementStart"](4,"mat-label"),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"mat-select",58),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).routineData.videoDetails.videoType=e}),i["\u0275\u0275template"](8,G,2,2,"mat-option",35),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.routineData.hasVideo&&null==r.routineData.videoDetails.videoType),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,5,"ROOT.Video Type")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineData.videoDetails.videoType)("ngModelOptions",i["\u0275\u0275pureFunction0"](7,V)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.videoTypes)}}function q(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",61),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showVideoDetail=!e.showVideoDetail}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Edit Details")," "))}function Z(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",65),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"input",66,67),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).routineData.fullVideoURL=e})("input",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275reference"](5),t=i["\u0275\u0275nextContext"](4);return t.parsingVideo=!0,t.videoURLChange(e.value)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,3,"ROOT.Video URL")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineData.fullVideoURL)("ngModelOptions",i["\u0275\u0275pureFunction0"](5,V))}}function $(e,t){1&e&&i["\u0275\u0275element"](0,"mat-spinner",68),2&e&&i["\u0275\u0275property"]("diameter",20)}function X(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",65),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"input",69),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).routineData.videoDetails.thumbnailURL=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,3,"ROOT.Thumbnail URL")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineData.videoDetails.thumbnailURL)("ngModelOptions",i["\u0275\u0275pureFunction0"](5,V))}}function K(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"mat-form-field",65),i["\u0275\u0275elementStart"](2,"mat-label"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"input",69),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).routineData.videoDetails.name=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"mat-form-field",65),i["\u0275\u0275elementStart"](7,"mat-label"),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"input",69),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).routineData.videoDetails.description=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"mat-form-field",65),i["\u0275\u0275elementStart"](12,"mat-label"),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"input",69),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).routineData.videoDetails.author=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,9,"ROOT.Title")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineData.videoDetails.name)("ngModelOptions",i["\u0275\u0275pureFunction0"](15,V)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,11,"ROOT.Description")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineData.videoDetails.description)("ngModelOptions",i["\u0275\u0275pureFunction0"](16,V)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](14,13,"ROOT.Author Name")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineData.videoDetails.author)("ngModelOptions",i["\u0275\u0275pureFunction0"](17,V))}}function J(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",75),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Description"),": ",n.routineData.videoDetails.description," ")}}function Q(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",76),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](5);return e.moreDescription=!e.moreDescription}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.More")))}function ee(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",70),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Description"),": ",n.routineData.videoDetails.description," ")}}function te(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",76),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](5);return e.moreDescription=!e.moreDescription}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Less")))}function ne(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",70),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",70),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,J,3,4,"div",71),i["\u0275\u0275template"](8,Q,3,3,"div",72),i["\u0275\u0275template"](9,ee,3,4,"div",73),i["\u0275\u0275template"](10,te,3,3,"div",72),i["\u0275\u0275elementStart"](11,"div",70),i["\u0275\u0275elementStart"](12,"a",74),i["\u0275\u0275text"](13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](3,10,"ROOT.Author"),": ",n.routineData.videoDetails.author,""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](6,12,"ROOT.Name"),": ",n.routineData.videoDetails.name,""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.moreDescription),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.moreDescription),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.moreDescription),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.moreDescription),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("href",n.routineData.fullVideoURL,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.routineData.fullVideoURL," ")}}function ie(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",62),i["\u0275\u0275template"](1,Z,6,6,"mat-form-field",63),i["\u0275\u0275template"](2,$,1,1,"mat-spinner",64),i["\u0275\u0275template"](3,X,5,6,"mat-form-field",63),i["\u0275\u0275template"](4,K,16,18,"div",29),i["\u0275\u0275template"](5,ne,14,14,"div",29),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isStarTrainer),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.parsingVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","direct_url"==n.routineData.videoDetails.videoType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","direct_url"==n.routineData.videoDetails.videoType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","youtube"==n.routineData.videoDetails.videoType)}}function re(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",77),i["\u0275\u0275element"](1,"highcharts-chart",78),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("Highcharts",n.Highcharts)("options",n.chartOpts)("oneToOne",!0)}}function ae(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",79),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.router.navigate(["activity",e.activityData.id,"detail"])}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.View Activity")," "))}function oe(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",83),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"milesToKm"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind3"](2,1,n.routineData.totalDistance,n.AccountService.account.isMetric(),2)," ")}}function se(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",83),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,1,n.routineData.totalDistance,"1.0-2")," ")}}function le(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"\xa0 mi"),i["\u0275\u0275elementEnd"]())}function ce(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"\xa0 km"),i["\u0275\u0275elementEnd"]())}function de(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",80),i["\u0275\u0275elementStart"](2,"h4",81),i["\u0275\u0275template"](3,oe,3,5,"div",82),i["\u0275\u0275template"](4,se,3,4,"div",82),i["\u0275\u0275template"](5,le,2,0,"span",29),i["\u0275\u0275template"](6,ce,2,0,"span",29),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","US"==n.routineData.unitOfMeasure),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","US"!=n.routineData.unitOfMeasure),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.AccountService.account.isMetric()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.AccountService.account.isMetric())}}function ue(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"h4",81),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"hoursToHMS"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,n.routineData.totalDuration))}}function pe(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",84),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showRoutineOptions=!e.showRoutineOptions}),i["\u0275\u0275elementStart"](1,"span",13),i["\u0275\u0275text"](2,"settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function he(e,t){}function me(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-checkbox",87),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).autoEnd=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("ngModel",r.autoEnd)("ngModelOptions",i["\u0275\u0275pureFunction0"](2,V))}}function ge(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",85),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,me,1,3,"mat-checkbox",86),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,2,"ROOT.Auto End")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.autoRecovery||n.autoEnd)}}function fe(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",85),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"mat-checkbox",87),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).autoRecovery=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,3,"ROOT.Auto Recovery")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.autoRecovery)("ngModelOptions",i["\u0275\u0275pureFunction0"](5,V))}}function ve(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"table",28),i["\u0275\u0275elementStart"](1,"tbody"),i["\u0275\u0275template"](2,F,8,5,"tr",29),i["\u0275\u0275elementStart"](3,"tr"),i["\u0275\u0275elementStart"](4,"td",30),i["\u0275\u0275elementStart"](5,"mat-form-field",31),i["\u0275\u0275elementStart"](6,"mat-label"),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"input",32),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).routineData.name=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"tr"),i["\u0275\u0275elementStart"](11,"td",30),i["\u0275\u0275elementStart"](12,"mat-form-field",31),i["\u0275\u0275elementStart"](13,"mat-label"),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"textarea",33),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).routineData.description=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"tr"),i["\u0275\u0275elementStart"](18,"td",30),i["\u0275\u0275elementStart"](19,"mat-form-field",31),i["\u0275\u0275elementStart"](20,"mat-label"),i["\u0275\u0275text"](21),i["\u0275\u0275pipe"](22,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"mat-select",34),i["\u0275\u0275listener"]("valueChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).routineData.categories=e}),i["\u0275\u0275template"](24,B,3,4,"mat-option",35),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](25,N,9,5,"tr",29),i["\u0275\u0275template"](26,Y,8,7,"tr",29),i["\u0275\u0275template"](27,U,9,8,"tr",29),i["\u0275\u0275elementStart"](28,"tr"),i["\u0275\u0275elementStart"](29,"td",30),i["\u0275\u0275elementStart"](30,"div",36),i["\u0275\u0275element"](31,"img",37),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](32,q,3,3,"div",38),i["\u0275\u0275template"](33,ie,6,5,"div",39),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"tr"),i["\u0275\u0275elementStart"](35,"td",30),i["\u0275\u0275template"](36,re,2,3,"div",40),i["\u0275\u0275template"](37,ae,3,3,"button",41),i["\u0275\u0275elementStart"](38,"div",42),i["\u0275\u0275template"](39,de,7,4,"span",29),i["\u0275\u0275element"](40,"img",43),i["\u0275\u0275template"](41,ue,3,3,"h4",44),i["\u0275\u0275template"](42,pe,3,0,"button",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"div",46),i["\u0275\u0275elementStart"](44,"div"),i["\u0275\u0275template"](45,he,0,0,"ng-template",null,47,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"button",48),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).addSegment()}),i["\u0275\u0275elementStart"](48,"span",49),i["\u0275\u0275text"](49,"add_circle"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"span",50),i["\u0275\u0275text"](51),i["\u0275\u0275pipe"](52,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](53,ge,5,4,"div",51),i["\u0275\u0275template"](54,fe,5,6,"div",52),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](8,24,"ROOT.Title")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineData.name)("ngModelOptions",i["\u0275\u0275pureFunction0"](32,V)),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](15,26,"ROOT.description")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineData.description)("ngModelOptions",i["\u0275\u0275pureFunction0"](33,V)),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](22,28,"ROOT.Categories")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("value",r.routineData.categories),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.searchableCategories),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routineData.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isStarTrainer&&r.showRoutineOptions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isStarTrainer&&r.showRoutineOptions),i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate"]("src",r.routineData.videoDetails.thumbnailURL,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routineData.videoDetails.videoType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showVideoDetail||"direct_url"==r.routineData.videoDetails.videoType),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.activityId&&!r.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.activityData),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.routineData.totalDistance>0),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.routineData.totalDuration>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isStarTrainer),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](52,30,"ROOT.Series")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.PermissionsService.starAccess),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.PermissionsService.starAccess)}}function ye(e,t){if(1&e&&i["\u0275\u0275element"](0,"div",88),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("innerHTML",n.errorMsg,i["\u0275\u0275sanitizeHtml"])}}function be(e,t){1&e&&i["\u0275\u0275element"](0,"mat-spinner",89),2&e&&i["\u0275\u0275property"]("diameter",20)}var xe=function(e){return[e]};function _e(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275template"](1,j,11,9,"div",15),i["\u0275\u0275elementStart"](2,"form",16),i["\u0275\u0275elementStart"](3,"div",17),i["\u0275\u0275elementStart"](4,"div",18),i["\u0275\u0275template"](5,ve,55,34,"table",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",20),i["\u0275\u0275template"](7,ye,1,1,"div",21),i["\u0275\u0275elementStart"](8,"div",22),i["\u0275\u0275elementStart"](9,"div",23),i["\u0275\u0275template"](10,be,1,1,"mat-spinner",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"button",25),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().saveRoutine()}),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isCreating&&!r.isEditing&&r.PermissionsService.youtubeSearchAccess),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!r.isCreating&&!r.isEditing),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.routineData),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.errorMsg.length>0),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.createStarted),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](10,xe,r.createStarted?"btn-primary-light themedRoundButton fdSignInButton":"btn-primary themedRoundButton fdSignInButton"))("disabled",r.createStarted),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](13,8,"ROOT.Save")," ")}}function we(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",90),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.wrongTypeMessage," ")}}var Se=["intervals"];function Ce(e,t){}function ke(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",15),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n[0]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n[1]," ")}}function Oe(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementStart"](3,"mat-form-field",17),i["\u0275\u0275elementStart"](4,"mat-label"),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"input",18),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).hours=e})("change",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.onDurationChange(),e.routineData.calcTotalDistance()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-form-field",17),i["\u0275\u0275elementStart"](9,"mat-label"),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"input",18),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).minutes=e})("change",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.onDurationChange(),e.routineData.calcTotalDistance()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](13," \xa0 "),i["\u0275\u0275elementStart"](14,"mat-form-field",19),i["\u0275\u0275elementStart"](15,"mat-label"),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"input",18),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).seconds=e})("change",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.onDurationChange(),e.routineData.calcTotalDistance()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,7,"ROOT.Time")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,9,"ROOT.Hours")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.hours),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](11,11,"ROOT.Minutes")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.minutes),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](17,13,"ROOT.Seconds")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.seconds)}}function Ee(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Kilometers")))}function Me(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Miles")))}function Ie(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",20),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275template"](4,Ee,3,3,"span",21),i["\u0275\u0275template"](5,Me,3,3,"span",21),i["\u0275\u0275text"](6,")"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"input",22),i["\u0275\u0275listener"]("change",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.onDurationChange(),e.routineData.calcTotalDistance()})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).durationDisplay=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](3,4,"ROOT.Distance")," ("),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.AccountService.account.isMetric()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.AccountService.account.isMetric()),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.durationDisplay)}}function Pe(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",15),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n[0]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n[1]," ")}}function Te(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",5),i["\u0275\u0275elementStart"](1,"div",6),i["\u0275\u0275elementStart"](2,"h4"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"button",7),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().removeInterval()}),i["\u0275\u0275elementStart"](6,"span",8),i["\u0275\u0275text"](7,"remove_circle"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-form-field",9),i["\u0275\u0275elementStart"](9,"mat-label"),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"mat-select",10),i["\u0275\u0275listener"]("valueChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]();return t.routineData.routineDef.segmentDef[t.segmentIndex].intervalDef[t.intervalIndex].durationUnits=e}),i["\u0275\u0275template"](13,ke,2,2,"mat-option",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,Oe,19,15,"div",12),i["\u0275\u0275template"](15,Ie,8,6,"mat-form-field",13),i["\u0275\u0275elementStart"](16,"mat-form-field",9),i["\u0275\u0275elementStart"](17,"mat-label"),i["\u0275\u0275text"](18),i["\u0275\u0275pipe"](19,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"mat-select",14),i["\u0275\u0275listener"]("valueChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]();return t.routineData.routineDef.segmentDef[t.segmentIndex].intervalDef[t.intervalIndex].zoneRef[0].zonePos=e})("selectionChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().routineData.calcTotalDistance()}),i["\u0275\u0275template"](21,Pe,2,2,"mat-option",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](4,10,"ROOT.Interval")," ",r.intervalIndex+1,""),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](11,12,"ROOT.Duration Units")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("value",r.routineData.routineDef.segmentDef[r.segmentIndex].intervalDef[r.intervalIndex].durationUnits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.durationUnits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==r.routineData.routineDef.segmentDef[r.segmentIndex].intervalDef[r.intervalIndex].durationUnits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",2==r.routineData.routineDef.segmentDef[r.segmentIndex].intervalDef[r.intervalIndex].durationUnits),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](19,14,"ROOT.Zone")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("value",r.routineData.routineDef.segmentDef[r.segmentIndex].intervalDef[r.intervalIndex].zoneRef[0].zonePos),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.zones)}}var De=function(){function e(e,t,n,i,o,s,l,c,d,u,p,h,m,g,f,y){this.WorkoutTypes=e,this.ThemeService=t,this.AccountService=n,this.routineService=i,this.router=o,this.route=s,this.VideoService=l,this.window=c,this.workoutService=d,this.floatToPace=u,this.ZoneService=p,this.PermissionsService=h,this.viewContainerRef=m,this.componentFactoryResolver=g,this.cdRef=f,this.translate=y,this.Highcharts=v,this.loaded=!0,this.HRBased=!1,this.PaceBased=!1,this.isEditing=!1,this.isCreating=!1,this.parsingVideo=!1,this.videoBased=!1,this.durationDisplay=0,this.isDuplicate=!1,this.hideTotal=!1,this.errorMsg="",this.showLoadingOverlay=!0,this.isStarTrainer=!1,this.availableWorkoutTypes=this.WorkoutTypes.getWorkoutTypeList(this.translate.currentLang),this.availableBrands=[{key:"Fitdigits",value:"fitdigits"},{key:"Spinning",value:"spinning"}],this.videoTypes=[{key:"None",value:null},{key:"Youtube",value:"youtube"},{key:"Direct URL",value:"direct_url"}],this.classTypeOptions=[{name:"All",value:"all"},{name:"Advanced",value:"Advanced"},{name:"Beginner",value:"Beginner"},{name:"Tutorial",value:"Tutorial"}],this.segmentReferences=Array(),this.segmentIndexKey=-1,this.showVideoDetail=!1,this.showIntervalDetail=!0,this.showRoutineOptions=!1,this.moreDescription=!1,this.wrongType=!1,this.createFromYoutube=!1,this.searchableCategories=Object(r.cloneDeep)(a.o),this.autoRecovery=!1,this.newTriggers=[],this.createStarted=!1,this.create_hr_zones=!0}return e.prototype.ngOnInit=function(){this.getData()},e.prototype.getData=function(){var e,t=this;this.PermissionsService.starTrainerAccess&&a.o.push("Featured"),this.searchableCategories.splice(0,1),console.log("Categories: "+a.o.splice(0,1)),this.routineId=this.route.snapshot.paramMap.get("routineId"),"create"!=this.routineId&&(this.isEditing=!0),console.log("Is Editing: "+this.routineId+" should agree "+this.isEditing),this.searchableCategories.sort(),this.isStarTrainer=this.PermissionsService.starTrainerAccess;var n=this.AccountService.account.isMetric();this.showLoadingOverlay=!0;var i=new m.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});this.route.queryParams.subscribe(function(n){"true"==n.duplicate&&(t.isDuplicate=!0,t.isCreating=!0),(e=n.videoId)&&(console.log("Creating from Video"),t.createFromYoutube=!0,t.isCreating=!0,t.isEditing=!1),t.activityId=n.activityId,t.HRBased="hr"==n.based,t.PaceBased="pace"==n.based,t.create_hr_zones=n.create_hr_zones,console.log(t.create_hr_zones),t.ThemeService.isMobileEmbedded&&(t.isCreating=!0)});var r=Number(i.get("workoutType"));if(null!=r&&0!=r||(r=-1,console.log("Workout Type not set (web)")),9001!=r&&9002!=r||(r=1024,console.log("Workout is a custom OTHER type (iOS)")),this.durationDisplay=5,!this.isEditing||this.isCreating?(this.routineData=new a.a({routineDef:{custom:!0,segmentDef:[],triggers:[]}},n,"RoutineH",this),null==this.routineData.unitOfMeasure&&(this.routineData.unitOfMeasure="US"),console.log("Routine Units:"+this.routineData.unitOfMeasure)):!this.isEditing&&this.isCreating||(this.routineData=new a.a({routineDef:{custom:!0,segmentDef:[],triggers:[]}},n,"RoutineH",this),this.routineData.routineDef.segmentDef.push({intervalDef:[],repeats:1})),this.routineData.workoutType=r,this.workoutTypeChanged(r),"youtube/create"==this.route.snapshot.routeConfig.path){var o={};if(this.ThemeService.isMobileEmbedded){var s=new m.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});o.workoutType=s.get("workoutType")}this.router.navigate(["video_search"],{queryParams:o}),this.isCreating=!0,this.routineData.hasVideo=!0}var l=[];for(var c in this.availableWorkoutTypes)l.push([Number(c),this.availableWorkoutTypes[c]]);l.sort(function(e,t){return e[1].localeCompare(t[1])}),this.availableWorkoutTypes=l,this.routineService.routineUpdates().subscribe(function(e){}),this.PermissionsService.youtubeSearchAccess||this.isCreating||this.isEditing||(this.isCreating=!0),e?(this.isCreating=!0,this.routineData.hasVideo=!0,this.videoURLChange(e)):this.isCreating&&this.routineData.routineDef.segmentDef.push({intervalDef:[],repeats:1}),this.showLoadingOverlay=!1},e.prototype.toggleAutoEnd=function(){this.autoEnd=!this.autoEnd},e.prototype.toggleAutoRecovery=function(){this.autoRecovery=!this.autoRecovery,1==this.autoRecovery&&(this.autoEnd=!0),console.log(this.autoRecovery),console.log(this.autoEnd),this.cdRef.detectChanges()},e.prototype.videoURLChange=function(e){var t=this;if(e.includes("youtube")||e.includes("youtu.be")){var n=e.split("?v=")[1];null==n&&(n=e.split(".be/")[1]),this.routineData.fullVideoURL="https://youtube.com/watch?v="+n,this.routineData.videoDetails.videoType="youtube",this.routineData.hasVideo=!0,this.VideoService.getById(n).subscribe(function(e){var i=e.response.items[0].snippet,r=e.response.items[0].contentDetails.duration;t.routineData.videoDetails.id=n,t.routineData.videoDetails.description=i.description,t.routineData.videoDetails.name=i.title,t.routineData.description=i.description,t.routineData.name=i.title,t.routineData.videoDetails.authorId=i.channelId,t.routineData.videoDetails.author=i.channelTitle,t.routineData.videoDetails.thumbnailURL=i.thumbnails.default.url,t.routineData.videoDetails.videoType="youtube";var o={intervalDef:[{desc:"",duration:r,durationUnits:a.i,zoneRef:[{refMethod:1,type:a.d,zonePos:a.j}]}],notes:"",repeats:1};t.routineData.routineDef.segmentDef.push(o),t.addSegment(o)})}else this.routineData.videoDetails.videoType="direct_url",this.routineData.hasVideo=!0;this.parsingVideo=!1},e.prototype.ngAfterViewInit=function(){var e=this;console.log("ACTIVITY ID "+this.activityId),console.log("ROUTINE ID "+this.routineId),this.activityId?(this.isCreating=!0,this.showLoadingOverlay=!0,Object(f.a)([this.workoutService.getWorkoutDetail(this.activityId),this.routineService.createFromWorkout(this.activityId,this.create_hr_zones)]).subscribe(function(t){e.activityData=new c.a(t[0].response.workout,e.WorkoutTypes,e.translate.currentLang,e.ThemeService.isDarkTheme);var n=e.activityData.getDistance();!e.activityData.isIndoor&&n>1||(n=e.activityData.getElapsedSeconds(),e.hideTotal=!0,e.hideTotal=!0),e.routineData=new a.a(t[1].response.routine,e.AccountService.account.isMetric(),"RoutineH",e),e.chartOpts=e.routineData.plotChart(),e.routineData.ghostWorkout=e.activityData.workout_key,e.routineData.name=e.activityData.displayTitle,e.routineData.calcTotalDistance(),console.log("Calculated distance: "+e.routineData.totalDistance),e.addSegment(e.routineData.routineDef.segmentDef[0]),e.showLoadingOverlay=!1})):"create"!=this.routineId?(this.isEditing=!0,this.routineService.routineDetails(this.routineId).subscribe(function(t){t.response.error&&21106==t.response.error.code&&(e.wrongType=!0,e.wrongTypeMessage=e.translate.instant("ROOT.This routine can't be edited because it is a shared routine.")),e.routineData=new a.a(t.response,e.AccountService.account.isMetric(),"RoutineH",e),t.response.ghost&&(e.routineData.ghostDetail=new c.a(t.response.ghost.detail,e.WorkoutTypes,e.translate.currentLang,e.ThemeService.isDarkTheme),e.activityData=e.routineData.ghostDetail);for(var n=0;n<e.routineData.routineDef.segmentDef.length;n++)!e.AccountService.account.isMetric()||"US"!=e.routineData.unitOfMeasure&&null!=e.routineData.unitOfMeasure||(e.routineData.routineDef.segmentDef[n].intervalDef[n].durationDisplay=1.6*e.routineData.routineDef.segmentDef[n].intervalDef[n].durationDisplay,e.durationDisplay=e.routineData.routineDef.segmentDef[n].intervalDef[n].durationDisplay),e.addSegment(e.routineData.routineDef.segmentDef[n]);if(console.log(e.routineData.routineDef.triggers),e.routineData.routineDef.triggers)for(var i=0;i<e.routineData.routineDef.triggers.length;i++)"STRUCTURE_END"==e.routineData.routineDef.triggers[i].actionContent&&(e.autoEnd=!0),23==e.routineData.routineDef.triggers[i].eventType&&(2==e.routineData.routineDef.triggers[i].actionType&&(e.autoRecovery=!0),3==e.routineData.routineDef.triggers[i].actionType&&(e.autoEnd=!0))}),this.showLoadingOverlay=!1):this.createFromYoutube||(this.addSegment(this.routineData.routineDef.segmentDef[0]),console.log("Not YouTube."))},e.prototype.workoutTypeChanged=function(e){var t=this;console.log("Workout Type Changed"),this.ZoneService.getZonesetsByActivityType(e).subscribe(function(n){t.routineService.WorkoutTypeChanged(e),t.WorkoutTypes.getWorkoutType(e).supportsBikeSpeed?(t.routineData.speedBased=!0,t.routineData.updateSpeedZoneset(n.speed)):(t.routineData.speedBased=!1,t.routineData.updatePaceZoneset(n.pace))})},e.prototype.addSegment=function(e){var t=this.componentFactoryResolver.resolveComponentFactory(Le),n=this.segmentInsert.createComponent(t),i=n.instance;e||this.routineData.routineDef.segmentDef.push({intervalDef:[],repeats:1}),i.routineData=this.routineData,i.segmentIndex=++this.segmentIndexKey,i.parentRef=this,this.segmentReferences.push(n)},e.prototype.removeSegment=function(e){var t=this.segmentReferences.filter(function(t){return t.instance.segmentIndex==e})[0],n=this.segmentInsert.indexOf(t.hostView);this.segmentInsert.remove(n),this.segmentReferences.splice(e,1),t.destroy(),this.segmentIndexKey=--this.segmentIndexKey,this.routineData.routineDef.segmentDef.splice(e,1),this.resetIndexes()},e.prototype.resetIndexes=function(){for(var e=0;e<this.segmentReferences.length;e++){this.segmentReferences[e].instance.segmentIndex=e;for(var t=0;t<this.segmentReferences[e].instance.intervalReferences.length;t++)this.segmentReferences[e].instance.intervalReferences[t].instance.segmentIndex=e}},e.prototype.navigateBack=function(){this.router.navigate(this.activityId?["/activity",this.activityId,"detail"]:this.routineData.id?["/myroutines",this.routineData.id,"detail"]:["/myroutines"])},e.prototype.saveRoutine=function(){var e=this;this.errorMsg="",this.createStarted=!0,""!=this.routineData.name&&this.routineData.name||(this.errorMsg="Missing Title"),console.log(this.routineData.categories),console.log(this.routineData.workoutType),this.routineData.workoutType||(this.errorMsg+="<br>Missing Activity Type"),0==this.routineData.routineDef.segmentDef.length&&(this.errorMsg+="<br>Structured Workout must have at least 1 series");var t=JSON.parse(JSON.stringify(this.routineData.routineDef.segmentDef[0].intervalDef));if(1==t[0].durationUnits&&null==t[0].duration&&(this.errorMsg+="<br>Structured Workout must have a time component"),2==t[0].durationUnits&&null==t[0].estTime&&(this.errorMsg+="<br>Structured Workout must have a distance component"),!this.errorMsg){var n="A",i="WEB"+(new Date).getTime();this.isDuplicate?(n="A",this.routineData.tempId=i,this.routineData.id=null,this.routineData.routineDef.id=null,this.routineData.routineDef.custom=!0):this.isEditing?(n="U",this.routineData.routineDef.custom=!0):this.routineData.tempId=i;var r=!1;if(this.newTriggers=[],this.routineData.routineDef.triggers)for(var a=0;a<this.routineData.routineDef.triggers.length;a++)23==this.routineData.routineDef.triggers[a].eventType?(r=!0,1==this.autoRecovery?this.newTriggers.push({eventType:23,actionType:2}):1==this.autoEnd&&this.newTriggers.push({eventType:23,actionType:3})):this.newTriggers.push(this.routineData.routineDef.triggers[a]);0==r&&(1==this.autoRecovery?this.newTriggers.push({eventType:23,actionType:2}):1==this.autoEnd&&this.newTriggers.push({eventType:23,actionType:3})),console.log(this.newTriggers),this.routineData.triggers=this.newTriggers,console.log(this.routineData.triggers),this.routineService.uploadRoutine(this.routineData.toUploadDict(n)).subscribe(function(t){e.activityId&&(e.routineService.attachGhostRoutine(e.activityId,t.response.routines[0].id).subscribe(function(e){}),e.createStarted=!1),e.router.navigate(["/myroutines",t.response.routines[0].id,"detail"],{queryParams:{imageCache:!1}})})}},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](o.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](u.a),i["\u0275\u0275directiveInject"](a.b),i["\u0275\u0275directiveInject"](b.d),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](d.b),i["\u0275\u0275directiveInject"](l.B),i["\u0275\u0275directiveInject"](y.a),i["\u0275\u0275directiveInject"](h.a),i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](i.ComponentFactoryResolver),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](x.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-create-routine"]],viewQuery:function(e,t){var n;1&e&&i["\u0275\u0275viewQuery"](T,1,i.ViewContainerRef),2&e&&i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.segmentInsert=n.first)},decls:5,vars:5,consts:[["class","loading-overlay",4,"ngIf"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],["class","sectionStructure",4,"ngIf"],["style","text-align: center;",4,"ngIf"],[1,"loading-overlay"],[1,"main-menu-section-heading"],[3,"click"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[3,"hidden"],["mat-stroked-button","","style","float:right; margin-top:-4px;margin-right:10px;",3,"click",4,"ngIf"],["mat-stroked-button","",2,"float","right","margin-top","-4px","margin-right","10px",3,"click"],[1,"material-icons",2,"color","#3FAE48"],[1,"sectionStructure"],["class","routineCreateQuestion",4,"ngIf"],["id","manualActivityEntry","name","manualRoutineEntry",3,"hidden"],[1,"manualActivityEntryContainer"],["id","entry"],["class","manualEntryTable",4,"ngIf"],[1,"form-inline","errorSaveBlock"],["style","color:red; margin:0px 0px 40px 0px;",3,"innerHTML",4,"ngIf"],[1,"",2,"margin","auto","text-align","center"],[1,"spinnerDiv"],["class","spinner float-right",3,"diameter",4,"ngIf"],["type","submit",2,"min-width","212px",3,"ngClass","disabled","click"],[1,"routineCreateQuestion"],["mat-button","",1,"create-button",3,"click"],[1,"manualEntryTable"],[4,"ngIf"],["colspan","2"],["appearance","fill",1,"fullwidth"],["matInput","","type","text","required","",3,"ngModel","ngModelOptions","ngModelChange"],["matInput","","matTextareaAutosize","","matAutosizeMinRows","2","matAutosizeMaxRows","5",3,"ngModel","ngModelOptions","ngModelChange"],["multiple","",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],[2,"float","right","width","100%","margin-top","40px"],[1,"youtube-video-thumbnail",3,"src"],["class","showVideoDetail text-link",3,"click",4,"ngIf"],["style","margin-bottom:30px;",4,"ngIf"],["class","routine-small-hr-chart",4,"ngIf"],["mat-stroked-button","","class","view-activity-btn",3,"click",4,"ngIf"],[2,"margin","20px 0px"],["src","/static/img/icons/squareDurationIcon.png",1,"routine-time-distance-icon",2,"margin-left","10px"],["class","distance-duration",4,"ngIf"],["mat-button","","style","float:right;",3,"click",4,"ngIf"],[1,"series-add-container"],["segments",""],[1,"themed-clear-button",2,"padding-top","0px",3,"click"],[1,"material-icons",2,"color","#3FAE48","margin-left","45px","margin-top","4px","float","left"],[2,"padding-top","6px","float","left","margin-left","15px"],["style","","class","routine-checkbox",4,"ngIf"],["class","routine-checkbox",4,"ngIf"],["name","activitytype","required","",3,"value","valueChange","selectionChange"],[3,"value"],[1,"search-selection"],[3,"value","valueChange"],["colspan","2",2,"padding-bottom","20px"],["required","",2,"background-color","transparent",3,"ngModel","ngModelOptions","ngModelChange"],["style","color: red",4,"ngIf"],[2,"color","red"],[1,"showVideoDetail","text-link",3,"click"],[2,"margin-bottom","30px"],["class","videoDetails fullwidth",4,"ngIf"],["style","float: right;margin-top: 15px;",3,"diameter",4,"ngIf"],[1,"videoDetails","fullwidth"],["matInput","","type","text",3,"ngModel","ngModelOptions","ngModelChange","input"],["videoURL",""],[2,"float","right","margin-top","15px",3,"diameter"],["matInput","","type","text",3,"ngModel","ngModelOptions","ngModelChange"],[1,"videoDetails"],["class","videoDetails videoDescription",4,"ngIf"],["class","more-less-button",3,"click",4,"ngIf"],["class","videoDetails",4,"ngIf"],["target","_blank",3,"href"],[1,"videoDetails","videoDescription"],[1,"more-less-button",3,"click"],[1,"routine-small-hr-chart"],[1,"routineGraph",2,"float","right","width","320px","height","240px",3,"Highcharts","options","oneToOne"],["mat-stroked-button","",1,"view-activity-btn",3,"click"],["src","/static/img/icons/squareDistanceIcon.png",1,"routine-time-distance-icon"],[1,"distance-duration"],["style","float:left;",4,"ngIf"],[2,"float","left"],["mat-button","",2,"float","right",3,"click"],[1,"routine-checkbox"],["matInput","","type","text","color","primary","class","float-right",3,"ngModel","ngModelOptions","ngModelChange",4,"ngIf"],["matInput","","type","text","color","primary",1,"float-right",3,"ngModel","ngModelOptions","ngModelChange"],[2,"color","red","margin","0px 0px 40px 0px",3,"innerHTML"],[1,"spinner","float-right",3,"diameter"],[2,"text-align","center"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,D,1,0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,R,12,9,"div",2),i["\u0275\u0275template"](3,_e,14,12,"div",3),i["\u0275\u0275template"](4,we,2,1,"div",4),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngIf",t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.wrongType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.wrongType))},directives:[_.NgIf,_.NgClass,w.b,S.z,S.p,S.q,C.c,C.g,k.b,S.c,S.w,S.o,S.r,k.d,O.a,_.NgForOf,E.o,M.c,I.a,P.a],pipes:[x.c,l.Q,_.DecimalPipe,l.G],styles:["h4[_ngcontent-%COMP%]{margin-top:5px}.routineCreateQuestion[_ngcontent-%COMP%]{display:flex;align-items:center;flex-direction:column}.create-button[_ngcontent-%COMP%]{margin:15px}.series-add[_ngcontent-%COMP%]{border:1px solid;min-width:25%;margin:20px 0}.series-add-container[_ngcontent-%COMP%]{clear:both;text-align:center;margin:80px 0 40px}.fullwidth[_ngcontent-%COMP%]{width:100%;font-size:16px}.videoDetails[_ngcontent-%COMP%]{margin-top:10px}.manualActivityEntryContainer[_ngcontent-%COMP%]{width:100%}.manualEntryTable[_ngcontent-%COMP%]{width:100%;margin-top:30px}.showVideoDetail[_ngcontent-%COMP%]{float:left;margin-left:0;margin-top:10px}.showStructuredDetail[_ngcontent-%COMP%]{float:left;margin-left:10px;cursor:pointer;color:#4597cb}.routine-time-distance-icon[_ngcontent-%COMP%]{float:left;margin-right:10px;width:20px}.saveButton[_ngcontent-%COMP%]{max-width:320px;margin:auto;height:38px;border-radius:18px}.errorSaveBlock[_ngcontent-%COMP%]{padding-top:20px;margin-bottom:30px}.distance-duration[_ngcontent-%COMP%]{margin-top:0;float:left}.view-activity-btn[_ngcontent-%COMP%]{margin:10px 0}.youtube-video-thumbnail[_ngcontent-%COMP%]{width:200px;margin-top:-90px;float:right;clear:none}.videoDescription[_ngcontent-%COMP%]{max-height:100px;overflow:hidden;text-overflow:ellipsis}.interval-container[_ngcontent-%COMP%]{border:1px dashed #b2b2b2;border-radius:10px;display:flex;flex-direction:column;padding:10px;margin:20px}.more-less-button[_ngcontent-%COMP%]{padding:10px;width:60px;float:right}.interval-title[_ngcontent-%COMP%]{float:left;width:100%;margin-top:10px}.routine-checkbox[_ngcontent-%COMP%]{width:280px;margin:auto;clear:both;padding:10px 0;font-size:16px}.spinnerDiv[_ngcontent-%COMP%]{width:20px;height:20px;position:relative;top:30px;left:225px;margin-top:5px}.spinner[_ngcontent-%COMP%]{float:right}@media (max-width:520px){.youtube-video-thumbnail[_ngcontent-%COMP%]{width:100%;margin-top:0;margin-bottom:20px}.showVideoDetail[_ngcontent-%COMP%]{clear:both}.interval-container[_ngcontent-%COMP%]{padding:0;margin:0}.interval-notes[_ngcontent-%COMP%]{width:100%}.manualEntryTable[_ngcontent-%COMP%]{font-size:22px}}"]}),e}(),Le=function(){function e(e,t,n){this.viewContainerRef=e,this.WorkoutTypes=t,this.componentFactoryResolver=n,this.intervalReferences=Array(),this.intervalIndexKey=-1}return e.prototype.ngOnInit=function(){},e.prototype.ngAfterViewInit=function(){if(0==this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef.length)this.addInterval();else for(var e=0;e<this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef.length;e++)this.addInterval()},e.prototype.addInterval=function(){if(this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef.length-1>this.intervalIndexKey);else{var e=a.f,t=!1;try{t=this.WorkoutTypes.getAllWorkoutTypes()[this.routineData.workoutType].supportsGPS}catch(o){}t||4==this.routineData.workoutType||(e=a.i),this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef.push({durationUnits:e,zoneRef:[{refMethod:1,type:a.d,zonePos:a.j}]})}var n=this.componentFactoryResolver.resolveComponentFactory(Re),i=this.intervalInsert.createComponent(n),r=i.instance;r.routineData=this.routineData,r.segmentIndex=this.segmentIndex,r.intervalIndex=++this.intervalIndexKey,r.parentRef=this,this.intervalReferences.push(i)},e.prototype.removeSegment=function(){this.parentRef.removeSegment(this.segmentIndex)},e.prototype.removeInterval=function(e){var t=this.intervalReferences.filter(function(t){return t.instance.intervalIndex==e})[0],n=this.intervalInsert.indexOf(t.hostView);this.intervalInsert.remove(n),this.intervalReferences.splice(e,1),t.destroy(),this.intervalIndexKey=--this.intervalIndexKey,this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef.splice(e,1);for(var i=0;i<this.intervalReferences.length;i++)this.intervalReferences[i].instance.intervalIndex=i},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ViewContainerRef),i["\u0275\u0275directiveInject"](o.a),i["\u0275\u0275directiveInject"](i.ComponentFactoryResolver))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-routine-segment"]],viewQuery:function(e,t){var n;1&e&&i["\u0275\u0275viewQuery"](Se,1,i.ViewContainerRef),2&e&&i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.intervalInsert=n.first)},inputs:{routineData:"routineData",segmentIndex:"segmentIndex",parentRef:"parentRef"},decls:29,vars:17,consts:[[1,"routineSegmentWrap"],[1,"routineSegmentHeader"],[2,"float","left","color","#4597CB"],[2,"float","right"],["mat-button","",2,"float","right","margin-left","10px",3,"click"],[1,"material-icons",2,"color","#EE3123"],[1,"routineSegmentRepeats"],[2,"font-size","14px"],["matInput","","type","number",3,"ngModel","input","ngModelChange"],[1,"routineSegmentNotes"],[2,"width","100%"],["matInput","",2,"width","100%",3,"ngModel","ngModelOptions","ngModelChange"],["intervals",""],[1,"routineSegmentAddInterval"],[1,"themed-clear-button",2,"padding-top","0px",3,"click"],[1,"material-icons",2,"color","#3FAE48","margin-left","45px","margin-top","4px","float","left"],[2,"padding-top","6px","float","left","margin-left","15px"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"h4",2),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",3),i["\u0275\u0275elementStart"](6,"button",4),i["\u0275\u0275listener"]("click",function(){return t.removeSegment()}),i["\u0275\u0275elementStart"](7,"span",5),i["\u0275\u0275text"](8,"remove_circle"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"mat-form-field",6),i["\u0275\u0275elementStart"](10,"mat-label",7),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"input",8),i["\u0275\u0275listener"]("input",function(){return t.routineData.calcTotalDistance()})("ngModelChange",function(e){return t.routineData.routineDef.segmentDef[t.segmentIndex].repeats=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",9),i["\u0275\u0275elementStart"](15,"mat-form-field",10),i["\u0275\u0275elementStart"](16,"mat-label"),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"textarea",11),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.routineData.routineDef.segmentDef[t.segmentIndex].notes=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](20,Ce,0,0,"ng-template",null,12,i["\u0275\u0275templateRefExtractor"]),i["\u0275\u0275elementStart"](22,"div",13),i["\u0275\u0275elementStart"](23,"button",14),i["\u0275\u0275listener"]("click",function(){return t.addInterval()}),i["\u0275\u0275elementStart"](24,"span",15),i["\u0275\u0275text"](25,"add_circle"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"span",16),i["\u0275\u0275text"](27),i["\u0275\u0275pipe"](28,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](4,8,"ROOT.Series")," ",t.segmentIndex+1,""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](12,10,"ROOT.Repeats")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",t.routineData.routineDef.segmentDef[t.segmentIndex].repeats),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](18,12,"ROOT.Series Notes")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",t.routineData.routineDef.segmentDef[t.segmentIndex].notes)("ngModelOptions",i["\u0275\u0275pureFunction0"](16,V)),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](28,14,"ROOT.Interval")))},directives:[w.b,C.c,C.g,k.b,S.t,S.c,S.o,S.r],pipes:[x.c],styles:[".routineSegmentWrap[_ngcontent-%COMP%]{border-bottom:1px solid #4597cb;padding:0;margin:0 0 10px;font-size:16px}.routineSegmentHeader[_ngcontent-%COMP%]{width:100%;border-top:10px solid #4597cb}.routineSegmentRepeats[_ngcontent-%COMP%]{width:60px;margin-left:20px;margin-top:15px;float:right}.routineSegmentAddInterval[_ngcontent-%COMP%]{width:100%;text-align:center;margin:20px 0}.routineSegmentNotes[_ngcontent-%COMP%]{padding-top:20px;width:100%}"]}),e}(),Re=function(){function e(e,t,n){this.AccountService=e,this.WorkoutTypes=t,this.routineService=n,this.hours=0,this.minutes=0,this.seconds=0,this.distance=0,this.autoEnd=!1,this.durationUnits=[[a.i,"Time"],[a.f,"Distance"]],this.zoneTypes=[[a.h,"Pace"],[a.d,"BPM"]],this.zones=[[a.g,"Open Zone"],[a.e,"Below Easy"],[a.j,"Zone 1 - Easy"],[a.l,"Zone 2 - Endurance"],[a.n,"Zone 3 - Stamina"],[a.k,"Zone 4 - Economy"],[a.m,"Zone 5 - Speed"],[a.c,"Above Speed"]]}return e.prototype.onDurationChange=function(){var e;if(console.log("On Duration Change"),this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef[this.intervalIndex].durationUnits==a.i){var t=0;this.hours>0&&(t=3600*this.hours),e=this.seconds+60*this.minutes+t}else console.log("this.routineData.unitOfMeasure"),console.log(this.routineData.unitOfMeasure),!this.AccountService.account.isMetric()||"US"!=this.routineData.unitOfMeasure&&null!=this.routineData.unitOfMeasure?(e=this.durationDisplay,this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef[this.intervalIndex].durationDisplay=this.durationDisplay.toFixed(2)):(e=Object(l.c)(this.durationDisplay),this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef[this.intervalIndex].durationDisplay||(this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef[this.intervalIndex].durationDisplay=e.toFixed(2)),console.log("US based routine but Metric Account"));this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef[this.intervalIndex].duration=e,console.log("Calc'd: "+e),console.log("Display'd: "+this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef[this.intervalIndex].durationDisplay),console.log("New Display: "+this.durationDisplay)},e.prototype.ngOnInit=function(){var e=this;this.routineService.workoutTypeChangedObs().subscribe(function(t){e.setDurationUnits()}),this.setDurationUnits()},e.prototype.setDurationUnits=function(){var e,t=a.f,n=!1;try{n=this.WorkoutTypes.getAllWorkoutTypes()[this.routineData.workoutType].supportsGPS}catch(o){}if(n)this.durationUnits=[[a.i,"Time"],[a.f,"Distance"]];else try{4==this.routineData.workoutType||(this.durationUnits=[[a.i,"Time"]],t=a.i)}catch(o){}try{t=this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef[this.intervalIndex].durationUnits}catch(o){}if(t==a.i){var i=this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef[this.intervalIndex].duration;null==i&&(i=0);var r=Object(l.gb)(i).split(":");3==r.length?(this.hours=Number(r[0]),this.minutes=Number(r[1]),this.seconds=Number(r[2])):(this.hours=0,this.minutes=Number(r[0]),this.seconds=Number(r[1]))}else this.durationDisplay=this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef[this.intervalIndex].durationDisplay,this.AccountService.account.isMetric()&&(e=Number(Object(l.P)(this.routineData.routineDef.segmentDef[this.segmentIndex].intervalDef[this.intervalIndex].durationDisplay)).toFixed(2),this.durationDisplay=e)},e.prototype.removeInterval=function(){this.parentRef.removeInterval(this.intervalIndex)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](u.a),i["\u0275\u0275directiveInject"](o.a),i["\u0275\u0275directiveInject"](a.b))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-routine-interval"]],inputs:{routineData:"routineData",segmentIndex:"segmentIndex",intervalIndex:"intervalIndex",parentRef:"parentRef"},decls:8,vars:7,consts:[[1,"routineIntervalWrap"],["class","interval-container",4,"ngIf"],[1,"interval-title",2,"float","left","width","100%","margin-top","10px","clear","both"],["appearance","outline",1,"interval-inputs"],["matInput","",3,"ngModel","ngModelOptions","ngModelChange"],[1,"interval-container"],[2,"display","flex","justify-content","space-between"],["mat-button","",3,"click"],[1,"material-icons",2,"color","#EE3123"],[1,"interval-inputs",2,"padding-top","15px"],["name","activitytype","required","",2,"background-color","transparent",3,"value","valueChange"],[3,"value",4,"ngFor","ngForOf"],["class","interval-inputs interval-metric-input",4,"ngIf"],["style","padding-top: 15px;",4,"ngIf"],["name","activitytype","required","",2,"background-color","transparent",3,"value","valueChange","selectionChange"],[3,"value"],[1,"interval-inputs","interval-metric-input"],[2,"max-width","80px","padding-top","15px","padding-left","10px"],["matInput","","type","number",3,"ngModel","ngModelChange","change"],[2,"max-width","80px","padding-top","15px"],[2,"padding-top","15px"],[4,"ngIf"],["matInput","","type","number","required","",3,"ngModel","change","ngModelChange"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275template"](1,Te,22,16,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"mat-form-field",3),i["\u0275\u0275elementStart"](4,"mat-label"),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"textarea",4),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.routineData.routineDef.segmentDef[t.segmentIndex].intervalDef[t.intervalIndex].desc=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.routineData),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,4,"ROOT.Interval Notes")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",t.routineData.routineDef.segmentDef[t.segmentIndex].intervalDef[t.intervalIndex].desc)("ngModelOptions",i["\u0275\u0275pureFunction0"](6,V)))},directives:[_.NgIf,C.c,C.g,k.b,S.c,S.o,S.r,w.b,O.a,_.NgForOf,E.o,S.t,S.w],pipes:[x.c],styles:[".routineIntervalWrap[_ngcontent-%COMP%]{clear:both;background-color:rgba(226,227,228,.05);float:left;width:100%;margin-bottom:10px;border-radius:20px;padding:10px}"]}),e}()},"0tRk":function(e,t,n){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_ter\xe7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xe1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xe1b".split("_"),weekdaysMin:"do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xe0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xe0s] HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",invalidDate:"Data inv\xe1lida"})}(n("wd/R"))},"16b9":function(e,t,n){"use strict";n.d(t,"c",function(){return l}),n.d(t,"d",function(){return c}),n.d(t,"a",function(){return d}),n.d(t,"b",function(){return u});var i=n("uJc7"),r=(n("yi8o"),n("wd/R")),a=n("fXoL"),o=n("tk/3"),s=n("b6Qw"),l={STEPS:"STEPS",BLOODPRESSURE:"BP",WEIGHT:"WT"},c=[{nameKey:"Great",value:4},{nameKey:"Ok",value:3},{nameKey:"Average",value:2},{nameKey:"Poor",value:1},{nameKey:"Very_Poor",value:0}],d=function(){function e(e,t,n){this.http=e,this.cookieService=t,this.AccountService=n,this._listHealthDataUrl=this.AccountService.getPy3Host()+"/api/v2/health/get_health_entries",this._uploadHealthDataUrl=this.AccountService.getPy3Host()+"/api/v2/health/upload_by_timestamp",this._getOldestDateUrl=this.AccountService.getPy3Host()+"/api/v2/health/get_oldest_health_entry",this._getHealthDetailsUrl=this.AccountService.getPy3Host()+"/api/v2/health/get_health_details",this._getLastHealthEntry=this.AccountService.getPy3Host()+"/api/v2/health/get_last_health_entry",this._getFirstHealthEntry=this.AccountService.getPy3Host()+"/api/v2/health/get_first_health_entry"}return Object.defineProperty(e.prototype,"sleepQualities",{get:function(){return[{nameKey:"Great",value:4},{nameKey:"Ok",value:3},{nameKey:"Average",value:2},{nameKey:"Poor",value:1},{nameKey:"Very_Poor",value:0}]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bpColors",{get:function(){return["#03A89E","#3FAE48","#FCB424","#F16124","#EE3123","#901607"]},enumerable:!1,configurable:!0}),e.prototype.getDiastolicHealthLevel=function(e){return e?e<25?0:e<80?1:e<90?3:e>=90&&e<=120?4:5:-1},e.prototype.getSystolicHealthLevel=function(e){return e?e<120?1:e>=120&&e<130?2:e>=130&&e<140?3:e>=140&&e<180?4:5:-1},e.prototype.getBloodPressure=function(e,t){return this.http.post(this._listHealthDataUrl,{params:{startDate:e,endDate:t,healthType:"BP"}})},e.prototype.getLastHealthEntry=function(e){return this.http.post(this._getLastHealthEntry,{params:{healthType:e}})},e.prototype.getFirstHealthEntry=function(e){return this.http.post(this._getFirstHealthEntry,{params:{healthType:e}})},e.prototype.getHealthDetails=function(){return this.http.post(this._getHealthDetailsUrl,{})},e.prototype.getSteps=function(e,t,n){var i=new Date(Date.UTC(e.year(),e.month(),e.date(),0,0,0)),r=new Date(Date.UTC(t.year(),t.month(),t.date(),23,59,59));return this.http.post(this._listHealthDataUrl,{params:{startDate:i,endDate:r,source:n,sortOrder:1,healthType:"STEPS"}})},e.prototype.getHealthData=function(e,t,n,i){return this.http.post(this._listHealthDataUrl,{params:{startDate:e,endDate:t,source:i,sortOrder:1,healthType:n}})},e.prototype.getOldestDate=function(){return this.http.post(this._getOldestDateUrl,{})},e.prototype.uploadHealthObj=function(e){return this.http.post(this._uploadHealthDataUrl,{healthItems:[e]})},e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275inject"](o.b),a["\u0275\u0275inject"](s.a),a["\u0275\u0275inject"](i.a))},e.\u0275prov=a["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),u=function(){return function(e){this.comments=e.comments;var t=r(e.date).toDate();this.date=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),this.dateRaw=e.date,this.dateObj=t,this.id=e.id,this.measures=e.measures,this.source=e.source,this.type=e.type}}()},"1G5W":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("zx2A");function l(e){return function(t){return t.lift(new c(e))}}var c=function(){function e(t){Object(a.a)(this,e),this.notifier=t}return Object(o.a)(e,[{key:"call",value:function(e,t){var n=new d(e),i=Object(s.c)(this.notifier,new s.a(n));return i&&!n.seenValue?(n.add(i),t.subscribe(n)):n}}]),e}(),d=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e){var i;return Object(a.a)(this,n),(i=t.call(this,e)).seenValue=!1,i}return Object(o.a)(n,[{key:"notifyNext",value:function(){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(s.b)},"1IWC":function(e,t,n){var i,r,a;!function(o){if("object"==typeof e.exports){var s=o(0,t);void 0!==s&&(e.exports=s)}else r=[n,t],void 0===(a="function"==typeof(i=o)?i.apply(t,r):i)||(e.exports=a)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["it",[["m.","p."],["AM","PM"],n],n,[["D","L","M","M","G","V","S"],["dom","lun","mar","mer","gio","ven","sab"],["domenica","luned\xec","marted\xec","mercoled\xec","gioved\xec","venerd\xec","sabato"],["dom","lun","mar","mer","gio","ven","sab"]],n,[["G","F","M","A","M","G","L","A","S","O","N","D"],["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]],n,[["aC","dC"],["a.C.","d.C."],["avanti Cristo","dopo Cristo"]],1,[6,0],["dd/MM/yy","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,"{1} {0}",n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{BRL:[n,"R$"],BYN:[n,"Br"],EGP:[n,"\xa3E"],HKD:[n,"$"],JPY:[n,"\xa5"],KRW:[n,"\u20a9"],MXN:[n,"$"],NOK:[n,"NKr"],THB:["\u0e3f"],TWD:[n,"NT$"],USD:[n,"$"]},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}]})},"1OyB":function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,"a",function(){return i})},"1jcm":function(e,t,n){"use strict";n.d(t,"a",function(){return k}),n.d(t,"b",function(){return E});var i=n("Ji7U"),r=n("LK+K"),a=n("vuIU"),o=n("1OyB"),s=n("GU7r"),l=n("fXoL"),c=n("FKr1"),d=n("8LU1"),u=n("3Pt+"),p=n("R1ws"),h=n("u47x"),m=["thumbContainer"],g=["toggleBar"],f=["input"],v=function(){return{enterDuration:150}},y=["*"],b=new l.InjectionToken("mat-slide-toggle-default-options",{providedIn:"root",factory:function(){return{disableToggleValue:!1}}}),x=0,_={provide:u.m,useExisting:Object(l.forwardRef)(function(){return k}),multi:!0},w=Object(a.a)(function e(t,n){Object(o.a)(this,e),this.source=t,this.checked=n}),S=Object(a.a)(function e(t){Object(o.a)(this,e),this._elementRef=t}),C=Object(c.D)(Object(c.y)(Object(c.z)(Object(c.A)(S)),"accent")),k=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r,a,s,c){var d;return Object(o.a)(this,n),(d=t.call(this,e))._focusMonitor=i,d._changeDetectorRef=r,d.defaults=s,d._animationMode=c,d._onChange=function(e){},d._onTouched=function(){},d._uniqueId="mat-slide-toggle-".concat(++x),d._required=!1,d._checked=!1,d.name=null,d.id=d._uniqueId,d.labelPosition="after",d.ariaLabel=null,d.ariaLabelledby=null,d.change=new l.EventEmitter,d.toggleChange=new l.EventEmitter,d.tabIndex=parseInt(a)||0,d}return Object(a.a)(n,[{key:"required",get:function(){return this._required},set:function(e){this._required=Object(d.c)(e)}},{key:"checked",get:function(){return this._checked},set:function(e){this._checked=Object(d.c)(e),this._changeDetectorRef.markForCheck()}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"ngAfterContentInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){"keyboard"===t||"program"===t?e._inputElement.nativeElement.focus():t||Promise.resolve().then(function(){return e._onTouched()})})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"_onChangeEvent",value:function(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}},{key:"_onInputClick",value:function(e){e.stopPropagation()}},{key:"writeValue",value:function(e){this.checked=!!e}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck()}},{key:"focus",value:function(e,t){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}},{key:"toggle",value:function(){this.checked=!this.checked,this._onChange(this.checked)}},{key:"_emitChangeEvent",value:function(){this._onChange(this.checked),this.change.emit(new w(this,this.checked))}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](l.ElementRef),l["\u0275\u0275directiveInject"](h.h),l["\u0275\u0275directiveInject"](l.ChangeDetectorRef),l["\u0275\u0275injectAttribute"]("tabindex"),l["\u0275\u0275directiveInject"](b),l["\u0275\u0275directiveInject"](p.a,8))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-slide-toggle"]],viewQuery:function(e,t){var n;1&e&&(l["\u0275\u0275viewQuery"](m,1),l["\u0275\u0275viewQuery"](g,1),l["\u0275\u0275viewQuery"](f,1)),2&e&&(l["\u0275\u0275queryRefresh"](n=l["\u0275\u0275loadQuery"]())&&(t._thumbEl=n.first),l["\u0275\u0275queryRefresh"](n=l["\u0275\u0275loadQuery"]())&&(t._thumbBarEl=n.first),l["\u0275\u0275queryRefresh"](n=l["\u0275\u0275loadQuery"]())&&(t._inputElement=n.first))},hostAttrs:[1,"mat-slide-toggle"],hostVars:12,hostBindings:function(e,t){2&e&&(l["\u0275\u0275hostProperty"]("id",t.id),l["\u0275\u0275attribute"]("tabindex",t.disabled?null:-1)("aria-label",null)("aria-labelledby",null),l["\u0275\u0275classProp"]("mat-checked",t.checked)("mat-disabled",t.disabled)("mat-slide-toggle-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[l["\u0275\u0275ProvidersFeature"]([_]),l["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:y,decls:16,vars:18,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,t){if(1&e&&(l["\u0275\u0275projectionDef"](),l["\u0275\u0275elementStart"](0,"label",0,1),l["\u0275\u0275elementStart"](2,"div",2,3),l["\u0275\u0275elementStart"](4,"input",4,5),l["\u0275\u0275listener"]("change",function(e){return t._onChangeEvent(e)})("click",function(e){return t._onInputClick(e)}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](6,"div",6,7),l["\u0275\u0275element"](8,"div",8),l["\u0275\u0275elementStart"](9,"div",9),l["\u0275\u0275element"](10,"div",10),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](11,"span",11,12),l["\u0275\u0275listener"]("cdkObserveContent",function(){return t._onLabelTextChange()}),l["\u0275\u0275elementStart"](13,"span",13),l["\u0275\u0275text"](14,"\xa0"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275projection"](15),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275reference"](1),i=l["\u0275\u0275reference"](12);l["\u0275\u0275attribute"]("for",t.inputId),l["\u0275\u0275advance"](2),l["\u0275\u0275classProp"]("mat-slide-toggle-bar-no-side-margin",!i.textContent||!i.textContent.trim()),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("id",t.inputId)("required",t.required)("tabIndex",t.tabIndex)("checked",t.checked)("disabled",t.disabled),l["\u0275\u0275attribute"]("name",t.name)("aria-checked",t.checked.toString())("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby),l["\u0275\u0275advance"](5),l["\u0275\u0275property"]("matRippleTrigger",n)("matRippleDisabled",t.disableRipple||t.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",l["\u0275\u0275pureFunction0"](17,v))}},directives:[c.t,s.a],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),e}(),O=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=l["\u0275\u0275defineInjector"]({}),e}(),E=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=l["\u0275\u0275defineInjector"]({imports:[[O,c.u,c.j,s.c],O,c.j]}),e}()},"1kSV":function(e,t,n){"use strict";n.d(t,"a",function(){return je}),n.d(t,"b",function(){return Oe}),n("ReuC"),n("foSv"),n("Ji7U"),n("LK+K");var i=n("uFwe"),r=n("ODXe"),a=n("vuIU"),o=n("1OyB"),s=n("fXoL"),l=n("ofXK"),c=n("HDdC"),d=n("EY2u"),u=n("LRne"),p=n("XNiG"),h=n("xgIS"),m=n("PqYM"),g=n("Nv8m"),f=(n("2Vo4"),n("itXk"),n("5yfJ"),n("1uah")),v=n("VRyK"),y=n("GyhO"),b=n("1G5W"),x=n("pLZG"),_=n("IzEk"),w=n("lJxs"),S=(n("JX91"),n("/uUt"),n("eIep")),C=n("vkgz"),k=n("zp1y"),O=n("3E0/"),E=n("5+tZ"),M=(n("zP0r"),n("w1tV")),I=n("3Pt+"),P=["*"],T=["dialog"];function D(e,t){if(1&e&&s["\u0275\u0275text"](0),2&e){var n=s["\u0275\u0275nextContext"](2);s["\u0275\u0275textInterpolate"](n.title)}}function L(e,t){}function R(e,t){if(1&e&&(s["\u0275\u0275elementStart"](0,"h3",3),s["\u0275\u0275template"](1,D,1,1,"ng-template",null,4,s["\u0275\u0275templateRefExtractor"]),s["\u0275\u0275template"](3,L,0,0,"ng-template",5),s["\u0275\u0275elementEnd"]()),2&e){var n=s["\u0275\u0275reference"](2),i=s["\u0275\u0275nextContext"]();s["\u0275\u0275advance"](3),s["\u0275\u0275property"]("ngTemplateOutlet",i.isTitleTemplate()?i.title:n)("ngTemplateOutletContext",i.context)}}function j(e){return null!=e}function A(e){return(e||document.body).getBoundingClientRect()}"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});var F=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e),this.animation=!0});return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(s["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}(),B=function(){},z=new Map,N=function(e,t,n,i){var r=i.context||{},a=z.get(t);if(a)switch(i.runningTransition){case"continue":return d.a;case"stop":e.run(function(){return a.transition$.complete()}),r=Object.assign(a.context,r),z.delete(t)}var o=n(t,i.animation,r)||B;if(!i.animation||"none"===window.getComputedStyle(t).transitionProperty)return e.run(function(){return o()}),Object(u.a)(void 0).pipe(function(e){return function(t){return new c.a(function(n){return t.subscribe(function(t){return e.run(function(){return n.next(t)})},function(t){return e.run(function(){return n.error(t)})},function(){return e.run(function(){return n.complete()})})})}}(e));var s=new p.a,l=new p.a,f=s.pipe(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return Object(y.a)(e,u.a.apply(void 0,t))}}(!0));z.set(t,{transition$:s,complete:function(){l.next(),l.complete()},context:r});var v=function(e){var t=window.getComputedStyle(e),n=t.transitionDuration;return 1e3*(parseFloat(t.transitionDelay)+parseFloat(n))}(t);return e.runOutsideAngular(function(){var n=Object(h.a)(t,"transitionend").pipe(Object(b.a)(f),Object(x.a)(function(e){return e.target===t})),i=Object(m.a)(v+5).pipe(Object(b.a)(f));Object(g.a)(i,n,l).pipe(Object(b.a)(f)).subscribe(function(){z.delete(t),e.run(function(){o(),s.next(),s.complete()})})}),s.asObservable()},H=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.CommonModule]]}),e}(),V=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.CommonModule]]}),e}(),Y=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({}),e}(),W=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.CommonModule]]}),e}(),G=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({}),e}(),U=function(e){return e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.Space=32]="Space",e[e.PageUp=33]="PageUp",e[e.PageDown=34]="PageDown",e[e.End=35]="End",e[e.Home=36]="Home",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowUp=38]="ArrowUp",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowDown=40]="ArrowDown",e}({}),q=function(e,t){return!!t&&t.some(function(t){return t.contains(e)})},Z=function(e,t){return!t||null!=function(e,t){return t?void 0===e.closest?null:e.closest(t):null}(e,t)},$="undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));var X=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function K(e){var t=Array.from(e.querySelectorAll(X)).filter(function(e){return-1!==e.tabIndex});return[t[0],t[t.length-1]]}var J=/\s+/,Q=new(function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,[{key:"getAllStyles",value:function(e){return window.getComputedStyle(e)}},{key:"getStyle",value:function(e,t){return this.getAllStyles(e)[t]}},{key:"isStaticPositioned",value:function(e){return"static"===(this.getStyle(e,"position")||"static")}},{key:"offsetParent",value:function(e){for(var t=e.offsetParent||document.documentElement;t&&t!==document.documentElement&&this.isStaticPositioned(t);)t=t.offsetParent;return t||document.documentElement}},{key:"position",value:function(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(e,"position"))t={top:(t=e.getBoundingClientRect()).top,bottom:t.bottom,left:t.left,right:t.right,height:t.height,width:t.width};else{var r=this.offsetParent(e);t=this.offset(e,!1),r!==document.documentElement&&(i=this.offset(r,!1)),i.top+=r.clientTop,i.left+=r.clientLeft}return t.top-=i.top,t.bottom-=i.top,t.left-=i.left,t.right-=i.left,n&&(t.top=Math.round(t.top),t.bottom=Math.round(t.bottom),t.left=Math.round(t.left),t.right=Math.round(t.right)),t}},{key:"offset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.getBoundingClientRect(),i={top:window.pageYOffset-document.documentElement.clientTop,left:window.pageXOffset-document.documentElement.clientLeft},r={height:n.height||e.offsetHeight,width:n.width||e.offsetWidth,top:n.top+i.top,bottom:n.bottom+i.top,left:n.left+i.left,right:n.right+i.left};return t&&(r.height=Math.round(r.height),r.width=Math.round(r.width),r.top=Math.round(r.top),r.bottom=Math.round(r.bottom),r.left=Math.round(r.left),r.right=Math.round(r.right)),r}},{key:"positionElements",value:function(e,t,n,i){var a=n.split("-"),o=Object(r.a)(a,2),s=o[0],l=void 0===s?"top":s,c=o[1],d=void 0===c?"center":c,u=i?this.offset(e,!1):this.position(e,!1),p=this.getAllStyles(t),h=parseFloat(p.marginTop),m=parseFloat(p.marginBottom),g=parseFloat(p.marginLeft),f=parseFloat(p.marginRight),v=0,y=0;switch(l){case"top":v=u.top-(t.offsetHeight+h+m);break;case"bottom":v=u.top+u.height;break;case"left":y=u.left-(t.offsetWidth+g+f);break;case"right":y=u.left+u.width}switch(d){case"top":v=u.top;break;case"bottom":v=u.top+u.height-t.offsetHeight;break;case"left":y=u.left;break;case"right":y=u.left+u.width-t.offsetWidth;break;case"center":"top"===l||"bottom"===l?y=u.left+u.width/2-t.offsetWidth/2:v=u.top+u.height/2-t.offsetHeight/2}t.style.transform="translate(".concat(Math.round(y),"px, ").concat(Math.round(v),"px)");var b=t.getBoundingClientRect(),x=document.documentElement,_=window.innerHeight||x.clientHeight,w=window.innerWidth||x.clientWidth;return b.left>=0&&b.top>=0&&b.right<=w&&b.bottom<=_}}]),e}());new Date(1882,10,12),new Date(2174,10,25);var ee=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.CommonModule,I.j]]}),e}(),te=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({}),e}(),ne=function(){var e=function(){function e(t){Object(o.a)(this,e),this._ngbConfig=t,this.backdrop=!0,this.keyboard=!0}return Object(a.a)(e,[{key:"animation",get:function(){return void 0===this._animation?this._ngbConfig.animation:this._animation},set:function(e){this._animation=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275inject"](F))},e.\u0275prov=Object(s["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(s["\u0275\u0275inject"])(F))},token:e,providedIn:"root"}),e}(),ie=Object(a.a)(function e(t,n,i){Object(o.a)(this,e),this.nodes=t,this.viewRef=n,this.componentRef=i}),re=function(){function e(t,n,i,r,a,s,l){Object(o.a)(this,e),this._type=t,this._injector=n,this._viewContainerRef=i,this._renderer=r,this._ngZone=a,this._componentFactoryResolver=s,this._applicationRef=l,this._windowRef=null,this._contentRef=null}return Object(a.a)(e,[{key:"open",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this._windowRef||(this._contentRef=this._getContentRef(e,t),this._windowRef=this._viewContainerRef.createComponent(this._componentFactoryResolver.resolveComponentFactory(this._type),this._viewContainerRef.length,this._injector,this._contentRef.nodes));var r=this._windowRef.location.nativeElement,a=this._ngZone.onStable.pipe(Object(_.a)(1),Object(E.a)(function(){return N(n._ngZone,r,function(e){return e.classList.add("show")},{animation:i,runningTransition:"continue"})}));return{windowRef:this._windowRef,transition$:a}}},{key:"close",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._windowRef?N(this._ngZone,this._windowRef.location.nativeElement,function(e){return e.classList.remove("show")},{animation:t,runningTransition:"stop"}).pipe(Object(C.a)(function(){var t;e._windowRef&&(e._viewContainerRef.remove(e._viewContainerRef.indexOf(e._windowRef.hostView)),e._windowRef=null),(null===(t=e._contentRef)||void 0===t?void 0:t.viewRef)&&(e._applicationRef.detachView(e._contentRef.viewRef),e._contentRef.viewRef.destroy(),e._contentRef=null)})):Object(u.a)(void 0)}},{key:"_getContentRef",value:function(e,t){if(e){if(e instanceof s.TemplateRef){var n=e.createEmbeddedView(t);return this._applicationRef.attachView(n),new ie([n.rootNodes],n)}return new ie([[this._renderer.createText("".concat(e))]])}return new ie([])}}]),e}(),ae=function(){},oe=function(){var e=function(){function e(t){Object(o.a)(this,e),this._document=t}return Object(a.a)(e,[{key:"compensate",value:function(){var e=this._getWidth();return this._isPresent(e)?this._adjustBody(e):ae}},{key:"_adjustBody",value:function(e){var t=this._document.body,n=t.style.paddingRight,i=parseFloat(window.getComputedStyle(t)["padding-right"]);return t.style["padding-right"]="".concat(i+e,"px"),function(){return t.style["padding-right"]=n}}},{key:"_isPresent",value:function(e){var t=this._document.body.getBoundingClientRect();return window.innerWidth-(t.left+t.right)>=e-.1*e}},{key:"_getWidth",value:function(){var e=this._document.createElement("div");e.className="modal-scrollbar-measure";var t=this._document.body;t.appendChild(e);var n=e.getBoundingClientRect().width-e.clientWidth;return t.removeChild(e),n}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275inject"](l.DOCUMENT))},e.\u0275prov=Object(s["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(s["\u0275\u0275inject"])(l.DOCUMENT))},token:e,providedIn:"root"}),e}(),se=function(){var e=function(){function e(t,n){Object(o.a)(this,e),this._el=t,this._zone=n}return Object(a.a)(e,[{key:"ngOnInit",value:function(){var e=this;this._zone.onStable.asObservable().pipe(Object(_.a)(1)).subscribe(function(){N(e._zone,e._el.nativeElement,function(e,t){t&&A(e),e.classList.add("show")},{animation:e.animation,runningTransition:"continue"})})}},{key:"hide",value:function(){return N(this._zone,this._el.nativeElement,function(e){return e.classList.remove("show")},{animation:this.animation,runningTransition:"stop"})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](s.NgZone))},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:6,hostBindings:function(e,t){2&e&&(s["\u0275\u0275classMap"]("modal-backdrop"+(t.backdropClass?" "+t.backdropClass:"")),s["\u0275\u0275classProp"]("show",!t.animation)("fade",t.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),e}(),le=function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,[{key:"close",value:function(e){}},{key:"dismiss",value:function(e){}}]),e}(),ce=function(){function e(t,n,i,r){var a=this;Object(o.a)(this,e),this._windowCmptRef=t,this._contentRef=n,this._backdropCmptRef=i,this._beforeDismiss=r,this._closed=new p.a,this._dismissed=new p.a,this._hidden=new p.a,t.instance.dismissEvent.subscribe(function(e){a.dismiss(e)}),this.result=new Promise(function(e,t){a._resolve=e,a._reject=t}),this.result.then(null,function(){})}return Object(a.a)(e,[{key:"componentInstance",get:function(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}},{key:"closed",get:function(){return this._closed.asObservable().pipe(Object(b.a)(this._hidden))}},{key:"dismissed",get:function(){return this._dismissed.asObservable().pipe(Object(b.a)(this._hidden))}},{key:"hidden",get:function(){return this._hidden.asObservable()}},{key:"shown",get:function(){return this._windowCmptRef.instance.shown.asObservable()}},{key:"close",value:function(e){this._windowCmptRef&&(this._closed.next(e),this._resolve(e),this._removeModalElements())}},{key:"_dismiss",value:function(e){this._dismissed.next(e),this._reject(e),this._removeModalElements()}},{key:"dismiss",value:function(e){var t=this;if(this._windowCmptRef)if(this._beforeDismiss){var n=this._beforeDismiss();n&&n.then?n.then(function(n){!1!==n&&t._dismiss(e)},function(){}):!1!==n&&this._dismiss(e)}else this._dismiss(e)}},{key:"_removeModalElements",value:function(){var e=this,t=this._windowCmptRef.instance.hide(),n=this._backdropCmptRef?this._backdropCmptRef.instance.hide():Object(u.a)(void 0);t.subscribe(function(){var t=e._windowCmptRef.location.nativeElement;t.parentNode.removeChild(t),e._windowCmptRef.destroy(),e._contentRef&&e._contentRef.viewRef&&e._contentRef.viewRef.destroy(),e._windowCmptRef=null,e._contentRef=null}),n.subscribe(function(){if(e._backdropCmptRef){var t=e._backdropCmptRef.location.nativeElement;t.parentNode.removeChild(t),e._backdropCmptRef.destroy(),e._backdropCmptRef=null}}),Object(f.a)(t,n).subscribe(function(){e._hidden.next(),e._hidden.complete()})}}]),e}(),de=function(e){return e[e.BACKDROP_CLICK=0]="BACKDROP_CLICK",e[e.ESC=1]="ESC",e}({}),ue=function(){var e=function(){function e(t,n,i){Object(o.a)(this,e),this._document=t,this._elRef=n,this._zone=i,this._closed$=new p.a,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new s.EventEmitter,this.shown=new p.a,this.hidden=new p.a}return Object(a.a)(e,[{key:"dismiss",value:function(e){this.dismissEvent.emit(e)}},{key:"ngOnInit",value:function(){var e=this;this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(Object(_.a)(1)).subscribe(function(){e._show()})}},{key:"ngOnDestroy",value:function(){this._disableEventHandling()}},{key:"hide",value:function(){var e=this,t=this._elRef.nativeElement,n={animation:this.animation,runningTransition:"stop"},i=N(this._zone,t,function(){return t.classList.remove("show")},n),r=N(this._zone,this._dialogEl.nativeElement,function(){},n),a=Object(f.a)(i,r);return a.subscribe(function(){e.hidden.next(),e.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),a}},{key:"_show",value:function(){var e=this,t={animation:this.animation,runningTransition:"continue"},n=N(this._zone,this._elRef.nativeElement,function(e,t){t&&A(e),e.classList.add("show")},t),i=N(this._zone,this._dialogEl.nativeElement,function(){},t);Object(f.a)(n,i).subscribe(function(){e.shown.next(),e.shown.complete()}),this._enableEventHandling(),this._setFocus()}},{key:"_enableEventHandling",value:function(){var e=this,t=this._elRef.nativeElement;this._zone.runOutsideAngular(function(){Object(h.a)(t,"keydown").pipe(Object(b.a)(e._closed$),Object(x.a)(function(e){return e.which===U.Escape})).subscribe(function(t){e.keyboard?requestAnimationFrame(function(){t.defaultPrevented||e._zone.run(function(){return e.dismiss(de.ESC)})}):"static"===e.backdrop&&e._bumpBackdrop()});var n=!1;Object(h.a)(e._dialogEl.nativeElement,"mousedown").pipe(Object(b.a)(e._closed$),Object(C.a)(function(){return n=!1}),Object(S.a)(function(){return Object(h.a)(t,"mouseup").pipe(Object(b.a)(e._closed$),Object(_.a)(1))}),Object(x.a)(function(e){return t===e.target})).subscribe(function(){n=!0}),Object(h.a)(t,"click").pipe(Object(b.a)(e._closed$)).subscribe(function(i){t===i.target&&("static"===e.backdrop?e._bumpBackdrop():!0!==e.backdrop||n||e._zone.run(function(){return e.dismiss(de.BACKDROP_CLICK)})),n=!1})})}},{key:"_disableEventHandling",value:function(){this._closed$.next()}},{key:"_setFocus",value:function(){var e=this._elRef.nativeElement;if(!e.contains(document.activeElement)){var t=e.querySelector("[ngbAutofocus]"),n=K(e)[0];(t||n||e).focus()}}},{key:"_restoreFocus",value:function(){var e,t=this,n=this._document.body,i=this._elWithFocus;e=i&&i.focus&&n.contains(i)?i:n,this._zone.runOutsideAngular(function(){setTimeout(function(){return e.focus()}),t._elWithFocus=null})}},{key:"_bumpBackdrop",value:function(){"static"===this.backdrop&&N(this._zone,this._elRef.nativeElement,function(e){var t=e.classList;return t.add("modal-static"),function(){return t.remove("modal-static")}},{animation:this.animation,runningTransition:"continue"})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](l.DOCUMENT),s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](s.NgZone))},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,selectors:[["ngb-modal-window"]],viewQuery:function(e,t){var n;1&e&&s["\u0275\u0275viewQuery"](T,3),2&e&&s["\u0275\u0275queryRefresh"](n=s["\u0275\u0275loadQuery"]())&&(t._dialogEl=n.first)},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(e,t){2&e&&(s["\u0275\u0275attribute"]("aria-modal",!0)("aria-labelledby",t.ariaLabelledBy)("aria-describedby",t.ariaDescribedBy),s["\u0275\u0275classMap"]("modal d-block"+(t.windowClass?" "+t.windowClass:"")),s["\u0275\u0275classProp"]("fade",t.animation))},inputs:{backdrop:"backdrop",keyboard:"keyboard",animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",centered:"centered",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:P,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(e,t){1&e&&(s["\u0275\u0275projectionDef"](),s["\u0275\u0275elementStart"](0,"div",0,1),s["\u0275\u0275elementStart"](2,"div",2),s["\u0275\u0275projection"](3),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementEnd"]()),2&e&&s["\u0275\u0275classMap"]("modal-dialog"+(t.size?" modal-"+t.size:"")+(t.centered?" modal-dialog-centered":"")+(t.scrollable?" modal-dialog-scrollable":"")+(t.modalDialogClass?" "+t.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}"],encapsulation:2}),e}(),pe=function(){var e=function(){function e(t,n,i,a,l,c){var d=this;Object(o.a)(this,e),this._applicationRef=t,this._injector=n,this._document=i,this._scrollBar=a,this._rendererFactory=l,this._ngZone=c,this._activeWindowCmptHasChanged=new p.a,this._ariaHiddenValues=new Map,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new s.EventEmitter,this._activeWindowCmptHasChanged.subscribe(function(){if(d._windowCmpts.length){var e=d._windowCmpts[d._windowCmpts.length-1];(function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.runOutsideAngular(function(){var e=Object(h.a)(t,"focusin").pipe(Object(b.a)(n),Object(w.a)(function(e){return e.target}));Object(h.a)(t,"keydown").pipe(Object(b.a)(n),Object(x.a)(function(e){return e.which===U.Tab}),Object(k.a)(e)).subscribe(function(e){var n=Object(r.a)(e,2),i=n[0],a=n[1],o=K(t),s=Object(r.a)(o,2),l=s[0],c=s[1];a!==l&&a!==t||!i.shiftKey||(c.focus(),i.preventDefault()),a!==c||i.shiftKey||(l.focus(),i.preventDefault())}),i&&Object(h.a)(t,"click").pipe(Object(b.a)(n),Object(k.a)(e),Object(w.a)(function(e){return e[1]})).subscribe(function(e){return e.focus()})})})(d._ngZone,e.location.nativeElement,d._activeWindowCmptHasChanged),d._revertAriaHidden(),d._setAriaHidden(e.location.nativeElement)}})}return Object(a.a)(e,[{key:"open",value:function(e,t,n,i){var r=this,a=i.container instanceof HTMLElement?i.container:j(i.container)?this._document.querySelector(i.container):this._document.body,o=this._rendererFactory.createRenderer(null,null),s=this._scrollBar.compensate(),l=function(){r._modalRefs.length||(o.removeClass(r._document.body,"modal-open"),r._revertAriaHidden())};if(!a)throw new Error('The specified modal container "'.concat(i.container||"body",'" was not found in the DOM.'));var c=new le,d=this._getContentRef(e,i.injector||t,n,c,i),u=!1!==i.backdrop?this._attachBackdrop(e,a):void 0,p=this._attachWindowComponent(e,a,d),h=new ce(p,d,u,i.beforeDismiss);return this._registerModalRef(h),this._registerWindowCmpt(p),h.result.then(s,s),h.result.then(l,l),c.close=function(e){h.close(e)},c.dismiss=function(e){h.dismiss(e)},this._applyWindowOptions(p.instance,i),1===this._modalRefs.length&&o.addClass(this._document.body,"modal-open"),u&&u.instance&&(this._applyBackdropOptions(u.instance,i),u.changeDetectorRef.detectChanges()),p.changeDetectorRef.detectChanges(),h}},{key:"activeInstances",get:function(){return this._activeInstances}},{key:"dismissAll",value:function(e){this._modalRefs.forEach(function(t){return t.dismiss(e)})}},{key:"hasOpenModals",value:function(){return this._modalRefs.length>0}},{key:"_attachBackdrop",value:function(e,t){var n=e.resolveComponentFactory(se).create(this._injector);return this._applicationRef.attachView(n.hostView),t.appendChild(n.location.nativeElement),n}},{key:"_attachWindowComponent",value:function(e,t,n){var i=e.resolveComponentFactory(ue).create(this._injector,n.nodes);return this._applicationRef.attachView(i.hostView),t.appendChild(i.location.nativeElement),i}},{key:"_applyWindowOptions",value:function(e,t){this._windowAttributes.forEach(function(n){j(t[n])&&(e[n]=t[n])})}},{key:"_applyBackdropOptions",value:function(e,t){this._backdropAttributes.forEach(function(n){j(t[n])&&(e[n]=t[n])})}},{key:"_getContentRef",value:function(e,t,n,i,r){return n?n instanceof s.TemplateRef?this._createFromTemplateRef(n,i):"string"==typeof n?this._createFromString(n):this._createFromComponent(e,t,n,i,r):new ie([])}},{key:"_createFromTemplateRef",value:function(e,t){var n=e.createEmbeddedView({$implicit:t,close:function(e){t.close(e)},dismiss:function(e){t.dismiss(e)}});return this._applicationRef.attachView(n),new ie([n.rootNodes],n)}},{key:"_createFromString",value:function(e){var t=this._document.createTextNode("".concat(e));return new ie([[t]])}},{key:"_createFromComponent",value:function(e,t,n,i,r){var a=e.resolveComponentFactory(n),o=s.Injector.create({providers:[{provide:le,useValue:i}],parent:t}),l=a.create(o),c=l.location.nativeElement;return r.scrollable&&c.classList.add("component-host-scrollable"),this._applicationRef.attachView(l.hostView),new ie([[c]],l.hostView,l)}},{key:"_setAriaHidden",value:function(e){var t=this,n=e.parentElement;n&&e!==this._document.body&&(Array.from(n.children).forEach(function(n){n!==e&&"SCRIPT"!==n.nodeName&&(t._ariaHiddenValues.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))}),this._setAriaHidden(n))}},{key:"_revertAriaHidden",value:function(){this._ariaHiddenValues.forEach(function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}},{key:"_registerModalRef",value:function(e){var t=this,n=function(){var n=t._modalRefs.indexOf(e);n>-1&&(t._modalRefs.splice(n,1),t._activeInstances.emit(t._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(n,n)}},{key:"_registerWindowCmpt",value:function(e){var t=this;this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy(function(){var n=t._windowCmpts.indexOf(e);n>-1&&(t._windowCmpts.splice(n,1),t._activeWindowCmptHasChanged.next())})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275inject"](s.ApplicationRef),s["\u0275\u0275inject"](s.Injector),s["\u0275\u0275inject"](l.DOCUMENT),s["\u0275\u0275inject"](oe),s["\u0275\u0275inject"](s.RendererFactory2),s["\u0275\u0275inject"](s.NgZone))},e.\u0275prov=Object(s["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(s["\u0275\u0275inject"])(s.ApplicationRef),Object(s["\u0275\u0275inject"])(s.INJECTOR),Object(s["\u0275\u0275inject"])(l.DOCUMENT),Object(s["\u0275\u0275inject"])(oe),Object(s["\u0275\u0275inject"])(s.RendererFactory2),Object(s["\u0275\u0275inject"])(s.NgZone))},token:e,providedIn:"root"}),e}(),he=function(){var e=function(){function e(t,n,i,r){Object(o.a)(this,e),this._moduleCFR=t,this._injector=n,this._modalStack=i,this._config=r}return Object(a.a)(e,[{key:"open",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign(Object.assign(Object.assign({},this._config),{animation:this._config.animation}),t);return this._modalStack.open(this._moduleCFR,this._injector,e,n)}},{key:"activeInstances",get:function(){return this._modalStack.activeInstances}},{key:"dismissAll",value:function(e){this._modalStack.dismissAll(e)}},{key:"hasOpenModals",value:function(){return this._modalStack.hasOpenModals()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275inject"](s.ComponentFactoryResolver),s["\u0275\u0275inject"](s.Injector),s["\u0275\u0275inject"](pe),s["\u0275\u0275inject"](ne))},e.\u0275prov=Object(s["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(s["\u0275\u0275inject"])(s.ComponentFactoryResolver),Object(s["\u0275\u0275inject"])(s.INJECTOR),Object(s["\u0275\u0275inject"])(pe),Object(s["\u0275\u0275inject"])(ne))},token:e,providedIn:"root"}),e}(),me=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({providers:[he]}),e}(),ge=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.CommonModule]]}),e}(),fe=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.CommonModule]]}),e}(),ve=function(){function e(t,n){Object(o.a)(this,e),this.open=t,this.close=n,n||(this.close=t)}return Object(a.a)(e,[{key:"isManual",value:function(){return"manual"===this.open||"manual"===this.close}}]),e}(),ye={hover:["mouseenter","mouseleave"],focus:["focusin","focusout"]};function be(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ye,n=(e||"").trim();if(0===n.length)return[];var i=n.split(/\s+/).map(function(e){return e.split(":")}).map(function(e){var n=t[e[0]]||e;return new ve(n[0],n[1])}),r=i.filter(function(e){return e.isManual()});if(r.length>1)throw"Triggers parse error: only one manual trigger is allowed";if(1===r.length&&i.length>1)throw"Triggers parse error: manual trigger can't be mixed with other triggers";return i}function xe(e,t,n,i){return new c.a(function(r){var a=[],o=function(){return r.next(!0)},s=function(){return r.next(!1)},l=function(){return r.next(!i())};return n.forEach(function(n){n.open===n.close?a.push(e.listen(t,n.open,l)):a.push(e.listen(t,n.open,o),e.listen(t,n.close,s))}),function(){a.forEach(function(e){return e()})}})}var _e=function(e){return e>0?Object(O.a)(e):function(e){return e}};function we(e,t,n){return function(i){var r=null,a=i.pipe(Object(w.a)(function(e){return{open:e}}),Object(x.a)(function(e){var t=n();return t===e.open||r&&r.open!==t?(r&&r.open!==e.open&&(r=null),!1):(r=e,!0)}),Object(M.a)()),o=a.pipe(Object(x.a)(function(e){return e.open}),_e(e)),s=a.pipe(Object(x.a)(function(e){return!e.open}),_e(t));return Object(v.a)(o,s).pipe(Object(x.a)(function(e){return e===r&&(r=null,e.open!==n())}),Object(w.a)(function(e){return e.open}))}}var Se=function(){var e=function(){function e(t){Object(o.a)(this,e),this._ngbConfig=t,this.autoClose=!0,this.placement="auto",this.triggers="click",this.disablePopover=!1,this.openDelay=0,this.closeDelay=0}return Object(a.a)(e,[{key:"animation",get:function(){return void 0===this._animation?this._ngbConfig.animation:this._animation},set:function(e){this._animation=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275inject"](F))},e.\u0275prov=Object(s["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(s["\u0275\u0275inject"])(F))},token:e,providedIn:"root"}),e}(),Ce=0,ke=function(){var e=function(){function e(){Object(o.a)(this,e)}return Object(a.a)(e,[{key:"isTitleTemplate",value:function(){return this.title instanceof s.TemplateRef}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,selectors:[["ngb-popover-window"]],hostAttrs:["role","tooltip"],hostVars:5,hostBindings:function(e,t){2&e&&(s["\u0275\u0275hostProperty"]("id",t.id),s["\u0275\u0275classMap"]("popover"+(t.popoverClass?" "+t.popoverClass:"")),s["\u0275\u0275classProp"]("fade",t.animation))},inputs:{animation:"animation",title:"title",id:"id",popoverClass:"popoverClass",context:"context"},ngContentSelectors:P,decls:4,vars:1,consts:[[1,"arrow"],["class","popover-header",4,"ngIf"],[1,"popover-body"],[1,"popover-header"],["simpleTitle",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(s["\u0275\u0275projectionDef"](),s["\u0275\u0275element"](0,"div",0),s["\u0275\u0275template"](1,R,4,2,"h3",1),s["\u0275\u0275elementStart"](2,"div",2),s["\u0275\u0275projection"](3),s["\u0275\u0275elementEnd"]()),2&e&&(s["\u0275\u0275advance"](1),s["\u0275\u0275property"]("ngIf",t.title))},directives:[l.NgIf,l.NgTemplateOutlet],styles:["ngb-popover-window.bs-popover-bottom>.arrow,ngb-popover-window.bs-popover-top>.arrow{left:50%;margin-left:-.5rem}ngb-popover-window.bs-popover-bottom-left>.arrow,ngb-popover-window.bs-popover-top-left>.arrow{left:2em}ngb-popover-window.bs-popover-bottom-right>.arrow,ngb-popover-window.bs-popover-top-right>.arrow{left:auto;right:2em}ngb-popover-window.bs-popover-left>.arrow,ngb-popover-window.bs-popover-right>.arrow{margin-top:-.5rem;top:50%}ngb-popover-window.bs-popover-left-top>.arrow,ngb-popover-window.bs-popover-right-top>.arrow{top:.7em}ngb-popover-window.bs-popover-left-bottom>.arrow,ngb-popover-window.bs-popover-right-bottom>.arrow{bottom:.7em;top:auto}"],encapsulation:2,changeDetection:0}),e}(),Oe=function(){var e=function(){function e(t,n,a,l,c,d,u,p,h,m){var g=this;Object(o.a)(this,e),this._elementRef=t,this._renderer=n,this._ngZone=u,this._document=p,this._changeDetector=h,this.shown=new s.EventEmitter,this.hidden=new s.EventEmitter,this._ngbPopoverWindowId="ngb-popover-".concat(Ce++),this._windowRef=null,this.animation=d.animation,this.autoClose=d.autoClose,this.placement=d.placement,this.triggers=d.triggers,this.container=d.container,this.disablePopover=d.disablePopover,this.popoverClass=d.popoverClass,this.openDelay=d.openDelay,this.closeDelay=d.closeDelay,this._popupService=new re(ke,a,c,n,this._ngZone,l,m),this._zoneSubscription=u.onStable.subscribe(function(){g._windowRef&&function(e,t,n,a,o){var s=Array.isArray(n)?n:n.split(J),l=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"],c=t.classList,d=function(e){var t=e.split("-"),n=Object(r.a)(t,2),i=n[0],a=n[1],s=[];return s.push("".concat(o,"-").concat(i)),a&&s.push("".concat(o,"-").concat(i,"-").concat(a)),s.forEach(function(e){c.add(e)}),s};l.forEach(function(e){c.remove("".concat(o,"-").concat(e))});var u=s.findIndex(function(e){return"auto"===e});u>=0&&l.forEach(function(e){null==s.find(function(t){return-1!==t.search("^"+e)})&&s.splice(u++,1,e)});var p=t.style;p.position="absolute",p.top="0",p.left="0",p["will-change"]="transform";var h,m=null,g=!1,f=Object(i.a)(s);try{for(f.s();!(h=f.n()).done;){var v=d(m=h.value);if(Q.positionElements(e,t,m,a)){g=!0;break}v.forEach(function(e){c.remove(e)})}}catch(y){f.e(y)}finally{f.f()}g||(d(m=s[0]),Q.positionElements(e,t,m,a))}(g._elementRef.nativeElement,g._windowRef.location.nativeElement,g.placement,"body"===g.container,"bs-popover")})}return Object(a.a)(e,[{key:"_isDisabled",value:function(){return!!this.disablePopover||!this.ngbPopover&&!this.popoverTitle}},{key:"open",value:function(e){var t=this;if(!this._windowRef&&!this._isDisabled()){var n=this._popupService.open(this.ngbPopover,e,this.animation),i=n.transition$;this._windowRef=n.windowRef,this._windowRef.instance.animation=this.animation,this._windowRef.instance.title=this.popoverTitle,this._windowRef.instance.context=e,this._windowRef.instance.popoverClass=this.popoverClass,this._windowRef.instance.id=this._ngbPopoverWindowId,this._renderer.setAttribute(this._elementRef.nativeElement,"aria-describedby",this._ngbPopoverWindowId),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._windowRef.changeDetectorRef.detectChanges(),this._windowRef.changeDetectorRef.markForCheck(),function(e,t,n,i,a,o,s,l){var c;n&&e.runOutsideAngular((c=function(){var c=Object(h.a)(t,"keydown").pipe(Object(b.a)(a),Object(x.a)(function(e){return e.which===U.Escape}),Object(C.a)(function(e){return e.preventDefault()})),d=Object(h.a)(t,"mousedown").pipe(Object(w.a)(function(e){var t=e.target;return 2!==e.button&&!q(t,s)&&("inside"===n?q(t,o)&&Z(t,l):"outside"===n?!q(t,o):Z(t,l)||!q(t,o))}),Object(b.a)(a)),u=Object(h.a)(t,"mouseup").pipe(Object(k.a)(d),Object(x.a)(function(e){return Object(r.a)(e,2)[1]}),Object(O.a)(0),Object(b.a)(a));Object(g.a)([c.pipe(Object(w.a)(function(e){return 0})),u.pipe(Object(w.a)(function(e){return 1}))]).subscribe(function(t){return e.run(function(){return i(t)})})},$?function(){return setTimeout(function(){return c()},100)}:c))}(this._ngZone,this._document,this.autoClose,function(){return t.close()},this.hidden,[this._windowRef.location.nativeElement]),i.subscribe(function(){return t.shown.emit()})}}},{key:"close",value:function(){var e=this;this._windowRef&&(this._renderer.removeAttribute(this._elementRef.nativeElement,"aria-describedby"),this._popupService.close(this.animation).subscribe(function(){e._windowRef=null,e.hidden.emit(),e._changeDetector.markForCheck()}))}},{key:"toggle",value:function(){this._windowRef?this.close():this.open()}},{key:"isOpen",value:function(){return null!=this._windowRef}},{key:"ngOnInit",value:function(){this._unregisterListenersFn=function(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,l=be(n);if(1===l.length&&l[0].isManual())return function(){};var c=xe(e,t,l,i).pipe(we(o,s,i)).subscribe(function(e){return e?r():a()});return function(){return c.unsubscribe()}}(this._renderer,this._elementRef.nativeElement,this.triggers,this.isOpen.bind(this),this.open.bind(this),this.close.bind(this),+this.openDelay,+this.closeDelay)}},{key:"ngOnChanges",value:function(e){var t=e.ngbPopover,n=e.popoverTitle,i=e.disablePopover,r=e.popoverClass;r&&this.isOpen()&&(this._windowRef.instance.popoverClass=r.currentValue),(t||n||i)&&this._isDisabled()&&this.close()}},{key:"ngOnDestroy",value:function(){this.close(),this._unregisterListenersFn&&this._unregisterListenersFn(),this._zoneSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](s.Renderer2),s["\u0275\u0275directiveInject"](s.Injector),s["\u0275\u0275directiveInject"](s.ComponentFactoryResolver),s["\u0275\u0275directiveInject"](s.ViewContainerRef),s["\u0275\u0275directiveInject"](Se),s["\u0275\u0275directiveInject"](s.NgZone),s["\u0275\u0275directiveInject"](l.DOCUMENT),s["\u0275\u0275directiveInject"](s.ChangeDetectorRef),s["\u0275\u0275directiveInject"](s.ApplicationRef))},e.\u0275dir=s["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngbPopover",""]],inputs:{animation:"animation",autoClose:"autoClose",placement:"placement",triggers:"triggers",container:"container",disablePopover:"disablePopover",popoverClass:"popoverClass",openDelay:"openDelay",closeDelay:"closeDelay",ngbPopover:"ngbPopover",popoverTitle:"popoverTitle"},outputs:{shown:"shown",hidden:"hidden"},exportAs:["ngbPopover"],features:[s["\u0275\u0275NgOnChangesFeature"]]}),e}(),Ee=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.CommonModule]]}),e}(),Me=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.CommonModule]]}),e}(),Ie=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.CommonModule]]}),e}(),Pe=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.CommonModule]]}),e}(),Te=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.CommonModule]]}),e}(),De=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({}),e}();new s.InjectionToken("live announcer delay",{providedIn:"root",factory:function(){return 100}});var Le=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.CommonModule]]}),e}(),Re=[H,V,Y,W,G,ee,te,me,ge,fe,Ee,Me,Ie,Pe,Te,De,Le],je=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[Re,H,V,Y,W,G,ee,te,me,ge,fe,Ee,Me,Ie,Pe,Te,De,Le]}),e}()},"1ppg":function(e,t,n){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"1rYy":function(e,t,n){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580\u056b_\u0583\u0565\u057f\u0580\u057e\u0561\u0580\u056b_\u0574\u0561\u0580\u057f\u056b_\u0561\u057a\u0580\u056b\u056c\u056b_\u0574\u0561\u0575\u056b\u057d\u056b_\u0570\u0578\u0582\u0576\u056b\u057d\u056b_\u0570\u0578\u0582\u056c\u056b\u057d\u056b_\u0585\u0563\u0578\u057d\u057f\u0578\u057d\u056b_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580\u056b_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580\u056b".split("_"),standalone:"\u0570\u0578\u0582\u0576\u057e\u0561\u0580_\u0583\u0565\u057f\u0580\u057e\u0561\u0580_\u0574\u0561\u0580\u057f_\u0561\u057a\u0580\u056b\u056c_\u0574\u0561\u0575\u056b\u057d_\u0570\u0578\u0582\u0576\u056b\u057d_\u0570\u0578\u0582\u056c\u056b\u057d_\u0585\u0563\u0578\u057d\u057f\u0578\u057d_\u057d\u0565\u057a\u057f\u0565\u0574\u0562\u0565\u0580_\u0570\u0578\u056f\u057f\u0565\u0574\u0562\u0565\u0580_\u0576\u0578\u0575\u0565\u0574\u0562\u0565\u0580_\u0564\u0565\u056f\u057f\u0565\u0574\u0562\u0565\u0580".split("_")},monthsShort:"\u0570\u0576\u057e_\u0583\u057f\u0580_\u0574\u0580\u057f_\u0561\u057a\u0580_\u0574\u0575\u057d_\u0570\u0576\u057d_\u0570\u056c\u057d_\u0585\u0563\u057d_\u057d\u057a\u057f_\u0570\u056f\u057f_\u0576\u0574\u0562_\u0564\u056f\u057f".split("_"),weekdays:"\u056f\u056b\u0580\u0561\u056f\u056b_\u0565\u0580\u056f\u0578\u0582\u0577\u0561\u0562\u0569\u056b_\u0565\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0579\u0578\u0580\u0565\u0584\u0577\u0561\u0562\u0569\u056b_\u0570\u056b\u0576\u0563\u0577\u0561\u0562\u0569\u056b_\u0578\u0582\u0580\u0562\u0561\u0569_\u0577\u0561\u0562\u0561\u0569".split("_"),weekdaysShort:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),weekdaysMin:"\u056f\u0580\u056f_\u0565\u0580\u056f_\u0565\u0580\u0584_\u0579\u0580\u0584_\u0570\u0576\u0563_\u0578\u0582\u0580\u0562_\u0577\u0562\u0569".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0569.",LLL:"D MMMM YYYY \u0569., HH:mm",LLLL:"dddd, D MMMM YYYY \u0569., HH:mm"},calendar:{sameDay:"[\u0561\u0575\u057d\u0585\u0580] LT",nextDay:"[\u057e\u0561\u0572\u0568] LT",lastDay:"[\u0565\u0580\u0565\u056f] LT",nextWeek:function(){return"dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},lastWeek:function(){return"[\u0561\u0576\u0581\u0561\u056e] dddd [\u0585\u0580\u0568 \u056a\u0561\u0574\u0568] LT"},sameElse:"L"},relativeTime:{future:"%s \u0570\u0565\u057f\u0578",past:"%s \u0561\u057c\u0561\u057b",s:"\u0574\u056b \u0584\u0561\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",ss:"%d \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576",m:"\u0580\u0578\u057a\u0565",mm:"%d \u0580\u0578\u057a\u0565",h:"\u056a\u0561\u0574",hh:"%d \u056a\u0561\u0574",d:"\u0585\u0580",dd:"%d \u0585\u0580",M:"\u0561\u0574\u056b\u057d",MM:"%d \u0561\u0574\u056b\u057d",y:"\u057f\u0561\u0580\u056b",yy:"%d \u057f\u0561\u0580\u056b"},meridiemParse:/\u0563\u056b\u0577\u0565\u0580\u057e\u0561|\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561|\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576/,isPM:function(e){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(e)},meridiem:function(e){return e<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":e<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":e<17?"\u0581\u0565\u0580\u0565\u056f\u057e\u0561":"\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(\u056b\u0576|\u0580\u0564)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-\u056b\u0576":e+"-\u0580\u0564";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},"1uah":function(e,t,n){"use strict";n.d(t,"a",function(){return p});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("yCtX"),l=n("DH7j"),c=n("7o/Q"),d=n("Lhse"),u=n("zx2A");function p(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t[t.length-1];return"function"==typeof i&&t.pop(),Object(s.a)(t,void 0).lift(new h(i))}var h=function(){function e(t){Object(a.a)(this,e),this.resultSelector=t}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new m(e,this.resultSelector))}}]),e}(),m=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i){var r;return arguments.length>2&&void 0!==arguments[2]||Object.create(null),Object(a.a)(this,n),(r=t.call(this,e)).resultSelector=i,r.iterators=[],r.active=0,r.resultSelector="function"==typeof i?i:void 0,r}return Object(o.a)(n,[{key:"_next",value:function(e){var t=this.iterators;Object(l.a)(e)?t.push(new f(e)):t.push("function"==typeof e[d.a]?new g(e[d.a]()):new v(this.destination,this,e))}},{key:"_complete",value:function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var n=0;n<t;n++){var i=e[n];i.stillUnsubscribed?this.destination.add(i.subscribe()):this.active--}}else this.destination.complete()}},{key:"notifyInactive",value:function(){this.active--,0===this.active&&this.destination.complete()}},{key:"checkIterators",value:function(){for(var e=this.iterators,t=e.length,n=this.destination,i=0;i<t;i++){var r=e[i];if("function"==typeof r.hasValue&&!r.hasValue())return}for(var a=!1,o=[],s=0;s<t;s++){var l=e[s],c=l.next();if(l.hasCompleted()&&(a=!0),c.done)return void n.complete();o.push(c.value)}this.resultSelector?this._tryresultSelector(o):n.next(o),a&&n.complete()}},{key:"_tryresultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(c.a),g=function(){function e(t){Object(a.a)(this,e),this.iterator=t,this.nextResult=t.next()}return Object(o.a)(e,[{key:"hasValue",value:function(){return!0}},{key:"next",value:function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e}},{key:"hasCompleted",value:function(){var e=this.nextResult;return Boolean(e&&e.done)}}]),e}(),f=function(){function e(t){Object(a.a)(this,e),this.array=t,this.index=0,this.length=0,this.length=t.length}return Object(o.a)(e,[{key:d.a,value:function(){return this}},{key:"next",value:function(e){var t=this.index++;return t<this.length?{value:this.array[t],done:!1}:{value:null,done:!0}}},{key:"hasValue",value:function(){return this.array.length>this.index}},{key:"hasCompleted",value:function(){return this.array.length===this.index}}]),e}(),v=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r){var o;return Object(a.a)(this,n),(o=t.call(this,e)).parent=i,o.observable=r,o.stillUnsubscribed=!0,o.buffer=[],o.isComplete=!1,o}return Object(o.a)(n,[{key:d.a,value:function(){return this}},{key:"next",value:function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}}},{key:"hasValue",value:function(){return this.buffer.length>0}},{key:"hasCompleted",value:function(){return 0===this.buffer.length&&this.isComplete}},{key:"notifyComplete",value:function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}},{key:"notifyNext",value:function(e){this.buffer.push(e),this.parent.checkIterators()}},{key:"subscribe",value:function(){return Object(u.c)(this.observable,new u.a(this))}}]),n}(u.b)},"1xZ4":function(e,t,n){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_mar\xe7_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de mar\xe7_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[dem\xe0 a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},"1zuJ":function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return r});var i=new(n("fXoL").InjectionToken)("window"),r=[{provide:i,useFactory:function(){return window}}]},"25BE":function(e,t,n){"use strict";function i(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}n.d(t,"a",function(){return i})},"2QA8":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){return"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()}()},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("1OyB"),r=n("vuIU"),a=n("ReuC"),o=n("foSv"),s=n("Ji7U"),l=n("LK+K"),c=n("XNiG"),d=n("9ppp"),u=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this))._value=e,r}return Object(r.a)(n,[{key:"value",get:function(){return this.getValue()}},{key:"_subscribe",value:function(e){var t=Object(a.a)(Object(o.a)(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new d.a;return this._value}},{key:"next",value:function(e){Object(a.a)(Object(o.a)(n.prototype),"next",this).call(this,this._value=e)}}]),n}(c.a)},"2WcH":function(e,t,n){"use strict";function i(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}n.d(t,"a",function(){return i})},"2Yyj":function(e,t,n){var i,r,a;!function(o){if("object"==typeof e.exports){var s=o(0,t);void 0!==s&&(e.exports=s)}else r=[n,t],void 0===(a="function"==typeof(i=o)?i.apply(t,r):i)||(e.exports=a)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["es",[["a.\xa0m.","p.\xa0m."],n,n],n,[["D","L","M","X","J","V","S"],["dom.","lun.","mar.","mi\xe9.","jue.","vie.","s\xe1b."],["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"],["DO","LU","MA","MI","JU","VI","SA"]],n,[["E","F","M","A","M","J","J","A","S","O","N","D"],["ene.","feb.","mar.","abr.","may.","jun.","jul.","ago.","sept.","oct.","nov.","dic."],["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]],n,[["a. C.","d. C."],n,["antes de Cristo","despu\xe9s de Cristo"]],1,[6,0],["d/M/yy","d MMM y","d 'de' MMMM 'de' y","EEEE, d 'de' MMMM 'de' y"],["H:mm","H:mm:ss","H:mm:ss z","H:mm:ss (zzzz)"],["{1} {0}",n,"{1}, {0}",n],[",",".",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{AUD:[n,"$"],BRL:[n,"R$"],CNY:[n,"\xa5"],EGP:[],ESP:["\u20a7"],GBP:[n,"\xa3"],HKD:[n,"$"],ILS:[n,"\u20aa"],INR:[n,"\u20b9"],JPY:[n,"\xa5"],KRW:[n,"\u20a9"],MXN:[n,"$"],NZD:[n,"$"],RON:[n,"L"],THB:["\u0e3f"],TWD:[n,"NT$"],USD:["US$","$"],XAF:[],XCD:[n,"$"],XOF:[]},"ltr",function(e){return 1===e?1:5}]})},"2fFW":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=!1,r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}}},"2fjn":function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n("wd/R"))},"2pl3":function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"2ykv":function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),i=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],r=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"\xe9\xe9n minuut",mm:"%d minuten",h:"\xe9\xe9n uur",hh:"%d uur",d:"\xe9\xe9n dag",dd:"%d dagen",M:"\xe9\xe9n maand",MM:"%d maanden",y:"\xe9\xe9n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},"3E0/":function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("D0XW");function l(e){return e instanceof Date&&!isNaN(+e)}var c=n("7o/Q"),d=n("WMd4");function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.a,n=l(e),i=n?+e-t.now():Math.abs(e);return function(e){return e.lift(new p(i,t))}}var p=function(){function e(t,n){Object(a.a)(this,e),this.delay=t,this.scheduler=n}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new h(e,this.delay,this.scheduler))}}]),e}(),h=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r){var o;return Object(a.a)(this,n),(o=t.call(this,e)).delay=i,o.scheduler=r,o.queue=[],o.active=!1,o.errored=!1,o}return Object(o.a)(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new m(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(d.a.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(d.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,i=e.scheduler,r=e.destination;n.length>0&&n[0].time-i.now()<=0;)n.shift().notification.observe(r);if(n.length>0){var a=Math.max(0,n[0].time-i.now());this.schedule(e,a)}else this.unsubscribe(),t.active=!1}}]),n}(c.a),m=Object(o.a)(function e(t,n){Object(a.a)(this,e),this.time=t,this.notification=n})},"3E1r":function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},i=[/^\u091c\u0928/i,/^\u092b\u093c\u0930|\u092b\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924\u0902|\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935|\u0928\u0935\u0902/i,/^\u0926\u093f\u0938\u0902|\u0926\u093f\u0938/i];e.defineLocale("hi",{months:{format:"\u091c\u0928\u0935\u0930\u0940_\u092b\u093c\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u092e\u094d\u092c\u0930_\u0926\u093f\u0938\u092e\u094d\u092c\u0930".split("_"),standalone:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0930\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948\u0932_\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0938\u094d\u0924_\u0938\u093f\u0924\u0902\u092c\u0930_\u0905\u0915\u094d\u091f\u0942\u092c\u0930_\u0928\u0935\u0902\u092c\u0930_\u0926\u093f\u0938\u0902\u092c\u0930".split("_")},monthsShort:"\u091c\u0928._\u092b\u093c\u0930._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u0948._\u092e\u0908_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0905\u0917._\u0938\u093f\u0924._\u0905\u0915\u094d\u091f\u0942._\u0928\u0935._\u0926\u093f\u0938.".split("_"),weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0932\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0932_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u092c\u091c\u0947",LTS:"A h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A h:mm \u092c\u091c\u0947"},monthsParse:i,longMonthsParse:i,shortMonthsParse:[/^\u091c\u0928/i,/^\u092b\u093c\u0930/i,/^\u092e\u093e\u0930\u094d\u091a/i,/^\u0905\u092a\u094d\u0930\u0948/i,/^\u092e\u0908/i,/^\u091c\u0942\u0928/i,/^\u091c\u0941\u0932/i,/^\u0905\u0917/i,/^\u0938\u093f\u0924/i,/^\u0905\u0915\u094d\u091f\u0942/i,/^\u0928\u0935/i,/^\u0926\u093f\u0938/i],monthsRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsShortRegex:/^(\u091c\u0928\u0935\u0930\u0940|\u091c\u0928\.?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908|\u091c\u0941\u0932\.?|\u0905\u0917\u0938\u094d\u0924|\u0905\u0917\.?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930|\u0928\u0935\.?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930|\u0926\u093f\u0938\.?)/i,monthsStrictRegex:/^(\u091c\u0928\u0935\u0930\u0940?|\u092b\u093c\u0930\u0935\u0930\u0940|\u092b\u0930\u0935\u0930\u0940?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\u0932?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\u093e\u0908?|\u0905\u0917\u0938\u094d\u0924?|\u0938\u093f\u0924\u092e\u094d\u092c\u0930|\u0938\u093f\u0924\u0902\u092c\u0930|\u0938\u093f\u0924?\.?|\u0905\u0915\u094d\u091f\u0942\u092c\u0930|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\u092e\u094d\u092c\u0930|\u0928\u0935\u0902\u092c\u0930?|\u0926\u093f\u0938\u092e\u094d\u092c\u0930|\u0926\u093f\u0938\u0902\u092c\u0930?)/i,monthsShortStrictRegex:/^(\u091c\u0928\.?|\u092b\u093c\u0930\.?|\u092e\u093e\u0930\u094d\u091a?|\u0905\u092a\u094d\u0930\u0948\.?|\u092e\u0908?|\u091c\u0942\u0928?|\u091c\u0941\u0932\.?|\u0905\u0917\.?|\u0938\u093f\u0924\.?|\u0905\u0915\u094d\u091f\u0942\.?|\u0928\u0935\.?|\u0926\u093f\u0938\.?)/i,calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0915\u0932] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u0932] LT",lastWeek:"[\u092a\u093f\u091b\u0932\u0947] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u092e\u0947\u0902",past:"%s \u092a\u0939\u0932\u0947",s:"\u0915\u0941\u091b \u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0902\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u091f",mm:"%d \u092e\u093f\u0928\u091f",h:"\u090f\u0915 \u0918\u0902\u091f\u093e",hh:"%d \u0918\u0902\u091f\u0947",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u0940\u0928\u0947",MM:"%d \u092e\u0939\u0940\u0928\u0947",y:"\u090f\u0915 \u0935\u0930\u094d\u0937",yy:"%d \u0935\u0930\u094d\u0937"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924"===t?e<4?e:e+12:"\u0938\u0941\u092c\u0939"===t?e:"\u0926\u094b\u092a\u0939\u0930"===t?e>=10?e:e+12:"\u0936\u093e\u092e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924":e<10?"\u0938\u0941\u092c\u0939":e<17?"\u0926\u094b\u092a\u0939\u0930":e<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(n("wd/R"))},"3N8a":function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("1OyB"),r=n("vuIU"),a=n("Ji7U"),o=n("LK+K"),s=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,r){var a;return Object(i.a)(this,n),(a=t.call(this,e,r)).scheduler=e,a.work=r,a.pending=!1,a}return Object(r.a)(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,i=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(i,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(i,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,i=void 0;try{this.work(e)}catch(r){n=!0,i=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),i}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,i=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==i&&n.splice(i,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,r){return Object(i.a)(this,n),t.call(this)}return Object(r.a)(n,[{key:"schedule",value:function(e){return this}}]),n}(n("quSY").a))},"3Pt+":function(e,t,n){"use strict";n.d(t,"a",function(){return $e}),n.d(t,"b",function(){return W}),n.d(t,"c",function(){return b}),n.d(t,"d",function(){return at}),n.d(t,"e",function(){return ye}),n.d(t,"f",function(){return Le}),n.d(t,"g",function(){return Fe}),n.d(t,"h",function(){return be}),n.d(t,"i",function(){return je}),n.d(t,"j",function(){return nt}),n.d(t,"k",function(){return Je}),n.d(t,"l",function(){return w}),n.d(t,"m",function(){return f}),n.d(t,"n",function(){return U}),n.d(t,"o",function(){return Z}),n.d(t,"p",function(){return $}),n.d(t,"q",function(){return Se}),n.d(t,"r",function(){return Oe}),n.d(t,"s",function(){return He}),n.d(t,"t",function(){return Ie}),n.d(t,"u",function(){return et}),n.d(t,"v",function(){return it}),n.d(t,"w",function(){return Ze}),n.d(t,"x",function(){return Ne}),n.d(t,"y",function(){return k}),n.d(t,"z",function(){return Ee}),n.d(t,"A",function(){return Ge});var i=n("JX7q"),r=n("uFwe"),a=n("KQm4"),o=n("Ji7U"),s=n("LK+K"),l=n("vuIU"),c=n("1OyB"),d=n("fXoL"),u=n("ofXK"),p=n("Cfvw"),h=n("cp0P"),m=n("lJxs"),g=Object(l.a)(function e(){Object(c.a)(this,e)}),f=new d.InjectionToken("NgValueAccessor"),v={provide:f,useExisting:Object(d.forwardRef)(function(){return b}),multi:!0},y=new d.InjectionToken("CompositionEventMode"),b=function(){var e=function(){function e(t,n,i){var r;Object(c.a)(this,e),this._renderer=t,this._elementRef=n,this._compositionMode=i,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(r=Object(u["\u0275getDOM"])()?Object(u["\u0275getDOM"])().getUserAgent():"",!/android (\d+)/.test(r.toLowerCase())))}return Object(l.a)(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.Renderer2),d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](y,8))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&d["\u0275\u0275listener"]("input",function(e){return t._handleInput(e.target.value)})("blur",function(){return t.onTouched()})("compositionstart",function(){return t._compositionStart()})("compositionend",function(e){return t._compositionEnd(e.target.value)})},features:[d["\u0275\u0275ProvidersFeature"]([v])]}),e}();function x(e){return null==e||0===e.length}function _(e){return null!=e&&"number"==typeof e.length}var w=new d.InjectionToken("NgValidators"),S=new d.InjectionToken("NgAsyncValidators"),C=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,k=function(){function e(){Object(c.a)(this,e)}return Object(l.a)(e,null,[{key:"min",value:function(e){return t=e,function(e){if(x(e.value)||x(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n<t?{min:{min:t,actual:e.value}}:null};var t}},{key:"max",value:function(e){return t=e,function(e){if(x(e.value)||x(t))return null;var n=parseFloat(e.value);return!isNaN(n)&&n>t?{max:{max:t,actual:e.value}}:null};var t}},{key:"required",value:function(e){return O(e)}},{key:"requiredTrue",value:function(e){return E(e)}},{key:"email",value:function(e){return function(e){return x(e.value)||C.test(e.value)?null:{email:!0}}(e)}},{key:"minLength",value:function(e){return t=e,function(e){return x(e.value)||!_(e.value)?null:e.value.length<t?{minlength:{requiredLength:t,actualLength:e.value.length}}:null};var t}},{key:"maxLength",value:function(e){return M(e)}},{key:"pattern",value:function(e){return I(e)}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){return A(e)}},{key:"composeAsync",value:function(e){return B(e)}}]),e}();function O(e){return x(e.value)?{required:!0}:null}function E(e){return!0===e.value?null:{required:!0}}function M(e){return function(t){return _(t.value)&&t.value.length>e?{maxlength:{requiredLength:e,actualLength:t.value.length}}:null}}function I(e){return e?("string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),function(e){if(x(e.value))return null;var i=e.value;return t.test(i)?null:{pattern:{requiredPattern:n,actualValue:i}}}):P;var t,n}function P(e){return null}function T(e){return null!=e}function D(e){var t=Object(d["\u0275isPromise"])(e)?Object(p.a)(e):e;return Object(d["\u0275isObservable"])(t),t}function L(e){var t={};return e.forEach(function(e){t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function R(e,t){return t.map(function(t){return t(e)})}function j(e){return e.map(function(e){return function(e){return!e.validate}(e)?e:function(t){return e.validate(t)}})}function A(e){if(!e)return null;var t=e.filter(T);return 0==t.length?null:function(e){return L(R(e,t))}}function F(e){return null!=e?A(j(e)):null}function B(e){if(!e)return null;var t=e.filter(T);return 0==t.length?null:function(e){var n=R(e,t).map(D);return Object(h.a)(n).pipe(Object(m.a)(L))}}function z(e){return null!=e?B(j(e)):null}function N(e,t){return null===e?[t]:Array.isArray(e)?[].concat(Object(a.a)(e),[t]):[e,t]}function H(e){return e._rawValidators}function V(e){return e._rawAsyncValidators}var Y=function(){var e=function(){function e(){Object(c.a)(this,e),this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}return Object(l.a)(e,[{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}},{key:"_setValidators",value:function(e){this._rawValidators=e||[],this._composedValidatorFn=F(this._rawValidators)}},{key:"_setAsyncValidators",value:function(e){this._rawAsyncValidators=e||[],this._composedAsyncValidatorFn=z(this._rawAsyncValidators)}},{key:"validator",get:function(){return this._composedValidatorFn||null}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn||null}},{key:"_registerOnDestroy",value:function(e){this._onDestroyCallbacks.push(e)}},{key:"_invokeOnDestroyCallbacks",value:function(){this._onDestroyCallbacks.forEach(function(e){return e()}),this._onDestroyCallbacks=[]}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e}),e}(),W=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){return Object(c.a)(this,n),t.apply(this,arguments)}return Object(l.a)(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(Y);return e.\u0275fac=function(t){return G(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,features:[d["\u0275\u0275InheritDefinitionFeature"]]}),e}(),G=d["\u0275\u0275getInheritedFactory"](W),U=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){var e;return Object(c.a)(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e}return Object(l.a)(n)}(Y),q=function(){function e(t){Object(c.a)(this,e),this._cd=t}return Object(l.a)(e,[{key:"is",value:function(e){var t,n;return!!(null===(n=null===(t=this._cd)||void 0===t?void 0:t.control)||void 0===n?void 0:n[e])}}]),e}(),Z=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e){return Object(c.a)(this,n),t.call(this,e)}return Object(l.a)(n)}(q);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](U,2))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&d["\u0275\u0275classProp"]("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[d["\u0275\u0275InheritDefinitionFeature"]]}),e}(),$=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e){return Object(c.a)(this,n),t.call(this,e)}return Object(l.a)(n)}(q);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](W,10))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&d["\u0275\u0275classProp"]("ng-untouched",t.is("untouched"))("ng-touched",t.is("touched"))("ng-pristine",t.is("pristine"))("ng-dirty",t.is("dirty"))("ng-valid",t.is("valid"))("ng-invalid",t.is("invalid"))("ng-pending",t.is("pending"))},features:[d["\u0275\u0275InheritDefinitionFeature"]]}),e}();function X(e,t){return[].concat(Object(a.a)(t.path),[e])}function K(e,t){ee(e,t,!0),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&ne(e,t)})}(e,t),function(e,t){var n=function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)};e.registerOnChange(n),t._registerOnDestroy(function(){e._unregisterOnChange(n)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&ne(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),function(e,t){if(t.valueAccessor.setDisabledState){var n=function(e){t.valueAccessor.setDisabledState(e)};e.registerOnDisabledChange(n),t._registerOnDestroy(function(){e._unregisterOnDisabledChange(n)})}}(e,t)}function J(e,t){var n=function(){};t.valueAccessor&&(t.valueAccessor.registerOnChange(n),t.valueAccessor.registerOnTouched(n)),te(e,t,!0),e&&(t._invokeOnDestroyCallbacks(),e._registerOnCollectionChange(function(){}))}function Q(e,t){e.forEach(function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(t)})}function ee(e,t,n){var i=H(e);null!==t.validator?e.setValidators(N(i,t.validator)):"function"==typeof i&&e.setValidators([i]);var r=V(e);if(null!==t.asyncValidator?e.setAsyncValidators(N(r,t.asyncValidator)):"function"==typeof r&&e.setAsyncValidators([r]),n){var a=function(){return e.updateValueAndValidity()};Q(t._rawValidators,a),Q(t._rawAsyncValidators,a)}}function te(e,t,n){var i=!1;if(null!==e){if(null!==t.validator){var r=H(e);if(Array.isArray(r)&&r.length>0){var a=r.filter(function(e){return e!==t.validator});a.length!==r.length&&(i=!0,e.setValidators(a))}}if(null!==t.asyncValidator){var o=V(e);if(Array.isArray(o)&&o.length>0){var s=o.filter(function(e){return e!==t.asyncValidator});s.length!==o.length&&(i=!0,e.setAsyncValidators(s))}}}if(n){var l=function(){};Q(t._rawValidators,l),Q(t._rawAsyncValidators,l)}return i}function ne(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ie(e,t){ee(e,t,!1)}function re(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object.is(t,n.currentValue)}function ae(e,t){e._syncPendingControls(),t.forEach(function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function oe(e,t){if(!t)return null;Array.isArray(t);var n=void 0,i=void 0,r=void 0;return t.forEach(function(e){e.constructor===b?n=e:Object.getPrototypeOf(e.constructor)===g?i=e:r=e}),r||i||n||null}function se(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var le="VALID",ce="INVALID",de="PENDING",ue="DISABLED";function pe(e){return(fe(e)?e.validators:e)||null}function he(e){return Array.isArray(e)?F(e):e||null}function me(e,t){return(fe(t)?t.asyncValidators:e)||null}function ge(e){return Array.isArray(e)?z(e):e||null}function fe(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var ve=function(){function e(t,n){Object(c.a)(this,e),this._hasOwnPendingAsyncValidator=!1,this._onCollectionChange=function(){},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=t,this._rawAsyncValidators=n,this._composedValidatorFn=he(this._rawValidators),this._composedAsyncValidatorFn=ge(this._rawAsyncValidators)}return Object(l.a)(e,[{key:"validator",get:function(){return this._composedValidatorFn},set:function(e){this._rawValidators=this._composedValidatorFn=e}},{key:"asyncValidator",get:function(){return this._composedAsyncValidatorFn},set:function(e){this._rawAsyncValidators=this._composedAsyncValidatorFn=e}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return this.status===le}},{key:"invalid",get:function(){return this.status===ce}},{key:"pending",get:function(){return this.status==de}},{key:"disabled",get:function(){return this.status===ue}},{key:"enabled",get:function(){return this.status!==ue}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"setValidators",value:function(e){this._rawValidators=e,this._composedValidatorFn=he(e)}},{key:"setAsyncValidators",value:function(e){this._rawAsyncValidators=e,this._composedAsyncValidatorFn=ge(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild(function(e){return e.markAllAsTouched()})}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild(function(e){e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild(function(e){e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status=de,!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status=ue,this.errors=null,this._forEachChild(function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!0)})}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status=le,this._forEachChild(function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach(function(e){return e(!1)})}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),this.status!==le&&this.status!==de||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild(function(t){return t._updateTreeValidity(e)}),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?ue:le}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status=de,this._hasOwnPendingAsyncValidator=!0;var n=D(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe(function(n){t._hasOwnPendingAsyncValidator=!1,t.setErrors(n,{emitEvent:e})})}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var i=e;return t.forEach(function(e){i=i instanceof be?i.controls.hasOwnProperty(e)?i.controls[e]:null:i instanceof xe&&i.at(e)||null}),i}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new d.EventEmitter,this.statusChanges=new d.EventEmitter}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?ue:this.errors?ce:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(de)?de:this._anyControlsHaveStatus(ce)?ce:le}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls(function(t){return t.status===e})}},{key:"_anyControlsDirty",value:function(){return this._anyControls(function(e){return e.dirty})}},{key:"_anyControlsTouched",value:function(){return this._anyControls(function(e){return e.touched})}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){fe(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}]),e}(),ye=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0,a=arguments.length>2?arguments[2]:void 0;return Object(c.a)(this,n),(e=t.call(this,pe(r),me(a,r)))._onChange=[],e._applyFormState(i),e._setUpdateStrategy(r),e._initObservables(),e.updateValueAndValidity({onlySelf:!0,emitEvent:!!a}),e}return Object(l.a)(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach(function(e){return e(t.value,!1!==n.emitViewToModelChange)}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_unregisterOnChange",value:function(e){se(this._onChange,e)}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_unregisterOnDisabledChange",value:function(e){se(this._onDisabledChange,e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(ve),be=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r){var a;return Object(c.a)(this,n),(a=t.call(this,pe(i),me(r,i))).controls=e,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!!r}),a}return Object(l.a)(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach(function(i){t._throwIfControlMissing(i),t.controls[i].setValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(Object.keys(e).forEach(function(i){t.controls[i]&&t.controls[i].patchValue(e[i],{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},function(e,t,n){return e[n]=t instanceof ye?t.value:t.getRawValue(),e})}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,function(e,t){return!!t._syncPendingControls()||e});return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n        There are no form controls registered with this group yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach(function(n){var i=t.controls[n];i&&e(i,n)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)})}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){for(var t=0,n=Object.keys(this.controls);t<n.length;t++){var i=n[t],r=this.controls[i];if(this.contains(i)&&e(r))return!0}return!1}},{key:"_reduceValue",value:function(){var e=this;return this._reduceChildren({},function(t,n,i){return(n.enabled||e.disabled)&&(t[i]=n.value),t})}},{key:"_reduceChildren",value:function(e,t){var n=e;return this._forEachChild(function(e,i){n=t(n,e,i)}),n}},{key:"_allControlsDisabled",value:function(){for(var e=0,t=Object.keys(this.controls);e<t.length;e++)if(this.controls[t[e]].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))})}}]),n}(ve),xe=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r){var a;return Object(c.a)(this,n),(a=t.call(this,pe(i),me(r,i))).controls=e,a._initObservables(),a._setUpdateStrategy(i),a._setUpControls(),a.updateValueAndValidity({onlySelf:!0,emitEvent:!!r}),a}return Object(l.a)(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(function(){}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"length",get:function(){return this.controls.length}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach(function(e,i){t._throwIfControlMissing(i),t.at(i).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null!=e&&(e.forEach(function(e,i){t.at(i)&&t.at(i).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})}),this.updateValueAndValidity(n))}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild(function(n,i){n.reset(e[i],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map(function(e){return e instanceof ye?e.value:e.getRawValue()})}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild(function(e){return e._registerOnCollectionChange(function(){})}),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce(function(e,t){return!!t._syncPendingControls()||e},!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n        There are no form controls registered with this array yet. If you're using ngModel,\n        you may want to check next tick (e.g. use setTimeout).\n      ");if(!this.at(e))throw new Error("Cannot find form control at index ".concat(e))}},{key:"_forEachChild",value:function(e){this.controls.forEach(function(t,n){e(t,n)})}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter(function(t){return t.enabled||e.disabled}).map(function(e){return e.value})}},{key:"_anyControls",value:function(e){return this.controls.some(function(t){return t.enabled&&e(t)})}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild(function(t){return e._registerControl(t)})}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild(function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))})}},{key:"_allControlsDisabled",value:function(){var e,t=Object(r.a)(this.controls);try{for(t.s();!(e=t.n()).done;)if(e.value.enabled)return!1}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}]),n}(ve),_e={provide:W,useExisting:Object(d.forwardRef)(function(){return Se})},we=function(){return Promise.resolve(null)}(),Se=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i){var r;return Object(c.a)(this,n),(r=t.call(this)).submitted=!1,r._directives=[],r.ngSubmit=new d.EventEmitter,r.form=new be({},F(e),z(i)),r}return Object(l.a)(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}},{key:"addControl",value:function(e){var t=this;we.then(function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),K(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)})}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;we.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name),se(t._directives,e)})}},{key:"addFormGroup",value:function(e){var t=this;we.then(function(){var n=t._findContainer(e.path),i=new be({});ie(i,e),n.registerControl(e.name,i),i.updateValueAndValidity({emitEvent:!1})})}},{key:"removeFormGroup",value:function(e){var t=this;we.then(function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)})}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;we.then(function(){n.form.get(e.path).setValue(t)})}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,ae(this.form,this._directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}}]),n}(W);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](w,10),d["\u0275\u0275directiveInject"](S,10))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&d["\u0275\u0275listener"]("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[d["\u0275\u0275ProvidersFeature"]([_e]),d["\u0275\u0275InheritDefinitionFeature"]]}),e}(),Ce={provide:U,useExisting:Object(d.forwardRef)(function(){return Oe})},ke=function(){return Promise.resolve(null)}(),Oe=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,r,a,o){var s;return Object(c.a)(this,n),(s=t.call(this)).control=new ye,s._registered=!1,s.update=new d.EventEmitter,s._parent=e,s._setValidators(r),s._setAsyncValidators(a),s.valueAccessor=oe(Object(i.a)(s),o),s}return Object(l.a)(n,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),re(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"path",get:function(){return this._parent?X(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){K(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}},{key:"_updateValue",value:function(e){var t=this;ke.then(function(){t.control.setValue(e,{emitViewToModelChange:!1})})}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,i=""===n||n&&"false"!==n;ke.then(function(){i&&!t.control.disabled?t.control.disable():!i&&t.control.disabled&&t.control.enable()})}}]),n}(U);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](W,9),d["\u0275\u0275directiveInject"](w,10),d["\u0275\u0275directiveInject"](S,10),d["\u0275\u0275directiveInject"](f,10))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[d["\u0275\u0275ProvidersFeature"]([Ce]),d["\u0275\u0275InheritDefinitionFeature"],d["\u0275\u0275NgOnChangesFeature"]]}),e}(),Ee=function(){var e=Object(l.a)(function e(){Object(c.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),e}(),Me={provide:f,useExisting:Object(d.forwardRef)(function(){return Ie}),multi:!0},Ie=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i){var r;return Object(c.a)(this,n),(r=t.call(this))._renderer=e,r._elementRef=i,r.onChange=function(e){},r.onTouched=function(){},r}return Object(l.a)(n,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.Renderer2),d["\u0275\u0275directiveInject"](d.ElementRef))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&d["\u0275\u0275listener"]("input",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},features:[d["\u0275\u0275ProvidersFeature"]([Me]),d["\u0275\u0275InheritDefinitionFeature"]]}),e}(),Pe=function(){var e=Object(l.a)(function e(){Object(c.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({}),e}(),Te=new d.InjectionToken("NgModelWithFormControlWarning"),De={provide:U,useExisting:Object(d.forwardRef)(function(){return Le})},Le=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,r,a,o){var s;return Object(c.a)(this,n),(s=t.call(this))._ngModelWarningConfig=o,s.update=new d.EventEmitter,s._ngModelWarningSent=!1,s._setValidators(e),s._setAsyncValidators(r),s.valueAccessor=oe(Object(i.a)(s),a),s}return Object(l.a)(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){if(this._isControlChanged(e)){var t=e.form.previousValue;t&&J(t,this),K(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}re(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.form&&J(this.form,this)}},{key:"path",get:function(){return[]}},{key:"control",get:function(){return this.form}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_isControlChanged",value:function(e){return e.hasOwnProperty("form")}}]),n}(U);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](w,10),d["\u0275\u0275directiveInject"](S,10),d["\u0275\u0275directiveInject"](f,10),d["\u0275\u0275directiveInject"](Te,8))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControl",""]],inputs:{isDisabled:["disabled","isDisabled"],form:["formControl","form"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[d["\u0275\u0275ProvidersFeature"]([De]),d["\u0275\u0275InheritDefinitionFeature"],d["\u0275\u0275NgOnChangesFeature"]]}),e._ngModelWarningSentOnce=!1,e}(),Re={provide:W,useExisting:Object(d.forwardRef)(function(){return je})},je=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i){var r;return Object(c.a)(this,n),(r=t.call(this)).validators=e,r.asyncValidators=i,r.submitted=!1,r._onCollectionChange=function(){return r._updateDomValue()},r.directives=[],r.form=null,r.ngSubmit=new d.EventEmitter,r._setValidators(e),r._setAsyncValidators(i),r}return Object(l.a)(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}},{key:"ngOnDestroy",value:function(){this.form&&(te(this.form,this,!1),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(function(){}))}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return K(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){J(e.control||null,e),se(this.directives,e)}},{key:"addFormGroup",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormGroup",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){this._setUpFormContainer(e)}},{key:"removeFormArray",value:function(e){this._cleanUpFormContainer(e)}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,ae(this.form,this.directives),this.ngSubmit.emit(e),!1}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach(function(t){var n=t.control,i=e.form.get(t.path);n!==i&&(J(n||null,t),i instanceof ye&&(K(i,t),t.control=i))}),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_setUpFormContainer",value:function(e){var t=this.form.get(e.path);ie(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"_cleanUpFormContainer",value:function(e){if(this.form){var t=this.form.get(e.path);t&&function(e,t){return te(e,t,!1)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}},{key:"_updateRegistrations",value:function(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(function(){})}},{key:"_updateValidators",value:function(){ee(this.form,this,!1),this._oldForm&&te(this._oldForm,this,!1)}},{key:"_checkFormPresent",value:function(){}}]),n}(W);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](w,10),d["\u0275\u0275directiveInject"](S,10))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&d["\u0275\u0275listener"]("submit",function(e){return t.onSubmit(e)})("reset",function(){return t.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[d["\u0275\u0275ProvidersFeature"]([Re]),d["\u0275\u0275InheritDefinitionFeature"],d["\u0275\u0275NgOnChangesFeature"]]}),e}(),Ae={provide:U,useExisting:Object(d.forwardRef)(function(){return Fe})},Fe=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,r,a,o,s){var l;return Object(c.a)(this,n),(l=t.call(this))._ngModelWarningConfig=s,l._added=!1,l.update=new d.EventEmitter,l._ngModelWarningSent=!1,l._parent=e,l._setValidators(r),l._setAsyncValidators(a),l.valueAccessor=oe(Object(i.a)(l),o),l}return Object(l.a)(n,[{key:"isDisabled",set:function(e){}},{key:"ngOnChanges",value:function(e){this._added||this._setUpControl(),re(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"path",get:function(){return X(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"_checkParentType",value:function(){}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}]),n}(U);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](W,13),d["\u0275\u0275directiveInject"](w,10),d["\u0275\u0275directiveInject"](S,10),d["\u0275\u0275directiveInject"](f,10),d["\u0275\u0275directiveInject"](Te,8))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[d["\u0275\u0275ProvidersFeature"]([Ae]),d["\u0275\u0275InheritDefinitionFeature"],d["\u0275\u0275NgOnChangesFeature"]]}),e._ngModelWarningSentOnce=!1,e}(),Be={provide:f,useExisting:Object(d.forwardRef)(function(){return Ne}),multi:!0};function ze(e,t){return null==e?"".concat(t):(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var Ne=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i){var r;return Object(c.a)(this,n),(r=t.call(this))._renderer=e,r._elementRef=i,r._optionMap=new Map,r._idCounter=0,r.onChange=function(e){},r.onTouched=function(){},r._compareWith=Object.is,r}return Object(l.a)(n,[{key:"compareWith",set:function(e){this._compareWith=e}},{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=ze(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var i=n[t];if(this._compareWith(this._optionMap.get(i),e))return i}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.Renderer2),d["\u0275\u0275directiveInject"](d.ElementRef))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&d["\u0275\u0275listener"]("change",function(e){return t.onChange(e.target.value)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[d["\u0275\u0275ProvidersFeature"]([Be]),d["\u0275\u0275InheritDefinitionFeature"]]}),e}(),He=function(){var e=function(){function e(t,n,i){Object(c.a)(this,e),this._element=t,this._renderer=n,this._select=i,this._select&&(this.id=this._select._registerOption())}return Object(l.a)(e,[{key:"ngValue",set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(ze(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}},{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](d.Renderer2),d["\u0275\u0275directiveInject"](Ne,9))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e}(),Ve={provide:f,useExisting:Object(d.forwardRef)(function(){return We}),multi:!0};function Ye(e,t){return null==e?"".concat(t):("string"==typeof t&&(t="'".concat(t,"'")),t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var We=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i){var r;return Object(c.a)(this,n),(r=t.call(this))._renderer=e,r._elementRef=i,r._optionMap=new Map,r._idCounter=0,r.onChange=function(e){},r.onTouched=function(){},r._compareWith=Object.is,r}return Object(l.a)(n,[{key:"compareWith",set:function(e){this._compareWith=e}},{key:"writeValue",value:function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var i=e.map(function(e){return n._getOptionId(e)});t=function(e,t){e._setSelected(i.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var i=[];if(void 0!==n.selectedOptions)for(var r=n.selectedOptions,a=0;a<r.length;a++){var o=r.item(a),s=t._getOptionValue(o.value);i.push(s)}else for(var l=n.options,c=0;c<l.length;c++){var d=l.item(c);if(d.selected){var u=t._getOptionValue(d.value);i.push(u)}}t.value=i,e(i)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var i=n[t];if(this._compareWith(this._optionMap.get(i)._value,e))return i}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.Renderer2),d["\u0275\u0275directiveInject"](d.ElementRef))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&d["\u0275\u0275listener"]("change",function(e){return t.onChange(e.target)})("blur",function(){return t.onTouched()})},inputs:{compareWith:"compareWith"},features:[d["\u0275\u0275ProvidersFeature"]([Ve]),d["\u0275\u0275InheritDefinitionFeature"]]}),e}(),Ge=function(){var e=function(){function e(t,n,i){Object(c.a)(this,e),this._element=t,this._renderer=n,this._select=i,this._select&&(this.id=this._select._registerOption(this))}return Object(l.a)(e,[{key:"ngValue",set:function(e){null!=this._select&&(this._value=e,this._setElementValue(Ye(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._select?(this._value=e,this._setElementValue(Ye(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}},{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"_setSelected",value:function(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](d.Renderer2),d["\u0275\u0275directiveInject"](We,9))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),e}(),Ue={provide:w,useExisting:Object(d.forwardRef)(function(){return Ze}),multi:!0},qe={provide:w,useExisting:Object(d.forwardRef)(function(){return $e}),multi:!0},Ze=function(){var e=function(){function e(){Object(c.a)(this,e),this._required=!1}return Object(l.a)(e,[{key:"required",get:function(){return this._required},set:function(e){this._required=null!=e&&!1!==e&&"false"!=="".concat(e),this._onChange&&this._onChange()}},{key:"validate",value:function(e){return this.required?O(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,t){2&e&&d["\u0275\u0275attribute"]("required",t.required?"":null)},inputs:{required:"required"},features:[d["\u0275\u0275ProvidersFeature"]([Ue])]}),e}(),$e=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){return Object(c.a)(this,n),t.apply(this,arguments)}return Object(l.a)(n,[{key:"validate",value:function(e){return this.required?E(e):null}}]),n}(Ze);return e.\u0275fac=function(t){return Xe(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&d["\u0275\u0275attribute"]("required",t.required?"":null)},features:[d["\u0275\u0275ProvidersFeature"]([qe]),d["\u0275\u0275InheritDefinitionFeature"]]}),e}(),Xe=d["\u0275\u0275getInheritedFactory"]($e),Ke={provide:w,useExisting:Object(d.forwardRef)(function(){return Je}),multi:!0},Je=function(){var e=function(){function e(){Object(c.a)(this,e),this._validator=P}return Object(l.a)(e,[{key:"ngOnChanges",value:function(e){"maxlength"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return null!=this.maxlength?this._validator(e):null}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=M("number"==typeof this.maxlength?this.maxlength:parseInt(this.maxlength,10))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&d["\u0275\u0275attribute"]("maxlength",t.maxlength?t.maxlength:null)},inputs:{maxlength:"maxlength"},features:[d["\u0275\u0275ProvidersFeature"]([Ke]),d["\u0275\u0275NgOnChangesFeature"]]}),e}(),Qe={provide:w,useExisting:Object(d.forwardRef)(function(){return et}),multi:!0},et=function(){var e=function(){function e(){Object(c.a)(this,e),this._validator=P}return Object(l.a)(e,[{key:"ngOnChanges",value:function(e){"pattern"in e&&(this._createValidator(),this._onChange&&this._onChange())}},{key:"validate",value:function(e){return this._validator(e)}},{key:"registerOnValidatorChange",value:function(e){this._onChange=e}},{key:"_createValidator",value:function(){this._validator=I(this.pattern)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,t){2&e&&d["\u0275\u0275attribute"]("pattern",t.pattern?t.pattern:null)},inputs:{pattern:"pattern"},features:[d["\u0275\u0275ProvidersFeature"]([Qe]),d["\u0275\u0275NgOnChangesFeature"]]}),e}(),tt=function(){var e=Object(l.a)(function e(){Object(c.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({imports:[[Pe]]}),e}(),nt=function(){var e=Object(l.a)(function e(){Object(c.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({imports:[tt]}),e}(),it=function(){var e=function(){function e(){Object(c.a)(this,e)}return Object(l.a)(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:Te,useValue:t.warnOnNgModelWithFormControl}]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({imports:[tt]}),e}();function rt(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}var at=function(){var e=function(){function e(){Object(c.a)(this,e)}return Object(l.a)(e,[{key:"group",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(e),i=null,r=null,a=void 0;return null!=t&&(rt(t)?(i=null!=t.validators?t.validators:null,r=null!=t.asyncValidators?t.asyncValidators:null,a=null!=t.updateOn?t.updateOn:void 0):(i=null!=t.validator?t.validator:null,r=null!=t.asyncValidator?t.asyncValidator:null)),new be(n,{asyncValidators:r,updateOn:a,validators:i})}},{key:"control",value:function(e,t,n){return new ye(e,t,n)}},{key:"array",value:function(e,t,n){var i=this,r=e.map(function(e){return i._createControl(e)});return new xe(r,t,n)}},{key:"_reduceControls",value:function(e){var t=this,n={};return Object.keys(e).forEach(function(i){n[i]=t._createControl(e[i])}),n}},{key:"_createControl",value:function(e){return e instanceof ye||e instanceof be||e instanceof xe?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(d["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:it}),e}()},"3UWI":function(e,t,n){"use strict";n.d(t,"a",function(){return h});var i=n("D0XW"),r=n("Ji7U"),a=n("LK+K"),o=n("1OyB"),s=n("vuIU"),l=n("zx2A");function c(e){return function(t){return t.lift(new d(e))}}var d=function(){function e(t){Object(o.a)(this,e),this.durationSelector=t}return Object(s.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.durationSelector))}}]),e}(),u=function(e){Object(r.a)(n,e);var t=Object(a.a)(n);function n(e,i){var r;return Object(o.a)(this,n),(r=t.call(this,e)).durationSelector=i,r.hasValue=!1,r}return Object(s.a)(n,[{key:"_next",value:function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t;try{t=(0,this.durationSelector)(e)}catch(i){return this.destination.error(i)}var n=Object(l.c)(t,new l.a(this));!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},{key:"clearThrottle",value:function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=void 0,n.unsubscribe()),t&&(this.value=void 0,this.hasValue=!1,this.destination.next(e))}},{key:"notifyNext",value:function(){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(l.b),p=n("PqYM");function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.a;return c(function(){return Object(p.a)(e,t)})}},"4I5i":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}()},"4MV3":function(e,t,n){!function(e){"use strict";var t={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},n={"\u0ae7":"1","\u0ae8":"2","\u0ae9":"3","\u0aea":"4","\u0aeb":"5","\u0aec":"6","\u0aed":"7","\u0aee":"8","\u0aef":"9","\u0ae6":"0"};e.defineLocale("gu",{months:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1\u0a86\u0ab0\u0ac0_\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1\u0a86\u0ab0\u0ac0_\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf\u0ab2_\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe\u0a88_\u0a91\u0a97\u0ab8\u0acd\u0a9f_\u0ab8\u0aaa\u0acd\u0a9f\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0a91\u0a95\u0acd\u0a9f\u0acd\u0aac\u0ab0_\u0aa8\u0ab5\u0ac7\u0aae\u0acd\u0aac\u0ab0_\u0aa1\u0abf\u0ab8\u0ac7\u0aae\u0acd\u0aac\u0ab0".split("_"),monthsShort:"\u0a9c\u0abe\u0aa8\u0acd\u0aaf\u0ac1._\u0aab\u0ac7\u0aac\u0acd\u0ab0\u0ac1._\u0aae\u0abe\u0ab0\u0acd\u0a9a_\u0a8f\u0aaa\u0acd\u0ab0\u0abf._\u0aae\u0ac7_\u0a9c\u0ac2\u0aa8_\u0a9c\u0ac1\u0ab2\u0abe._\u0a91\u0a97._\u0ab8\u0aaa\u0acd\u0a9f\u0ac7._\u0a91\u0a95\u0acd\u0a9f\u0acd._\u0aa8\u0ab5\u0ac7._\u0aa1\u0abf\u0ab8\u0ac7.".split("_"),monthsParseExact:!0,weekdays:"\u0ab0\u0ab5\u0abf\u0ab5\u0abe\u0ab0_\u0ab8\u0acb\u0aae\u0ab5\u0abe\u0ab0_\u0aae\u0a82\u0a97\u0ab3\u0ab5\u0abe\u0ab0_\u0aac\u0ac1\u0aa7\u0acd\u0ab5\u0abe\u0ab0_\u0a97\u0ac1\u0ab0\u0ac1\u0ab5\u0abe\u0ab0_\u0ab6\u0ac1\u0a95\u0acd\u0ab0\u0ab5\u0abe\u0ab0_\u0ab6\u0aa8\u0abf\u0ab5\u0abe\u0ab0".split("_"),weekdaysShort:"\u0ab0\u0ab5\u0abf_\u0ab8\u0acb\u0aae_\u0aae\u0a82\u0a97\u0ab3_\u0aac\u0ac1\u0aa7\u0acd_\u0a97\u0ac1\u0ab0\u0ac1_\u0ab6\u0ac1\u0a95\u0acd\u0ab0_\u0ab6\u0aa8\u0abf".split("_"),weekdaysMin:"\u0ab0_\u0ab8\u0acb_\u0aae\u0a82_\u0aac\u0ac1_\u0a97\u0ac1_\u0ab6\u0ac1_\u0ab6".split("_"),longDateFormat:{LT:"A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LTS:"A h:mm:ss \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7",LLLL:"dddd, D MMMM YYYY, A h:mm \u0ab5\u0abe\u0a97\u0acd\u0aaf\u0ac7"},calendar:{sameDay:"[\u0a86\u0a9c] LT",nextDay:"[\u0a95\u0abe\u0ab2\u0ac7] LT",nextWeek:"dddd, LT",lastDay:"[\u0a97\u0a87\u0a95\u0abe\u0ab2\u0ac7] LT",lastWeek:"[\u0aaa\u0abe\u0a9b\u0ab2\u0abe] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0aae\u0abe",past:"%s \u0aaa\u0ab9\u0ac7\u0ab2\u0abe",s:"\u0a85\u0aae\u0ac1\u0a95 \u0aaa\u0ab3\u0acb",ss:"%d \u0ab8\u0ac7\u0a95\u0a82\u0aa1",m:"\u0a8f\u0a95 \u0aae\u0abf\u0aa8\u0abf\u0a9f",mm:"%d \u0aae\u0abf\u0aa8\u0abf\u0a9f",h:"\u0a8f\u0a95 \u0a95\u0ab2\u0abe\u0a95",hh:"%d \u0a95\u0ab2\u0abe\u0a95",d:"\u0a8f\u0a95 \u0aa6\u0abf\u0ab5\u0ab8",dd:"%d \u0aa6\u0abf\u0ab5\u0ab8",M:"\u0a8f\u0a95 \u0aae\u0ab9\u0abf\u0aa8\u0acb",MM:"%d \u0aae\u0ab9\u0abf\u0aa8\u0acb",y:"\u0a8f\u0a95 \u0ab5\u0ab0\u0acd\u0ab7",yy:"%d \u0ab5\u0ab0\u0acd\u0ab7"},preparse:function(e){return e.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0ab0\u0abe\u0aa4"===t?e<4?e:e+12:"\u0ab8\u0ab5\u0abe\u0ab0"===t?e:"\u0aac\u0aaa\u0acb\u0ab0"===t?e>=10?e:e+12:"\u0ab8\u0abe\u0a82\u0a9c"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0ab0\u0abe\u0aa4":e<10?"\u0ab8\u0ab5\u0abe\u0ab0":e<17?"\u0aac\u0aaa\u0acb\u0ab0":e<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(n("wd/R"))},"4dOw":function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("lJxs"),l=n("Cfvw"),c=n("zx2A");function d(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(i){return i.pipe(d(function(n,i){return Object(l.a)(e(n,i)).pipe(Object(s.a)(function(e,r){return t(n,e,i,r)}))},n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new u(e,n))})}var u=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;Object(a.a)(this,e),this.project=t,this.concurrent=n}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new p(e,this.project,this.concurrent))}}]),e}(),p=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return Object(a.a)(this,n),(r=t.call(this,e)).project=i,r.concurrent=o,r.hasCompleted=!1,r.buffer=[],r.active=0,r.index=0,r}return Object(o.a)(n,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this.active++,this._innerSub(t)}},{key:"_innerSub",value:function(e){var t=new c.a(this),n=this.destination;n.add(t);var i=Object(c.c)(e,t);i!==t&&n.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e){this.destination.next(e)}},{key:"notifyComplete",value:function(){var e=this.buffer;this.active--,e.length>0?this._next(e.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(c.b)},"5yfJ":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return o});var i=n("HDdC"),r=n("KqfI"),a=new i.a(r.a);function o(){return a}},"6+QB":function(e,t,n){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},"6B0Y":function(e,t,n){!function(e){"use strict";var t={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},n={"\u17e1":"1","\u17e2":"2","\u17e3":"3","\u17e4":"4","\u17e5":"5","\u17e6":"6","\u17e7":"7","\u17e8":"8","\u17e9":"9","\u17e0":"0"};e.defineLocale("km",{months:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),monthsShort:"\u1798\u1780\u179a\u17b6_\u1780\u17bb\u1798\u17d2\u1797\u17c8_\u1798\u17b8\u1793\u17b6_\u1798\u17c1\u179f\u17b6_\u17a7\u179f\u1797\u17b6_\u1798\u17b7\u1790\u17bb\u1793\u17b6_\u1780\u1780\u17d2\u1780\u178a\u17b6_\u179f\u17b8\u17a0\u17b6_\u1780\u1789\u17d2\u1789\u17b6_\u178f\u17bb\u179b\u17b6_\u179c\u17b7\u1785\u17d2\u1786\u17b7\u1780\u17b6_\u1792\u17d2\u1793\u17bc".split("_"),weekdays:"\u17a2\u17b6\u1791\u17b7\u178f\u17d2\u1799_\u1785\u17d0\u1793\u17d2\u1791_\u17a2\u1784\u17d2\u1782\u17b6\u179a_\u1796\u17bb\u1792_\u1796\u17d2\u179a\u17a0\u179f\u17d2\u1794\u178f\u17b7\u17cd_\u179f\u17bb\u1780\u17d2\u179a_\u179f\u17c5\u179a\u17cd".split("_"),weekdaysShort:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysMin:"\u17a2\u17b6_\u1785_\u17a2_\u1796_\u1796\u17d2\u179a_\u179f\u17bb_\u179f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u1796\u17d2\u179a\u17b9\u1780|\u179b\u17d2\u1784\u17b6\u1785/,isPM:function(e){return"\u179b\u17d2\u1784\u17b6\u1785"===e},meridiem:function(e,t,n){return e<12?"\u1796\u17d2\u179a\u17b9\u1780":"\u179b\u17d2\u1784\u17b6\u1785"},calendar:{sameDay:"[\u1790\u17d2\u1784\u17c3\u1793\u17c1\u17c7 \u1798\u17c9\u17c4\u1784] LT",nextDay:"[\u179f\u17d2\u17a2\u17c2\u1780 \u1798\u17c9\u17c4\u1784] LT",nextWeek:"dddd [\u1798\u17c9\u17c4\u1784] LT",lastDay:"[\u1798\u17d2\u179f\u17b7\u179b\u1798\u17b7\u1789 \u1798\u17c9\u17c4\u1784] LT",lastWeek:"dddd [\u179f\u1794\u17d2\u178f\u17b6\u17a0\u17cd\u1798\u17bb\u1793] [\u1798\u17c9\u17c4\u1784] LT",sameElse:"L"},relativeTime:{future:"%s\u1791\u17c0\u178f",past:"%s\u1798\u17bb\u1793",s:"\u1794\u17c9\u17bb\u1793\u17d2\u1798\u17b6\u1793\u179c\u17b7\u1793\u17b6\u1791\u17b8",ss:"%d \u179c\u17b7\u1793\u17b6\u1791\u17b8",m:"\u1798\u17bd\u1799\u1793\u17b6\u1791\u17b8",mm:"%d \u1793\u17b6\u1791\u17b8",h:"\u1798\u17bd\u1799\u1798\u17c9\u17c4\u1784",hh:"%d \u1798\u17c9\u17c4\u1784",d:"\u1798\u17bd\u1799\u1790\u17d2\u1784\u17c3",dd:"%d \u1790\u17d2\u1784\u17c3",M:"\u1798\u17bd\u1799\u1781\u17c2",MM:"%d \u1781\u17c2",y:"\u1798\u17bd\u1799\u1786\u17d2\u1793\u17b6\u17c6",yy:"%d \u1786\u17d2\u1793\u17b6\u17c6"},dayOfMonthOrdinalParse:/\u1791\u17b8\d{1,2}/,ordinal:"\u1791\u17b8%d",preparse:function(e){return e.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n("wd/R"))},"6awz":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("XNiG"),r=n("fXoL"),a=function(){function e(){this._mapHover=new i.a,this.updateMapHover=this._mapHover}return e.prototype.updateHover=function(e){this._mapHover.next(e)},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac=function(t){return new(t||e)},providedIn:"root"}),e}()},"6n/F":function(e,t,n){"use strict";var i,r,a;r="undefined"!=typeof window?window:this,a=function(e){function t(e,t,n,i){e.hasOwnProperty(t)||(e[t]=i.apply(null,n))}var n={};return t(n,"Core/Globals.js",[],function(){var t,n=void 0!==e?e:"undefined"!=typeof window?window:{};return function(e){e.SVG_NS="http://www.w3.org/2000/svg",e.product="Highcharts",e.version="9.3.3",e.win=n,e.doc=e.win.document,e.svg=e.doc&&e.doc.createElementNS&&!!e.doc.createElementNS(e.SVG_NS,"svg").createSVGRect,e.userAgent=e.win.navigator&&e.win.navigator.userAgent||"",e.isChrome=-1!==e.userAgent.indexOf("Chrome"),e.isFirefox=-1!==e.userAgent.indexOf("Firefox"),e.isMS=/(edge|msie|trident)/i.test(e.userAgent)&&!e.win.opera,e.isSafari=!e.isChrome&&-1!==e.userAgent.indexOf("Safari"),e.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(e.userAgent),e.isWebKit=-1!==e.userAgent.indexOf("AppleWebKit"),e.deg2rad=2*Math.PI/360,e.hasBidiBug=e.isFirefox&&4>parseInt(e.userAgent.split("Firefox/")[1],10),e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=function(){var t=!1;if(!e.isMS){var n=Object.defineProperty({},"passive",{get:function(){t=!0}});e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,n),e.win.removeEventListener("testPassive",e.noop,n))}return t}(),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0}(t||(t={})),t}),t(n,"Core/Utilities.js",[n["Core/Globals.js"]],function(e){function t(n,i,r,a){var o=i?"Highcharts error":"Highcharts warning";32===n&&(n=o+": Deprecated member");var s=l(n),c=s?o+" #"+n+": www.highcharts.com/errors/"+n+"/":n.toString();if(void 0!==a){var d="";s&&(c+="?"),g(a,function(e,t){d+="\n - "+t+": "+e,s&&(c+=encodeURI(t)+"="+encodeURI(e))}),c+=d}v(e,"displayError",{chart:r,code:n,message:c,params:a},function(){if(i)throw Error(c);x.console&&-1===t.messages.indexOf(c)&&console.warn(c)}),t.messages.push(c)}function n(e,t){return parseInt(e,t||10)}function i(e){return"string"==typeof e}function r(e){return"[object Array]"===(e=Object.prototype.toString.call(e))||"[object Array Iterator]"===e}function a(e,t){return!(!e||"object"!=typeof e||t&&r(e))}function o(e){return a(e)&&"number"==typeof e.nodeType}function s(e){var t=e&&e.constructor;return!(!a(e,!0)||o(e)||!t||!t.name||"Object"===t.name)}function l(e){return"number"==typeof e&&!isNaN(e)&&1/0>e&&-1/0<e}function c(e){return null!=e}function d(e,t,n){var r;return i(t)?c(n)?e.setAttribute(t,n):e&&e.getAttribute&&((r=e.getAttribute(t))||"class"!==t||(r=e.getAttribute(t+"Name"))):g(t,function(t,n){c(t)?e.setAttribute(n,t):e.removeAttribute(n)}),r}function u(e,t){var n;for(n in e||(e={}),t)e[n]=t[n];return e}function p(){for(var e=arguments,t=e.length,n=0;n<t;n++){var i=e[n];if(null!=i)return i}}function h(t,n){e.isMS&&!e.svg&&n&&void 0!==n.opacity&&(n.filter="alpha(opacity="+100*n.opacity+")"),u(t.style,n)}function m(e,t){return 1e14<e?e:parseFloat(e.toPrecision(t||14))}function g(e,t,n){for(var i in e)Object.hasOwnProperty.call(e,i)&&t.call(n||e[i],e[i],i,e)}function f(t,n,i){function r(n,i){var r=t.removeEventListener||e.removeEventListenerPolyfill;r&&r.call(t,n,i,!1)}function a(e){var i;if(t.nodeName){if(n){var a={};a[n]=!0}else a=e;g(a,function(t,n){if(e[n])for(i=e[n].length;i--;)r(n,e[n][i].fn)})}}var o="function"==typeof t&&t.prototype||t;if(Object.hasOwnProperty.call(o,"hcEvents")){var s=o.hcEvents;n?(o=s[n]||[],i?(s[n]=o.filter(function(e){return i!==e.fn}),r(n,i)):(a(s),s[n]=[])):(a(s),delete o.hcEvents)}}function v(t,n,i,r){if(i=i||{},b.createEvent&&(t.dispatchEvent||t.fireEvent&&t!==e)){var a=b.createEvent("Events");a.initEvent(n,!0,!0),i=u(a,i),t.dispatchEvent?t.dispatchEvent(i):t.fireEvent(n,i)}else if(t.hcEvents){i.target||u(i,{preventDefault:function(){i.defaultPrevented=!0},target:t,type:n}),a=[];for(var o=t,s=!1;o.hcEvents;)Object.hasOwnProperty.call(o,"hcEvents")&&o.hcEvents[n]&&(a.length&&(s=!0),a.unshift.apply(a,o.hcEvents[n])),o=Object.getPrototypeOf(o);s&&a.sort(function(e,t){return e.order-t.order}),a.forEach(function(e){!1===e.fn.call(t,i)&&i.preventDefault()})}r&&!i.defaultPrevented&&r.call(t,i)}var y=e.charts,b=e.doc,x=e.win;(t||(t={})).messages=[],Math.easeInOutSine=function(e){return-.5*(Math.cos(Math.PI*e)-1)};var _=Array.prototype.find?function(e,t){return e.find(t)}:function(e,t){var n,i=e.length;for(n=0;n<i;n++)if(t(e[n],n))return e[n]};g({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(n,i){e[i]=function(e){var r;return t(32,!1,void 0,((r={})["Highcharts."+i]="use Array."+n,r)),Array.prototype[n].apply(e,[].slice.call(arguments,1))}});var w,S=function(){var e=Math.random().toString(36).substring(2,9)+"-",t=0;return function(){return"highcharts-"+(w?"":e)+t++}}();return x.jQuery&&(x.jQuery.fn.highcharts=function(){var t=[].slice.call(arguments);if(this[0])return t[0]?(new(e[i(t[0])?t.shift():"Chart"])(this[0],t[0],t[1]),this):y[d(this[0],"data-highcharts-chart")]}),{addEvent:function(t,n,i,r){void 0===r&&(r={});var a="function"==typeof t&&t.prototype||t;Object.hasOwnProperty.call(a,"hcEvents")||(a.hcEvents={}),a=a.hcEvents,e.Point&&t instanceof e.Point&&t.series&&t.series.chart&&(t.series.chart.runTrackerClick=!0);var o=t.addEventListener||e.addEventListenerPolyfill;return o&&o.call(t,n,i,!!e.supportsPassiveEvents&&{passive:void 0===r.passive?-1!==n.indexOf("touch"):r.passive,capture:!1}),a[n]||(a[n]=[]),a[n].push({fn:i,order:"number"==typeof r.order?r.order:1/0}),a[n].sort(function(e,t){return e.order-t.order}),function(){f(t,n,i)}},arrayMax:function(e){for(var t=e.length,n=e[0];t--;)e[t]>n&&(n=e[t]);return n},arrayMin:function(e){for(var t=e.length,n=e[0];t--;)e[t]<n&&(n=e[t]);return n},attr:d,clamp:function(e,t,n){return e>t?e<n?e:n:t},cleanRecursively:function e(t,n){var i={};return g(t,function(r,o){a(t[o],!0)&&!t.nodeType&&n[o]?(r=e(t[o],n[o]),Object.keys(r).length&&(i[o]=r)):(a(t[o])||t[o]!==n[o])&&(i[o]=t[o])}),i},clearTimeout:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){c(e)&&clearTimeout(e)}),correctFloat:m,createElement:function(e,t,n,i,r){return e=b.createElement(e),t&&u(e,t),r&&h(e,{padding:"0",border:"none",margin:"0"}),n&&h(e,n),i&&i.appendChild(e),e},css:h,defined:c,destroyObjectProperties:function(e,t){g(e,function(n,i){n&&n!==t&&n.destroy&&n.destroy(),delete e[i]})},discardElement:function(e){e&&e.parentElement&&e.parentElement.removeChild(e)},erase:function(e,t){for(var n=e.length;n--;)if(e[n]===t){e.splice(n,1);break}},error:t,extend:u,extendClass:function(e,t){var n=function(){};return u(n.prototype=new e,t),n},find:_,fireEvent:v,getMagnitude:function(e){return Math.pow(10,Math.floor(Math.log(e)/Math.LN10))},getNestedProperty:function(e,t){for(e=e.split(".");e.length&&c(t);){var n=e.shift();if(void 0===n||"__proto__"===n)return;if(!c(t=t[n])||"function"==typeof t||"number"==typeof t.nodeType||t===x)return}return t},getStyle:function i(r,a,o){var s=e.getStyle||i;if("width"===a)return a=Math.min(r.offsetWidth,r.scrollWidth),(o=r.getBoundingClientRect&&r.getBoundingClientRect().width)<a&&o>=a-1&&(a=Math.floor(o)),Math.max(0,a-(s(r,"padding-left",!0)||0)-(s(r,"padding-right",!0)||0));if("height"===a)return Math.max(0,Math.min(r.offsetHeight,r.scrollHeight)-(s(r,"padding-top",!0)||0)-(s(r,"padding-bottom",!0)||0));if(x.getComputedStyle||t(27,!0),r=x.getComputedStyle(r,void 0)){var l=r.getPropertyValue(a);p(o,"opacity"!==a)&&(l=n(l))}return l},inArray:function(e,n,i){return t(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),n.indexOf(e,i)},isArray:r,isClass:s,isDOMElement:o,isFunction:function(e){return"function"==typeof e},isNumber:l,isObject:a,isString:i,keys:function(e){return t(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(e)},merge:function(){var e,t=arguments,n={},i=function e(t,n){return"object"!=typeof t&&(t={}),g(n,function(i,r){"__proto__"!==r&&"constructor"!==r&&(t[r]=!a(i,!0)||s(i)||o(i)?n[r]:e(t[r]||{},i))}),t};!0===t[0]&&(n=t[1],t=Array.prototype.slice.call(t,2));var r=t.length;for(e=0;e<r;e++)n=i(n,t[e]);return n},normalizeTickInterval:function(e,t,n,i,r){var a=e,o=e/(n=p(n,1));for(t||(t=r?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],!1===i&&(1===n?t=t.filter(function(e){return 0==e%1}):.1>=n&&(t=[1/n]))),i=0;i<t.length&&(a=t[i],!(r&&a*n>=e||!r&&o<=(t[i]+(t[i+1]||t[i]))/2));i++);return m(a*n,-Math.round(Math.log(.001)/Math.LN10))},objectEach:g,offset:function(e){var t=b.documentElement;return{top:(e=e.parentElement||e.parentNode?e.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(x.pageYOffset||t.scrollTop)-(t.clientTop||0),left:e.left+(x.pageXOffset||t.scrollLeft)-(t.clientLeft||0),width:e.width,height:e.height}},pad:function(e,t,n){return Array((t||2)+1-String(e).replace("-","").length).join(n||"0")+e},pick:p,pInt:n,relativeLength:function(e,t,n){return/%$/.test(e)?t*parseFloat(e)/100+(n||0):parseFloat(e)},removeEvent:f,splat:function(e){return r(e)?e:[e]},stableSort:function(e,t){var n,i,r=e.length;for(i=0;i<r;i++)e[i].safeI=i;for(e.sort(function(e,i){return 0===(n=t(e,i))?e.safeI-i.safeI:n}),i=0;i<r;i++)delete e[i].safeI},syncTimeout:function(e,t,n){return 0<t?setTimeout(e,t,n):(e.call(0,n),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:S,useSerialIds:function(e){return w=p(e,w)},wrap:function(e,t,n){var i=e[t];e[t]=function(){var e=Array.prototype.slice.call(arguments),t=arguments,r=this;return r.proceed=function(){i.apply(r,arguments.length?arguments:t)},e.unshift(i),e=n.apply(this,e),r.proceed=null,e}}}}),t(n,"Core/Chart/ChartDefaults.js",[],function(){return{panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,defaultSeriesType:"line",ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}},zoomBySingleTouch:!1,width:null,height:null,borderColor:"#335cad",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),t(n,"Core/Color/Color.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(e,t){var n=t.isNumber,i=t.merge,r=t.pInt;return function(){function t(n){this.rgba=[NaN,NaN,NaN,NaN],this.input=n;var i=e.Color;return i&&i!==t?new i(n):this instanceof t?void this.init(n):new t(n)}return t.parse=function(e){return e?new t(e):t.None},t.prototype.init=function(e){var n;if("object"==typeof e&&void 0!==e.stops)this.stops=e.stops.map(function(e){return new t(e[1])});else if("string"==typeof e){if(this.input=e=t.names[e.toLowerCase()]||e,"#"===e.charAt(0)){var i=e.length,r=parseInt(e.substr(1),16);7===i?n=[(16711680&r)>>16,(65280&r)>>8,255&r,1]:4===i&&(n=[(3840&r)>>4|(3840&r)>>8,(240&r)>>4|240&r,(15&r)<<4|15&r,1])}if(!n)for(r=t.parsers.length;r--&&!n;){var a=t.parsers[r];(i=a.regex.exec(e))&&(n=a.parse(i))}}n&&(this.rgba=n)},t.prototype.get=function(e){var t=this.input,r=this.rgba;if("object"==typeof t&&void 0!==this.stops){var a=i(t);return a.stops=[].slice.call(a.stops),this.stops.forEach(function(t,n){a.stops[n]=[a.stops[n][0],t.get(e)]}),a}return r&&n(r[0])?"rgb"===e||!e&&1===r[3]?"rgb("+r[0]+","+r[1]+","+r[2]+")":"a"===e?""+r[3]:"rgba("+r.join(",")+")":t},t.prototype.brighten=function(e){var t=this.rgba;if(this.stops)this.stops.forEach(function(t){t.brighten(e)});else if(n(e)&&0!==e)for(var i=0;3>i;i++)t[i]+=r(255*e),0>t[i]&&(t[i]=0),255<t[i]&&(t[i]=255);return this},t.prototype.setOpacity=function(e){return this.rgba[3]=e,this},t.prototype.tweenTo=function(e,t){var i=this.rgba,r=e.rgba;return n(i[0])&&n(r[0])?((e=1!==r[3]||1!==i[3])?"rgba(":"rgb(")+Math.round(r[0]+(i[0]-r[0])*(1-t))+","+Math.round(r[1]+(i[1]-r[1])*(1-t))+","+Math.round(r[2]+(i[2]-r[2])*(1-t))+(e?","+(r[3]+(i[3]-r[3])*(1-t)):"")+")":e.input||"none"},t.names={white:"#ffffff",black:"#000000"},t.parsers=[{regex:/rgba\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]?(?:\.[0-9]+)?)\s*\)/,parse:function(e){return[r(e[1]),r(e[2]),r(e[3]),parseFloat(e[4],10)]}},{regex:/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/,parse:function(e){return[r(e[1]),r(e[2]),r(e[3]),1]}}],t.None=new t(""),t}()}),t(n,"Core/Color/Palettes.js",[],function(){return{colors:"#7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1".split(" ")}}),t(n,"Core/Time.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(e,t){var n=e.win,i=t.defined,r=t.error,a=t.extend,o=t.isObject,s=t.merge,l=t.objectEach,c=t.pad,d=t.pick,u=t.splat,p=t.timeUnits,h=e.isSafari&&n.Intl&&n.Intl.DateTimeFormat.prototype.formatRange,m=e.isSafari&&n.Intl&&!n.Intl.DateTimeFormat.prototype.formatRange;return function(){function t(e){this.options={},this.variableTimezone=this.useUTC=!1,this.Date=n.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(e)}return t.prototype.get=function(e,t){if(this.variableTimezone||this.timezoneOffset){var n=t.getTime(),i=n-this.getTimezoneOffset(t);return t.setTime(i),e=t["getUTC"+e](),t.setTime(n),e}return this.useUTC?t["getUTC"+e]():t["get"+e]()},t.prototype.set=function(e,t,n){if(this.variableTimezone||this.timezoneOffset){if("Milliseconds"===e||"Seconds"===e||"Minutes"===e&&0==this.getTimezoneOffset(t)%36e5)return t["setUTC"+e](n);var i=this.getTimezoneOffset(t);return i=t.getTime()-i,t.setTime(i),t["setUTC"+e](n),e=this.getTimezoneOffset(t),i=t.getTime()+e,t.setTime(i)}return this.useUTC||h&&"FullYear"===e?t["setUTC"+e](n):t["set"+e](n)},t.prototype.update=function(e){var t=d(e&&e.useUTC,!0);this.options=e=s(!0,this.options||{},e),this.Date=e.Date||n.Date||Date,this.timezoneOffset=(this.useUTC=t)&&e.timezoneOffset,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=t&&!(!e.getTimezoneOffset&&!e.timezone)},t.prototype.makeTime=function(e,t,n,i,r,a){if(this.useUTC){var o=this.Date.UTC.apply(0,arguments),s=this.getTimezoneOffset(o),l=this.getTimezoneOffset(o+=s);s!==l?o+=l-s:s-36e5!==this.getTimezoneOffset(o-36e5)||m||(o-=36e5)}else o=new this.Date(e,t,d(n,1),d(i,0),d(r,0),d(a,0)).getTime();return o},t.prototype.timezoneOffsetFunction=function(){var e=this,t=this.options,i=t.getTimezoneOffset,a=t.moment||n.moment;if(!this.useUTC)return function(e){return 6e4*new Date(e.toString()).getTimezoneOffset()};if(t.timezone){if(a)return function(e){return 6e4*-a.tz(e,t.timezone).utcOffset()};r(25)}return this.useUTC&&i?function(e){return 6e4*i(e.valueOf())}:function(){return 6e4*(e.timezoneOffset||0)}},t.prototype.dateFormat=function(t,n,r){if(!i(n)||isNaN(n))return e.defaultOptions.lang&&e.defaultOptions.lang.invalidDate||"";t=d(t,"%Y-%m-%d %H:%M:%S");var o=this,s=new this.Date(n),u=this.get("Hours",s),p=this.get("Day",s),h=this.get("Date",s),m=this.get("Month",s),g=this.get("FullYear",s),f=e.defaultOptions.lang,v=f&&f.weekdays,y=f&&f.shortWeekdays;return s=a({a:y?y[p]:v[p].substr(0,3),A:v[p],d:c(h),e:c(h,2," "),w:p,b:f.shortMonths[m],B:f.months[m],m:c(m+1),o:m+1,y:g.toString().substr(2,2),Y:g,H:c(u),k:u,I:c(u%12||12),l:u%12||12,M:c(this.get("Minutes",s)),p:12>u?"AM":"PM",P:12>u?"am":"pm",S:c(s.getSeconds()),L:c(Math.floor(n%1e3),3)},e.dateFormats),l(s,function(e,i){for(;-1!==t.indexOf("%"+i);)t=t.replace("%"+i,"function"==typeof e?e.call(o,n):e)}),r?t.substr(0,1).toUpperCase()+t.substr(1):t},t.prototype.resolveDTLFormat=function(e){return o(e,!0)?e:{main:(e=u(e))[0],from:e[1],to:e[2]}},t.prototype.getTimeTicks=function(e,t,n,r){var o,s=this,l=[],c={},u=new s.Date(t),h=e.unitRange,m=e.count||1;if(r=d(r,1),i(t)){if(s.set("Milliseconds",u,h>=p.second?0:m*Math.floor(s.get("Milliseconds",u)/m)),h>=p.second&&s.set("Seconds",u,h>=p.minute?0:m*Math.floor(s.get("Seconds",u)/m)),h>=p.minute&&s.set("Minutes",u,h>=p.hour?0:m*Math.floor(s.get("Minutes",u)/m)),h>=p.hour&&s.set("Hours",u,h>=p.day?0:m*Math.floor(s.get("Hours",u)/m)),h>=p.day&&s.set("Date",u,h>=p.month?1:Math.max(1,m*Math.floor(s.get("Date",u)/m))),h>=p.month){s.set("Month",u,h>=p.year?0:m*Math.floor(s.get("Month",u)/m));var g=s.get("FullYear",u)}h>=p.year&&s.set("FullYear",u,g-g%m),h===p.week&&(g=s.get("Day",u),s.set("Date",u,s.get("Date",u)-g+r+(g<r?-7:0))),g=s.get("FullYear",u),r=s.get("Month",u);var f=s.get("Date",u),v=s.get("Hours",u);for(t=u.getTime(),!s.variableTimezone&&s.useUTC||!i(n)||(o=n-t>4*p.month||s.getTimezoneOffset(t)!==s.getTimezoneOffset(n)),t=u.getTime(),u=1;t<n;)l.push(t),t=h===p.year?s.makeTime(g+u*m,0):h===p.month?s.makeTime(g,r+u*m):!o||h!==p.day&&h!==p.week?o&&h===p.hour&&1<m?s.makeTime(g,r,f,v+u*m):t+h*m:s.makeTime(g,r,f+u*m*(h===p.day?1:7)),u++;l.push(t),h<=p.hour&&1e4>l.length&&l.forEach(function(e){0==e%18e5&&"000000000"===s.dateFormat("%H%M%S%L",e)&&(c[e]="day")})}return l.info=a(e,{higherRanks:c,totalRange:h*m}),l},t.prototype.getDateFormat=function(e,t,n,i){var r=this.dateFormat("%m-%d %H:%M:%S.%L",t),a={millisecond:15,second:12,minute:9,hour:6,day:3},o="millisecond";for(s in p){if(e===p.week&&+this.dateFormat("%w",t)===n&&"00:00:00.000"===r.substr(6)){var s="week";break}if(p[s]>e){s=o;break}if(a[s]&&r.substr(a[s])!=="01-01 00:00:00.000".substr(a[s]))break;"week"!==s&&(o=s)}if(s)var l=this.resolveDTLFormat(i[s]).main;return l},t}()}),t(n,"Core/DefaultOptions.js",[n["Core/Chart/ChartDefaults.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Color/Palettes.js"],n["Core/Time.js"],n["Core/Utilities.js"]],function(e,t,n,i,r,a){t=t.parse;var o=a.merge,s={colors:i.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:e,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:n.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:n.isTouchDevice?25:10,headerFormat:'<span style="font-size: 10px">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:t("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var l=new r(o(s.global,s.time));return{defaultOptions:s,defaultTime:l,getOptions:function(){return s},setOptions:function(e){return o(!0,s,e),(e.time||e.global)&&(n.time?n.time.update(o(s.global,s.time,e.global,e.time)):n.time=l),s}}}),t(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(e,t,n){var i=e.parse,r=t.win,a=n.isNumber,o=n.objectEach;return function(){function e(e,t,n){this.pos=NaN,this.options=t,this.elem=e,this.prop=n}return e.prototype.dSetter=function(){var e=this.paths,t=e&&e[0];e=e&&e[1];var n=this.now||0,i=[];if(1!==n&&t&&e)if(t.length===e.length&&1>n)for(var r=0;r<e.length;r++){for(var o=t[r],s=e[r],l=[],c=0;c<s.length;c++){var d=o[c],u=s[c];l[c]=a(d)&&a(u)&&("A"!==s[0]||4!==c&&5!==c)?d+n*(u-d):u}i.push(l)}else i=e;else i=this.toD||[];this.elem.attr("d",i,void 0,!0)},e.prototype.update=function(){var e=this.elem,t=this.prop,n=this.now,i=this.options.step;this[t+"Setter"]?this[t+"Setter"]():e.attr?e.element&&e.attr(t,n,null,!0):e.style[t]=n+this.unit,i&&i.call(e,n,this)},e.prototype.run=function(t,n,i){var a=this,o=a.options,s=function e(t){return!e.stopped&&a.step(t)},l=r.requestAnimationFrame||function(e){setTimeout(e,13)};t!==n||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=t,this.end=n,this.unit=i,this.now=this.start,this.pos=0,s.elem=this.elem,s.prop=this.prop,s()&&1===e.timers.push(s)&&l(function t(){for(var n=0;n<e.timers.length;n++)e.timers[n]()||e.timers.splice(n--,1);e.timers.length&&l(t)})):(delete o.curAnim[this.prop],o.complete&&0===Object.keys(o.curAnim).length&&o.complete.call(this.elem))},e.prototype.step=function(e){var t=+new Date,n=this.options,i=this.elem,r=n.complete,a=n.duration,s=n.curAnim;if(i.attr&&!i.element)e=!1;else if(e||t>=a+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;o(s,function(e){!0!==e&&(l=!1)}),l&&r&&r.call(i),e=!1}else this.pos=n.easing((t-this.startTime)/a),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0;return e},e.prototype.initPath=function(e,t,n){function i(e,t){for(;e.length<p;){var n=e[0],i=t[p-e.length];i&&"M"===n[0]&&(e[0]="C"===i[0]?["C",n[1],n[2],n[1],n[2],n[1],n[2]]:["L",n[1],n[2]]),e.unshift(n),l&&(n=e.pop(),e.push(e[e.length-1],n))}}function r(e,t){for(;e.length<p;)if("C"===(t=e[Math.floor(e.length/c)-1].slice())[0]&&(t[1]=t[5],t[2]=t[6]),l){var n=e[Math.floor(e.length/c)].slice();e.splice(e.length/2,0,t,n)}else e.push(t)}var o=e.startX,s=e.endX;n=n.slice();var l=e.isArea,c=l?2:1;if(!(t=t&&t.slice()))return[n,n];if(o&&s&&s.length){for(e=0;e<o.length;e++){if(o[e]===s[0]){var d=e;break}if(o[0]===s[s.length-o.length+e]){d=e;var u=!0;break}if(o[o.length-1]===s[s.length-o.length+e]){d=o.length-e;break}}void 0===d&&(t=[])}if(t.length&&a(d)){var p=n.length+d*c;u?(i(t,n),r(n,t)):(i(n,t),r(t,n))}return[t,n]},e.prototype.fillSetter=function(){e.prototype.strokeSetter.apply(this,arguments)},e.prototype.strokeSetter=function(){this.elem.attr(this.prop,i(this.start).tweenTo(i(this.end),this.pos),void 0,!0)},e.timers=[],e}()}),t(n,"Core/Animation/AnimationUtilities.js",[n["Core/Animation/Fx.js"],n["Core/Utilities.js"]],function(e,t){function n(e){return l(e)?c({duration:500,defer:0},e):{duration:e?500:0,defer:0}}function i(t,n){for(var i=e.timers.length;i--;)e.timers[i].elem!==t||n&&n!==e.timers[i].prop||(e.timers[i].stopped=!0)}var r=t.defined,a=t.getStyle,o=t.isArray,s=t.isNumber,l=t.isObject,c=t.merge,d=t.objectEach,u=t.pick;return{animate:function(t,n,r){var u,p,h,m="";if(!l(r)){var g=arguments;r={duration:g[2],easing:g[3],complete:g[4]}}s(r.duration)||(r.duration=400),r.easing="function"==typeof r.easing?r.easing:Math[r.easing]||Math.easeInOutSine,r.curAnim=c(n),d(n,function(s,l){i(t,l),h=new e(t,r,l),p=void 0,"d"===l&&o(n.d)?(h.paths=h.initPath(t,t.pathArray,n.d),h.toD=n.d,u=0,p=1):t.attr?u=t.attr(l):(u=parseFloat(a(t,l))||0,"opacity"!==l&&(m="px")),p||(p=s),"string"==typeof p&&p.match("px")&&(p=p.replace(/px/g,"")),h.run(u,p,m)})},animObject:n,getDeferredAnimation:function(e,t,i){var a=n(t),o=0,s=0;return(i?[i]:e.series).forEach(function(e){e=n(e.options.animation),o=t&&r(t.defer)?a.defer:Math.max(o,e.duration+e.defer),s=Math.min(a.duration,e.duration)}),e.renderer.forExport&&(o=0),{defer:Math.max(0,o-s),duration:Math.min(o,s)}},setAnimation:function(e,t){t.renderer.globalAnimation=u(e,t.options.chart.animation,!0)},stop:i}}),t(n,"Core/Renderer/HTML/AST.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(e,t){var n=e.SVG_NS,i=t.attr,r=t.createElement,a=t.error,o=t.isFunction,s=t.isString,l=t.objectEach,c=t.splat,d=(t=e.win.trustedTypes)&&o(t.createPolicy)&&t.createPolicy("highcharts",{createHTML:function(e){return e}}),u=d?d.createHTML(""):"";try{var p=!!(new DOMParser).parseFromString(u,"text/html")}catch(h){p=!1}return function(){function t(e){this.nodes="string"==typeof e?this.parseMarkup(e):e}return t.filterUserAttributes=function(e){return l(e,function(n,i){var r=!0;-1===t.allowedAttributes.indexOf(i)&&(r=!1),-1!==["background","dynsrc","href","lowsrc","src"].indexOf(i)&&(r=s(n)&&t.allowedReferences.some(function(e){return 0===n.indexOf(e)})),r||(a("Highcharts warning: Invalid attribute '"+i+"' in config"),delete e[i])}),e},t.setElementHTML=function(e,n){e.innerHTML=t.emptyHTML,n&&new t(n).addToDOM(e)},t.prototype.addToDOM=function(r){return function r(o,s){var d;return c(o).forEach(function(o){var c=o.tagName,u=o.textContent?e.doc.createTextNode(o.textContent):void 0;if(c)if("#text"===c)var p=u;else if(-1!==t.allowedTags.indexOf(c)){c=e.doc.createElementNS("svg"===c?n:s.namespaceURI||n,c);var h=o.attributes||{};l(o,function(e,t){"tagName"!==t&&"attributes"!==t&&"children"!==t&&"textContent"!==t&&(h[t]=e)}),i(c,t.filterUserAttributes(h)),u&&c.appendChild(u),r(o.children||[],c),p=c}else a("Highcharts warning: Invalid tagName "+c+" in config");p&&s.appendChild(p),d=p}),d}(this.nodes,r)},t.prototype.parseMarkup=function(e){var t=[];if(e=e.trim(),p)e=(new DOMParser).parseFromString(d?d.createHTML(e):e,"text/html");else{var n=r("div");n.innerHTML=e,e={body:n}}var i=function e(t,n){var i=t.nodeName.toLowerCase(),r={tagName:i};if("#text"===i&&(r.textContent=t.textContent||""),i=t.attributes){var a={};[].forEach.call(i,function(e){a[e.name]=e.value}),r.attributes=a}if(t.childNodes.length){var o=[];[].forEach.call(t.childNodes,function(t){e(t,o)}),o.length&&(r.children=o)}n.push(r)};return[].forEach.call(e.body.childNodes,function(e){return i(e,t)}),t},t.allowedAttributes="aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-pressed aria-readonly aria-roledescription aria-selected class clip-path color colspan cx cy d dx dy disabled fill height href id in markerHeight markerWidth offset opacity orient padding paddingLeft paddingRight patternUnits r refX refY role scope slope src startOffset stdDeviation stroke stroke-linecap stroke-width style tableValues result rowspan summary target tabindex text-align textAnchor textLength title type valign width x x1 x2 y y1 y2 zIndex".split(" "),t.allowedReferences="https:// http:// mailto: / ../ ./ #".split(" "),t.allowedTags="a abbr b br button caption circle clipPath code dd defs div dl dt em feComponentTransfer feFuncA feFuncB feFuncG feFuncR feGaussianBlur feOffset feMerge feMergeNode filter h1 h2 h3 h4 h5 h6 hr i img li linearGradient marker ol p path pattern pre rect small span stop strong style sub sup svg table text thead tbody tspan td th tr u ul #text".split(" "),t.emptyHTML=u,t}()}),t(n,"Core/FormatUtilities.js",[n["Core/DefaultOptions.js"],n["Core/Utilities.js"]],function(e,t){function n(e,t,n,r){t=+t;var a=i.lang,c=((e=+e||0).toString().split(".")[1]||"").split("e")[0].length,d=e.toString().split("e"),u=t;if(-1===t)t=Math.min(c,20);else if(o(t)){if(t&&d[1]&&0>d[1]){var p=t+ +d[1];0<=p?(d[0]=(+d[0]).toExponential(p).split("e")[0],t=p):(d[0]=d[0].split(".")[0]||0,e=20>t?(d[0]*Math.pow(10,d[1])).toFixed(t):0,d[1]=0)}}else t=2;p=(Math.abs(d[1]?d[0]:e)+Math.pow(10,-Math.max(t,c)-1)).toFixed(t);var h=3<(c=String(l(p))).length?c.length%3:0;return n=s(n,a.decimalPoint),r=s(r,a.thousandsSep),e=(0>e?"-":"")+(h?c.substr(0,h)+r:""),e=0>+d[1]&&!u?"0":e+c.substr(h).replace(/(\d{3})(?=\d)/g,"$1"+r),t&&(e+=n+p.slice(-t)),d[1]&&0!=+e&&(e+="e"+d[1]),e}var i=e.defaultOptions,r=e.defaultTime,a=t.getNestedProperty,o=t.isNumber,s=t.pick,l=t.pInt;return{dateFormat:function(e,t,n){return r.dateFormat(e,t,n)},format:function(e,t,o){var s="{",l=!1,c=/f$/,d=/\.([0-9])/,u=i.lang,p=o&&o.time||r;o=o&&o.numberFormatter||n;for(var h=[];e;){var m=e.indexOf(s);if(-1===m)break;var g=e.slice(0,m);if(l){if(g=g.split(":"),s=a(g.shift()||"",t),g.length&&"number"==typeof s)if(g=g.join(":"),c.test(g)){var f=parseInt((g.match(d)||["","-1"])[1],10);null!==s&&(s=o(s,f,u.decimalPoint,-1<g.indexOf(",")?u.thousandsSep:""))}else s=p.dateFormat(g,s);h.push(s)}else h.push(g);e=e.slice(m+1),s=(l=!l)?"}":"{"}return h.push(e),h.join("")},numberFormat:n}}),t(n,"Core/Renderer/RendererUtilities.js",[n["Core/Utilities.js"]],function(e){var t,n=e.clamp,i=e.pick,r=e.stableSort;return function(e){e.distribute=function e(t,a,o){var s,l=t,c=l.reducedLen||a,d=function(e,t){return(t.rank||0)-(e.rank||0)},u=function(e,t){return e.target-t.target},p=!0,h=[],m=0;for(s=t.length;s--;)m+=t[s].size;if(m>c){for(r(t,d),m=s=0;m<=c;)m+=t[s].size,s++;h=t.splice(s-1,t.length)}for(r(t,u),t=t.map(function(e){return{size:e.size,targets:[e.target],align:i(e.align,.5)}});p;){for(s=t.length;s--;)c=t[s],d=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=n(d-c.size*c.align,0,a-c.size);for(s=t.length,p=!1;s--;)0<s&&t[s-1].pos+t[s-1].size>t[s].pos&&(t[s-1].size+=t[s].size,t[s-1].targets=t[s-1].targets.concat(t[s].targets),t[s-1].align=.5,t[s-1].pos+t[s-1].size>a&&(t[s-1].pos=a-t[s-1].size),t.splice(s,1),p=!0)}return l.push.apply(l,h),s=0,t.some(function(t){var n=0;return(t.targets||[]).some(function(){return l[s].pos=t.pos+n,void 0!==o&&Math.abs(l[s].pos-l[s].target)>o?(l.slice(0,s+1).forEach(function(e){return delete e.pos}),l.reducedLen=(l.reducedLen||a)-.1*a,l.reducedLen>.1*a&&e(l,a,o),!0):(n+=l[s].size,s++,!1)})}),r(l,u),l}}(t||(t={})),t}),t(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(e,t,n,i,r){var a=e.animate,o=e.animObject,s=e.stop,l=i.deg2rad,c=i.doc,d=i.noop,u=i.svg,p=i.SVG_NS,h=i.win,m=r.addEvent,g=r.attr,f=r.createElement,v=r.css,y=r.defined,b=r.erase,x=r.extend,_=r.fireEvent,w=r.isArray,S=r.isFunction,C=r.isNumber,k=r.isString,O=r.merge,E=r.objectEach,M=r.pick,I=r.pInt,P=r.syncTimeout,T=r.uniqueKey;return(e=function(){function e(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=p,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return e.prototype._defaultGetter=function(e){return e=M(this[e+"Value"],this[e],this.element?this.element.getAttribute(e):null,0),/^[\-0-9\.]+$/.test(e)&&(e=parseFloat(e)),e},e.prototype._defaultSetter=function(e,t,n){n.setAttribute(t,e)},e.prototype.add=function(e){var t=this.renderer,n=this.element;if(e&&(this.parentGroup=e),this.parentInverted=e&&e.inverted,void 0!==this.textStr&&"text"===this.element.nodeName&&t.buildText(this),this.added=!0,!e||e.handleZ||this.zIndex)var i=this.zIndexSetter();return i||(e?e.element:t.box).appendChild(n),this.onAdd&&this.onAdd(),this},e.prototype.addClass=function(e,t){var n=t?"":this.attr("class")||"";return(e=(e||"").split(/ /g).reduce(function(e,t){return-1===n.indexOf(t)&&e.push(t),e},n?[n]:[]).join(" "))!==n&&this.attr("class",e),this},e.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},e.prototype.align=function(e,t,n){var i,r,a,o={},s=this.renderer,l=s.alignedObjects;e?(this.alignOptions=e,this.alignByTranslate=t,(!n||k(n))&&(this.alignTo=i=n||"renderer",b(l,this),l.push(this),n=void 0)):(e=this.alignOptions,t=this.alignByTranslate,i=this.alignTo),n=M(n,s[i],"scrollablePlotBox"===i?s.plotBox:void 0,s);var c=e.verticalAlign;return s=(n.x||0)+(e.x||0),l=(n.y||0)+(e.y||0),"right"===(i=e.align)?r=1:"center"===i&&(r=2),r&&(s+=(n.width-(e.width||0))/r),o[t?"translateX":"x"]=Math.round(s),"bottom"===c?a=1:"middle"===c&&(a=2),a&&(l+=(n.height-(e.height||0))/a),o[t?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](o),this.placed=!0,this.alignAttr=o,this},e.prototype.alignSetter=function(e){var t={left:"start",center:"middle",right:"end"};t[e]&&(this.alignValue=e,this.element.setAttribute("text-anchor",t[e]))},e.prototype.animate=function(e,t,n){var i=this,r=o(M(t,this.renderer.globalAnimation,!0));return t=r.defer,M(c.hidden,c.msHidden,c.webkitHidden,!1)&&(r.duration=0),0!==r.duration?(n&&(r.complete=n),P(function(){i.element&&a(i,e,r)},t)):(this.attr(e,void 0,n),E(e,function(e,t){r.step&&r.step.call(this,e,{prop:t,pos:1,elem:this})},this)),this},e.prototype.applyTextOutline=function(e){var t=this.element;-1!==e.indexOf("contrast")&&(e=e.replace(/contrast/g,this.renderer.getContrast(t.style.fill)));var n=e.split(" ");if(e=n[n.length-1],(n=n[0])&&"none"!==n&&i.svg){this.fakeTS=!0,this.ySetter=this.xSetter,n=n.replace(/(^[\d\.]+)(.*?)$/g,function(e,t,n){return 2*Number(t)+n}),this.removeTextOutline();var r=c.createElementNS(p,"tspan");g(r,{class:"highcharts-text-outline",fill:e,stroke:e,"stroke-width":n,"stroke-linejoin":"round"}),[].forEach.call(t.childNodes,function(e){var t=e.cloneNode(!0);t.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(function(e){return t.removeAttribute(e)}),r.appendChild(t)});var a=c.createElementNS(p,"tspan");a.textContent="\u200b",["x","y"].forEach(function(e){var n=t.getAttribute(e);n&&a.setAttribute(e,n)}),r.appendChild(a),t.insertBefore(r,t.firstChild)}},e.prototype.attr=function(e,t,n,i){var r,a,o,l=this.element,c=this.symbolCustomAttribs,d=this;if("string"==typeof e&&void 0!==t){var u=e;(e={})[u]=t}return"string"==typeof e?d=(this[e+"Getter"]||this._defaultGetter).call(this,e,l):(E(e,function(t,n){a=!1,i||s(this,n),this.symbolName&&-1!==c.indexOf(n)&&(r||(this.symbolAttr(e),r=!0),a=!0),!this.rotation||"x"!==n&&"y"!==n||(this.doTransform=!0),a||((o=this[n+"Setter"]||this._defaultSetter).call(this,t,n,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(n)&&this.updateShadows(n,t,o))},this),this.afterSetters()),n&&n.call(this),d},e.prototype.clip=function(e){return this.attr("clip-path",e?"url("+this.renderer.url+"#"+e.id+")":"none")},e.prototype.crisp=function(e,t){t=t||e.strokeWidth||0;var n=Math.round(t)%2/2;return e.x=Math.floor(e.x||this.x||0)+n,e.y=Math.floor(e.y||this.y||0)+n,e.width=Math.floor((e.width||this.width||0)-2*n),e.height=Math.floor((e.height||this.height||0)-2*n),y(e.strokeWidth)&&(e.strokeWidth=t),e},e.prototype.complexColor=function(e,t,i){var r,a,o,s,l,c,d,u,p,h,m,g=this.renderer,f=[];_(this.renderer,"complexColor",{args:arguments},function(){if(e.radialGradient?a="radialGradient":e.linearGradient&&(a="linearGradient"),a){if(l=g.gradients,c=e.stops,p=i.radialReference,w(o=e[a])&&(e[a]=o={x1:o[0],y1:o[1],x2:o[2],y2:o[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===a&&p&&!y(o.gradientUnits)&&(o=O(o,g.getRadialAttr(p,s=o),{gradientUnits:"userSpaceOnUse"})),E(o,function(e,t){"id"!==t&&f.push(t,e)}),E(c,function(e){f.push(e)}),f=f.join(","),l[f])h=l[f].attr("id");else{o.id=h=T();var v=l[f]=g.createElement(a).attr(o).add(g.defs);v.radAttr=s,v.stops=[],c.forEach(function(e){0===e[1].indexOf("rgba")?(r=n.parse(e[1]),d=r.get("rgb"),u=r.get("a")):(d=e[1],u=1),e=g.createElement("stop").attr({offset:e[0],"stop-color":d,"stop-opacity":u}).add(v),v.stops.push(e)})}i.setAttribute(t,m="url("+g.url+"#"+h+")"),i.gradient=f,e.toString=function(){return m}}})},e.prototype.css=function(e){var t=this.styles,n={},i=this.element,r=["textOutline","textOverflow","width"],a="",o=!t;if(e&&e.color&&(e.fill=e.color),t&&E(e,function(e,i){t&&t[i]!==e&&(n[i]=e,o=!0)}),o){if(t&&(e=x(t,n)),e)if(null===e.width||"auto"===e.width)delete this.textWidth;else if("text"===i.nodeName.toLowerCase()&&e.width)var s=this.textWidth=I(e.width);if(this.styles=e,s&&!u&&this.renderer.forExport&&delete e.width,i.namespaceURI===this.SVG_NS){var l=function(e,t){return"-"+t.toLowerCase()};E(e,function(e,t){-1===r.indexOf(t)&&(a+=t.replace(/([A-Z])/g,l)+":"+e+";")}),a&&g(i,"style",a)}else v(i,e);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),e&&e.textOutline&&this.applyTextOutline(e.textOutline))}return this},e.prototype.dashstyleSetter=function(e){var t=this["stroke-width"];if("inherit"===t&&(t=1),e=e&&e.toLowerCase()){var n=e.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e=n.length;e--;)n[e]=""+I(n[e])*M(t,NaN);e=n.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",e)}},e.prototype.destroy=function(){var e=this,t=e.element||{},n=e.renderer,i=t.ownerSVGElement,r=n.isSVG&&"SPAN"===t.nodeName&&e.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,s(e),e.clipPath&&i){var a=e.clipPath;[].forEach.call(i.querySelectorAll("[clip-path],[CLIP-PATH]"),function(e){-1<e.getAttribute("clip-path").indexOf(a.element.id)&&e.removeAttribute("clip-path")}),e.clipPath=a.destroy()}if(e.stops){for(i=0;i<e.stops.length;i++)e.stops[i].destroy();e.stops.length=0,e.stops=void 0}for(e.safeRemoveChild(t),n.styledMode||e.destroyShadows();r&&r.div&&0===r.div.childNodes.length;)t=r.parentGroup,e.safeRemoveChild(r.div),delete r.div,r=t;e.alignTo&&b(n.alignedObjects,e),E(e,function(t,n){e[n]&&e[n].parentGroup===e&&e[n].destroy&&e[n].destroy(),delete e[n]})},e.prototype.destroyShadows=function(){(this.shadows||[]).forEach(function(e){this.safeRemoveChild(e)},this),this.shadows=void 0},e.prototype.destroyTextPath=function(e,t){var n=e.getElementsByTagName("text")[0];if(n){if(n.removeAttribute("dx"),n.removeAttribute("dy"),t.element.setAttribute("id",""),this.textPathWrapper&&n.getElementsByTagName("textPath").length){for(e=this.textPathWrapper.element.childNodes;e.length;)n.appendChild(e[0]);n.removeChild(this.textPathWrapper.element)}}else(e.getAttribute("dx")||e.getAttribute("dy"))&&(e.removeAttribute("dx"),e.removeAttribute("dy"));this.textPathWrapper&&(this.textPathWrapper=this.textPathWrapper.destroy())},e.prototype.dSetter=function(e,t,n){w(e)&&("string"==typeof e[0]&&(e=this.renderer.pathToSegments(e)),this.pathArray=e,e=e.reduce(function(e,t,n){return t&&t.join?(n?e+" ":"")+t.join(" "):(t||"").toString()},"")),/(NaN| {2}|^$)/.test(e)&&(e="M 0 0"),this[t]!==e&&(n.setAttribute(t,e),this[t]=e)},e.prototype.fadeOut=function(e){var t=this;t.animate({opacity:0},{duration:M(e,150),complete:function(){t.attr({y:-9999}).hide()}})},e.prototype.fillSetter=function(e,t,n){"string"==typeof e?n.setAttribute(t,e):e&&this.complexColor(e,t,n)},e.prototype.getBBox=function(t,n){var i=this.renderer,r=this.element,a=this.styles,o=this.textStr,s=i.cache,c=i.cacheKeys,d=r.namespaceURI===this.SVG_NS;n=M(n,this.rotation,0);var u,p=i.styledMode?r&&e.prototype.getStyle.call(r,"font-size"):a&&a.fontSize;if(y(o)){var h=o.toString();-1===h.indexOf("<")&&(h=h.replace(/[0-9]/g,"0")),h+=["",n,p,this.textWidth,a&&a.textOverflow,a&&a.fontWeight].join()}if(h&&!t&&(u=s[h]),!u){if(d||i.forExport){try{var m=this.fakeTS&&function(e){var t=r.querySelector(".highcharts-text-outline");t&&v(t,{display:e})};S(m)&&m("none"),u=r.getBBox?x({},r.getBBox()):{width:r.offsetWidth,height:r.offsetHeight},S(m)&&m("")}catch(g){}(!u||0>u.width)&&(u={width:0,height:0})}else u=this.htmlGetBBox();if(i.isSVG&&(t=u.width,i=u.height,d&&(u.height=i={"11px,17":14,"13px,20":16}[(p||"")+","+Math.round(i)]||i),n&&(d=n*l,u.width=Math.abs(i*Math.sin(d))+Math.abs(t*Math.cos(d)),u.height=Math.abs(i*Math.cos(d))+Math.abs(t*Math.sin(d)))),h&&(""===o||0<u.height)){for(;250<c.length;)delete s[c.shift()];s[h]||c.push(h),s[h]=u}}return u},e.prototype.getStyle=function(e){return h.getComputedStyle(this.element||this,"").getPropertyValue(e)},e.prototype.hasClass=function(e){return-1!==(""+this.attr("class")).split(" ").indexOf(e)},e.prototype.hide=function(e){return this.attr(e?{y:-9999}:{visibility:"hidden"}),this},e.prototype.htmlGetBBox=function(){return{height:0,width:0,x:0,y:0}},e.prototype.init=function(e,t){this.element="span"===t?f(t):c.createElementNS(this.SVG_NS,t),this.renderer=e,_(this,"afterInit")},e.prototype.invert=function(e){return this.inverted=e,this.updateTransform(),this},e.prototype.on=function(e,t){var n=this.onEvents;return n[e]&&n[e](),n[e]=m(this.element,e,t),this},e.prototype.opacitySetter=function(e,t,n){this.opacity=e=Number(Number(e).toFixed(3)),n.setAttribute(t,e)},e.prototype.removeClass=function(e){return this.attr("class",(""+this.attr("class")).replace(k(e)?new RegExp("(^| )"+e+"( |$)"):e," ").replace(/ +/g," ").trim())},e.prototype.removeTextOutline=function(){var e=this.element.querySelector("tspan.highcharts-text-outline");e&&this.safeRemoveChild(e)},e.prototype.safeRemoveChild=function(e){var t=e.parentNode;t&&t.removeChild(e)},e.prototype.setRadialReference=function(e){var t=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=e,t&&t.radAttr&&t.animate(this.renderer.getRadialAttr(e,t.radAttr)),this},e.prototype.setTextPath=function(e,n){var i=this.element,r=this.text?this.text.element:i,a={textAnchor:"text-anchor"},o=!1,s=this.textPathWrapper,l=!s;n=O(!0,{enabled:!0,attributes:{dy:-5,startOffset:"50%",textAnchor:"middle"}},n);var c=t.filterUserAttributes(n.attributes);if(e&&n&&n.enabled){s&&null===s.element.parentNode?(l=!0,s=s.destroy()):s&&this.removeTextOutline.call(s.parentGroup),this.options&&this.options.padding&&(c.dx=-this.options.padding),s||(this.textPathWrapper=s=this.renderer.createElement("textPath"),o=!0);var u=s.element;if((n=e.element.getAttribute("id"))||e.element.setAttribute("id",n=T()),l)for(r.setAttribute("y",0),C(c.dx)&&r.setAttribute("x",-c.dx),e=[].slice.call(r.childNodes),l=0;l<e.length;l++){var p=e[l];p.nodeType!==h.Node.TEXT_NODE&&"tspan"!==p.nodeName||u.appendChild(p)}o&&s&&s.add({element:r}),u.setAttributeNS("http://www.w3.org/1999/xlink","href",this.renderer.url+"#"+n),y(c.dy)&&(u.parentNode.setAttribute("dy",c.dy),delete c.dy),y(c.dx)&&(u.parentNode.setAttribute("dx",c.dx),delete c.dx),E(c,function(e,t){u.setAttribute(a[t]||t,e)}),i.removeAttribute("transform"),this.removeTextOutline.call(s),this.text&&!this.renderer.styledMode&&this.attr({fill:"none","stroke-width":0}),this.applyTextOutline=this.updateTransform=d}else s&&(delete this.updateTransform,delete this.applyTextOutline,this.destroyTextPath(i,e),this.updateTransform(),this.options&&this.options.rotation&&this.applyTextOutline(this.options.style.textOutline));return this},e.prototype.shadow=function(e,t,n){var i,r=[],a=this.element,o=this.oldShadowOptions,s={color:"#000000",offsetX:this.parentInverted?-1:1,offsetY:this.parentInverted?-1:1,opacity:.15,width:3},l=!1;if(!0===e?i=s:"object"==typeof e&&(i=x(s,e)),i&&(i&&o&&E(i,function(e,t){e!==o[t]&&(l=!0)}),l&&this.destroyShadows(),this.oldShadowOptions=i),i){if(!this.shadows){var c=i.opacity/i.width,d=this.parentInverted?"translate("+i.offsetY+", "+i.offsetX+")":"translate("+i.offsetX+", "+i.offsetY+")";for(s=1;s<=i.width;s++){var u=a.cloneNode(!1),p=2*i.width+1-2*s;g(u,{stroke:e.color||"#000000","stroke-opacity":c*s,"stroke-width":p,transform:d,fill:"none"}),u.setAttribute("class",(u.getAttribute("class")||"")+" highcharts-shadow"),n&&(g(u,"height",Math.max(g(u,"height")-p,0)),u.cutHeight=p),t?t.element.appendChild(u):a.parentNode&&a.parentNode.insertBefore(u,a),r.push(u)}this.shadows=r}}else this.destroyShadows();return this},e.prototype.show=function(e){return this.attr({visibility:e?"inherit":"visible"})},e.prototype.strokeSetter=function(t,n,i){this[n]=t,this.stroke&&this["stroke-width"]?(e.prototype.fillSetter.call(this,this.stroke,"stroke",i),i.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0):"stroke-width"===n&&0===t&&this.hasStroke?(i.removeAttribute("stroke"),this.hasStroke=!1):this.renderer.styledMode&&this["stroke-width"]&&(i.setAttribute("stroke-width",this["stroke-width"]),this.hasStroke=!0)},e.prototype.strokeWidth=function(){if(!this.renderer.styledMode)return this["stroke-width"]||0;var e=this.getStyle("stroke-width"),t=0;if(e.indexOf("px")===e.length-2)t=I(e);else if(""!==e){var n=c.createElementNS(p,"rect");g(n,{width:e,"stroke-width":0}),this.element.parentNode.appendChild(n),t=n.getBBox().width,n.parentNode.removeChild(n)}return t},e.prototype.symbolAttr=function(e){var t=this;"x y r start end width height innerR anchorX anchorY clockwise".split(" ").forEach(function(n){t[n]=M(e[n],t[n])}),t.attr({d:t.renderer.symbols[t.symbolName](t.x,t.y,t.width,t.height,t)})},e.prototype.textSetter=function(e){e!==this.textStr&&(delete this.textPxLength,this.textStr=e,this.added&&this.renderer.buildText(this))},e.prototype.titleSetter=function(e){var t=this.element,n=t.getElementsByTagName("title")[0]||c.createElementNS(this.SVG_NS,"title");t.insertBefore?t.insertBefore(n,t.firstChild):t.appendChild(n),n.textContent=String(M(e,"")).replace(/<[^>]*>/g,"").replace(/&lt;/g,"<").replace(/&gt;/g,">")},e.prototype.toFront=function(){var e=this.element;return e.parentNode.appendChild(e),this},e.prototype.translate=function(e,t){return this.attr({translateX:e,translateY:t})},e.prototype.updateShadows=function(e,t,n){var i=this.shadows;if(i)for(var r=i.length;r--;)n.call(i[r],"height"===e?Math.max(t-(i[r].cutHeight||0),0):"d"===e?this.d:t,e,i[r])},e.prototype.updateTransform=function(){var e=this.scaleX,t=this.scaleY,n=this.inverted,i=this.rotation,r=this.matrix,a=this.element,o=this.translateX||0,s=this.translateY||0;n&&(o+=this.width,s+=this.height),o=["translate("+o+","+s+")"],y(r)&&o.push("matrix("+r.join(",")+")"),n?o.push("rotate(90) scale(-1,1)"):i&&o.push("rotate("+i+" "+M(this.rotationOriginX,a.getAttribute("x"),0)+" "+M(this.rotationOriginY,a.getAttribute("y")||0)+")"),(y(e)||y(t))&&o.push("scale("+M(e,1)+" "+M(t,1)+")"),o.length&&a.setAttribute("transform",o.join(" "))},e.prototype.visibilitySetter=function(e,t,n){"inherit"===e?n.removeAttribute(t):this[t]!==e&&n.setAttribute(t,e),this[t]=e},e.prototype.xGetter=function(e){return"circle"===this.element.nodeName&&("x"===e?e="cx":"y"===e&&(e="cy")),this._defaultGetter(e)},e.prototype.zIndexSetter=function(e,t){var n=this.renderer,i=this.parentGroup,r=(i||n).element||n.box,a=this.element;n=r===n.box;var o,s=!1,l=this.added;if(y(e)?(a.setAttribute("data-z-index",e),this[t]===(e=+e)&&(l=!1)):y(this[t])&&a.removeAttribute("data-z-index"),this[t]=e,l){for((e=this.zIndex)&&i&&(i.handleZ=!0),o=(t=r.childNodes).length-1;0<=o&&!s;o--){l=(i=t[o]).getAttribute("data-z-index");var c=!y(l);i!==a&&(0>e&&c&&!n&&!o?(r.insertBefore(a,t[o]),s=!0):(I(l)<=e||c&&(!y(e)||0<=e))&&(r.insertBefore(a,t[o+1]||null),s=!0))}s||(r.insertBefore(a,t[n?3:0]||null),s=!0)}return s},e}()).prototype["stroke-widthSetter"]=e.prototype.strokeSetter,e.prototype.yGetter=e.prototype.xGetter,e.prototype.matrixSetter=e.prototype.rotationOriginXSetter=e.prototype.rotationOriginYSetter=e.prototype.rotationSetter=e.prototype.scaleXSetter=e.prototype.scaleYSetter=e.prototype.translateXSetter=e.prototype.translateYSetter=e.prototype.verticalAlignSetter=function(e,t){this[t]=e,this.doTransform=!0},e}),t(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],function(e){var t;return function(t){var n;t.rendererTypes={},t.getRendererType=function(e){return void 0===e&&(e=n),t.rendererTypes[e]||t.rendererTypes[n]},t.registerRendererType=function(i,r,a){t.rendererTypes[i]=r,n&&!a||(n=i,e.Renderer=r)}}(t||(t={})),t}),t(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(e,t){var n,i=this&&this.__extends||(n=function(e,t){return(n=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])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),r=t.defined,a=t.extend,o=t.isNumber,s=t.merge,l=t.pick,c=t.removeEvent;return function(t){function n(e,i,r,a,o,s,l,c,d,u){var p,h=t.call(this)||this;return h.paddingLeftSetter=h.paddingSetter,h.paddingRightSetter=h.paddingSetter,h.init(e,"g"),h.textStr=i,h.x=r,h.y=a,h.anchorX=s,h.anchorY=l,h.baseline=d,h.className=u,h.addClass("button"===u?"highcharts-no-tooltip":"highcharts-label"),u&&h.addClass("highcharts-"+u),h.text=e.text(void 0,0,0,c).attr({zIndex:1}),"string"==typeof o&&((p=/^url\((.*?)\)$/.test(o))||h.renderer.symbols[o])&&(h.symbolKey=o),h.bBox=n.emptyBBox,h.padding=3,h.baselineOffset=0,h.needsBox=e.styledMode||p,h.deferredAttr={},h.alignFactor=0,h}return i(n,t),n.prototype.alignSetter=function(e){(e={left:0,center:.5,right:1}[e])!==this.alignFactor&&(this.alignFactor=e,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},n.prototype.anchorXSetter=function(e,t){this.anchorX=e,this.boxAttr(t,Math.round(e)-this.getCrispAdjust()-this.xSetting)},n.prototype.anchorYSetter=function(e,t){this.anchorY=e,this.boxAttr(t,e-this.ySetting)},n.prototype.boxAttr=function(e,t){this.box?this.box.attr(e,t):this.deferredAttr[e]=t},n.prototype.css=function(t){if(t){var i={};t=s(t),n.textProps.forEach(function(e){void 0!==t[e]&&(i[e]=t[e],delete t[e])}),this.text.css(i);var r="width"in i;"fontSize"in i||"fontWeight"in i?this.updateTextPadding():r&&this.updateBoxSize()}return e.prototype.css.call(this,t)},n.prototype.destroy=function(){c(this.element,"mouseenter"),c(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),e.prototype.destroy.call(this)},n.prototype.fillSetter=function(e,t){e&&(this.needsBox=!0),this.fill=e,this.boxAttr(t,e)},n.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var e=this.padding,t=l(this.paddingLeft,e);return{width:this.width,height:this.height,x:this.bBox.x-t,y:this.bBox.y-e}},n.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},n.prototype.heightSetter=function(e){this.heightSetting=e},n.prototype.onAdd=function(){var e=this.textStr;this.text.add(this),this.attr({text:r(e)?e:"",x:this.x,y:this.y}),this.box&&r(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},n.prototype.paddingSetter=function(e,t){o(e)?e!==this[t]&&(this[t]=e,this.updateTextPadding()):this[t]=void 0},n.prototype.rSetter=function(e,t){this.boxAttr(t,e)},n.prototype.shadow=function(e){return e&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(e)),this},n.prototype.strokeSetter=function(e,t){this.stroke=e,this.boxAttr(t,e)},n.prototype["stroke-widthSetter"]=function(e,t){e&&(this.needsBox=!0),this["stroke-width"]=e,this.boxAttr(t,e)},n.prototype["text-alignSetter"]=function(e){this.textAlign=e},n.prototype.textSetter=function(e){void 0!==e&&this.text.attr({text:e}),this.updateTextPadding()},n.prototype.updateBoxSize=function(){var e=this.text.element.style,t={},i=this.padding,s=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!r(this.text.textStr)?n.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||s.height||0)+2*i,e=this.renderer.fontMetrics(e&&e.fontSize,this.text),this.baselineOffset=i+Math.min((this.text.firstLineMetrics||e).b,s.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&(this.box||((i=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),i.add(this)),i=this.getCrispAdjust(),t.x=i,t.y=(this.baseline?-this.baselineOffset:0)+i,t.width=Math.round(this.width),t.height=Math.round(this.height),this.box.attr(a(t,this.deferredAttr)),this.deferredAttr={})},n.prototype.updateTextPadding=function(){var e=this.text;this.updateBoxSize();var t=this.baseline?0:this.baselineOffset,n=l(this.paddingLeft,this.padding);r(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(n+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),n===e.x&&t===e.y||(e.attr("x",n),e.hasBoxWidthChanged&&(this.bBox=e.getBBox(!0)),void 0!==t&&e.attr("y",t)),e.x=n,e.y=t},n.prototype.widthSetter=function(e){this.widthSetting=o(e)?e:void 0},n.prototype.getPaddedWidth=function(){var e=this.padding,t=l(this.paddingLeft,e);return e=l(this.paddingRight,e),(this.widthSetting||this.bBox.width||0)+t+e},n.prototype.xSetter=function(e){this.x=e,this.alignFactor&&(e-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(e),this.attr("translateX",this.xSetting)},n.prototype.ySetter=function(e){this.ySetting=this.y=Math.round(e),this.attr("translateY",this.ySetting)},n.emptyBBox={width:0,height:0,x:0,y:0},n.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),n}(e)}),t(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],function(e){function t(e,t,n,i,a){var s=[];if(a){var l=a.start||0,c=o(a.r,n);n=o(a.r,i||n);var d=(a.end||0)-.001;i=a.innerR;var u=o(a.open,.001>Math.abs((a.end||0)-l-2*Math.PI)),p=Math.cos(l),h=Math.sin(l),m=Math.cos(d),g=Math.sin(d);l=o(a.longArc,.001>d-l-Math.PI?0:1),s.push(["M",e+c*p,t+n*h],["A",c,n,0,l,o(a.clockwise,1),e+c*m,t+n*g]),r(i)&&s.push(u?["M",e+i*m,t+i*g]:["L",e+i*m,t+i*g],["A",i,i,0,l,r(a.clockwise)?1-a.clockwise:0,e+i*p,t+i*h]),u||s.push(["Z"])}return s}function n(e,t,n,r,a){return a&&a.r?i(e,t,n,r,a):[["M",e,t],["L",e+n,t],["L",e+n,t+r],["L",e,t+r],["Z"]]}function i(e,t,n,i,r){return[["M",e+(r=r&&r.r||0),t],["L",e+n-r,t],["C",e+n,t,e+n,t,e+n,t+r],["L",e+n,t+i-r],["C",e+n,t+i,e+n,t+i,e+n-r,t+i],["L",e+r,t+i],["C",e,t+i,e,t+i,e,t+i-r],["L",e,t+r],["C",e,t,e,t,e+r,t]]}var r=e.defined,a=e.isNumber,o=e.pick;return{arc:t,callout:function(e,t,n,r,o){var s=Math.min(o&&o.r||0,n,r),l=s+6,c=o&&o.anchorX;o=o&&o.anchorY||0;var d=i(e,t,n,r,{r:s});return a(c)?(e+c>=n?o>t+l&&o<t+r-l?d.splice(3,1,["L",e+n,o-6],["L",e+n+6,o],["L",e+n,o+6],["L",e+n,t+r-s]):d.splice(3,1,["L",e+n,r/2],["L",c,o],["L",e+n,r/2],["L",e+n,t+r-s]):0>=e+c?o>t+l&&o<t+r-l?d.splice(7,1,["L",e,o+6],["L",e-6,o],["L",e,o-6],["L",e,t+s]):d.splice(7,1,["L",e,r/2],["L",c,o],["L",e,r/2],["L",e,t+s]):o&&o>r&&c>e+l&&c<e+n-l?d.splice(5,1,["L",c+6,t+r],["L",c,t+r+6],["L",c-6,t+r],["L",e+s,t+r]):o&&0>o&&c>e+l&&c<e+n-l&&d.splice(1,1,["L",c-6,t],["L",c,t-6],["L",c+6,t],["L",n-s,t]),d):d},circle:function(e,n,i,r){return t(e+i/2,n+r/2,i/2,r/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(e,t,n,i){return[["M",e+n/2,t],["L",e+n,t+i/2],["L",e+n/2,t+i],["L",e,t+i/2],["Z"]]},rect:n,roundedRect:i,square:n,triangle:function(e,t,n,i){return[["M",e+n/2,t],["L",e+n,t+i],["L",e,t+i],["Z"]]},"triangle-down":function(e,t,n,i){return[["M",e,t],["L",e+n,t],["L",e+n/2,t+i],["Z"]]}}}),t(n,"Core/Renderer/SVG/TextBuilder.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(e,t,n){var i=t.doc,r=t.SVG_NS,a=t.win,o=n.attr,s=n.isString,l=n.objectEach,c=n.pick;return function(){function t(e){var t=e.styles;this.renderer=e.renderer,this.svgElement=e,this.width=e.textWidth,this.textLineHeight=t&&t.lineHeight,this.textOutline=t&&t.textOutline,this.ellipsis=!(!t||"ellipsis"!==t.textOverflow),this.noWrap=!(!t||"nowrap"!==t.whiteSpace),this.fontSize=t&&t.fontSize}return t.prototype.buildSVG=function(){var t=this.svgElement,n=t.element,r=t.renderer,a=c(t.textStr,"").toString(),o=-1!==a.indexOf("<"),l=n.childNodes;r=this.width&&!t.added&&r.box;var d=[a,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,this.fontSize,this.width].join();if(d!==t.textCache){for(t.textCache=d,delete t.actualWidth,d=l.length;d--;)n.removeChild(l[d]);o||this.ellipsis||this.width||-1!==a.indexOf(" ")&&(!this.noWrap||/<br.*?>/g.test(a))?""!==a&&(r&&r.appendChild(n),a=new e(a),this.modifyTree(a.nodes),a.addToDOM(t.element),this.modifyDOM(),this.ellipsis&&-1!==(n.textContent||"").indexOf("\u2026")&&t.attr("title",this.unescapeEntities(t.textStr||"",["&lt;","&gt;"])),r&&r.removeChild(n)):n.appendChild(i.createTextNode(this.unescapeEntities(a))),s(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},t.prototype.modifyDOM=function(){var e,t=this,n=this.svgElement,s=o(n.element,"x");for(n.firstLineMetrics=void 0;(e=n.element.firstChild)&&/^[\s\u200B]*$/.test(e.textContent||" ");)n.element.removeChild(e);[].forEach.call(n.element.querySelectorAll("tspan.highcharts-br"),function(e,i){e.nextSibling&&e.previousSibling&&(0===i&&1===e.previousSibling.nodeType&&(n.firstLineMetrics=n.renderer.fontMetrics(void 0,e.previousSibling)),o(e,{dy:t.getLineHeight(e.nextSibling),x:s}))});var l=this.width||0;if(l){var c=function(e,a){var c=e.textContent||"",d=c.replace(/([^\^])-/g,"$1- ").split(" "),u=!t.noWrap&&(1<d.length||1<n.element.childNodes.length),p=t.getLineHeight(a),h=0,m=n.actualWidth;if(t.ellipsis)c&&t.truncate(e,c,void 0,0,Math.max(0,l-parseInt(t.fontSize||12,10)),function(e,t){return e.substring(0,t)+"\u2026"});else if(u){for(c=[],u=[];a.firstChild&&a.firstChild!==e;)u.push(a.firstChild),a.removeChild(a.firstChild);for(;d.length;)d.length&&!t.noWrap&&0<h&&(c.push(e.textContent||""),e.textContent=d.join(" ").replace(/- /g,"-")),t.truncate(e,void 0,d,0===h&&m||0,l,function(e,t){return d.slice(0,t).join(" ").replace(/- /g,"-")}),m=n.actualWidth,h++;u.forEach(function(t){a.insertBefore(t,e)}),c.forEach(function(t){a.insertBefore(i.createTextNode(t),e),(t=i.createElementNS(r,"tspan")).textContent="\u200b",o(t,{dy:p,x:s}),a.insertBefore(t,e)})}};!function e(t){[].slice.call(t.childNodes).forEach(function(i){i.nodeType===a.Node.TEXT_NODE?c(i,t):(-1!==i.className.baseVal.indexOf("highcharts-br")&&(n.actualWidth=0),e(i))})}(n.element)}},t.prototype.getLineHeight=function(e){var t;return e=e.nodeType===a.Node.TEXT_NODE?e.parentElement:e,this.renderer.styledMode||(t=e&&/(px|em)$/.test(e.style.fontSize)?e.style.fontSize:this.fontSize||this.renderer.style.fontSize||12),this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(t,e||this.svgElement.element).h},t.prototype.modifyTree=function(e){var t=this;e.forEach(function n(i,r){var a=i.attributes;a=void 0===a?{}:a;var o=i.children,l=i.tagName,c=t.renderer.styledMode;"b"===l||"strong"===l?c?a.class="highcharts-strong":a.style="font-weight:bold;"+(a.style||""):"i"!==l&&"em"!==l||(c?a.class="highcharts-emphasized":a.style="font-style:italic;"+(a.style||"")),s(a.style)&&(a.style=a.style.replace(/(;| |^)color([ :])/,"$1fill$2")),"br"===l?(a.class="highcharts-br",i.textContent="\u200b",(r=e[r+1])&&r.textContent&&(r.textContent=r.textContent.replace(/^ +/gm,""))):"a"===l&&o&&o.some(function(e){return"#text"===e.tagName})&&(i.children=[{children:o,tagName:"tspan"}]),"#text"!==l&&"a"!==l&&(i.tagName="tspan"),i.attributes=a,o&&o.filter(function(e){return"#text"!==e.tagName}).forEach(n)})},t.prototype.truncate=function(e,t,n,i,r,a){var o,s=this.svgElement,l=s.renderer,c=s.rotation,d=[],u=n?1:0,p=(t||n||"").length,h=p,m=function(r,o){o=o||r;var c=e.parentNode;if(c&&void 0===d[o])if(c.getSubStringLength)try{d[o]=i+c.getSubStringLength(0,n?o+1:o)}catch(u){}else l.getSpanWidth&&(e.textContent=a(t||n,r),d[o]=i+l.getSpanWidth(s,e));return d[o]};s.rotation=0;var g=m(e.textContent.length);if(i+g>r){for(;u<=p;)h=Math.ceil((u+p)/2),n&&(o=a(n,h)),g=m(h,o&&o.length-1),u===p?u=p+1:g>r?p=h-1:u=h;0===p?e.textContent="":t&&p===t.length-1||(e.textContent=o||a(t||n,h))}n&&n.splice(0,h),s.actualWidth=g,s.rotation=c},t.prototype.unescapeEntities=function(e,t){return l(this.renderer.escapes,function(n,i){t&&-1!==t.indexOf(n)||(e=e.toString().replace(new RegExp(n,"g"),i))}),e},t}()}),t(n,"Core/Renderer/SVG/SVGRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGLabel.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Renderer/SVG/TextBuilder.js"],n["Core/Utilities.js"]],function(e,t,n,i,r,a,o,s,l){var c,d=n.charts,u=n.deg2rad,p=n.doc,h=n.isFirefox,m=n.isMS,g=n.isWebKit,f=n.noop,v=n.SVG_NS,y=n.symbolSizes,b=n.win,x=l.addEvent,_=l.attr,w=l.createElement,S=l.css,C=l.defined,k=l.destroyObjectProperties,O=l.extend,E=l.isArray,M=l.isNumber,I=l.isObject,P=l.isString,T=l.merge,D=l.pick,L=l.pInt,R=l.uniqueKey;return n=function(){function n(e,t,n,i,r,a,o){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(e,t,n,i,r,a,o)}return n.prototype.init=function(e,t,n,i,r,a,o){var s,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),c=l.element;o||l.css(this.getStyle(i)),e.appendChild(c),_(e,"dir","ltr"),-1===e.innerHTML.indexOf("xmlns")&&_(c,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=c,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(p.createTextNode("Created with Highcharts 9.3.3")),this.defs=this.createElement("defs").add(),this.allowHTML=a,this.forExport=r,this.styledMode=o,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(t,n,!1),h&&e.getBoundingClientRect&&((t=function(){S(e,{left:0,top:0}),s=e.getBoundingClientRect(),S(e,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=x(b,"resize",t))},n.prototype.definition=function(t){return new e([t]).addToDOM(this.defs.element)},n.prototype.getReferenceURL=function(){if((h||g)&&p.getElementsByTagName("base").length){if(!C(c)){var t=R();t=new e([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:t},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+t+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(p.body),S(t,{position:"fixed",top:0,left:0,zIndex:9e5});var n=p.elementFromPoint(6,6);c="hitme"===(n&&n.id),p.body.removeChild(t)}if(c)return b.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},n.prototype.getStyle=function(e){return this.style=O({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},e)},n.prototype.setStyle=function(e){this.boxWrapper.css(this.getStyle(e))},n.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},n.prototype.destroy=function(){var e=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),k(this.gradients||{}),this.gradients=null,e&&(this.defs=e.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},n.prototype.createElement=function(e){var t=new this.Element;return t.init(this,e),t},n.prototype.getRadialAttr=function(e,t){return{cx:e[0]-e[2]/2+(t.cx||0)*e[2],cy:e[1]-e[2]/2+(t.cy||0)*e[2],r:(t.r||0)*e[2]}},n.prototype.buildText=function(e){new s(e).buildSVG()},n.prototype.getContrast=function(e){return(e=t.parse(e).rgba)[0]*=1,e[1]*=1.2,e[2]*=.5,459<e[0]+e[1]+e[2]?"#000000":"#FFFFFF"},n.prototype.button=function(t,n,i,r,a,o,s,l,c,d){var u=this.label(t,n,i,c,void 0,void 0,d,void 0,"button"),p=this.styledMode,h=0,g=a?T(a):{};if(t=g&&g.style||{},g=e.filterUserAttributes(g),u.attr(T({padding:8,r:2},g)),!p){var f=(g=T({fill:"#f7f7f7",stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontWeight:"normal"}},{style:t},g)).style;delete g.style;var v=(o=T(g,{fill:"#e6e6e6"},e.filterUserAttributes(o||{}))).style;delete o.style;var y=(s=T(g,{fill:"#e6ebf5",style:{color:"#000000",fontWeight:"bold"}},e.filterUserAttributes(s||{}))).style;delete s.style;var b=(l=T(g,{style:{color:"#cccccc"}},e.filterUserAttributes(l||{}))).style;delete l.style}return x(u.element,m?"mouseover":"mouseenter",function(){3!==h&&u.setState(1)}),x(u.element,m?"mouseout":"mouseleave",function(){3!==h&&u.setState(h)}),u.setState=function(e){1!==e&&(u.state=h=e),u.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][e||0]),p||u.attr([g,o,s,l][e||0]).css([f,v,y,b][e||0])},p||u.attr(g).css(O({cursor:"default"},f)),u.on("touchstart",function(e){return e.stopPropagation()}).on("click",function(e){3!==h&&r.call(u,e)})},n.prototype.crispLine=function(e,t,n){void 0===n&&(n="round");var i=e[0],r=e[1];return C(i[1])&&i[1]===r[1]&&(i[1]=r[1]=Math[n](i[1])-t%2/2),C(i[2])&&i[2]===r[2]&&(i[2]=r[2]=Math[n](i[2])+t%2/2),e},n.prototype.path=function(e){var t=this.styledMode?{}:{fill:"none"};return E(e)?t.d=e:I(e)&&O(t,e),this.createElement("path").attr(t)},n.prototype.circle=function(e,t,n){return e=I(e)?e:void 0===e?{}:{x:e,y:t,r:n},(t=this.createElement("circle")).xSetter=t.ySetter=function(e,t,n){n.setAttribute("c"+t,e)},t.attr(e)},n.prototype.arc=function(e,t,n,i,r,a){return I(e)?(t=(i=e).y,n=i.r,e=i.x):i={innerR:i,start:r,end:a},(e=this.symbol("arc",e,t,n,n,i)).r=n,e},n.prototype.rect=function(e,t,n,i,r,a){r=I(e)?e.r:r;var o=this.createElement("rect");return e=I(e)?e:void 0===e?{}:{x:e,y:t,width:Math.max(n,0),height:Math.max(i,0)},this.styledMode||(void 0!==a&&(e["stroke-width"]=a,e=o.crisp(e)),e.fill="none"),r&&(e.r=r),o.rSetter=function(e,t,n){o.r=e,_(n,{rx:e,ry:e})},o.rGetter=function(){return o.r||0},o.attr(e)},n.prototype.setSize=function(e,t,n){this.width=e,this.height=t,this.boxWrapper.animate({width:e,height:t},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:D(n,!0)?void 0:0}),this.alignElements()},n.prototype.g=function(e){var t=this.createElement("g");return e?t.attr({class:"highcharts-"+e}):t},n.prototype.image=function(e,t,n,i,r,a){var o={preserveAspectRatio:"none"},s=function(e,t){e.setAttributeNS?e.setAttributeNS("http://www.w3.org/1999/xlink","href",t):e.setAttribute("hc-svg-href",t)};M(t)&&(o.x=t),M(n)&&(o.y=n),M(i)&&(o.width=i),M(r)&&(o.height=r);var l=this.createElement("image").attr(o);return t=function(t){s(l.element,e),a.call(l,t)},a?(s(l.element,"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n=new b.Image,x(n,"load",t),n.src=e,n.complete&&t({})):s(l.element,e),l},n.prototype.symbol=function(e,t,n,i,r,a){var o,s=this,l=/^url\((.*?)\)$/,c=l.test(e),u=!c&&(this.symbols[e]?e:"circle"),h=u&&this.symbols[u];if(h){"number"==typeof t&&(o=h.call(this.symbols,Math.round(t||0),Math.round(n||0),i||0,r||0,a));var m=this.path(o);s.styledMode||m.attr("fill","none"),O(m,{symbolName:u||void 0,x:t,y:n,width:i,height:r}),a&&O(m,a)}else if(c){var g=e.match(l)[1],f=m=this.image(g);f.imgwidth=D(y[g]&&y[g].width,a&&a.width),f.imgheight=D(y[g]&&y[g].height,a&&a.height);var v=function(e){return e.attr({width:e.width,height:e.height})};["width","height"].forEach(function(e){f[e+"Setter"]=function(e,t){var n=this["img"+t];this[t]=e,C(n)&&(a&&"within"===a.backgroundSize&&this.width&&this.height&&(n=Math.round(n*Math.min(this.width/this.imgwidth,this.height/this.imgheight))),this.element&&this.element.setAttribute(t,n),this.alignByTranslate||(e=((this[t]||0)-n)/2,this.attr("width"===t?{translateX:e}:{translateY:e})))}}),C(t)&&f.attr({x:t,y:n}),f.isImg=!0,C(f.imgwidth)&&C(f.imgheight)?v(f):(f.attr({width:0,height:0}),w("img",{onload:function(){var e=d[s.chartIndex];0===this.width&&(S(this,{position:"absolute",top:"-999em"}),p.body.appendChild(this)),y[g]={width:this.width,height:this.height},f.imgwidth=this.width,f.imgheight=this.height,f.element&&v(f),this.parentNode&&this.parentNode.removeChild(this),s.imgCount--,s.imgCount||!e||e.hasLoaded||e.onload()},src:g}),this.imgCount++)}return m},n.prototype.clipRect=function(e,t,n,i){var r=R()+"-",a=this.createElement("clipPath").attr({id:r}).add(this.defs);return(e=this.rect(e,t,n,i,0).add(a)).id=r,e.clipPath=a,e.count=0,e},n.prototype.text=function(e,t,n,i){var r={};return!i||!this.allowHTML&&this.forExport?(r.x=Math.round(t||0),n&&(r.y=Math.round(n)),C(e)&&(r.text=e),e=this.createElement("text").attr(r),(!i||this.forExport&&!this.allowHTML)&&(e.xSetter=function(e,t,n){for(var i,r=n.getElementsByTagName("tspan"),a=n.getAttribute(t),o=0;o<r.length;o++)(i=r[o]).getAttribute(t)===a&&i.setAttribute(t,e);n.setAttribute(t,e)}),e):this.html(e,t,n)},n.prototype.fontMetrics=function(e,t){return e=!this.styledMode&&/px/.test(e)||!b.getComputedStyle?e||t&&t.style&&t.style.fontSize||this.style&&this.style.fontSize:t&&r.prototype.getStyle.call(t,"font-size"),{h:t=24>(e=/px/.test(e)?L(e):12)?e+3:Math.round(1.2*e),b:Math.round(.8*t),f:e}},n.prototype.rotCorr=function(e,t,n){var i=e;return t&&n&&(i=Math.max(i*Math.cos(t*u),4)),{x:-e/3*Math.sin(t*u),y:i}},n.prototype.pathToSegments=function(e){for(var t=[],n=[],i={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},r=0;r<e.length;r++)P(n[0])&&M(e[r])&&n.length===i[n[0].toUpperCase()]&&e.splice(r,0,n[0].replace("M","L").replace("m","l")),"string"==typeof e[r]&&(n.length&&t.push(n.slice(0)),n.length=0),n.push(e[r]);return t.push(n.slice(0)),t},n.prototype.label=function(e,t,n,i,r,o,s,l,c){return new a(this,e,t,n,i,r,o,s,l,c)},n.prototype.alignElements=function(){this.alignedObjects.forEach(function(e){return e.align()})},n}(),O(n.prototype,{Element:r,SVG_NS:v,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:o,draw:f}),i.registerRendererType("svg",n,!0),n}),t(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=e.isFirefox,o=e.isMS,s=e.isWebKit,l=e.win,c=n.css,d=n.defined,u=n.extend,p=n.pick,h=n.pInt;return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r(t,e),t.compose=function(e){if(-1===t.composedClasses.indexOf(e)){t.composedClasses.push(e);var n=t.prototype,i=e.prototype;i.getSpanCorrection=n.getSpanCorrection,i.htmlCss=n.htmlCss,i.htmlGetBBox=n.htmlGetBBox,i.htmlUpdateTransform=n.htmlUpdateTransform,i.setSpanRotation=n.setSpanRotation}return e},t.prototype.getSpanCorrection=function(e,t,n){this.xCorr=-e*n,this.yCorr=-t},t.prototype.htmlCss=function(e){var t="SPAN"===this.element.tagName&&e&&"width"in e,n=p(t&&e.width,void 0);if(t){delete e.width,this.textWidth=n;var i=!0}return e&&"ellipsis"===e.textOverflow&&(e.whiteSpace="nowrap",e.overflow="hidden"),this.styles=u(this.styles,e),c(this.element,e),i&&this.htmlUpdateTransform(),this},t.prototype.htmlGetBBox=function(){var e=this.element;return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}},t.prototype.htmlUpdateTransform=function(){if(this.added){var e=this.renderer,t=this.element,n=this.translateX||0,i=this.translateY||0,r=this.x||0,a=this.y||0,o=this.textAlign||"left",s={left:0,center:.5,right:1}[o],l=this.styles;if(l=l&&l.whiteSpace,c(t,{marginLeft:n,marginTop:i}),!e.styledMode&&this.shadows&&this.shadows.forEach(function(e){c(e,{marginLeft:n+1,marginTop:i+1})}),this.inverted&&[].forEach.call(t.childNodes,function(n){e.invertChild(n,t)}),"SPAN"===t.tagName){var u=this.rotation,p=this.textWidth&&h(this.textWidth),m=[u,o,t.innerHTML,this.textWidth,this.textAlign].join(),g=void 0;if(g=!1,p!==this.oldTextWidth){if(this.textPxLength)var f=this.textPxLength;else c(t,{width:"",whiteSpace:l||"nowrap"}),f=t.offsetWidth;(p>this.oldTextWidth||f>p)&&(/[ \-]/.test(t.textContent||t.innerText)||"ellipsis"===t.style.textOverflow)&&(c(t,{width:f>p||u?p+"px":"auto",display:"block",whiteSpace:l||"normal"}),this.oldTextWidth=p,g=!0)}this.hasBoxWidthChanged=g,m!==this.cTT&&(g=e.fontMetrics(t.style.fontSize,t).b,!d(u)||u===(this.oldRotation||0)&&o===this.oldAlign||this.setSpanRotation(u,s,g),this.getSpanCorrection(!d(u)&&this.textPxLength||t.offsetWidth,g,s,u,o)),c(t,{left:r+(this.xCorr||0)+"px",top:a+(this.yCorr||0)+"px"}),this.cTT=m,this.oldRotation=u,this.oldAlign=o}}else this.alignOnAdd=!0},t.prototype.setSpanRotation=function(e,t,n){var i={},r=o&&!/Edge/.test(l.navigator.userAgent)?"-ms-transform":s?"-webkit-transform":a?"MozTransform":l.opera?"-o-transform":void 0;r&&(i[r]=i.transform="rotate("+e+"deg)",i[r+(a?"Origin":"-origin")]=i.transformOrigin=100*t+"% "+n+"px",c(this.element,i))},t.composedClasses=[],t}(t)}),t(n,"Core/Renderer/HTML/HTMLRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Utilities.js"]],function(e,t,n,i){var r,a=this&&this.__extends||(r=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=i.attr,s=i.createElement,l=i.extend,c=i.pick;return function(n){function i(){return null!==n&&n.apply(this,arguments)||this}return a(i,n),i.compose=function(e){return-1===i.composedClasses.indexOf(e)&&(i.composedClasses.push(e),e.prototype.html=i.prototype.html),e},i.prototype.html=function(n,i,r){var a=this.createElement("span"),d=a.element,u=a.renderer,p=u.isSVG,h=function(e,n){["opacity","visibility"].forEach(function(i){e[i+"Setter"]=function(r,a,o){var s=e.div?e.div.style:n;t.prototype[i+"Setter"].call(this,r,a,o),s&&(s[a]=r)}}),e.addedSetters=!0};return a.textSetter=function(t){t!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,e.setElementHTML(this.element,c(t,"")),this.textStr=t,a.doTransform=!0)},p&&h(a,a.element.style),a.xSetter=a.ySetter=a.alignSetter=a.rotationSetter=function(e,t){"align"===t?a.alignValue=a.textAlign=e:a[t]=e,a.doTransform=!0},a.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},a.attr({text:n,x:Math.round(i),y:Math.round(r)}).css({position:"absolute"}),u.styledMode||a.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),d.style.whiteSpace="nowrap",a.css=a.htmlCss,p&&(a.add=function(e){var t=u.box.parentNode,n=[];if(this.parentGroup=e){var i=e.div;if(!i){for(;e;)n.push(e),e=e.parentGroup;n.reverse().forEach(function(e){function r(t,n){e[n]=t,"translateX"===n?u.left=t+"px":u.top=t+"px",e.doTransform=!0}var c=o(e.element,"class"),d=e.styles||{},u=(i=e.div=e.div||s("div",c?{className:c}:void 0,{position:"absolute",left:(e.translateX||0)+"px",top:(e.translateY||0)+"px",display:e.display,opacity:e.opacity,cursor:d.cursor,pointerEvents:d.pointerEvents,visibility:e.visibility},i||t)).style;l(e,{classSetter:function(e){return function(t){this.element.setAttribute("class",t),e.className=t}}(i),on:function(){return n[0].div&&a.on.apply({element:n[0].div,onEvents:e.onEvents},arguments),e},translateXSetter:r,translateYSetter:r}),e.addedSetters||h(e)})}}else i=t;return i.appendChild(d),a.added=!0,a.alignOnAdd&&a.htmlUpdateTransform(),a}),a},i.composedClasses=[],i}(n)}),t(n,"Core/Axis/AxisDefaults.js",[],function(){var e;return function(e){e.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},e.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},e.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},e.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},e.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},e.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(e||(e={})),e}),t(n,"Core/Foundation.js",[n["Core/Utilities.js"]],function(e){var t,n=e.addEvent,i=e.isFunction,r=e.objectEach,a=e.removeEvent;return function(e){e.registerEventOptions=function(e,t){e.eventOptions=e.eventOptions||{},r(t.events,function(t,r){e.eventOptions[r]!==t&&(e.eventOptions[r]&&(a(e,r,e.eventOptions[r]),delete e.eventOptions[r]),i(t)&&(e.eventOptions[r]=t,n(e,r,t)))})}}(t||(t={})),t}),t(n,"Core/Axis/Tick.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(e,t,n){var i=t.deg2rad,r=n.clamp,a=n.correctFloat,o=n.defined,s=n.destroyObjectProperties,l=n.extend,c=n.fireEvent,d=n.isNumber,u=n.merge,p=n.objectEach,h=n.pick;return function(){function t(e,t,n,i,r){this.isNewLabel=this.isNew=!0,this.axis=e,this.pos=t,this.type=n||"",this.parameters=r||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),n||i||this.addLabel()}return t.prototype.addLabel=function(){var t=this,n=t.axis,i=n.options,r=n.chart,s=n.categories,u=n.logarithmic,p=n.names,m=t.pos,g=h(t.options&&t.options.labels,i.labels),f=n.tickPositions,v=m===f[0],y=m===f[f.length-1],b=(!g.step||1===g.step)&&1===n.tickInterval;f=f.info;var x,_=t.label;if(s=this.parameters.category||(s?h(s[m],p[m],m):m),u&&d(s)&&(s=a(u.lin2log(s))),n.dateTime)if(f)var w=r.time.resolveDTLFormat(i.dateTimeLabelFormats[!i.grid&&f.higherRanks[m]||f.unitName]),S=w.main;else d(s)&&(S=n.dateTime.getXDateFormat(s,i.dateTimeLabelFormats||{}));t.isFirst=v,t.isLast=y;var C={axis:n,chart:r,dateTimeLabelFormat:S,isFirst:v,isLast:y,pos:m,tick:t,tickPositionInfo:f,value:s};c(this,"labelFormat",C);var k=function(t){return g.formatter?g.formatter.call(t,t):g.format?(t.text=n.defaultLabelFormatter.call(t),e.format(g.format,t,r)):n.defaultLabelFormatter.call(t,t)};i=k.call(C,C);var O=w&&w.list;t.shortenLabel=O?function(){for(x=0;x<O.length;x++)if(l(C,{dateTimeLabelFormat:O[x]}),_.attr({text:k.call(C,C)}),_.getBBox().width<n.getSlotWidth(t)-2*g.padding)return;_.attr({text:""})}:void 0,b&&n._addedPlotLB&&t.moveLabel(i,g),o(_)||t.movedLabel?_&&_.textStr!==i&&!b&&(!_.textWidth||g.style.width||_.styles.width||_.css({width:null}),_.attr({text:i}),_.textPxLength=_.getBBox().width):(t.label=_=t.createLabel({x:0,y:0},i,g),t.rotation=0)},t.prototype.createLabel=function(e,t,n){var i=this.axis,r=i.chart;return(e=o(t)&&n.enabled?r.renderer.text(t,e.x,e.y,n.useHTML).add(i.labelGroup):null)&&(r.styledMode||e.css(u(n.style)),e.textPxLength=e.getBBox().width),e},t.prototype.destroy=function(){s(this,this.axis)},t.prototype.getPosition=function(e,t,n,i){var o=this.axis,s=o.chart,l=i&&s.oldChartHeight||s.chartHeight;return(e={x:e?a(o.translate(t+n,null,null,i)+o.transB):o.left+o.offset+(o.opposite?(i&&s.oldChartWidth||s.chartWidth)-o.right-o.left:0),y:e?l-o.bottom+o.offset-(o.opposite?o.height:0):a(l-o.translate(t+n,null,null,i)-o.transB)}).y=r(e.y,-1e5,1e5),c(this,"afterGetPosition",{pos:e}),e},t.prototype.getLabelPosition=function(e,t,n,r,a,s,l,d){var u=this.axis,p=u.transA,h=u.isLinked&&u.linkedParent?u.linkedParent.reversed:u.reversed,m=u.staggerLines,g=u.tickRotCorr||{x:0,y:0},f=r||u.reserveSpaceDefault?0:-u.labelOffset*("center"===u.labelAlign?.5:1),v={},y=a.y;return o(y)||(y=0===u.side?n.rotation?-8:-n.getBBox().height:2===u.side?g.y+8:Math.cos(n.rotation*i)*(g.y-n.getBBox(!1,0).height/2)),t=t+y-(s&&!r?s*p*(h?1:-1):0),m&&(n=l/(d||1)%m,u.opposite&&(n=m-n-1),t+=u.labelOffset/m*n),v.x=e=e+a.x+f+g.x-(s&&r?s*p*(h?-1:1):0),v.y=Math.round(t),c(this,"afterGetLabelPosition",{pos:v,tickmarkOffset:s,index:l}),v},t.prototype.getLabelSize=function(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0},t.prototype.getMarkPath=function(e,t,n,i,r,a){return a.crispLine([["M",e,t],["L",e+(r?0:-n),t+(r?n:0)]],i)},t.prototype.handleOverflow=function(e){var t=this.axis,n=t.options.labels,r=e.x,a=t.chart.chartWidth,o=t.chart.spacing,s=h(t.labelLeft,Math.min(t.pos,o[3]));o=h(t.labelRight,Math.max(t.isRadial?0:t.pos+t.len,a-o[1]));var l,c=this.label,d=this.rotation,u={left:0,center:.5,right:1}[t.labelAlign||c.attr("align")],p=c.getBBox().width,m=t.getSlotWidth(this),g={},f=m,v=1;d||"justify"!==n.overflow?0>d&&r-u*p<s?l=Math.round(r/Math.cos(d*i)-s):0<d&&r+u*p>o&&(l=Math.round((a-r)/Math.cos(d*i))):(a=r+(1-u)*p,r-u*p<s?f=e.x+f*(1-u)-s:a>o&&(f=o-e.x+f*u,v=-1),(f=Math.min(m,f))<m&&"center"===t.labelAlign&&(e.x+=v*(m-f-u*(m-Math.min(p,f)))),(p>f||t.autoRotation&&(c.styles||{}).width)&&(l=f)),l&&(this.shortenLabel?this.shortenLabel():(g.width=Math.floor(l)+"px",(n.style||{}).textOverflow||(g.textOverflow="ellipsis"),c.css(g)))},t.prototype.moveLabel=function(e,t){var n=this,i=n.label,r=n.axis,a=r.reversed,o=!1;if(i&&i.textStr===e?(n.movedLabel=i,o=!0,delete n.label):p(r.ticks,function(t){o||t.isNew||t===n||!t.label||t.label.textStr!==e||(n.movedLabel=t.label,o=!0,t.labelPos=n.movedLabel.xy,delete t.label)}),!o&&(n.labelPos||i)){var s=n.labelPos||i.xy;n.movedLabel=n.createLabel({x:i=r.horiz?a?0:r.width+r.left:s.x,y:r=r.horiz?s.y:a?r.width+r.left:0},e,t),n.movedLabel&&n.movedLabel.attr({opacity:0})}},t.prototype.render=function(e,t,n){var i=this.axis,r=i.horiz,a=this.pos,o=h(this.tickmarkOffset,i.tickmarkOffset);o=(a=this.getPosition(r,a,o,t)).x,i=r&&o===i.pos+i.len||!r&&a.y===i.pos?-1:1,r=h(n,this.label&&this.label.newOpacity,1),n=h(n,1),this.isActive=!0,this.renderGridLine(t,n,i),this.renderMark(a,n,i),this.renderLabel(a,t,r,e),this.isNew=!1,c(this,"afterRender")},t.prototype.renderGridLine=function(e,t,n){var i=this.axis,r=i.options,a={},o=this.pos,s=this.type,l=h(this.tickmarkOffset,i.tickmarkOffset),c=i.chart.renderer,d=this.gridLine,u=r.gridLineWidth,p=r.gridLineColor,m=r.gridLineDashStyle;"minor"===this.type&&(u=r.minorGridLineWidth,p=r.minorGridLineColor,m=r.minorGridLineDashStyle),d||(i.chart.styledMode||(a.stroke=p,a["stroke-width"]=u||0,a.dashstyle=m),s||(a.zIndex=1),e&&(t=0),this.gridLine=d=c.path().attr(a).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(i.gridGroup)),d&&(n=i.getPlotLinePath({value:o+l,lineWidth:d.strokeWidth()*n,force:"pass",old:e}))&&d[e||this.isNew?"attr":"animate"]({d:n,opacity:t})},t.prototype.renderMark=function(e,t,n){var i=this.axis,r=i.options,a=i.chart.renderer,o=this.type,s=i.tickSize(o?o+"Tick":"tick"),l=e.x;e=e.y;var c=h(r["minor"!==o?"tickWidth":"minorTickWidth"],!o&&i.isXAxis?1:0);r=r["minor"!==o?"tickColor":"minorTickColor"];var d=this.mark,u=!d;s&&(i.opposite&&(s[0]=-s[0]),d||(this.mark=d=a.path().addClass("highcharts-"+(o?o+"-":"")+"tick").add(i.axisGroup),i.chart.styledMode||d.attr({stroke:r,"stroke-width":c})),d[u?"attr":"animate"]({d:this.getMarkPath(l,e,s[0],d.strokeWidth()*n,i.horiz,a),opacity:t}))},t.prototype.renderLabel=function(e,t,n,i){var r=this.axis,a=r.horiz,o=r.options,s=this.label,l=o.labels,c=l.step;r=h(this.tickmarkOffset,r.tickmarkOffset);var u=e.x;e=e.y;var p=!0;s&&d(u)&&(s.xy=e=this.getLabelPosition(u,e,s,a,l,r,i,c),this.isFirst&&!this.isLast&&!o.showFirstLabel||this.isLast&&!this.isFirst&&!o.showLastLabel?p=!1:!a||l.step||l.rotation||t||0===n||this.handleOverflow(e),c&&i%c&&(p=!1),p&&d(e.y)?(e.opacity=n,s[this.isNewLabel?"attr":"animate"](e),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0))},t.prototype.replaceMovedLabel=function(){var e=this.label,t=this.axis,n=t.reversed;e&&!this.isNew&&(e.animate({x:t.horiz?n?t.left:t.width+t.left:e.xy.x,y:n=t.horiz?e.xy.y:n?t.width+t.top:t.top,opacity:0},void 0,e.destroy),delete this.label),t.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},t}()}),t(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],function(e,t,n,i,r,a,o,s){var l=e.animObject,c=i.defaultOptions,d=r.registerEventOptions,u=a.deg2rad,p=s.arrayMax,h=s.arrayMin,m=s.clamp,g=s.correctFloat,f=s.defined,v=s.destroyObjectProperties,y=s.erase,b=s.error,x=s.extend,_=s.fireEvent,w=s.getMagnitude,S=s.isArray,C=s.isNumber,k=s.isString,O=s.merge,E=s.normalizeTickInterval,M=s.objectEach,I=s.pick,P=s.relativeLength,T=s.removeEvent,D=s.splat,L=s.syncTimeout;return function(){function e(e,t){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(e,t)}return e.prototype.init=function(e,t){var n=t.isX;this.chart=e,this.horiz=e.inverted&&!this.isZAxis?!n:n,this.isXAxis=n,this.coll=this.coll||(n?"xAxis":"yAxis"),_(this,"init",{userOptions:t}),this.opposite=I(t.opposite,this.opposite),this.side=I(t.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(t);var i=this.options,r=i.labels,a=i.type;this.userOptions=t,this.minPixelPadding=0,this.reversed=I(i.reversed,this.reversed),this.visible=i.visible,this.zoomEnabled=i.zoomEnabled,this.hasNames="category"===a||!0===i.categories,this.categories=i.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=f(i.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=i.minRange||i.maxZoom,this.range=i.range,this.offset=i.offset||0,this.min=this.max=null,t=I(i.crosshair,D(e.options.tooltip.crosshairs)[n?0:1]),this.crosshair=!0===t?{}:t,-1===e.axes.indexOf(this)&&(n?e.axes.splice(e.xAxis.length,0,this):e.axes.push(this),e[this.coll].push(this)),this.series=this.series||[],e.inverted&&!this.isZAxis&&n&&void 0===this.reversed&&(this.reversed=!0),this.labelRotation=C(r.rotation)?r.rotation:void 0,d(this,i),_(this,"afterInit")},e.prototype.setOptions=function(e){this.options=O(t.defaultXAxisOptions,"yAxis"===this.coll&&t.defaultYAxisOptions,[t.defaultTopAxisOptions,t.defaultRightAxisOptions,t.defaultBottomAxisOptions,t.defaultLeftAxisOptions][this.side],O(c[this.coll],e)),_(this,"afterSetOptions",{userOptions:e})},e.prototype.defaultLabelFormatter=function(e){var t=this.axis;e=this.chart.numberFormatter;var n=C(this.value)?this.value:NaN,i=t.chart.time,r=this.dateTimeLabelFormat,a=c.lang,o=a.numericSymbols;a=a.numericSymbolMagnitude||1e3;var s=t.logarithmic?Math.abs(n):t.tickInterval,l=o&&o.length;if(t.categories)var d=""+this.value;else if(r)d=i.dateFormat(r,n);else if(l&&1e3<=s)for(;l--&&void 0===d;)s>=(t=Math.pow(a,l+1))&&0==10*n%t&&null!==o[l]&&0!==n&&(d=e(n/t,-1)+o[l]);return void 0===d&&(d=1e4<=Math.abs(n)?e(n,-1):e(n,-1,void 0,"")),d},e.prototype.getSeriesExtremes=function(){var e,t=this,n=t.chart;_(this,"getSeriesExtremes",null,function(){t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.threshold=null,t.softThreshold=!t.isXAxis,t.stacking&&t.stacking.buildStacks(),t.series.forEach(function(i){if(i.visible||!n.options.chart.ignoreHiddenSeries){var r=i.options,a=r.threshold;if(t.hasVisibleSeries=!0,t.positiveValuesOnly&&0>=a&&(a=null),t.isXAxis){if((r=i.xData).length){r=t.logarithmic?r.filter(t.validatePositiveValue):r;var o=(e=i.getXExtremes(r)).min,s=e.max;C(o)||o instanceof Date||(r=r.filter(C),o=(e=i.getXExtremes(r)).min,s=e.max),r.length&&(t.dataMin=Math.min(I(t.dataMin,o),o),t.dataMax=Math.max(I(t.dataMax,s),s))}}else i=i.applyExtremes(),C(i.dataMin)&&(o=i.dataMin,t.dataMin=Math.min(I(t.dataMin,o),o)),C(i.dataMax)&&(s=i.dataMax,t.dataMax=Math.max(I(t.dataMax,s),s)),f(a)&&(t.threshold=a),(!r.softThreshold||t.positiveValuesOnly)&&(t.softThreshold=!1)}})}),_(this,"afterGetSeriesExtremes")},e.prototype.translate=function(e,t,n,i,r,a){var o=this.linkedParent||this,s=i&&o.old?o.old.min:o.min,l=o.minPixelPadding;r=(o.isOrdinal||o.brokenAxis&&o.brokenAxis.hasBreaks||o.logarithmic&&r)&&o.lin2val;var c=1,d=0;return(i=i&&o.old?o.old.transA:o.transA)||(i=o.transA),n&&(c*=-1,d=o.len),o.reversed&&(d-=(c*=-1)*(o.sector||o.len)),t?(e=(e*c+d-l)/i+s,r&&(e=o.lin2val(e))):(r&&(e=o.val2lin(e)),e=C(s)?c*(e-s)*i+d+c*l+(C(a)?i*a:0):void 0),e},e.prototype.toPixels=function(e,t){return this.translate(e,!1,!this.horiz,null,!0)+(t?0:this.pos)},e.prototype.toValue=function(e,t){return this.translate(e-(t?0:this.pos),!0,!this.horiz,null,!0)},e.prototype.getPlotLinePath=function(e){function t(e,t,n){return("pass"!==b&&e<t||e>n)&&(b?e=m(e,t,n):o=!0),e}var n,i,r,a,o,s=this,l=s.chart,c=s.left,d=s.top,u=e.old,p=e.value,h=e.lineWidth,g=u&&l.oldChartHeight||l.chartHeight,f=u&&l.oldChartWidth||l.chartWidth,v=s.transB,y=e.translatedValue,b=e.force;return _(this,"getPlotLinePath",e={value:p,lineWidth:h,old:u,force:b,acrossPanes:e.acrossPanes,translatedValue:y},function(e){y=I(y,s.translate(p,null,null,u)),y=m(y,-1e5,1e5),n=r=Math.round(y+v),i=a=Math.round(g-y-v),C(y)?s.horiz?(i=d,a=g-s.bottom,n=r=t(n,c,c+s.width)):(n=c,r=f-s.right,i=a=t(i,d,d+s.height)):(o=!0,b=!1),e.path=o&&!b?null:l.renderer.crispLine([["M",n,i],["L",r,a]],h||1)}),e.path},e.prototype.getLinearTickPositions=function(e,t,n){var i=g(Math.floor(t/e)*e);n=g(Math.ceil(n/e)*e);var r,a=[];if(g(i+e)===i&&(r=20),this.single)return[t];for(t=i;t<=n&&(a.push(t),(t=g(t+e,r))!==o);)var o=t;return a},e.prototype.getMinorTickInterval=function(){var e=this.options;return!0===e.minorTicks?I(e.minorTickInterval,"auto"):!1===e.minorTicks?null:e.minorTickInterval},e.prototype.getMinorTickPositions=function(){var e=this.options,t=this.tickPositions,n=this.minorTickInterval,i=this.pointRangePadding||0,r=this.min-i,a=(i=this.max+i)-r,o=[];if(a&&a/n<this.len/3){var s=this.logarithmic;if(s)this.paddedTicks.forEach(function(e,t,i){t&&o.push.apply(o,s.getLogTickPositions(n,i[t-1],i[t],!0))});else if(this.dateTime&&"auto"===this.getMinorTickInterval())o=o.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(n),r,i,e.startOfWeek));else for(e=r+(t[0]-r)%n;e<=i&&e!==o[0];e+=n)o.push(e)}return 0!==o.length&&this.trimTicks(o),o},e.prototype.adjustForMinRange=function(){var e,t,n,i,r=this.options,a=this.logarithmic,o=this.min,s=this.max,l=0;if(this.isXAxis&&void 0===this.minRange&&!a&&(f(r.min)||f(r.max)||f(r.floor)||f(r.ceiling)?this.minRange=null:(this.series.forEach(function(r){if(n=r.xData,i=r.xIncrement?1:n.length-1,1<n.length)for(e=i;0<e;e--)t=n[e]-n[e-1],(!l||t<l)&&(l=t)}),this.minRange=Math.min(5*l,this.dataMax-this.dataMin))),s-o<this.minRange){var c=this.dataMax-this.dataMin>=this.minRange,d=this.minRange,u=(d-s+o)/2;u=[o-u,I(r.min,o-u)],c&&(u[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(o=p(u))+d,I(r.max,o+d)],c&&(s[2]=a?a.log2lin(this.dataMax):this.dataMax),(s=h(s))-o<d&&(u[0]=s-d,u[1]=I(r.min,s-d),o=p(u))}this.min=o,this.max=s},e.prototype.getClosest=function(){var e;return this.categories?e=1:this.series.forEach(function(t){var n=t.closestPointRange,i=t.visible||!t.chart.options.chart.ignoreHiddenSeries;!t.noSharedTooltip&&f(n)&&i&&(e=f(e)?Math.min(e,n):n)}),e},e.prototype.nameToX=function(e){var t=S(this.categories),n=t?this.categories:this.names,i=e.options.x;if(e.series.requireSorting=!1,f(i)||(i=this.options.uniqueNames?t?n.indexOf(e.name):I(n.keys[e.name],-1):e.series.autoIncrement()),-1===i){if(!t)var r=n.length}else r=i;return void 0!==r&&(this.names[r]=e.name,this.names.keys[e.name]=r),r},e.prototype.updateNames=function(){var e=this,t=this.names;0<t.length&&(Object.keys(t.keys).forEach(function(e){delete t.keys[e]}),t.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(function(t){t.xIncrement=null,t.points&&!t.isDirtyData||(e.max=Math.max(e.max,t.xData.length-1),t.processData(),t.generatePoints()),t.data.forEach(function(n,i){if(n&&n.options&&void 0!==n.name){var r=e.nameToX(n);void 0!==r&&r!==n.x&&(n.x=r,t.xData[i]=r)}})}))},e.prototype.setAxisTranslation=function(){var e,t=this,n=t.max-t.min,i=t.linkedParent,r=!!t.categories,a=t.isXAxis,o=t.axisPointRange||0,s=0,l=0;if(a||r||o){var c=t.getClosest();i?(s=i.minPointOffset,l=i.pointRangePadding):t.series.forEach(function(e){var n=r?1:a?I(e.options.pointRange,c,0):t.axisPointRange||0,i=e.options.pointPlacement;o=Math.max(o,n),t.single&&!r||(e=e.is("xrange")?!a:a,s=Math.max(s,e&&k(i)?0:n/2),l=Math.max(l,e&&"on"===i?0:n))}),t.minPointOffset=s*=i=t.ordinal&&t.ordinal.slope&&c?t.ordinal.slope/c:1,t.pointRangePadding=l*=i,t.pointRange=Math.min(o,t.single&&r?1:n),a&&(t.closestPointRange=c)}t.translationSlope=t.transA=e=t.staticScale||t.len/(n+l||1),t.transB=t.horiz?t.left:t.bottom,t.minPixelPadding=e*s,_(this,"afterSetAxisTranslation")},e.prototype.minFromRange=function(){return this.max-this.range},e.prototype.setTickInterval=function(e){var t=this.chart,n=this.logarithmic,i=this.options,r=this.isXAxis,a=this.isLinked,o=i.tickPixelInterval,s=this.categories,l=this.softThreshold,c=i.maxPadding,d=i.minPadding,u=C(i.tickInterval)&&0<=i.tickInterval?i.tickInterval:void 0,p=C(this.threshold)?this.threshold:null;this.dateTime||s||a||this.getTickAmount();var h=I(this.userMin,i.min),m=I(this.userMax,i.max);if(a){this.linkedParent=t[this.coll][i.linkedTo];var v=this.linkedParent.getExtremes();this.min=I(v.min,v.dataMin),this.max=I(v.max,v.dataMax),i.type!==this.linkedParent.options.type&&b(11,1,t)}else{if(l&&f(p))if(this.dataMin>=p)v=p,d=0;else if(this.dataMax<=p){var y=p;c=0}this.min=I(h,v,this.dataMin),this.max=I(m,y,this.dataMax)}if(n&&(this.positiveValuesOnly&&!e&&0>=Math.min(this.min,I(this.dataMin,this.min))&&b(10,1,t),this.min=g(n.log2lin(this.min),16),this.max=g(n.log2lin(this.max),16)),this.range&&f(this.max)&&(this.userMin=this.min=h=Math.max(this.dataMin,this.minFromRange()),this.userMax=m=this.max,this.range=null),_(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||a)&&f(this.min)&&f(this.max)&&(t=this.max-this.min)&&(!f(h)&&d&&(this.min-=t*d),!f(m)&&c&&(this.max+=t*c)),C(this.userMin)||(C(i.softMin)&&i.softMin<this.min&&(this.min=h=i.softMin),C(i.floor)&&(this.min=Math.max(this.min,i.floor))),C(this.userMax)||(C(i.softMax)&&i.softMax>this.max&&(this.max=m=i.softMax),C(i.ceiling)&&(this.max=Math.min(this.max,i.ceiling))),l&&f(this.dataMin)&&(p=p||0,!f(h)&&this.min<p&&this.dataMin>=p?this.min=this.options.minRange?Math.min(p,this.max-this.minRange):p:!f(m)&&this.max>p&&this.dataMax<=p&&(this.max=this.options.minRange?Math.max(p,this.min+this.minRange):p)),C(this.min)&&C(this.max)&&!this.chart.polar&&this.min>this.max&&(f(this.options.min)?this.max=this.min:f(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||void 0===this.min||void 0===this.max?1:a&&this.linkedParent&&!u&&o===this.linkedParent.options.tickPixelInterval?u=this.linkedParent.tickInterval:I(u,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*o/Math.max(this.len,o)),r&&!e){var x=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach(function(e){e.forceCrop=e.forceCropping&&e.forceCropping(),e.processData(x)}),_(this,"postProcessData",{hasExtemesChanged:x})}this.setAxisTranslation(),_(this,"initialAxisTranslation"),this.pointRange&&!u&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),e=I(i.minTickInterval,this.dateTime&&!this.series.some(function(e){return e.noSharedTooltip})?this.closestPointRange:0),!u&&this.tickInterval<e&&(this.tickInterval=e),this.dateTime||this.logarithmic||u||(this.tickInterval=E(this.tickInterval,void 0,w(this.tickInterval),I(i.allowDecimals,.5>this.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},e.prototype.setTickPositions=function(){var e=this.options,t=e.tickPositions,n=this.getMinorTickInterval(),i=this.hasVerticalPanning(),r="colorAxis"===this.coll,a=(r||!i)&&e.startOnTick;i=(r||!i)&&e.endOnTick,r=e.tickPositioner,this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===n&&this.tickInterval?this.tickInterval/5:n,this.single=this.min===this.max&&f(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==e.allowDecimals),this.tickPositions=n=t&&t.slice(),!n&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?n=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(n=[this.min,this.max],b(19,!1,this.chart)),n.length>this.len&&(n=[n[0],n.pop()])[0]===n[1]&&(n.length=1),this.tickPositions=n,r&&(r=r.apply(this,[this.min,this.max])))&&(this.tickPositions=n=r),this.paddedTicks=n.slice(0),this.trimTicks(n,a,i),this.isLinked||(this.single&&2>n.length&&!this.categories&&!this.series.some(function(e){return e.is("heatmap")&&"between"===e.options.pointPlacement})&&(this.min-=.5,this.max+=.5),t||r||this.adjustTickAmount()),_(this,"afterSetTickPositions")},e.prototype.trimTicks=function(e,t,n){var i=e[0],r=e[e.length-1],a=!this.isOrdinal&&this.minPointOffset||0;if(_(this,"trimTicks"),!this.isLinked){if(t&&-1/0!==i)this.min=i;else for(;this.min-a>e[0];)e.shift();if(n)this.max=r;else for(;this.max+a<e[e.length-1];)e.pop();0===e.length&&f(i)&&!this.options.tickPositions&&e.push((r+i)/2)}},e.prototype.alignToOthers=function(){var e,t={},n=this.options;return!1!==this.chart.options.chart.alignTicks&&n.alignTicks&&!1!==n.startOnTick&&!1!==n.endOnTick&&!this.logarithmic&&this.chart[this.coll].forEach(function(n){var i=n.options;i=[n.horiz?i.left:i.top,i.width,i.height,i.pane].join(),n.series.length&&(t[i]?e=!0:t[i]=1)}),e},e.prototype.getTickAmount=function(){var e=this.options,t=e.tickPixelInterval,n=e.tickAmount;!f(e.tickInterval)&&!n&&this.len<t&&!this.isRadial&&!this.logarithmic&&e.startOnTick&&e.endOnTick&&(n=2),!n&&this.alignToOthers()&&(n=Math.ceil(this.len/t)+1),4>n&&(this.finalTickAmt=n,n=5),this.tickAmount=n},e.prototype.adjustTickAmount=function(){var e=this.options,t=this.tickInterval,n=this.tickPositions,i=this.tickAmount,r=this.finalTickAmt,a=n&&n.length,o=I(this.threshold,this.softThreshold?0:null);if(this.hasData()&&C(this.min)&&C(this.max)){if(a<i){for(;n.length<i;)n.length%2||this.min===o?n.push(g(n[n.length-1]+t)):n.unshift(g(n[0]-t));this.transA*=(a-1)/(i-1),this.min=e.startOnTick?n[0]:Math.min(this.min,n[0]),this.max=e.endOnTick?n[n.length-1]:Math.max(this.max,n[n.length-1])}else a>i&&(this.tickInterval*=2,this.setTickPositions());if(f(r)){for(t=e=n.length;t--;)(3===r&&1==t%2||2>=r&&0<t&&t<e-1)&&n.splice(t,1);this.finalTickAmt=void 0}}},e.prototype.setScale=function(){var e=!1,t=!1;this.series.forEach(function(n){e=e||n.isDirtyData||n.isDirty,t=t||n.xAxis&&n.xAxis.isDirty||!1}),this.setAxisSize();var n=this.len!==(this.old&&this.old.len);n||e||t||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(this.stacking&&this.stacking.resetStacks(),this.forceRedraw=!1,this.getSeriesExtremes(),this.setTickInterval(),this.isDirty||(this.isDirty=n||this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max))):this.stacking&&this.stacking.cleanStacks(),e&&this.panningState&&(this.panningState.isDirty=!0),_(this,"afterSetScale")},e.prototype.setExtremes=function(e,t,n,i,r){var a=this,o=a.chart;n=I(n,!0),a.series.forEach(function(e){delete e.kdTree}),r=x(r,{min:e,max:t}),_(a,"setExtremes",r,function(){a.userMin=e,a.userMax=t,a.eventArgs=r,n&&o.redraw(i)})},e.prototype.zoom=function(e,t){var n=this,i=this.dataMin,r=this.dataMax,a=this.options,o=Math.min(i,I(a.min,i)),s=Math.max(r,I(a.max,r));return _(this,"zoom",e={newMin:e,newMax:t},function(e){var t=e.newMin,a=e.newMax;t===n.min&&a===n.max||(n.allowZoomOutside||(f(i)&&(t<o&&(t=o),t>s&&(t=s)),f(r)&&(a<o&&(a=o),a>s&&(a=s))),n.displayBtn=void 0!==t||void 0!==a,n.setExtremes(t,a,!1,void 0,{trigger:"zoom"})),e.zoomed=!0}),e.zoomed},e.prototype.setAxisSize=function(){var e=this.chart,t=this.options,n=t.offsets||[0,0,0,0],i=this.horiz,r=this.width=Math.round(P(I(t.width,e.plotWidth-n[3]+n[1]),e.plotWidth)),a=this.height=Math.round(P(I(t.height,e.plotHeight-n[0]+n[2]),e.plotHeight)),o=this.top=Math.round(P(I(t.top,e.plotTop+n[0]),e.plotHeight,e.plotTop));t=this.left=Math.round(P(I(t.left,e.plotLeft+n[3]),e.plotWidth,e.plotLeft)),this.bottom=e.chartHeight-a-o,this.right=e.chartWidth-r-t,this.len=Math.max(i?r:a,0),this.pos=i?t:o},e.prototype.getExtremes=function(){var e=this.logarithmic;return{min:e?g(e.lin2log(this.min)):this.min,max:e?g(e.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},e.prototype.getThreshold=function(e){var t=this.logarithmic,n=t?t.lin2log(this.min):this.min;return t=t?t.lin2log(this.max):this.max,null===e||-1/0===e?e=n:1/0===e?e=t:n>e?e=n:t<e&&(e=t),this.translate(e,0,1,0,1)},e.prototype.autoLabelAlign=function(e){var t=(I(e,0)-90*this.side+720)%360;return _(this,"autoLabelAlign",e={align:"center"},function(e){15<t&&165>t?e.align="right":195<t&&345>t&&(e.align="left")}),e.align},e.prototype.tickSize=function(e){var t=this.options,n=I(t["tick"===e?"tickWidth":"minorTickWidth"],"tick"===e&&this.isXAxis&&!this.categories?1:0),i=t["tick"===e?"tickLength":"minorTickLength"];if(n&&i){"inside"===t[e+"Position"]&&(i=-i);var r=[i,n]}return _(this,"afterTickSize",e={tickSize:r}),e.tickSize},e.prototype.labelMetrics=function(){var e=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[e]&&this.ticks[e].label)},e.prototype.unsquish=function(){var e,t,n=this.options.labels,i=this.horiz,r=this.tickInterval,a=this.len/(((this.categories?1:0)+this.max-this.min)/r),o=n.rotation,s=this.labelMetrics(),l=Math.max(this.max-this.min,0),c=function(e){var t=e/(a||1);return(t=1<t?Math.ceil(t):1)*r>l&&1/0!==e&&1/0!==a&&l&&(t=Math.ceil(l/r)),g(t*r)},d=r,p=Number.MAX_VALUE;if(i){if(!n.staggerLines&&!n.step)if(C(o))var h=[o];else a<n.autoRotationLimit&&(h=n.autoRotation);h&&h.forEach(function(n){if(n===o||n&&-90<=n&&90>=n){var i=(t=c(Math.abs(s.h/Math.sin(u*n))))+Math.abs(n/360);i<p&&(p=i,e=n,d=t)}})}else n.step||(d=c(s.h));return this.autoRotation=h,this.labelRotation=I(e,C(o)?o:0),d},e.prototype.getSlotWidth=function(e){var t=this.chart,n=this.horiz,i=this.options.labels,r=Math.max(this.tickPositions.length-(this.categories?0:1),1),a=t.margin[3];if(e&&C(e.slotWidth))return e.slotWidth;if(n&&2>i.step)return i.rotation?0:(this.staggerLines||1)*this.len/r;if(!n){if(void 0!==(e=i.style.width))return parseInt(String(e),10);if(a)return a-t.spacing[3]}return.33*t.chartWidth},e.prototype.renderUnsquish=function(){var e=this.chart,t=e.renderer,n=this.tickPositions,i=this.ticks,r=this.options.labels,a=r.style,o=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*r.padding)),c={},d=this.labelMetrics(),u=a.textOverflow,p=0;if(k(r.rotation)||(c.rotation=r.rotation||0),n.forEach(function(e){(e=i[e]).movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>p&&(p=e.label.textPxLength)}),this.maxLabelLength=p,this.autoRotation)p>l&&p>d.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var h=l;if(!u){var m="clip";for(l=n.length;!o&&l--;){var g=n[l];(g=i[g].label)&&(g.styles&&"ellipsis"===g.styles.textOverflow?g.css({textOverflow:"clip"}):g.textPxLength>s&&g.css({width:s+"px"}),g.getBBox().height>this.len/n.length-(d.h-d.f)&&(g.specificTextOverflow="ellipsis"))}}}c.rotation&&(h=p>.5*e.chartHeight?.33*e.chartHeight:p,u||(m="ellipsis")),(this.labelAlign=r.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),n.forEach(function(e){var t=(e=i[e])&&e.label,n=a.width,r={};t&&(t.attr(c),e.shortenLabel?e.shortenLabel():h&&!n&&"nowrap"!==a.whiteSpace&&(h<t.textPxLength||"SPAN"===t.element.tagName)?(r.width=h+"px",u||(r.textOverflow=t.specificTextOverflow||m),t.css(r)):t.styles&&t.styles.width&&!r.width&&!n&&t.css({width:null}),delete t.specificTextOverflow,e.rotation=c.rotation)},this),this.tickRotCorr=t.rotCorr(d.b,this.labelRotation||0,0!==this.side)},e.prototype.hasData=function(){return this.series.some(function(e){return e.hasData()})||this.options.showEmpty&&f(this.min)&&f(this.max)},e.prototype.addTitle=function(e){var t,n=this.opposite,i=this.options.title,r=this.chart.styledMode;this.axisTitle||((t=i.textAlign)||(t=(this.horiz?{low:"left",middle:"center",high:"right"}:{low:n?"right":"left",middle:"center",high:n?"left":"right"})[i.align]),this.axisTitle=this.chart.renderer.text(i.text||"",0,0,i.useHTML).attr({zIndex:7,rotation:i.rotation,align:t}).addClass("highcharts-axis-title"),r||this.axisTitle.css(O(i.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),r||i.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[e?"show":"hide"](e)},e.prototype.generateTick=function(e){var t=this.ticks;t[e]?t[e].addLabel():t[e]=new o(this,e)},e.prototype.getOffset=function(){var e=this,t=this,n=t.chart,i=t.horiz,r=t.options,a=t.side,o=t.ticks,s=t.tickPositions,l=t.coll,c=t.axisParent,d=n.renderer,u=n.inverted&&!t.isZAxis?[1,0,3,2][a]:a,p=t.hasData(),h=r.title,m=r.labels,g=n.axisOffset;n=n.clipOffset;var v,y=[-1,1,1,-1][a],b=r.className,x=0,w=0,S=0;if(t.showAxis=v=p||r.showEmpty,t.staggerLines=t.horiz&&m.staggerLines||void 0,!t.axisGroup){var C=function(t,n,i){return d.g(t).attr({zIndex:i}).addClass("highcharts-"+l.toLowerCase()+n+" "+(e.isRadial?"highcharts-radial-axis"+n+" ":"")+(b||"")).add(c)};t.gridGroup=C("grid","-grid",r.gridZIndex),t.axisGroup=C("axis","",r.zIndex),t.labelGroup=C("axis-labels","-labels",m.zIndex)}if(p||t.isLinked?(s.forEach(function(e){t.generateTick(e)}),t.renderUnsquish(),t.reserveSpaceDefault=0===a||2===a||{1:"left",3:"right"}[a]===t.labelAlign,I(m.reserveSpace,"center"===t.labelAlign||null,t.reserveSpaceDefault)&&s.forEach(function(e){S=Math.max(o[e].getLabelSize(),S)}),t.staggerLines&&(S*=t.staggerLines),t.labelOffset=S*(t.opposite?-1:1)):M(o,function(e,t){e.destroy(),delete o[t]}),h&&h.text&&!1!==h.enabled&&(t.addTitle(v),v&&!1!==h.reserveSpace)){t.titleOffset=x=t.axisTitle.getBBox()[i?"height":"width"];var k=h.offset;w=f(k)?0:I(h.margin,i?5:10)}t.renderLine(),t.offset=y*I(r.offset,g[a]?g[a]+(r.margin||0):0),t.tickRotCorr=t.tickRotCorr||{x:0,y:0},h=0===a?-t.labelMetrics().h:2===a?t.tickRotCorr.y:0,p=Math.abs(S)+w,S&&(p=p-h+y*(i?I(m.y,t.tickRotCorr.y+8*y):m.x)),t.axisTitleMargin=I(k,p),t.getMaxLabelDimensions&&(t.maxLabelDimensions=t.getMaxLabelDimensions(o,s)),"colorAxis"!==l&&(i=this.tickSize("tick"),g[a]=Math.max(g[a],(t.axisTitleMargin||0)+x+y*t.offset,p,s&&s.length&&i?i[0]+y*t.offset:0),r=!t.axisLine||r.offset?0:2*Math.floor(t.axisLine.strokeWidth()/2),n[u]=Math.max(n[u],r)),_(this,"afterGetOffset")},e.prototype.getLinePath=function(e){var t=this.chart,n=this.opposite,i=this.offset,r=this.horiz,a=this.left+(n?this.width:0)+i;return i=t.chartHeight-this.bottom-(n?this.height:0)+i,n&&(e*=-1),t.renderer.crispLine([["M",r?this.left:a,r?i:this.top],["L",r?t.chartWidth-this.right:a,r?i:t.chartHeight-this.bottom]],e)},e.prototype.renderLine=function(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))},e.prototype.getTitlePosition=function(){var e=this.horiz,t=this.left,n=this.top,i=this.len,r=this.options.title,a=e?t:n,o=this.opposite,s=this.offset,l=r.x,c=r.y,d=this.axisTitle,u=this.chart.renderer.fontMetrics(r.style.fontSize,d);return d=Math.max(d.getBBox(null,0).height-u.h-1,0),i={low:a+(e?0:i),middle:a+i/2,high:a+(e?i:0)}[r.align],t=(e?n+this.height:t)+(e?1:-1)*(o?-1:1)*this.axisTitleMargin+[-d,d,u.f,-d][this.side],_(this,"afterGetTitlePosition",{titlePosition:e={x:e?i+l:t+(o?this.width:0)+s+l,y:e?t+c-(o?this.height:0)+s:i+c}}),e},e.prototype.renderMinorTick=function(e,t){var n=this.minorTicks;n[e]||(n[e]=new o(this,e,"minor")),t&&n[e].isNew&&n[e].render(null,!0),n[e].render(null,!1,1)},e.prototype.renderTick=function(e,t,n){var i=this.ticks;(!this.isLinked||e>=this.min&&e<=this.max||this.grid&&this.grid.isColumn)&&(i[e]||(i[e]=new o(this,e)),n&&i[e].isNew&&i[e].render(t,!0,-1),i[e].render(t))},e.prototype.render=function(){var e,t,n=this,i=n.chart,r=n.logarithmic,s=n.options,c=n.isLinked,d=n.tickPositions,u=n.axisTitle,p=n.ticks,h=n.minorTicks,m=n.alternateBands,g=s.stackLabels,f=s.alternateGridColor,v=n.tickmarkOffset,y=n.axisLine,b=n.showAxis,x=l(i.renderer.globalAnimation);if(n.labelEdge.length=0,n.overlap=!1,[p,h,m].forEach(function(e){M(e,function(e){e.isActive=!1})}),n.hasData()||c){var w=n.chart.hasRendered&&n.old&&C(n.old.min);n.minorTickInterval&&!n.categories&&n.getMinorTickPositions().forEach(function(e){n.renderMinorTick(e,w)}),d.length&&(d.forEach(function(e,t){n.renderTick(e,t,w)}),v&&(0===n.min||n.single)&&(p[-1]||(p[-1]=new o(n,-1,null,!0)),p[-1].render(-1))),f&&d.forEach(function(o,s){t=void 0!==d[s+1]?d[s+1]+v:n.max-v,0==s%2&&o<n.max&&t<=n.max+(i.polar?-v:v)&&(m[o]||(m[o]=new a.PlotLineOrBand(n)),e=o+v,m[o].options={from:r?r.lin2log(e):e,to:r?r.lin2log(t):t,color:f,className:"highcharts-alternate-grid"},m[o].render(),m[o].isActive=!0)}),n._addedPlotLB||(n._addedPlotLB=!0,(s.plotLines||[]).concat(s.plotBands||[]).forEach(function(e){n.addPlotBandOrLine(e)}))}[p,h,m].forEach(function(e){var t=[],n=x.duration;M(e,function(e,n){e.isActive||(e.render(n,!1,0),e.isActive=!1,t.push(n))}),L(function(){for(var n=t.length;n--;)e[t[n]]&&!e[t[n]].isActive&&(e[t[n]].destroy(),delete e[t[n]])},e!==m&&i.hasRendered&&n?n:0)}),y&&(y[y.isPlaced?"animate":"attr"]({d:this.getLinePath(y.strokeWidth())}),y.isPlaced=!0,y[b?"show":"hide"](b)),u&&b&&(s=n.getTitlePosition(),C(s.y)?(u[u.isNew?"attr":"animate"](s),u.isNew=!1):(u.attr("y",-9999),u.isNew=!0)),g&&g.enabled&&n.stacking&&n.stacking.renderStackTotals(),n.old={len:n.len,max:n.max,min:n.min,transA:n.transA,userMax:n.userMax,userMin:n.userMin},n.isDirty=!1,_(this,"afterRender")},e.prototype.redraw=function(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(e){e.render()})),this.series.forEach(function(e){e.isDirty=!0})},e.prototype.getKeepProps=function(){return this.keepProps||e.keepProps},e.prototype.destroy=function(e){var t=this,n=t.plotLinesAndBands,i=this.eventOptions;if(_(this,"destroy",{keepEvents:e}),e||T(t),[t.ticks,t.minorTicks,t.alternateBands].forEach(function(e){v(e)}),n)for(e=n.length;e--;)n[e].destroy();for(var r in"axisLine axisTitle axisGroup gridGroup labelGroup cross scrollbar".split(" ").forEach(function(e){t[e]&&(t[e]=t[e].destroy())}),t.plotLinesAndBandsGroups)t.plotLinesAndBandsGroups[r]=t.plotLinesAndBandsGroups[r].destroy();M(t,function(e,n){-1===t.getKeepProps().indexOf(n)&&delete t[n]}),this.eventOptions=i},e.prototype.drawCrosshair=function(e,t){var i,r=this.crosshair,a=I(r&&r.snap,!0),o=this.chart,s=this.cross;if(_(this,"drawCrosshair",{e:e,point:t}),e||(e=this.cross&&this.cross.e),r&&!1!==(f(t)||!a)){if(a?f(t)&&(i=I("colorAxis"!==this.coll?t.crosshairPos:null,this.isXAxis?t.plotX:this.len-t.plotY)):i=e&&(this.horiz?e.chartX-this.pos:this.len-e.chartY+this.pos),f(i)){var l={value:t&&(this.isXAxis?t.x:I(t.stackY,t.y)),translatedValue:i};o.polar&&x(l,{isCrosshair:!0,chartX:e&&e.chartX,chartY:e&&e.chartY,point:t}),l=this.getPlotLinePath(l)||null}if(!f(l))return void this.hideCrosshair();a=this.categories&&!this.isRadial,s||(this.cross=s=o.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(a?"category ":"thin ")+(r.className||"")).attr({zIndex:I(r.zIndex,2)}).add(),o.styledMode||(s.attr({stroke:r.color||(a?n.parse("#ccd6eb").setOpacity(.25).get():"#cccccc"),"stroke-width":I(r.width,1)}).css({"pointer-events":"none"}),r.dashStyle&&s.attr({dashstyle:r.dashStyle}))),s.show().attr({d:l}),a&&!r.width&&s.attr({"stroke-width":this.transA}),this.cross.e=e}else this.hideCrosshair();_(this,"afterDrawCrosshair",{e:e,point:t})},e.prototype.hideCrosshair=function(){this.cross&&this.cross.hide(),_(this,"afterHideCrosshair")},e.prototype.hasVerticalPanning=function(){var e=this.chart.options.chart.panning;return!!(e&&e.enabled&&/y/.test(e.type))},e.prototype.validatePositiveValue=function(e){return C(e)&&0<e},e.prototype.update=function(e,t){var n=this.chart;e=O(this.userOptions,e),this.destroy(!0),this.init(n,e),n.isDirtyBox=!0,I(t,!0)&&n.redraw()},e.prototype.remove=function(e){for(var t=this.chart,n=this.coll,i=this.series,r=i.length;r--;)i[r]&&i[r].remove(!1);y(t.axes,this),y(t[n],this),t[n].forEach(function(e,t){e.options.index=e.userOptions.index=t}),this.destroy(),t.isDirtyBox=!0,I(e,!0)&&t.redraw()},e.prototype.setTitle=function(e,t){this.update({title:e},t)},e.prototype.setCategories=function(e,t){this.update({categories:e},t)},e.defaultOptions=t.defaultXAxisOptions,e.keepProps="extKey hcEvents names series userMax userMin".split(" "),e}()}),t(n,"Core/Axis/DateTimeAxis.js",[n["Core/Utilities.js"]],function(e){var t,n=e.addEvent,i=e.getMagnitude,r=e.normalizeTickInterval,a=e.timeUnits;return function(e){function t(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function o(e){"datetime"!==e.userOptions.type?this.dateTime=void 0:this.dateTime||(this.dateTime=new l(this))}var s=[];e.compose=function(e){return-1===s.indexOf(e)&&(s.push(e),e.keepProps.push("dateTime"),e.prototype.getTimeTicks=t,n(e,"init",o)),e};var l=function(){function e(e){this.axis=e}return e.prototype.normalizeTimeTickInterval=function(e,t){var n,o=t||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],s=a[(t=o[o.length-1])[0]],l=t[1];for(n=0;n<o.length&&(s=a[(t=o[n])[0]],l=t[1],!(o[n+1]&&e<=(s*l[l.length-1]+a[o[n+1][0]])/2));n++);return s===a.year&&e<5*s&&(l=[1,2,5]),{unitRange:s,count:e=r(e/s,l,"year"===t[0]?Math.max(i(e/s),1):1),unitName:t[0]}},e.prototype.getXDateFormat=function(e,t){var n=this.axis;return n.closestPointRange?n.chart.time.getDateFormat(n.closestPointRange,e,n.options.startOfWeek,t)||t.year:t.day},e}();e.Additions=l}(t||(t={})),t}),t(n,"Core/Axis/LogarithmicAxis.js",[n["Core/Utilities.js"]],function(e){var t,n=e.addEvent,i=e.getMagnitude,r=e.normalizeTickInterval,a=e.pick;return function(e){function t(e){var t=this.logarithmic;"logarithmic"!==e.userOptions.type?this.logarithmic=void 0:t||(this.logarithmic=new l(this))}function o(){var e=this.logarithmic;e&&(this.lin2val=function(t){return e.lin2log(t)},this.val2lin=function(t){return e.log2lin(t)})}var s=[];e.compose=function(e){return-1===s.indexOf(e)&&(s.push(e),e.keepProps.push("logarithmic"),n(e,"init",t),n(e,"afterInit",o)),e};var l=function(){function e(e){this.axis=e}return e.prototype.getLogTickPositions=function(e,t,n,o){var s=this.axis,l=s.len,c=s.options,d=[];if(o||(this.minorAutoInterval=void 0),.5<=e)e=Math.round(e),d=s.getLinearTickPositions(e,t,n);else if(.08<=e){var u,p=Math.floor(t),h=c=void 0;for(l=.3<e?[1,2,4]:.15<e?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9];p<n+1&&!h;p++){var m=l.length;for(u=0;u<m&&!h;u++){var g=this.log2lin(this.lin2log(p)*l[u]);g>t&&(!o||c<=n)&&void 0!==c&&d.push(c),c>n&&(h=!0),c=g}}}else t=this.lin2log(t),n=this.lin2log(n),e=o?s.getMinorTickInterval():c.tickInterval,e=a("auto"===e?null:e,this.minorAutoInterval,c.tickPixelInterval/(o?5:1)*(n-t)/((o?l/s.tickPositions.length:l)||1)),e=r(e,void 0,i(e)),d=s.getLinearTickPositions(e,t,n).map(this.log2lin),o||(this.minorAutoInterval=e/5);return o||(s.tickInterval=e),d},e.prototype.lin2log=function(e){return Math.pow(10,e)},e.prototype.log2lin=function(e){return Math.log(e)/Math.LN10},e}();e.Additions=l}(t||(t={})),t}),t(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],function(e){var t,n=e.erase,i=e.extend,r=e.isNumber;return function(e){var t,a=[];e.compose=function(e,n){return t||(t=e),-1===a.indexOf(n)&&(a.push(n),i(n.prototype,o.prototype)),n};var o=function(){function e(){}return e.prototype.getPlotBandPath=function(e,t,n){void 0===n&&(n=this.options);var i=this.getPlotLinePath({value:t,force:!0,acrossPanes:n.acrossPanes}),a=[],o=this.horiz;if(t=!r(this.min)||!r(this.max)||e<this.min&&t<this.min||e>this.max&&t>this.max,e=this.getPlotLinePath({value:e,force:!0,acrossPanes:n.acrossPanes}),n=1,e&&i){if(t){var s=e.toString()===i.toString();n=0}for(t=0;t<e.length;t+=2){var l=e[t],c=e[t+1],d=i[t],u=i[t+1];"M"!==l[0]&&"L"!==l[0]||"M"!==c[0]&&"L"!==c[0]||"M"!==d[0]&&"L"!==d[0]||"M"!==u[0]&&"L"!==u[0]||(o&&d[1]===l[1]?(d[1]+=n,u[1]+=n):o||d[2]!==l[2]||(d[2]+=n,u[2]+=n),a.push(["M",l[1],l[2]],["L",c[1],c[2]],["L",u[1],u[2]],["L",d[1],d[2]],["Z"])),a.isFlat=s}}return a},e.prototype.addPlotBand=function(e){return this.addPlotBandOrLine(e,"plotBands")},e.prototype.addPlotLine=function(e){return this.addPlotBandOrLine(e,"plotLines")},e.prototype.addPlotBandOrLine=function(e,n){var i=this,r=this.userOptions,a=new t(this,e);if(this.visible&&(a=a.render()),a){if(this._addedPlotLB||(this._addedPlotLB=!0,(r.plotLines||[]).concat(r.plotBands||[]).forEach(function(e){i.addPlotBandOrLine(e)})),n){var o=r[n]||[];o.push(e),r[n]=o}this.plotLinesAndBands.push(a)}return a},e.prototype.removePlotBandOrLine=function(e){var t=this.plotLinesAndBands,i=this.options,r=this.userOptions;if(t){for(var a=t.length;a--;)t[a].id===e&&t[a].destroy();[i.plotLines||[],r.plotLines||[],i.plotBands||[],r.plotBands||[]].forEach(function(t){for(a=t.length;a--;)(t[a]||{}).id===e&&n(t,t[a])})}},e.prototype.removePlotBand=function(e){this.removePlotBandOrLine(e)},e.prototype.removePlotLine=function(e){this.removePlotBandOrLine(e)},e}()}(t||(t={})),t}),t(n,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[n["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],n["Core/Utilities.js"]],function(e,t){var n=t.arrayMax,i=t.arrayMin,r=t.defined,a=t.destroyObjectProperties,o=t.erase,s=t.fireEvent,l=t.merge,c=t.objectEach,d=t.pick;return function(){function t(e,t){this.axis=e,t&&(this.options=t,this.id=t.id)}return t.compose=function(n){return e.compose(t,n)},t.prototype.render=function(){s(this,"render");var e=this,t=e.axis,n=t.horiz,i=t.logarithmic,a=e.options,o=a.color,u=d(a.zIndex,0),p=a.events,h={},m=t.chart.renderer,g=a.label,f=e.label,v=a.to,y=a.from,b=a.value,x=e.svgElem,_=[],w=r(y)&&r(v);_=r(b);var S=!x,C={class:"highcharts-plot-"+(w?"band ":"line ")+(a.className||"")},k=w?"bands":"lines";if(i&&(y=i.log2lin(y),v=i.log2lin(v),b=i.log2lin(b)),t.chart.styledMode||(_?(C.stroke=o||"#999999",C["stroke-width"]=d(a.width,1),a.dashStyle&&(C.dashstyle=a.dashStyle)):w&&(C.fill=o||"#e6ebf5",a.borderWidth&&(C.stroke=a.borderColor,C["stroke-width"]=a.borderWidth))),h.zIndex=u,(i=t.plotLinesAndBandsGroups[k+="-"+u])||(t.plotLinesAndBandsGroups[k]=i=m.g("plot-"+k).attr(h).add()),S&&(e.svgElem=x=m.path().attr(C).add(i)),_)_=t.getPlotLinePath({value:b,lineWidth:x.strokeWidth(),acrossPanes:a.acrossPanes});else{if(!w)return;_=t.getPlotBandPath(y,v,a)}return!e.eventsAdded&&p&&(c(p,function(t,n){x.on(n,function(t){p[n].apply(e,[t])})}),e.eventsAdded=!0),(S||!x.d)&&_&&_.length?x.attr({d:_}):x&&(_?(x.show(!0),x.animate({d:_})):x.d&&(x.hide(),f&&(e.label=f=f.destroy()))),g&&(r(g.text)||r(g.formatter))&&_&&_.length&&0<t.width&&0<t.height&&!_.isFlat?(g=l({align:n&&w&&"center",x:n?!w&&4:10,verticalAlign:!n&&w&&"middle",y:n?w?16:10:w?6:-4,rotation:n&&!w&&90},g),this.renderLabel(g,_,w,u)):f&&f.hide(),e},t.prototype.renderLabel=function(e,t,r,a){var o=this.axis,s=o.chart.renderer,c=this.label;c||(this.label=c=s.text(this.getLabelText(e),0,0,e.useHTML).attr({align:e.textAlign||e.align,rotation:e.rotation,class:"highcharts-plot-"+(r?"band":"line")+"-label "+(e.className||""),zIndex:a}).add(),o.chart.styledMode||c.css(l({textOverflow:"ellipsis"},e.style))),a=t.xBounds||[t[0][1],t[1][1],r?t[2][1]:t[0][1]],t=t.yBounds||[t[0][2],t[1][2],r?t[2][2]:t[0][2]],r=i(a),s=i(t),c.align(e,!1,{x:r,y:s,width:n(a)-r,height:n(t)-s}),c.alignValue&&"left"!==c.alignValue||c.css({width:(90===c.rotation?o.height-(c.alignAttr.y-o.top):o.width-(c.alignAttr.x-o.left))+"px"}),c.show(!0)},t.prototype.getLabelText=function(e){return r(e.formatter)?e.formatter.call(this):e.text},t.prototype.destroy=function(){o(this.axis.plotLinesAndBands,this),delete this.axis,a(this)},t}()}),t(n,"Core/Tooltip.js",[n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],function(e,t,n,i,r){var a=e.format,o=t.doc,s=n.distribute,l=r.addEvent,c=r.clamp,d=r.css,u=r.defined,p=r.discardElement,h=r.extend,m=r.fireEvent,g=r.isArray,f=r.isNumber,v=r.isString,y=r.merge,b=r.pick,x=r.splat,_=r.syncTimeout;return function(){function e(e,t){this.allowShared=!0,this.container=void 0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.now={},this.options={},this.outside=!1,this.chart=e,this.init(e,t)}return e.prototype.applyFilter=function(){var e=this.chart;e.renderer.definition({tagName:"filter",attributes:{id:"drop-shadow-"+e.index,opacity:.5},children:[{tagName:"feGaussianBlur",attributes:{in:"SourceAlpha",stdDeviation:1}},{tagName:"feOffset",attributes:{dx:1,dy:1}},{tagName:"feComponentTransfer",children:[{tagName:"feFuncA",attributes:{type:"linear",slope:.3}}]},{tagName:"feMerge",children:[{tagName:"feMergeNode"},{tagName:"feMergeNode",attributes:{in:"SourceGraphic"}}]}]})},e.prototype.bodyFormatter=function(e){return e.map(function(e){var t=e.series.tooltipOptions;return(t[(e.point.formatPrefix||"point")+"Formatter"]||e.point.tooltipFormatter).call(e.point,t[(e.point.formatPrefix||"point")+"Format"]||"")})},e.prototype.cleanSplit=function(e){this.chart.series.forEach(function(t){var n=t&&t.tt;n&&(!n.isActive||e?t.tt=n.destroy():n.isActive=!1)})},e.prototype.defaultFormatter=function(e){var t=this.points||x(this),n=[e.tooltipFooterHeaderFormatter(t[0])];return(n=n.concat(e.bodyFormatter(t))).push(e.tooltipFooterHeaderFormatter(t[0],!0)),n},e.prototype.destroy=function(){this.label&&(this.label=this.label.destroy()),this.split&&this.tt&&(this.cleanSplit(!0),this.tt=this.tt.destroy()),this.renderer&&(this.renderer=this.renderer.destroy(),p(this.container)),r.clearTimeout(this.hideTimer),r.clearTimeout(this.tooltipTimeout)},e.prototype.getAnchor=function(e,t){var n,i,r=this.chart,a=r.pointer,o=r.inverted,s=r.plotTop,l=r.plotLeft,c=0,d=0;return e=x(e),this.followPointer&&t?(void 0===t.chartX&&(t=a.normalize(t)),a=[t.chartX-l,t.chartY-s]):e[0].tooltipPos?a=e[0].tooltipPos:(e.forEach(function(e){n=e.series.yAxis,c+=e.plotX||0,d+=e.plotLow?(e.plotLow+(e.plotHigh||0))/2:e.plotY||0,(i=e.series.xAxis)&&n&&(o?(c+=s+r.plotHeight-i.len-i.pos,d+=l+r.plotWidth-n.len-n.pos):(c+=i.pos-l,d+=n.pos-s))}),c/=e.length,d/=e.length,a=[o?r.plotWidth-d:c,o?r.plotHeight-c:d],this.shared&&1<e.length&&t&&(o?a[0]=t.chartX-l:a[1]=t.chartY-s)),a.map(Math.round)},e.prototype.getLabel=function(){var e,n=this,r=this.chart.styledMode,a=this.options,o=this.split&&this.allowShared,s="tooltip"+(u(a.className)?" "+a.className:""),c=a.style.pointerEvents||(!this.followPointer&&a.stickOnContact?"auto":"none"),p=function(){n.inContact=!0},h=function(e){var t=n.chart.hoverSeries;n.inContact=n.shouldStickOnContact()&&n.chart.pointer.inClass(e.relatedTarget,"highcharts-tooltip"),!n.inContact&&t&&t.onMouseOut&&t.onMouseOut()},m=this.chart.renderer;if(n.label){var g=!n.label.hasClass("highcharts-label");(o&&!g||!o&&g)&&n.destroy()}if(!this.label){if(this.outside){g=this.chart.options.chart.style;var f=i.getRendererType();this.container=e=t.doc.createElement("div"),e.className="highcharts-tooltip-container",d(e,{position:"absolute",top:"1px",pointerEvents:c,zIndex:Math.max(this.options.style.zIndex||0,(g&&g.zIndex||0)+3)}),l(e,"mouseenter",p),l(e,"mouseleave",h),t.doc.body.appendChild(e),this.renderer=m=new f(e,0,0,g,void 0,void 0,m.styledMode)}if(o?this.label=m.g(s):(this.label=m.label("",0,0,a.shape,void 0,void 0,a.useHTML,void 0,s).attr({padding:a.padding,r:a.borderRadius}),r||this.label.attr({fill:a.backgroundColor,"stroke-width":a.borderWidth}).css(a.style).css({pointerEvents:c}).shadow(a.shadow)),r&&a.shadow&&(this.applyFilter(),this.label.attr({filter:"url(#drop-shadow-"+this.chart.index+")"})),n.outside&&!n.split){var v=this.label,y=v.xSetter,b=v.ySetter;v.xSetter=function(t){y.call(v,n.distance),e.style.left=t+"px"},v.ySetter=function(t){b.call(v,n.distance),e.style.top=t+"px"}}this.label.on("mouseenter",p).on("mouseleave",h).attr({zIndex:8}).add()}return this.label},e.prototype.getPosition=function(e,t,n){var i,r=this.chart,a=this.distance,s={},l=r.inverted&&n.h||0,c=this.outside,d=c?o.documentElement.clientWidth-2*a:r.chartWidth,u=c?Math.max(o.body.scrollHeight,o.documentElement.scrollHeight,o.body.offsetHeight,o.documentElement.offsetHeight,o.documentElement.clientHeight):r.chartHeight,p=r.pointer.getChartPosition(),h=function(i){var o="x"===i;return[i,o?d:u,o?e:t].concat(c?[o?e*p.scaleX:t*p.scaleY,o?p.left-a+(n.plotX+r.plotLeft)*p.scaleX:p.top-a+(n.plotY+r.plotTop)*p.scaleY,0,o?d:u]:[o?e:t,o?n.plotX+r.plotLeft:n.plotY+r.plotTop,o?r.plotLeft:r.plotTop,o?r.plotLeft+r.plotWidth:r.plotTop+r.plotHeight])},m=h("y"),g=h("x");h=!!n.negative,!r.polar&&r.hoverSeries&&r.hoverSeries.yAxis&&r.hoverSeries.yAxis.reversed&&(h=!h);var f=!this.followPointer&&b(n.ttBelow,!r.inverted===h),v=function(e,t,n,i,r,o,d){var u=c?"y"===e?a*p.scaleY:a*p.scaleX:a,h=(n-i)/2,m=i<r-a,g=r+a+i<t,v=r-u-n+h;if(r=r+u-h,f&&g)s[e]=r;else if(!f&&m)s[e]=v;else if(m)s[e]=Math.min(d-i,0>v-l?v:v-l);else{if(!g)return!1;s[e]=Math.max(o,r+l+n>t?r:r+l)}},y=function(e,t,n,i,r){var o;return r<a||r>t-a?o=!1:s[e]=r<n/2?1:r>t-i/2?t-i-2:r-n/2,o},x=function(e){var t=m;m=g,g=t,i=e};return(r.inverted||1<this.len)&&x(),function e(){!1!==v.apply(0,m)?!1!==y.apply(0,g)||i||(x(!0),e()):i?s.x=s.y=0:(x(!0),e())}(),s},e.prototype.hide=function(e){var t=this;r.clearTimeout(this.hideTimer),e=b(e,this.options.hideDelay),this.isHidden||(this.hideTimer=_(function(){t.getLabel().fadeOut(e?void 0:e),t.isHidden=!0},e))},e.prototype.init=function(e,t){this.chart=e,this.options=t,this.crosshairs=[],this.now={x:0,y:0},this.isHidden=!0,this.split=t.split&&!e.inverted&&!e.polar,this.shared=t.shared||this.split,this.outside=b(t.outside,!(!e.scrollablePixelsX&&!e.scrollablePixelsY))},e.prototype.shouldStickOnContact=function(){return!(this.followPointer||!this.options.stickOnContact)},e.prototype.isStickyOnContact=function(){return!(!this.shouldStickOnContact()||!this.inContact)},e.prototype.move=function(e,t,n,i){var a=this,o=a.now,s=!1!==a.options.animation&&!a.isHidden&&(1<Math.abs(e-o.x)||1<Math.abs(t-o.y)),l=a.followPointer||1<a.len;h(o,{x:s?(2*o.x+e)/3:e,y:s?(o.y+t)/2:t,anchorX:l?void 0:s?(2*o.anchorX+n)/3:n,anchorY:l?void 0:s?(o.anchorY+i)/2:i}),a.getLabel().attr(o),a.drawTracker(),s&&(r.clearTimeout(this.tooltipTimeout),this.tooltipTimeout=setTimeout(function(){a&&a.move(e,t,n,i)},32))},e.prototype.refresh=function(e,t){var n=this.chart,i=this.options,a=x(e),o=a[0],s=[],l=i.formatter||this.defaultFormatter,c=this.shared,d=n.styledMode,u={};if(i.enabled){r.clearTimeout(this.hideTimer),this.allowShared=!(!g(e)&&e.series&&e.series.noSharedTooltip),this.followPointer=!this.split&&o.series.tooltipOptions.followPointer;var p=(e=this.getAnchor(e,t))[0],h=e[1];if(c&&this.allowShared?(n.pointer.applyInactiveState(a),a.forEach(function(e){e.setState("hover"),s.push(e.getLabelConfig())}),(u={x:o.category,y:o.y}).points=s):u=o.getLabelConfig(),this.len=s.length,l=l.call(u,this),this.distance=b((c=o.series).tooltipOptions.distance,16),!1===l)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(l,a);else{var f=p,v=h;if(t&&n.pointer.isDirectTouch&&(f=t.chartX-n.plotLeft,v=t.chartY-n.plotTop),!n.polar&&!1!==c.options.clip&&!a.some(function(e){return e.series.shouldShowTooltip(f,v)}))return void this.hide();t=this.getLabel(),i.style.width&&!d||t.css({width:this.chart.spacingBox.width+"px"}),t.attr({text:l&&l.join?l.join(""):l}),t.removeClass(/highcharts-color-[\d]+/g).addClass("highcharts-color-"+b(o.colorIndex,c.colorIndex)),d||t.attr({stroke:i.borderColor||o.color||c.color||"#666666"}),this.updatePosition({plotX:p,plotY:h,negative:o.negative,ttBelow:o.ttBelow,h:e[2]||0})}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}m(this,"refresh")}},e.prototype.renderSplit=function(e,t){function n(e,t,n,r,a){return void 0===a&&(a=!0),n?(t=M?0:D,e=c(e-r/2,k.left,k.right-r-(i.outside?I:0))):(t-=P,e=c(e=a?e-r-w:e+w,a?e:k.left,k.right)),{x:e,y:t}}var i=this,r=i.chart,a=i.chart,l=a.chartWidth,d=a.chartHeight,u=a.plotHeight,p=a.plotLeft,m=a.plotTop,g=a.pointer,f=a.scrollablePixelsY;f=void 0===f?0:f;var y=a.scrollingContainer,x=(y=void 0===y?{scrollLeft:0,scrollTop:0}:y).scrollLeft;y=y.scrollTop;var _=a.styledMode,w=i.distance,S=i.options,C=i.options.positioner,k=i.outside&&"number"!=typeof a.scrollablePixelsX?o.documentElement.getBoundingClientRect():{left:x,right:x+l,top:y,bottom:y+d},O=i.getLabel(),E=this.renderer||r.renderer,M=!(!r.xAxis[0]||!r.xAxis[0].opposite),I=(r=g.getChartPosition()).left;r=r.top;var P=m+y,T=0,D=u-f;v(e)&&(e=[!1,e]),e=e.slice(0,t.length+1).reduce(function(e,r,a){if(!1!==r&&""!==r){var o=(a=t[a-1]||{isHeader:!0,plotX:t[0].plotX,plotY:u,series:{}}).isHeader,s=o?i:a.series;r=r.toString();var l=s.tt,d=a.isHeader,h=a.series,g="highcharts-color-"+b(a.colorIndex,h.colorIndex,"none");if(l||(l={padding:S.padding,r:S.borderRadius},_||(l.fill=S.backgroundColor,l["stroke-width"]=S.borderWidth),l=E.label("",0,0,S[d?"headerShape":"shape"],void 0,void 0,S.useHTML).addClass((d?"highcharts-tooltip-header ":"")+"highcharts-tooltip-box "+g).attr(l).add(O)),l.isActive=!0,l.attr({text:r}),_||l.css(S.style).shadow(S.shadow).attr({stroke:S.borderColor||a.color||h.color||"#333333"}),r=(d=(s=s.tt=l).getBBox()).width+s.strokeWidth(),o&&(D+=T=d.height,M&&(P-=T)),h=void 0===(h=a.plotX)?0:h,g=void 0===(g=a.plotY)?0:g,l=a.series,a.isHeader){h=p+h;var f=m+u/2}else{var v=l.xAxis,y=l.yAxis;h=v.pos+c(h,-w,v.len+w),l.shouldShowTooltip(0,y.pos-m+g,{ignoreX:!0})&&(f=y.pos+g)}h=c(h,k.left-w,k.right+w),"number"==typeof f?(d=d.height+1,g=C?C.call(i,r,d,a):n(h,f,o,r),e.push({align:C?0:void 0,anchorX:h,anchorY:f,boxWidth:r,point:a,rank:b(g.rank,o?1:0),size:d,target:g.y,tt:s,x:g.x})):s.isActive=!1}return e},[]),!C&&e.some(function(e){var t=(i.outside?I:0)+e.anchorX;return t<k.left&&t+e.boxWidth<k.right||t<I-k.left+e.boxWidth&&k.right-t>t})&&(e=e.map(function(e){var t=n(e.anchorX,e.anchorY,e.point.isHeader,e.boxWidth,!1);return h(e,{target:t.y,x:t.x})})),i.cleanSplit(),s(e,D);var L=I,R=I;e.forEach(function(e){var t=e.x,n=e.boxWidth;(e=e.isHeader)||(i.outside&&I+t<L&&(L=I+t),!e&&i.outside&&L+n>R&&(R=I+t))}),e.forEach(function(e){var t=e.x,n=e.anchorX,r=e.pos,a=e.point.isHeader;if(r={visibility:void 0===r?"hidden":"inherit",x:t,y:r+P,anchorX:n,anchorY:e.anchorY},i.outside&&t<n){var o=I-L;0<o&&(a||(r.x=t+o,r.anchorX=n+o),a&&(r.x=(R-L)/2,r.anchorX=n+o))}e.tt.attr(r)}),e=i.container,f=i.renderer,i.outside&&e&&f&&(a=O.getBBox(),f.setSize(a.width+a.x,a.height+a.y,!1),e.style.left=L+"px",e.style.top=r+"px")},e.prototype.drawTracker=function(){if(this.followPointer||!this.options.stickOnContact)this.tracker&&this.tracker.destroy();else{var e=this.chart,t=this.label,n=this.shared?e.hoverPoints:e.hoverPoint;if(t&&n){var i={x:0,y:0,width:0,height:0};n=this.getAnchor(n);var r=t.getBBox();n[0]+=e.plotLeft-t.translateX,n[1]+=e.plotTop-t.translateY,i.x=Math.min(0,n[0]),i.y=Math.min(0,n[1]),i.width=0>n[0]?Math.max(Math.abs(n[0]),r.width-n[0]):Math.max(Math.abs(n[0]),r.width),i.height=0>n[1]?Math.max(Math.abs(n[1]),r.height-Math.abs(n[1])):Math.max(Math.abs(n[1]),r.height),this.tracker?this.tracker.attr(i):(this.tracker=t.renderer.rect(i).addClass("highcharts-tracker").add(t),e.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},e.prototype.styledModeFormat=function(e){return e.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},e.prototype.tooltipFooterHeaderFormatter=function(e,t){var n=e.series,i=n.tooltipOptions,r=n.xAxis,o=r&&r.dateTime,s=i.xDateFormat,l=i[t?"footerFormat":"headerFormat"];return m(this,"headerFormatter",r={isFooter:t,labelConfig:e},function(t){o&&!s&&f(e.key)&&(s=o.getXDateFormat(e.key,i.dateTimeLabelFormats)),o&&s&&(e.point&&e.point.tooltipDateKeys||["key"]).forEach(function(e){l=l.replace("{point."+e+"}","{point."+e+":"+s+"}")}),n.chart.styledMode&&(l=this.styledModeFormat(l)),t.text=a(l,{point:e,series:n},this.chart)}),r.text},e.prototype.update=function(e){this.destroy(),y(!0,this.chart.options.tooltip.userOptions,e),this.init(this.chart,y(!0,this.options,e))},e.prototype.updatePosition=function(e){var t=this.chart,n=this.options,i=t.pointer,r=this.getLabel();i=i.getChartPosition();var a=(n.positioner||this.getPosition).call(this,r.width,r.height,e),o=e.plotX+t.plotLeft;e=e.plotY+t.plotTop,this.outside&&(this.renderer.setSize(r.width+(n=n.borderWidth+2*this.distance),r.height+n,!1),1===i.scaleX&&1===i.scaleY||(d(this.container,{transform:"scale("+i.scaleX+", "+i.scaleY+")"}),o*=i.scaleX,e*=i.scaleY),o+=i.left-a.x,e+=i.top-a.y),this.move(Math.round(a.x),Math.round(a.y||0),o,e)},e}()}),t(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],function(e,t,n,i,r){var a=t.animObject,o=n.defaultOptions,s=i.format,l=r.addEvent,c=r.defined,d=r.erase,u=r.extend,p=r.fireEvent,h=r.getNestedProperty,m=r.isArray,g=r.isFunction,f=r.isNumber,v=r.isObject,y=r.merge,b=r.objectEach,x=r.pick,_=r.syncTimeout,w=r.removeEvent,S=r.uniqueKey;return function(){function t(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return t.prototype.animateBeforeDestroy=function(){var e=this,t={x:e.startXPos,opacity:0},n=e.getGraphicalProps();n.singular.forEach(function(n){e[n]=e[n].animate("dataLabel"===n?{x:e[n].startXPos,y:e[n].startYPos,opacity:0}:t)}),n.plural.forEach(function(t){e[t].forEach(function(t){t.element&&t.animate(u({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))})})},t.prototype.applyOptions=function(e,n){var i=this.series,r=i.options.pointValKey||i.pointValKey;return e=t.prototype.optionsToObject.call(this,e),u(this,e),this.options=this.options?u(this.options,e):e,e.group&&delete this.group,e.dataLabels&&delete this.dataLabels,r&&(this.y=t.prototype.getNestedProperty.call(this,r)),this.formatPrefix=(this.isNull=x(this.isValid&&!this.isValid(),null===this.x||!f(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&void 0===n&&i.xAxis&&i.xAxis.hasNames&&(this.x=i.xAxis.nameToX(this)),void 0===this.x&&i?this.x=void 0===n?i.autoIncrement():n:f(e.x)&&i.options.relativeXValue&&(this.x=i.autoIncrement(e.x)),this},t.prototype.destroy=function(){function e(){for(r in(t.graphic||t.dataLabel||t.dataLabels)&&(w(t),t.destroyElements()),t)t[r]=null}var t=this,n=t.series,i=n.chart;n=n.options.dataSorting;var r,o=i.hoverPoints,s=a(t.series.chart.renderer.globalAnimation);t.legendItem&&i.legend.destroyItem(t),o&&(t.setState(),d(o,t),o.length||(i.hoverPoints=null)),t===i.hoverPoint&&t.onMouseOut(),n&&n.enabled?(this.animateBeforeDestroy(),_(e,s.duration)):e(),i.pointCount--},t.prototype.destroyElements=function(e){var t=this;(e=t.getGraphicalProps(e)).singular.forEach(function(e){t[e]=t[e].destroy()}),e.plural.forEach(function(e){t[e].forEach(function(e){e.element&&e.destroy()}),delete t[e]})},t.prototype.firePointEvent=function(e,t,n){var i=this,r=this.series.options;(r.point.events[e]||i.options&&i.options.events&&i.options.events[e])&&i.importEvents(),"click"===e&&r.allowPointSelect&&(n=function(e){i.select&&i.select(null,e.ctrlKey||e.metaKey||e.shiftKey)}),p(i,e,t,n)},t.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(void 0!==this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},t.prototype.getGraphicalProps=function(e){var t,n=this,i=[],r={singular:[],plural:[]};for((e=e||{graphic:1,dataLabel:1}).graphic&&i.push("graphic","upperGraphic","shadowGroup"),e.dataLabel&&i.push("dataLabel","dataLabelUpper","connector"),t=i.length;t--;){var a=i[t];n[a]&&r.singular.push(a)}return["dataLabel","connector"].forEach(function(t){var i=t+"s";e[t]&&n[i]&&r.plural.push(i)}),r},t.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},t.prototype.getNestedProperty=function(e){if(e)return 0===e.indexOf("custom.")?h(e,this.options):this[e]},t.prototype.getZone=function(){var e=this.series,t=e.zones;e=e.zoneAxis||"y";var n,i=0;for(n=t[i];this[e]>=n.value;)n=t[++i];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=n&&n.color&&!this.options.color?n.color:this.nonZonedColor,n},t.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},t.prototype.init=function(e,t,n){return this.series=e,this.applyOptions(t,n),this.id=c(this.id)?this.id:S(),this.resolveColor(),e.chart.pointCount++,p(this,"afterInit"),this},t.prototype.optionsToObject=function(e){var n=this.series,i=n.options.keys,r=i||n.pointArrayMap||["y"],a=r.length,o={},s=0,l=0;if(f(e)||null===e)o[r[0]]=e;else if(m(e))for(!i&&e.length>a&&("string"==(n=typeof e[0])?o.name=e[0]:"number"===n&&(o.x=e[0]),s++);l<a;)i&&void 0===e[s]||(0<r[l].indexOf(".")?t.prototype.setNestedProperty(o,e[s],r[l]):o[r[l]]=e[s]),s++,l++;else"object"==typeof e&&(o=e,e.dataLabels&&(n._hasPointLabels=!0),e.marker&&(n._hasPointMarkers=!0));return o},t.prototype.resolveColor=function(){var e=this.series,t=e.chart.styledMode,n=e.chart.options.chart.colorCount;if(delete this.nonZonedColor,e.options.colorByPoint){if(!t){var i=(n=e.options.colors||e.chart.options.colors)[e.colorCounter];n=n.length}t=e.colorCounter,e.colorCounter++,e.colorCounter===n&&(e.colorCounter=0)}else t||(i=e.color),t=e.colorIndex;this.colorIndex=x(this.options.colorIndex,t),this.color=x(this.options.color,i)},t.prototype.setNestedProperty=function(e,t,n){return n.split(".").reduce(function(e,n,i,r){return e[n]=r.length-1===i?t:v(e[n],!0)?e[n]:{},e[n]},e),e},t.prototype.tooltipFormatter=function(e){var t=this.series,n=t.tooltipOptions,i=x(n.valueDecimals,""),r=n.valuePrefix||"",a=n.valueSuffix||"";return t.chart.styledMode&&(e=t.chart.tooltip.styledModeFormat(e)),(t.pointArrayMap||["y"]).forEach(function(t){t="{point."+t,(r||a)&&(e=e.replace(RegExp(t+"}","g"),r+t+"}"+a)),e=e.replace(RegExp(t+"}","g"),t+":,."+i+"f}")}),s(e,{point:this,series:this.series},t.chart)},t.prototype.update=function(e,t,n,i){function r(){o.applyOptions(e);var i=l&&o.hasDummyGraphic;i=null===o.y?!i:i,l&&i&&(o.graphic=l.destroy(),delete o.hasDummyGraphic),v(e,!0)&&(l&&l.element&&e&&e.marker&&void 0!==e.marker.symbol&&(o.graphic=l.destroy()),e&&e.dataLabels&&o.dataLabel&&(o.dataLabel=o.dataLabel.destroy()),o.connector&&(o.connector=o.connector.destroy())),s.updateParallelArrays(o,a=o.index),d.data[a]=v(d.data[a],!0)||v(e,!0)?o.options:x(e,d.data[a]),s.isDirty=s.isDirtyData=!0,!s.fixedBox&&s.hasCartesianSeries&&(c.isDirtyBox=!0),"point"===d.legendType&&(c.isDirtyLegend=!0),t&&c.redraw(n)}var a,o=this,s=o.series,l=o.graphic,c=s.chart,d=s.options;t=x(t,!0),!1===i?r():o.firePointEvent("update",{options:e},r)},t.prototype.remove=function(e,t){this.series.removePoint(this.series.data.indexOf(this),e,t)},t.prototype.select=function(e,t){var n=this,i=n.series,r=i.chart;this.selectedStaging=e=x(e,!n.selected),n.firePointEvent(e?"select":"unselect",{accumulate:t},function(){n.selected=n.options.selected=e,i.options.data[i.data.indexOf(n)]=n.options,n.setState(e&&"select"),t||r.getSelectedPoints().forEach(function(e){var t=e.series;e.selected&&e!==n&&(e.selected=e.options.selected=!1,t.options.data[t.data.indexOf(e)]=e.options,e.setState(r.hoverPoints&&t.options.inactiveOtherPoints?"inactive":""),e.firePointEvent("unselect"))})}),delete this.selectedStaging},t.prototype.onMouseOver=function(e){var t=this.series.chart,n=t.pointer;e=e?n.normalize(e):n.getChartCoordinatesFromPoint(this,t.inverted),n.runPointActions(e,this)},t.prototype.onMouseOut=function(){var e=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(e.hoverPoints||[]).forEach(function(e){e.setState()}),e.hoverPoints=e.hoverPoint=null},t.prototype.importEvents=function(){if(!this.hasImportedEvents){var e=this,t=y(e.series.options.point,e.options).events;e.events=t,b(t,function(t,n){g(t)&&l(e,n,t)}),this.hasImportedEvents=!0}},t.prototype.setState=function(t,n){var i,r=this.series,a=this.state,s=r.options.states[t||"normal"]||{},l=o.plotOptions[r.type].marker&&r.options.marker,c=l&&l.states&&l.states[t||"normal"]||{},d=this.marker||{},h=r.chart,m=l&&r.markerAttribs,g=r.halo,v=r.stateMarkerGraphic;if(!((t=t||"")===this.state&&!n||this.selected&&"select"!==t||!1===s.enabled||t&&(!1===c.enabled||l&&!1===l.enabled&&!1===c.enabled)||t&&d.states&&d.states[t]&&!1===d.states[t].enabled)){if(this.state=t,m&&(i=r.markerAttribs(this,t)),this.graphic&&!this.hasDummyGraphic){if(a&&this.graphic.removeClass("highcharts-point-"+a),t&&this.graphic.addClass("highcharts-point-"+t),!h.styledMode){var y=r.pointAttribs(this,t),b=x(h.options.chart.animation,s.animation);r.options.inactiveOtherPoints&&f(y.opacity)&&((this.dataLabels||[]).forEach(function(e){e&&e.animate({opacity:y.opacity},b)}),this.connector&&this.connector.animate({opacity:y.opacity},b)),this.graphic.animate(y,b)}i&&this.graphic.animate(i,x(h.options.chart.animation,c.animation,l.animation)),v&&v.hide()}else t&&c&&(a=d.symbol||r.symbol,v&&v.currentSymbol!==a&&(v=v.destroy()),i&&(v?v[n?"animate":"attr"]({x:i.x,y:i.y}):a&&(r.stateMarkerGraphic=v=h.renderer.symbol(a,i.x,i.y,i.width,i.height).add(r.markerGroup),v.currentSymbol=a)),!h.styledMode&&v&&"inactive"!==this.state&&v.attr(r.pointAttribs(this,t))),v&&(v[t&&this.isInside?"show":"hide"](),v.element.point=this,v.addClass(this.getClassName(),!0));i=(v=this.graphic||v)&&v.visibility||"inherit",(s=s.halo)&&s.size&&v&&"hidden"!==i&&!this.isCluster?(g||(r.halo=g=h.renderer.path().add(v.parentGroup)),g.show()[n?"animate":"attr"]({d:this.haloPath(s.size)}),g.attr({class:"highcharts-halo highcharts-color-"+x(this.colorIndex,r.colorIndex)+(this.className?" "+this.className:""),visibility:i,zIndex:-1}),g.point=this,h.styledMode||g.attr(u({fill:this.color||r.color,"fill-opacity":s.opacity},e.filterUserAttributes(s.attributes||{})))):g&&g.point&&g.point.haloPath&&g.animate({d:g.point.haloPath(0)},null,g.hide),p(this,"afterSetState",{state:t})}},t.prototype.haloPath=function(e){return this.series.chart.renderer.symbols.circle(Math.floor(this.plotX)-e,this.plotY-e,2*e,2*e)},t}()}),t(n,"Core/Pointer.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Tooltip.js"],n["Core/Utilities.js"]],function(e,t,n,i){var r=e.parse,a=t.charts,o=t.noop,s=i.addEvent,l=i.attr,c=i.css,d=i.defined,u=i.extend,p=i.find,h=i.fireEvent,m=i.isNumber,g=i.isObject,f=i.objectEach,v=i.offset,y=i.pick,b=i.splat;return function(){function e(e,t){this.lastValidTouch={},this.pinchDown=[],this.runChartClick=!1,this.eventsToUnbind=[],this.chart=e,this.hasDragged=!1,this.options=t,this.init(e,t)}return e.prototype.applyInactiveState=function(e){var t,n=[];(e||[]).forEach(function(e){n.push(t=e.series),t.linkedParent&&n.push(t.linkedParent),t.linkedSeries&&(n=n.concat(t.linkedSeries)),t.navigatorSeries&&n.push(t.navigatorSeries)}),this.chart.series.forEach(function(e){-1===n.indexOf(e)?e.setState("inactive",!0):e.options.inactiveOtherPoints&&e.setAllPointsToState("inactive")})},e.prototype.destroy=function(){var n=this;this.eventsToUnbind.forEach(function(e){return e()}),this.eventsToUnbind=[],t.chartCount||(e.unbindDocumentMouseUp&&(e.unbindDocumentMouseUp=e.unbindDocumentMouseUp()),e.unbindDocumentTouchEnd&&(e.unbindDocumentTouchEnd=e.unbindDocumentTouchEnd())),clearInterval(n.tooltipTimeout),f(n,function(e,t){n[t]=void 0})},e.prototype.drag=function(e){var t=this.chart,n=t.options.chart,i=this.zoomHor,a=this.zoomVert,o=t.plotLeft,s=t.plotTop,l=t.plotWidth,c=t.plotHeight,d=this.mouseDownX||0,u=this.mouseDownY||0,p=g(n.panning)?n.panning&&n.panning.enabled:n.panning,h=n.panKey&&e[n.panKey+"Key"],m=e.chartX,f=e.chartY,v=this.selectionMarker;if((!v||!v.touch)&&(m<o?m=o:m>o+l&&(m=o+l),f<s?f=s:f>s+c&&(f=s+c),this.hasDragged=Math.sqrt(Math.pow(d-m,2)+Math.pow(u-f,2)),10<this.hasDragged)){var y=t.isInsidePlot(d-o,u-s,{visiblePlotOnly:!0});!t.hasCartesianSeries&&!t.mapView||!this.zoomX&&!this.zoomY||!y||h||v||(this.selectionMarker=v=t.renderer.rect(o,s,i?1:l,a?1:c,0).attr({class:"highcharts-selection-marker",zIndex:7}).add(),t.styledMode||v.attr({fill:n.selectionMarkerFill||r("#335cad").setOpacity(.25).get()})),v&&i&&(i=m-d,v.attr({width:Math.abs(i),x:(0<i?0:i)+d})),v&&a&&(i=f-u,v.attr({height:Math.abs(i),y:(0<i?0:i)+u})),y&&!v&&p&&t.pan(e,n.panning)}},e.prototype.dragStart=function(e){var t=this.chart;t.mouseIsDown=e.type,t.cancelClick=!1,t.mouseDownX=this.mouseDownX=e.chartX,t.mouseDownY=this.mouseDownY=e.chartY},e.prototype.drop=function(e){var t=this,n=this.chart,i=this.hasPinched;if(this.selectionMarker){var r=this.selectionMarker,a=r.attr?r.attr("x"):r.x,o=r.attr?r.attr("y"):r.y,s=r.attr?r.attr("width"):r.width,l=r.attr?r.attr("height"):r.height,p={originalEvent:e,xAxis:[],yAxis:[],x:a,y:o,width:s,height:l},g=!!n.mapView;(this.hasDragged||i)&&(n.axes.forEach(function(n){if(n.zoomEnabled&&d(n.min)&&(i||t[{xAxis:"zoomX",yAxis:"zoomY"}[n.coll]])&&m(a)&&m(o)){var r=n.horiz,c="touchend"===e.type?n.minPixelPadding:0,u=n.toValue((r?a:o)+c);r=n.toValue((r?a+s:o+l)-c),p[n.coll].push({axis:n,min:Math.min(u,r),max:Math.max(u,r)}),g=!0}}),g&&h(n,"selection",p,function(e){n.zoom(u(e,i?{animation:!1}:null))})),m(n.index)&&(this.selectionMarker=this.selectionMarker.destroy()),i&&this.scaleGroups()}n&&m(n.index)&&(c(n.container,{cursor:n._cursor}),n.cancelClick=10<this.hasDragged,n.mouseIsDown=this.hasDragged=this.hasPinched=!1,this.pinchDown=[])},e.prototype.findNearestKDPoint=function(e,t,n){var i,r=this.chart,a=r.hoverPoint;return r=r.tooltip,a&&r&&r.isStickyOnContact()?a:(e.forEach(function(e){var r=!(e.noSharedTooltip&&t)&&0>e.options.findNearestPointBy.indexOf("y");if(e=e.searchPoint(n,r),(r=g(e,!0)&&e.series)&&!(r=!g(i,!0))){var a=i.dist-e.dist,o=(e.series.group&&e.series.group.zIndex)-(i.series.group&&i.series.group.zIndex);r=0<(0!=(r=i.distX-e.distX)&&t?r:0!==a?a:0!==o?o:i.series.index>e.series.index?-1:1)}r&&(i=e)}),i)},e.prototype.getChartCoordinatesFromPoint=function(e,t){var n=e.series,i=n.xAxis;n=n.yAxis;var r=e.shapeArgs;if(i&&n){var a=y(e.clientX,e.plotX),o=e.plotY||0;return e.isNode&&r&&m(r.x)&&m(r.y)&&(a=r.x,o=r.y),t?{chartX:n.len+n.pos-o,chartY:i.len+i.pos-a}:{chartX:a+i.pos,chartY:o+n.pos}}if(r&&r.x&&r.y)return{chartX:r.x,chartY:r.y}},e.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var e=this.chart.container,t=v(e);this.chartPosition={left:t.left,top:t.top,scaleX:1,scaleY:1};var n=e.offsetWidth;return e=e.offsetHeight,2<n&&2<e&&(this.chartPosition.scaleX=t.width/n,this.chartPosition.scaleY=t.height/e),this.chartPosition},e.prototype.getCoordinates=function(e){var t={xAxis:[],yAxis:[]};return this.chart.axes.forEach(function(n){t[n.isXAxis?"xAxis":"yAxis"].push({axis:n,value:n.toValue(e[n.horiz?"chartX":"chartY"])})}),t},e.prototype.getHoverData=function(e,t,n,i,r,a){var o=[];i=!(!i||!e);var s={chartX:a?a.chartX:void 0,chartY:a?a.chartY:void 0,shared:r};h(this,"beforeGetHoverData",s);var l=t&&!t.stickyTracking?[t]:n.filter(function(e){return s.filter?s.filter(e):e.visible&&!(!r&&e.directTouch)&&y(e.options.enableMouseTracking,!0)&&e.stickyTracking}),c=i||!a?e:this.findNearestKDPoint(l,r,a);return t=c&&c.series,c&&(r&&!t.noSharedTooltip?(l=n.filter(function(e){return s.filter?s.filter(e):e.visible&&!(!r&&e.directTouch)&&y(e.options.enableMouseTracking,!0)&&!e.noSharedTooltip})).forEach(function(e){var t=p(e.points,function(e){return e.x===c.x&&!e.isNull});g(t)&&(e.chart.isBoosting&&(t=e.getPoint(t)),o.push(t))}):o.push(c)),h(this,"afterGetHoverData",s={hoverPoint:c}),{hoverPoint:s.hoverPoint,hoverSeries:t,hoverPoints:o}},e.prototype.getPointFromEvent=function(e){e=e.target;for(var t;e&&!t;)t=e.point,e=e.parentNode;return t},e.prototype.onTrackerMouseOut=function(e){e=e.relatedTarget||e.toElement;var t=this.chart.hoverSeries;this.isDirectTouch=!1,!t||!e||t.stickyTracking||this.inClass(e,"highcharts-tooltip")||this.inClass(e,"highcharts-series-"+t.index)&&this.inClass(e,"highcharts-tracker")||t.onMouseOut()},e.prototype.inClass=function(e,t){for(var n;e;){if(n=l(e,"class")){if(-1!==n.indexOf(t))return!0;if(-1!==n.indexOf("highcharts-container"))return!1}e=e.parentNode}},e.prototype.init=function(e,t){this.options=t,this.chart=e,this.runChartClick=!(!t.chart.events||!t.chart.events.click),this.pinchDown=[],this.lastValidTouch={},n&&(e.tooltip=new n(e,t.tooltip),this.followTouchMove=y(t.tooltip.followTouchMove,!0)),this.setDOMEvents()},e.prototype.normalize=function(e,t){var n=e.touches,i=n?n.length?n.item(0):y(n.changedTouches,e.changedTouches)[0]:e;return t||(t=this.getChartPosition()),n=i.pageX-t.left,i=i.pageY-t.top,n/=t.scaleX,i/=t.scaleY,u(e,{chartX:Math.round(n),chartY:Math.round(i)})},e.prototype.onContainerClick=function(e){var t=this.chart,n=t.hoverPoint;e=this.normalize(e);var i=t.plotLeft,r=t.plotTop;t.cancelClick||(n&&this.inClass(e.target,"highcharts-tracker")?(h(n.series,"click",u(e,{point:n})),t.hoverPoint&&n.firePointEvent("click",e)):(u(e,this.getCoordinates(e)),t.isInsidePlot(e.chartX-i,e.chartY-r,{visiblePlotOnly:!0})&&h(t,"click",e)))},e.prototype.onContainerMouseDown=function(e){var n=1==(1&(e.buttons||e.button));e=this.normalize(e),t.isFirefox&&0!==e.button&&this.onContainerMouseMove(e),(void 0===e.button||n)&&(this.zoomOption(e),n&&e.preventDefault&&e.preventDefault(),this.dragStart(e))},e.prototype.onContainerMouseLeave=function(t){var n=a[y(e.hoverChartIndex,-1)],i=this.chart.tooltip;i&&i.shouldStickOnContact()&&this.inClass(t.relatedTarget,"highcharts-tooltip-container")||(t=this.normalize(t),n&&(t.relatedTarget||t.toElement)&&(n.pointer.reset(),n.pointer.chartPosition=void 0),i&&!i.isHidden&&this.reset())},e.prototype.onContainerMouseEnter=function(e){delete this.chartPosition},e.prototype.onContainerMouseMove=function(e){var t=this.chart;e=this.normalize(e),this.setHoverChartIndex(),e.preventDefault||(e.returnValue=!1),("mousedown"===t.mouseIsDown||this.touchSelect(e))&&this.drag(e),t.openMenu||!this.inClass(e.target,"highcharts-tracker")&&!t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop,{visiblePlotOnly:!0})||(this.inClass(e.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(e))},e.prototype.onDocumentTouchEnd=function(t){var n=a[y(e.hoverChartIndex,-1)];n&&n.pointer.drop(t)},e.prototype.onContainerTouchMove=function(e){this.touchSelect(e)?this.onContainerMouseMove(e):this.touch(e)},e.prototype.onContainerTouchStart=function(e){this.touchSelect(e)?this.onContainerMouseDown(e):(this.zoomOption(e),this.touch(e,!0))},e.prototype.onDocumentMouseMove=function(e){var t=this.chart,n=this.chartPosition;e=this.normalize(e,n);var i=t.tooltip;!n||i&&i.isStickyOnContact()||t.isInsidePlot(e.chartX-t.plotLeft,e.chartY-t.plotTop,{visiblePlotOnly:!0})||this.inClass(e.target,"highcharts-tracker")||this.reset()},e.prototype.onDocumentMouseUp=function(t){var n=a[y(e.hoverChartIndex,-1)];n&&n.pointer.drop(t)},e.prototype.pinch=function(e){var t=this,n=t.chart,i=t.pinchDown,r=e.touches||[],a=r.length,s=t.lastValidTouch,l=t.hasZoom,c={},d=1===a&&(t.inClass(e.target,"highcharts-tracker")&&n.runTrackerClick||t.runChartClick),p={},m=t.selectionMarker;1<a?t.initiated=!0:1===a&&this.followTouchMove&&(t.initiated=!1),l&&t.initiated&&!d&&!1!==e.cancelable&&e.preventDefault(),[].map.call(r,function(e){return t.normalize(e)}),"touchstart"===e.type?([].forEach.call(r,function(e,t){i[t]={chartX:e.chartX,chartY:e.chartY}}),s.x=[i[0].chartX,i[1]&&i[1].chartX],s.y=[i[0].chartY,i[1]&&i[1].chartY],n.axes.forEach(function(e){if(e.zoomEnabled){var t=n.bounds[e.horiz?"h":"v"],i=e.minPixelPadding,r=e.toPixels(Math.min(y(e.options.min,e.dataMin),e.dataMin)),a=e.toPixels(Math.max(y(e.options.max,e.dataMax),e.dataMax)),o=Math.max(r,a);t.min=Math.min(e.pos,Math.min(r,a)-i),t.max=Math.max(e.pos+e.len,o+i)}}),t.res=!0):t.followTouchMove&&1===a?this.runPointActions(t.normalize(e)):i.length&&(h(n,"touchpan",{originalEvent:e},function(){m||(t.selectionMarker=m=u({destroy:o,touch:!0},n.plotBox)),t.pinchTranslate(i,r,c,m,p,s),t.hasPinched=l,t.scaleGroups(c,p)}),t.res&&(t.res=!1,this.reset(!1,0)))},e.prototype.pinchTranslate=function(e,t,n,i,r,a){this.zoomHor&&this.pinchTranslateDirection(!0,e,t,n,i,r,a),this.zoomVert&&this.pinchTranslateDirection(!1,e,t,n,i,r,a)},e.prototype.pinchTranslateDirection=function(e,t,n,i,r,a,o,s){var l=this.chart,c=e?"x":"y",d=e?"X":"Y",u="chart"+d,p=e?"width":"height",h=l["plot"+(e?"Left":"Top")],m=l.inverted,g=l.bounds[e?"h":"v"],f=1===t.length,v=t[0][u],y=!f&&t[1][u];t=function(){"number"==typeof S&&20<Math.abs(v-y)&&(_=s||Math.abs(w-S)/Math.abs(v-y)),x=(h-w)/_+v,b=l["plot"+(e?"Width":"Height")]/_};var b,x,_=s||1,w=n[0][u],S=!f&&n[1][u];if(t(),(n=x)<g.min){n=g.min;var C=!0}else n+b>g.max&&(n=g.max-b,C=!0);C?(w-=.8*(w-o[c][0]),"number"==typeof S&&(S-=.8*(S-o[c][1])),t()):o[c]=[w,S],m||(a[c]=x-h,a[p]=b),a=m?1/_:_,r[p]=b,r[c]=n,i[m?e?"scaleY":"scaleX":"scale"+d]=_,i["translate"+d]=a*h+(w-a*v)},e.prototype.reset=function(e,t){var n=this.chart,i=n.hoverSeries,r=n.hoverPoint,a=n.hoverPoints,o=n.tooltip,s=o&&o.shared?a:r;e&&s&&b(s).forEach(function(t){t.series.isCartesian&&void 0===t.plotX&&(e=!1)}),e?o&&s&&b(s).length&&(o.refresh(s),o.shared&&a?a.forEach(function(e){e.setState(e.state,!0),e.series.isCartesian&&(e.series.xAxis.crosshair&&e.series.xAxis.drawCrosshair(null,e),e.series.yAxis.crosshair&&e.series.yAxis.drawCrosshair(null,e))}):r&&(r.setState(r.state,!0),n.axes.forEach(function(e){e.crosshair&&r.series[e.coll]===e&&e.drawCrosshair(null,r)}))):(r&&r.onMouseOut(),a&&a.forEach(function(e){e.setState()}),i&&i.onMouseOut(),o&&o.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),n.axes.forEach(function(e){e.hideCrosshair()}),this.hoverX=n.hoverPoints=n.hoverPoint=null)},e.prototype.runPointActions=function(t,n){var i=this.chart,r=i.tooltip&&i.tooltip.options.enabled?i.tooltip:void 0,o=!!r&&r.shared,l=n||i.hoverPoint,c=l&&l.series||i.hoverSeries;l=(n=this.getHoverData(l,c,i.series,(!t||"touchmove"!==t.type)&&(!!n||c&&c.directTouch&&this.isDirectTouch),o,t)).hoverPoint;var d=n.hoverPoints;if(n=(c=n.hoverSeries)&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split,o=o&&c&&!c.noSharedTooltip,l&&(l!==i.hoverPoint||r&&r.isHidden)){if((i.hoverPoints||[]).forEach(function(e){-1===d.indexOf(e)&&e.setState()}),i.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(d),(d||[]).forEach(function(e){e.setState("hover")}),i.hoverPoint&&i.hoverPoint.firePointEvent("mouseOut"),!l.series)return;i.hoverPoints=d,i.hoverPoint=l,l.firePointEvent("mouseOver"),r&&r.refresh(o?d:l,t)}else n&&r&&!r.isHidden&&(l=r.getAnchor([{}],t),i.isInsidePlot(l[0],l[1],{visiblePlotOnly:!0})&&r.updatePosition({plotX:l[0],plotY:l[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(i.container.ownerDocument,"mousemove",function(t){var n=a[e.hoverChartIndex];n&&n.pointer.onDocumentMouseMove(t)}),this.eventsToUnbind.push(this.unDocMouseMove)),i.axes.forEach(function(e){var n,r=y((e.crosshair||{}).snap,!0);r&&((n=i.hoverPoint)&&n.series[e.coll]===e||(n=p(d,function(t){return t.series[e.coll]===e}))),n||!r?e.drawCrosshair(t,n):e.hideCrosshair()})},e.prototype.scaleGroups=function(e,t){var n=this.chart;n.series.forEach(function(i){var r=e||i.getPlotBox();i.group&&(i.xAxis&&i.xAxis.zoomEnabled||n.mapView)&&(i.group.attr(r),i.markerGroup&&(i.markerGroup.attr(r),i.markerGroup.clip(t?n.clipRect:null)),i.dataLabelsGroup&&i.dataLabelsGroup.attr(r))}),n.clipRect.attr(t||n.clipBox)},e.prototype.setDOMEvents=function(){var n=this,i=this.chart.container,r=i.ownerDocument;i.onmousedown=this.onContainerMouseDown.bind(this),i.onmousemove=this.onContainerMouseMove.bind(this),i.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(i,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(i,"mouseleave",this.onContainerMouseLeave.bind(this))),e.unbindDocumentMouseUp||(e.unbindDocumentMouseUp=s(r,"mouseup",this.onDocumentMouseUp.bind(this)));for(var a=this.chart.renderTo.parentElement;a&&"BODY"!==a.tagName;)this.eventsToUnbind.push(s(a,"scroll",function(){delete n.chartPosition})),a=a.parentElement;t.hasTouch&&(this.eventsToUnbind.push(s(i,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(i,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),e.unbindDocumentTouchEnd||(e.unbindDocumentTouchEnd=s(r,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},e.prototype.setHoverChartIndex=function(){var n=this.chart,i=t.charts[y(e.hoverChartIndex,-1)];i&&i!==n&&i.pointer.onContainerMouseLeave({relatedTarget:!0}),i&&i.mouseIsDown||(e.hoverChartIndex=n.index)},e.prototype.touch=function(e,t){var n=this.chart;if(this.setHoverChartIndex(),1===e.touches.length)if(e=this.normalize(e),n.isInsidePlot(e.chartX-n.plotLeft,e.chartY-n.plotTop,{visiblePlotOnly:!0})&&!n.openMenu){if(t&&this.runPointActions(e),"touchmove"===e.type)var i=!!(t=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(t[0].chartX-e.chartX,2)+Math.pow(t[0].chartY-e.chartY,2));y(i,!0)&&this.pinch(e)}else t&&this.reset();else 2===e.touches.length&&this.pinch(e)},e.prototype.touchSelect=function(e){return!(!this.chart.options.chart.zoomBySingleTouch||!e.touches||1!==e.touches.length)},e.prototype.zoomOption=function(e){var t=this.chart,n=t.options.chart;t=t.inverted;var i=n.zoomType||"";/touch/.test(e.type)&&(i=y(n.pinchType,i)),this.zoomX=e=/x/.test(i),this.zoomY=n=/y/.test(i),this.zoomHor=e&&!t||n&&t,this.zoomVert=n&&!t||e&&t,this.hasZoom=e||n},e}()}),t(n,"Core/MSPointer.js",[n["Core/Globals.js"],n["Core/Pointer.js"],n["Core/Utilities.js"]],function(e,t,n){function i(){var e=[];return e.item=function(e){return this[e]},h(g,function(t){e.push({pageX:t.pageX,pageY:t.pageY,target:t.target})}),e}function r(e,n,r,a){var o=s[t.hoverChartIndex||NaN];"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!o||(o=o.pointer,a(e),o[n]({type:r,target:e.currentTarget,preventDefault:c,touches:i()}))}var a,o=this&&this.__extends||(a=function(e,t){return(a=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])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=e.charts,l=e.doc,c=e.noop,d=e.win,u=n.addEvent,p=n.css,h=n.objectEach,m=n.removeEvent,g={},f=!!d.PointerEvent;return function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.isRequired=function(){return!(e.hasTouch||!d.PointerEvent&&!d.MSPointerEvent)},n.prototype.batchMSEvents=function(e){e(this.chart.container,f?"pointerdown":"MSPointerDown",this.onContainerPointerDown),e(this.chart.container,f?"pointermove":"MSPointerMove",this.onContainerPointerMove),e(l,f?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},n.prototype.destroy=function(){this.batchMSEvents(m),t.prototype.destroy.call(this)},n.prototype.init=function(e,n){t.prototype.init.call(this,e,n),this.hasZoom&&p(e.container,{"-ms-touch-action":"none","touch-action":"none"})},n.prototype.onContainerPointerDown=function(e){r(e,"onContainerTouchStart","touchstart",function(e){g[e.pointerId]={pageX:e.pageX,pageY:e.pageY,target:e.currentTarget}})},n.prototype.onContainerPointerMove=function(e){r(e,"onContainerTouchMove","touchmove",function(e){g[e.pointerId]={pageX:e.pageX,pageY:e.pageY},g[e.pointerId].target||(g[e.pointerId].target=e.currentTarget)})},n.prototype.onDocumentPointerUp=function(e){r(e,"onDocumentTouchEnd","touchend",function(e){delete g[e.pointerId]})},n.prototype.setDOMEvents=function(){t.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(u)},n}(t)}),t(n,"Core/Legend/Legend.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Point.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Utilities.js"]],function(e,t,n,i,r,a){var o=e.animObject,s=e.setAnimation,l=t.format;e=n.isFirefox;var c=n.marginNames;n=n.win;var d=r.distribute,u=a.addEvent,p=a.createElement,h=a.css,m=a.defined,g=a.discardElement,f=a.find,v=a.fireEvent,y=a.isNumber,b=a.merge,x=a.pick,_=a.relativeLength,w=a.stableSort,S=a.syncTimeout;return r=a.wrap,a=function(){function e(e,t){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=e,this.init(e,t)}return e.prototype.init=function(e,t){this.chart=e,this.setOptions(t),t.enabled&&(this.render(),u(this.chart,"endResize",function(){this.legend.positionCheckboxes()}),this.proximate?this.unchartrender=u(this.chart,"render",function(){this.legend.proximatePositions(),this.legend.positionItems()}):this.unchartrender&&this.unchartrender())},e.prototype.setOptions=function(e){var t=x(e.padding,8);this.options=e,this.chart.styledMode||(this.itemStyle=e.itemStyle,this.itemHiddenStyle=b(this.itemStyle,e.itemHiddenStyle)),this.itemMarginTop=e.itemMarginTop||0,this.itemMarginBottom=e.itemMarginBottom||0,this.padding=t,this.initialItemY=t-5,this.symbolWidth=x(e.symbolWidth,16),this.pages=[],this.proximate="proximate"===e.layout&&!this.chart.inverted,this.baseline=void 0},e.prototype.update=function(e,t){var n=this.chart;this.setOptions(b(!0,this.options,e)),this.destroy(),n.isDirtyLegend=n.isDirtyBox=!0,x(t,!0)&&n.redraw(),v(this,"afterUpdate")},e.prototype.colorizeItem=function(e,t){if(e.legendGroup[t?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var n=this.options,i=e.legendItem,r=e.legendLine,a=e.legendSymbol,o=this.itemHiddenStyle.color;n=t?n.itemStyle.color:o;var s=t&&e.color||o,l=e.options&&e.options.marker,c={fill:s};i&&i.css({fill:n,color:n}),r&&r.attr({stroke:s}),a&&(l&&a.isMarker&&(c=e.pointAttribs(),t||(c.stroke=c.fill=o)),a.attr(c))}v(this,"afterColorizeItem",{item:e,visible:t})},e.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},e.prototype.positionItem=function(e){var t=this,n=this.options,i=n.symbolPadding,r=!n.rtl,a=e._legendItemPos;n=a[0],a=a[1];var o=e.checkbox,s=e.legendGroup;s&&s.element&&(i={translateX:r?n:this.legendWidth-n-2*i-4,translateY:a},r=function(){v(t,"afterPositionItem",{item:e})},m(s.translateY)?s.animate(i,void 0,r):(s.attr(i),r())),o&&(o.x=n,o.y=a)},e.prototype.destroyItem=function(e){var t=e.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach(function(t){e[t]&&(e[t]=e[t].destroy())}),t&&g(e.checkbox)},e.prototype.destroy=function(){function e(e){this[e]&&(this[e]=this[e].destroy())}this.getAllItems().forEach(function(t){["legendItem","legendGroup"].forEach(e,t)}),"clipRect up down pager nav box title group".split(" ").forEach(e,this),this.display=null},e.prototype.positionCheckboxes=function(){var e=this.group&&this.group.alignAttr,t=this.clipHeight||this.legendHeight,n=this.titleHeight;if(e){var i=e.translateY;this.allItems.forEach(function(r){var a=r.checkbox;if(a){var o=i+n+a.y+(this.scrollOffset||0)+3;h(a,{left:e.translateX+r.checkboxOffset+a.x-20+"px",top:o+"px",display:this.proximate||o>i-6&&o<i+t-6?"":"none"})}},this)}},e.prototype.renderTitle=function(){var e=this.options,t=this.padding,n=e.title,i=0;n.text&&(this.title||(this.title=this.chart.renderer.label(n.text,t-3,t-4,null,null,null,e.useHTML,null,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(n.style),this.title.add(this.group)),n.width||this.title.css({width:this.maxLegendWidth+"px"}),i=(e=this.title.getBBox()).height,this.offsetWidth=e.width,this.contentGroup.attr({translateY:i})),this.titleHeight=i},e.prototype.setText=function(e){var t=this.options;e.legendItem.attr({text:t.labelFormat?l(t.labelFormat,e,this.chart):t.labelFormatter.call(e)})},e.prototype.renderItem=function(e){var t=this.chart,n=t.renderer,i=this.options,r=this.symbolWidth,a=i.symbolPadding||0,o=this.itemStyle,s=this.itemHiddenStyle,l="horizontal"===i.layout?x(i.itemDistance,20):0,c=!i.rtl,d=!e.series,u=!d&&e.series.drawLegendSymbol?e.series:e,p=u.options,h=this.createCheckboxForItem&&p&&p.showCheckbox,m=i.useHTML,g=e.options.className,f=e.legendItem;p=r+a+l+(h?20:0),f||(e.legendGroup=n.g("legend-item").addClass("highcharts-"+u.type+"-series highcharts-color-"+e.colorIndex+(g?" "+g:"")+(d?" highcharts-series-"+e.index:"")).attr({zIndex:1}).add(this.scrollGroup),e.legendItem=f=n.text("",c?r+a:-a,this.baseline||0,m),t.styledMode||f.css(b(e.visible?o:s)),f.attr({align:c?"left":"right",zIndex:2}).add(e.legendGroup),this.baseline||(this.fontMetrics=n.fontMetrics(t.styledMode?12:o.fontSize,f),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,f.attr("y",this.baseline),this.symbolHeight=i.symbolHeight||this.fontMetrics.f,i.squareSymbol&&(this.symbolWidth=x(i.symbolWidth,Math.max(this.symbolHeight,16)),p=this.symbolWidth+a+l+(h?20:0),c&&f.attr("x",this.symbolWidth+a))),u.drawLegendSymbol(this,e),this.setItemEvents&&this.setItemEvents(e,f,m)),h&&!e.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(e),this.colorizeItem(e,e.visible),!t.styledMode&&o.width||f.css({width:(i.itemWidth||this.widthOption||t.spacingBox.width)-p+"px"}),this.setText(e),t=f.getBBox(),n=this.fontMetrics&&this.fontMetrics.h||0,e.itemWidth=e.checkboxOffset=i.itemWidth||e.legendItemWidth||t.width+p,this.maxItemWidth=Math.max(this.maxItemWidth,e.itemWidth),this.totalItemWidth+=e.itemWidth,this.itemHeight=e.itemHeight=Math.round(e.legendItemHeight||(t.height>1.5*n?t.height:n))},e.prototype.layoutItem=function(e){var t=this.options,n=this.padding,i="horizontal"===t.layout,r=e.itemHeight,a=this.itemMarginBottom,o=this.itemMarginTop,s=i?x(t.itemDistance,20):0,l=this.maxLegendWidth;t=t.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:e.itemWidth,i&&this.itemX-n+t>l&&(this.itemX=n,this.lastLineHeight&&(this.itemY+=o+this.lastLineHeight+a),this.lastLineHeight=0),this.lastItemY=o+this.itemY+a,this.lastLineHeight=Math.max(r,this.lastLineHeight),e._legendItemPos=[this.itemX,this.itemY],i?this.itemX+=t:(this.itemY+=o+r+a,this.lastLineHeight=r),this.offsetWidth=this.widthOption||Math.max((i?this.itemX-n-(e.checkbox?0:s):t)+n,this.offsetWidth)},e.prototype.getAllItems=function(){var e=[];return this.chart.series.forEach(function(t){var n=t&&t.options;t&&x(n.showInLegend,!m(n.linkedTo)&&void 0,!0)&&(e=e.concat(t.legendItems||("point"===n.legendType?t.data:t)))}),v(this,"afterGetAllItems",{allItems:e}),e},e.prototype.getAlignment=function(){var e=this.options;return this.proximate?e.align.charAt(0)+"tv":e.floating?"":e.align.charAt(0)+e.verticalAlign.charAt(0)+e.layout.charAt(0)},e.prototype.adjustMargins=function(e,t){var n=this.chart,i=this.options,r=this.getAlignment();r&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(a,o){a.test(r)&&!m(e[o])&&(n[c[o]]=Math.max(n[c[o]],n.legend[(o+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][o]*i[o%2?"x":"y"]+x(i.margin,12)+t[o]+(n.titleOffset[o]||0)))})},e.prototype.proximatePositions=function(){var e=this.chart,t=[],n="left"===this.options.align;this.allItems.forEach(function(i){var r,a=n;if(i.yAxis){i.xAxis.options.reversed&&(a=!a),i.points&&(r=f(a?i.points:i.points.slice(0).reverse(),function(e){return y(e.plotY)})),a=this.itemMarginTop+i.legendItem.getBBox().height+this.itemMarginBottom;var o=i.yAxis.top-e.plotTop;i.visible?(r=r?r.plotY:i.yAxis.height,r+=o-.3*a):r=o+i.yAxis.height,t.push({target:r,size:a,item:i})}},this),d(t,e.plotHeight).forEach(function(t){t.item._legendItemPos&&(t.item._legendItemPos[1]=e.plotTop-e.spacing[0]+t.pos)})},e.prototype.render=function(){var e=this.chart,t=e.renderer,n=this.options,i=this.padding,r=this.getAllItems(),a=this.group,o=this.box;this.itemX=i,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=_(n.width,e.spacingBox.width-i);var s=e.spacingBox.width-2*i-n.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,a||(this.group=a=t.g("legend").addClass(n.className||"").attr({zIndex:7}).add(),this.contentGroup=t.g().attr({zIndex:1}).add(a),this.scrollGroup=t.g().add(this.contentGroup)),this.renderTitle(),w(r,function(e,t){return(e.options&&e.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)}),n.reversed&&r.reverse(),this.allItems=r,this.display=s=!!r.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,r.forEach(this.renderItem,this),r.forEach(this.layoutItem,this),r=(this.widthOption||this.offsetWidth)+i;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=i,o||(this.box=o=t.rect().addClass("highcharts-legend-box").attr({r:n.borderRadius}).add(a),o.isNew=!0),e.styledMode||o.attr({stroke:n.borderColor,"stroke-width":n.borderWidth||0,fill:n.backgroundColor||"none"}).shadow(n.shadow),0<r&&0<l&&(o[o.isNew?"attr":"animate"](o.crisp.call({},{x:0,y:0,width:r,height:l},o.strokeWidth())),o.isNew=!1),o[s?"show":"hide"](),e.styledMode&&"none"===a.getStyle("display")&&(r=l=0),this.legendWidth=r,this.legendHeight=l,s&&this.align(),this.proximate||this.positionItems(),v(this,"afterRender")},e.prototype.align=function(e){void 0===e&&(e=this.chart.spacingBox);var t=this.chart,n=this.options,i=e.y;/(lth|ct|rth)/.test(this.getAlignment())&&0<t.titleOffset[0]?i+=t.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&0<t.titleOffset[2]&&(i-=t.titleOffset[2]),i!==e.y&&(e=b(e,{y:i})),this.group.align(b(n,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":n.verticalAlign}),!0,e)},e.prototype.handleOverflow=function(e){var t,n,i=this,r=this.chart,a=r.renderer,o=this.options,s=o.y,l="top"===o.verticalAlign,c=this.padding,d=o.maxHeight,u=o.navigation,p=x(u.animation,!0),h=u.arrowSize||12,m=this.pages,g=this.allItems,f=function(e){"number"==typeof e?b.attr({height:e}):b&&(i.clipRect=b.destroy(),i.contentGroup.clip()),i.contentGroup.div&&(i.contentGroup.div.style.clip=e?"rect("+c+"px,9999px,"+(c+e)+"px,0)":"auto")},v=function(e){return i[e]=a.circle(0,0,1.3*h).translate(h/2,h/2).add(y),r.styledMode||i[e].attr("fill","rgba(0,0,0,0.0001)"),i[e]};s=r.spacingBox.height+(l?-s:s)-c;var y=this.nav,b=this.clipRect;return"horizontal"!==o.layout||"middle"===o.verticalAlign||o.floating||(s/=2),d&&(s=Math.min(s,d)),m.length=0,e&&0<s&&e>s&&!1!==u.enabled?(this.clipHeight=t=Math.max(s-20-this.titleHeight-c,0),this.currentPage=x(this.currentPage,1),this.fullHeight=e,g.forEach(function(e,i){var r=e._legendItemPos[1],a=Math.round(e.legendItem.getBBox().height),o=m.length;(!o||r-m[o-1]>t&&(n||r)!==m[o-1])&&(m.push(n||r),o++),e.pageIx=o-1,n&&(g[i-1].pageIx=o-1),i===g.length-1&&r+a-m[o-1]>t&&a<=t&&(m.push(r),e.pageIx=o),r!==n&&(n=r)}),b||(b=i.clipRect=a.clipRect(0,c,9999,0),i.contentGroup.clip(b)),f(t),y||(this.nav=y=a.g().attr({zIndex:1}).add(this.group),this.up=a.symbol("triangle",0,0,h,h).add(y),v("upTracker").on("click",function(){i.scroll(-1,p)}),this.pager=a.text("",15,10).addClass("highcharts-legend-navigation"),r.styledMode||this.pager.css(u.style),this.pager.add(y),this.down=a.symbol("triangle-down",0,0,h,h).add(y),v("downTracker").on("click",function(){i.scroll(1,p)})),i.scroll(0),e=s):y&&(f(),this.nav=y.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),e},e.prototype.scroll=function(e,t){var n=this,i=this.chart,r=this.pages,a=r.length,l=this.clipHeight,c=this.options.navigation,d=this.pager,u=this.padding,p=this.currentPage+e;p>a&&(p=a),0<p&&(void 0!==t&&s(t,i),this.nav.attr({translateX:u,translateY:l+this.padding+7+this.titleHeight,visibility:"visible"}),[this.up,this.upTracker].forEach(function(e){e.attr({class:1===p?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),d.attr({text:p+"/"+a}),[this.down,this.downTracker].forEach(function(e){e.attr({x:18+this.pager.getBBox().width,class:p===a?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),i.styledMode||(this.up.attr({fill:1===p?c.inactiveColor:c.activeColor}),this.upTracker.css({cursor:1===p?"default":"pointer"}),this.down.attr({fill:p===a?c.inactiveColor:c.activeColor}),this.downTracker.css({cursor:p===a?"default":"pointer"})),this.scrollOffset=-r[p-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=p,this.positionCheckboxes(),e=o(x(t,i.renderer.globalAnimation,!0)),S(function(){v(n,"afterScroll",{currentPage:p})},e.duration))},e.prototype.setItemEvents=function(e,t,n){var r=this,a=r.chart.renderer.boxWrapper,o=e instanceof i,s="highcharts-legend-"+(o?"point":"series")+"-active",l=r.chart.styledMode,c=function(t){r.allItems.forEach(function(n){e!==n&&[n].concat(n.linkedSeries||[]).forEach(function(e){e.setState(t,!o)})})};(n?[t,e.legendSymbol]:[e.legendGroup]).forEach(function(n){n&&n.on("mouseover",function(){e.visible&&c("inactive"),e.setState("hover"),e.visible&&a.addClass(s),l||t.css(r.options.itemHoverStyle)}).on("mouseout",function(){r.chart.styledMode||t.css(b(e.visible?r.itemStyle:r.itemHiddenStyle)),c(""),a.removeClass(s),e.setState()}).on("click",function(t){var n=function(){e.setVisible&&e.setVisible(),c(e.visible?"inactive":"")};a.removeClass(s),t={browserEvent:t},e.firePointEvent?e.firePointEvent("legendItemClick",t,n):v(e,"legendItemClick",t,n)})})},e.prototype.createCheckboxForItem=function(e){e.checkbox=p("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:e.selected,defaultChecked:e.selected},this.options.itemCheckboxStyle,this.chart.container),u(e.checkbox,"click",function(t){v(e.series||e,"checkboxClick",{checked:t.target.checked,item:e},function(){e.select()})})},e}(),(/Trident\/7\.0/.test(n.navigator&&n.navigator.userAgent)||e)&&r(a.prototype,"positionItem",function(e,t){var n=this,i=function(){t._legendItemPos&&e.call(n,t)};i(),n.bubbleLegend||setTimeout(i)}),a}),t(n,"Core/Series/SeriesRegistry.js",[n["Core/Globals.js"],n["Core/DefaultOptions.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],function(e,t,n,i){var r,a=t.defaultOptions,o=i.error,s=i.extendClass,l=i.merge;return function(t){function i(e,i){var r=a.plotOptions||{},o=i.defaultOptions;i.prototype.pointClass||(i.prototype.pointClass=n),i.prototype.type=e,o&&(r[e]=o),t.seriesTypes[e]=i}t.seriesTypes=e.seriesTypes,t.getSeries=function(e,n){void 0===n&&(n={});var i=e.options.chart,r=t.seriesTypes[i=n.type||i.type||i.defaultSeriesType||""];return t||o(17,!0,e,{missingModuleFor:i}),"function"==typeof(i=new r).init&&i.init(e,n),i},t.registerSeriesType=i,t.seriesType=function(e,r,o,c,d){var u=a.plotOptions||{};return u[e]=l(u[r=r||""],o),i(e,s(t.seriesTypes[r]||function(){},c)),t.seriesTypes[e].prototype.type=e,d&&(t.seriesTypes[e].prototype.pointClass=s(n,d)),t.seriesTypes[e]}}(r||(r={})),r}),t(n,"Core/Chart/Chart.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/FormatUtilities.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/Legend.js"],n["Core/MSPointer.js"],n["Core/DefaultOptions.js"],n["Core/Pointer.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Time.js"],n["Core/Utilities.js"],n["Core/Renderer/HTML/AST.js"]],function(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m){var g=e.animate,f=e.animObject,v=e.setAnimation,y=n.numberFormat,b=i.registerEventOptions,x=r.charts,_=r.doc,w=r.marginNames,S=r.svg,C=r.win,k=s.defaultOptions,O=s.defaultTime,E=d.seriesTypes,M=h.addEvent,I=h.attr,P=h.cleanRecursively,T=h.createElement,D=h.css,L=h.defined,R=h.discardElement,j=h.erase,A=h.error,F=h.extend,B=h.find,z=h.fireEvent,N=h.getStyle,H=h.isArray,V=h.isNumber,Y=h.isObject,W=h.isString,G=h.merge,U=h.objectEach,q=h.pick,Z=h.pInt,$=h.relativeLength,X=h.removeEvent,K=h.splat,J=h.syncTimeout,Q=h.uniqueKey;return e=function(){function e(e,t,n){this.series=this.renderTo=this.renderer=this.pointer=this.pointCount=this.plotWidth=this.plotTop=this.plotLeft=this.plotHeight=this.plotBox=this.options=this.numberFormatter=this.margin=this.legend=this.labelCollectors=this.isResizing=this.index=this.eventOptions=this.container=this.colorCounter=this.clipBox=this.chartWidth=this.chartHeight=this.bounds=this.axisOffset=this.axes=void 0,this.sharedClips={},this.yAxis=this.xAxis=this.userOptions=this.titleOffset=this.time=this.symbolCounter=this.spacingBox=this.spacing=void 0,this.getArgs(e,t,n)}return e.chart=function(t,n,i){return new e(t,n,i)},e.prototype.getArgs=function(e,t,n){W(e)||e.nodeName?(this.renderTo=e,this.init(t,n)):this.init(e,t)},e.prototype.init=function(e,t){var n=e.plotOptions||{};z(this,"init",{args:arguments},function(){var i=G(k,e),a=i.chart;U(i.plotOptions,function(e,t){Y(e)&&(e.tooltip=n[t]&&G(n[t].tooltip)||void 0)}),i.tooltip.userOptions=e.chart&&e.chart.forExport&&e.tooltip.userOptions||e.tooltip,this.userOptions=e,this.margin=[],this.spacing=[],this.bounds={h:{},v:{}},this.labelCollectors=[],this.callback=t,this.isResizing=0,this.options=i,this.axes=[],this.series=[],this.time=e.time&&Object.keys(e.time).length?new p(e.time):r.time,this.numberFormatter=a.numberFormatter||y,this.styledMode=a.styledMode,this.hasCartesianSeries=a.showAxes,this.index=x.length,x.push(this),r.chartCount++,b(this,a),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,z(this,"afterInit"),this.firstRender()})},e.prototype.initSeries=function(e){var t=this.options.chart,n=E[t=e.type||t.type||t.defaultSeriesType];return n||A(17,!0,this,{missingModuleFor:t}),"function"==typeof(t=new n).init&&t.init(this,e),t},e.prototype.setSeriesData=function(){this.getSeriesOrderByLinks().forEach(function(e){e.points||e.data||!e.enabledDataSorting||e.setData(e.options.data,!1)})},e.prototype.getSeriesOrderByLinks=function(){return this.series.concat().sort(function(e,t){return e.linkedSeries.length||t.linkedSeries.length?t.linkedSeries.length-e.linkedSeries.length:0})},e.prototype.orderSeries=function(e){var t=this.series;e=e||0;for(var n=t.length;e<n;++e)t[e]&&(t[e].index=e,t[e].name=t[e].getName())},e.prototype.isInsidePlot=function(e,t,n){void 0===n&&(n={});var i=this.inverted,r=this.plotBox,a=this.plotLeft,o=this.plotTop,s=this.scrollablePlotBox,l=0,c=0;n.visiblePlotOnly&&this.scrollingContainer&&(l=(c=this.scrollingContainer).scrollLeft,c=c.scrollTop);var d=n.series;if(r=n.visiblePlotOnly&&s||r,e={x:s=n.inverted?t:e,y:t=n.inverted?e:t,isInsidePlot:!0},!n.ignoreX){var u=d&&(i?d.yAxis:d.xAxis)||{pos:a,len:1/0};(s=n.paneCoordinates?u.pos+s:a+s)>=Math.max(l+a,u.pos)&&s<=Math.min(l+a+r.width,u.pos+u.len)||(e.isInsidePlot=!1)}return!n.ignoreY&&e.isInsidePlot&&(i=d&&(i?d.xAxis:d.yAxis)||{pos:o,len:1/0},(n=n.paneCoordinates?i.pos+t:o+t)>=Math.max(c+o,i.pos)&&n<=Math.min(c+o+r.height,i.pos+i.len)||(e.isInsidePlot=!1)),z(this,"afterIsInsidePlot",e),e.isInsidePlot},e.prototype.redraw=function(e){z(this,"beforeRedraw");var t=this.hasCartesianSeries?this.axes:this.colorAxis||[],n=this.series,i=this.pointer,r=this.legend,a=this.userOptions.legend,o=this.renderer,s=o.isHidden(),l=[],c=this.isDirtyBox,d=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),v(!!this.hasRendered&&e,this),s&&this.temporaryDisplay(),this.layOutTitles(),e=n.length;e--;){var u=n[e];if(u.options.stacking||u.options.centerInCategory){var p=!0;if(u.isDirty){var h=!0;break}}}if(h)for(e=n.length;e--;)(u=n[e]).options.stacking&&(u.isDirty=!0);n.forEach(function(e){e.isDirty&&("point"===e.options.legendType?("function"==typeof e.updateTotals&&e.updateTotals(),d=!0):a&&(a.labelFormatter||a.labelFormat)&&(d=!0)),e.isDirtyData&&z(e,"updatedData")}),d&&r&&r.options.enabled&&(r.render(),this.isDirtyLegend=!1),p&&this.getStacks(),t.forEach(function(e){e.updateNames(),e.setScale()}),this.getMargins(),t.forEach(function(e){e.isDirty&&(c=!0)}),t.forEach(function(e){var t=e.min+","+e.max;e.extKey!==t&&(e.extKey=t,l.push(function(){z(e,"afterSetExtremes",F(e.eventArgs,e.getExtremes())),delete e.eventArgs})),(c||p)&&e.redraw()}),c&&this.drawChartBox(),z(this,"predraw"),n.forEach(function(e){(c||e.isDirty)&&e.visible&&e.redraw(),e.isDirtyData=!1}),i&&i.reset(!0),o.draw(),z(this,"redraw"),z(this,"render"),s&&this.temporaryDisplay(!0),l.forEach(function(e){e.call()})},e.prototype.get=function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var n=this.series,i=B(this.axes,t)||B(this.series,t),r=0;!i&&r<n.length;r++)i=B(n[r].points||[],t);return i},e.prototype.getAxes=function(){var e=this,n=this.options,i=n.xAxis=K(n.xAxis||{});n=n.yAxis=K(n.yAxis||{}),z(this,"getAxes"),i.forEach(function(e,t){e.index=t,e.isX=!0}),n.forEach(function(e,t){e.index=t}),i.concat(n).forEach(function(n){new t(e,n)}),z(this,"afterGetAxes")},e.prototype.getSelectedPoints=function(){return this.series.reduce(function(e,t){return t.getPointsCollection().forEach(function(t){q(t.selectedStaging,t.selected)&&e.push(t)}),e},[])},e.prototype.getSelectedSeries=function(){return this.series.filter(function(e){return e.selected})},e.prototype.setTitle=function(e,t,n){this.applyDescription("title",e),this.applyDescription("subtitle",t),this.applyDescription("caption",void 0),this.layOutTitles(n)},e.prototype.applyDescription=function(e,t){var n=this,i="title"===e?{color:"#333333",fontSize:this.options.isStock?"16px":"18px"}:{color:"#666666"};i=this.options[e]=G(!this.styledMode&&{style:i},this.options[e],t);var r=this[e];r&&t&&(this[e]=r=r.destroy()),i&&!r&&((r=this.renderer.text(i.text,0,0,i.useHTML).attr({align:i.align,class:"highcharts-"+e,zIndex:i.zIndex||4}).add()).update=function(t){n[{title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"}[e]](t)},this.styledMode||r.css(i.style),this[e]=r)},e.prototype.layOutTitles=function(e){var t=[0,0,0],n=this.renderer,i=this.spacingBox;["title","subtitle","caption"].forEach(function(e){var r,a=this[e],o=this.options[e],s=o.verticalAlign||"top";if(e="title"===e?"top"===s?-3:0:"top"===s?t[0]+2:0,a){this.styledMode||(r=o.style&&o.style.fontSize),r=n.fontMetrics(r,a).b,a.css({width:(o.width||i.width+(o.widthAdjust||0))+"px"});var l=Math.round(a.getBBox(o.useHTML).height);a.align(F({y:"bottom"===s?r:e+r,height:l},o),!1,"spacingBox"),o.floating||("top"===s?t[0]=Math.ceil(t[0]+l):"bottom"===s&&(t[2]=Math.ceil(t[2]+l)))}},this),t[0]&&"top"===(this.options.title.verticalAlign||"top")&&(t[0]+=this.options.title.margin),t[2]&&"bottom"===this.options.caption.verticalAlign&&(t[2]+=this.options.caption.margin);var r=!this.titleOffset||this.titleOffset.join(",")!==t.join(",");this.titleOffset=t,z(this,"afterLayOutTitles"),!this.isDirtyBox&&r&&(this.isDirtyBox=this.isDirtyLegend=r,this.hasRendered&&q(e,!0)&&this.isDirtyBox&&this.redraw())},e.prototype.getChartSize=function(){var e=this.options.chart,t=e.width;e=e.height;var n=this.renderTo;L(t)||(this.containerWidth=N(n,"width")),L(e)||(this.containerHeight=N(n,"height")),this.chartWidth=Math.max(0,t||this.containerWidth||600),this.chartHeight=Math.max(0,$(e,this.chartWidth)||(1<this.containerHeight?this.containerHeight:400))},e.prototype.temporaryDisplay=function(e){var t=this.renderTo;if(e)for(;t&&t.style;)t.hcOrigStyle&&(D(t,t.hcOrigStyle),delete t.hcOrigStyle),t.hcOrigDetached&&(_.body.removeChild(t),t.hcOrigDetached=!1),t=t.parentNode;else for(;t&&t.style&&(_.body.contains(t)||t.parentNode||(t.hcOrigDetached=!0,_.body.appendChild(t)),("none"===N(t,"display",!1)||t.hcOricDetached)&&(t.hcOrigStyle={display:t.style.display,height:t.style.height,overflow:t.style.overflow},e={display:"block",overflow:"hidden"},t!==this.renderTo&&(e.height=0),D(t,e),t.offsetWidth||t.style.setProperty("display","block","important")),(t=t.parentNode)!==_.body););},e.prototype.setClassName=function(e){this.container.className="highcharts-container "+(e||"")},e.prototype.getContainer=function(){var e,t=this.options,n=t.chart,i=Q(),r=this.renderTo;r||(this.renderTo=r=n.renderTo),W(r)&&(this.renderTo=r=_.getElementById(r)),r||A(13,!0,this);var a=Z(I(r,"data-highcharts-chart"));V(a)&&x[a]&&x[a].hasRendered&&x[a].destroy(),I(r,"data-highcharts-chart",this.index),r.innerHTML=m.emptyHTML,n.skipClone||r.offsetWidth||this.temporaryDisplay(),this.getChartSize(),a=this.chartWidth;var o=this.chartHeight;if(D(r,{overflow:"hidden"}),this.styledMode||(e=F({position:"relative",overflow:"hidden",width:a+"px",height:o+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none"},n.style||{})),this.container=i=T("div",{id:i},e,r),this._cursor=i.style.cursor,this.renderer=new(n.renderer||!S?c.getRendererType(n.renderer):u)(i,a,o,void 0,n.forExport,t.exporting&&t.exporting.allowHTML,this.styledMode),v(void 0,this),this.setClassName(n.className),this.styledMode)for(var s in t.defs)this.renderer.definition(t.defs[s]);else this.renderer.setStyle(n.style);this.renderer.chartIndex=this.index,z(this,"afterGetContainer")},e.prototype.getMargins=function(e){var t=this.spacing,n=this.margin,i=this.titleOffset;this.resetMargins(),i[0]&&!L(n[0])&&(this.plotTop=Math.max(this.plotTop,i[0]+t[0])),i[2]&&!L(n[2])&&(this.marginBottom=Math.max(this.marginBottom,i[2]+t[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(n,t),z(this,"getMargins"),e||this.getAxisMargins()},e.prototype.getAxisMargins=function(){var e=this,t=e.axisOffset=[0,0,0,0],n=e.colorAxis,i=e.margin,r=function(e){e.forEach(function(e){e.visible&&e.getOffset()})};e.hasCartesianSeries?r(e.axes):n&&n.length&&r(n),w.forEach(function(n,r){L(i[r])||(e[n]+=t[r])}),e.setChartSize()},e.prototype.reflow=function(e){var t=this,n=t.options.chart,i=t.renderTo,r=L(n.width)&&L(n.height),a=n.width||N(i,"width");n=n.height||N(i,"height"),i=e?e.target:C,delete t.pointer.chartPosition,r||t.isPrinting||!a||!n||i!==C&&i!==_||(a===t.containerWidth&&n===t.containerHeight||(h.clearTimeout(t.reflowTimeout),t.reflowTimeout=J(function(){t.container&&t.setSize(void 0,void 0,!1)},e?100:0)),t.containerWidth=a,t.containerHeight=n)},e.prototype.setReflow=function(e){var t=this;!1===e||this.unbindReflow?!1===e&&this.unbindReflow&&(this.unbindReflow=this.unbindReflow()):(this.unbindReflow=M(C,"resize",function(e){t.options&&t.reflow(e)}),M(this,"destroy",this.unbindReflow))},e.prototype.setSize=function(e,t,n){var i=this,r=i.renderer;i.isResizing+=1,v(n,i),n=r.globalAnimation,i.oldChartHeight=i.chartHeight,i.oldChartWidth=i.chartWidth,void 0!==e&&(i.options.chart.width=e),void 0!==t&&(i.options.chart.height=t),i.getChartSize(),i.styledMode||(n?g:D)(i.container,{width:i.chartWidth+"px",height:i.chartHeight+"px"},n),i.setChartSize(!0),r.setSize(i.chartWidth,i.chartHeight,n),i.axes.forEach(function(e){e.isDirty=!0,e.setScale()}),i.isDirtyLegend=!0,i.isDirtyBox=!0,i.layOutTitles(),i.getMargins(),i.redraw(n),i.oldChartHeight=null,z(i,"resize"),J(function(){i&&z(i,"endResize",null,function(){--i.isResizing})},f(n).duration)},e.prototype.setChartSize=function(e){var t,n,i,r,a=this.inverted,o=this.renderer,s=this.chartWidth,l=this.chartHeight,c=this.options.chart,d=this.spacing,u=this.clipOffset;this.plotLeft=t=Math.round(this.plotLeft),this.plotTop=n=Math.round(this.plotTop),this.plotWidth=i=Math.max(0,Math.round(s-t-this.marginRight)),this.plotHeight=r=Math.max(0,Math.round(l-n-this.marginBottom)),this.plotSizeX=a?r:i,this.plotSizeY=a?i:r,this.plotBorderWidth=c.plotBorderWidth||0,this.spacingBox=o.spacingBox={x:d[3],y:d[0],width:s-d[3]-d[1],height:l-d[0]-d[2]},this.plotBox=o.plotBox={x:t,y:n,width:i,height:r},a=2*Math.floor(this.plotBorderWidth/2),s=Math.ceil(Math.max(a,u[3])/2),l=Math.ceil(Math.max(a,u[0])/2),this.clipBox={x:s,y:l,width:Math.floor(this.plotSizeX-Math.max(a,u[1])/2-s),height:Math.max(0,Math.floor(this.plotSizeY-Math.max(a,u[2])/2-l))},e||(this.axes.forEach(function(e){e.setAxisSize(),e.setAxisTranslation()}),o.alignElements()),z(this,"afterSetChartSize",{skipAxes:e})},e.prototype.resetMargins=function(){z(this,"resetMargins");var e=this,t=e.options.chart;["margin","spacing"].forEach(function(n){var i=t[n],r=Y(i)?i:[i,i,i,i];["Top","Right","Bottom","Left"].forEach(function(i,a){e[n][a]=q(t[n+i],r[a])})}),w.forEach(function(t,n){e[t]=q(e.margin[n],e.spacing[n])}),e.axisOffset=[0,0,0,0],e.clipOffset=[0,0,0,0]},e.prototype.drawChartBox=function(){var e,t=this.options.chart,n=this.renderer,i=this.chartWidth,r=this.chartHeight,a=this.styledMode,o=this.plotBGImage,s=t.backgroundColor,l=t.plotBackgroundColor,c=t.plotBackgroundImage,d=this.plotLeft,u=this.plotTop,p=this.plotWidth,h=this.plotHeight,m=this.plotBox,g=this.clipRect,f=this.clipBox,v=this.chartBackground,y=this.plotBackground,b=this.plotBorder,x="animate";if(v||(this.chartBackground=v=n.rect().addClass("highcharts-background").add(),x="attr"),a)var _=e=v.strokeWidth();else e=(_=t.borderWidth||0)+(t.shadow?8:0),s={fill:s||"none"},(_||v["stroke-width"])&&(s.stroke=t.borderColor,s["stroke-width"]=_),v.attr(s).shadow(t.shadow);v[x]({x:e/2,y:e/2,width:i-e-_%2,height:r-e-_%2,r:t.borderRadius}),x="animate",y||(x="attr",this.plotBackground=y=n.rect().addClass("highcharts-plot-background").add()),y[x](m),a||(y.attr({fill:l||"none"}).shadow(t.plotShadow),c&&(o?(c!==o.attr("href")&&o.attr("href",c),o.animate(m)):this.plotBGImage=n.image(c,d,u,p,h).add())),g?g.animate({width:f.width,height:f.height}):this.clipRect=n.clipRect(f),x="animate",b||(x="attr",this.plotBorder=b=n.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),a||b.attr({stroke:t.plotBorderColor,"stroke-width":t.plotBorderWidth||0,fill:"none"}),b[x](b.crisp({x:d,y:u,width:p,height:h},-b.strokeWidth())),this.isDirtyBox=!1,z(this,"afterDrawChartBox")},e.prototype.propFromSeries=function(){var e,t,n,i=this,r=i.options.chart,a=i.options.series;["inverted","angular","polar"].forEach(function(o){for(t=E[r.type||r.defaultSeriesType],n=r[o]||t&&t.prototype[o],e=a&&a.length;!n&&e--;)(t=E[a[e].type])&&t.prototype[o]&&(n=!0);i[o]=n})},e.prototype.linkSeries=function(){var e=this,t=e.series;t.forEach(function(e){e.linkedSeries.length=0}),t.forEach(function(t){var n=t.options.linkedTo;W(n)&&(n=":previous"===n?e.series[t.index-1]:e.get(n))&&n.linkedParent!==t&&(n.linkedSeries.push(t),t.linkedParent=n,n.enabledDataSorting&&t.setDataSortingOptions(),t.visible=q(t.options.visible,n.options.visible,t.visible))}),z(this,"afterLinkSeries")},e.prototype.renderSeries=function(){this.series.forEach(function(e){e.translate(),e.render()})},e.prototype.renderLabels=function(){var e=this,t=e.options.labels;t.items&&t.items.forEach(function(n){var i=F(t.style,n.style),r=Z(i.left)+e.plotLeft,a=Z(i.top)+e.plotTop+12;delete i.left,delete i.top,e.renderer.text(n.html,r,a).attr({zIndex:2}).css(i).add()})},e.prototype.render=function(){var e=this.axes,t=this.colorAxis,n=this.renderer,i=this.options,r=function(e){e.forEach(function(e){e.visible&&e.render()})},o=0;this.setTitle(),this.legend=new a(this,i.legend),this.getStacks&&this.getStacks(),this.getMargins(!0),this.setChartSize(),i=this.plotWidth,e.some(function(e){if(e.horiz&&e.visible&&e.options.labels.enabled&&e.series.length)return o=21,!0});var s=this.plotHeight=Math.max(this.plotHeight-o,0);e.forEach(function(e){e.setScale()}),this.getAxisMargins();var l=1.1<i/this.plotWidth,c=1.05<s/this.plotHeight;(l||c)&&(e.forEach(function(e){(e.horiz&&l||!e.horiz&&c)&&e.setTickInterval(!0)}),this.getMargins()),this.drawChartBox(),this.hasCartesianSeries?r(e):t&&t.length&&r(t),this.seriesGroup||(this.seriesGroup=n.g("series-group").attr({zIndex:3}).add()),this.renderSeries(),this.renderLabels(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0},e.prototype.addCredits=function(e){var t=this,n=G(!0,this.options.credits,e);n.enabled&&!this.credits&&(this.credits=this.renderer.text(n.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){n.href&&(C.location.href=n.href)}).attr({align:n.position.align,zIndex:8}),t.styledMode||this.credits.css(n.style),this.credits.add().align(n.position),this.credits.update=function(e){t.credits=t.credits.destroy(),t.addCredits(e)})},e.prototype.destroy=function(){var e,t=this,n=t.axes,i=t.series,a=t.container,o=a&&a.parentNode;for(z(t,"destroy"),t.renderer.forExport?j(x,t):x[t.index]=void 0,r.chartCount--,t.renderTo.removeAttribute("data-highcharts-chart"),X(t),e=n.length;e--;)n[e]=n[e].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),e=i.length;e--;)i[e]=i[e].destroy();"title subtitle chartBackground plotBackground plotBGImage plotBorder seriesGroup clipRect credits pointer rangeSelector legend resetZoomButton tooltip renderer".split(" ").forEach(function(e){var n=t[e];n&&n.destroy&&(t[e]=n.destroy())}),a&&(a.innerHTML=m.emptyHTML,X(a),o&&R(a)),U(t,function(e,n){delete t[n]})},e.prototype.firstRender=function(){var e=this,t=e.options;e.isReadyToRender&&!e.isReadyToRender()||(e.getContainer(),e.resetMargins(),e.setChartSize(),e.propFromSeries(),e.getAxes(),(H(t.series)?t.series:[]).forEach(function(t){e.initSeries(t)}),e.linkSeries(),e.setSeriesData(),z(e,"beforeRender"),l&&(e.pointer=o.isRequired()?new o(e,t):new l(e,t)),e.render(),e.pointer.getChartPosition(),e.renderer.imgCount||e.hasLoaded||e.onload(),e.temporaryDisplay(!0))},e.prototype.onload=function(){this.callbacks.concat([this.callback]).forEach(function(e){e&&void 0!==this.index&&e.apply(this,[this])},this),z(this,"load"),z(this,"render"),L(this.index)&&this.setReflow(this.options.chart.reflow),this.hasLoaded=!0},e.prototype.addSeries=function(e,t,n){var i,r=this;return e&&(t=q(t,!0),z(r,"addSeries",{options:e},function(){i=r.initSeries(e),r.isDirtyLegend=!0,r.linkSeries(),i.enabledDataSorting&&i.setData(e.data,!1),z(r,"afterAddSeries",{series:i}),t&&r.redraw(n)})),i},e.prototype.addAxis=function(e,t,n,i){return this.createAxis(t?"xAxis":"yAxis",{axis:e,redraw:n,animation:i})},e.prototype.addColorAxis=function(e,t,n){return this.createAxis("colorAxis",{axis:e,redraw:t,animation:n})},e.prototype.createAxis=function(e,n){return e=new t(this,G(n.axis,{index:this[e].length,isX:"xAxis"===e})),q(n.redraw,!0)&&this.redraw(n.animation),e},e.prototype.showLoading=function(e){var t=this,n=t.options,i=n.loading,r=function(){a&&D(a,{left:t.plotLeft+"px",top:t.plotTop+"px",width:t.plotWidth+"px",height:t.plotHeight+"px"})},a=t.loadingDiv,o=t.loadingSpan;a||(t.loadingDiv=a=T("div",{className:"highcharts-loading highcharts-loading-hidden"},null,t.container)),o||(t.loadingSpan=o=T("span",{className:"highcharts-loading-inner"},null,a),M(t,"redraw",r)),a.className="highcharts-loading",m.setElementHTML(o,q(e,n.lang.loading,"")),t.styledMode||(D(a,F(i.style,{zIndex:10})),D(o,i.labelStyle),t.loadingShown||(D(a,{opacity:0,display:""}),g(a,{opacity:i.style.opacity||.5},{duration:i.showDuration||0}))),t.loadingShown=!0,r()},e.prototype.hideLoading=function(){var e=this.options,t=this.loadingDiv;t&&(t.className="highcharts-loading highcharts-loading-hidden",this.styledMode||g(t,{opacity:0},{duration:e.loading.hideDuration||100,complete:function(){D(t,{display:"none"})}})),this.loadingShown=!1},e.prototype.update=function(e,t,n,i){var r,a,o=this,s={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},l=e.isResponsiveOptions,c=[];z(o,"update",{options:e}),l||o.setResponsive(!1,!0),e=P(e,o.options),o.userOptions=G(o.userOptions,e);var d=e.chart;if(d){if(G(!0,o.options.chart,d),"className"in d&&o.setClassName(d.className),"reflow"in d&&o.setReflow(d.reflow),"inverted"in d||"polar"in d||"type"in d){o.propFromSeries();var u=!0}"alignTicks"in d&&(u=!0),"events"in d&&b(this,d),U(d,function(e,t){-1!==o.propsRequireUpdateSeries.indexOf("chart."+t)&&(r=!0),-1!==o.propsRequireDirtyBox.indexOf(t)&&(o.isDirtyBox=!0),-1!==o.propsRequireReflow.indexOf(t)&&(l?o.isDirtyBox=!0:a=!0)}),!o.styledMode&&d.style&&o.renderer.setStyle(o.options.chart.style||{})}!o.styledMode&&e.colors&&(this.options.colors=e.colors),e.time&&(this.time===O&&(this.time=new p(e.time)),G(!0,o.options.time,e.time)),U(e,function(t,n){o[n]&&"function"==typeof o[n].update?o[n].update(t,!1):"function"==typeof o[s[n]]?o[s[n]](t):"colors"!==n&&-1===o.collectionsWithUpdate.indexOf(n)&&G(!0,o.options[n],e[n]),"chart"!==n&&-1!==o.propsRequireUpdateSeries.indexOf(n)&&(r=!0)}),this.collectionsWithUpdate.forEach(function(t){if(e[t]){var i=[];o[t].forEach(function(e,t){e.options.isInternal||i.push(q(e.options.index,t))}),K(e[t]).forEach(function(e,r){var a,s=L(e.id);s&&(a=o.get(e.id)),!a&&o[t]&&(a=o[t][i?i[r]:r])&&s&&L(a.options.id)&&(a=void 0),a&&a.coll===t&&(a.update(e,!1),n&&(a.touched=!0)),!a&&n&&o.collectionsWithInit[t]&&(o.collectionsWithInit[t][0].apply(o,[e].concat(o.collectionsWithInit[t][1]||[]).concat([!1])).touched=!0)}),n&&o[t].forEach(function(e){e.touched||e.options.isInternal?delete e.touched:c.push(e)})}}),c.forEach(function(e){e.chart&&e.remove&&e.remove(!1)}),u&&o.axes.forEach(function(e){e.update({},!1)}),r&&o.getSeriesOrderByLinks().forEach(function(e){e.chart&&e.update({},!1)},this),u=d&&d.width,d=d&&(W(d.height)?$(d.height,u||o.chartWidth):d.height),a||V(u)&&u!==o.chartWidth||V(d)&&d!==o.chartHeight?o.setSize(u,d,i):q(t,!0)&&o.redraw(i),z(o,"afterUpdate",{options:e,redraw:t,animation:i})},e.prototype.setSubtitle=function(e,t){this.applyDescription("subtitle",e),this.layOutTitles(t)},e.prototype.setCaption=function(e,t){this.applyDescription("caption",e),this.layOutTitles(t)},e.prototype.showResetZoom=function(){function e(){t.zoomOut()}var t=this,n=k.lang,i=t.options.chart.resetZoomButton,r=i.theme,a=r.states,o="chart"===i.relativeTo||"spacingBox"===i.relativeTo?null:"scrollablePlotBox";z(this,"beforeShowResetZoom",null,function(){t.resetZoomButton=t.renderer.button(n.resetZoom,null,null,e,r,a&&a.hover).attr({align:i.position.align,title:n.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(i.position,!1,o)}),z(this,"afterShowResetZoom")},e.prototype.zoomOut=function(){z(this,"selection",{resetSelection:!0},this.zoom)},e.prototype.zoom=function(e){var t,n=this,i=n.pointer,r=n.inverted?i.mouseDownX:i.mouseDownY,a=!1;!e||e.resetSelection?(n.axes.forEach(function(e){t=e.zoom()}),i.initiated=!1):e.xAxis.concat(e.yAxis).forEach(function(e){var o=e.axis,s=n.inverted?o.left:o.top,l=o.isXAxis,c=!1;(!l&&r>=s&&r<=(n.inverted?s+o.width:s+o.height)||l||!L(r))&&(c=!0),i[l?"zoomX":"zoomY"]&&c&&(t=o.zoom(e.min,e.max),o.displayBtn&&(a=!0))});var o=n.resetZoomButton;a&&!o?n.showResetZoom():!a&&Y(o)&&(n.resetZoomButton=o.destroy()),t&&n.redraw(q(n.options.chart.animation,e&&e.animation,100>n.pointCount))},e.prototype.pan=function(e,t){var n=this,i=n.hoverPoints;t="object"==typeof t?t:{enabled:t,type:"x"};var r=n.options.chart,a=n.options.mapNavigation&&n.options.mapNavigation.enabled;r&&r.panning&&(r.panning=t);var o,s=t.type;z(this,"pan",{originalEvent:e},function(){i&&i.forEach(function(e){e.setState()});var t=n.xAxis;"xy"===s?t=t.concat(n.yAxis):"y"===s&&(t=n.yAxis);var r={};t.forEach(function(t){if(t.options.panningEnabled&&!t.options.isInternal){var i=t.horiz,l=e[i?"chartX":"chartY"],c=n[i=i?"mouseDownX":"mouseDownY"],d=t.minPointOffset||0,u=t.reversed&&!n.inverted||!t.reversed&&n.inverted?-1:1,p=t.getExtremes(),h=t.toValue(c-l,!0)+d*u,m=t.toValue(c+t.len-l,!0)-(d*u||t.isXAxis&&t.pointRangePadding||0),g=m<h;u=t.hasVerticalPanning(),c=g?m:h,h=g?h:m;var f=t.panningState;!u||t.isXAxis||f&&!f.isDirty||t.series.forEach(function(e){var t=e.getProcessedData(!0);t=e.getExtremes(t.yData,!0),f||(f={startMin:Number.MAX_VALUE,startMax:-Number.MAX_VALUE}),V(t.dataMin)&&V(t.dataMax)&&(f.startMin=Math.min(q(e.options.threshold,1/0),t.dataMin,f.startMin),f.startMax=Math.max(q(e.options.threshold,-1/0),t.dataMax,f.startMax))}),u=Math.min(q(f&&f.startMin,p.dataMin),d?p.min:t.toValue(t.toPixels(p.min)-t.minPixelPadding)),m=Math.max(q(f&&f.startMax,p.dataMax),d?p.max:t.toValue(t.toPixels(p.max)+t.minPixelPadding)),t.panningState=f,t.isOrdinal||(0<(d=u-c)&&(h+=d,c=u),0<(d=h-m)&&(h=m,c-=d),t.series.length&&c!==p.min&&h!==p.max&&c>=u&&h<=m&&(t.setExtremes(c,h,!1,!1,{trigger:"pan"}),n.resetZoomButton||a||c===u||h===m||!s.match("y")||(n.showResetZoom(),t.displayBtn=!1),o=!0),r[i]=l)}}),U(r,function(e,t){n[t]=e}),o&&n.redraw(!1),D(n.container,{cursor:"move"})})},e}(),F(e.prototype,{callbacks:[],collectionsWithInit:{xAxis:[e.prototype.addAxis,[!0]],yAxis:[e.prototype.addAxis,[!1]],series:[e.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),e}),t(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],function(e){var t,n=e.merge,i=e.pick;return function(e){e.drawLineMarker=function(e){var t=this.options,r=e.symbolWidth,a=e.symbolHeight,o=a/2,s=this.chart.renderer,l=this.legendGroup;e=e.baseline-Math.round(.3*e.fontMetrics.b);var c={},d=t.marker;this.chart.styledMode||(c={"stroke-width":t.lineWidth||0},t.dashStyle&&(c.dashstyle=t.dashStyle)),this.legendLine=s.path([["M",0,e],["L",r,e]]).addClass("highcharts-graph").attr(c).add(l),d&&!1!==d.enabled&&r&&(t=Math.min(i(d.radius,o),o),0===this.symbol.indexOf("url")&&(d=n(d,{width:a,height:a}),t=0),this.legendSymbol=r=s.symbol(this.symbol,r/2-t,e-t,2*t,2*t,d).addClass("highcharts-point").add(l),r.isMarker=!0)},e.drawRectangle=function(e,t){var n=e.symbolHeight,r=e.options.squareSymbol;t.legendSymbol=this.chart.renderer.rect(r?(e.symbolWidth-n)/2:0,e.baseline-n+1,r?n:e.symbolWidth,n,i(e.options.symbolRadius,n/2)).addClass("highcharts-point").attr({zIndex:3}).add(t.legendGroup)}}(t||(t={})),t}),t(n,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){return"number"!=typeof this.y?"":(0,this.series.chart.numberFormatter)(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),t(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/DefaultOptions.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(e,t,n,i,r,a,o,s,l,c){var d=e.animObject,u=e.setAnimation,p=t.defaultOptions,h=n.registerEventOptions,m=i.hasTouch,g=i.svg,f=i.win,v=s.seriesTypes,y=c.addEvent,b=c.arrayMax,x=c.arrayMin,_=c.clamp,w=c.cleanRecursively,S=c.correctFloat,C=c.defined,k=c.erase,O=c.error,E=c.extend,M=c.find,I=c.fireEvent,P=c.getNestedProperty,T=c.isArray,D=c.isNumber,L=c.isString,R=c.merge,j=c.objectEach,A=c.pick,F=c.removeEvent,B=c.splat,z=c.syncTimeout;return e=function(){function e(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return e.prototype.init=function(e,t){I(this,"init",{options:t});var n=this,i=e.series;this.eventsToUnbind=[],n.chart=e,n.options=n.setOptions(t),t=n.options,n.linkedSeries=[],n.bindAxes(),E(n,{name:t.name,state:"",visible:!1!==t.visible,selected:!0===t.selected}),h(this,t);var r,a=t.events;(a&&a.click||t.point&&t.point.events&&t.point.events.click||t.allowPointSelect)&&(e.runTrackerClick=!0),n.getColor(),n.getSymbol(),n.parallelArrays.forEach(function(e){n[e+"Data"]||(n[e+"Data"]=[])}),n.isCartesian&&(e.hasCartesianSeries=!0),i.length&&(r=i[i.length-1]),n._i=A(r&&r._i,-1)+1,n.opacity=n.options.opacity,e.orderSeries(this.insert(i)),t.dataSorting&&t.dataSorting.enabled?n.setDataSortingOptions():n.points||n.data||n.setData(t.data,!1),I(this,"afterInit")},e.prototype.is=function(e){return v[e]&&this instanceof v[e]},e.prototype.insert=function(e){var t,n=this.options.index;if(D(n)){for(t=e.length;t--;)if(n>=A(e[t].options.index,e[t]._i)){e.splice(t+1,0,this);break}-1===t&&e.unshift(this),t+=1}else e.push(this);return A(t,e.length-1)},e.prototype.bindAxes=function(){var e,t=this,n=t.options,i=t.chart;I(this,"bindAxes",null,function(){(t.axisTypes||[]).forEach(function(r){var a=0;i[r].forEach(function(i){e=i.options,(n[r]===a&&!e.isInternal||void 0!==n[r]&&n[r]===e.id||void 0===n[r]&&0===e.index)&&(t.insert(i.series),t[r]=i,i.isDirty=!0),e.isInternal||a++}),t[r]||t.optionalAxis===r||O(18,!0,i)})}),I(this,"afterBindAxes")},e.prototype.updateParallelArrays=function(e,t){var n=e.series,i=arguments,r=D(t)?function(i){var r="y"===i&&n.toYData?n.toYData(e):e[i];n[i+"Data"][t]=r}:function(e){Array.prototype[t].apply(n[e+"Data"],Array.prototype.slice.call(i,2))};n.parallelArrays.forEach(r)},e.prototype.hasData=function(){return this.visible&&void 0!==this.dataMax&&void 0!==this.dataMin||this.visible&&this.yData&&0<this.yData.length},e.prototype.autoIncrement=function(e){var t,n=this.options,i=n.pointIntervalUnit,r=n.relativeXValue,a=this.chart.time,o=this.xIncrement;return o=A(o,n.pointStart,0),this.pointInterval=t=A(this.pointInterval,n.pointInterval,1),r&&D(e)&&(t*=e),i&&(n=new a.Date(o),"day"===i?a.set("Date",n,a.get("Date",n)+t):"month"===i?a.set("Month",n,a.get("Month",n)+t):"year"===i&&a.set("FullYear",n,a.get("FullYear",n)+t),t=n.getTime()-o),r&&D(e)?o+t:(this.xIncrement=o+t,o)},e.prototype.setDataSortingOptions=function(){var e=this.options;E(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),C(e.pointRange)||(e.pointRange=1)},e.prototype.setOptions=function(e){var t=this.chart,n=t.options,i=n.plotOptions,r=t.userOptions||{};e=R(e),t=t.styledMode;var a={plotOptions:i,userOptions:e};I(this,"setOptions",a);var o=a.plotOptions[this.type],s=r.plotOptions||{};return this.userOptions=a.userOptions,r=R(o,i.series,r.plotOptions&&r.plotOptions[this.type],e),this.tooltipOptions=R(p.tooltip,p.plotOptions.series&&p.plotOptions.series.tooltip,p.plotOptions[this.type].tooltip,n.tooltip.userOptions,i.series&&i.series.tooltip,i[this.type].tooltip,e.tooltip),this.stickyTracking=A(e.stickyTracking,s[this.type]&&s[this.type].stickyTracking,s.series&&s.series.stickyTracking,!(!this.tooltipOptions.shared||this.noSharedTooltip)||r.stickyTracking),null===o.marker&&delete r.marker,this.zoneAxis=r.zoneAxis,i=this.zones=(r.zones||[]).slice(),!r.negativeColor&&!r.negativeFillColor||r.zones||(n={value:r[this.zoneAxis+"Threshold"]||r.threshold||0,className:"highcharts-negative"},t||(n.color=r.negativeColor,n.fillColor=r.negativeFillColor),i.push(n)),i.length&&C(i[i.length-1].value)&&i.push(t?{}:{color:this.color,fillColor:this.fillColor}),I(this,"afterSetOptions",{options:r}),r},e.prototype.getName=function(){return A(this.options.name,"Series "+(this.index+1))},e.prototype.getCyclic=function(e,t,n){var i=this.chart,r=this.userOptions,a=e+"Index",o=e+"Counter",s=n?n.length:A(i.options.chart[e+"Count"],i[e+"Count"]);if(!t){var l=A(r[a],r["_"+a]);C(l)||(i.series.length||(i[o]=0),r["_"+a]=l=i[o]%s,i[o]+=1),n&&(t=n[l])}void 0!==l&&(this[a]=l),this[e]=t},e.prototype.getColor=function(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||p.plotOptions[this.type].color,this.chart.options.colors)},e.prototype.getPointsCollection=function(){return(this.hasGroupedData?this.points:this.data)||[]},e.prototype.getSymbol=function(){this.getCyclic("symbol",this.options.marker.symbol,this.chart.options.symbols)},e.prototype.findPointIndex=function(e,t){var n,i,r=e.id,o=e.x,s=this.points,l=this.options.dataSorting;if(r)(l=this.chart.get(r))instanceof a&&(n=l);else if((this.linkedParent||this.enabledDataSorting||this.options.relativeXValue)&&(n=function(t){return!t.touched&&t.index===e.index},l&&l.matchByName?n=function(t){return!t.touched&&t.name===e.name}:this.options.relativeXValue&&(n=function(t){return!t.touched&&t.options.x===e.x}),!(n=M(s,n))))return;if(n){var c=n&&n.index;void 0!==c&&(i=!0)}return void 0===c&&D(o)&&(c=this.xData.indexOf(o,t)),-1!==c&&void 0!==c&&this.cropped&&(c=c>=this.cropStart?c-this.cropStart:c),!i&&D(c)&&s[c]&&s[c].touched&&(c=void 0),c},e.prototype.updateData=function(e,t){var n,i,r,a=this.options,o=a.dataSorting,s=this.points,l=[],c=this.requireSorting,d=e.length===s.length,u=!0;if(this.xIncrement=null,e.forEach(function(e,t){var i=C(e)&&this.pointClass.prototype.optionsToObject.call({series:this},e)||{};i.id||D(i.x)?(-1===(i=this.findPointIndex(i,r))||void 0===i?l.push(e):s[i]&&e!==a.data[i]?(s[i].update(e,!1,null,!1),s[i].touched=!0,c&&(r=i+1)):s[i]&&(s[i].touched=!0),(!d||t!==i||o&&o.enabled||this.hasDerivedData)&&(n=!0)):l.push(e)},this),n)for(e=s.length;e--;)(i=s[e])&&!i.touched&&i.remove&&i.remove(!1,t);else!d||o&&o.enabled?u=!1:(e.forEach(function(e,t){e!==s[t].y&&s[t].update&&s[t].update(e,!1,null,!1)}),l.length=0);return s.forEach(function(e){e&&(e.touched=!1)}),!!u&&(l.forEach(function(e){this.addPoint(e,!1,null,null,!1)},this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=b(this.xData),this.autoIncrement()),!0)},e.prototype.setData=function(e,t,n,i){var r=this,a=r.points,o=a&&a.length||0,s=r.options,l=r.chart,c=s.dataSorting,d=r.xAxis,u=s.turboThreshold,p=this.xData,h=this.yData,m=r.pointArrayMap;m=m&&m.length;var g,f=s.keys,v=0,y=1,b=null,x=(e=e||[]).length;if(t=A(t,!0),c&&c.enabled&&(e=this.sortData(e)),!1!==i&&x&&o&&!r.cropped&&!r.hasGroupedData&&r.visible&&!r.isSeriesBoosting&&(g=this.updateData(e,n)),!g){if(r.xIncrement=null,r.colorCounter=0,this.parallelArrays.forEach(function(e){r[e+"Data"].length=0}),u&&x>u)if(b=r.getFirstValidPoint(e),D(b))for(n=0;n<x;n++)p[n]=this.autoIncrement(),h[n]=e[n];else if(T(b))if(m)if(b.length===m)for(n=0;n<x;n++)p[n]=this.autoIncrement(),h[n]=e[n];else for(n=0;n<x;n++)p[n]=(i=e[n])[0],h[n]=i.slice(1,m+1);else if(f&&(v=0<=(v=f.indexOf("x"))?v:0,y=0<=(y=f.indexOf("y"))?y:1),1===b.length&&(y=0),v===y)for(n=0;n<x;n++)p[n]=this.autoIncrement(),h[n]=e[n][y];else for(n=0;n<x;n++)p[n]=(i=e[n])[v],h[n]=i[y];else O(12,!1,l);else for(n=0;n<x;n++)void 0!==e[n]&&(r.pointClass.prototype.applyOptions.apply(i={series:r},[e[n]]),r.updateParallelArrays(i,n));for(h&&L(h[0])&&O(14,!0,l),r.data=[],r.options.data=r.userOptions.data=e,n=o;n--;)a[n]&&a[n].destroy&&a[n].destroy();d&&(d.minRange=d.userMinRange),r.isDirty=l.isDirtyBox=!0,r.isDirtyData=!!a,n=!1}"point"===s.legendType&&(this.processData(),this.generatePoints()),t&&l.redraw(n)},e.prototype.sortData=function(e){var t=this,n=t.options.dataSorting.sortKey||"y",i=function(e,t){return C(t)&&e.pointClass.prototype.optionsToObject.call({series:e},t)||{}};return e.forEach(function(n,r){e[r]=i(t,n),e[r].index=r},this),e.concat().sort(function(e,t){return e=P(n,e),(t=P(n,t))<e?-1:t>e?1:0}).forEach(function(e,t){e.x=t},this),t.linkedSeries&&t.linkedSeries.forEach(function(t){var n=t.options,r=n.data;n.dataSorting&&n.dataSorting.enabled||!r||(r.forEach(function(n,a){r[a]=i(t,n),e[a]&&(r[a].x=e[a].x,r[a].index=a)}),t.setData(r,!1))}),e},e.prototype.getProcessedData=function(e){var t=this.xAxis,n=this.options,i=n.cropThreshold,r=e||this.getExtremesFromAll||n.getExtremesFromAll,a=this.isCartesian;e=t&&t.val2lin,n=!(!t||!t.logarithmic);var o=0,s=this.xData,l=this.yData,c=this.requireSorting,d=!1,u=s.length;if(t){var p=(d=t.getExtremes()).min,h=d.max;d=t.categories&&!t.names.length}if(a&&this.sorted&&!r&&(!i||u>i||this.forceCrop))if(s[u-1]<p||s[0]>h)s=[],l=[];else if(this.yData&&(s[0]<p||s[u-1]>h)){var m=this.cropData(this.xData,this.yData,p,h);s=m.xData,l=m.yData,o=m.start,m=!0}for(i=s.length||1;--i;)if(0<(t=n?e(s[i])-e(s[i-1]):s[i]-s[i-1])&&(void 0===g||t<g))var g=t;else 0>t&&c&&!d&&(O(15,!1,this.chart),c=!1);return{xData:s,yData:l,cropped:m,cropStart:o,closestPointRange:g}},e.prototype.processData=function(e){if(this.isCartesian&&!this.isDirty&&!this.xAxis.isDirty&&!this.yAxis.isDirty&&!e)return!1;e=this.getProcessedData(),this.cropped=e.cropped,this.cropStart=e.cropStart,this.processedXData=e.xData,this.processedYData=e.yData,this.closestPointRange=this.basePointRange=e.closestPointRange,I(this,"afterProcessData")},e.prototype.cropData=function(e,t,n,i,r){var a,o=e.length,s=0,l=o;for(r=A(r,this.cropShoulder),a=0;a<o;a++)if(e[a]>=n){s=Math.max(0,a-r);break}for(n=a;n<o;n++)if(e[n]>i){l=n+r;break}return{xData:e.slice(s,l),yData:t.slice(s,l),start:s,end:l}},e.prototype.generatePoints=function(){var e=this.options,t=e.data,n=this.processedXData,i=this.processedYData,r=this.pointClass,a=n.length,o=this.cropStart||0,s=this.hasGroupedData,l=e.keys,c=[];e=e.dataGrouping&&e.dataGrouping.groupAll?o:0;var d,u,p=this.data;if(!p&&!s){var h=[];h.length=t.length,p=this.data=h}for(l&&s&&(this.options.keys=!1),u=0;u<a;u++){if(h=o+u,s){var m=(new r).init(this,[n[u]].concat(B(i[u])));m.dataGroup=this.groupMap[e+u],m.dataGroup.options&&(m.options=m.dataGroup.options,E(m,m.dataGroup.options),delete m.dataLabels)}else(m=p[h])||void 0===t[h]||(p[h]=m=(new r).init(this,t[h],n[u]));m&&(m.index=s?e+u:h,c[u]=m)}if(this.options.keys=l,p&&(a!==(d=p.length)||s))for(u=0;u<d;u++)u!==o||s||(u+=a),p[u]&&(p[u].destroyElements(),p[u].plotX=void 0);this.data=p,this.points=c,I(this,"afterGeneratePoints")},e.prototype.getXExtremes=function(e){return{min:x(e),max:b(e)}},e.prototype.getExtremes=function(e,t){var n=this.xAxis,i=this.yAxis,r=this.processedXData||this.xData,a=[],o=this.requireSorting?this.cropShoulder:0;i=!!i&&i.positiveValuesOnly;var s,l=0,c=0,d=0,u=(e=e||this.stackedYData||this.processedYData||[]).length;if(n){var p=n.getExtremes();l=p.min,c=p.max}for(s=0;s<u;s++){var h=r[s],m=(D(p=e[s])||T(p))&&(p.length||0<p||!i);if(h=t||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!n||(r[s+o]||h)>=l&&(r[s-o]||h)<=c,m&&h)if(m=p.length)for(;m--;)D(p[m])&&(a[d++]=p[m]);else a[d++]=p}return e={activeYData:a,dataMin:x(a),dataMax:b(a)},I(this,"afterGetExtremes",{dataExtremes:e}),e},e.prototype.applyExtremes=function(){var e=this.getExtremes();return this.dataMin=e.dataMin,this.dataMax=e.dataMax,e},e.prototype.getFirstValidPoint=function(e){for(var t=e.length,n=0,i=null;null===i&&n<t;)i=e[n],n++;return i},e.prototype.translate=function(){this.processedXData||this.processData(),this.generatePoints();var e,t,n=this.options,i=n.stacking,r=this.xAxis,a=r.categories,o=this.enabledDataSorting,s=this.yAxis,l=this.points,c=l.length,d=this.pointPlacementToXValue(),u=!!d,p=n.threshold,h=n.startFromThreshold?p:0,m=this.zoneAxis||"y",g=Number.MAX_VALUE;for(e=0;e<c;e++){var f=l[e],v=f.x,y=void 0,b=void 0,x=f.y,w=f.low,k=i&&s.stacking&&s.stacking.stacks[(this.negStacks&&x<(h?0:p)?"-":"")+this.stackKey];if((s.positiveValuesOnly&&!s.validatePositiveValue(x)||r.positiveValuesOnly&&!r.validatePositiveValue(v))&&(f.isNull=!0),f.plotX=t=S(_(r.translate(v,0,0,0,1,d,"flags"===this.type),-1e5,1e5)),i&&this.visible&&k&&k[v]){var O=this.getStackIndicator(O,v,this.index);f.isNull||(b=(y=k[v]).points[O.key])}if(T(b)&&(x=b[1],(w=b[0])===h&&O.key===k[v].base&&(w=A(D(p)&&p,s.min)),s.positiveValuesOnly&&0>=w&&(w=null),f.total=f.stackTotal=y.total,f.percentage=y.total&&f.y/y.total*100,f.stackY=x,this.irregularWidths||y.setOffset(this.pointXOffset||0,this.barW||0)),f.yBottom=C(w)?_(s.translate(w,0,1,0,1),-1e5,1e5):null,this.dataModify&&(x=this.dataModify.modifyValue(x,e)),f.plotY=void 0,D(x)&&void 0!==(y=s.translate(x,!1,!0,!1,!0))&&(f.plotY=_(y,-1e5,1e5)),f.isInside=this.isPointInside(f),f.clientX=u?S(r.translate(v,0,0,0,1,d)):t,f.negative=f[m]<(n[m+"Threshold"]||p||0),f.category=a&&void 0!==a[f.x]?a[f.x]:f.x,!f.isNull&&!1!==f.visible){void 0!==E&&(g=Math.min(g,Math.abs(t-E)));var E=t}f.zone=this.zones.length?f.getZone():void 0,!f.graphic&&this.group&&o&&(f.isNew=!0)}this.closestPointRangePx=g,I(this,"afterTranslate")},e.prototype.getValidPoints=function(e,t,n){var i=this.chart;return(e||this.points||[]).filter(function(e){return!(t&&!i.isInsidePlot(e.plotX,e.plotY,{inverted:i.inverted}))&&!1!==e.visible&&(n||!e.isNull)})},e.prototype.getClipBox=function(){var e=this.chart,t=this.xAxis,n=this.yAxis,i=R(e.clipBox);return t&&t.len!==e.plotSizeX&&(i.width=t.len),n&&n.len!==e.plotSizeY&&(i.height=n.len),i},e.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},e.prototype.setClip=function(){var e=this.chart,t=this.group,n=this.markerGroup,i=e.sharedClips;e=e.renderer;var r=this.getClipBox(),a=this.getSharedClipKey(),o=i[a];o?o.animate(r):i[a]=o=e.clipRect(r),t&&t.clip(!1===this.options.clip?void 0:o),n&&n.clip()},e.prototype.animate=function(e){var t=this.chart,n=this.group,i=this.markerGroup,r=t.inverted,a=d(this.options.animation),o=[this.getSharedClipKey(),a.duration,a.easing,a.defer].join(),s=t.sharedClips[o],l=t.sharedClips[o+"m"];if(e&&n)a=this.getClipBox(),s?s.attr("height",a.height):(a.width=0,r&&(a.x=t.plotHeight),s=t.renderer.clipRect(a),t.sharedClips[o]=s,l=t.renderer.clipRect({x:r?(t.plotSizeX||0)+99:-99,y:r?-t.plotLeft:-t.plotTop,width:99,height:r?t.chartWidth:t.chartHeight}),t.sharedClips[o+"m"]=l),n.clip(s),i&&i.clip(l);else if(s&&!s.hasClass("highcharts-animating")){t=this.getClipBox();var c=a.step;i&&i.element.childNodes.length&&(a.step=function(e,t){c&&c.apply(t,arguments),l&&l.element&&l.attr(t.prop,"width"===t.prop?e+99:e)}),s.addClass("highcharts-animating").animate(t,a)}},e.prototype.afterAnimate=function(){var e=this;this.setClip(),j(this.chart.sharedClips,function(t,n,i){t&&!e.chart.container.querySelector('[clip-path="url(#'+t.id+')"]')&&(t.destroy(),delete i[n])}),this.finishedAnimating=!0,I(this,"afterAnimate")},e.prototype.drawPoints=function(){var e,t,n=this.points,i=this.chart,r=this.options.marker,a=this[this.specialGroup]||this.markerGroup,o=this.xAxis,s=A(r.enabled,!(o&&!o.isRadial)||null,this.closestPointRangePx>=r.enabledThreshold*r.radius);if(!1!==r.enabled||this._hasPointMarkers)for(e=0;e<n.length;e++){var l=n[e],c=(t=l.graphic)?"animate":"attr",d=l.marker||{},u=!!l.marker;if((s&&void 0===d.enabled||d.enabled)&&!l.isNull&&!1!==l.visible){var p=A(d.symbol,this.symbol,"rect"),h=this.markerAttribs(l,l.selected&&"select");this.enabledDataSorting&&(l.startXPos=o.reversed?-(h.width||0):o.width);var m=!1!==l.isInside;t?t[m?"show":"hide"](m).animate(h):m&&(0<(h.width||0)||l.hasImage)&&(l.graphic=t=i.renderer.symbol(p,h.x,h.y,h.width,h.height,u?d:r).add(a),this.enabledDataSorting&&i.hasRendered&&(t.attr({x:l.startXPos}),c="animate")),t&&"animate"===c&&t[m?"show":"hide"](m).animate(h),t&&!i.styledMode&&t[c](this.pointAttribs(l,l.selected&&"select")),t&&t.addClass(l.getClassName(),!0)}else t&&(l.graphic=t.destroy())}},e.prototype.markerAttribs=function(e,t){var n=this.options,i=n.marker,r=e.marker||{},a=r.symbol||i.symbol,o=A(r.radius,i.radius);return t&&(i=i.states[t],o=A((t=r.states&&r.states[t])&&t.radius,i&&i.radius,o+(i&&i.radiusPlus||0))),e.hasImage=a&&0===a.indexOf("url"),e.hasImage&&(o=0),e={x:n.crisp?Math.floor(e.plotX-o):e.plotX-o,y:e.plotY-o},o&&(e.width=e.height=2*o),e},e.prototype.pointAttribs=function(e,t){var n=this.options.marker,i=e&&e.options,r=i&&i.marker||{},a=i&&i.color,o=e&&e.color,s=e&&e.zone&&e.zone.color,l=this.color;return e=A(r.lineWidth,n.lineWidth),i=1,l=a||s||o||l,a=r.fillColor||n.fillColor||l,o=r.lineColor||n.lineColor||l,n=n.states[t=t||"normal"]||{},e=A((t=r.states&&r.states[t]||{}).lineWidth,n.lineWidth,e+A(t.lineWidthPlus,n.lineWidthPlus,0)),{stroke:o=t.lineColor||n.lineColor||o,"stroke-width":e,fill:a=t.fillColor||n.fillColor||a,opacity:i=A(t.opacity,n.opacity,i)}},e.prototype.destroy=function(e){var t,n,i,r=this,a=r.chart,o=/AppleWebKit\/533/.test(f.navigator.userAgent),s=r.data||[];for(I(r,"destroy"),this.removeEvents(e),(r.axisTypes||[]).forEach(function(e){(i=r[e])&&i.series&&(k(i.series,r),i.isDirty=i.forceRedraw=!0)}),r.legendItem&&r.chart.legend.destroyItem(r),t=s.length;t--;)(n=s[t])&&n.destroy&&n.destroy();r.clips&&r.clips.forEach(function(e){return e.destroy()}),c.clearTimeout(r.animationTimeout),j(r,function(e,t){e instanceof l&&!e.survive&&e[o&&"group"===t?"hide":"destroy"]()}),a.hoverSeries===r&&(a.hoverSeries=void 0),k(a.series,r),a.orderSeries(),j(r,function(t,n){e&&"hcEvents"===n||delete r[n]})},e.prototype.applyZones=function(){var e,t,n,i,r,a,o,s,l=this,c=this.chart,d=c.renderer,u=this.zones,p=this.clips||[],h=this.graph,m=this.area,g=Math.max(c.chartWidth,c.chartHeight),f=this[(this.zoneAxis||"y")+"Axis"],v=c.inverted,y=!1;if(u.length&&(h||m)&&f&&void 0!==f.min){var b=f.reversed,x=f.horiz;h&&!this.showLine&&h.hide(),m&&m.hide();var w=f.getExtremes();u.forEach(function(u,S){e=b?x?c.plotWidth:0:x?0:f.toPixels(w.min)||0,e=_(A(t,e),0,g),t=_(Math.round(f.toPixels(A(u.value,w.max),!0)||0),0,g),y&&(e=t=f.toPixels(w.max)),i=Math.abs(e-t),r=Math.min(e,t),a=Math.max(e,t),f.isXAxis?(n={x:v?a:r,y:0,width:i,height:g},x||(n.x=c.plotHeight-n.x)):(n={x:0,y:v?a:r,width:g,height:i},x&&(n.y=c.plotWidth-n.y)),v&&d.isVML&&(n=f.isXAxis?{x:0,y:b?r:a,height:n.width,width:c.chartWidth}:{x:n.y-c.plotLeft-c.spacingBox.x,y:0,width:n.height,height:c.chartHeight}),p[S]?p[S].animate(n):p[S]=d.clipRect(n),o=l["zone-area-"+S],s=l["zone-graph-"+S],h&&s&&s.clip(p[S]),m&&o&&o.clip(p[S]),y=u.value>w.max,l.resetZones&&0===t&&(t=void 0)}),this.clips=p}else l.visible&&(h&&h.show(!0),m&&m.show(!0))},e.prototype.invertGroups=function(e){function t(){["group","markerGroup"].forEach(function(t){n[t]&&(i.renderer.isVML&&n[t].attr({width:n.yAxis.len,height:n.xAxis.len}),n[t].width=n.yAxis.len,n[t].height=n.xAxis.len,n[t].invert(!n.isRadialSeries&&e))})}var n=this,i=n.chart;n.xAxis&&(n.eventsToUnbind.push(y(i,"resize",t)),t(),n.invertGroups=t)},e.prototype.plotGroup=function(e,t,n,i,r){var a=this[e],o=!a;return n={visibility:n,zIndex:i||.1},void 0===this.opacity||this.chart.styledMode||"inactive"===this.state||(n.opacity=this.opacity),o&&(this[e]=a=this.chart.renderer.g().add(r)),a.addClass("highcharts-"+t+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(C(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(a.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),a.attr(n)[o?"attr":"animate"](this.getPlotBox()),a},e.prototype.getPlotBox=function(){var e=this.chart,t=this.xAxis,n=this.yAxis;return e.inverted&&(t=n,n=this.xAxis),{translateX:t?t.left:e.plotLeft,translateY:n?n.top:e.plotTop,scaleX:1,scaleY:1}},e.prototype.removeEvents=function(e){e||F(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach(function(e){e()}),this.eventsToUnbind.length=0)},e.prototype.render=function(){var e=this,t=e.chart,n=e.options,i=d(n.animation),r=e.visible?"inherit":"hidden",a=n.zIndex,o=e.hasRendered,s=t.seriesGroup,l=t.inverted;t=!e.finishedAnimating&&t.renderer.isSVG?i.duration:0,I(this,"render");var c=e.plotGroup("group","series",r,a,s);e.markerGroup=e.plotGroup("markerGroup","markers",r,a,s),!1!==n.clip&&e.setClip(),e.animate&&t&&e.animate(!0),c.inverted=!!A(e.invertible,e.isCartesian)&&l,e.drawGraph&&(e.drawGraph(),e.applyZones()),e.visible&&e.drawPoints(),e.drawDataLabels&&e.drawDataLabels(),e.redrawPoints&&e.redrawPoints(),e.drawTracker&&!1!==e.options.enableMouseTracking&&e.drawTracker(),e.invertGroups(l),e.animate&&t&&e.animate(),o||(t&&i.defer&&(t+=i.defer),e.animationTimeout=z(function(){e.afterAnimate()},t||0)),e.isDirty=!1,e.hasRendered=!0,I(e,"afterRender")},e.prototype.redraw=function(){var e=this.chart,t=this.isDirty||this.isDirtyData,n=this.group,i=this.xAxis,r=this.yAxis;n&&(e.inverted&&n.attr({width:e.plotWidth,height:e.plotHeight}),n.animate({translateX:A(i&&i.left,e.plotLeft),translateY:A(r&&r.top,e.plotTop)})),this.translate(),this.render(),t&&delete this.kdTree},e.prototype.searchPoint=function(e,t){var n=this.xAxis,i=this.yAxis,r=this.chart.inverted;return this.searchKDTree({clientX:r?n.len-e.chartY+n.pos:e.chartX-n.pos,plotY:r?i.len-e.chartX+i.pos:e.chartY-i.pos},t,e)},e.prototype.buildKDTree=function(e){function t(e,i,r){var a=e&&e.length;if(a){var o=n.kdAxisArray[i%r];return e.sort(function(e,t){return e[o]-t[o]}),{point:e[a=Math.floor(a/2)],left:t(e.slice(0,a),i+1,r),right:t(e.slice(a+1),i+1,r)}}}this.buildingKdTree=!0;var n=this,i=-1<n.options.findNearestPointBy.indexOf("y")?2:1;delete n.kdTree,z(function(){n.kdTree=t(n.getValidPoints(null,!n.directTouch),i,i),n.buildingKdTree=!1},n.options.kdNow||e&&"touchstart"===e.type?0:1)},e.prototype.searchKDTree=function(e,t,n){var i=this,r=this.kdAxisArray[0],a=this.kdAxisArray[1],o=t?"distX":"dist";if(t=-1<i.options.findNearestPointBy.indexOf("y")?2:1,this.kdTree||this.buildingKdTree||this.buildKDTree(n),this.kdTree)return function e(t,n,s,l){var c=n.point,d=i.kdAxisArray[s%l],u=c,p=C(t[r])&&C(c[r])?Math.pow(t[r]-c[r],2):null,h=C(t[a])&&C(c[a])?Math.pow(t[a]-c[a],2):null;return c.dist=C(h=(p||0)+(h||0))?Math.sqrt(h):Number.MAX_VALUE,c.distX=C(p)?Math.sqrt(p):Number.MAX_VALUE,p=0>(d=t[d]-c[d])?"right":"left",n[h=0>d?"left":"right"]&&(u=(h=e(t,n[h],s+1,l))[o]<u[o]?h:c),n[p]&&Math.sqrt(d*d)<u[o]&&(u=(t=e(t,n[p],s+1,l))[o]<u[o]?t:u),u}(e,this.kdTree,t,t)},e.prototype.pointPlacementToXValue=function(){var e=this.options,t=e.pointRange,n=this.xAxis;return"between"===(e=e.pointPlacement)&&(e=n.reversed?-.5:.5),D(e)?e*(t||n.pointRange):0},e.prototype.isPointInside=function(e){var t=this.chart,n=this.xAxis,i=this.yAxis;return void 0!==e.plotY&&void 0!==e.plotX&&0<=e.plotY&&e.plotY<=(i?i.len:t.plotHeight)&&0<=e.plotX&&e.plotX<=(n?n.len:t.plotWidth)},e.prototype.drawTracker=function(){var e=this,t=e.options,n=t.trackByArea,i=[].concat(n?e.areaPath:e.graphPath),r=e.chart,a=r.pointer,o=r.renderer,s=r.options.tooltip.snap,l=e.tracker,c=function(t){r.hoverSeries!==e&&e.onMouseOver()},d="rgba(192,192,192,"+(g?1e-4:.002)+")";l?l.attr({d:i}):e.graph&&(e.tracker=o.path(i).attr({visibility:e.visible?"visible":"hidden",zIndex:2}).addClass(n?"highcharts-tracker-area":"highcharts-tracker-line").add(e.group),r.styledMode||e.tracker.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:d,fill:n?d:"none","stroke-width":e.graph.strokeWidth()+(n?0:2*s)}),[e.tracker,e.markerGroup,e.dataLabelsGroup].forEach(function(e){e&&(e.addClass("highcharts-tracker").on("mouseover",c).on("mouseout",function(e){a.onTrackerMouseOut(e)}),t.cursor&&!r.styledMode&&e.css({cursor:t.cursor}),m)&&e.on("touchstart",c)})),I(this,"afterDrawTracker")},e.prototype.addPoint=function(e,t,n,i,r){var a=this.options,o=this.data,s=this.chart,l=this.xAxis;l=l&&l.hasNames&&l.names;var c,d=a.data,u=this.xData;t=A(t,!0);var p={series:this};this.pointClass.prototype.applyOptions.apply(p,[e]);var h=p.x,m=u.length;if(this.requireSorting&&h<u[m-1])for(c=!0;m&&u[m-1]>h;)m--;this.updateParallelArrays(p,"splice",m,0,0),this.updateParallelArrays(p,m),l&&p.name&&(l[h]=p.name),d.splice(m,0,e),c&&(this.data.splice(m,0,null),this.processData()),"point"===a.legendType&&this.generatePoints(),n&&(o[0]&&o[0].remove?o[0].remove(!1):(o.shift(),this.updateParallelArrays(p,"shift"),d.shift())),!1!==r&&I(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,t&&s.redraw(i)},e.prototype.removePoint=function(e,t,n){var i=this,r=i.data,a=r[e],o=i.points,s=i.chart,l=function(){o&&o.length===r.length&&o.splice(e,1),r.splice(e,1),i.options.data.splice(e,1),i.updateParallelArrays(a||{series:i},"splice",e,1),a&&a.destroy(),i.isDirty=!0,i.isDirtyData=!0,t&&s.redraw()};u(n,s),t=A(t,!0),a?a.firePointEvent("remove",null,l):l()},e.prototype.remove=function(e,t,n,i){function r(){a.destroy(i),o.isDirtyLegend=o.isDirtyBox=!0,o.linkSeries(),A(e,!0)&&o.redraw(t)}var a=this,o=a.chart;!1!==n?I(a,"remove",null,r):r()},e.prototype.update=function(e,t){e=w(e,this.userOptions),I(this,"update",{options:e});var n,i=this,r=i.chart,a=i.userOptions,o=i.initialType||i.type,s=r.options.plotOptions,l=v[o].prototype,c=i.finishedAnimating&&{animation:!1},d={},u=["eventOptions","navigatorSeries","baseSeries"],p=e.type||a.type||r.options.chart.type,h=!(this.hasDerivedData||p&&p!==this.type||void 0!==e.pointStart||void 0!==e.pointInterval||void 0!==e.relativeXValue||i.hasOptionChanged("dataGrouping")||i.hasOptionChanged("pointStart")||i.hasOptionChanged("pointInterval")||i.hasOptionChanged("pointIntervalUnit")||i.hasOptionChanged("keys"));if(p=p||o,h&&(u.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==e.visible&&u.push("area","graph"),i.parallelArrays.forEach(function(e){u.push(e+"Data")}),e.data&&(e.dataSorting&&E(i.options.dataSorting,e.dataSorting),this.setData(e.data,!1))),e=R(a,c,{index:void 0===a.index?i.index:a.index,pointStart:A(s&&s.series&&s.series.pointStart,a.pointStart,i.xData[0])},!h&&{data:i.options.data},e),h&&e.data&&(e.data=i.options.data),(u=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(u)).forEach(function(e){u[e]=i[e],delete i[e]}),s=!1,v[p]){if(s=p!==i.type,i.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(i,v[p].prototype);else{for(n in c=Object.hasOwnProperty.call(i,"hcEvents")&&i.hcEvents,l)i[n]=void 0;E(i,v[p].prototype),c?i.hcEvents=c:delete i.hcEvents}}else O(17,!0,r,{missingModuleFor:p});if(u.forEach(function(e){i[e]=u[e]}),i.init(r,e),h&&this.points){var m=i.options;!1===m.visible?(d.graphic=1,d.dataLabel=1):i._hasPointLabels||(l=m.dataLabels,!(e=m.marker)||!1!==e.enabled&&(a.marker&&a.marker.symbol)===e.symbol||(d.graphic=1),l&&!1===l.enabled&&(d.dataLabel=1)),this.points.forEach(function(e){e&&e.series&&(e.resolveColor(),Object.keys(d).length&&e.destroyElements(d),!1===m.showInLegend&&e.legendItem&&r.legend.destroyItem(e))},this)}i.initialType=o,r.linkSeries(),s&&i.linkedSeries.length&&(i.isDirtyData=!0),I(this,"afterUpdate"),A(t,!0)&&r.redraw(!!h&&void 0)},e.prototype.setName=function(e){this.name=this.options.name=this.userOptions.name=e,this.chart.isDirtyLegend=!0},e.prototype.hasOptionChanged=function(e){var t=this.options[e],n=this.chart.options.plotOptions,i=this.userOptions[e];return i?t!==i:t!==A(n&&n[this.type]&&n[this.type][e],n&&n.series&&n.series[e],t)},e.prototype.onMouseOver=function(){var e=this.chart,t=e.hoverSeries;e.pointer.setHoverChartIndex(),t&&t!==this&&t.onMouseOut(),this.options.events.mouseOver&&I(this,"mouseOver"),this.setState("hover"),e.hoverSeries=this},e.prototype.onMouseOut=function(){var e=this.options,t=this.chart,n=t.tooltip,i=t.hoverPoint;t.hoverSeries=null,i&&i.onMouseOut(),this&&e.events.mouseOut&&I(this,"mouseOut"),!n||this.stickyTracking||n.shared&&!this.noSharedTooltip||n.hide(),t.series.forEach(function(e){e.setState("",!0)})},e.prototype.setState=function(e,t){var n=this,i=n.options,r=n.graph,a=i.inactiveOtherPoints,o=i.states,s=A(o[e||"normal"]&&o[e||"normal"].animation,n.chart.options.chart.animation),l=i.lineWidth,c=0,d=i.opacity;if(n.state!==(e=e||"")&&([n.group,n.markerGroup,n.dataLabelsGroup].forEach(function(t){t&&(n.state&&t.removeClass("highcharts-series-"+n.state),e&&t.addClass("highcharts-series-"+e))}),n.state=e,!n.chart.styledMode)){if(o[e]&&!1===o[e].enabled)return;if(e&&(l=o[e].lineWidth||l+(o[e].lineWidthPlus||0),d=A(o[e].opacity,d)),r&&!r.dashstyle)for(r.animate(i={"stroke-width":l},s);n["zone-graph-"+c];)n["zone-graph-"+c].animate(i,s),c+=1;a||[n.group,n.markerGroup,n.dataLabelsGroup,n.labelBySeries].forEach(function(e){e&&e.animate({opacity:d},s)})}t&&a&&n.points&&n.setAllPointsToState(e||void 0)},e.prototype.setAllPointsToState=function(e){this.points.forEach(function(t){t.setState&&t.setState(e)})},e.prototype.setVisible=function(e,t){var n=this,i=n.chart,r=n.legendItem,a=i.options.chart.ignoreHiddenSeries,o=(n.visible=e=n.options.visible=n.userOptions.visible=void 0===e?!n.visible:e)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(function(e){n[e]&&n[e][o]()}),i.hoverSeries!==n&&(i.hoverPoint&&i.hoverPoint.series)!==n||n.onMouseOut(),r&&i.legend.colorizeItem(n,e),n.isDirty=!0,n.options.stacking&&i.series.forEach(function(e){e.options.stacking&&e.visible&&(e.isDirty=!0)}),n.linkedSeries.forEach(function(t){t.setVisible(e,!1)}),a&&(i.isDirtyBox=!0),I(n,o),!1!==t&&i.redraw()},e.prototype.show=function(){this.setVisible(!0)},e.prototype.hide=function(){this.setVisible(!1)},e.prototype.select=function(e){this.selected=e=this.options.selected=void 0===e?!this.selected:e,this.checkbox&&(this.checkbox.checked=e),I(this,e?"select":"unselect")},e.prototype.shouldShowTooltip=function(e,t,n){return void 0===n&&(n={}),n.series=this,n.visiblePlotOnly=!0,this.chart.isInsidePlot(e,t,n)},e.defaultOptions=o,e}(),E(e.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:r.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:a,requireSorting:!0,sorted:!0}),s.series=e,e}),t(n,"Extensions/ScrollablePlotArea.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],function(e,t,n,i,r,a){var o=e.stop,s=a.addEvent,l=a.createElement,c=a.merge,d=a.pick;s(n,"afterSetChartSize",function(e){var n=this.options.chart.scrollablePlotArea,i=n&&n.minWidth;if(n=n&&n.minHeight,!this.renderer.forExport){if(i){if(this.scrollablePixelsX=i=Math.max(0,i-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=i,this.inverted?this.clipBox.height+=i:this.clipBox.width+=i;var r={1:{name:"right",value:i}}}}else n&&(this.scrollablePixelsY=i=Math.max(0,n-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=i,this.inverted?this.clipBox.width+=i:this.clipBox.height+=i,r={2:{name:"bottom",value:i}});r&&!e.skipAxes&&this.axes.forEach(function(e){r[e.side]?e.getPlotLinePath=function(){var n=r[e.side].name,i=this[n];this[n]=i-r[e.side].value;var a=t.prototype.getPlotLinePath.apply(this,arguments);return this[n]=i,a}:(e.setAxisSize(),e.setAxisTranslation())})}}),s(n,"render",function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()}),n.prototype.setUpScrolling=function(){var e=this,t={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(t.overflowX="auto"),this.scrollablePixelsY&&(t.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},t,this.scrollingParent),s(this.scrollingContainer,"scroll",function(){e.pointer&&delete e.pointer.chartPosition}),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},n.prototype.moveFixedElements=function(){var e,t=this.container,n=this.fixedRenderer,i=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?e=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?e=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(e=".highcharts-yaxis"),e&&i.push(e+":not(.highcharts-radial-axis)",e+"-labels:not(.highcharts-radial-axis-labels)"),i.forEach(function(e){[].forEach.call(t.querySelectorAll(e),function(e){(e.namespaceURI===n.SVG_NS?n.box:n.box.parentNode).appendChild(e),e.style.pointerEvents="auto"})})},n.prototype.applyFixed=function(){var e=!this.fixedDiv,t=this.options.chart,n=t.scrollablePlotArea,i=r.getRendererType();e?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(t.style&&t.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=t=new i(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=t.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":d(n.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||e)&&(this.scrollableDirty=!1,this.moveFixedElements()),t=this.chartWidth+(this.scrollablePixelsX||0),i=this.chartHeight+(this.scrollablePixelsY||0),o(this.container),this.container.style.width=t+"px",this.container.style.height=i+"px",this.renderer.boxWrapper.attr({width:t,height:i,viewBox:[0,0,t,i].join(" ")}),this.chartBackground.attr({width:t,height:i}),this.scrollingContainer.style.height=this.chartHeight+"px",e&&(n.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*n.scrollPositionX),n.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*n.scrollPositionY)),e=this.plotTop-(i=this.axisOffset)[0]-1,n=this.plotLeft-i[3]-1,t=this.plotTop+this.plotHeight+i[2]+1,i=this.plotLeft+this.plotWidth+i[1]+1;var a=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);e=this.scrollablePixelsX?[["M",0,e],["L",this.plotLeft-1,e],["L",this.plotLeft-1,t],["L",0,t],["Z"],["M",a,e],["L",this.chartWidth,e],["L",this.chartWidth,t],["L",a,t],["Z"]]:this.scrollablePixelsY?[["M",n,0],["L",n,this.plotTop-1],["L",i,this.plotTop-1],["L",i,0],["Z"],["M",n,c],["L",n,this.chartHeight],["L",i,this.chartHeight],["L",i,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:e})},s(t,"afterInit",function(){this.chart.scrollableDirty=!0}),s(i,"show",function(){this.chart.scrollableDirty=!0})}),t(n,"Core/Axis/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Utilities.js"]],function(e,t,n){var i,r=e.getDeferredAnimation,a=n.addEvent,o=n.destroyObjectProperties,s=n.fireEvent,l=n.isNumber,c=n.objectEach;return function(e){function t(){var e=this.stacking;if(e){var t=e.stacks;c(t,function(e,n){o(e),t[n]=null}),e&&e.stackTotalGroup&&e.stackTotalGroup.destroy()}}function n(){this.stacking||(this.stacking=new d(this))}var i=[];e.compose=function(e){return-1===i.indexOf(e)&&(i.push(e),a(e,"init",n),a(e,"destroy",t)),e};var d=function(){function e(e){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=e}return e.prototype.buildStacks=function(){var e,t=this.axis,n=t.series,i=t.options.reversedStacks,r=n.length;if(!t.isXAxis){for(this.usePercentage=!1,e=r;e--;){var a=n[i?e:r-e-1];a.setStackedPoints(),a.setGroupedPoints()}for(e=0;e<r;e++)n[e].modifyStacks();s(t,"afterBuildStacks")}},e.prototype.cleanStacks=function(){if(!this.axis.isXAxis){if(this.oldStacks)var e=this.stacks=this.oldStacks;c(e,function(e){c(e,function(e){e.cumulative=e.total})})}},e.prototype.resetStacks=function(){var e=this;e.axis.isXAxis||c(e.stacks,function(t){c(t,function(n,i){l(n.touched)&&n.touched<e.stacksTouched?(n.destroy(),delete t[i]):(n.total=null,n.cumulative=null)})})},e.prototype.renderStackTotals=function(){var e=this.axis,t=e.chart,n=t.renderer,i=this.stacks;e=r(t,e.options.stackLabels&&e.options.stackLabels.animation||!1);var a=this.stackTotalGroup=this.stackTotalGroup||n.g("stack-labels").attr({visibility:"visible",zIndex:6,opacity:0}).add();a.translate(t.plotLeft,t.plotTop),c(i,function(e){c(e,function(e){e.render(a)})}),a.animate({opacity:1},e)},e}();e.Additions=d}(i||(i={})),i}),t(n,"Extensions/Stacking.js",[n["Core/Axis/Axis.js"],n["Core/Chart/Chart.js"],n["Core/FormatUtilities.js"],n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Axis/StackingAxis.js"],n["Core/Utilities.js"]],function(e,t,n,i,r,a,o){var s=n.format,l=o.correctFloat,c=o.defined,d=o.destroyObjectProperties,u=o.isArray,p=o.isNumber,h=o.objectEach,m=o.pick,g=function(){function e(e,t,n,i,r){var a=e.chart.inverted;this.axis=e,this.isNegative=n,this.options=t=t||{},this.x=i,this.total=null,this.points={},this.hasValidPoints=!1,this.stack=r,this.rightCliff=this.leftCliff=0,this.alignOptions={align:t.align||(a?n?"left":"right":"center"),verticalAlign:t.verticalAlign||(a?"middle":n?"bottom":"top"),y:t.y,x:t.x},this.textAlign=t.textAlign||(a?n?"right":"left":"center")}return e.prototype.destroy=function(){d(this,this.axis)},e.prototype.render=function(e){var t=this.axis.chart,n=this.options,i=n.format;i=i?s(i,this,t):n.formatter.call(this),this.label?this.label.attr({text:i,visibility:"hidden"}):(this.label=t.renderer.label(i,null,null,n.shape,null,null,n.useHTML,!1,"stack-labels"),i={r:n.borderRadius||0,text:i,rotation:n.rotation,padding:m(n.padding,5),visibility:"hidden"},t.styledMode||(i.fill=n.backgroundColor,i.stroke=n.borderColor,i["stroke-width"]=n.borderWidth,this.label.css(n.style)),this.label.attr(i),this.label.added||this.label.add(e)),this.label.labelrank=t.plotSizeY},e.prototype.setOffset=function(e,t,n,i,a){var o=this.axis,s=o.chart;i=o.translate(o.stacking.usePercentage?100:i||this.total,0,0,0,1),n=o.translate(n||0),n=c(i)&&Math.abs(i-n),e=m(a,s.xAxis[0].translate(this.x))+e,o=c(i)&&this.getStackBox(s,this,e,i,t,n,o),t=this.label,n=this.isNegative,e="justify"===m(this.options.overflow,"justify");var l=this.textAlign;t&&o&&(a=t.getBBox(),i=t.padding,l="left"===l?s.inverted?-i:i:"right"===l?a.width:s.inverted&&"center"===l?a.width/2:s.inverted?n?a.width+i:-i:a.width/2,n=s.inverted?a.height/2:n?-i:a.height,this.alignOptions.x=m(this.options.x,0),this.alignOptions.y=m(this.options.y,0),o.x-=l,o.y-=n,t.align(this.alignOptions,null,o),s.isInsidePlot(t.alignAttr.x+l-this.alignOptions.x,t.alignAttr.y+n-this.alignOptions.y)?t.show():(t.alignAttr.y=-9999,e=!1),e&&r.prototype.justifyDataLabel.call(this.axis,t,this.alignOptions,t.alignAttr,a,o),t.attr({x:t.alignAttr.x,y:t.alignAttr.y}),m(!e&&this.options.crop,!0)&&((s=p(t.x)&&p(t.y)&&s.isInsidePlot(t.x-i+t.width,t.y)&&s.isInsidePlot(t.x+i,t.y))||t.hide()))},e.prototype.getStackBox=function(e,t,n,i,r,a,o){var s=t.axis.reversed,l=e.inverted,c=o.height+o.pos-(l?e.plotLeft:e.plotTop);return t=t.isNegative&&!s||!t.isNegative&&s,{x:l?t?i-o.right:i-a+o.pos-e.plotLeft:n+e.xAxis[0].transB-e.plotLeft,y:l?o.height-n-r:t?c-i-a:c-i,width:l?a:r,height:l?r:a}},e}();return t.prototype.getStacks=function(){var e=this,t=e.inverted;e.yAxis.forEach(function(e){e.stacking&&e.stacking.stacks&&e.hasVisibleSeries&&(e.stacking.oldStacks=e.stacking.stacks)}),e.series.forEach(function(n){var i=n.xAxis&&n.xAxis.options||{};!n.options.stacking||!0!==n.visible&&!1!==e.options.chart.ignoreHiddenSeries||(n.stackKey=[n.type,m(n.options.stack,""),t?i.top:i.left,t?i.height:i.width].join())})},a.compose(e),r.prototype.setGroupedPoints=function(){var e=this.yAxis.stacking;this.options.centerInCategory&&(this.is("column")||this.is("columnrange"))&&!this.options.stacking&&1<this.chart.series.length?r.prototype.setStackedPoints.call(this,"group"):e&&h(e.stacks,function(t,n){"group"===n.slice(-5)&&(h(t,function(e){return e.destroy()}),delete e.stacks[n])})},r.prototype.setStackedPoints=function(e){var t=e||this.options.stacking;if(t&&(!0===this.visible||!1===this.chart.options.chart.ignoreHiddenSeries)){var n=this.processedXData,i=this.processedYData,r=[],a=i.length,o=this.options,s=o.threshold,d=m(o.startFromThreshold&&s,0);o=o.stack;var p,h,f="-"+(e=e?this.type+","+t:this.stackKey),v=this.negStacks,y=this.yAxis,b=y.stacking.stacks,x=y.stacking.oldStacks;for(y.stacking.stacksTouched+=1,h=0;h<a;h++){var _=n[h],w=i[h],S=this.getStackIndicator(S,_,this.index),C=S.key,k=(p=v&&w<(d?0:s))?f:e;b[k]||(b[k]={}),b[k][_]||(x[k]&&x[k][_]?(b[k][_]=x[k][_],b[k][_].total=null):b[k][_]=new g(y,y.options.stackLabels,p,_,o)),k=b[k][_],null!==w?(k.points[C]=k.points[this.index]=[m(k.cumulative,d)],c(k.cumulative)||(k.base=C),k.touched=y.stacking.stacksTouched,0<S.index&&!1===this.singleStacks&&(k.points[C][0]=k.points[this.index+","+_+",0"][0])):k.points[C]=k.points[this.index]=null,"percent"===t?(p=p?e:f,k.total=v&&b[p]&&b[p][_]?(p=b[p][_]).total=Math.max(p.total,k.total)+Math.abs(w)||0:l(k.total+(Math.abs(w)||0))):"group"===t?(u(w)&&(w=w[0]),null!==w&&(k.total=(k.total||0)+1)):k.total=l(k.total+(w||0)),k.cumulative="group"===t?(k.total||1)-1:m(k.cumulative,d)+(w||0),null!==w&&(k.points[C].push(k.cumulative),r[h]=k.cumulative,k.hasValidPoints=!0)}"percent"===t&&(y.stacking.usePercentage=!0),"group"!==t&&(this.stackedYData=r),y.stacking.oldStacks={}}},r.prototype.modifyStacks=function(){var e,t=this,n=t.stackKey,i=t.yAxis.stacking.stacks,r=t.processedXData,a=t.options.stacking;t[a+"Stacker"]&&[n,"-"+n].forEach(function(n){for(var o,s,l=r.length;l--;)e=t.getStackIndicator(e,o=r[l],t.index,n),(s=(o=i[n]&&i[n][o])&&o.points[e.key])&&t[a+"Stacker"](s,o,l)})},r.prototype.percentStacker=function(e,t,n){e[0]=l(e[0]*(t=t.total?100/t.total:0)),e[1]=l(e[1]*t),this.stackedYData[n]=e[1]},r.prototype.getStackIndicator=function(e,t,n,i){return!c(e)||e.x!==t||i&&e.key!==i?e={x:t,index:0,key:i}:e.index++,e.key=[n,t,e.index].join(),e},i.StackItem=g,i.StackItem}),t(n,"Series/Line/LineSeries.js",[n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=n.defined,o=n.merge;return n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(n,t),n.prototype.drawGraph=function(){var e=this,t=this.options,n=(this.gappedPath||this.getGraphPath).call(this),i=this.chart.styledMode,r=[["graph","highcharts-graph"]];i||r[0].push(t.lineColor||this.color||"#cccccc",t.dashStyle),(r=e.getZonesGraphs(r)).forEach(function(r,a){var o=r[0],s=e[o],l=s?"animate":"attr";s?(s.endX=e.preventGraphAnimation?null:n.xMap,s.animate({d:n})):n.length&&(e[o]=s=e.chart.renderer.path(n).addClass(r[1]).attr({zIndex:1}).add(e.group)),s&&!i&&(o={stroke:r[2],"stroke-width":t.lineWidth,fill:e.fillGraph&&e.color||"none"},r[3]?o.dashstyle=r[3]:"square"!==t.linecap&&(o["stroke-linecap"]=o["stroke-linejoin"]="round"),s[l](o).shadow(2>a&&t.shadow)),s&&(s.startX=n.xMap,s.isArea=n.isArea)})},n.prototype.getGraphPath=function(e,t,n){var i,r=this,o=r.options,s=[],l=[],c=o.step,d=(e=e||r.points).reversed;return d&&e.reverse(),(c={right:1,center:2}[c]||c&&3)&&d&&(c=4-c),(e=this.getValidPoints(e,!1,!(o.connectNulls&&!t&&!n))).forEach(function(d,u){var p=d.plotX,h=d.plotY,m=e[u-1];(d.leftCliff||m&&m.rightCliff)&&!n&&(i=!0),d.isNull&&!a(t)&&0<u?i=!o.connectNulls:d.isNull&&!t?i=!0:(0===u||i?u=[["M",d.plotX,d.plotY]]:r.getPointSpline?u=[r.getPointSpline(e,d,u)]:c?(u=1===c?[["L",m.plotX,h]]:2===c?[["L",(m.plotX+p)/2,m.plotY],["L",(m.plotX+p)/2,h]]:[["L",p,m.plotY]]).push(["L",p,h]):u=[["L",p,h]],l.push(d.x),c&&(l.push(d.x),2===c&&l.push(d.x)),s.push.apply(s,u),i=!1)}),s.xMap=l,r.graphPath=s},n.prototype.getZonesGraphs=function(e){return this.zones.forEach(function(t,n){n=["zone-graph-"+n,"highcharts-graph highcharts-zone-graph-"+n+" "+(t.className||"")],this.chart.styledMode||n.push(t.color||this.color,t.dashStyle||this.options.dashStyle),e.push(n)},this),e},n.defaultOptions=o(e.defaultOptions,{}),n}(e),t.registerSeriesType("line",n),n}),t(n,"Series/Area/AreaSeries.js",[n["Core/Color/Color.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(e,t,n,i){var r,a=this&&this.__extends||(r=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=e.parse,s=n.seriesTypes.line;e=i.extend;var l=i.merge,c=i.objectEach,d=i.pick;return i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return a(t,e),t.prototype.drawGraph=function(){this.areaPath=[],e.prototype.drawGraph.apply(this);var t=this,n=this.areaPath,i=this.options,r=[["area","highcharts-area",this.color,i.fillColor]];this.zones.forEach(function(e,n){r.push(["zone-area-"+n,"highcharts-area highcharts-zone-area-"+n+" "+e.className,e.color||t.color,e.fillColor||i.fillColor])}),r.forEach(function(e){var r=e[0],a=t[r],s=a?"animate":"attr",l={};a?(a.endX=t.preventGraphAnimation?null:n.xMap,a.animate({d:n})):(l.zIndex=0,(a=t[r]=t.chart.renderer.path(n).addClass(e[1]).add(t.group)).isArea=!0),t.chart.styledMode||(l.fill=d(e[3],o(e[2]).setOpacity(d(i.fillOpacity,.75)).get())),a[s](l),a.startX=n.xMap,a.shiftUnit=i.step?2:1})},t.prototype.getGraphPath=function(e){var t,n=s.prototype.getGraphPath,i=this.options,r=i.stacking,a=this.yAxis,o=[],l=[],c=this.index,u=a.stacking.stacks[this.stackKey],p=i.threshold,h=Math.round(a.getThreshold(i.threshold));i=d(i.connectNulls,"percent"===r);var m=function(t,n,i){var s=e[t];t=r&&u[s.x].points[c];var d=s[i+"Null"]||0;if(i=s[i+"Cliff"]||0,s=!0,i||d){var m=(d?t[0]:t[1])+i,g=t[0]+i;s=!!d}else!r&&e[n]&&e[n].isNull&&(m=g=p);void 0!==m&&(l.push({plotX:f,plotY:null===m?h:a.getThreshold(m),isNull:s,isCliff:!0}),o.push({plotX:f,plotY:null===g?h:a.getThreshold(g),doCurve:!1}))};for(e=e||this.points,r&&(e=this.getStackPoints(e)),t=0;t<e.length;t++){r||(e[t].leftCliff=e[t].rightCliff=e[t].leftNull=e[t].rightNull=void 0);var g=e[t].isNull,f=d(e[t].rectPlotX,e[t].plotX),v=r?d(e[t].yBottom,h):h;g&&!i||(i||m(t,t-1,"left"),g&&!r&&i||(l.push(e[t]),o.push({x:t,plotX:f,plotY:v})),i||m(t,t+1,"right"))}return t=n.call(this,l,!0,!0),o.reversed=!0,(v=(g=n.call(this,o,!0,!0))[0])&&"M"===v[0]&&(g[0]=["L",v[1],v[2]]),(g=t.concat(g)).length&&g.push(["Z"]),n=n.call(this,l,!1,i),g.xMap=t.xMap,this.areaPath=g,n},t.prototype.getStackPoints=function(e){var t=this,n=[],i=[],r=this.xAxis,a=this.yAxis,o=a.stacking.stacks[this.stackKey],s={},l=a.series,u=l.length,p=a.options.reversedStacks?1:-1,h=l.indexOf(t);if(e=e||this.points,this.options.stacking){for(var m=0;m<e.length;m++)e[m].leftNull=e[m].rightNull=void 0,s[e[m].x]=e[m];c(o,function(e,t){null!==e.total&&i.push(t)}),i.sort(function(e,t){return e-t});var g=l.map(function(e){return e.visible});i.forEach(function(e,c){var m,f,v=0;if(s[e]&&!s[e].isNull)n.push(s[e]),[-1,1].forEach(function(n){var r=1===n?"rightNull":"leftNull",a=0,d=o[i[c+n]];if(d)for(var v=h;0<=v&&v<u;){var y=l[v].index;(m=d.points[y])||(y===t.index?s[e][r]=!0:g[v]&&(f=o[e].points[y])&&(a-=f[1]-f[0])),v+=p}s[e][1===n?"rightCliff":"leftCliff"]=a});else{for(var y=h;0<=y&&y<u;){if(m=o[e].points[l[y].index]){v=m[1];break}y+=p}v=d(v,0),v=a.translate(v,0,1,0,1),n.push({isNull:!0,plotX:r.translate(e,0,0,0,1),x:e,plotY:v,yBottom:v})}})}return n},t.defaultOptions=l(s.defaultOptions,{threshold:0}),t}(s),e(i.prototype,{singleStacks:!1,drawLegendSymbol:t.drawRectangle}),n.registerSeriesType("area",i),i}),t(n,"Series/Spline/SplineSeries.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(e,t){var n,i=this&&this.__extends||(n=function(e,t){return(n=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])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),r=e.seriesTypes.line,a=t.merge,o=t.pick;return t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return i(t,e),t.prototype.getPointSpline=function(e,t,n){var i=t.plotX||0,r=t.plotY||0,a=e[n-1];if(n=e[n+1],a&&!a.isNull&&!1!==a.doCurve&&!t.isCliff&&n&&!n.isNull&&!1!==n.doCurve&&!t.isCliff){var s=n.plotX||0,l=0,c=(1.5*i+(a.plotX||0))/2.5,d=(1.5*r+(e=a.plotY||0))/2.5,u=(1.5*r+(n=n.plotY||0))/2.5;(s=(1.5*i+s)/2.5)!==c&&(l=(u-d)*(s-i)/(s-c)+r-u),u+=l,(d+=l)>e&&d>r?u=2*r-(d=Math.max(e,r)):d<e&&d<r&&(u=2*r-(d=Math.min(e,r))),u>n&&u>r?d=2*r-(u=Math.max(n,r)):u<n&&u<r&&(d=2*r-(u=Math.min(n,r))),t.rightContX=s,t.rightContY=u}return t=["C",o(a.rightContX,a.plotX,0),o(a.rightContY,a.plotY,0),o(c,i,0),o(d,r,0),i,r],a.rightContX=a.rightContY=void 0,t},t.defaultOptions=a(r.defaultOptions),t}(r),e.registerSeriesType("spline",t),t}),t(n,"Series/AreaSpline/AreaSplineSeries.js",[n["Series/Area/AreaSeries.js"],n["Series/Spline/SplineSeries.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(e,t,n,i,r){var a,o=this&&this.__extends||(a=function(e,t){return(a=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])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=e.prototype,l=r.merge;return(0,r.extend)((r=function(n){function i(){var e=null!==n&&n.apply(this,arguments)||this;return e.data=void 0,e.points=void 0,e.options=void 0,e}return o(i,n),i.defaultOptions=l(t.defaultOptions,e.defaultOptions),i}(t)).prototype,{getGraphPath:s.getGraphPath,getStackPoints:s.getStackPoints,drawGraph:s.drawGraph,drawLegendSymbol:n.drawRectangle}),i.registerSeriesType("areaspline",r),r}),t(n,"Series/Column/ColumnSeries.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(e,t,n,i,r,a,o){var s,l=this&&this.__extends||(s=function(e,t){return(s=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])})(e,t)},function(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=e.animObject,d=t.parse,u=n.hasTouch;e=n.noop;var p=o.clamp,h=o.css,m=o.defined,g=o.extend,f=o.fireEvent,v=o.isArray,y=o.isNumber,b=o.merge,x=o.pick,_=o.objectEach;return o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.borderWidth=void 0,t.data=void 0,t.group=void 0,t.options=void 0,t.points=void 0,t}return l(t,e),t.prototype.animate=function(e){var t=this,n=this.yAxis,i=t.options,r=this.chart.inverted,a={},o=r?"translateX":"translateY";if(e)a.scaleY=.001,e=p(n.toPixels(i.threshold),n.pos,n.pos+n.len),r?a.translateX=e-n.len:a.translateY=e,t.clipBox&&t.setClip(),t.group.attr(a);else{var s=Number(t.group.attr(o));t.group.animate({scaleY:1},g(c(t.options.animation),{step:function(e,i){t.group&&(a[o]=s+i.pos*(n.pos-s),t.group.attr(a))}}))}},t.prototype.init=function(t,n){e.prototype.init.apply(this,arguments);var i=this;(t=i.chart).hasRendered&&t.series.forEach(function(e){e.type===i.type&&(e.isDirty=!0)})},t.prototype.getColumnMetrics=function(){var e=this,t=e.options,n=e.xAxis,i=e.yAxis,r=n.options.reversedStacks;r=n.reversed&&!r||!n.reversed&&r;var a,o={},s=0;!1===t.grouping?s=1:e.chart.series.forEach(function(t){var n=t.yAxis,r=t.options;if(t.type===e.type&&(t.visible||!e.chart.options.chart.ignoreHiddenSeries)&&i.len===n.len&&i.pos===n.pos){if(r.stacking&&"group"!==r.stacking){void 0===o[a=t.stackKey]&&(o[a]=s++);var l=o[a]}else!1!==r.grouping&&(l=s++);t.columnIndex=l}});var l=Math.min(Math.abs(n.transA)*(n.ordinal&&n.ordinal.slope||t.pointRange||n.closestPointRange||n.tickInterval||1),n.len),c=l*t.groupPadding,d=(l-2*c)/(s||1);return t=Math.min(t.maxPointWidth||n.len,x(t.pointWidth,d*(1-2*t.pointPadding))),e.columnMetrics={width:t,offset:(d-t)/2+(c+((e.columnIndex||0)+(r?1:0))*d-l/2)*(r?-1:1),paddedWidth:d,columnCount:s},e.columnMetrics},t.prototype.crispCol=function(e,t,n,i){var r=this.chart,a=this.borderWidth,o=-(a%2?.5:0);return a=a%2?.5:1,r.inverted&&r.renderer.isVML&&(a+=1),this.options.crisp&&(n=Math.round(e+n)+o,n-=e=Math.round(e)+o),i=Math.round(t+i)+a,o=.5>=Math.abs(t)&&.5<i,i-=t=Math.round(t)+a,o&&i&&(--t,i+=1),{x:e,y:t,width:n,height:i}},t.prototype.adjustForMissingColumns=function(e,t,n,i){var r=this,a=this.options.stacking;if(!n.isNull&&1<i.columnCount){var o=0,s=0;_(this.yAxis.stacking&&this.yAxis.stacking.stacks,function(e){if("number"==typeof n.x&&(e=e[n.x.toString()])){var t=e.points[r.index],i=e.total;a?(t&&(o=s),e.hasValidPoints&&s++):v(t)&&(o=t[1],s=i||0)}}),e=(n.plotX||0)+((s-1)*i.paddedWidth+t)/2-t-o*i.paddedWidth}return e},t.prototype.translate=function(){var e=this,t=e.chart,n=e.options,i=e.dense=2>e.closestPointRange*e.xAxis.transA;i=e.borderWidth=x(n.borderWidth,i?0:1);var a=e.xAxis,o=e.yAxis,s=n.threshold,l=e.translatedThreshold=o.getThreshold(s),c=x(n.minPointLength,5),d=e.getColumnMetrics(),u=d.width,h=e.pointXOffset=d.offset,g=e.dataMin,f=e.dataMax,v=e.barW=Math.max(u,1+2*i);t.inverted&&(l-=.5),n.pointPadding&&(v=Math.ceil(v)),r.prototype.translate.apply(e),e.points.forEach(function(i){var r=x(i.yBottom,l),b=999+Math.abs(r),_=i.plotX||0;b=p(i.plotY,-b,o.len+b);var w=Math.min(b,r),S=Math.max(b,r)-w,C=u,k=_+h,O=v;c&&Math.abs(S)<c&&(S=c,_=!o.reversed&&!i.negative||o.reversed&&i.negative,y(s)&&y(f)&&i.y===s&&f<=s&&(o.min||0)<s&&(g!==f||(o.max||0)<=s)&&(_=!_),w=Math.abs(w-l)>c?r-c:l-(_?c:0)),m(i.options.pointWidth)&&(C=O=Math.ceil(i.options.pointWidth),k-=Math.round((C-u)/2)),n.centerInCategory&&(k=e.adjustForMissingColumns(k,C,i,d)),i.barX=k,i.pointWidth=C,i.tooltipPos=t.inverted?[p(o.len+o.pos-t.plotLeft-b,o.pos-t.plotLeft,o.len+o.pos-t.plotLeft),a.len+a.pos-t.plotTop-k-O/2,S]:[a.left-t.plotLeft+k+O/2,p(b+o.pos-t.plotTop,o.pos-t.plotTop,o.len+o.pos-t.plotTop),S],i.shapeType=e.pointClass.prototype.shapeType||"rect",i.shapeArgs=e.crispCol.apply(e,i.isNull?[k,l,O,0]:[k,w,O,S])})},t.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},t.prototype.pointAttribs=function(e,t){var n=this.options,i=this.pointAttrToOptions||{},r=i.stroke||"borderColor",a=i["stroke-width"]||"borderWidth",o=e&&e.color||this.color,s=e&&e[r]||n[r]||o;i=e&&e.options.dashStyle||n.dashStyle;var l=e&&e[a]||n[a]||this[a]||0,c=x(e&&e.opacity,n.opacity,1);if(e&&this.zones.length){var u=e.getZone();o=e.options.color||u&&(u.color||e.nonZonedColor)||this.color,u&&(s=u.borderColor||s,i=u.dashStyle||i,l=u.borderWidth||l)}return t&&e&&(t=(e=b(n.states[t],e.options.states&&e.options.states[t]||{})).brightness,o=e.color||void 0!==t&&d(o).brighten(e.brightness).get()||o,s=e[r]||s,l=e[a]||l,i=e.dashStyle||i,c=x(e.opacity,c)),r={fill:o,stroke:s,"stroke-width":l,opacity:c},i&&(r.dashstyle=i),r},t.prototype.drawPoints=function(){var e,t=this,n=this.chart,i=t.options,r=n.renderer,a=i.animationLimit||250;t.points.forEach(function(o){var s=o.graphic,l=!!s,c=s&&n.pointCount<a?"animate":"attr";y(o.plotY)&&null!==o.y?(e=o.shapeArgs,s&&o.hasNewShapeType()&&(s=s.destroy()),t.enabledDataSorting&&(o.startXPos=t.xAxis.reversed?-(e&&e.width||0):t.xAxis.width),s||(o.graphic=s=r[o.shapeType](e).add(o.group||t.group))&&t.enabledDataSorting&&n.hasRendered&&n.pointCount<a&&(s.attr({x:o.startXPos}),l=!0,c="animate"),s&&l&&s[c](b(e)),i.borderRadius&&s[c]({r:i.borderRadius}),n.styledMode||s[c](t.pointAttribs(o,o.selected&&"select")).shadow(!1!==o.allowShadow&&i.shadow,null,i.stacking&&!i.borderRadius),s&&(s.addClass(o.getClassName(),!0),s.attr({visibility:o.visible?"inherit":"hidden"}))):s&&(o.graphic=s.destroy())})},t.prototype.drawTracker=function(){var e,t=this,n=t.chart,i=n.pointer,r=function(e){var t=i.getPointFromEvent(e);void 0!==t&&(i.isDirectTouch=!0,t.onMouseOver(e))};t.points.forEach(function(t){e=v(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[],t.graphic&&(t.graphic.element.point=t),e.forEach(function(e){e.div?e.div.point=t:e.element.point=t})}),t._hasTracking||(t.trackerGroups.forEach(function(e){t[e]&&(t[e].addClass("highcharts-tracker").on("mouseover",r).on("mouseout",function(e){i.onTrackerMouseOut(e)}),u&&t[e].on("touchstart",r),!n.styledMode&&t.options.cursor&&t[e].css(h).css({cursor:t.options.cursor}))}),t._hasTracking=!0),f(this,"afterDrawTracker")},t.prototype.remove=function(){var e=this,t=e.chart;t.hasRendered&&t.series.forEach(function(t){t.type===e.type&&(t.isDirty=!0)}),r.prototype.remove.apply(e,arguments)},t.defaultOptions=b(r.defaultOptions,{borderRadius:0,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}),t}(r),g(o.prototype,{cropShoulder:0,directTouch:!0,drawLegendSymbol:i.drawRectangle,getSymbol:e,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),a.registerSeriesType("column",o),o}),t(n,"Core/Series/DataLabel.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/FormatUtilities.js"],n["Core/Utilities.js"]],function(e,t,n){var i,r=e.getDeferredAnimation,a=t.format,o=n.defined,s=n.extend,l=n.fireEvent,c=n.isArray,d=n.merge,u=n.objectEach,p=n.pick,h=n.splat;return function(e){function t(e,t,n,i,r){var a=this,o=this.chart,l=this.isCartesian&&o.inverted,c=this.enabledDataSorting,d=p(e.dlBox&&e.dlBox.centerX,e.plotX,-9999),u=p(e.plotY,-9999),h=t.getBBox(),m=n.rotation,g=n.align,f=o.isInsidePlot(d,Math.round(u),{inverted:l,paneCoordinates:!0,series:a}),v=function(n){c&&a.xAxis&&!y&&a.setDataLabelStartPos(e,t,r,f,n)},y="justify"===p(n.overflow,c?"none":"justify"),b=this.visible&&!1!==e.visible&&(e.series.forceDL||c&&!y||f||p(n.inside,!!this.options.stacking)&&i&&o.isInsidePlot(d,l?i.x+1:i.y+i.height-1,{inverted:l,paneCoordinates:!0,series:a}));if(b){var x=o.renderer.fontMetrics(o.styledMode?void 0:n.style.fontSize,t).b;i=s({x:l?this.yAxis.len-u:d,y:Math.round(l?this.xAxis.len-d:u),width:0,height:0},i),s(n,{width:h.width,height:h.height}),m?(y=!1,d=o.renderer.rotCorr(x,m),v(d={x:i.x+(n.x||0)+i.width/2+d.x,y:i.y+(n.y||0)+{top:0,middle:.5,bottom:1}[n.verticalAlign]*i.height}),t[r?"attr":"animate"](d).attr({align:g}),v=180<(v=(m+720)%360)&&360>v,"left"===g?d.y-=v?h.height:0:"center"===g?(d.x-=h.width/2,d.y-=h.height/2):"right"===g&&(d.x-=h.width,d.y-=v?0:h.height),t.placed=!0,t.alignAttr=d):(v(i),t.align(n,void 0,i),d=t.alignAttr),y&&0<=i.height?this.justifyDataLabel(t,n,d,h,i,r):p(n.crop,!0)&&(b=o.isInsidePlot(d.x,d.y,{paneCoordinates:!0,series:a})&&o.isInsidePlot(d.x+h.width,d.y+h.height,{paneCoordinates:!0,series:a})),n.shape&&!m&&t[r?"attr":"animate"]({anchorX:l?o.plotWidth-e.plotY:e.plotX,anchorY:l?o.plotHeight-e.plotX:e.plotY})}r&&c&&(t.placed=!1),b||c&&!y||(t.hide(!0),t.placed=!1)}function n(){var e=this,t=e.chart,n=e.options,i=e.points,s=e.hasRendered||0,d=t.renderer,g=n.dataLabels,f=g.animation;if(f=g.defer?r(t,f,e):{defer:0,duration:0},g=m(m(t.options.plotOptions&&t.options.plotOptions.series&&t.options.plotOptions.series.dataLabels,t.options.plotOptions&&t.options.plotOptions[e.type]&&t.options.plotOptions[e.type].dataLabels),g),l(this,"drawDataLabels"),c(g)||g.enabled||e._hasPointLabels){var v=e.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",g.zIndex||6);v.attr({opacity:+s}),!s&&(s=e.dataLabelsGroup)&&(e.visible&&v.show(!0),s[n.animation?"animate":"attr"]({opacity:1},f)),i.forEach(function(i){h(m(g,i.dlOptions||i.options&&i.options.dataLabels)).forEach(function(r,s){var l=r.enabled&&(!i.isNull||i.dataLabelOnNull)&&function(e,t){var n=t.filter;return!n||(t=n.operator,e=e[n.property],n=n.value,">"===t&&e>n||"<"===t&&e<n||">="===t&&e>=n||"<="===t&&e<=n||"=="===t&&e==n||"==="===t&&e===n)}(i,r),c=i.connectors?i.connectors[s]:i.connector,h=i.dataLabels?i.dataLabels[s]:i.dataLabel,m=p(r.distance,i.labelDistance),g=!h;if(l){var f=i.getLabelConfig(),y=p(r[i.formatPrefix+"Format"],r.format);f=o(y)?a(y,f,t):(r[i.formatPrefix+"Formatter"]||r.formatter).call(f,r),y=r.style;var b=r.rotation;t.styledMode||(y.color=p(r.color,y.color,e.color,"#000000"),"contrast"===y.color?(i.contrastColor=d.getContrast(i.color||e.color),y.color=!o(m)&&r.inside||0>m||n.stacking?i.contrastColor:"#000000"):delete i.contrastColor,n.cursor&&(y.cursor=n.cursor));var x={r:r.borderRadius||0,rotation:b,padding:r.padding,zIndex:1};t.styledMode||(x.fill=r.backgroundColor,x.stroke=r.borderColor,x["stroke-width"]=r.borderWidth),u(x,function(e,t){void 0===e&&delete x[t]})}!h||l&&o(f)&&!!h.div==!!r.useHTML||(i.dataLabel=h=i.dataLabel&&i.dataLabel.destroy(),i.dataLabels&&(1===i.dataLabels.length?delete i.dataLabels:delete i.dataLabels[s]),s||delete i.dataLabel,c&&(i.connector=i.connector.destroy(),i.connectors&&(1===i.connectors.length?delete i.connectors:delete i.connectors[s]))),l&&o(f)&&(h?x.text=f:(i.dataLabels=i.dataLabels||[],h=i.dataLabels[s]=b?d.text(f,0,-9999,r.useHTML).addClass("highcharts-data-label"):d.label(f,0,-9999,r.shape,null,null,r.useHTML,null,"data-label"),s||(i.dataLabel=h),h.addClass(" highcharts-data-label-color-"+i.colorIndex+" "+(r.className||"")+(r.useHTML?" highcharts-tracker":""))),h.options=r,h.attr(x),t.styledMode||h.css(y).shadow(r.shadow),h.added||h.add(v),r.textPath&&!r.useHTML&&(h.setTextPath(i.getDataLabelPath&&i.getDataLabelPath(h)||i.graphic,r.textPath),i.dataLabelPath&&!r.textPath.enabled&&(i.dataLabelPath=i.dataLabelPath.destroy())),e.alignDataLabel(i,h,r,null,g))})})}l(this,"afterDrawDataLabels")}function i(e,t,n,i,r,a){var o=this.chart,s=t.align,l=t.verticalAlign,c=e.box?0:e.padding||0,d=t.x;d=void 0===d?0:d;var u=t.y;u=void 0===u?0:u;var p=(n.x||0)+c;if(0>p){"right"===s&&0<=d?(t.align="left",t.inside=!0):d-=p;var h=!0}return(p=(n.x||0)+i.width-c)>o.plotWidth&&("left"===s&&0>=d?(t.align="right",t.inside=!0):d+=o.plotWidth-p,h=!0),0>(p=n.y+c)&&("bottom"===l&&0<=u?(t.verticalAlign="top",t.inside=!0):u-=p,h=!0),(p=(n.y||0)+i.height-c)>o.plotHeight&&("top"===l&&0>=u?(t.verticalAlign="bottom",t.inside=!0):u+=o.plotHeight-p,h=!0),h&&(t.x=d,t.y=u,e.placed=!a,e.align(t,void 0,r)),h}function m(e,t){var n,i=[];if(c(e)&&!c(t))i=e.map(function(e){return d(e,t)});else if(c(t)&&!c(e))i=t.map(function(t){return d(e,t)});else if(c(e)||c(t))for(n=Math.max(e.length,t.length);n--;)i[n]=d(e[n],t[n]);else i=d(e,t);return i}function g(e,t,n,i,r){var a=this.chart,o=a.inverted,s=this.xAxis,l=s.reversed,c=o?t.height/2:t.width/2;e=(e=e.pointWidth)?e/2:0,t.startXPos=o?r.x:l?-c-e:s.width-c+e,t.startYPos=o?l?this.yAxis.height-c+e:-c-e:r.y,i?"hidden"===t.visibility&&(t.show(),t.attr({opacity:0}).animate({opacity:1})):t.attr({opacity:1}).animate({opacity:0},void 0,t.hide),a.hasRendered&&(n&&t.attr({x:t.startXPos,y:t.startYPos}),t.placed=!0)}var f=[];e.compose=function(e){if(-1===f.indexOf(e)){var r=e.prototype;f.push(e),r.alignDataLabel=t,r.drawDataLabels=n,r.justifyDataLabel=i,r.setDataLabelStartPos=g}}}(i||(i={})),i}),t(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(e,t,n){var i,r=t.series,a=n.merge,o=n.pick;return function(t){function n(e,t,n,i,s){var l=this.chart.inverted,c=e.series,d=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0,u=e.dlBox||e.shapeArgs,p=o(e.below,e.plotY>o(this.translatedThreshold,c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0)),h=o(n.inside,!!this.options.stacking);u&&(0>(i=a(u)).y&&(i.height+=i.y,i.y=0),0<(u=i.y+i.height-c)&&u<i.height&&(i.height-=u),l&&(i={x:c-i.y-i.height,y:d-i.x-i.width,width:i.height,height:i.width}),h||(l?(i.x+=p?0:i.width,i.width=0):(i.y+=p?i.height:0,i.height=0))),n.align=o(n.align,!l||h?"center":p?"right":"left"),n.verticalAlign=o(n.verticalAlign,l||h?"middle":p?"top":"bottom"),r.prototype.alignDataLabel.call(this,e,t,n,i,s),n.inside&&e.contrastColor&&t.css({color:e.contrastColor})}var i=[];t.compose=function(t){e.compose(r),-1===i.indexOf(t)&&(i.push(t),t.prototype.alignDataLabel=n)}}(i||(i={})),i}),t(n,"Series/Bar/BarSeries.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=n.extend,o=n.merge;return n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(n,t),n.defaultOptions=o(e.defaultOptions,{}),n}(e),a(n.prototype,{inverted:!0}),t.registerSeriesType("bar",n),n}),t(n,"Series/Scatter/ScatterSeries.js",[n["Series/Column/ColumnSeries.js"],n["Series/Line/LineSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(e,t,n,i){var r,a=this&&this.__extends||(r=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=i.addEvent,s=i.merge;return(0,i.extend)((i=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return a(n,e),n.prototype.applyJitter=function(){var e=this,t=this.options.jitter,n=this.points.length;t&&this.points.forEach(function(i,r){["x","y"].forEach(function(a,o){var s="plot"+a.toUpperCase();if(t[a]&&!i.isNull){var l=e[a+"Axis"],c=t[a]*l.transA;if(l&&!l.isLog){var d=Math.max(0,i[s]-c);l=Math.min(l.len,i[s]+c),o=1e4*Math.sin(r+o*n),i[s]=d+(l-d)*(o-Math.floor(o)),"x"===a&&(i.clientX=i.plotX)}}})})},n.prototype.drawGraph=function(){this.options.lineWidth?e.prototype.drawGraph.call(this):this.graph&&(this.graph=this.graph.destroy())},n.defaultOptions=s(t.defaultOptions,{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">\u25cf</span> <span style="font-size: 10px"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}),n}(t)).prototype,{drawTracker:e.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(i,"afterTranslate",function(){this.applyJitter()}),n.registerSeriesType("scatter",i),i}),t(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],function(e,t,n){var i,r=e.deg2rad,a=n.isNumber,o=n.pick,s=n.relativeLength;return function(e){e.getCenter=function(){var e=this.options,n=this.chart,i=2*(e.slicedOffset||0),r=n.plotWidth-2*i,a=n.plotHeight-2*i,l=e.center,c=Math.min(r,a),d=e.size,u=e.innerSize||0;for("string"==typeof d&&(d=parseFloat(d)),"string"==typeof u&&(u=parseFloat(u)),e=[o(l[0],"50%"),o(l[1],"50%"),o(d&&0>d?void 0:e.size,"100%"),o(u&&0>u?void 0:e.innerSize||0,"0%")],!n.angular||this instanceof t||(e[3]=0),l=0;4>l;++l)d=e[l],n=2>l||2===l&&/%$/.test(d),e[l]=s(d,[r,a,c,e[2]][l])+(n?i:0);return e[3]>e[2]&&(e[3]=e[2]),e},e.getStartAndEndRadians=function(e,t){return e=a(e)?e:0,t=a(t)&&t>e&&360>t-e?t:e+360,{start:r*(e+-90),end:r*(t+-90)}}}(i||(i={})),i}),t(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=e.setAnimation,o=n.addEvent,s=n.defined;e=n.extend;var l=n.isNumber,c=n.pick,d=n.relativeLength;return t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.labelDistance=void 0,t.options=void 0,t.series=void 0,t}return r(t,e),t.prototype.getConnectorPath=function(){var e=this.labelPosition,t=this.series.options.dataLabels,n=this.connectorShapes,i=t.connectorShape;return n[i]&&(i=n[i]),i.call(this,{x:e.final.x,y:e.final.y,alignment:e.alignment},e.connectorPosition,t)},t.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},t.prototype.haloPath=function(e){var t=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(t.x,t.y,t.r+e,t.r+e,{innerR:t.r-1,start:t.start,end:t.end})},t.prototype.init=function(){var t=this;e.prototype.init.apply(this,arguments),this.name=c(this.name,"Slice");var n=function(e){t.slice("select"===e.type)};return o(this,"select",n),o(this,"unselect",n),this},t.prototype.isValid=function(){return l(this.y)&&0<=this.y},t.prototype.setVisible=function(e,t){var n=this,i=this.series,r=i.chart,a=i.options.ignoreHiddenPoint;t=c(t,a),e!==this.visible&&(this.visible=this.options.visible=e=void 0===e?!this.visible:e,i.options.data[i.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach(function(t){n[t]&&n[t][e?"show":"hide"](e)}),this.legendItem&&r.legend.colorizeItem(this,e),e||"hover"!==this.state||this.setState(""),a&&(i.isDirty=!0),t&&r.redraw())},t.prototype.slice=function(e,t,n){var i=this.series;a(n,i.chart),c(t,!0),this.sliced=this.options.sliced=s(e)?e:!this.sliced,i.options.data[i.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},t}(t),e(t.prototype,{connectorShapes:{fixedOffset:function(e,t,n){var i=t.breakAt;return t=t.touchingSliceAt,[["M",e.x,e.y],n.softConnector?["C",e.x+("left"===e.alignment?-5:5),e.y,2*i.x-t.x,2*i.y-t.y,i.x,i.y]:["L",i.x,i.y],["L",t.x,t.y]]},straight:function(e,t){return[["M",e.x,e.y],["L",(t=t.touchingSliceAt).x,t.y]]},crookedLine:function(e,t,n){t=t.touchingSliceAt;var i=this.series,r=i.center[0],a=i.chart.plotWidth,o=i.chart.plotLeft;i=e.alignment;var s=this.shapeArgs.r;return n=d(n.crookDistance,1),n=["L",a="left"===i?r+s+(a+o-r-s)*(1-n):o+(r-s)*n,e.y],r=!0,("left"===i?a>e.x||a<t.x:a<e.x||a>t.x)&&(r=!1),e=[["M",e.x,e.y]],r&&e.push(n),e.push(["L",t.x,t.y]),e}}}),t}),t(n,"Series/Pie/PieSeries.js",[n["Series/CenteredUtilities.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Series/Pie/PiePoint.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],function(e,t,n,i,r,a,o,s,l){var c,d=this&&this.__extends||(c=function(e,t){return(c=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])})(e,t)},function(e,t){function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=e.getStartAndEndRadians;n=n.noop;var p=l.clamp,h=l.extend,m=l.fireEvent,g=l.merge,f=l.pick,v=l.relativeLength;return l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return d(t,e),t.prototype.animate=function(e){var t=this,n=t.startAngleRad;e||t.points.forEach(function(e){var i=e.graphic,r=e.shapeArgs;i&&r&&(i.attr({r:f(e.startR,t.center&&t.center[3]/2),start:n,end:n}),i.animate({r:r.r,start:r.start,end:r.end},t.options.animation))})},t.prototype.drawEmpty=function(){var e=this.startAngleRad,t=this.endAngleRad,n=this.options;if(0===this.total&&this.center){var i=this.center[0],r=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(i,r,this.center[1]/2,0,e,t).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(i,r,this.center[2]/2,0,{start:e,end:t,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":n.borderWidth,fill:n.fillColor||"none",stroke:n.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},t.prototype.drawPoints=function(){var e=this.chart.renderer;this.points.forEach(function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)})},t.prototype.generatePoints=function(){e.prototype.generatePoints.call(this),this.updateTotals()},t.prototype.getX=function(e,t,n){var i=this.center,r=this.radii?this.radii[n.index]||0:i[2]/2;return e=Math.asin(p((e-i[1])/(r+n.labelDistance),-1,1)),i[0]+(t?-1:1)*Math.cos(e)*(r+n.labelDistance)+(0<n.labelDistance?(t?-1:1)*this.options.dataLabels.padding:0)},t.prototype.hasData=function(){return!!this.processedXData.length},t.prototype.redrawPoints=function(){var e,t,n,i,r=this,a=r.chart,o=a.renderer,s=r.options.shadow;this.drawEmpty(),!s||r.shadowGroup||a.styledMode||(r.shadowGroup=o.g("shadow").attr({zIndex:-1}).add(r.group)),r.points.forEach(function(l){var c={};if(t=l.graphic,!l.isNull&&t){var d=void 0;i=l.shapeArgs,e=l.getTranslate(),a.styledMode||(d=l.shadowGroup,s&&!d&&(d=l.shadowGroup=o.g("shadow").add(r.shadowGroup)),d&&d.attr(e),n=r.pointAttribs(l,l.selected&&"select")),l.delayedRendering?(t.setRadialReference(r.center).attr(i).attr(e),a.styledMode||t.attr(n).attr({"stroke-linejoin":"round"}).shadow(s,d),l.delayedRendering=!1):(t.setRadialReference(r.center),a.styledMode||g(!0,c,n),g(!0,c,i,e),t.animate(c)),t.attr({visibility:l.visible?"inherit":"hidden"}),t.addClass(l.getClassName(),!0)}else t&&(l.graphic=t.destroy())})},t.prototype.sortByAngle=function(e,t){e.sort(function(e,n){return void 0!==e.angle&&(n.angle-e.angle)*t})},t.prototype.translate=function(e){this.generatePoints();var t=this.options,n=t.slicedOffset,i=n+(t.borderWidth||0),r=u(t.startAngle,t.endAngle),a=this.startAngleRad=r.start;r=(this.endAngleRad=r.end)-a;var o=this.points,s=t.dataLabels.distance;t=t.ignoreHiddenPoint;var l,c=o.length,d=0;for(e||(this.center=e=this.getCenter()),l=0;l<c;l++){var p=o[l],h=a+d*r;!p.isValid()||t&&!p.visible||(d+=p.percentage/100);var g=a+d*r,y={x:e[0],y:e[1],r:e[2]/2,innerR:e[3]/2,start:Math.round(1e3*h)/1e3,end:Math.round(1e3*g)/1e3};p.shapeType="arc",p.shapeArgs=y,p.labelDistance=f(p.options.dataLabels&&p.options.dataLabels.distance,s),p.labelDistance=v(p.labelDistance,y.r),this.maxLabelDistance=Math.max(this.maxLabelDistance||0,p.labelDistance),(g=(g+h)/2)>1.5*Math.PI?g-=2*Math.PI:g<-Math.PI/2&&(g+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(g)*n),translateY:Math.round(Math.sin(g)*n)},y=Math.cos(g)*e[2]/2;var b=Math.sin(g)*e[2]/2;p.tooltipPos=[e[0]+.7*y,e[1]+.7*b],p.half=g<-Math.PI/2||g>Math.PI/2?1:0,p.angle=g,h=Math.min(i,p.labelDistance/5),p.labelPosition={natural:{x:e[0]+y+Math.cos(g)*p.labelDistance,y:e[1]+b+Math.sin(g)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:e[0]+y+Math.cos(g)*h,y:e[1]+b+Math.sin(g)*h},touchingSliceAt:{x:e[0]+y,y:e[1]+b}}}}m(this,"afterTranslate")},t.prototype.updateTotals=function(){var e,t=this.points,n=t.length,i=this.options.ignoreHiddenPoint,r=0;for(e=0;e<n;e++){var a=t[e];!a.isValid()||i&&!a.visible||(r+=a.y)}for(this.total=r,e=0;e<n;e++)(a=t[e]).percentage=0<r&&(a.visible||!i)?a.y/r*100:0,a.total=r},t.defaultOptions=g(a.defaultOptions,{center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{allowOverlap:!0,connectorPadding:5,connectorShape:"fixedOffset",crookDistance:"70%",distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}),t}(a),h(l.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawLegendSymbol:i.drawRectangle,drawTracker:t.prototype.drawTracker,getCenter:e.getCenter,getSymbol:n,isCartesian:!1,noSharedTooltip:!0,pointAttribs:t.prototype.pointAttribs,pointClass:r,requireSorting:!1,searchPoint:n,trackerGroups:["group","dataLabelsGroup"]}),o.registerSeriesType("pie",l),l}),t(n,"Series/Pie/PieDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(e,t,n,i,r){var a,o=t.noop,s=n.distribute,l=i.series,c=r.arrayMax,d=r.clamp,u=r.defined,p=r.merge,h=r.pick,m=r.relativeLength;return function(t){function n(){var e,t,n,i,r,a,o,d,m,g,f,v,y=this,b=y.data,x=y.chart,_=y.options.dataLabels||{},w=_.connectorPadding,S=x.plotWidth,C=x.plotHeight,k=x.plotLeft,O=Math.round(x.chartWidth/3),E=y.center,M=E[2]/2,I=E[1],P=[[],[]],T=[0,0,0,0],D=y.dataLabelPositioners;y.visible&&(_.enabled||y._hasPointLabels)&&(b.forEach(function(e){e.dataLabel&&e.visible&&e.dataLabel.shortened&&(e.dataLabel.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),e.dataLabel.shortened=!1)}),l.prototype.drawDataLabels.apply(y),b.forEach(function(e){e.dataLabel&&(e.visible?(P[e.half].push(e),e.dataLabel._pos=null,!u(_.style.width)&&!u(e.options.dataLabels&&e.options.dataLabels.style&&e.options.dataLabels.style.width)&&e.dataLabel.getBBox().width>O&&(e.dataLabel.css({width:Math.round(.7*O)+"px"}),e.dataLabel.shortened=!0)):(e.dataLabel=e.dataLabel.destroy(),e.dataLabels&&1===e.dataLabels.length&&delete e.dataLabels))}),P.forEach(function(t,n){var l,c=t.length,p=[];if(c){if(y.sortByAngle(t,n-.5),0<y.maxLabelDistance){var b=Math.max(0,I-M-y.maxLabelDistance),O=Math.min(I+M+y.maxLabelDistance,x.plotHeight);t.forEach(function(e){0<e.labelDistance&&e.dataLabel&&(e.top=Math.max(0,I-M-e.labelDistance),e.bottom=Math.min(I+M+e.labelDistance,x.plotHeight),l=e.dataLabel.getBBox().height||21,e.distributeBox={target:e.labelPosition.natural.y-e.top+l/2,size:l,rank:e.y},p.push(e.distributeBox))}),s(p,b=O+l-b,b/5)}for(f=0;f<c;f++){if(i=(e=t[f]).dataLabel,g=!1===e.visible?"hidden":"inherit",m=b=(a=e.labelPosition).natural.y,p&&u(e.distributeBox)&&(void 0===e.distributeBox.pos?g="hidden":(o=e.distributeBox.size,m=D.radialDistributionY(e))),delete e.positionIndex,_.justify)d=D.justify(e,M,E);else switch(_.alignTo){case"connectors":d=D.alignToConnectors(t,n,S,k);break;case"plotEdges":d=D.alignToPlotEdges(i,n,S,k);break;default:d=D.radialDistributionX(y,e,m,b)}i._attr={visibility:g,align:a.alignment},i._pos={x:d+h((v=e.options.dataLabels||{}).x,_.x)+({left:w,right:-w}[a.alignment]||0),y:m+h(v.y,_.y)-10},a.final.x=d,a.final.y=m,h(_.crop,!0)&&(r=i.getBBox().width,b=null,d-r<w&&1===n?(b=Math.round(r-d+w),T[3]=Math.max(b,T[3])):d+r>S-w&&0===n&&(b=Math.round(d+r-S+w),T[1]=Math.max(b,T[1])),0>m-o/2?T[0]=Math.max(Math.round(o/2-m),T[0]):m+o/2>C&&(T[2]=Math.max(Math.round(m+o/2-C),T[2])),i.sideOverflow=b)}}}),0===c(T)||this.verifyDataLabelOverflow(T))&&(this.placeDataLabels(),this.points.forEach(function(e){var r;v=p(_,e.options.dataLabels),(t=h(v.connectorWidth,1))&&(n=e.connector,(i=e.dataLabel)&&i._pos&&e.visible&&0<e.labelDistance?(g=i._attr.visibility,(r=!n)&&(e.connector=n=x.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+e.colorIndex+(e.className?" "+e.className:"")).add(y.dataLabelsGroup),x.styledMode||n.attr({"stroke-width":t,stroke:v.connectorColor||e.color||"#666666"})),n[r?"attr":"animate"]({d:e.getConnectorPath()}),n.attr("visibility",g)):n&&(e.connector=n.destroy()))}))}function i(){this.points.forEach(function(e){var t,n=e.dataLabel;n&&e.visible&&((t=n._pos)?(n.sideOverflow&&(n._attr.width=Math.max(n.getBBox().width-n.sideOverflow,0),n.css({width:n._attr.width+"px",textOverflow:(this.options.dataLabels.style||{}).textOverflow||"ellipsis"}),n.shortened=!0),n.attr(n._attr),n[n.moved?"animate":"attr"](t),n.moved=!0):n&&n.attr({y:-9999})),delete e.distributeBox},this)}function r(e){var t=this.center,n=this.options,i=n.center,r=n.minSize||80,a=null!==n.size;if(!a){if(null!==i[0])var o=Math.max(t[2]-Math.max(e[1],e[3]),r);else o=Math.max(t[2]-e[1]-e[3],r),t[0]+=(e[3]-e[1])/2;null!==i[1]?o=d(o,r,t[2]-Math.max(e[0],e[2])):(o=d(o,r,t[2]-e[0]-e[2]),t[1]+=(e[0]-e[2])/2),o<t[2]?(t[2]=o,t[3]=Math.min(m(n.innerSize||0,o),o),this.translate(t),this.drawDataLabels&&this.drawDataLabels()):a=!0}return a}var a=[],g={radialDistributionY:function(e){return e.top+e.distributeBox.pos},radialDistributionX:function(e,t,n,i){return e.getX(n<t.top+2||n>t.bottom-2?i:n,t.half,t)},justify:function(e,t,n){return n[0]+(e.half?-1:1)*(t+e.labelDistance)},alignToPlotEdges:function(e,t,n,i){return e=e.getBBox().width,t?e+i:n-e-i},alignToConnectors:function(e,t,n,i){var r,a=0;return e.forEach(function(e){(r=e.dataLabel.getBBox().width)>a&&(a=r)}),t?a+i:n-a-i}};t.compose=function(t){e.compose(l),-1===a.indexOf(t)&&(a.push(t),(t=t.prototype).dataLabelPositioners=g,t.alignDataLabel=o,t.drawDataLabels=n,t.placeDataLabels=i,t.verifyDataLabelOverflow=r)}}(a||(a={})),a}),t(n,"Extensions/OverlappingDataLabels.js",[n["Core/Chart/Chart.js"],n["Core/Utilities.js"]],function(e,t){function n(e,t){var n=!1;if(e){var r=e.newOpacity;e.oldOpacity!==r&&(e.alignAttr&&e.placed?(e[r?"removeClass":"addClass"]("highcharts-data-label-hidden"),n=!0,e.alignAttr.opacity=r,e[e.isOld?"animate":"attr"](e.alignAttr,null,function(){t.styledMode||e.css({pointerEvents:r?"auto":"none"})}),i(t,"afterHideOverlappingLabel")):e.attr({opacity:r})),e.isOld=!0}return n}var i=t.fireEvent,r=t.isArray,a=t.isNumber,o=t.objectEach,s=t.pick;(0,t.addEvent)(e,"render",function(){var e=this,t=[];(this.labelCollectors||[]).forEach(function(e){t=t.concat(e())}),(this.yAxis||[]).forEach(function(e){e.stacking&&e.options.stackLabels&&!e.options.stackLabels.allowOverlap&&o(e.stacking.stacks,function(e){o(e,function(e){e.label&&"hidden"!==e.label.visibility&&t.push(e.label)})})}),(this.series||[]).forEach(function(i){var a=i.options.dataLabels;i.visible&&(!1!==a.enabled||i._hasPointLabels)&&((a=function(i){return i.forEach(function(i){i.visible&&(r(i.dataLabels)?i.dataLabels:i.dataLabel?[i.dataLabel]:[]).forEach(function(r){var a=r.options;r.labelrank=s(a.labelrank,i.labelrank,i.shapeArgs&&i.shapeArgs.height),a.allowOverlap?(r.oldOpacity=r.opacity,r.newOpacity=1,n(r,e)):t.push(r)})})})(i.nodes||[]),a(i.points))}),this.hideOverlappingLabels(t)}),e.prototype.hideOverlappingLabels=function(e){var t,r,o,s=this,l=e.length,c=s.renderer,d=!1,u=function(e){var t,n,i=e.box?0:e.padding||0,r=t=0;if(e&&(!e.alignAttr||e.placed)){var o=e.alignAttr||{x:e.attr("x"),y:e.attr("y")},s=e.parentGroup;return e.width||(t=e.getBBox(),e.width=t.width,e.height=t.height,t=c.fontMetrics(null,e.element).h),(n={left:"0",center:"0.5",right:"1"}[e.alignValue])?r=+n*(e.width-2*i):a(e.x)&&Math.round(e.x)!==e.translateX&&(r=e.x-e.translateX),{x:o.x+(s.translateX||0)+i-(r||0),y:o.y+(s.translateY||0)+i-t,width:e.width-2*i,height:e.height-2*i}}};for(r=0;r<l;r++)(t=e[r])&&(t.oldOpacity=t.opacity,t.newOpacity=1,t.absoluteBox=u(t));for(e.sort(function(e,t){return(t.labelrank||0)-(e.labelrank||0)}),r=0;r<l;r++){var p=(u=e[r])&&u.absoluteBox;for(t=r+1;t<l;++t){var h=(o=e[t])&&o.absoluteBox;!p||!h||u===o||0===u.newOpacity||0===o.newOpacity||h.x>=p.x+p.width||h.x+h.width<=p.x||h.y>=p.y+p.height||h.y+h.height<=p.y||((u.labelrank<o.labelrank?u:o).newOpacity=0)}}e.forEach(function(e){n(e,s)&&(d=!0)}),d&&i(s,"afterHideAllOverlappingLabels")}}),t(n,"Core/Responsive.js",[n["Core/Utilities.js"]],function(e){var t,n=e.extend,i=e.find,r=e.isArray,a=e.isObject,o=e.merge,s=e.objectEach,l=e.pick,c=e.splat,d=e.uniqueKey;return function(e){var t=[];e.compose=function(e){return-1===t.indexOf(e)&&(t.push(e),n(e.prototype,u.prototype)),e};var u=function(){function e(){}return e.prototype.currentOptions=function(e){var t=this,n={};return function e(n,i,o,l){var d;s(n,function(n,s){if(!l&&-1<t.collectionsWithUpdate.indexOf(s)&&i[s])for(n=c(n),o[s]=[],d=0;d<Math.max(n.length,i[s].length);d++)i[s][d]&&(void 0===n[d]?o[s][d]=i[s][d]:(o[s][d]={},e(n[d],i[s][d],o[s][d],l+1)));else a(n)?(o[s]=r(n)?[]:{},e(n,i[s]||{},o[s],l+1)):o[s]=void 0===i[s]?null:i[s]})}(e,this.options,n,0),n},e.prototype.matchResponsiveRule=function(e,t){var n=e.condition;(n.callback||function(){return this.chartWidth<=l(n.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=l(n.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=l(n.minWidth,0)&&this.chartHeight>=l(n.minHeight,0)}).call(this)&&t.push(e._id)},e.prototype.setResponsive=function(e,t){var n=this,r=this.options.responsive,a=this.currentResponsive,s=[];!t&&r&&r.rules&&r.rules.forEach(function(e){void 0===e._id&&(e._id=d()),n.matchResponsiveRule(e,s)},this),(t=o.apply(void 0,s.map(function(e){return i((r||{}).rules||[],function(t){return t._id===e})}).map(function(e){return e&&e.chartOptions}))).isResponsiveOptions=!0,(s=s.toString()||void 0)!==(a&&a.ruleIds)&&(a&&this.update(a.undoOptions,e,!0),s?((a=this.currentOptions(t)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:t,undoOptions:a},this.update(t,e,!0)):this.currentResponsive=void 0)},e}()}(t||(t={})),t}),t(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/DefaultOptions.js"],n["Core/Animation/Fx.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/FormatUtilities.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Renderer/HTML/HTMLElement.js"],n["Core/Renderer/HTML/HTMLRenderer.js"],n["Core/Axis/Axis.js"],n["Core/Axis/DateTimeAxis.js"],n["Core/Axis/LogarithmicAxis.js"],n["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],n["Core/Axis/Tick.js"],n["Core/Tooltip.js"],n["Core/Series/Point.js"],n["Core/Pointer.js"],n["Core/MSPointer.js"],n["Core/Legend/Legend.js"],n["Core/Chart/Chart.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Series/Column/ColumnSeries.js"],n["Series/Column/ColumnDataLabel.js"],n["Series/Pie/PieSeries.js"],n["Series/Pie/PieDataLabel.js"],n["Core/Series/DataLabel.js"],n["Core/Responsive.js"],n["Core/Color/Color.js"],n["Core/Time.js"]],function(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f,v,y,b,x,_,w,S,C,k,O,E,M,I,P,T,D){return e.animate=r.animate,e.animObject=r.animObject,e.getDeferredAnimation=r.getDeferredAnimation,e.setAnimation=r.setAnimation,e.stop=r.stop,e.timers=i.timers,e.AST=a,e.Axis=p,e.Chart=w,e.chart=w.chart,e.Fx=i,e.Legend=_,e.PlotLineOrBand=g,e.Point=y,e.Pointer=x.isRequired()?x:b,e.Series=S,e.SVGElement=l,e.SVGRenderer=c,e.Tick=f,e.Time=D,e.Tooltip=v,e.Color=T,e.color=T.parse,u.compose(c),d.compose(l),e.defaultOptions=n.defaultOptions,e.getOptions=n.getOptions,e.time=n.defaultTime,e.setOptions=n.setOptions,e.dateFormat=o.dateFormat,e.format=o.format,e.numberFormat=o.numberFormat,e.addEvent=t.addEvent,e.arrayMax=t.arrayMax,e.arrayMin=t.arrayMin,e.attr=t.attr,e.clearTimeout=t.clearTimeout,e.correctFloat=t.correctFloat,e.createElement=t.createElement,e.css=t.css,e.defined=t.defined,e.destroyObjectProperties=t.destroyObjectProperties,e.discardElement=t.discardElement,e.distribute=s.distribute,e.erase=t.erase,e.error=t.error,e.extend=t.extend,e.extendClass=t.extendClass,e.find=t.find,e.fireEvent=t.fireEvent,e.getMagnitude=t.getMagnitude,e.getStyle=t.getStyle,e.inArray=t.inArray,e.isArray=t.isArray,e.isClass=t.isClass,e.isDOMElement=t.isDOMElement,e.isFunction=t.isFunction,e.isNumber=t.isNumber,e.isObject=t.isObject,e.isString=t.isString,e.keys=t.keys,e.merge=t.merge,e.normalizeTickInterval=t.normalizeTickInterval,e.objectEach=t.objectEach,e.offset=t.offset,e.pad=t.pad,e.pick=t.pick,e.pInt=t.pInt,e.relativeLength=t.relativeLength,e.removeEvent=t.removeEvent,e.seriesType=C.seriesType,e.splat=t.splat,e.stableSort=t.stableSort,e.syncTimeout=t.syncTimeout,e.timeUnits=t.timeUnits,e.uniqueKey=t.uniqueKey,e.useSerialIds=t.useSerialIds,e.wrap=t.wrap,O.compose(k),I.compose(S),h.compose(p),m.compose(p),M.compose(E),g.compose(p),P.compose(w),e}),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]},e.exports?(a.default=a,e.exports=r.document?a(r):a):void 0===(i=(function(){return a(r)}).call(t,n,t,e))||(e.exports=i)},"7+OI":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("HDdC");function r(e){return!!e&&(e instanceof i.a||"function"==typeof e.lift&&"function"==typeof e.subscribe)}},"7BjC":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[e+" minuti",e+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[e+" tunni",e+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[e+" kuu",e+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[e+" aasta",e+" aastat"]};return t?r[n][2]?r[n][2]:r[n][1]:i?r[n][0]:r[n][1]}e.defineLocale("et",{months:"jaanuar_veebruar_m\xe4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xe4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"p\xfchap\xe4ev_esmasp\xe4ev_teisip\xe4ev_kolmap\xe4ev_neljap\xe4ev_reede_laup\xe4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[T\xe4na,] LT",nextDay:"[Homme,] LT",nextWeek:"[J\xe4rgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s p\xe4rast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d p\xe4eva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},"7C5Q":function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n("wd/R"))},"7EHt":function(e,t,n){"use strict";n.d(t,"a",function(){return X}),n.d(t,"b",function(){return J}),n.d(t,"c",function(){return U}),n.d(t,"d",function(){return Y}),n.d(t,"e",function(){return Z}),n.d(t,"f",function(){return q}),n.d(t,"g",function(){return $});var i=n("ReuC"),r=n("foSv"),a=n("Ji7U"),o=n("LK+K"),s=n("vuIU"),l=n("1OyB"),c=n("fXoL"),d=n("8LU1"),u=n("XNiG"),p=n("quSY"),h=n("0EQZ"),m=0,g=new c.InjectionToken("CdkAccordion"),f=function(){var e=function(){function e(){Object(l.a)(this,e),this._stateChanges=new u.a,this._openCloseAllActions=new u.a,this.id="cdk-accordion-".concat(m++),this._multi=!1}return Object(s.a)(e,[{key:"multi",get:function(){return this._multi},set:function(e){this._multi=Object(d.c)(e)}},{key:"openAll",value:function(){this._multi&&this._openCloseAllActions.next(!0)}},{key:"closeAll",value:function(){this._openCloseAllActions.next(!1)}},{key:"ngOnChanges",value:function(e){this._stateChanges.next(e)}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete(),this._openCloseAllActions.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:"multi"},exportAs:["cdkAccordion"],features:[c["\u0275\u0275ProvidersFeature"]([{provide:g,useExisting:e}]),c["\u0275\u0275NgOnChangesFeature"]]}),e}(),v=0,y=function(){var e=function(){function e(t,n,i){var r=this;Object(l.a)(this,e),this.accordion=t,this._changeDetectorRef=n,this._expansionDispatcher=i,this._openCloseAllSubscription=p.a.EMPTY,this.closed=new c.EventEmitter,this.opened=new c.EventEmitter,this.destroyed=new c.EventEmitter,this.expandedChange=new c.EventEmitter,this.id="cdk-accordion-child-".concat(v++),this._expanded=!1,this._disabled=!1,this._removeUniqueSelectionListener=function(){},this._removeUniqueSelectionListener=i.listen(function(e,t){r.accordion&&!r.accordion.multi&&r.accordion.id===t&&r.id!==e&&(r.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}return Object(s.a)(e,[{key:"expanded",get:function(){return this._expanded},set:function(e){e=Object(d.c)(e),this._expanded!==e&&(this._expanded=e,this.expandedChange.emit(e),e?(this.opened.emit(),this._expansionDispatcher.notify(this.id,this.accordion?this.accordion.id:this.id)):this.closed.emit(),this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(d.c)(e)}},{key:"ngOnDestroy",value:function(){this.opened.complete(),this.closed.complete(),this.destroyed.emit(),this.destroyed.complete(),this._removeUniqueSelectionListener(),this._openCloseAllSubscription.unsubscribe()}},{key:"toggle",value:function(){this.disabled||(this.expanded=!this.expanded)}},{key:"close",value:function(){this.disabled||(this.expanded=!1)}},{key:"open",value:function(){this.disabled||(this.expanded=!0)}},{key:"_subscribeToOpenCloseAllActions",value:function(){var e=this;return this.accordion._openCloseAllActions.subscribe(function(t){e.disabled||(e.expanded=t)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](g,12),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef),c["\u0275\u0275directiveInject"](h.d))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:"expanded",disabled:"disabled"},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],features:[c["\u0275\u0275ProvidersFeature"]([{provide:g,useValue:void 0}])]}),e}(),b=function(){var e=Object(s.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=c["\u0275\u0275defineInjector"]({}),e}(),x=n("+rOU"),_=n("ofXK"),w=n("FKr1"),S=n("u47x"),C=n("/uUt"),k=n("JX91"),O=n("pLZG"),E=n("IzEk"),M=n("FtGj"),I=n("R1ws"),P=n("EY2u"),T=n("VRyK"),D=n("R0Ic"),L=["body"];function R(e,t){}var j=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],A=["mat-expansion-panel-header","*","mat-action-row"];function F(e,t){if(1&e&&c["\u0275\u0275element"](0,"span",2),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("@indicatorRotate",n._getExpandedState())}}var B=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],z=["mat-panel-title","mat-panel-description","*"],N=new c.InjectionToken("MAT_ACCORDION"),H="225ms cubic-bezier(0.4,0.0,0.2,1)",V={indicatorRotate:Object(D.n)("indicatorRotate",[Object(D.k)("collapsed, void",Object(D.l)({transform:"rotate(0deg)"})),Object(D.k)("expanded",Object(D.l)({transform:"rotate(180deg)"})),Object(D.m)("expanded <=> collapsed, void => collapsed",Object(D.e)(H))]),bodyExpansion:Object(D.n)("bodyExpansion",[Object(D.k)("collapsed, void",Object(D.l)({height:"0px",visibility:"hidden"})),Object(D.k)("expanded",Object(D.l)({height:"*",visibility:"visible"})),Object(D.m)("expanded <=> collapsed, void => collapsed",Object(D.e)(H))])},Y=function(){var e=Object(s.a)(function e(t){Object(l.a)(this,e),this._template=t});return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.TemplateRef))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["ng-template","matExpansionPanelContent",""]]}),e}(),W=0,G=new c.InjectionToken("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),U=function(){var e=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,i,r,a,o,s,d){var p;return Object(l.a)(this,n),(p=t.call(this,e,i,r))._viewContainerRef=a,p._animationMode=s,p._hideToggle=!1,p.afterExpand=new c.EventEmitter,p.afterCollapse=new c.EventEmitter,p._inputChanges=new u.a,p._headerId="mat-expansion-panel-header-".concat(W++),p._bodyAnimationDone=new u.a,p.accordion=e,p._document=o,p._bodyAnimationDone.pipe(Object(C.a)(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){"void"!==e.fromState&&("expanded"===e.toState?p.afterExpand.emit():"collapsed"===e.toState&&p.afterCollapse.emit())}),d&&(p.hideToggle=d.hideToggle),p}return Object(s.a)(n,[{key:"hideToggle",get:function(){return this._hideToggle||this.accordion&&this.accordion.hideToggle},set:function(e){this._hideToggle=Object(d.c)(e)}},{key:"togglePosition",get:function(){return this._togglePosition||this.accordion&&this.accordion.togglePosition},set:function(e){this._togglePosition=e}},{key:"_hasSpacing",value:function(){return!!this.accordion&&this.expanded&&"default"===this.accordion.displayMode}},{key:"_getExpandedState",value:function(){return this.expanded?"expanded":"collapsed"}},{key:"toggle",value:function(){this.expanded=!this.expanded}},{key:"close",value:function(){this.expanded=!1}},{key:"open",value:function(){this.expanded=!0}},{key:"ngAfterContentInit",value:function(){var e=this;this._lazyContent&&this.opened.pipe(Object(k.a)(null),Object(O.a)(function(){return e.expanded&&!e._portal}),Object(E.a)(1)).subscribe(function(){e._portal=new x.g(e._lazyContent._template,e._viewContainerRef)})}},{key:"ngOnChanges",value:function(e){this._inputChanges.next(e)}},{key:"ngOnDestroy",value:function(){Object(i.a)(Object(r.a)(n.prototype),"ngOnDestroy",this).call(this),this._bodyAnimationDone.complete(),this._inputChanges.complete()}},{key:"_containsFocus",value:function(){if(this._body){var e=this._document.activeElement,t=this._body.nativeElement;return e===t||t.contains(e)}return!1}}]),n}(y);return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](N,12),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef),c["\u0275\u0275directiveInject"](h.d),c["\u0275\u0275directiveInject"](c.ViewContainerRef),c["\u0275\u0275directiveInject"](_.DOCUMENT),c["\u0275\u0275directiveInject"](I.a,8),c["\u0275\u0275directiveInject"](G,8))},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-expansion-panel"]],contentQueries:function(e,t,n){var i;1&e&&c["\u0275\u0275contentQuery"](n,Y,1),2&e&&c["\u0275\u0275queryRefresh"](i=c["\u0275\u0275loadQuery"]())&&(t._lazyContent=i.first)},viewQuery:function(e,t){var n;1&e&&c["\u0275\u0275viewQuery"](L,1),2&e&&c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t._body=n.first)},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(e,t){2&e&&c["\u0275\u0275classProp"]("mat-expanded",t.expanded)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-expansion-panel-spacing",t._hasSpacing())},inputs:{disabled:"disabled",expanded:"expanded",hideToggle:"hideToggle",togglePosition:"togglePosition"},outputs:{opened:"opened",closed:"closed",expandedChange:"expandedChange",afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],features:[c["\u0275\u0275ProvidersFeature"]([{provide:N,useValue:void 0}]),c["\u0275\u0275InheritDefinitionFeature"],c["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:A,decls:7,vars:4,consts:[["role","region",1,"mat-expansion-panel-content",3,"id"],["body",""],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](j),c["\u0275\u0275projection"](0),c["\u0275\u0275elementStart"](1,"div",0,1),c["\u0275\u0275listener"]("@bodyExpansion.done",function(e){return t._bodyAnimationDone.next(e)}),c["\u0275\u0275elementStart"](3,"div",2),c["\u0275\u0275projection"](4,1),c["\u0275\u0275template"](5,R,0,0,"ng-template",3),c["\u0275\u0275elementEnd"](),c["\u0275\u0275projection"](6,2),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("@bodyExpansion",t._getExpandedState())("id",t.id),c["\u0275\u0275attribute"]("aria-labelledby",t._headerId),c["\u0275\u0275advance"](4),c["\u0275\u0275property"]("cdkPortalOutlet",t._portal))},directives:[x.c],styles:[".mat-expansion-panel{box-sizing:content-box;display:block;margin:0;border-radius:4px;overflow:hidden;transition:margin 225ms cubic-bezier(0.4, 0, 0.2, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);position:relative}.mat-accordion .mat-expansion-panel:not(.mat-expanded),.mat-accordion .mat-expansion-panel:not(.mat-expansion-panel-spacing){border-radius:0}.mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:4px;border-top-left-radius:4px}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:4px;border-bottom-left-radius:4px}.cdk-high-contrast-active .mat-expansion-panel{outline:solid 1px}.mat-expansion-panel.ng-animate-disabled,.ng-animate-disabled .mat-expansion-panel,.mat-expansion-panel._mat-animation-noopable{transition:none}.mat-expansion-panel-content{display:flex;flex-direction:column;overflow:visible}.mat-expansion-panel-body{padding:0 24px 16px}.mat-expansion-panel-spacing{margin:16px 0}.mat-accordion>.mat-expansion-panel-spacing:first-child,.mat-accordion>*:first-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-top:0}.mat-accordion>.mat-expansion-panel-spacing:last-child,.mat-accordion>*:last-child:not(.mat-expansion-panel) .mat-expansion-panel-spacing{margin-bottom:0}.mat-action-row{border-top-style:solid;border-top-width:1px;display:flex;flex-direction:row;justify-content:flex-end;padding:16px 8px 16px 24px}.mat-action-row button.mat-button-base,.mat-action-row button.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row button.mat-button-base,[dir=rtl] .mat-action-row button.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[V.bodyExpansion]},changeDetection:0}),e}(),q=function(){var e=function(){function e(t,n,i,r,a,o){var s=this;Object(l.a)(this,e),this.panel=t,this._element=n,this._focusMonitor=i,this._changeDetectorRef=r,this._animationMode=o,this._parentChangeSubscription=p.a.EMPTY;var c=t.accordion?t.accordion._stateChanges.pipe(Object(O.a)(function(e){return!(!e.hideToggle&&!e.togglePosition)})):P.a;this._parentChangeSubscription=Object(T.a)(t.opened,t.closed,c,t._inputChanges.pipe(Object(O.a)(function(e){return!!(e.hideToggle||e.disabled||e.togglePosition)}))).subscribe(function(){return s._changeDetectorRef.markForCheck()}),t.closed.pipe(Object(O.a)(function(){return t._containsFocus()})).subscribe(function(){return i.focusVia(n,"program")}),a&&(this.expandedHeight=a.expandedHeight,this.collapsedHeight=a.collapsedHeight)}return Object(s.a)(e,[{key:"disabled",get:function(){return this.panel.disabled}},{key:"_toggle",value:function(){this.disabled||this.panel.toggle()}},{key:"_isExpanded",value:function(){return this.panel.expanded}},{key:"_getExpandedState",value:function(){return this.panel._getExpandedState()}},{key:"_getPanelId",value:function(){return this.panel.id}},{key:"_getTogglePosition",value:function(){return this.panel.togglePosition}},{key:"_showToggle",value:function(){return!this.panel.hideToggle&&!this.panel.disabled}},{key:"_getHeaderHeight",value:function(){var e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}},{key:"_keydown",value:function(e){switch(e.keyCode){case M.o:case M.g:Object(M.t)(e)||(e.preventDefault(),this._toggle());break;default:return void(this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e))}}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._element).subscribe(function(t){t&&e.panel.accordion&&e.panel.accordion._handleHeaderFocus(e)})}},{key:"ngOnDestroy",value:function(){this._parentChangeSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._element)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](U,1),c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](S.h),c["\u0275\u0275directiveInject"](c.ChangeDetectorRef),c["\u0275\u0275directiveInject"](G,8),c["\u0275\u0275directiveInject"](I.a,8))},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("click",function(){return t._toggle()})("keydown",function(e){return t._keydown(e)}),2&e&&(c["\u0275\u0275attribute"]("id",t.panel._headerId)("tabindex",t.disabled?-1:0)("aria-controls",t._getPanelId())("aria-expanded",t._isExpanded())("aria-disabled",t.panel.disabled),c["\u0275\u0275styleProp"]("height",t._getHeaderHeight()),c["\u0275\u0275classProp"]("mat-expanded",t._isExpanded())("mat-expansion-toggle-indicator-after","after"===t._getTogglePosition())("mat-expansion-toggle-indicator-before","before"===t._getTogglePosition())("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight"},ngContentSelectors:z,decls:5,vars:1,consts:[[1,"mat-content"],["class","mat-expansion-indicator",4,"ngIf"],[1,"mat-expansion-indicator"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](B),c["\u0275\u0275elementStart"](0,"span",0),c["\u0275\u0275projection"](1),c["\u0275\u0275projection"](2,1),c["\u0275\u0275projection"](3,2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](4,F,1,1,"span",1)),2&e&&(c["\u0275\u0275advance"](4),c["\u0275\u0275property"]("ngIf",t._showToggle()))},directives:[_.NgIf],styles:['.mat-expansion-panel-header{display:flex;flex-direction:row;align-items:center;padding:0 24px;border-radius:inherit;transition:height 225ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-expansion-panel-header._mat-animation-noopable{transition:none}.mat-expansion-panel-header:focus,.mat-expansion-panel-header:hover{outline:none}.mat-expansion-panel-header.mat-expanded:focus,.mat-expansion-panel-header.mat-expanded:hover{background:inherit}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before{flex-direction:row-reverse}.mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 16px 0 0}[dir=rtl] .mat-expansion-panel-header.mat-expansion-toggle-indicator-before .mat-expansion-indicator{margin:0 0 0 16px}.mat-content{display:flex;flex:1;flex-direction:row;overflow:hidden}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;margin-right:16px}[dir=rtl] .mat-expansion-panel-header-title,[dir=rtl] .mat-expansion-panel-header-description{margin-right:0;margin-left:16px}.mat-expansion-panel-header-description{flex-grow:2}.mat-expansion-indicator::after{border-style:solid;border-width:0 2px 2px 0;content:"";display:inline-block;padding:3px;transform:rotate(45deg);vertical-align:middle}.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-keyboard-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel .mat-expansion-panel-header.cdk-program-focused:not([aria-disabled=true])::before,.cdk-high-contrast-active .mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:hover:not([aria-disabled=true])::before{top:0;left:0;right:0;bottom:0;position:absolute;box-sizing:border-box;pointer-events:none;border:3px solid;border-radius:4px;content:""}\n'],encapsulation:2,data:{animation:[V.indicatorRotate]},changeDetection:0}),e}(),Z=function(){var e=Object(s.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"]}),e}(),$=function(){var e=Object(s.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"]}),e}(),X=function(){var e=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(){var e;return Object(l.a)(this,n),(e=t.apply(this,arguments))._ownHeaders=new c.QueryList,e._hideToggle=!1,e.displayMode="default",e.togglePosition="after",e}return Object(s.a)(n,[{key:"hideToggle",get:function(){return this._hideToggle},set:function(e){this._hideToggle=Object(d.c)(e)}},{key:"ngAfterContentInit",value:function(){var e=this;this._headers.changes.pipe(Object(k.a)(this._headers)).subscribe(function(t){e._ownHeaders.reset(t.filter(function(t){return t.panel.accordion===e})),e._ownHeaders.notifyOnChanges()}),this._keyManager=new S.g(this._ownHeaders).withWrap().withHomeAndEnd()}},{key:"_handleHeaderKeydown",value:function(e){this._keyManager.onKeydown(e)}},{key:"_handleHeaderFocus",value:function(e){this._keyManager.updateActiveItem(e)}},{key:"ngOnDestroy",value:function(){Object(i.a)(Object(r.a)(n.prototype),"ngOnDestroy",this).call(this),this._ownHeaders.destroy()}}]),n}(f);return e.\u0275fac=function(t){return K(t||e)},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-accordion"]],contentQueries:function(e,t,n){var i;1&e&&c["\u0275\u0275contentQuery"](n,q,1),2&e&&c["\u0275\u0275queryRefresh"](i=c["\u0275\u0275loadQuery"]())&&(t._headers=i)},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(e,t){2&e&&c["\u0275\u0275classProp"]("mat-accordion-multi",t.multi)},inputs:{multi:"multi",displayMode:"displayMode",togglePosition:"togglePosition",hideToggle:"hideToggle"},exportAs:["matAccordion"],features:[c["\u0275\u0275ProvidersFeature"]([{provide:N,useExisting:e}]),c["\u0275\u0275InheritDefinitionFeature"]]}),e}(),K=c["\u0275\u0275getInheritedFactory"](X),J=function(){var e=Object(s.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=c["\u0275\u0275defineInjector"]({imports:[[_.CommonModule,w.j,b,x.f]]}),e}()},"7HRe":function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("HDdC"),r=n("quSY"),a=n("kJWO"),o=n("jZKg"),s=n("Lhse"),l=n("c2HN"),c=n("I55L");function d(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[a.a]}(e))return function(e,t){return new i.a(function(n){var i=new r.a;return i.add(t.schedule(function(){var r=e[a.a]();i.add(r.subscribe({next:function(e){i.add(t.schedule(function(){return n.next(e)}))},error:function(e){i.add(t.schedule(function(){return n.error(e)}))},complete:function(){i.add(t.schedule(function(){return n.complete()}))}}))})),i})}(e,t);if(Object(l.a)(e))return function(e,t){return new i.a(function(n){var i=new r.a;return i.add(t.schedule(function(){return e.then(function(e){i.add(t.schedule(function(){n.next(e),i.add(t.schedule(function(){return n.complete()}))}))},function(e){i.add(t.schedule(function(){return n.error(e)}))})})),i})}(e,t);if(Object(c.a)(e))return Object(o.a)(e,t);if(function(e){return e&&"function"==typeof e[s.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new i.a(function(n){var i,a=new r.a;return a.add(function(){i&&"function"==typeof i.return&&i.return()}),a.add(t.schedule(function(){i=e[s.a](),a.add(t.schedule(function(){if(!n.closed){var e,t;try{var r=i.next();e=r.value,t=r.done}catch(a){return void n.error(a)}t?n.complete():(n.next(e),this.schedule())}}))})),a})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}},"7Hc7":function(e,t,n){"use strict";n.d(t,"b",function(){return f}),n.d(t,"a",function(){return v});var i=n("1OyB"),r=n("vuIU"),a=n("ReuC"),o=n("foSv"),s=n("Ji7U"),l=n("LK+K"),c=1,d=function(){return Promise.resolve()}(),u={};function p(e){return e in u&&(delete u[e],!0)}var h=function(e){var t=c++;return u[t]=!0,d.then(function(){return p(t)&&e()}),t},m=function(e){p(e)},g=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,r){var a;return Object(i.a)(this,n),(a=t.call(this,e,r)).scheduler=e,a.work=r,a}return Object(r.a)(n,[{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?Object(a.a)(Object(o.a)(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=h(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return Object(a.a)(Object(o.a)(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(m(t),e.scheduled=void 0)}}]),n}(n("3N8a").a),f=new(function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i<r&&(e=n.shift()));if(this.active=!1,t){for(;++i<r&&(e=n.shift());)e.unsubscribe();throw t}}}]),n}(n("IjjT").a))(g),v=f},"7aV9":function(e,t,n){!function(e){"use strict";e.defineLocale("si",{months:"\u0da2\u0db1\u0dc0\u0dcf\u0dbb\u0dd2_\u0db4\u0dd9\u0db6\u0dbb\u0dc0\u0dcf\u0dbb\u0dd2_\u0db8\u0dcf\u0dbb\u0dca\u0dad\u0dd4_\u0d85\u0db4\u0dca\u200d\u0dbb\u0dda\u0dbd\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd\u0dc3\u0dca\u0dad\u0dd4_\u0dc3\u0dd0\u0db4\u0dca\u0dad\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0d94\u0d9a\u0dca\u0dad\u0ddd\u0db6\u0dbb\u0dca_\u0db1\u0ddc\u0dc0\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca_\u0daf\u0dd9\u0dc3\u0dd0\u0db8\u0dca\u0db6\u0dbb\u0dca".split("_"),monthsShort:"\u0da2\u0db1_\u0db4\u0dd9\u0db6_\u0db8\u0dcf\u0dbb\u0dca_\u0d85\u0db4\u0dca_\u0db8\u0dd0\u0dba\u0dd2_\u0da2\u0dd6\u0db1\u0dd2_\u0da2\u0dd6\u0dbd\u0dd2_\u0d85\u0d9c\u0ddd_\u0dc3\u0dd0\u0db4\u0dca_\u0d94\u0d9a\u0dca_\u0db1\u0ddc\u0dc0\u0dd0_\u0daf\u0dd9\u0dc3\u0dd0".split("_"),weekdays:"\u0d89\u0dbb\u0dd2\u0daf\u0dcf_\u0dc3\u0db3\u0dd4\u0daf\u0dcf_\u0d85\u0d9f\u0dc4\u0dbb\u0dd4\u0dc0\u0dcf\u0daf\u0dcf_\u0db6\u0daf\u0dcf\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4\u0dc3\u0dca\u0db4\u0dad\u0dd2\u0db1\u0dca\u0daf\u0dcf_\u0dc3\u0dd2\u0d9a\u0dd4\u0dbb\u0dcf\u0daf\u0dcf_\u0dc3\u0dd9\u0db1\u0dc3\u0dd4\u0dbb\u0dcf\u0daf\u0dcf".split("_"),weekdaysShort:"\u0d89\u0dbb\u0dd2_\u0dc3\u0db3\u0dd4_\u0d85\u0d9f_\u0db6\u0daf\u0dcf_\u0db6\u0dca\u200d\u0dbb\u0dc4_\u0dc3\u0dd2\u0d9a\u0dd4_\u0dc3\u0dd9\u0db1".split("_"),weekdaysMin:"\u0d89_\u0dc3_\u0d85_\u0db6_\u0db6\u0dca\u200d\u0dbb_\u0dc3\u0dd2_\u0dc3\u0dd9".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [\u0dc0\u0dd0\u0db1\u0dd2] dddd, a h:mm:ss"},calendar:{sameDay:"[\u0d85\u0daf] LT[\u0da7]",nextDay:"[\u0dc4\u0dd9\u0da7] LT[\u0da7]",nextWeek:"dddd LT[\u0da7]",lastDay:"[\u0d8a\u0dba\u0dda] LT[\u0da7]",lastWeek:"[\u0db4\u0dc3\u0dd4\u0d9c\u0dd2\u0dba] dddd LT[\u0da7]",sameElse:"L"},relativeTime:{future:"%s\u0d9a\u0dd2\u0db1\u0dca",past:"%s\u0d9a\u0da7 \u0db4\u0dd9\u0dbb",s:"\u0dad\u0dad\u0dca\u0db4\u0dbb \u0d9a\u0dd2\u0dc4\u0dd2\u0db4\u0dba",ss:"\u0dad\u0dad\u0dca\u0db4\u0dbb %d",m:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4\u0dc0",mm:"\u0db8\u0dd2\u0db1\u0dd2\u0dad\u0dca\u0dad\u0dd4 %d",h:"\u0db4\u0dd0\u0dba",hh:"\u0db4\u0dd0\u0dba %d",d:"\u0daf\u0dd2\u0db1\u0dba",dd:"\u0daf\u0dd2\u0db1 %d",M:"\u0db8\u0dcf\u0dc3\u0dba",MM:"\u0db8\u0dcf\u0dc3 %d",y:"\u0dc0\u0dc3\u0dbb",yy:"\u0dc0\u0dc3\u0dbb %d"},dayOfMonthOrdinalParse:/\d{1,2} \u0dc0\u0dd0\u0db1\u0dd2/,ordinal:function(e){return e+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(e){return"\u0db4.\u0dc0."===e||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===e},meridiem:function(e,t,n){return e>11?n?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":n?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(n("wd/R"))},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",function(){return f});var i=n("1OyB"),r=n("vuIU"),a=n("JX7q"),o=n("ReuC"),s=n("foSv"),l=n("Ji7U"),c=n("LK+K"),d=n("n6bG"),u=n("gRHU"),p=n("quSY"),h=n("2QA8"),m=n("2fFW"),g=n("NJ4a"),f=function(e){Object(l.a)(n,e);var t=Object(c.a)(n);function n(e,r,o){var s;switch(Object(i.a)(this,n),(s=t.call(this)).syncErrorValue=null,s.syncErrorThrown=!1,s.syncErrorThrowable=!1,s.isStopped=!1,arguments.length){case 0:s.destination=u.a;break;case 1:if(!e){s.destination=u.a;break}if("object"==typeof e){e instanceof n?(s.syncErrorThrowable=e.syncErrorThrowable,s.destination=e,e.add(Object(a.a)(s))):(s.syncErrorThrowable=!0,s.destination=new v(Object(a.a)(s),e));break}default:s.syncErrorThrowable=!0,s.destination=new v(Object(a.a)(s),e,r,o)}return s}return Object(r.a)(n,[{key:h.a,value:function(){return this}},{key:"next",value:function(e){this.isStopped||this._next(e)}},{key:"error",value:function(e){this.isStopped||(this.isStopped=!0,this._error(e))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,Object(o.a)(Object(s.a)(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}],[{key:"create",value:function(e,t,i){var r=new n(e,t,i);return r.syncErrorThrowable=!1,r}}]),n}(p.a),v=function(e){Object(l.a)(n,e);var t=Object(c.a)(n);function n(e,r,o,s){var l,c;Object(i.a)(this,n),(l=t.call(this))._parentSubscriber=e;var p=Object(a.a)(l);return Object(d.a)(r)?c=r:r&&(c=r.next,o=r.error,s=r.complete,r!==u.a&&(p=Object.create(r),Object(d.a)(p.unsubscribe)&&l.add(p.unsubscribe.bind(p)),p.unsubscribe=l.unsubscribe.bind(Object(a.a)(l)))),l._context=p,l._next=c,l._error=o,l._complete=s,l}return Object(r.a)(n,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;m.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}},{key:"error",value:function(e){if(!this.isStopped){var t=this._parentSubscriber,n=m.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(g.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(g.a)(e)}}}},{key:"complete",value:function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};m.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),m.a.useDeprecatedSynchronousErrorHandling)throw n;Object(g.a)(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!m.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(i){return m.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=i,e.syncErrorThrown=!0,!0):(Object(g.a)(i),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}]),n}(f)},"8/+R":function(e,t,n){!function(e){"use strict";var t={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},n={"\u0a67":"1","\u0a68":"2","\u0a69":"3","\u0a6a":"4","\u0a6b":"5","\u0a6c":"6","\u0a6d":"7","\u0a6e":"8","\u0a6f":"9","\u0a66":"0"};e.defineLocale("pa-in",{months:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),monthsShort:"\u0a1c\u0a28\u0a35\u0a30\u0a40_\u0a2b\u0a3c\u0a30\u0a35\u0a30\u0a40_\u0a2e\u0a3e\u0a30\u0a1a_\u0a05\u0a2a\u0a4d\u0a30\u0a48\u0a32_\u0a2e\u0a08_\u0a1c\u0a42\u0a28_\u0a1c\u0a41\u0a32\u0a3e\u0a08_\u0a05\u0a17\u0a38\u0a24_\u0a38\u0a24\u0a70\u0a2c\u0a30_\u0a05\u0a15\u0a24\u0a42\u0a2c\u0a30_\u0a28\u0a35\u0a70\u0a2c\u0a30_\u0a26\u0a38\u0a70\u0a2c\u0a30".split("_"),weekdays:"\u0a10\u0a24\u0a35\u0a3e\u0a30_\u0a38\u0a4b\u0a2e\u0a35\u0a3e\u0a30_\u0a2e\u0a70\u0a17\u0a32\u0a35\u0a3e\u0a30_\u0a2c\u0a41\u0a27\u0a35\u0a3e\u0a30_\u0a35\u0a40\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a41\u0a71\u0a15\u0a30\u0a35\u0a3e\u0a30_\u0a38\u0a3c\u0a28\u0a40\u0a1a\u0a30\u0a35\u0a3e\u0a30".split("_"),weekdaysShort:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),weekdaysMin:"\u0a10\u0a24_\u0a38\u0a4b\u0a2e_\u0a2e\u0a70\u0a17\u0a32_\u0a2c\u0a41\u0a27_\u0a35\u0a40\u0a30_\u0a38\u0a3c\u0a41\u0a15\u0a30_\u0a38\u0a3c\u0a28\u0a40".split("_"),longDateFormat:{LT:"A h:mm \u0a35\u0a1c\u0a47",LTS:"A h:mm:ss \u0a35\u0a1c\u0a47",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47",LLLL:"dddd, D MMMM YYYY, A h:mm \u0a35\u0a1c\u0a47"},calendar:{sameDay:"[\u0a05\u0a1c] LT",nextDay:"[\u0a15\u0a32] LT",nextWeek:"[\u0a05\u0a17\u0a32\u0a3e] dddd, LT",lastDay:"[\u0a15\u0a32] LT",lastWeek:"[\u0a2a\u0a3f\u0a1b\u0a32\u0a47] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0a35\u0a3f\u0a71\u0a1a",past:"%s \u0a2a\u0a3f\u0a1b\u0a32\u0a47",s:"\u0a15\u0a41\u0a1d \u0a38\u0a15\u0a3f\u0a70\u0a1f",ss:"%d \u0a38\u0a15\u0a3f\u0a70\u0a1f",m:"\u0a07\u0a15 \u0a2e\u0a3f\u0a70\u0a1f",mm:"%d \u0a2e\u0a3f\u0a70\u0a1f",h:"\u0a07\u0a71\u0a15 \u0a18\u0a70\u0a1f\u0a3e",hh:"%d \u0a18\u0a70\u0a1f\u0a47",d:"\u0a07\u0a71\u0a15 \u0a26\u0a3f\u0a28",dd:"%d \u0a26\u0a3f\u0a28",M:"\u0a07\u0a71\u0a15 \u0a2e\u0a39\u0a40\u0a28\u0a3e",MM:"%d \u0a2e\u0a39\u0a40\u0a28\u0a47",y:"\u0a07\u0a71\u0a15 \u0a38\u0a3e\u0a32",yy:"%d \u0a38\u0a3e\u0a32"},preparse:function(e){return e.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0a30\u0a3e\u0a24"===t?e<4?e:e+12:"\u0a38\u0a35\u0a47\u0a30"===t?e:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===t?e>=10?e:e+12:"\u0a38\u0a3c\u0a3e\u0a2e"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0a30\u0a3e\u0a24":e<10?"\u0a38\u0a35\u0a47\u0a30":e<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":e<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(n("wd/R"))},"8LU1":function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return c}),n.d(t,"e",function(){return d}),n.d(t,"f",function(){return o}),n.d(t,"g",function(){return u});var i=n("uFwe"),r=n("fXoL");function a(e){return null!=e&&"false"!=="".concat(e)}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return s(e)?Number(e):t}function s(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}function l(e){return Array.isArray(e)?e:[e]}function c(e){return null==e?"":"string"==typeof e?e:"".concat(e,"px")}function d(e){return e instanceof r.ElementRef?e.nativeElement:e}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/\s+/,n=[];if(null!=e){var r,a=Array.isArray(e)?e:"".concat(e).split(t),o=Object(i.a)(a);try{for(o.s();!(r=o.n()).done;){var s=r.value,l="".concat(s).trim();l&&n.push(l)}}catch(c){o.e(c)}finally{o.f()}}return n}},"8Qeq":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("7o/Q");function r(e){for(;e;){var t=e.destination;if(e.closed||e.isStopped)return!1;e=t&&t instanceof i.a?t:null}return!0}},"8mBD":function(e,t,n){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_mar\xe7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Ter\xe7a-feira_Quarta-feira_Quinta-feira_Sexta-feira_S\xe1bado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_S\xe1b".split("_"),weekdaysMin:"Do_2\xaa_3\xaa_4\xaa_5\xaa_6\xaa_S\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje \xe0s] LT",nextDay:"[Amanh\xe3 \xe0s] LT",nextWeek:"dddd [\xe0s] LT",lastDay:"[Ontem \xe0s] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[\xdaltimo] dddd [\xe0s] LT":"[\xdaltima] dddd [\xe0s] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"h\xe1 %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um m\xeas",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},"9pHg":function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return c});var i=n("uJc7"),r=n("+ic2"),a=n("wd/R"),o=n("fXoL"),s=n("tk/3"),l=function(){function e(e,t){this.http=e,this.AccountService=t,this._listSchedulesUrl=this.AccountService.getPy3Host()+"/api/v2/scheduling/get_scheduled",this._getScheduleUrl=this.AccountService.getPy3Host()+"/api/v2/scheduling/get_by_id",this._createScheduleUrl=this.AccountService.getPy3Host()+"/api/v2/scheduling/schedule",this._deleteScheduleUrl=this.AccountService.getPy3Host()+"/api/v2/scheduling/delete"}return e.prototype.listSchedules=function(){return this.http.post(this._listSchedulesUrl,{})},e.prototype.getSchedule=function(e){return this.http.post(this._getScheduleUrl,{params:{schedule_id:e}})},e.prototype.createSchedule=function(e){return this.http.post(this._createScheduleUrl,{params:e})},e.prototype.deleteSchedule=function(e){return this.http.post(this._deleteScheduleUrl,{params:{schedule_id:e}})},e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](s.b),o["\u0275\u0275inject"](i.a))},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),c=function(){return function(e,t,n){this.isDaily=!1,this.isWeekly=!1,this.isMonthly=!1,this.isYearly=!1,this.isOneTime=!1,this.description="",this.icon="",this.id=e.schedule_id,this.scheduleType=e.schedule_type,this.scheduleDate=e.schedule_date,this.ecomodule=e.ecomodule,this.description=e.description,this.isDaily=e.daily,this.isWeekly=e.weekly,this.isMonthly=e.monthly,this.isYearly=e.yearly,0==this.isDaily&&0==this.isWeekly&&0==this.isMonthly&&0==this.isYearly&&(this.isOneTime=!0),this.routine_id=e.routine_id,this.routine_id&&(this.routineKey=e.routine.key,this.routine=new r.a(e.routine,null,"RoutineH",this));var i=t.getWorkoutType(this.ecomodule);this.icon="/static/img/activityicons/"+i.iconName+".png",this.workoutType=t.getWorkoutTypeName(this.ecomodule,n),this.scheduleDateMoment=a.utc(this.scheduleDate).local(),this.time=this.scheduleDateMoment.format("h:mm a"),this.timestamp=this.scheduleDateMoment.format("LLLL"),this.weekDay=this.scheduleDateMoment.format("dddd"),this.monthDay=this.scheduleDateMoment.date(),this.month=this.scheduleDateMoment.format("MMMM"),this.shortDate=this.scheduleDateMoment.format("MM/DD")}}()},"9ppp":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},"9rRi":function(e,t,n){!function(e){"use strict";e.defineLocale("gd",{months:["Am Faoilleach","An Gearran","Am M\xe0rt","An Giblean","An C\xe8itean","An t-\xd2gmhios","An t-Iuchar","An L\xf9nastal","An t-Sultain","An D\xe0mhair","An t-Samhain","An D\xf9bhlachd"],monthsShort:["Faoi","Gear","M\xe0rt","Gibl","C\xe8it","\xd2gmh","Iuch","L\xf9n","Sult","D\xe0mh","Samh","D\xf9bh"],monthsParseExact:!0,weekdays:["Did\xf2mhnaich","Diluain","Dim\xe0irt","Diciadain","Diardaoin","Dihaoine","Disathairne"],weekdaysShort:["Did","Dil","Dim","Dic","Dia","Dih","Dis"],weekdaysMin:["D\xf2","Lu","M\xe0","Ci","Ar","Ha","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-m\xe0ireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-d\xe8 aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"m\xecos",MM:"%d m\xecosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},"A+xa":function(e,t,n){!function(e){"use strict";e.defineLocale("cv",{months:"\u043a\u04d1\u0440\u043b\u0430\u0447_\u043d\u0430\u0440\u04d1\u0441_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440\u0442\u043c\u0435_\u0443\u0442\u04d1_\u04ab\u0443\u0440\u043b\u0430_\u0430\u0432\u04d1\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448\u0442\u0430\u0432".split("_"),monthsShort:"\u043a\u04d1\u0440_\u043d\u0430\u0440_\u043f\u0443\u0448_\u0430\u043a\u0430_\u043c\u0430\u0439_\u04ab\u04d7\u0440_\u0443\u0442\u04d1_\u04ab\u0443\u0440_\u0430\u0432\u043d_\u044e\u043f\u0430_\u0447\u04f3\u043a_\u0440\u0430\u0448".split("_"),weekdays:"\u0432\u044b\u0440\u0441\u0430\u0440\u043d\u0438\u043a\u0443\u043d_\u0442\u0443\u043d\u0442\u0438\u043a\u0443\u043d_\u044b\u0442\u043b\u0430\u0440\u0438\u043a\u0443\u043d_\u044e\u043d\u043a\u0443\u043d_\u043a\u04d7\u04ab\u043d\u0435\u0440\u043d\u0438\u043a\u0443\u043d_\u044d\u0440\u043d\u0435\u043a\u0443\u043d_\u0448\u04d1\u043c\u0430\u0442\u043a\u0443\u043d".split("_"),weekdaysShort:"\u0432\u044b\u0440_\u0442\u0443\u043d_\u044b\u0442\u043b_\u044e\u043d_\u043a\u04d7\u04ab_\u044d\u0440\u043d_\u0448\u04d1\u043c".split("_"),weekdaysMin:"\u0432\u0440_\u0442\u043d_\u044b\u0442_\u044e\u043d_\u043a\u04ab_\u044d\u0440_\u0448\u043c".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7]",LLL:"YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm",LLLL:"dddd, YYYY [\u04ab\u0443\u043b\u0445\u0438] MMMM [\u0443\u0439\u04d1\u0445\u04d7\u043d] D[-\u043c\u04d7\u0448\u04d7], HH:mm"},calendar:{sameDay:"[\u041f\u0430\u044f\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextDay:"[\u042b\u0440\u0430\u043d] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastDay:"[\u04d6\u043d\u0435\u0440] LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",nextWeek:"[\u04aa\u0438\u0442\u0435\u0441] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",lastWeek:"[\u0418\u0440\u0442\u043d\u04d7] dddd LT [\u0441\u0435\u0445\u0435\u0442\u0440\u0435]",sameElse:"L"},relativeTime:{future:function(e){return e+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(e)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(e)?"\u0442\u0430\u043d":"\u0440\u0430\u043d")},past:"%s \u043a\u0430\u044f\u043b\u043b\u0430",s:"\u043f\u04d7\u0440-\u0438\u043a \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",ss:"%d \u04ab\u0435\u043a\u043a\u0443\u043d\u0442",m:"\u043f\u04d7\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u043f\u04d7\u0440 \u0441\u0435\u0445\u0435\u0442",hh:"%d \u0441\u0435\u0445\u0435\u0442",d:"\u043f\u04d7\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u043f\u04d7\u0440 \u0443\u0439\u04d1\u0445",MM:"%d \u0443\u0439\u04d1\u0445",y:"\u043f\u04d7\u0440 \u04ab\u0443\u043b",yy:"%d \u04ab\u0443\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-\u043c\u04d7\u0448/,ordinal:"%d-\u043c\u04d7\u0448",week:{dow:1,doy:7}})}(n("wd/R"))},A5z7:function(e,t,n){"use strict";n.d(t,"a",function(){return D}),n.d(t,"b",function(){return H}),n.d(t,"c",function(){return z}),n.d(t,"d",function(){return L}),n.d(t,"e",function(){return Y});var i=n("KQm4"),r=n("JX7q"),a=n("Ji7U"),o=n("LK+K"),s=n("vuIU"),l=n("1OyB"),c=n("FtGj"),d=n("fXoL"),u=n("FKr1"),p=n("8LU1"),h=n("ofXK"),m=n("R1ws"),g=n("XNiG"),f=n("VRyK"),v=n("IzEk"),y=n("1G5W"),b=n("JX91"),x=n("u47x"),_=n("0EQZ"),w=n("kmnG"),S=n("nLfN"),C=n("cH1L"),k=n("3Pt+"),O=["*"],E=new d.InjectionToken("MatChipRemove"),M=new d.InjectionToken("MatChipAvatar"),I=new d.InjectionToken("MatChipTrailingIcon"),P=Object(s.a)(function e(t){Object(l.a)(this,e),this._elementRef=t}),T=Object(u.D)(Object(u.y)(Object(u.z)(P),"primary"),-1),D=function(){var e=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,i,a,o,s,c,p,h){var m;return Object(l.a)(this,n),(m=t.call(this,e))._elementRef=e,m._ngZone=i,m._changeDetectorRef=s,m._hasFocus=!1,m.chipListSelectable=!0,m._chipListMultiple=!1,m._chipListDisabled=!1,m._selected=!1,m._selectable=!0,m._disabled=!1,m._removable=!0,m._onFocus=new g.a,m._onBlur=new g.a,m.selectionChange=new d.EventEmitter,m.destroyed=new d.EventEmitter,m.removed=new d.EventEmitter,m._addHostClassName(),m._chipRippleTarget=c.createElement("div"),m._chipRippleTarget.classList.add("mat-chip-ripple"),m._elementRef.nativeElement.appendChild(m._chipRippleTarget),m._chipRipple=new u.v(Object(r.a)(m),i,m._chipRippleTarget,a),m._chipRipple.setupTriggerEvents(e),m.rippleConfig=o||{},m._animationsDisabled="NoopAnimations"===p,m.tabIndex=null!=h&&parseInt(h)||-1,m}return Object(s.a)(n,[{key:"rippleDisabled",get:function(){return this.disabled||this.disableRipple||this._animationsDisabled||!!this.rippleConfig.disabled}},{key:"selected",get:function(){return this._selected},set:function(e){var t=Object(p.c)(e);t!==this._selected&&(this._selected=t,this._dispatchSelectionChange())}},{key:"value",get:function(){return void 0!==this._value?this._value:this._elementRef.nativeElement.textContent},set:function(e){this._value=e}},{key:"selectable",get:function(){return this._selectable&&this.chipListSelectable},set:function(e){this._selectable=Object(p.c)(e)}},{key:"disabled",get:function(){return this._chipListDisabled||this._disabled},set:function(e){this._disabled=Object(p.c)(e)}},{key:"removable",get:function(){return this._removable},set:function(e){this._removable=Object(p.c)(e)}},{key:"ariaSelected",get:function(){return this.selectable&&(this._chipListMultiple||this.selected)?this.selected.toString():null}},{key:"_addHostClassName",value:function(){var e="mat-basic-chip",t=this._elementRef.nativeElement;t.hasAttribute(e)||t.tagName.toLowerCase()===e?t.classList.add(e):t.classList.add("mat-standard-chip")}},{key:"ngOnDestroy",value:function(){this.destroyed.emit({chip:this}),this._chipRipple._removeTriggerEvents()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._dispatchSelectionChange(),this._changeDetectorRef.markForCheck())}},{key:"selectViaInteraction",value:function(){this._selected||(this._selected=!0,this._dispatchSelectionChange(!0),this._changeDetectorRef.markForCheck())}},{key:"toggleSelected",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._selected=!this.selected,this._dispatchSelectionChange(e),this._changeDetectorRef.markForCheck(),this.selected}},{key:"focus",value:function(){this._hasFocus||(this._elementRef.nativeElement.focus(),this._onFocus.next({chip:this})),this._hasFocus=!0}},{key:"remove",value:function(){this.removable&&this.removed.emit({chip:this})}},{key:"_handleClick",value:function(e){this.disabled?e.preventDefault():e.stopPropagation()}},{key:"_handleKeydown",value:function(e){if(!this.disabled)switch(e.keyCode){case c.d:case c.b:this.remove(),e.preventDefault();break;case c.o:this.selectable&&this.toggleSelected(!0),e.preventDefault()}}},{key:"_blur",value:function(){var e=this;this._ngZone.onStable.pipe(Object(v.a)(1)).subscribe(function(){e._ngZone.run(function(){e._hasFocus=!1,e._onBlur.next({chip:e})})})}},{key:"_dispatchSelectionChange",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.selectionChange.emit({source:this,isUserInput:e,selected:this._selected})}}]),n}(T);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](d.NgZone),d["\u0275\u0275directiveInject"](S.a),d["\u0275\u0275directiveInject"](u.i,8),d["\u0275\u0275directiveInject"](d.ChangeDetectorRef),d["\u0275\u0275directiveInject"](h.DOCUMENT),d["\u0275\u0275directiveInject"](m.a,8),d["\u0275\u0275injectAttribute"]("tabindex"))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-basic-chip"],["","mat-basic-chip",""],["mat-chip"],["","mat-chip",""]],contentQueries:function(e,t,n){var i;1&e&&(d["\u0275\u0275contentQuery"](n,M,1),d["\u0275\u0275contentQuery"](n,I,1),d["\u0275\u0275contentQuery"](n,E,1)),2&e&&(d["\u0275\u0275queryRefresh"](i=d["\u0275\u0275loadQuery"]())&&(t.avatar=i.first),d["\u0275\u0275queryRefresh"](i=d["\u0275\u0275loadQuery"]())&&(t.trailingIcon=i.first),d["\u0275\u0275queryRefresh"](i=d["\u0275\u0275loadQuery"]())&&(t.removeIcon=i.first))},hostAttrs:["role","option",1,"mat-chip","mat-focus-indicator"],hostVars:14,hostBindings:function(e,t){1&e&&d["\u0275\u0275listener"]("click",function(e){return t._handleClick(e)})("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t.focus()})("blur",function(){return t._blur()}),2&e&&(d["\u0275\u0275attribute"]("tabindex",t.disabled?null:t.tabIndex)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString())("aria-selected",t.ariaSelected),d["\u0275\u0275classProp"]("mat-chip-selected",t.selected)("mat-chip-with-avatar",t.avatar)("mat-chip-with-trailing-icon",t.trailingIcon||t.removeIcon)("mat-chip-disabled",t.disabled)("_mat-animation-noopable",t._animationsDisabled))},inputs:{color:"color",disableRipple:"disableRipple",tabIndex:"tabIndex",selected:"selected",value:"value",selectable:"selectable",disabled:"disabled",removable:"removable"},outputs:{selectionChange:"selectionChange",destroyed:"destroyed",removed:"removed"},exportAs:["matChip"],features:[d["\u0275\u0275InheritDefinitionFeature"]]}),e}(),L=function(){var e=function(){function e(t,n){Object(l.a)(this,e),this._parentChip=t,"BUTTON"===n.nativeElement.nodeName&&n.nativeElement.setAttribute("type","button")}return Object(s.a)(e,[{key:"_handleClick",value:function(e){var t=this._parentChip;t.removable&&!t.disabled&&t.remove(),e.stopPropagation()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](D),d["\u0275\u0275directiveInject"](d.ElementRef))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","matChipRemove",""]],hostAttrs:[1,"mat-chip-remove","mat-chip-trailing-icon"],hostBindings:function(e,t){1&e&&d["\u0275\u0275listener"]("click",function(e){return t._handleClick(e)})},features:[d["\u0275\u0275ProvidersFeature"]([{provide:E,useExisting:e}])]}),e}(),R=new d.InjectionToken("mat-chips-default-options"),j=Object(s.a)(function e(t,n,i,r){Object(l.a)(this,e),this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=i,this.ngControl=r}),A=Object(u.B)(j),F=0,B=Object(s.a)(function e(t,n){Object(l.a)(this,e),this.source=t,this.value=n}),z=function(){var e=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,i,a,o,s,c,u){var p;return Object(l.a)(this,n),(p=t.call(this,c,o,s,u))._elementRef=e,p._changeDetectorRef=i,p._dir=a,p.ngControl=u,p.controlType="mat-chip-list",p._lastDestroyedChipIndex=null,p._destroyed=new g.a,p._uid="mat-chip-list-".concat(F++),p._tabIndex=0,p._userTabIndex=null,p._onTouched=function(){},p._onChange=function(){},p._multiple=!1,p._compareWith=function(e,t){return e===t},p._required=!1,p._disabled=!1,p.ariaOrientation="horizontal",p._selectable=!0,p.change=new d.EventEmitter,p.valueChange=new d.EventEmitter,p.ngControl&&(p.ngControl.valueAccessor=Object(r.a)(p)),p}return Object(s.a)(n,[{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"role",get:function(){return this.empty?null:"listbox"}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=Object(p.c)(e),this._syncChipsState()}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){this.writeValue(e),this._value=e}},{key:"id",get:function(){return this._chipInput?this._chipInput.id:this._uid}},{key:"required",get:function(){return this._required},set:function(e){this._required=Object(p.c)(e),this.stateChanges.next()}},{key:"placeholder",get:function(){return this._chipInput?this._chipInput.placeholder:this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"focused",get:function(){return this._chipInput&&this._chipInput.focused||this._hasFocusedChip()}},{key:"empty",get:function(){return(!this._chipInput||this._chipInput.empty)&&(!this.chips||0===this.chips.length)}},{key:"shouldLabelFloat",get:function(){return!this.empty||this.focused}},{key:"disabled",get:function(){return this.ngControl?!!this.ngControl.disabled:this._disabled},set:function(e){this._disabled=Object(p.c)(e),this._syncChipsState()}},{key:"selectable",get:function(){return this._selectable},set:function(e){var t=this;this._selectable=Object(p.c)(e),this.chips&&this.chips.forEach(function(e){return e.chipListSelectable=t._selectable})}},{key:"tabIndex",set:function(e){this._userTabIndex=e,this._tabIndex=e}},{key:"chipSelectionChanges",get:function(){return f.a.apply(void 0,Object(i.a)(this.chips.map(function(e){return e.selectionChange})))}},{key:"chipFocusChanges",get:function(){return f.a.apply(void 0,Object(i.a)(this.chips.map(function(e){return e._onFocus})))}},{key:"chipBlurChanges",get:function(){return f.a.apply(void 0,Object(i.a)(this.chips.map(function(e){return e._onBlur})))}},{key:"chipRemoveChanges",get:function(){return f.a.apply(void 0,Object(i.a)(this.chips.map(function(e){return e.destroyed})))}},{key:"ngAfterContentInit",value:function(){var e=this;this._keyManager=new x.g(this.chips).withWrap().withVerticalOrientation().withHomeAndEnd().withHorizontalOrientation(this._dir?this._dir.value:"ltr"),this._dir&&this._dir.change.pipe(Object(y.a)(this._destroyed)).subscribe(function(t){return e._keyManager.withHorizontalOrientation(t)}),this._keyManager.tabOut.pipe(Object(y.a)(this._destroyed)).subscribe(function(){e._allowFocusEscape()}),this.chips.changes.pipe(Object(b.a)(null),Object(y.a)(this._destroyed)).subscribe(function(){e.disabled&&Promise.resolve().then(function(){e._syncChipsState()}),e._resetChips(),e._initializeSelection(),e._updateTabIndex(),e._updateFocusForDestroyedChips(),e.stateChanges.next()})}},{key:"ngOnInit",value:function(){this._selectionModel=new _.c(this.multiple,void 0,!1),this.stateChanges.next()}},{key:"ngDoCheck",value:function(){this.ngControl&&(this.updateErrorState(),this.ngControl.disabled!==this._disabled&&(this.disabled=!!this.ngControl.disabled))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this.stateChanges.complete(),this._dropSubscriptions()}},{key:"registerInput",value:function(e){this._chipInput=e,this._elementRef.nativeElement.setAttribute("data-mat-chip-input",e.id)}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"writeValue",value:function(e){this.chips&&this._setSelectionByValue(e,!1)}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this.stateChanges.next()}},{key:"onContainerClick",value:function(e){this._originatesFromChip(e)||this.focus()}},{key:"focus",value:function(e){this.disabled||this._chipInput&&this._chipInput.focused||(this.chips.length>0?(this._keyManager.setFirstItemActive(),this.stateChanges.next()):(this._focusInput(e),this.stateChanges.next()))}},{key:"_focusInput",value:function(e){this._chipInput&&this._chipInput.focus(e)}},{key:"_keydown",value:function(e){var t=e.target;e.keyCode===c.b&&this._isInputEmpty(t)?(this._keyManager.setLastItemActive(),e.preventDefault()):t&&t.classList.contains("mat-chip")&&(this._keyManager.onKeydown(e),this.stateChanges.next())}},{key:"_updateTabIndex",value:function(){this._tabIndex=this._userTabIndex||(0===this.chips.length?-1:0)}},{key:"_updateFocusForDestroyedChips",value:function(){if(null!=this._lastDestroyedChipIndex)if(this.chips.length){var e=Math.min(this._lastDestroyedChipIndex,this.chips.length-1);this._keyManager.setActiveItem(e)}else this.focus();this._lastDestroyedChipIndex=null}},{key:"_isValidIndex",value:function(e){return e>=0&&e<this.chips.length}},{key:"_isInputEmpty",value:function(e){return!(!e||"input"!==e.nodeName.toLowerCase()||e.value)}},{key:"_setSelectionByValue",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(this._clearSelection(),this.chips.forEach(function(e){return e.deselect()}),Array.isArray(e))e.forEach(function(e){return t._selectValue(e,n)}),this._sortValues();else{var i=this._selectValue(e,n);i&&n&&this._keyManager.setActiveItem(i)}}},{key:"_selectValue",value:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.chips.find(function(n){return null!=n.value&&t._compareWith(n.value,e)});return i&&(n?i.selectViaInteraction():i.select(),this._selectionModel.select(i)),i}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){(e.ngControl||e._value)&&(e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value,!1),e.stateChanges.next())})}},{key:"_clearSelection",value:function(e){this._selectionModel.clear(),this.chips.forEach(function(t){t!==e&&t.deselect()}),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;this._multiple&&(this._selectionModel.clear(),this.chips.forEach(function(t){t.selected&&e._selectionModel.select(t)}),this.stateChanges.next())}},{key:"_propagateChanges",value:function(e){var t;t=Array.isArray(this.selected)?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.change.emit(new B(this,t)),this.valueChange.emit(t),this._onChange(t),this._changeDetectorRef.markForCheck()}},{key:"_blur",value:function(){var e=this;this._hasFocusedChip()||this._keyManager.setActiveItem(-1),this.disabled||(this._chipInput?setTimeout(function(){e.focused||e._markAsTouched()}):this._markAsTouched())}},{key:"_markAsTouched",value:function(){this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"_allowFocusEscape",value:function(){var e=this;-1!==this._tabIndex&&(this._tabIndex=-1,setTimeout(function(){e._tabIndex=e._userTabIndex||0,e._changeDetectorRef.markForCheck()}))}},{key:"_resetChips",value:function(){this._dropSubscriptions(),this._listenToChipsFocus(),this._listenToChipsSelection(),this._listenToChipsRemoved()}},{key:"_dropSubscriptions",value:function(){this._chipFocusSubscription&&(this._chipFocusSubscription.unsubscribe(),this._chipFocusSubscription=null),this._chipBlurSubscription&&(this._chipBlurSubscription.unsubscribe(),this._chipBlurSubscription=null),this._chipSelectionSubscription&&(this._chipSelectionSubscription.unsubscribe(),this._chipSelectionSubscription=null),this._chipRemoveSubscription&&(this._chipRemoveSubscription.unsubscribe(),this._chipRemoveSubscription=null)}},{key:"_listenToChipsSelection",value:function(){var e=this;this._chipSelectionSubscription=this.chipSelectionChanges.subscribe(function(t){t.source.selected?e._selectionModel.select(t.source):e._selectionModel.deselect(t.source),e.multiple||e.chips.forEach(function(t){!e._selectionModel.isSelected(t)&&t.selected&&t.deselect()}),t.isUserInput&&e._propagateChanges()})}},{key:"_listenToChipsFocus",value:function(){var e=this;this._chipFocusSubscription=this.chipFocusChanges.subscribe(function(t){var n=e.chips.toArray().indexOf(t.chip);e._isValidIndex(n)&&e._keyManager.updateActiveItem(n),e.stateChanges.next()}),this._chipBlurSubscription=this.chipBlurChanges.subscribe(function(){e._blur(),e.stateChanges.next()})}},{key:"_listenToChipsRemoved",value:function(){var e=this;this._chipRemoveSubscription=this.chipRemoveChanges.subscribe(function(t){var n=t.chip,i=e.chips.toArray().indexOf(t.chip);e._isValidIndex(i)&&n._hasFocus&&(e._lastDestroyedChipIndex=i)})}},{key:"_originatesFromChip",value:function(e){for(var t=e.target;t&&t!==this._elementRef.nativeElement;){if(t.classList.contains("mat-chip"))return!0;t=t.parentElement}return!1}},{key:"_hasFocusedChip",value:function(){return this.chips&&this.chips.some(function(e){return e._hasFocus})}},{key:"_syncChipsState",value:function(){var e=this;this.chips&&this.chips.forEach(function(t){t._chipListDisabled=e._disabled,t._chipListMultiple=e.multiple})}}]),n}(A);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](d.ChangeDetectorRef),d["\u0275\u0275directiveInject"](C.b,8),d["\u0275\u0275directiveInject"](k.q,8),d["\u0275\u0275directiveInject"](k.i,8),d["\u0275\u0275directiveInject"](u.d),d["\u0275\u0275directiveInject"](k.n,10))},e.\u0275cmp=d["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-chip-list"]],contentQueries:function(e,t,n){var i;1&e&&d["\u0275\u0275contentQuery"](n,D,1),2&e&&d["\u0275\u0275queryRefresh"](i=d["\u0275\u0275loadQuery"]())&&(t.chips=i)},hostAttrs:[1,"mat-chip-list"],hostVars:15,hostBindings:function(e,t){1&e&&d["\u0275\u0275listener"]("focus",function(){return t.focus()})("blur",function(){return t._blur()})("keydown",function(e){return t._keydown(e)}),2&e&&(d["\u0275\u0275hostProperty"]("id",t._uid),d["\u0275\u0275attribute"]("tabindex",t.disabled?null:t._tabIndex)("aria-describedby",t._ariaDescribedby||null)("aria-required",t.role?t.required:null)("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-multiselectable",t.multiple)("role",t.role)("aria-orientation",t.ariaOrientation),d["\u0275\u0275classProp"]("mat-chip-list-disabled",t.disabled)("mat-chip-list-invalid",t.errorState)("mat-chip-list-required",t.required))},inputs:{ariaOrientation:["aria-orientation","ariaOrientation"],multiple:"multiple",compareWith:"compareWith",value:"value",required:"required",placeholder:"placeholder",disabled:"disabled",selectable:"selectable",tabIndex:"tabIndex",errorStateMatcher:"errorStateMatcher"},outputs:{change:"change",valueChange:"valueChange"},exportAs:["matChipList"],features:[d["\u0275\u0275ProvidersFeature"]([{provide:w.d,useExisting:e}]),d["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:O,decls:2,vars:0,consts:[[1,"mat-chip-list-wrapper"]],template:function(e,t){1&e&&(d["\u0275\u0275projectionDef"](),d["\u0275\u0275elementStart"](0,"div",0),d["\u0275\u0275projection"](1),d["\u0275\u0275elementEnd"]())},styles:['.mat-chip{position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transform:translateZ(0);border:none;-webkit-appearance:none;-moz-appearance:none}.mat-standard-chip{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px}._mat-animation-noopable.mat-standard-chip{transition:none;animation:none}.mat-standard-chip .mat-chip-remove.mat-icon{width:18px;height:18px}.mat-standard-chip::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;opacity:0;content:"";pointer-events:none;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-standard-chip:hover::after{opacity:.12}.mat-standard-chip:focus{outline:none}.mat-standard-chip:focus::after{opacity:.16}.cdk-high-contrast-active .mat-standard-chip{outline:solid 1px}.cdk-high-contrast-active .mat-standard-chip:focus{outline:dotted 2px}.mat-standard-chip.mat-chip-disabled::after{opacity:0}.mat-standard-chip.mat-chip-disabled .mat-chip-remove,.mat-standard-chip.mat-chip-disabled .mat-chip-trailing-icon{cursor:default}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar,.mat-standard-chip.mat-chip-with-avatar{padding-top:0;padding-bottom:0}.mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-right:8px;padding-left:0}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon.mat-chip-with-avatar{padding-left:8px;padding-right:0}.mat-standard-chip.mat-chip-with-trailing-icon{padding-top:7px;padding-bottom:7px;padding-right:8px;padding-left:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-trailing-icon{padding-left:8px;padding-right:12px}.mat-standard-chip.mat-chip-with-avatar{padding-left:0;padding-right:12px}[dir=rtl] .mat-standard-chip.mat-chip-with-avatar{padding-right:0;padding-left:12px}.mat-standard-chip .mat-chip-avatar{width:24px;height:24px;margin-right:8px;margin-left:4px}[dir=rtl] .mat-standard-chip .mat-chip-avatar{margin-left:8px;margin-right:4px}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{width:18px;height:18px;cursor:pointer}.mat-standard-chip .mat-chip-remove,.mat-standard-chip .mat-chip-trailing-icon{margin-left:8px;margin-right:0}[dir=rtl] .mat-standard-chip .mat-chip-remove,[dir=rtl] .mat-standard-chip .mat-chip-trailing-icon{margin-right:8px;margin-left:0}.mat-chip-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit;overflow:hidden}.mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;margin:-4px}.mat-chip-list-wrapper input.mat-input-element,.mat-chip-list-wrapper .mat-standard-chip{margin:4px}.mat-chip-list-stacked .mat-chip-list-wrapper{flex-direction:column;align-items:flex-start}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-standard-chip{width:100%}.mat-chip-avatar{border-radius:50%;justify-content:center;align-items:center;display:flex;overflow:hidden;object-fit:cover}input.mat-chip-input{width:150px;margin:4px;flex:1 0 150px}\n'],encapsulation:2,changeDetection:0}),e}(),N=0,H=function(){var e=function(){function e(t,n){Object(l.a)(this,e),this._elementRef=t,this._defaultOptions=n,this.focused=!1,this._addOnBlur=!1,this.separatorKeyCodes=this._defaultOptions.separatorKeyCodes,this.chipEnd=new d.EventEmitter,this.placeholder="",this.id="mat-chip-list-input-".concat(N++),this._disabled=!1,this._inputElement=this._elementRef.nativeElement}return Object(s.a)(e,[{key:"chipList",set:function(e){e&&(this._chipList=e,this._chipList.registerInput(this))}},{key:"addOnBlur",get:function(){return this._addOnBlur},set:function(e){this._addOnBlur=Object(p.c)(e)}},{key:"disabled",get:function(){return this._disabled||this._chipList&&this._chipList.disabled},set:function(e){this._disabled=Object(p.c)(e)}},{key:"empty",get:function(){return!this._inputElement.value}},{key:"ngOnChanges",value:function(){this._chipList.stateChanges.next()}},{key:"_keydown",value:function(e){e&&e.keyCode===c.p&&!Object(c.t)(e,"shiftKey")&&this._chipList._allowFocusEscape(),this._emitChipEnd(e)}},{key:"_blur",value:function(){this.addOnBlur&&this._emitChipEnd(),this.focused=!1,this._chipList.focused||this._chipList._blur(),this._chipList.stateChanges.next()}},{key:"_focus",value:function(){this.focused=!0,this._chipList.stateChanges.next()}},{key:"_emitChipEnd",value:function(e){!this._inputElement.value&&e&&this._chipList._keydown(e),e&&!this._isSeparatorKey(e)||(this.chipEnd.emit({input:this._inputElement,value:this._inputElement.value}),e&&e.preventDefault())}},{key:"_onInput",value:function(){this._chipList.stateChanges.next()}},{key:"focus",value:function(e){this._inputElement.focus(e)}},{key:"_isSeparatorKey",value:function(e){return!Object(c.t)(e)&&new Set(this.separatorKeyCodes).has(e.keyCode)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](R))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["input","matChipInputFor",""]],hostAttrs:[1,"mat-chip-input","mat-input-element"],hostVars:5,hostBindings:function(e,t){1&e&&d["\u0275\u0275listener"]("keydown",function(e){return t._keydown(e)})("blur",function(){return t._blur()})("focus",function(){return t._focus()})("input",function(){return t._onInput()}),2&e&&(d["\u0275\u0275hostProperty"]("id",t.id),d["\u0275\u0275attribute"]("disabled",t.disabled||null)("placeholder",t.placeholder||null)("aria-invalid",t._chipList&&t._chipList.ngControl?t._chipList.ngControl.invalid:null)("aria-required",t._chipList&&t._chipList.required||null))},inputs:{separatorKeyCodes:["matChipInputSeparatorKeyCodes","separatorKeyCodes"],placeholder:"placeholder",id:"id",chipList:["matChipInputFor","chipList"],addOnBlur:["matChipInputAddOnBlur","addOnBlur"],disabled:"disabled"},outputs:{chipEnd:"matChipInputTokenEnd"},exportAs:["matChipInput","matChipInputFor"],features:[d["\u0275\u0275NgOnChangesFeature"]]}),e}(),V={separatorKeyCodes:[c.g]},Y=function(){var e=Object(s.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({providers:[u.d,{provide:R,useValue:V}],imports:[[u.j]]}),e}()},AB3J:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var i=n("hxEm"),r=n("wd/R"),a=n("fXoL"),o=n("ofXK"),s=n("kmnG"),l=n("qFsG"),c=n("iadO"),d=n("3Pt+"),u=n("sYmb");function p(e,t){if(1&e&&(a["\u0275\u0275elementStart"](0,"div",15),a["\u0275\u0275text"](1),a["\u0275\u0275pipe"](2,"translate"),a["\u0275\u0275elementEnd"]()),2&e){var n=a["\u0275\u0275nextContext"]();a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate2"](" ",n.numDays," ",a["\u0275\u0275pipeBind1"](2,2,"ROOT.days")," ")}}var h=function(e){return{"selected-time-range":e}},m=function(){function e(e){var t=this;this.dateService=e,this.numDays=0,this.timeRangeDays=0,this.dateService.dateRange.subscribe(function(e){t.startDate=new Date(e.startDate),t.endDate=new Date(e.endDate),t.timeRangeDays=e.timeRangeDays||0,t.numDays=r(t.endDate).diff(t.startDate,"day")+1})}return e.prototype.ngOnChanges=function(e){e.firstDate&&e.firstDate.currentValue&&this.dateService.setFirstdate(e.firstDate.currentValue)},e.prototype.ngOnInit=function(){this.dateService.reset()},e.prototype.changeTimeRange=function(e){this.timeRangeDays=e,this.dateService.changeTimeRange(e)},e.prototype.arrowClicked=function(e,t){this.dateService.arrowClicked(e,t)},e.prototype.customStartChanged=function(e){this.timeRangeDays=0,this.dateService.customStartChanged(e)},e.prototype.customEndChanged=function(e){this.timeRangeDays=0,this.dateService.customEndChanged(e)},e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275directiveInject"](i.a))},e.\u0275cmp=a["\u0275\u0275defineComponent"]({type:e,selectors:[["app-datepicker"]],inputs:{callback:"callback",firstDate:"firstDate"},features:[a["\u0275\u0275NgOnChangesFeature"]],decls:33,vars:35,consts:[[1,"time-range"],[3,"ngClass","click"],[2,"clear","both"],[1,"mat-datepicker-container"],[2,"width","7%","flex-grow","1","height","30px",3,"click"],["src","/static/img/grey-arrow-back.png",1,"left-datepicker-arrow"],[2,"height","30px","width","120px"],["matInput","",2,"flex-grow","2","text-align","center",3,"matDatepicker","ngModel","click","ngModelChange"],["input1",""],[1,"datepicker-dash",2,"height","30px"],[2,"width","120px","height","30px"],["input2",""],[2,"height","30px","width","7%","text-align","right","flex-grow","1",3,"click"],["src","/static/img/grey-arrow-forward.png",1,"right-datepicker-arrow"],["class","number-of-days",4,"ngIf"],[1,"number-of-days"]],template:function(e,t){if(1&e){var n=a["\u0275\u0275getCurrentView"]();a["\u0275\u0275elementStart"](0,"div",0),a["\u0275\u0275elementStart"](1,"div",1),a["\u0275\u0275listener"]("click",function(){return t.changeTimeRange(7)}),a["\u0275\u0275text"](2),a["\u0275\u0275pipe"](3,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](4,"div",1),a["\u0275\u0275listener"]("click",function(){return t.changeTimeRange(30)}),a["\u0275\u0275text"](5),a["\u0275\u0275pipe"](6,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](7,"div",1),a["\u0275\u0275listener"]("click",function(){return t.changeTimeRange(365)}),a["\u0275\u0275text"](8),a["\u0275\u0275pipe"](9,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](10,"div",1),a["\u0275\u0275listener"]("click",function(){return t.changeTimeRange(1)}),a["\u0275\u0275text"](11),a["\u0275\u0275pipe"](12,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](13,"div",1),a["\u0275\u0275listener"]("click",function(){return t.changeTimeRange(0)}),a["\u0275\u0275text"](14),a["\u0275\u0275pipe"](15,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275element"](16,"div",2),a["\u0275\u0275elementStart"](17,"div",3),a["\u0275\u0275elementStart"](18,"div",4),a["\u0275\u0275listener"]("click",function(){return t.arrowClicked("left",t.timeRangeDays)}),a["\u0275\u0275element"](19,"img",5),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](20,"mat-form-field",6),a["\u0275\u0275elementStart"](21,"input",7),a["\u0275\u0275listener"]("click",function(){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275reference"](23).open()})("ngModelChange",function(e){return t.customStartChanged(e)})("ngModelChange",function(e){return t.startDate=e}),a["\u0275\u0275elementEnd"](),a["\u0275\u0275element"](22,"mat-datepicker",null,8),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](24,"div",9),a["\u0275\u0275text"](25,"\u2014"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](26,"mat-form-field",10),a["\u0275\u0275elementStart"](27,"input",7),a["\u0275\u0275listener"]("click",function(){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275reference"](29).open()})("ngModelChange",function(e){return t.customEndChanged(e)})("ngModelChange",function(e){return t.endDate=e}),a["\u0275\u0275elementEnd"](),a["\u0275\u0275element"](28,"mat-datepicker",null,11),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](30,"div",12),a["\u0275\u0275listener"]("click",function(){return t.arrowClicked("right",t.timeRangeDays)}),a["\u0275\u0275element"](31,"img",13),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275template"](32,p,3,4,"div",14)}if(2&e){var i=a["\u0275\u0275reference"](23),r=a["\u0275\u0275reference"](29);a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("ngClass",a["\u0275\u0275pureFunction1"](25,h,7===t.timeRangeDays)),a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate1"](" ",a["\u0275\u0275pipeBind1"](3,15,"ROOT.Week")," "),a["\u0275\u0275advance"](2),a["\u0275\u0275property"]("ngClass",a["\u0275\u0275pureFunction1"](27,h,30===t.timeRangeDays)),a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate1"](" ",a["\u0275\u0275pipeBind1"](6,17,"ROOT.Month")," "),a["\u0275\u0275advance"](2),a["\u0275\u0275property"]("ngClass",a["\u0275\u0275pureFunction1"](29,h,365===t.timeRangeDays)),a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate1"](" ",a["\u0275\u0275pipeBind1"](9,19,"ROOT.Year")," "),a["\u0275\u0275advance"](2),a["\u0275\u0275property"]("ngClass",a["\u0275\u0275pureFunction1"](31,h,1===t.timeRangeDays)),a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate1"](" ",a["\u0275\u0275pipeBind1"](12,21,"ROOT.All")," "),a["\u0275\u0275advance"](2),a["\u0275\u0275property"]("ngClass",a["\u0275\u0275pureFunction1"](33,h,0===t.timeRangeDays)),a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate1"](" ",a["\u0275\u0275pipeBind1"](15,23,"ROOT.Custom")," "),a["\u0275\u0275advance"](7),a["\u0275\u0275property"]("matDatepicker",i)("ngModel",t.startDate),a["\u0275\u0275advance"](6),a["\u0275\u0275property"]("matDatepicker",r)("ngModel",t.endDate),a["\u0275\u0275advance"](5),a["\u0275\u0275property"]("ngIf",t.numDays>0)}},directives:[o.NgClass,s.c,l.b,c.b,d.c,d.o,d.r,c.a,o.NgIf],pipes:[u.c],styles:[".time-range[_ngcontent-%COMP%]{text-align:center;line-height:50px;cursor:pointer}.mat-form-field-infix[_ngcontent-%COMP%]{border:none!important;text-align:center!important}.mat-form-field[_ngcontent-%COMP%]{font-family:Helvetica Neue,Helvetica,Arial,sans-serif!important;font-weight:400}.mat-datepicker-container[_ngcontent-%COMP%]{display:flex;display:-webkit-flex;flex-flow:row;padding:20px 0}.number-of-days[_ngcontent-%COMP%]{text-align:center;margin:5px 0}@media (min-width:768px){.left-datepicker-arrow[_ngcontent-%COMP%]{float:right;margin-right:20px}.right-datepicker-arrow[_ngcontent-%COMP%]{float:left;margin-left:20px}.mat-datepicker-container[_ngcontent-%COMP%]{padding:13px 0 0;margin:0 0 0 -2px;background-color:transparent}}@media (max-width:767px){.left-datepicker-arrow[_ngcontent-%COMP%]{margin-left:20px}.right-datepicker-arrow[_ngcontent-%COMP%]{margin-right:20px}}"]}),e}()},AQ68:function(e,t,n){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(n("wd/R"))},AvvY:function(e,t,n){!function(e){"use strict";e.defineLocale("ml",{months:"\u0d1c\u0d28\u0d41\u0d35\u0d30\u0d3f_\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41\u0d35\u0d30\u0d3f_\u0d2e\u0d3e\u0d7c\u0d1a\u0d4d\u0d1a\u0d4d_\u0d0f\u0d2a\u0d4d\u0d30\u0d3f\u0d7d_\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48_\u0d13\u0d17\u0d38\u0d4d\u0d31\u0d4d\u0d31\u0d4d_\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31\u0d02\u0d2c\u0d7c_\u0d12\u0d15\u0d4d\u0d1f\u0d4b\u0d2c\u0d7c_\u0d28\u0d35\u0d02\u0d2c\u0d7c_\u0d21\u0d3f\u0d38\u0d02\u0d2c\u0d7c".split("_"),monthsShort:"\u0d1c\u0d28\u0d41._\u0d2b\u0d46\u0d2c\u0d4d\u0d30\u0d41._\u0d2e\u0d3e\u0d7c._\u0d0f\u0d2a\u0d4d\u0d30\u0d3f._\u0d2e\u0d47\u0d2f\u0d4d_\u0d1c\u0d42\u0d7a_\u0d1c\u0d42\u0d32\u0d48._\u0d13\u0d17._\u0d38\u0d46\u0d2a\u0d4d\u0d31\u0d4d\u0d31._\u0d12\u0d15\u0d4d\u0d1f\u0d4b._\u0d28\u0d35\u0d02._\u0d21\u0d3f\u0d38\u0d02.".split("_"),monthsParseExact:!0,weekdays:"\u0d1e\u0d3e\u0d2f\u0d31\u0d3e\u0d34\u0d4d\u0d1a_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d33\u0d3e\u0d34\u0d4d\u0d1a_\u0d1a\u0d4a\u0d35\u0d4d\u0d35\u0d3e\u0d34\u0d4d\u0d1a_\u0d2c\u0d41\u0d27\u0d28\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d3e\u0d34\u0d4d\u0d1a_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a_\u0d36\u0d28\u0d3f\u0d2f\u0d3e\u0d34\u0d4d\u0d1a".split("_"),weekdaysShort:"\u0d1e\u0d3e\u0d2f\u0d7c_\u0d24\u0d3f\u0d19\u0d4d\u0d15\u0d7e_\u0d1a\u0d4a\u0d35\u0d4d\u0d35_\u0d2c\u0d41\u0d27\u0d7b_\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02_\u0d35\u0d46\u0d33\u0d4d\u0d33\u0d3f_\u0d36\u0d28\u0d3f".split("_"),weekdaysMin:"\u0d1e\u0d3e_\u0d24\u0d3f_\u0d1a\u0d4a_\u0d2c\u0d41_\u0d35\u0d4d\u0d2f\u0d3e_\u0d35\u0d46_\u0d36".split("_"),longDateFormat:{LT:"A h:mm -\u0d28\u0d41",LTS:"A h:mm:ss -\u0d28\u0d41",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -\u0d28\u0d41",LLLL:"dddd, D MMMM YYYY, A h:mm -\u0d28\u0d41"},calendar:{sameDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d4d] LT",nextDay:"[\u0d28\u0d3e\u0d33\u0d46] LT",nextWeek:"dddd, LT",lastDay:"[\u0d07\u0d28\u0d4d\u0d28\u0d32\u0d46] LT",lastWeek:"[\u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d",past:"%s \u0d2e\u0d41\u0d7b\u0d2a\u0d4d",s:"\u0d05\u0d7d\u0d2a \u0d28\u0d3f\u0d2e\u0d3f\u0d37\u0d19\u0d4d\u0d19\u0d7e",ss:"%d \u0d38\u0d46\u0d15\u0d4d\u0d15\u0d7b\u0d21\u0d4d",m:"\u0d12\u0d30\u0d41 \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",mm:"%d \u0d2e\u0d3f\u0d28\u0d3f\u0d31\u0d4d\u0d31\u0d4d",h:"\u0d12\u0d30\u0d41 \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",hh:"%d \u0d2e\u0d23\u0d3f\u0d15\u0d4d\u0d15\u0d42\u0d7c",d:"\u0d12\u0d30\u0d41 \u0d26\u0d3f\u0d35\u0d38\u0d02",dd:"%d \u0d26\u0d3f\u0d35\u0d38\u0d02",M:"\u0d12\u0d30\u0d41 \u0d2e\u0d3e\u0d38\u0d02",MM:"%d \u0d2e\u0d3e\u0d38\u0d02",y:"\u0d12\u0d30\u0d41 \u0d35\u0d7c\u0d37\u0d02",yy:"%d \u0d35\u0d7c\u0d37\u0d02"},meridiemParse:/\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f|\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46|\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d|\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02|\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f/i,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===t&&e>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===t||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":e<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":e<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":e<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(n("wd/R"))},B55N:function(e,t,n){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"\u4ee4\u548c",narrow:"\u32ff",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"\u5e73\u6210",narrow:"\u337b",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"\u662d\u548c",narrow:"\u337c",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"\u5927\u6b63",narrow:"\u337d",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"\u660e\u6cbb",narrow:"\u337e",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"\u897f\u66a6",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"\u7d00\u5143\u524d",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(\u5143|\d+)\u5e74/,eraYearOrdinalParse:function(e,t){return"\u5143"===t[1]?1:parseInt(t[1]||e,10)},months:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u65e5\u66dc\u65e5_\u6708\u66dc\u65e5_\u706b\u66dc\u65e5_\u6c34\u66dc\u65e5_\u6728\u66dc\u65e5_\u91d1\u66dc\u65e5_\u571f\u66dc\u65e5".split("_"),weekdaysShort:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),weekdaysMin:"\u65e5_\u6708_\u706b_\u6c34_\u6728_\u91d1_\u571f".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5(ddd) HH:mm"},meridiemParse:/\u5348\u524d|\u5348\u5f8c/i,isPM:function(e){return"\u5348\u5f8c"===e},meridiem:function(e,t,n){return e<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(e){return e.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(e){return this.week()!==e.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(e,t){switch(t){case"y":return 1===e?"\u5143\u5e74":e+"\u5e74";case"d":case"D":case"DDD":return e+"\u65e5";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u6570\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593",d:"1\u65e5",dd:"%d\u65e5",M:"1\u30f6\u6708",MM:"%d\u30f6\u6708",y:"1\u5e74",yy:"%d\u5e74"}})}(n("wd/R"))},BVg3:function(e,t,n){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function n(e,n,i,r){var a=e+" ";switch(i){case"s":return n||r?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return t(e)?a+(n||r?"sek\xfandur":"sek\xfandum"):a+"sek\xfanda";case"m":return n?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return t(e)?a+(n||r?"m\xedn\xfatur":"m\xedn\xfatum"):n?a+"m\xedn\xfata":a+"m\xedn\xfatu";case"hh":return t(e)?a+(n||r?"klukkustundir":"klukkustundum"):a+"klukkustund";case"d":return n?"dagur":r?"dag":"degi";case"dd":return t(e)?n?a+"dagar":a+(r?"daga":"d\xf6gum"):n?a+"dagur":a+(r?"dag":"degi");case"M":return n?"m\xe1nu\xf0ur":r?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return t(e)?n?a+"m\xe1nu\xf0ir":a+(r?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):n?a+"m\xe1nu\xf0ur":a+(r?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return n||r?"\xe1r":"\xe1ri";case"yy":return t(e)?a+(n||r?"\xe1r":"\xe1rum"):a+(n||r?"\xe1r":"\xe1ri")}}e.defineLocale("is",{months:"jan\xfaar_febr\xfaar_mars_apr\xedl_ma\xed_j\xfan\xed_j\xfal\xed_\xe1g\xfast_september_okt\xf3ber_n\xf3vember_desember".split("_"),monthsShort:"jan_feb_mar_apr_ma\xed_j\xfan_j\xfal_\xe1g\xfa_sep_okt_n\xf3v_des".split("_"),weekdays:"sunnudagur_m\xe1nudagur_\xferi\xf0judagur_mi\xf0vikudagur_fimmtudagur_f\xf6studagur_laugardagur".split("_"),weekdaysShort:"sun_m\xe1n_\xferi_mi\xf0_fim_f\xf6s_lau".split("_"),weekdaysMin:"Su_M\xe1_\xder_Mi_Fi_F\xf6_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[\xed dag kl.] LT",nextDay:"[\xe1 morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xed g\xe6r kl.] LT",lastWeek:"[s\xed\xf0asta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s s\xed\xf0an",s:n,ss:n,m:n,mm:n,h:"klukkustund",hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},BsWD:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("a3WO");function r(e,t){if(e){if("string"==typeof e)return Object(i.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(i.a)(e,t):void 0}}},"Bu+s":function(e,t,n){"use strict";n.d(t,"nb",function(){return u}),n.d(t,"p",function(){return p}),n.d(t,"e",function(){return h}),n.d(t,"a",function(){return m}),n.d(t,"L",function(){return g}),n.d(t,"i",function(){return f}),n.d(t,"X",function(){return v}),n.d(t,"r",function(){return y}),n.d(t,"E",function(){return b}),n.d(t,"I",function(){return x}),n.d(t,"u",function(){return _}),n.d(t,"ab",function(){return w}),n.d(t,"J",function(){return S}),n.d(t,"T",function(){return C}),n.d(t,"q",function(){return k}),n.d(t,"m",function(){return O}),n.d(t,"mb",function(){return E}),n.d(t,"jb",function(){return M}),n.d(t,"t",function(){return P}),n.d(t,"k",function(){return T}),n.d(t,"v",function(){return D}),n.d(t,"F",function(){return L}),n.d(t,"fb",function(){return R}),n.d(t,"bb",function(){return j}),n.d(t,"l",function(){return A}),n.d(t,"W",function(){return F}),n.d(t,"P",function(){return B}),n.d(t,"c",function(){return z}),n.d(t,"gb",function(){return N}),n.d(t,"S",function(){return H}),n.d(t,"U",function(){return V}),n.d(t,"d",function(){return Y}),n.d(t,"j",function(){return W}),n.d(t,"f",function(){return G}),n.d(t,"B",function(){return U}),n.d(t,"H",function(){return q}),n.d(t,"lb",function(){return Z}),n.d(t,"hb",function(){return X}),n.d(t,"cb",function(){return K}),n.d(t,"ib",function(){return J}),n.d(t,"w",function(){return Q}),n.d(t,"K",function(){return ee}),n.d(t,"Q",function(){return te}),n.d(t,"D",function(){return ne}),n.d(t,"g",function(){return ie}),n.d(t,"C",function(){return re}),n.d(t,"s",function(){return ae}),n.d(t,"o",function(){return oe}),n.d(t,"z",function(){return se}),n.d(t,"db",function(){return le}),n.d(t,"G",function(){return ce}),n.d(t,"eb",function(){return de}),n.d(t,"R",function(){return ue}),n.d(t,"x",function(){return pe}),n.d(t,"ob",function(){return he}),n.d(t,"sb",function(){return me}),n.d(t,"O",function(){return ge}),n.d(t,"n",function(){return fe}),n.d(t,"b",function(){return ve}),n.d(t,"N",function(){return ye}),n.d(t,"pb",function(){return be}),n.d(t,"qb",function(){return xe}),n.d(t,"rb",function(){return _e}),n.d(t,"A",function(){return we}),n.d(t,"y",function(){return Se}),n.d(t,"V",function(){return Ce}),n.d(t,"kb",function(){return ke}),n.d(t,"Y",function(){return Oe}),n.d(t,"Z",function(){return Ee}),n.d(t,"M",function(){return Me}),n.d(t,"h",function(){return Ie});var i=n("wd/R"),r=n.n(i),a=n("kHM/"),o=n("LvDl"),s=n("ofXK"),l=n("fXoL"),c=n("sYmb"),d=n("jhN1"),u=["en","es","fr","it","de"];function p(e){var t,n;try{t=e.controls.password.value,n=e.controls.confirmPassword.value}catch(i){t=e.controls.groupPassword.value,n=e.controls.confirmpass.value}return t===n?null:{notSame:!0}}var h={parse:{dateInput:"LL"},display:{dateInput:"MMMM Do [\n] dddd",monthYearLabel:"MMM YYYY",dateA11yLabel:"MMMM Do [\n] dddd",monthYearA11yLabel:"MMMM YYYY"}},m={parse:{dateInput:"LL"},display:{dateInput:"dddd, MMMM D, YYYY",monthYearLabel:"MMM YYYY",dateA11yLabel:"dddd, MMMM D, YYYY",monthYearA11yLabel:"MMMM YYYY"}},g={path:"M 0,0 0,0",strokeOpacity:1,scale:6};Date.prototype.stdTimezoneOffset=function(){var e=new Date(this.getFullYear(),0,1),t=new Date(this.getFullYear(),6,1);return Math.max(e.getTimezoneOffset(),t.getTimezoneOffset())};var f={FITDIGITS:{zone:[{zone:0,tizColor:"#98BFDE",tizLightColor:"#98BFDE",tizClass:"tizBelow",tizClassBkgrnd:"tiz-below-bkgrnd",splitsClassBkgrnd:"splitsBelow",zoneGraphTextColor:"#25355E"},{zone:1,tizColor:"#4597CB",tizLightColor:"#98BFDE",tizClass:"tizEasy",tizClassBkgrnd:"tiz-easy-bkgrnd",splitsClassBkgrnd:"splitsEasy",zoneGraphTextColor:"#22465C"},{zone:2,tizColor:"#03A89E",tizLightColor:"#87C4BF",tizClass:"tizFatBurn",tizClassBkgrnd:"tiz-fatburn-bkgrnd",splitsClassBkgrnd:"splitsFatBurn",zoneGraphTextColor:"#16555A"},{zone:3,tizColor:"#3FAE48",tizLightColor:"#95CD81",tizClass:"tizEndurance",tizClassBkgrnd:"tiz-endurance-bkgrnd",splitsClassBkgrnd:"splitsEndurance",zoneGraphTextColor:"#016334"},{zone:4,tizColor:"#FCB424",tizLightColor:"#FFD381",tizClass:"tizHardcore",tizClassBkgrnd:"tiz-hardcore-bkgrnd",splitsClassBkgrnd:"splitsHardcore",zoneGraphTextColor:"#80590F"},{zone:5,tizColor:"#F16124",tizLightColor:"#F79C6E",tizClass:"tizMaxEffort",tizClassBkgrnd:"tiz-maxeffort-bkgrnd",splitsClassBkgrnd:"splitsMaxEffort",zoneGraphTextColor:"#7D2602"},{zone:6,tizColor:"#EE3123",tizLightColor:"#F58967",tizClass:"tizAbove",tizClassBkgrnd:"tiz-above-bkgrnd",splitsClassBkgrnd:"splitsAbove",zoneGraphTextColor:"#5C0000"}]},SPINNING_POWER:{zone:[{zone:0,tizColor:"#98BFDE",tizClass:"tizBelow",zoneGraphTextColor:"#000000"},{zone:1,tizColor:"#4597CB",tizClass:"tizPowerZone1",zoneGraphTextColor:"#000000"},{zone:2,tizColor:"#3FAE48",tizClass:"tizPowerZone2",zoneGraphTextColor:"#000000"},{zone:3,tizColor:"#FCB424",tizClass:"tizPowerZone3",zoneGraphTextColor:"#000000"},{zone:4,tizColor:"#F16124",tizClass:"tizPowerZone4",zoneGraphTextColor:"#000000"},{zone:5,tizColor:"#EE3123",tizClass:"tizPowerZone5",zoneGraphTextColor:"#000000"},{zone:6,tizColor:"#901607",tizClass:"tizAbove",zoneGraphTextColor:"#000000"}]}};function v(e,t){return Math.floor(Math.random()*(t-e+1)+e)}function y(e){return e.getTimezoneOffset()<e.stdTimezoneOffset()}function b(e,t,n){var i=e[t];return void 0!==i?i:n}function x(e){return e<10?"0"+e:e}function _(e){var t=e.getFullYear(),n=I(e.getDate());return t+"-"+I(e.getMonth()+1)+"-"+n}function w(e,t){var n=Number(e),i=Math.pow(10,t);return Math.round(n*i)/i}function S(e,t){return e.length<=t?e:e.substring(0,t).trim()+".."}function C(e){return e<=0?"0:00":N(3600/e)}function k(e){return $.extend(!0,{},e)}function O(e,t){return t.setDate(t.getDate()+e),t}function E(e,t){return t.setDate(t.getDate()-e),t}function M(e,t){var n=e.length;return t.sort(function(t,i){for(var r=0;r<n;)t=t[e[r]],i=i[e[r]],r++;return t<i?-1:t>i?1:0}),t}function I(e){return e>=0&&e<=9?"0"+e:e}function P(e){return Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0)}function T(e){var t=e.split("-"),n=parseInt(t[0],10),i=parseInt(t[1],10)-1,r=parseInt(t[2],10);return Date.UTC(n,i,r,0,0,0,0)}function D(e){if(null==e)return console.log("this.dateStringToDateObj - no date passed!"),null;if("T"==e.charAt(10)){var t=e.split("T"),n=t[0].split("-"),i=t[1].split(":"),r=parseInt(n[0],10),a=parseInt(n[1],10)-1,o=parseInt(n[2],10),s=parseInt(i[0],10),l=parseInt(i[1],10),c=parseInt(i[2],10);return new Date(r,a,o,s,l,c)}return 10==e.length?"-"==e.charAt(3)?function(e){var t=e.split("-"),n=parseInt(t[0],10)-1,i=parseInt(t[1],10),r=parseInt(t[2],10);return new Date(r,n,i)}(e):function(e){var t=e.split("-"),n=parseInt(t[0],10),i=parseInt(t[1],10),r=parseInt(t[2],10);return new Date(n,i-1,r)}(e):(console.log("this.dateStringToDateObj - dateString format not recognized!"+e),null)}function L(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()-e.getDay())}function R(e){var t=new Date(1e3*e).toISOString().substr(11,8);return t.startsWith("00")&&(t=t.substr(3,t.length)),t.startsWith("00")?t=t.substr(3,t.length):t.startsWith("0")&&(t=t.substr(1,t.length)),2==t.length&&(Number(t)<10&&(t=t.substr(0,1)),t+=" seconds"),t}function j(e){var t=Math.abs(e),n=this<0?"-":"",i=Math.floor(t/86400);t%=86400;var r=Math.floor(t/3600);t%=3600,Math.floor(t/60);var a=String(i).padStart(1,"0"),o=String(r).padStart(2,"0");return"0"==a?o+"H":""+n+a+"D "+o+"H"}function A(e){if(null==e||void 0===e)return e;for(var t=e.toString().split("."),n=t[0],i=t.length>1?"."+t[1]:"",r=/(\d+)(\d{3})/;r.test(n);)n=n.replace(r,"$1,$2");return n+i}function F(e){if(void 0!==e&&e.length){var t=e.split(":"),n=Number(t[0]),i=Number(t[1]);return Number(n+i/60).toFixed(2)}return null}function B(e){var t=Number(e);return t<0||isNaN(t)?0:t/.62137119223733}function z(e){var t=Number(e);return t<0||isNaN(t)?0:.62137119223733*t}function N(e){e=Number(Math.abs(e));var t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=Math.floor(e%3600%60);return(t>0?t+":":"")+(n>0?(t>0&&n<10?"0":"")+n+":":t>0?"00:":"0:")+(i<10?"0":"")+i}function H(e,t){e=Number(e);var n=Math.floor(e/60),i=Math.floor(e%60);return t?(n>0?n+"h ":"")+(i>0?i+"m":""):(n>0?n+"h ":"")+(i>0?i+"m":"0m")}var V=function(){function e(){}return e.prototype.transform=function(e,t,n){var i=[];for(var r in e)i.push(e[r]);return i.sort(function(e,n){return e.value[t]>n.value[t]?1:-1}),n&&i.reverse(),i},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"orderObjectBy",type:e,pure:!0}),e}(),Y=function(){function e(e){this.translateService=e}return e.prototype.transform=function(e,t){return void 0===t&&(t="mediumDate"),new s.DatePipe(this.translateService.currentLang).transform(e,t)},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](c.d))},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"localizedDate",type:e,pure:!1}),e}(),W=function(){function e(){}return e.prototype.transform=function(e,t){return e instanceof t},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"typeof",type:e,pure:!0}),e}(),G=function(){function e(){this.transform=o.orderBy}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"orderBy",type:e,pure:!0}),e}(),U=function(){function e(){}return e.prototype.transform=function(e){var t=Math.floor(Number(e));return t+":"+I(Math.floor(60*(Number(e)-t)))},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"floatToPace",type:e,pure:!0}),e}(),q=function(){function e(){}return e.prototype.transform=function(e){var t=Number(e);return t<0||isNaN(t)?0:(.45359237*t).toFixed(1)},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"lbsToKg",type:e,pure:!0}),e}(),Z=function(){function e(){}return e.prototype.transform=function(e,t){return e||(e=[]),e.slice(t=+t)},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"startFrom",type:e,pure:!0}),e}(),X=function(){function e(){}return e.prototype.transform=function(e){var t=Number(e);if(isNaN(t))return"";var n=Math.floor(t/60/60);return(n>0?n+"h ":"")+Math.floor(60*(t/60/60-n))+"m"},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"secondsToHrsMin",type:e,pure:!0}),e}(),K=function(){function e(){}return e.prototype.transform=function(e){var t=Number(e);if(t<=0||isNaN(t))return"0";var n=Math.floor(t/3600);return n>0?n:null},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"secondsToH",type:e,pure:!0}),e}(),J=function(){function e(){}return e.prototype.transform=function(e){var t=Number(e);if(t<=0||isNaN(t))return"0";var n=Math.floor(t%3600/60);return n>0?n:"0"},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"secondsToM",type:e,pure:!0}),e}(),Q=function(){function e(){}return e.prototype.transform=function(e,t){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),0),i=new Date(t.getFullYear(),t.getMonth(),t.getDate(),23),r=n.getTime(),a=w((i.getTime()-r)/864e5,0);return a>=0?a:0},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"daysBetween",type:e,pure:!0}),e}(),ee=function(){function e(){}return e.prototype.transform=function(e,t,n){return n=(n=!n||isNaN(n)?0:parseInt(n,10))<0?Math.max(0,e.length+n):n,t>=0?[].slice.call(e,n,n+t):0===n?[].slice.call(e,t,e.length):[].slice.call(e,Math.max(0,n+t),n)},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"limitTo",type:e,pure:!0}),e}(),te=function(){function e(){}return e.prototype.transform=function(e,t,n){if(!1===t)return e.toFixed(n);var i=Number(e);return i<0||isNaN(i)?0:(i/.621371).toFixed(n)},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"milesToKm",type:e,pure:!0}),e}(),ne=function(){function e(){}return e.prototype.transform=function(e,t,n){if(!1===t)return e.toFixed(n);var i=Number(e);return i<0||isNaN(i)?0:(i/3.28084).toFixed(n)},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"ftToMeter",type:e,pure:!0}),e}(),ie=function(){function e(){}return e.prototype.transform=function(e){return e.slice().reverse()},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"reverse",type:e,pure:!0}),e}(),re=function(){function e(){}return e.prototype.transform=function(e){return r.a.utc(e).local().fromNow()},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"fromNow",type:e,pure:!0}),e}(),ae=function(){function e(){}return e.prototype.transform=function(e,t,n){return n?r()(e).local().format(n):r.a.utc(e).local().format({short:"l, LT"}[t])},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"dateMoment",type:e,pure:!0}),e}(),oe=function(){function e(){}return e.prototype.transform=function(e){return e?e.charAt(0).toUpperCase()+e.substr(1).toLowerCase():""},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"capitalize",type:e,pure:!0}),e}(),se=function(){function e(e){this.WorkoutTypes=e}return e.prototype.transform=function(e){return this.WorkoutTypes.getWorkoutType(e).iconName},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](a.a))},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"ecoToType",type:e,pure:!0}),e}(),le=function(){function e(){}return e.prototype.transform=function(e){e=Number(e);var t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=Math.floor(e%3600%60);return(t>0?t+":":"0:")+(n>0?(n<10?"0":"")+n+":":"00:")+(i<10?"0":"")+i},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"secondsToHMS",type:e,pure:!0}),e}(),ce=function(){function e(){}return e.prototype.transform=function(e){e=3600*Number(e);var t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=Math.floor(e%3600%60);return(t>0?t+":":"")+(n>0?(n<10?"0":"")+n+":":"00:")+(i<10?"0":"")+i},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"hoursToHMS",type:e,pure:!0}),e}(),de=function(){function e(){}return e.prototype.transform=function(e){e=Number(e);var t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=Math.floor(e%3600%60);return(t>0?t+":":"")+(n>0?(n<10?"0":"")+n+":":"00:")+(i<10?"0":"")+i},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"secondsToHMSNoZero",type:e,pure:!0}),e}(),ue=function(){function e(){}return e.prototype.transform=function(e){var t=Number(e);if(isNaN(t))return"";t=Math.floor(t);var n=Math.floor(t/60);return(n>0?n+"h ":"")+Math.floor(t-60*n)+"m"},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"minToHrsMin",type:e,pure:!0}),e}(),pe=function(){function e(){}return e.prototype.transform=function(e,t){var n=new Date(e.year(),e.month(),e.date(),0),i=new Date(t.year(),t.month(),t.date(),23),r=n.getTime(),a=w((i.getTime()-r)/864e5,0);return a>=0?a:0},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"daysBetweenMoment",type:e,pure:!0}),e}(),he=function(){function e(){}return e.prototype.transform=function(e,t){return e.diff(t,"week")},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"weeksBetweenMoment",type:e,pure:!0}),e}(),me=function(){function e(){}return e.prototype.transform=function(e){return 0===e||"0"===e?"-":e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"zeroDash",type:e,pure:!0}),e}(),ge=function(){function e(){}return e.prototype.transform=function(e){return!0===e?"km":"mi"},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"metricType",type:e,pure:!0}),e}(),fe=function(){function e(){}return e.prototype.transform=function(e){return!0===e?"Yes":"No"},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"boolToText",type:e,pure:!0}),e}(),ve=function(){function e(){}return e.prototype.transform=function(e,t){return!1===t?e:((e-32)/1.8).toFixed()},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"FahrenheitToCelsius",type:e,pure:!0}),e}(),ye=function(){function e(){}return e.prototype.transform=function(e,t){return"Account Deleted"==e?t.instant("ROOT.Account Deleted"):e},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"memberName",type:e,pure:!0}),e}(),be=function(){function e(){}return e.prototype.transform=function(e,t){try{return f.FITDIGITS.zone[t.getBPMZone(e).zoneNum].tizClass}catch(n){return""}},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"workoutSplitBkgrndBPMClass",type:e,pure:!0}),e}(),xe=function(){function e(){}return e.prototype.transform=function(e,t){try{return f.SPINNING_POWER.zone[t.getPowerZone(e).zoneNum].tizClass}catch(n){return""}},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"workoutSplitBkgrndWattsClass",type:e,pure:!0}),e}(),_e=function(){function e(){}return e.prototype.transform=function(e){var t=Number(e);return isNaN(t)?"":f.FITDIGITS.zone[t].tizClass},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"workoutTimeInZonesBPMClass",type:e,pure:!0}),e}(),we=function(){function e(){}return e.prototype.transform=function(e,t,n){var i=!(void 0===t||!t),r=Number(e),a=void 0!==n?n:"";return isNaN(r)?"--":A((i?r/3.28084:r).toFixed())+" "+(a.length?" "+n:"")},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"elevationAscDescFilter",type:e,pure:!0}),e}(),Se=function(){function e(){}return e.prototype.transform=function(e,t,n,i,r){var a=!(void 0===t||!t),o=void 0!==n&&n?a?" km":" mi":" ",s=Number(e),l=2;if(null!=i&&(l=i),s<0||isNaN(s))return null==i&&(l=0),(0).toFixed(l)+o;var c=a?s/.621371:s;return null==i&&(l=c>20?0:c>10?1:2),r?Number(c):A(c.toFixed(l))+o},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"distanceFilter",type:e,pure:!0}),e}(),Ce=function(){function e(){}return e.prototype.transform=function(e,t,n){var i=!(void 0===t||!t),r=Number(e),a=void 0!==n?n:"";return r<=0||isNaN(r)?"N/A":R(60*(i?.621371*r:r))+(a.length?" "+n:"")},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"paceFilter",type:e,pure:!0}),e}(),ke=function(){function e(){}return e.prototype.transform=function(e,t,n){var i=!(void 0===t||!t),r=Number(e),a=void 0!==n?n:"";return r<=0||isNaN(r)?"N/A":(i?r/.621371:r).toFixed(1)+" "+(a.length?" "+n:"")},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"speedFilter",type:e,pure:!0}),e}(),Oe=function(){function e(){}return e.prototype.transform=function(e){var t=Number(e);return t<=0||isNaN(t)?"":Math.floor(t/3600)>0?"h":""},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"returnH",type:e,pure:!0}),e}(),Ee=function(){function e(){}return e.prototype.transform=function(e){var t=Number(e);return t<=0||isNaN(t)?"0":Math.floor(t%3600/60)>0?"m":""},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"returnM",type:e,pure:!0}),e}(),Me=function(){function e(){}return e.prototype.transform=function(e){var t=Number(e);if(isNaN(t)||0==t)return"-";var n=Math.floor(t/60),i=Math.floor(t%60);return n>0?n+"h".small()+" "+(i>0?i+"m".small():""):t+"m".small()},e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"mToString",type:e,pure:!0}),e}(),Ie=function(){function e(e){this._sanitizer=e}return e.prototype.transform=function(e,t){switch(t){case"html":return this._sanitizer.bypassSecurityTrustHtml(e);case"style":return this._sanitizer.bypassSecurityTrustStyle(e);case"script":return this._sanitizer.bypassSecurityTrustScript(e);case"url":return this._sanitizer.bypassSecurityTrustResourceUrl(e);default:return this._sanitizer.bypassSecurityTrustHtml(e)}},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](d.DomSanitizer))},e.\u0275pipe=l["\u0275\u0275definePipe"]({name:"safe",type:e,pure:!0}),e}()},BwfH:function(e,t,n){"use strict";n.d(t,"a",function(){return l}),n.d(t,"b",function(){return c});var i=n("fXoL"),r=n("uJc7"),a=n("XNiG"),o=n("tk/3"),s=n("b6Qw"),l={zone1:"Recovery",zone2:"Endurance",zone3:"Stamina",zone4:"Economy",zone5:"Speed"},c=function(){function e(e,t,n){this.http=e,this.cookieService=t,this.AccountService=n,this.activitySwitcher=new i.EventEmitter,this.zonesetSwitcher=new i.EventEmitter,this._listAggregatesUrl=this.AccountService.getPy3Host()+"/api/v2/workout/aggregate",this._listWorkoutsUrl=this.AccountService.getPy3Host()+"/api/v2/workout/list_raw",this._calcTizUrl=this.AccountService.getPy3Host()+"/api/v2/workout/calculate_tiz",this._getWorkoutDetailsUrl=this.AccountService.getPy3Host()+"/api/v2/workout/get_workouts",this._getWorkoutDetailUrl=this.AccountService.getPy3Host()+"/api/v2/workout/details",this._getWorkoutPhotosUrl=this.AccountService.getPy3Host()+"/api/v2/workout/get_images",this._listZonesetsUrl=this.AccountService.getPy3Host()+"/api/v2/zone_set/list",this._setDefaultZonesetUrl=this.AccountService.getPy3Host()+"/api/v2/zone_set/set_defaults",this._setPaceDefaultZonesetUrl=this.AccountService.getPy3Host()+"/api/v2/pace_zone_set/set_defaults",this._setSpeedDefaultZonesetUrl=this.AccountService.getPy3Host()+"/api/v2/speed_zone_set/set_defaults",this._setPowerDefaultZonesetUrl=this.AccountService.getPy3Host()+"/api/v2/power_zone_set/set_defaults",this._getAllDefaultZonesetsUrl=this.AccountService.getPy3Host()+"/api/v2/custom_zones/get_default_zonesets",this._updateDefaultZonessUrl=this.AccountService.getPy3Host()+"/api/v2/custom_zones/update_default_zone_sets",this._listPaceZonesetsUrl=this.AccountService.getPy3Host()+"/api/v2/pace_zone_set/list",this._listPowerZonesetsUrl=this.AccountService.getPy3Host()+"/api/v2/power_zone_set/list",this._listSpeedZonesetsUrl=this.AccountService.getPy3Host()+"/api/v2/speed_zone_set/list",this._saveZonesetsUrl=this.AccountService.getPy3Host()+"/api/v2/zone_set/upload_by_timestamp",this._savePaceZonesetsUrl=this.AccountService.getPy3Host()+"/api/v2/pace_zone_set/upload_by_timestamp",this._savePowerZonesetsUrl=this.AccountService.getPy3Host()+"/api/v2/power_zone_set/upload_by_timestamp",this._saveSpeedZonesetsUrl=this.AccountService.getPy3Host()+"/api/v2/speed_zone_set/upload_by_timestamp",this._getAllPhotosUrl=this.AccountService.getPy3Host()+"/api/v2/account/get_all_photos",this._uploadManualWorkoutUrl=this.AccountService.getPy3Host()+"/api/v2/workout/upload",this._uploadToPartnerUrl=this.AccountService.getPy3Host()+"/api/v2/dataprovider/upload",this._uploadToPartnerPingUrl=this.AccountService.getPy3Host()+"/api/v2/dataprovider/upload",this._listImportedUrl=this.AccountService.getPy3Host()+"/api/v2/workout/import_workouts_list",this._listExportedUrl=this.AccountService.getPy3Host()+"/api/v2/workout/export_workouts_list",this._deleteExportUrl=this.AccountService.getPy3Host()+"/api/v2/workout/delete_export_file",this._deletePhotoUrl=this.AccountService.getPy3Host()+"/api/v2/workout/delete_image",this._uploadWorkoutPhotoUrl=this.AccountService.getPy3Host()+"/api/v2/workout/upload_image",this._rotatePhotoUrl=this.AccountService.getPy3Host()+"/api/v2/workout/rotate_image",this._ExportWorkoutUrl=this.AccountService.getPy3Host()+"/api/v2/workout/export_web",this._ExportGroupWorkoutUrl=this.AccountService.getPy3Host()+"/api/v2/workout/export_file",this._importWorkoutUrl=this.AccountService.getPy3Host()+"/api/v2/workout/store_workout_import",this._downloadExportUrl=this.AccountService.getPy3Host()+"/api/v2/table/download",this._analyzeWorkout=this.AccountService.getPy3Host()+"/api/v2/coach/analyze",this.updatePhotos=new a.a,this.updatePhotosObs=this.updatePhotos,this.updateViewing=new a.a,this.updateViewingObs=this.updateViewing,this.updateActivity=new a.a,this.updateActivityObs=this.updateActivity,this.TIME_IN_ZONES_DISPLAY_CONFIG_OPTS={FITDIGITS:{zone:[{zone:0,tizColor:"#5477ce",tizClass:"tizBelow",zoneGraphTextColor:"#25355E"},{zone:1,tizColor:"#4c98c9",tizClass:"tizEasy",zoneGraphTextColor:"#22465C"},{zone:2,tizColor:"#00aa9f",tizClass:"tizFatBurn",zoneGraphTextColor:"#16555A"},{zone:3,tizColor:"#03b061",tizClass:"tizEndurance",zoneGraphTextColor:"#016334"},{zone:4,tizColor:"#feb51a",tizClass:"tizHardcore",zoneGraphTextColor:"#80590F"},{zone:5,tizColor:"#ff5f19",tizClass:"tizMaxEffort",zoneGraphTextColor:"#7D2602"},{zone:6,tizColor:"#c82d33",tizClass:"tizAbove",zoneGraphTextColor:"#5C0000"}]},SPINNING_POWER:{zone:[{zone:0,tizColor:"#98BFDE",tizClass:"tizBelow",zoneGraphTextColor:"#000000"},{zone:1,tizColor:"#4597CB",tizClass:"tizPowerZone1",zoneGraphTextColor:"#000000"},{zone:2,tizColor:"#3FAE48",tizClass:"tizPowerZone2",zoneGraphTextColor:"#000000"},{zone:3,tizColor:"#FCB424",tizClass:"tizPowerZone3",zoneGraphTextColor:"#000000"},{zone:4,tizColor:"#F16124",tizClass:"tizPowerZone4",zoneGraphTextColor:"#000000"},{zone:5,tizColor:"#EE3123",tizClass:"tizPowerZone5",zoneGraphTextColor:"#000000"},{zone:6,tizColor:"#901607",tizClass:"tizAbove",zoneGraphTextColor:"#000000"}]}},this.DEFAULT_ZONESET={zone1:{bpmMin:98,description:"",bpmMax:117,name:l.zone1},zone2:{bpmMin:117,description:"",bpmMax:137,name:l.zone2},zone3:{bpmMin:137,description:"",bpmMax:156,name:l.zone3},zone4:{bpmMin:156,description:"",bpmMax:176,name:l.zone4},zone5:{bpmMin:176,description:"",bpmMax:196,name:l.zone5},name:"Default Zones",id:"1"},this.DEFAULT_POWER_ZONESET={zone1:{description:"",name:l.zone1,wattsMax:"65",wattsMin:"0.0"},zone2:{description:"",name:l.zone2,wattsMax:"95",wattsMin:"65"},zone3:{description:"",name:l.zone3,wattsMax:"115",wattsMin:"95"},zone4:{description:"",name:l.zone4,wattsMax:"135",wattsMin:"115"},zone5:{description:"",name:l.zone5,wattsMax:"300.0",wattsMin:"135"},name:"Default Zones",id:"1"},this.DEFAULT_SPEED_ZONESET={zone1:{description:"",name:l.zone1,speedMax:"4.99",speedMin:"0.0"},zone2:{description:"",name:l.zone2,speedMax:"9.99",speedMin:"5"},zone3:{description:"",name:l.zone3,speedMax:"19.99",speedMin:"10"},zone4:{description:"",name:l.zone4,speedMax:"30",speedMin:"20"},zone5:{description:"",name:l.zone5,speedMax:"50",speedMin:"30"},name:"Default Zones",id:"1"},this.DEFAULT_RUN_PACE_ZONESET={action:"A",description:"",name:"My New Zones",permId:"",zone1:{description:"",name:l.zone1,paceMax:10.5,paceMin:11.5},zone2:{description:"",name:l.zone2,paceMax:9.5,paceMin:10.5},zone3:{description:"",name:l.zone3,paceMax:8.5,paceMin:9.5},zone4:{description:"",name:l.zone4,paceMax:7.5,paceMin:8.5},zone5:{description:"",name:l.zone5,paceMax:6.5,paceMin:7.5}},this.DEFAULT_WALK_PACE_ZONESET={action:"A",description:"",name:"My New Zones",permId:"",zone1:{description:"",name:"Zone 1",paceMax:20,paceMin:30},zone2:{description:"",name:"Zone 2",paceMax:16.5,paceMin:20},zone3:{description:"",name:"Zone 3",paceMax:13.5,paceMin:16.5},zone4:{description:"",name:"Zone 4",paceMax:10.5,paceMin:13.5},zone5:{description:"",name:"Zone 5",paceMax:7.5,paceMin:10.5}},this.DEFAULT_PACE_ZONESET={action:"A",description:"",name:"My New Zones",permId:"",zone1:{description:"",name:l.zone1,paceMax:10.5,paceMin:11.5},zone2:{description:"",name:l.zone2,paceMax:9.5,paceMin:10.5},zone3:{description:"",name:l.zone3,paceMax:8.5,paceMin:9.5},zone4:{description:"",name:l.zone4,paceMax:7.5,paceMin:8.5},zone5:{description:"",name:l.zone5,paceMax:6.5,paceMin:7.5}}}return e.prototype.updateListFn=function(e){this.updatePhotos.next(e)},e.prototype.updateViewingFn=function(e){this.updateViewing.next(e)},e.prototype.updateActivityFn=function(e){this.updateActivity.next(e)},e.prototype.getAggregates=function(e,t,n,i){var r={params:{startDate:e,endDate:t}};return n&&"1"!==n&&(r.params.zoneset_id=n),i&&(r.params.workouts=i),this.http.post(this._listAggregatesUrl,r,{})},e.prototype.getZonesets=function(e){return this.http.post(this._listZonesetsUrl,{customZoneSets:{sortOrder:1,filteredType:e}},{})},e.prototype.setDefaultZoneset=function(e,t,n){return this.http.post(this._setDefaultZonesetUrl,{params:{workoutTypes:e,key:t,id:n}},{})},e.prototype.setPaceDefaultZoneset=function(e,t,n){return this.http.post(this._setPaceDefaultZonesetUrl,{params:{workoutTypes:e,key:t,id:n}},{})},e.prototype.setSpeedDefaultZoneset=function(e,t,n){return this.http.post(this._setSpeedDefaultZonesetUrl,{params:{workoutTypes:e,key:t,id:n}},{})},e.prototype.setPowerDefaultZoneset=function(e,t,n){return this.http.post(this._setPowerDefaultZonesetUrl,{params:{workoutTypes:e,key:t,id:n}},{})},e.prototype.getAllDefaultZonesets=function(){return this.http.post(this._getAllDefaultZonesetsUrl,{},{})},e.prototype.getAllPhotos=function(){return this.http.post(this._getAllPhotosUrl,{},{})},e.prototype.getPowerZonesets=function(e){return this.http.post(this._listPowerZonesetsUrl,{customPowerZoneSets:{sortOrder:1,filteredType:e}},{})},e.prototype.getSpeedZonesets=function(e){return this.http.post(this._listSpeedZonesetsUrl,{customSpeedZoneSets:{sortOrder:1,filteredType:e}},{})},e.prototype.updateDefaultZonesets=function(e,t){return this.http.post(this._updateDefaultZonessUrl,{params:{mhr:t,rhr:e}},{})},e.prototype.getPaceZonesets=function(){return this.http.post(this._listPaceZonesetsUrl,{customZoneSets:{sortOrder:1}},{})},e.prototype.saveZonesets=function(e,t,n){var i,r=this._saveZonesetsUrl,a="customZoneSets";if("pace"==n?(r=this._savePaceZonesetsUrl,a="customPaceZoneSets"):"power"==n?(r=this._savePowerZonesetsUrl,a="customPowerZoneSets"):"speed"==n&&(r=this._saveSpeedZonesetsUrl,a="customSpeedZoneSets"),"A"===t){var o=new Date;e.tempId="WEB"+o.getTime()}return this.http.post(r,((i={})[a]=[e],i),{})},e.prototype.savePaceZonesets=function(e,t){if("A"===t){var n=new Date;e.tempId="WEB"+n.getTime()}return this.http.post(this._savePaceZonesetsUrl,{customPaceZoneSets:[e]},{})},e.prototype.savePowerZonesets=function(e,t){if("A"===t){var n=new Date;e.tempId="WEB"+n.getTime()}return this.http.post(this._savePowerZonesetsUrl,{customPowerZoneSets:[e]},{})},e.prototype.saveSpeedZonesets=function(e,t){if("A"===t){var n=new Date;e.tempId="WEB"+n.getTime()}return this.http.post(this._saveSpeedZonesetsUrl,{customSpeedZoneSets:[e]},{})},e.prototype.getImports=function(){return this.http.post(this._listImportedUrl,{},{})},e.prototype.getExports=function(){return this.http.post(this._listExportedUrl,{},{})},e.prototype.deleteExport=function(e,t,n){return this.http.post(this._deleteExportUrl,{params:{filename:e,file_key:t,workout_id:n}},{})},e.prototype.deleteActivity=function(e){return this.http.post(this._uploadManualWorkoutUrl,{workout:{id:e,action:"D"}},{})},e.prototype.importWorkout=function(e){return this.http.post(this._importWorkoutUrl,e,{})},e.prototype.downloadExport=function(e){return this.http.post(this._downloadExportUrl,{params:{file_id:e}},{})},e.prototype.getWorkouts=function(e,t,n){console.log(t);var i={workout:{sortOrder:"1",dateFrom:e,dateTo:t}};return n&&(i.workout.searchBy="search",i.workout.tagsRule="AND_OR",i.workout.tags=n),this.http.post(this._listWorkoutsUrl,i,{})},e.prototype.getWorkoutDetails=function(e){return this.http.post(this._getWorkoutDetailsUrl,{params:{access_role_override:"FULL",workout_ids:e}},{})},e.prototype.calculateTiz=function(e,t){return this.http.post(this._calcTizUrl,{params:{zoneId:e,workoutId:t}},{})},e.prototype.getWorkoutDetail=function(e,t,n,i,r){var a=!1;i&&(i=i.split(".html")[0],a=!0);var o={access_role_override:"FULL",workout_id:e,include_profile:a,max_snapshots:"800"};t?"mile"===t?o.split_interval_miles=n:"kilometer"===t?o.split_interval_kilometers=n:"minutes"===t&&(o.split_interval_minutes=n):o.split_interval_miles="1";var s={params:o,shareId:i};return r&&!i&&(s.anonymousId="ABCD",s.params.isAnonymous=!0),this.http.post(this._getWorkoutDetailUrl,s,{})},e.prototype.getWorkoutPhotos=function(e,t){return this.http.post(this._getWorkoutPhotosUrl,{params:{workout_id:e},shareId:t},{})},e.prototype.uploadWorkoutPhoto=function(e){return this.http.post(this._uploadWorkoutPhotoUrl,e,{})},e.prototype.rotateWorkoutPhoto=function(e){return this.http.post(this._rotatePhotoUrl,{params:{image_gcsKey:e}},{})},e.prototype.deleteWorkoutPhoto=function(e,t){return this.http.post(this._deletePhotoUrl,{params:{image_gcsKey:e,workout_id:t}},{})},e.prototype.uploadManualWorkout=function(e){return this.http.post(this._uploadManualWorkoutUrl,e,{})},e.prototype.getDevice=function(){return JSON.parse(atob(this.cookieService.get("session").split("|")[0])).deviceId},e.prototype.uploadToPartner=function(e,t,n,i){try{null==i&&(i=this.getDevice())}catch(a){}var r={params:{providerName:t,resource:e,override:n},deviceId:i};return console.log(r),this.http.post(this._uploadToPartnerUrl,r,{})},e.prototype.uploadToPartnerPing=function(e,t,n){return this.http.post(this._uploadToPartnerPingUrl,{params:{providerName:t,resource:e,override:n}},{})},e.prototype.exportWorkout=function(e,t){return this.http.post(this._ExportWorkoutUrl,{workout:{id:e,format:t}},{})},e.prototype.exportGroupWorkout=function(e,t,n){return this.http.post(this._ExportGroupWorkoutUrl,{workout:{id:e,account_id:t,format:n}},{})},e.prototype.getWorkoutAnalysis=function(e){return this.http.post(this._analyzeWorkout,{params:{workout_id:e,dry_run:!1}},{})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](o.b),i["\u0275\u0275inject"](s.a),i["\u0275\u0275inject"](r.a))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}()},ByF4:function(e,t,n){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apr\xedl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_m\xe1nadagur_t\xfdsdagur_mikudagur_h\xf3sdagur_fr\xedggjadagur_leygardagur".split("_"),weekdaysShort:"sun_m\xe1n_t\xfds_mik_h\xf3s_fr\xed_ley".split("_"),weekdaysMin:"su_m\xe1_t\xfd_mi_h\xf3_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[\xcd dag kl.] LT",nextDay:"[\xcd morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[\xcd gj\xe1r kl.] LT",lastWeek:"[s\xed\xf0stu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s s\xed\xf0ani",s:"f\xe1 sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein t\xedmi",hh:"%d t\xedmar",d:"ein dagur",dd:"%d dagar",M:"ein m\xe1na\xf0ur",MM:"%d m\xe1na\xf0ir",y:"eitt \xe1r",yy:"%d \xe1r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Cfvw:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("HDdC"),r=n("SeVD"),a=n("7HRe");function o(e,t){return t?Object(a.a)(e,t):e instanceof i.a?e:new i.a(Object(r.a)(e))}},CjzT:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},CoRJ:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-ma",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},"D/JM":function(e,t,n){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},D0XW:function(e,t,n){"use strict";n.d(t,"b",function(){return r}),n.d(t,"a",function(){return a});var i=n("3N8a"),r=new(n("IjjT").a)(i.a),a=r},DH7j:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){return Array.isArray||function(e){return e&&"number"==typeof e.length}}()},"DKr+":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return i?r[n][0]:r[n][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(n("wd/R"))},DSFK:function(e,t,n){"use strict";function i(e){if(Array.isArray(e))return e}n.d(t,"a",function(){return i})},Dh3D:function(e,t,n){"use strict";n.d(t,"a",function(){return w}),n.d(t,"b",function(){return I}),n.d(t,"c",function(){return P});var i=n("Ji7U"),r=n("LK+K"),a=n("vuIU"),o=n("1OyB"),s=n("fXoL"),l=n("8LU1"),c=n("FKr1"),d=n("FtGj"),u=n("XNiG"),p=n("VRyK"),h=n("R0Ic"),m=n("ofXK"),g=n("u47x"),f=["mat-sort-header",""];function v(e,t){if(1&e){var n=s["\u0275\u0275getCurrentView"]();s["\u0275\u0275elementStart"](0,"div",3),s["\u0275\u0275listener"]("@arrowPosition.start",function(){return s["\u0275\u0275restoreView"](n),s["\u0275\u0275nextContext"]()._disableViewStateAnimation=!0})("@arrowPosition.done",function(){return s["\u0275\u0275restoreView"](n),s["\u0275\u0275nextContext"]()._disableViewStateAnimation=!1}),s["\u0275\u0275element"](1,"div",4),s["\u0275\u0275elementStart"](2,"div",5),s["\u0275\u0275element"](3,"div",6),s["\u0275\u0275element"](4,"div",7),s["\u0275\u0275element"](5,"div",8),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementEnd"]()}if(2&e){var i=s["\u0275\u0275nextContext"]();s["\u0275\u0275property"]("@arrowOpacity",i._getArrowViewState())("@arrowPosition",i._getArrowViewState())("@allowChildren",i._getArrowDirectionState()),s["\u0275\u0275advance"](2),s["\u0275\u0275property"]("@indicator",i._getArrowDirectionState()),s["\u0275\u0275advance"](1),s["\u0275\u0275property"]("@leftPointer",i._getArrowDirectionState()),s["\u0275\u0275advance"](1),s["\u0275\u0275property"]("@rightPointer",i._getArrowDirectionState())}}var y=["*"],b=new s.InjectionToken("MAT_SORT_DEFAULT_OPTIONS"),x=Object(a.a)(function e(){Object(o.a)(this,e)}),_=Object(c.C)(Object(c.A)(x)),w=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e){var i;return Object(o.a)(this,n),(i=t.call(this))._defaultOptions=e,i.sortables=new Map,i._stateChanges=new u.a,i.start="asc",i._direction="",i.sortChange=new s.EventEmitter,i}return Object(a.a)(n,[{key:"direction",get:function(){return this._direction},set:function(e){this._direction=e}},{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=Object(l.c)(e)}},{key:"register",value:function(e){this.sortables.set(e.id,e)}},{key:"deregister",value:function(e){this.sortables.delete(e.id)}},{key:"sort",value:function(e){this.active!=e.id?(this.active=e.id,this.direction=e.start?e.start:this.start):this.direction=this.getNextSortDirection(e),this.sortChange.emit({active:this.active,direction:this.direction})}},{key:"getNextSortDirection",value:function(e){var t,n,i;if(!e)return"";var r=null!==(n=null!==(t=null==e?void 0:e.disableClear)&&void 0!==t?t:this.disableClear)&&void 0!==n?n:!!(null===(i=this._defaultOptions)||void 0===i?void 0:i.disableClear),a=function(e,t){var n=["asc","desc"];return"desc"==e&&n.reverse(),t||n.push(""),n}(e.start||this.start,r),o=a.indexOf(this.direction)+1;return o>=a.length&&(o=0),a[o]}},{key:"ngOnInit",value:function(){this._markInitialized()}},{key:"ngOnChanges",value:function(){this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}}]),n}(_);return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](b,8))},e.\u0275dir=s["\u0275\u0275defineDirective"]({type:e,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{disabled:["matSortDisabled","disabled"],start:["matSortStart","start"],direction:["matSortDirection","direction"],disableClear:["matSortDisableClear","disableClear"],active:["matSortActive","active"]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],features:[s["\u0275\u0275InheritDefinitionFeature"],s["\u0275\u0275NgOnChangesFeature"]]}),e}(),S=c.b.ENTERING+" "+c.a.STANDARD_CURVE,C={indicator:Object(h.n)("indicator",[Object(h.k)("active-asc, asc",Object(h.l)({transform:"translateY(0px)"})),Object(h.k)("active-desc, desc",Object(h.l)({transform:"translateY(10px)"})),Object(h.m)("active-asc <=> active-desc",Object(h.e)(S))]),leftPointer:Object(h.n)("leftPointer",[Object(h.k)("active-asc, asc",Object(h.l)({transform:"rotate(-45deg)"})),Object(h.k)("active-desc, desc",Object(h.l)({transform:"rotate(45deg)"})),Object(h.m)("active-asc <=> active-desc",Object(h.e)(S))]),rightPointer:Object(h.n)("rightPointer",[Object(h.k)("active-asc, asc",Object(h.l)({transform:"rotate(45deg)"})),Object(h.k)("active-desc, desc",Object(h.l)({transform:"rotate(-45deg)"})),Object(h.m)("active-asc <=> active-desc",Object(h.e)(S))]),arrowOpacity:Object(h.n)("arrowOpacity",[Object(h.k)("desc-to-active, asc-to-active, active",Object(h.l)({opacity:1})),Object(h.k)("desc-to-hint, asc-to-hint, hint",Object(h.l)({opacity:.54})),Object(h.k)("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",Object(h.l)({opacity:0})),Object(h.m)("* => asc, * => desc, * => active, * => hint, * => void",Object(h.e)("0ms")),Object(h.m)("* <=> *",Object(h.e)(S))]),arrowPosition:Object(h.n)("arrowPosition",[Object(h.m)("* => desc-to-hint, * => desc-to-active",Object(h.e)(S,Object(h.h)([Object(h.l)({transform:"translateY(-25%)"}),Object(h.l)({transform:"translateY(0)"})]))),Object(h.m)("* => hint-to-desc, * => active-to-desc",Object(h.e)(S,Object(h.h)([Object(h.l)({transform:"translateY(0)"}),Object(h.l)({transform:"translateY(25%)"})]))),Object(h.m)("* => asc-to-hint, * => asc-to-active",Object(h.e)(S,Object(h.h)([Object(h.l)({transform:"translateY(25%)"}),Object(h.l)({transform:"translateY(0)"})]))),Object(h.m)("* => hint-to-asc, * => active-to-asc",Object(h.e)(S,Object(h.h)([Object(h.l)({transform:"translateY(0)"}),Object(h.l)({transform:"translateY(-25%)"})]))),Object(h.k)("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",Object(h.l)({transform:"translateY(0)"})),Object(h.k)("hint-to-desc, active-to-desc, desc",Object(h.l)({transform:"translateY(-25%)"})),Object(h.k)("hint-to-asc, active-to-asc, asc",Object(h.l)({transform:"translateY(25%)"}))]),allowChildren:Object(h.n)("allowChildren",[Object(h.m)("* <=> *",[Object(h.i)("@*",Object(h.f)(),{optional:!0})])])},k=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e),this.changes=new u.a,this.sortButtonLabel=function(e){return"Change sorting for ".concat(e)}});return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(s["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}(),O={provide:k,deps:[[new s.Optional,new s.SkipSelf,k]],useFactory:function(e){return e||new k}},E=Object(a.a)(function e(){Object(o.a)(this,e)}),M=Object(c.A)(E),I=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r,a,s,l){var c;return Object(o.a)(this,n),(c=t.call(this))._intl=e,c._changeDetectorRef=i,c._sort=r,c._columnDef=a,c._focusMonitor=s,c._elementRef=l,c._showIndicatorHint=!1,c._viewState={},c._arrowDirection="",c._disableViewStateAnimation=!1,c.arrowPosition="after",c._handleStateChanges(),c}return Object(a.a)(n,[{key:"disableClear",get:function(){return this._disableClear},set:function(e){this._disableClear=Object(l.c)(e)}},{key:"ngOnInit",value:function(){!this.id&&this._columnDef&&(this.id=this._columnDef.name),this._updateArrowDirection(),this._setAnimationTransitionState({toState:this._isSorted()?"active":this._arrowDirection}),this._sort.register(this)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){var n=!!t;n!==e._showIndicatorHint&&(e._setIndicatorHintVisible(n),e._changeDetectorRef.markForCheck())})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe()}},{key:"_setIndicatorHintVisible",value:function(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._setAnimationTransitionState(this._showIndicatorHint?{fromState:this._arrowDirection,toState:"hint"}:{fromState:"hint",toState:this._arrowDirection})))}},{key:"_setAnimationTransitionState",value:function(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}},{key:"_toggleOnInteraction",value:function(){this._sort.sort(this),"hint"!==this._viewState.toState&&"active"!==this._viewState.toState||(this._disableViewStateAnimation=!0)}},{key:"_handleClick",value:function(){this._isDisabled()||this._sort.sort(this)}},{key:"_handleKeydown",value:function(e){this._isDisabled()||e.keyCode!==d.o&&e.keyCode!==d.g||(e.preventDefault(),this._toggleOnInteraction())}},{key:"_isSorted",value:function(){return this._sort.active==this.id&&("asc"===this._sort.direction||"desc"===this._sort.direction)}},{key:"_getArrowDirectionState",value:function(){return"".concat(this._isSorted()?"active-":"").concat(this._arrowDirection)}},{key:"_getArrowViewState",value:function(){var e=this._viewState.fromState;return(e?"".concat(e,"-to-"):"")+this._viewState.toState}},{key:"_updateArrowDirection",value:function(){this._arrowDirection=this._isSorted()?this._sort.direction:this.start||this._sort.start}},{key:"_isDisabled",value:function(){return this._sort.disabled||this.disabled}},{key:"_getAriaSortAttribute",value:function(){return this._isSorted()?"asc"==this._sort.direction?"ascending":"descending":"none"}},{key:"_renderArrow",value:function(){return!this._isDisabled()||this._isSorted()}},{key:"_handleStateChanges",value:function(){var e=this;this._rerenderSubscription=Object(p.a)(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(function(){e._isSorted()&&(e._updateArrowDirection(),"hint"!==e._viewState.toState&&"active"!==e._viewState.toState||(e._disableViewStateAnimation=!0),e._setAnimationTransitionState({fromState:e._arrowDirection,toState:"active"}),e._showIndicatorHint=!1),!e._isSorted()&&e._viewState&&"active"===e._viewState.toState&&(e._disableViewStateAnimation=!1,e._setAnimationTransitionState({fromState:"active",toState:e._arrowDirection})),e._changeDetectorRef.markForCheck()})}}]),n}(M);return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](k),s["\u0275\u0275directiveInject"](s.ChangeDetectorRef),s["\u0275\u0275directiveInject"](w,8),s["\u0275\u0275directiveInject"]("MAT_SORT_HEADER_COLUMN_DEF",8),s["\u0275\u0275directiveInject"](g.h),s["\u0275\u0275directiveInject"](s.ElementRef))},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(e,t){1&e&&s["\u0275\u0275listener"]("click",function(){return t._handleClick()})("keydown",function(e){return t._handleKeydown(e)})("mouseenter",function(){return t._setIndicatorHintVisible(!0)})("mouseleave",function(){return t._setIndicatorHintVisible(!1)}),2&e&&(s["\u0275\u0275attribute"]("aria-sort",t._getAriaSortAttribute()),s["\u0275\u0275classProp"]("mat-sort-header-disabled",t._isDisabled()))},inputs:{disabled:"disabled",arrowPosition:"arrowPosition",disableClear:"disableClear",id:["mat-sort-header","id"],start:"start"},exportAs:["matSortHeader"],features:[s["\u0275\u0275InheritDefinitionFeature"]],attrs:f,ngContentSelectors:y,decls:4,vars:6,consts:[["role","button",1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],["class","mat-sort-header-arrow",4,"ngIf"],[1,"mat-sort-header-arrow"],[1,"mat-sort-header-stem"],[1,"mat-sort-header-indicator"],[1,"mat-sort-header-pointer-left"],[1,"mat-sort-header-pointer-right"],[1,"mat-sort-header-pointer-middle"]],template:function(e,t){1&e&&(s["\u0275\u0275projectionDef"](),s["\u0275\u0275elementStart"](0,"div",0),s["\u0275\u0275elementStart"](1,"div",1),s["\u0275\u0275projection"](2),s["\u0275\u0275elementEnd"](),s["\u0275\u0275template"](3,v,6,6,"div",2),s["\u0275\u0275elementEnd"]()),2&e&&(s["\u0275\u0275classProp"]("mat-sort-header-sorted",t._isSorted())("mat-sort-header-position-before","before"==t.arrowPosition),s["\u0275\u0275attribute"]("tabindex",t._isDisabled()?null:0),s["\u0275\u0275advance"](3),s["\u0275\u0275property"]("ngIf",t._renderArrow()))},directives:[m.NgIf],styles:[".mat-sort-header-container{display:flex;cursor:pointer;align-items:center;letter-spacing:normal;outline:0}[mat-sort-header].cdk-keyboard-focused .mat-sort-header-container,[mat-sort-header].cdk-program-focused .mat-sort-header-container{border-bottom:solid 1px currentColor}.mat-sort-header-disabled .mat-sort-header-container{cursor:default}.mat-sort-header-content{text-align:center;display:flex;align-items:center}.mat-sort-header-position-before{flex-direction:row-reverse}.mat-sort-header-arrow{height:12px;width:12px;min-width:12px;position:relative;display:flex;opacity:0}.mat-sort-header-arrow,[dir=rtl] .mat-sort-header-position-before .mat-sort-header-arrow{margin:0 0 0 6px}.mat-sort-header-position-before .mat-sort-header-arrow,[dir=rtl] .mat-sort-header-arrow{margin:0 6px 0 0}.mat-sort-header-stem{background:currentColor;height:10px;width:2px;margin:auto;display:flex;align-items:center}.cdk-high-contrast-active .mat-sort-header-stem{width:0;border-left:solid 2px}.mat-sort-header-indicator{width:100%;height:2px;display:flex;align-items:center;position:absolute;top:0;left:0}.mat-sort-header-pointer-middle{margin:auto;height:2px;width:2px;background:currentColor;transform:rotate(45deg)}.cdk-high-contrast-active .mat-sort-header-pointer-middle{width:0;height:0;border-top:solid 2px;border-left:solid 2px}.mat-sort-header-pointer-left,.mat-sort-header-pointer-right{background:currentColor;width:6px;height:2px;position:absolute;top:0}.cdk-high-contrast-active .mat-sort-header-pointer-left,.cdk-high-contrast-active .mat-sort-header-pointer-right{width:0;height:0;border-left:solid 6px;border-top:solid 2px}.mat-sort-header-pointer-left{transform-origin:right;left:0}.mat-sort-header-pointer-right{transform-origin:left;right:0}\n"],encapsulation:2,data:{animation:[C.indicator,C.leftPointer,C.rightPointer,C.arrowOpacity,C.arrowPosition,C.allowChildren]},changeDetection:0}),e}(),P=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({providers:[O],imports:[[m.CommonModule,c.j]]}),e}()},Dkky:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},Dmvi:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n("wd/R"))},DoHr:function(e,t,n){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'\xfcnc\xfc",4:"'\xfcnc\xfc",100:"'\xfcnc\xfc",6:"'nc\u0131",9:"'uncu",10:"'uncu",30:"'uncu",60:"'\u0131nc\u0131",90:"'\u0131nc\u0131"};e.defineLocale("tr",{months:"Ocak_\u015eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011fustos_Eyl\xfcl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015eub_Mar_Nis_May_Haz_Tem_A\u011fu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Sal\u0131_\xc7ar\u015famba_Per\u015fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pzt_Sal_\xc7ar_Per_Cum_Cmt".split("_"),weekdaysMin:"Pz_Pt_Sa_\xc7a_Pe_Cu_Ct".split("_"),meridiem:function(e,t,n){return e<12?n?"\xf6\xf6":"\xd6\xd6":n?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(e){return"\xf6s"===e||"\xd6S"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[yar\u0131n saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[d\xfcn] LT",lastWeek:"[ge\xe7en] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \xf6nce",s:"birka\xe7 saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'\u0131nc\u0131";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},Dvla:function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return u});var i=n("1OyB"),r=n("vuIU"),a=n("ofXK"),o=n("fXoL"),s=new o.InjectionToken("WindowToken","undefined"!=typeof window&&window.document?{providedIn:"root",factory:function(){return window}}:{providedIn:"root",factory:function(){}}),l=n("XNiG"),c=function(){var e=function(){function e(t,n,r){Object(i.a)(this,e),this.ngZone=t,this.document=n,this.window=r,this.copySubject=new l.a,this.copyResponse$=this.copySubject.asObservable(),this.config={}}return Object(r.a)(e,[{key:"configure",value:function(e){this.config=e}},{key:"copy",value:function(e){if(!this.isSupported||!e)return this.pushCopyResponse({isSuccess:!1,content:e});var t=this.copyFromContent(e);return this.pushCopyResponse(t?{content:e,isSuccess:t}:{isSuccess:!1,content:e})}},{key:"isSupported",get:function(){return!!this.document.queryCommandSupported&&!!this.document.queryCommandSupported("copy")&&!!this.window}},{key:"isTargetValid",value:function(e){if(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement){if(e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');return!0}throw new Error("Target should be input or textarea")}},{key:"copyFromInputElement",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];try{this.selectTarget(e);var n=this.copyText();return this.clearSelection(t?e:void 0,this.window),n&&this.isCopySuccessInIE11()}catch(i){return!1}}},{key:"isCopySuccessInIE11",value:function(){var e=this.window.clipboardData;return!(e&&e.getData&&!e.getData("Text"))}},{key:"copyFromContent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.document.body;if(this.tempTextArea&&!t.contains(this.tempTextArea)&&this.destroy(this.tempTextArea.parentElement||void 0),!this.tempTextArea){this.tempTextArea=this.createTempTextArea(this.document,this.window);try{t.appendChild(this.tempTextArea)}catch(i){throw new Error("Container should be a Dom element")}}this.tempTextArea.value=e;var n=this.copyFromInputElement(this.tempTextArea,!1);return this.config.cleanUpAfterCopy&&this.destroy(this.tempTextArea.parentElement||void 0),n}},{key:"destroy",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.document.body;this.tempTextArea&&(e.removeChild(this.tempTextArea),this.tempTextArea=void 0)}},{key:"selectTarget",value:function(e){return e.select(),e.setSelectionRange(0,e.value.length),e.value.length}},{key:"copyText",value:function(){return this.document.execCommand("copy")}},{key:"clearSelection",value:function(e,t){var n;e&&e.focus(),null===(n=t.getSelection())||void 0===n||n.removeAllRanges()}},{key:"createTempTextArea",value:function(e,t){var n,i="rtl"===e.documentElement.getAttribute("dir");return(n=e.createElement("textarea")).style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[i?"right":"left"]="-9999px",n.style.top=(t.pageYOffset||e.documentElement.scrollTop)+"px",n.setAttribute("readonly",""),n}},{key:"pushCopyResponse",value:function(e){var t=this;this.copySubject.observers.length>0&&this.ngZone.run(function(){t.copySubject.next(e)})}},{key:"pushCopyReponse",value:function(e){this.pushCopyResponse(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](o.NgZone),o["\u0275\u0275inject"](a.DOCUMENT),o["\u0275\u0275inject"](s,8))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(o["\u0275\u0275inject"])(o.NgZone),Object(o["\u0275\u0275inject"])(a.DOCUMENT),Object(o["\u0275\u0275inject"])(s,8))},token:e,providedIn:"root"}),e}(),d=function(){var e=function(){function e(t,n,r,a){var s=this;Object(i.a)(this,e),this.ngZone=t,this.host=n,this.renderer=r,this.clipboardSrv=a,this.cbOnSuccess=new o.EventEmitter,this.cbOnError=new o.EventEmitter,this.onClick=function(e){s.clipboardSrv.isSupported?s.targetElm&&s.clipboardSrv.isTargetValid(s.targetElm)?s.handleResult(s.clipboardSrv.copyFromInputElement(s.targetElm),s.targetElm.value,e):s.cbContent&&s.handleResult(s.clipboardSrv.copyFromContent(s.cbContent,s.container),s.cbContent,e):s.handleResult(!1,void 0,e)}}return Object(r.a)(e,[{key:"ngOnInit",value:function(){var e=this;this.ngZone.runOutsideAngular(function(){e.clickListener=e.renderer.listen(e.host.nativeElement,"click",e.onClick)})}},{key:"ngOnDestroy",value:function(){this.clickListener(),this.clipboardSrv.destroy(this.container)}},{key:"handleResult",value:function(e,t,n){var i=this,r={isSuccess:e,event:n};e?this.cbOnSuccess.observers.length>0&&(r=Object.assign(r,{content:t,successMessage:this.cbSuccessMsg}),this.ngZone.run(function(){i.cbOnSuccess.emit(r)})):this.cbOnError.observers.length>0&&this.ngZone.run(function(){i.cbOnError.emit(r)}),this.clipboardSrv.pushCopyResponse(r)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.NgZone),o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](o.Renderer2),o["\u0275\u0275directiveInject"](c))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngxClipboard",""]],inputs:{targetElm:["ngxClipboard","targetElm"],container:"container",cbContent:"cbContent",cbSuccessMsg:"cbSuccessMsg"},outputs:{cbOnSuccess:"cbOnSuccess",cbOnError:"cbOnError"}}),e}(),u=function(){var e=Object(r.a)(function e(){Object(i.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({imports:[[a.CommonModule]]}),e}()},DxQv:function(e,t,n){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8n_man_tir_ons_tor_fre_l\xf8r".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"p\xe5 dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"f\xe5 sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"et \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},Dzi0:function(e,t,n){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},"E+lV":function(e,t,n){!function(e){"use strict";var t={words:{ss:["\u0441\u0435\u043a\u0443\u043d\u0434\u0430","\u0441\u0435\u043a\u0443\u043d\u0434\u0435","\u0441\u0435\u043a\u0443\u043d\u0434\u0438"],m:["\u0458\u0435\u0434\u0430\u043d \u043c\u0438\u043d\u0443\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0438\u043d\u0443\u0442\u0430"],mm:["\u043c\u0438\u043d\u0443\u0442","\u043c\u0438\u043d\u0443\u0442\u0430","\u043c\u0438\u043d\u0443\u0442\u0430"],h:["\u0458\u0435\u0434\u0430\u043d \u0441\u0430\u0442","\u0458\u0435\u0434\u043d\u043e\u0433 \u0441\u0430\u0442\u0430"],hh:["\u0441\u0430\u0442","\u0441\u0430\u0442\u0430","\u0441\u0430\u0442\u0438"],d:["\u0458\u0435\u0434\u0430\u043d \u0434\u0430\u043d","\u0458\u0435\u0434\u043d\u043e\u0433 \u0434\u0430\u043d\u0430"],dd:["\u0434\u0430\u043d","\u0434\u0430\u043d\u0430","\u0434\u0430\u043d\u0430"],M:["\u0458\u0435\u0434\u0430\u043d \u043c\u0435\u0441\u0435\u0446","\u0458\u0435\u0434\u043d\u043e\u0433 \u043c\u0435\u0441\u0435\u0446\u0430"],MM:["\u043c\u0435\u0441\u0435\u0446","\u043c\u0435\u0441\u0435\u0446\u0430","\u043c\u0435\u0441\u0435\u0446\u0438"],y:["\u0458\u0435\u0434\u043d\u0443 \u0433\u043e\u0434\u0438\u043d\u0443","\u0458\u0435\u0434\u043d\u0435 \u0433\u043e\u0434\u0438\u043d\u0435"],yy:["\u0433\u043e\u0434\u0438\u043d\u0443","\u0433\u043e\u0434\u0438\u043d\u0435","\u0433\u043e\u0434\u0438\u043d\u0430"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,i,r){var a,o=t.words[i];return 1===i.length?"y"===i&&n?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":r||n?o[0]:o[1]:(a=t.correctGrammaticalCase(e,o),"yy"===i&&n&&"\u0433\u043e\u0434\u0438\u043d\u0443"===a?e+" \u0433\u043e\u0434\u0438\u043d\u0430":e+" "+a)}};e.defineLocale("sr-cyrl",{months:"\u0458\u0430\u043d\u0443\u0430\u0440_\u0444\u0435\u0431\u0440\u0443\u0430\u0440_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0431\u0430\u0440_\u043e\u043a\u0442\u043e\u0431\u0430\u0440_\u043d\u043e\u0432\u0435\u043c\u0431\u0430\u0440_\u0434\u0435\u0446\u0435\u043c\u0431\u0430\u0440".split("_"),monthsShort:"\u0458\u0430\u043d._\u0444\u0435\u0431._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433._\u0441\u0435\u043f._\u043e\u043a\u0442._\u043d\u043e\u0432._\u0434\u0435\u0446.".split("_"),monthsParseExact:!0,weekdays:"\u043d\u0435\u0434\u0435\u0459\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u0430\u043a_\u0443\u0442\u043e\u0440\u0430\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u0430\u043a_\u043f\u0435\u0442\u0430\u043a_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434._\u043f\u043e\u043d._\u0443\u0442\u043e._\u0441\u0440\u0435._\u0447\u0435\u0442._\u043f\u0435\u0442._\u0441\u0443\u0431.".split("_"),weekdaysMin:"\u043d\u0435_\u043f\u043e_\u0443\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441\u0443".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[\u0434\u0430\u043d\u0430\u0441 \u0443] LT",nextDay:"[\u0441\u0443\u0442\u0440\u0430 \u0443] LT",nextWeek:function(){switch(this.day()){case 0:return"[\u0443] [\u043d\u0435\u0434\u0435\u0459\u0443] [\u0443] LT";case 3:return"[\u0443] [\u0441\u0440\u0435\u0434\u0443] [\u0443] LT";case 6:return"[\u0443] [\u0441\u0443\u0431\u043e\u0442\u0443] [\u0443] LT";case 1:case 2:case 4:case 5:return"[\u0443] dddd [\u0443] LT"}},lastDay:"[\u0458\u0443\u0447\u0435 \u0443] LT",lastWeek:function(){return["[\u043f\u0440\u043e\u0448\u043b\u0435] [\u043d\u0435\u0434\u0435\u0459\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u043e\u043d\u0435\u0434\u0435\u0459\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0443\u0442\u043e\u0440\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0440\u0435\u0434\u0435] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u0447\u0435\u0442\u0432\u0440\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u043e\u0433] [\u043f\u0435\u0442\u043a\u0430] [\u0443] LT","[\u043f\u0440\u043e\u0448\u043b\u0435] [\u0441\u0443\u0431\u043e\u0442\u0435] [\u0443] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435 %s",s:"\u043d\u0435\u043a\u043e\u043b\u0438\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},EOgW:function(e,t,n){!function(e){"use strict";e.defineLocale("th",{months:"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21_\u0e01\u0e38\u0e21\u0e20\u0e32\u0e1e\u0e31\u0e19\u0e18\u0e4c_\u0e21\u0e35\u0e19\u0e32\u0e04\u0e21_\u0e40\u0e21\u0e29\u0e32\u0e22\u0e19_\u0e1e\u0e24\u0e29\u0e20\u0e32\u0e04\u0e21_\u0e21\u0e34\u0e16\u0e38\u0e19\u0e32\u0e22\u0e19_\u0e01\u0e23\u0e01\u0e0e\u0e32\u0e04\u0e21_\u0e2a\u0e34\u0e07\u0e2b\u0e32\u0e04\u0e21_\u0e01\u0e31\u0e19\u0e22\u0e32\u0e22\u0e19_\u0e15\u0e38\u0e25\u0e32\u0e04\u0e21_\u0e1e\u0e24\u0e28\u0e08\u0e34\u0e01\u0e32\u0e22\u0e19_\u0e18\u0e31\u0e19\u0e27\u0e32\u0e04\u0e21".split("_"),monthsShort:"\u0e21.\u0e04._\u0e01.\u0e1e._\u0e21\u0e35.\u0e04._\u0e40\u0e21.\u0e22._\u0e1e.\u0e04._\u0e21\u0e34.\u0e22._\u0e01.\u0e04._\u0e2a.\u0e04._\u0e01.\u0e22._\u0e15.\u0e04._\u0e1e.\u0e22._\u0e18.\u0e04.".split("_"),monthsParseExact:!0,weekdays:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a\u0e1a\u0e14\u0e35_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysShort:"\u0e2d\u0e32\u0e17\u0e34\u0e15\u0e22\u0e4c_\u0e08\u0e31\u0e19\u0e17\u0e23\u0e4c_\u0e2d\u0e31\u0e07\u0e04\u0e32\u0e23_\u0e1e\u0e38\u0e18_\u0e1e\u0e24\u0e2b\u0e31\u0e2a_\u0e28\u0e38\u0e01\u0e23\u0e4c_\u0e40\u0e2a\u0e32\u0e23\u0e4c".split("_"),weekdaysMin:"\u0e2d\u0e32._\u0e08._\u0e2d._\u0e1e._\u0e1e\u0e24._\u0e28._\u0e2a.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm",LLLL:"\u0e27\u0e31\u0e19dddd\u0e17\u0e35\u0e48 D MMMM YYYY \u0e40\u0e27\u0e25\u0e32 H:mm"},meridiemParse:/\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07|\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07/,isPM:function(e){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===e},meridiem:function(e,t,n){return e<12?"\u0e01\u0e48\u0e2d\u0e19\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07":"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"},calendar:{sameDay:"[\u0e27\u0e31\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextDay:"[\u0e1e\u0e23\u0e38\u0e48\u0e07\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",nextWeek:"dddd[\u0e2b\u0e19\u0e49\u0e32 \u0e40\u0e27\u0e25\u0e32] LT",lastDay:"[\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e27\u0e32\u0e19\u0e19\u0e35\u0e49 \u0e40\u0e27\u0e25\u0e32] LT",lastWeek:"[\u0e27\u0e31\u0e19]dddd[\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27 \u0e40\u0e27\u0e25\u0e32] LT",sameElse:"L"},relativeTime:{future:"\u0e2d\u0e35\u0e01 %s",past:"%s\u0e17\u0e35\u0e48\u0e41\u0e25\u0e49\u0e27",s:"\u0e44\u0e21\u0e48\u0e01\u0e35\u0e48\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d \u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1 \u0e19\u0e32\u0e17\u0e35",mm:"%d \u0e19\u0e32\u0e17\u0e35",h:"1 \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d \u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",d:"1 \u0e27\u0e31\u0e19",dd:"%d \u0e27\u0e31\u0e19",w:"1 \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",ww:"%d \u0e2a\u0e31\u0e1b\u0e14\u0e32\u0e2b\u0e4c",M:"1 \u0e40\u0e14\u0e37\u0e2d\u0e19",MM:"%d \u0e40\u0e14\u0e37\u0e2d\u0e19",y:"1 \u0e1b\u0e35",yy:"%d \u0e1b\u0e35"}})}(n("wd/R"))},EQ5u:function(e,t,n){"use strict";n.d(t,"a",function(){return h}),n.d(t,"b",function(){return m});var i=n("ReuC"),r=n("foSv"),a=n("1OyB"),o=n("vuIU"),s=n("Ji7U"),l=n("LK+K"),c=n("XNiG"),d=n("HDdC"),u=(n("7o/Q"),n("quSY")),p=n("x+ZX"),h=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i){var r;return Object(a.a)(this,n),(r=t.call(this)).source=e,r.subjectFactory=i,r._refCount=0,r._isComplete=!1,r}return Object(o.a)(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new u.a).add(this.source.subscribe(new g(this.getSubject(),this))),e.closed&&(this._connection=null,e=u.a.EMPTY)),e}},{key:"refCount",value:function(){return Object(p.a)()(this)}}]),n}(d.a),m=function(){var e=h.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}}(),g=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i){var r;return Object(a.a)(this,n),(r=t.call(this,e)).connectable=i,r}return Object(o.a)(n,[{key:"_error",value:function(e){this._unsubscribe(),Object(i.a)(Object(r.a)(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),Object(i.a)(Object(r.a)(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value: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()}}}]),n}(c.b)},EY2u:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var i=n("HDdC"),r=new i.a(function(e){return e.complete()});function a(e){return e?function(e){return new i.a(function(t){return e.schedule(function(){return t.complete()})})}(e):r}},EnSh:function(e,t,n){"use strict";n.r(t),n.d(t,"FileSaverDirective",function(){return p}),n.d(t,"FileSaverModule",function(){return h}),n.d(t,"FileSaverService",function(){return c});var i=n("1OyB"),r=n("vuIU"),a=n("fXoL"),o=n("Iab2"),s=n("tk/3"),l=n("HDdC"),c=function(){var e=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"isFileSaverSupported",get:function(){try{return!!new Blob}catch(e){return!1}}},{key:"genType",value:function(e){if(!e||-1===e.lastIndexOf("."))return"text/plain";var t=e.substr(e.lastIndexOf(".")+1);switch(t){case"txt":return"text/plain";case"xml":case"html":return"text/".concat(t);case"json":return"octet/stream";default:return"application/".concat(t)}}},{key:"save",value:function(e,t,n,i){if(!e)throw new Error("Data argument should be a blob instance");var r=new Blob([e],{type:n||e.type||this.genType(t)});Object(o.saveAs)(r,decodeURI(t||"download"),i)}},{key:"saveText",value:function(e,t,n){var i=new Blob([e]);this.save(i,t,null,n)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a["\u0275\u0275defineInjectable"]({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=Object(a["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}(),d=function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},u=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},p=function(){var e=function(){function e(t,n,r){Object(i.a)(this,e),this.el=t,this.fss=n,this.httpClient=r,this.method="GET",this.success=new a.EventEmitter,this.error=new a.EventEmitter,n.isFileSaverSupported||t.nativeElement.classList.add("filesaver__not-support")}return Object(r.a)(e,[{key:"getName",value:function(e){return decodeURI(this.fileName||e.headers.get("filename")||e.headers.get("x-filename"))}},{key:"_click",value:function(){var e=this;if(this.fss.isFileSaverSupported){var t=this.http;if(!t){var n=new s.d,i=this.query||{};for(var r in i)n.set(r,i[r]);t=this.httpClient.request(this.method,this.url,{observe:"response",responseType:"blob",headers:this.header,params:n})}this.setDisabled(!0),t.subscribe(function(t){200!==t.status||t.body.size<=0?e.error.emit(t):(e.fss.save(t.body,e.getName(t),null,e.fsOptions),e.success.emit(t))},function(t){return e.error.emit(t)},function(){return e.setDisabled(!1)})}}},{key:"setDisabled",value:function(e){var t=this.el.nativeElement;t.disabled=e,t.classList[e?"add":"remove"]("filesaver__disabled")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275directiveInject"](a.ElementRef),a["\u0275\u0275directiveInject"](c),a["\u0275\u0275directiveInject"](s.b))},e.\u0275dir=a["\u0275\u0275defineDirective"]({type:e,selectors:[["","fileSaver",""]],hostBindings:function(e,t){1&e&&a["\u0275\u0275listener"]("click",function(){return t._click()})},inputs:{method:"method",http:"http",query:"query",header:"header",url:"url",fileName:"fileName",fsOptions:"fsOptions"},outputs:{success:"success",error:"error"},exportAs:["fileSaver"]}),d([Object(a.Input)(),u("design:type",Object)],e.prototype,"method",void 0),d([Object(a.Input)(),u("design:type",l.a)],e.prototype,"http",void 0),d([Object(a.Input)(),u("design:type",Object)],e.prototype,"query",void 0),d([Object(a.Input)(),u("design:type",Object)],e.prototype,"header",void 0),d([Object(a.Input)(),u("design:type",String)],e.prototype,"url",void 0),d([Object(a.Input)(),u("design:type",String)],e.prototype,"fileName",void 0),d([Object(a.Input)(),u("design:type",Object)],e.prototype,"fsOptions",void 0),d([Object(a.Output)(),u("design:type",Object)],e.prototype,"success",void 0),d([Object(a.Output)(),u("design:type",Object)],e.prototype,"error",void 0),d([Object(a.HostListener)("click"),u("design:type",Function),u("design:paramtypes",[]),u("design:returntype",void 0)],e.prototype,"_click",null),e=d([u("design:paramtypes",[a.ElementRef,c,s.b])],e)}(),h=function(){var e=Object(r.a)(function e(){Object(i.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=a["\u0275\u0275defineInjector"]({}),e}()},Ew8h:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("fXoL"),r=n("uJc7"),a=n("tk/3"),o=n("b6Qw"),s=function(){function e(e,t,n){this.http=e,this.cookieService=t,this.accountService=n,this._adminMemberships=[],this.groupSwitcher=new i.EventEmitter,this._groupInviteCodeURL="/api/v2/account/get_by_invite",this._listAdminMembershipURL="/api/v2/group/list_admin",this._createGroupURL="/api/v2/group/create",this._listGroupsURL="/api/v2/group/list",this._listGroupFeedURL="/api/v2/group/get_workouts_for_feed",this._getGroupURL="/api/v2/group/get_by_path",this._getGroupMessageURL="/api/v2/group/get_group_message",this._setGroupMessageURL="/api/v2/group/set_group_message",this._deleteGroupURL="/api/v2/group/remove_group",this._updateGroupURL="/api/v2/group/update",this._groupPhotoUploadURL="/api/v2/group/upload_image",this._removeBannerURL="/api/v2/group/remove_banner",this._groupBannerPhotoUploadURL="/api/v2/group_photo_upload/upload_image",this._groupMemberStatsURL="/api/v2/group/membership_stats",this._groupMembershipURL="/api/v2/group/membership",this._sendGroupMessageURL="/api/v2/group/send_message",this._getGroupMemberURL="/api/v2/group/get_member_info",this._updateGroupMemberURL="/api/v2/group/update_member_profile",this._removeGroupMemberURL="/api/v2/group/remove_member_from_group",this._inviteGroupMembersURL="/api/v2/group/invite_user_list",this._leaveGroupURL="/api/v2/group/leave_group",this._joinGroupUsingPasswordURL="/api/v2/group/join_group_using_name_password_combo",this._joinGroupUsingInviteURL="/api/v2/group/join_group_using_invitation_code",this._groupImportMemberURL="/api/v2/group/get_group_import_member_list",this._joinGroupURL="/api/v2/group/join_group",this._getGroupMemberPermission="/api/v2/group/get_member_permission_list",this._setGroupMemberPermission="/api/v2/group/update_member_permission_list",this._bcEnrollmentURL="/api/v2/auth/verify_open_enrollment",this._bcEnrollmentValidationURL="/api/v2/auth/account_enrollment_validation",this._bcEnrollURL="/api/v2/company/enroll",this._getGroupImportListURL="/api/v2/group/import_group_list",this._getGroupImportMemberListURL="/api/v2/group/get_group_import_member_list",this._searchEmployeeURL="/api/v2/company/query_search_employee",this._uploadGroupMembersURL="/api/v2/group/import_group_admin",this._employeeJoinURL="/api/v2/company/employee/join",this._runCUHPReportsURL="/api/v2/reports/bc_groups_db"}return Object.defineProperty(e.prototype,"adminMemberships",{get:function(){return this._adminMemberships},set:function(e){this._adminMemberships=e},enumerable:!1,configurable:!0}),e.prototype.getGroupByInviteCode=function(e){return this.http.post(this.accountService.getPy3Host()+this._groupInviteCodeURL,{params:{invite_code:e}},{})},e.prototype.getAdminMembership=function(){return this.http.post(this.accountService.getPy3Host()+this._listAdminMembershipURL,{},{})},e.prototype.createGroup=function(e){return this.http.post(this.accountService.getPy3Host()+this._createGroupURL,{params:e},{})},e.prototype.BCValidateEnrollment=function(e,t,n,i){return this.http.post(this.accountService.getPy3Host()+this._bcEnrollmentValidationURL,{params:{employee_id:e,last_name:t,email:n,existingAccount:i}},{})},e.prototype.BCEnrollmentCheck=function(e,t){return this.http.post(this.accountService.getPy3Host()+this._bcEnrollmentURL,{params:{employee_id:e,last_name:t}},{})},e.prototype.BCEnroll=function(e,t){return this.http.post(this.accountService.getPy3Host()+this._bcEnrollURL,{params:{employee_id:e,last_name:t}},{})},e.prototype.listGroups=function(){return this.http.post(this.accountService.getPy3Host()+this._listGroupsURL,{},{})},e.prototype.listGroupFeed=function(e,t,n){return this.http.post(this.accountService.getPy3Host()+this._listGroupFeedURL,{params:{path:e.toString(),startDate:t,endDate:n,category:"workout",page:1,limit:25}},{})},e.prototype.getGroup=function(e){return this.http.post(this.accountService.getPy3Host()+this._getGroupURL,{params:{path:e}},{})},e.prototype.getGroupImportList=function(e){return this.http.post(this.accountService.getPy3Host()+this._getGroupImportListURL,{params:{groupID:e}},{})},e.prototype.getGroupMessage=function(e){return this.http.post(this.accountService.getPy3Host()+this._getGroupMessageURL,{params:{path:e.toString()}},{})},e.prototype.setGroupMessage=function(e,t){return this.http.post(this.accountService.getPy3Host()+this._setGroupMessageURL,{params:{path:e.toString(),content:t}},{})},e.prototype.getGroupImportMemberList=function(e){return this.http.post(this.accountService.getPy3Host()+this._getGroupImportMemberListURL,{params:{groupID:e}},{})},e.prototype.searchMember=function(e){return this.http.post(this.accountService.getPy3Host()+this._searchEmployeeURL,{params:e},{})},e.prototype.uploadPhoto=function(e){return this.http.post(this.accountService.getPy3Host()+this._groupPhotoUploadURL,e,{})},e.prototype.removeBanner=function(e){return this.http.post(this.accountService.getPy3Host()+this._removeBannerURL,{groupId:e},{})},e.prototype.uploadBanner=function(e){return this.http.post(this.accountService.getPy3Host()+this._groupBannerPhotoUploadURL,e,{})},e.prototype.uploadGroupMembers=function(e){return this.http.post(this.accountService.getPy3Host()+this._uploadGroupMembersURL,e,{})},e.prototype.memberStats=function(e,t,n){var i={params:{path:String(e),start_date:t,end_date:n}};return this.http.post(this.accountService.getPy3Host()+this._groupMemberStatsURL,i,{})},e.prototype.membership=function(e){var t={params:{path:String(e),str_values:!1}};return this.http.post(this.accountService.getPy3Host()+this._groupMembershipURL,t,{})},e.prototype.updateGroup=function(e){var t={params:{groupDescription:e.description,groupInvitationCode:e.inviteCode,groupName:e.name,groupUri:e.url,groupPassword:e.password,components:e.components,path:String(e.id)}};return this.http.post(this.accountService.getPy3Host()+this._updateGroupURL,t,{})},e.prototype.updateGroupPassword=function(e,t){return this.http.post(this.accountService.getPy3Host()+this._updateGroupURL,{params:{path:String(e),password:t}},{})},e.prototype.deleteGroup=function(e){return this.http.post(this.accountService.getPy3Host()+this._deleteGroupURL,{params:{path:String(e)}},{})},e.prototype.getGroupMember=function(e){return this.http.post(this.accountService.getPy3Host()+this._getGroupMemberURL,{params:{path:e}},{})},e.prototype.removeGroupMember=function(e){var t={params:{accountID:e.accountId,path:String(e.groupId)}};return this.http.post(this.accountService.getPy3Host()+this._removeGroupMemberURL,t,{})},e.prototype.updateGroupMember=function(e){var t={params:{accountID:e.accountId,path:String(e.groupId),is_admin:e.isAdmin,is_auditor:e.isAuditor,is_owner:e.isOwner}};return"ADMINISTRATOR"===e.role&&(t.params.is_admin=!0),"COACH TRAINER"===e.role&&(t.params.is_auditor=!0),"MEMBER"===e.role&&(t.params.is_auditor=!1,t.params.is_admin=!1),this.http.post(this.accountService.getPy3Host()+this._updateGroupMemberURL,t,{})},e.prototype.sendGroupMessage=function(e,t,n,i){var r={params:{path:String(e),title:t,description:n,push:i}};return this.http.post(this.accountService.getPy3Host()+this._sendGroupMessageURL,r,{})},e.prototype.inviteGroupMembers=function(e,t){return this.http.post(this.accountService.getPy3Host()+this._inviteGroupMembersURL,{params:{path:e.toString(),email_list:t}},{})},e.prototype.leaveGroup=function(e){return this.http.post(this.accountService.getPy3Host()+this._leaveGroupURL,{params:{path:e.toString()}},{})},e.prototype.joinGroupUsingPassword=function(e,t){return this.http.post(this.accountService.getPy3Host()+this._joinGroupUsingPasswordURL,{params:{groupName:e,groupPassword:t}},{})},e.prototype.joinGroupUsingInvite=function(e){return this.http.post(this.accountService.getPy3Host()+this._joinGroupUsingInviteURL,{params:{invitationCode:e,auditEnabled:!0}},{})},e.prototype.beColoradoTryJoinProgram=function(e){return this.http.post(this.accountService.getHostname()+this._groupImportMemberURL,{params:e},{})},e.prototype.companyEmployeeJoinGroup=function(e){return this.http.post(this.accountService.getHostname()+this._employeeJoinURL,{params:e},{})},e.prototype.runCUHPReports=function(){var e={group:String("UOC"),send_email:"false",evaluate:"2023-08-01"};return this.http.post(this.accountService.getPy3Host()+this._runCUHPReportsURL,{params:e},{})},e.prototype.joinGroup=function(e){return this.http.post(this.accountService.getPy3Host()+this._joinGroupURL,{params:{path:e.toString(),invite:!0}},{})},e.prototype.getGroupMemberPermission=function(e){return this.http.post(this.accountService.getPy3Host()+this._getGroupMemberPermission,{params:{path:e.toString()}},{})},e.prototype.setGroupMemberPermission=function(e,t){return this.http.post(this.accountService.getPy3Host()+this._setGroupMemberPermission,{params:{path:e.toString(),permission_list:t}},{})},e.prototype.getDevice=function(){return JSON.parse(atob(this.cookieService.get("session").split("|")[0])).deviceId},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](a.b),i["\u0275\u0275inject"](o.a),i["\u0275\u0275inject"](r.a))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},FKr1:function(e,t,n){"use strict";n.d(t,"a",function(){return E}),n.d(t,"b",function(){return M}),n.d(t,"c",function(){return N}),n.d(t,"d",function(){return K}),n.d(t,"e",function(){return H}),n.d(t,"f",function(){return z}),n.d(t,"g",function(){return be}),n.d(t,"h",function(){return ge}),n.d(t,"i",function(){return de}),n.d(t,"j",function(){return T}),n.d(t,"k",function(){return J}),n.d(t,"l",function(){return te}),n.d(t,"m",function(){return X}),n.d(t,"n",function(){return xe}),n.d(t,"o",function(){return ke}),n.d(t,"p",function(){return Me}),n.d(t,"q",function(){return Se}),n.d(t,"r",function(){return he}),n.d(t,"s",function(){return me}),n.d(t,"t",function(){return ue}),n.d(t,"u",function(){return pe}),n.d(t,"v",function(){return se}),n.d(t,"w",function(){return Oe}),n.d(t,"x",function(){return Ee}),n.d(t,"y",function(){return L}),n.d(t,"z",function(){return R}),n.d(t,"A",function(){return D}),n.d(t,"B",function(){return A}),n.d(t,"C",function(){return F}),n.d(t,"D",function(){return j}),n.d(t,"E",function(){return Q});var i=n("JX7q"),r=n("ReuC"),a=n("foSv"),o=n("Ji7U"),s=n("LK+K"),l=n("vuIU"),c=n("1OyB"),d=n("fXoL"),u=n("u47x"),p=n("cH1L"),h=new d.Version("11.2.13"),m=n("ofXK"),g=n("8LU1"),f=n("XNiG"),v=n("HDdC"),y=n("nLfN"),b=n("JX91"),x=n("R1ws"),_=n("FtGj"),w=["*",[["mat-option"],["ng-container"]]],S=["*","mat-option, ng-container"];function C(e,t){if(1&e&&d["\u0275\u0275element"](0,"mat-pseudo-checkbox",4),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275property"]("state",n.selected?"checked":"unchecked")("disabled",n.disabled)}}function k(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"span",5),d["\u0275\u0275text"](1),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"]("(",n.group.label,")")}}var O=["*"],E=function(){var e=Object(l.a)(function e(){Object(c.a)(this,e)});return e.STANDARD_CURVE="cubic-bezier(0.4,0.0,0.2,1)",e.DECELERATION_CURVE="cubic-bezier(0.0,0.0,0.2,1)",e.ACCELERATION_CURVE="cubic-bezier(0.4,0.0,1,1)",e.SHARP_CURVE="cubic-bezier(0.4,0.0,0.6,1)",e}(),M=function(){var e=Object(l.a)(function e(){Object(c.a)(this,e)});return e.COMPLEX="375ms",e.ENTERING="225ms",e.EXITING="195ms",e}(),I=new d.Version("11.2.13"),P=new d.InjectionToken("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),T=function(){var e=function(){function e(t,n,i){Object(c.a)(this,e),this._hasDoneGlobalChecks=!1,this._document=i,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return Object(l.a)(e,[{key:"_getWindow",value:function(){var e=this._document.defaultView||window;return"object"==typeof e&&e?e:null}},{key:"_checksAreEnabled",value:function(){return Object(d.isDevMode)()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype)&&!this._document.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){if(this._checksAreEnabled()&&!1!==this._sanityChecks&&this._sanityChecks.theme&&this._document.body&&"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)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&I.full!==h.full&&console.warn("The Angular Material version ("+I.full+") does not match the Angular CDK version ("+h.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](u.j),d["\u0275\u0275inject"](P,8),d["\u0275\u0275inject"](m.DOCUMENT))},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({imports:[[p.a],p.a]}),e}();function D(e){return function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){var e;Object(c.a)(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r)))._disabled=!1,e}return Object(l.a)(n,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(g.c)(e)}}]),n}(e)}function L(e,t){return function(e){Object(o.a)(i,e);var n=Object(s.a)(i);function i(){var e;Object(c.a)(this,i);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=n.call.apply(n,[this].concat(a))).defaultColor=t,e.color=t,e}return Object(l.a)(i,[{key:"color",get:function(){return this._color},set:function(e){var t=e||this.defaultColor;t!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove("mat-".concat(this._color)),t&&this._elementRef.nativeElement.classList.add("mat-".concat(t)),this._color=t)}}]),i}(e)}function R(e){return function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){var e;Object(c.a)(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r)))._disableRipple=!1,e}return Object(l.a)(n,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(e){this._disableRipple=Object(g.c)(e)}}]),n}(e)}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=function(e){Object(o.a)(i,e);var n=Object(s.a)(i);function i(){var e;Object(c.a)(this,i);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return(e=n.call.apply(n,[this].concat(a)))._tabIndex=t,e.defaultTabIndex=t,e}return Object(l.a)(i,[{key:"tabIndex",get:function(){return this.disabled?-1:this._tabIndex},set:function(e){this._tabIndex=null!=e?Object(g.f)(e):this.defaultTabIndex}}]),i}(e);return n}function A(e){return function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){var e;Object(c.a)(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))).errorState=!1,e.stateChanges=new f.a,e}return Object(l.a)(n,[{key:"updateErrorState",value:function(){var e=this.errorState,t=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);t!==e&&(this.errorState=t,this.stateChanges.next())}}]),n}(e)}function F(e){return function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){var e;Object(c.a)(this,n);for(var i=arguments.length,r=new Array(i),a=0;a<i;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r)))._isInitialized=!1,e._pendingSubscribers=[],e.initialized=new v.a(function(t){e._isInitialized?e._notifySubscriber(t):e._pendingSubscribers.push(t)}),e}return Object(l.a)(n,[{key:"_markInitialized",value:function(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}},{key:"_notifySubscriber",value:function(e){e.next(),e.complete()}}]),n}(e)}var B,z=new d.InjectionToken("MAT_DATE_LOCALE",{providedIn:"root",factory:function(){return Object(d.inject)(d.LOCALE_ID)}}),N=function(){function e(){Object(c.a)(this,e),this._localeChanges=new f.a,this.localeChanges=this._localeChanges}return Object(l.a)(e,[{key:"getValidDateOrNull",value:function(e){return this.isDateInstance(e)&&this.isValid(e)?e:null}},{key:"deserialize",value:function(e){return null==e||this.isDateInstance(e)&&this.isValid(e)?e:this.invalid()}},{key:"setLocale",value:function(e){this.locale=e,this._localeChanges.next()}},{key:"compareDate",value:function(e,t){return this.getYear(e)-this.getYear(t)||this.getMonth(e)-this.getMonth(t)||this.getDate(e)-this.getDate(t)}},{key:"sameDate",value:function(e,t){if(e&&t){var n=this.isValid(e),i=this.isValid(t);return n&&i?!this.compareDate(e,t):n==i}return e==t}},{key:"clampDate",value:function(e,t,n){return t&&this.compareDate(e,t)<0?t:n&&this.compareDate(e,n)>0?n:e}}]),e}(),H=new d.InjectionToken("mat-date-formats");try{B="undefined"!=typeof Intl}catch(Ie){B=!1}var V={long:["January","February","March","April","May","June","July","August","September","October","November","December"],short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],narrow:["J","F","M","A","M","J","J","A","S","O","N","D"]},Y=U(31,function(e){return String(e+1)}),W={long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],narrow:["S","M","T","W","T","F","S"]},G=/^\d{4}-\d{2}-\d{2}(?:T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|(?:(?:\+|-)\d{2}:\d{2}))?)?$/;function U(e,t){for(var n=Array(e),i=0;i<e;i++)n[i]=t(i);return n}var q=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,o){var s,l;return Object(c.a)(this,n),(l=t.call(this)).useUtcForDisplay=!0,Object(r.a)((s=Object(i.a)(l),Object(a.a)(n.prototype)),"setLocale",s).call(s,e),l.useUtcForDisplay=!o.TRIDENT,l._clampDate=o.TRIDENT||o.EDGE,l}return Object(l.a)(n,[{key:"getYear",value:function(e){return e.getFullYear()}},{key:"getMonth",value:function(e){return e.getMonth()}},{key:"getDate",value:function(e){return e.getDate()}},{key:"getDayOfWeek",value:function(e){return e.getDay()}},{key:"getMonthNames",value:function(e){var t=this;if(B){var n=new Intl.DateTimeFormat(this.locale,{month:e,timeZone:"utc"});return U(12,function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,e,1)))})}return V[e]}},{key:"getDateNames",value:function(){var e=this;if(B){var t=new Intl.DateTimeFormat(this.locale,{day:"numeric",timeZone:"utc"});return U(31,function(n){return e._stripDirectionalityCharacters(e._format(t,new Date(2017,0,n+1)))})}return Y}},{key:"getDayOfWeekNames",value:function(e){var t=this;if(B){var n=new Intl.DateTimeFormat(this.locale,{weekday:e,timeZone:"utc"});return U(7,function(e){return t._stripDirectionalityCharacters(t._format(n,new Date(2017,0,e+1)))})}return W[e]}},{key:"getYearName",value:function(e){if(B){var t=new Intl.DateTimeFormat(this.locale,{year:"numeric",timeZone:"utc"});return this._stripDirectionalityCharacters(this._format(t,e))}return String(this.getYear(e))}},{key:"getFirstDayOfWeek",value:function(){return 0}},{key:"getNumDaysInMonth",value:function(e){return this.getDate(this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+1,0))}},{key:"clone",value:function(e){return new Date(e.getTime())}},{key:"createDate",value:function(e,t,n){var i=this._createDateWithOverflow(e,t,n);return i.getMonth(),i}},{key:"today",value:function(){return new Date}},{key:"parse",value:function(e){return"number"==typeof e?new Date(e):e?new Date(Date.parse(e)):null}},{key:"format",value:function(e,t){if(!this.isValid(e))throw Error("NativeDateAdapter: Cannot format invalid date.");if(B){this._clampDate&&(e.getFullYear()<1||e.getFullYear()>9999)&&(e=this.clone(e)).setFullYear(Math.max(1,Math.min(9999,e.getFullYear()))),t=Object.assign(Object.assign({},t),{timeZone:"utc"});var n=new Intl.DateTimeFormat(this.locale,t);return this._stripDirectionalityCharacters(this._format(n,e))}return this._stripDirectionalityCharacters(e.toDateString())}},{key:"addCalendarYears",value:function(e,t){return this.addCalendarMonths(e,12*t)}},{key:"addCalendarMonths",value:function(e,t){var n=this._createDateWithOverflow(this.getYear(e),this.getMonth(e)+t,this.getDate(e));return this.getMonth(n)!=((this.getMonth(e)+t)%12+12)%12&&(n=this._createDateWithOverflow(this.getYear(n),this.getMonth(n),0)),n}},{key:"addCalendarDays",value:function(e,t){return this._createDateWithOverflow(this.getYear(e),this.getMonth(e),this.getDate(e)+t)}},{key:"toIso8601",value:function(e){return[e.getUTCFullYear(),this._2digit(e.getUTCMonth()+1),this._2digit(e.getUTCDate())].join("-")}},{key:"deserialize",value:function(e){if("string"==typeof e){if(!e)return null;if(G.test(e)){var t=new Date(e);if(this.isValid(t))return t}}return Object(r.a)(Object(a.a)(n.prototype),"deserialize",this).call(this,e)}},{key:"isDateInstance",value:function(e){return e instanceof Date}},{key:"isValid",value:function(e){return!isNaN(e.getTime())}},{key:"invalid",value:function(){return new Date(NaN)}},{key:"_createDateWithOverflow",value:function(e,t,n){var i=new Date;return i.setFullYear(e,t,n),i.setHours(0,0,0,0),i}},{key:"_2digit",value:function(e){return("00"+e).slice(-2)}},{key:"_stripDirectionalityCharacters",value:function(e){return e.replace(/[\u200e\u200f]/g,"")}},{key:"_format",value:function(e,t){var n=new Date;return n.setUTCFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setUTCHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),e.format(n)}}]),n}(N);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](z,8),d["\u0275\u0275inject"](y.a))},e.\u0275prov=d["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),Z=function(){var e=Object(l.a)(function e(){Object(c.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({providers:[{provide:N,useClass:q}],imports:[[y.b]]}),e}(),$={parse:{dateInput:null},display:{dateInput:{year:"numeric",month:"numeric",day:"numeric"},monthYearLabel:{year:"numeric",month:"short"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}},X=function(){var e=Object(l.a)(function e(){Object(c.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({providers:[{provide:H,useValue:$}],imports:[[Z]]}),e}(),K=function(){var e=function(){function e(){Object(c.a)(this,e)}return Object(l.a)(e,[{key:"isErrorState",value:function(e,t){return!!(e&&e.invalid&&(e.touched||t&&t.submitted))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(d["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}(),J=function(){var e=Object(l.a)(function e(){Object(c.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","mat-line",""],["","matLine",""]],hostAttrs:[1,"mat-line"]}),e}();function Q(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"mat";e.changes.pipe(Object(b.a)(e)).subscribe(function(e){var i=e.length;ee(t,"".concat(n,"-2-line"),!1),ee(t,"".concat(n,"-3-line"),!1),ee(t,"".concat(n,"-multi-line"),!1),2===i||3===i?ee(t,"".concat(n,"-").concat(i,"-line"),!0):i>3&&ee(t,"".concat(n,"-multi-line"),!0)})}function ee(e,t,n){var i=e.nativeElement.classList;n?i.add(t):i.remove(t)}var te=function(){var e=Object(l.a)(function e(){Object(c.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({imports:[[T],T]}),e}(),ne=function(){function e(t,n,i){Object(c.a)(this,e),this._renderer=t,this.element=n,this.config=i,this.state=3}return Object(l.a)(e,[{key:"fadeOut",value:function(){this._renderer.fadeOutRipple(this)}}]),e}(),ie={enterDuration:450,exitDuration:400},re=Object(y.f)({passive:!0}),ae=["mousedown","touchstart"],oe=["mouseup","mouseleave","touchend","touchcancel"],se=function(){function e(t,n,i,r){Object(c.a)(this,e),this._target=t,this._ngZone=n,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,r.isBrowser&&(this._containerElement=Object(g.e)(i))}return Object(l.a)(e,[{key:"fadeInRipple",value:function(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),a=Object.assign(Object.assign({},ie),i.animation);i.centered&&(e=r.left+r.width/2,t=r.top+r.height/2);var o=i.radius||ce(e,t,r),s=e-r.left,l=t-r.top,c=a.enterDuration,d=document.createElement("div");d.classList.add("mat-ripple-element"),d.style.left="".concat(s-o,"px"),d.style.top="".concat(l-o,"px"),d.style.height="".concat(2*o,"px"),d.style.width="".concat(2*o,"px"),null!=i.color&&(d.style.backgroundColor=i.color),d.style.transitionDuration="".concat(c,"ms"),this._containerElement.appendChild(d),le(d),d.style.transform="scale(1)";var u=new ne(this,d,i);return u.state=0,this._activeRipples.add(u),i.persistent||(this._mostRecentTransientRipple=u),this._runTimeoutOutsideZone(function(){var e=u===n._mostRecentTransientRipple;u.state=1,i.persistent||e&&n._isPointerDown||u.fadeOut()},c),u}},{key:"fadeOutRipple",value:function(e){var t=this._activeRipples.delete(e);if(e===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),t){var n=e.element,i=Object.assign(Object.assign({},ie),e.config.animation);n.style.transitionDuration="".concat(i.exitDuration,"ms"),n.style.opacity="0",e.state=2,this._runTimeoutOutsideZone(function(){e.state=3,n.parentNode.removeChild(n)},i.exitDuration)}}},{key:"fadeOutAll",value:function(){this._activeRipples.forEach(function(e){return e.fadeOut()})}},{key:"fadeOutAllNonPersistent",value:function(){this._activeRipples.forEach(function(e){e.config.persistent||e.fadeOut()})}},{key:"setupTriggerEvents",value:function(e){var t=Object(g.e)(e);t&&t!==this._triggerElement&&(this._removeTriggerEvents(),this._triggerElement=t,this._registerEvents(ae))}},{key:"handleEvent",value:function(e){"mousedown"===e.type?this._onMousedown(e):"touchstart"===e.type?this._onTouchStart(e):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(oe),this._pointerUpEventsRegistered=!0)}},{key:"_onMousedown",value:function(e){var t=Object(u.l)(e),n=this._lastTouchStartEvent&&Date.now()<this._lastTouchStartEvent+800;this._target.rippleDisabled||t||n||(this._isPointerDown=!0,this.fadeInRipple(e.clientX,e.clientY,this._target.rippleConfig))}},{key:"_onTouchStart",value:function(e){if(!this._target.rippleDisabled&&!Object(u.m)(e)){this._lastTouchStartEvent=Date.now(),this._isPointerDown=!0;for(var t=e.changedTouches,n=0;n<t.length;n++)this.fadeInRipple(t[n].clientX,t[n].clientY,this._target.rippleConfig)}}},{key:"_onPointerUp",value:function(){this._isPointerDown&&(this._isPointerDown=!1,this._activeRipples.forEach(function(e){!e.config.persistent&&(1===e.state||e.config.terminateOnPointerUp&&0===e.state)&&e.fadeOut()}))}},{key:"_runTimeoutOutsideZone",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this._ngZone.runOutsideAngular(function(){return setTimeout(e,t)})}},{key:"_registerEvents",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){e.forEach(function(e){t._triggerElement.addEventListener(e,t,re)})})}},{key:"_removeTriggerEvents",value:function(){var e=this;this._triggerElement&&(ae.forEach(function(t){e._triggerElement.removeEventListener(t,e,re)}),this._pointerUpEventsRegistered&&oe.forEach(function(t){e._triggerElement.removeEventListener(t,e,re)}))}}]),e}();function le(e){window.getComputedStyle(e).getPropertyValue("opacity")}function ce(e,t,n){var i=Math.max(Math.abs(e-n.left),Math.abs(e-n.right)),r=Math.max(Math.abs(t-n.top),Math.abs(t-n.bottom));return Math.sqrt(i*i+r*r)}var de=new d.InjectionToken("mat-ripple-global-options"),ue=function(){var e=function(){function e(t,n,i,r,a){Object(c.a)(this,e),this._elementRef=t,this._animationMode=a,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=r||{},this._rippleRenderer=new se(this,n,t,i)}return Object(l.a)(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}},{key:"trigger",get:function(){return this._trigger||this._elementRef.nativeElement},set:function(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}},{key:"ngOnInit",value:function(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}},{key:"ngOnDestroy",value:function(){this._rippleRenderer._removeTriggerEvents()}},{key:"fadeOutAll",value:function(){this._rippleRenderer.fadeOutAll()}},{key:"fadeOutAllNonPersistent",value:function(){this._rippleRenderer.fadeOutAllNonPersistent()}},{key:"rippleConfig",get:function(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}},{key:"rippleDisabled",get:function(){return this.disabled||!!this._globalOptions.disabled}},{key:"_setupTriggerEventsIfEnabled",value:function(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}},{key:"launch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,t,Object.assign(Object.assign({},this.rippleConfig),n)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](d.NgZone),d["\u0275\u0275directiveInject"](y.a),d["\u0275\u0275directiveInject"](de,8),d["\u0275\u0275directiveInject"](x.a,8))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,t){2&e&&d["\u0275\u0275classProp"]("mat-ripple-unbounded",t.unbounded)},inputs:{radius:["matRippleRadius","radius"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"],color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],animation:["matRippleAnimation","animation"]},exportAs:["matRipple"]}),e}(),pe=function(){var e=Object(l.a)(function e(){Object(c.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({imports:[[T,y.b],T]}),e}(),he=function(){var e=Object(l.a)(function e(t){Object(c.a)(this,e),this._animationMode=t,this.state="unchecked",this.disabled=!1});return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](x.a,8))},e.\u0275cmp=d["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,t){2&e&&d["\u0275\u0275classProp"]("mat-pseudo-checkbox-indeterminate","indeterminate"===t.state)("mat-pseudo-checkbox-checked","checked"===t.state)("mat-pseudo-checkbox-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,t){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),e}(),me=function(){var e=Object(l.a)(function e(){Object(c.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({imports:[[T]]}),e}(),ge=new d.InjectionToken("MAT_OPTION_PARENT_COMPONENT"),fe=D(Object(l.a)(function e(){Object(c.a)(this,e)})),ve=0,ye=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e){var i,r;return Object(c.a)(this,n),(i=t.call(this))._labelId="mat-optgroup-label-".concat(ve++),i._inert=null!==(r=null==e?void 0:e.inertGroups)&&void 0!==r&&r,i}return Object(l.a)(n)}(fe);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](ge,8))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,inputs:{label:"label"},features:[d["\u0275\u0275InheritDefinitionFeature"]]}),e}(),be=new d.InjectionToken("MatOptgroup"),xe=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){return Object(c.a)(this,n),t.apply(this,arguments)}return Object(l.a)(n)}(ye);return e.\u0275fac=function(t){return _e(t||e)},e.\u0275cmp=d["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-optgroup"]],hostAttrs:[1,"mat-optgroup"],hostVars:5,hostBindings:function(e,t){2&e&&(d["\u0275\u0275attribute"]("role",t._inert?null:"group")("aria-disabled",t._inert?null:t.disabled.toString())("aria-labelledby",t._inert?null:t._labelId),d["\u0275\u0275classProp"]("mat-optgroup-disabled",t.disabled))},inputs:{disabled:"disabled"},exportAs:["matOptgroup"],features:[d["\u0275\u0275ProvidersFeature"]([{provide:be,useExisting:e}]),d["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:S,decls:4,vars:2,consts:[["aria-hidden","true",1,"mat-optgroup-label",3,"id"]],template:function(e,t){1&e&&(d["\u0275\u0275projectionDef"](w),d["\u0275\u0275elementStart"](0,"span",0),d["\u0275\u0275text"](1),d["\u0275\u0275projection"](2),d["\u0275\u0275elementEnd"](),d["\u0275\u0275projection"](3,1)),2&e&&(d["\u0275\u0275property"]("id",t._labelId),d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"]("",t.label," "))},styles:[".mat-optgroup-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup-label[disabled]{cursor:default}[dir=rtl] .mat-optgroup-label{text-align:right}.mat-optgroup-label .mat-icon{margin-right:16px;vertical-align:middle}.mat-optgroup-label .mat-icon svg{vertical-align:top}[dir=rtl] .mat-optgroup-label .mat-icon{margin-left:16px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e}(),_e=d["\u0275\u0275getInheritedFactory"](xe),we=0,Se=Object(l.a)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Object(c.a)(this,e),this.source=t,this.isUserInput=n}),Ce=function(){var e=function(){function e(t,n,i,r){Object(c.a)(this,e),this._element=t,this._changeDetectorRef=n,this._parent=i,this.group=r,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-".concat(we++),this.onSelectionChange=new d.EventEmitter,this._stateChanges=new f.a}return Object(l.a)(e,[{key:"multiple",get:function(){return this._parent&&this._parent.multiple}},{key:"selected",get:function(){return this._selected}},{key:"disabled",get:function(){return this.group&&this.group.disabled||this._disabled},set:function(e){this._disabled=Object(g.c)(e)}},{key:"disableRipple",get:function(){return this._parent&&this._parent.disableRipple}},{key:"active",get:function(){return this._active}},{key:"viewValue",get:function(){return(this._getHostElement().textContent||"").trim()}},{key:"select",value:function(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"deselect",value:function(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}},{key:"focus",value:function(e,t){var n=this._getHostElement();"function"==typeof n.focus&&n.focus(t)}},{key:"setActiveStyles",value:function(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}},{key:"setInactiveStyles",value:function(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}},{key:"getLabel",value:function(){return this.viewValue}},{key:"_handleKeydown",value:function(e){e.keyCode!==_.g&&e.keyCode!==_.o||Object(_.t)(e)||(this._selectViaInteraction(),e.preventDefault())}},{key:"_selectViaInteraction",value:function(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}},{key:"_getAriaSelected",value:function(){return this.selected||!this.multiple&&null}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._element.nativeElement}},{key:"ngAfterViewChecked",value:function(){if(this._selected){var e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"_emitSelectionChangeEvent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.onSelectionChange.emit(new Se(this,e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](d.ChangeDetectorRef),d["\u0275\u0275directiveInject"](void 0),d["\u0275\u0275directiveInject"](ye))},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,inputs:{id:"id",disabled:"disabled",value:"value"},outputs:{onSelectionChange:"onSelectionChange"}}),e}(),ke=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r,a){return Object(c.a)(this,n),t.call(this,e,i,r,a)}return Object(l.a)(n)}(Ce);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](d.ChangeDetectorRef),d["\u0275\u0275directiveInject"](ge,8),d["\u0275\u0275directiveInject"](be,8))},e.\u0275cmp=d["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,t){1&e&&d["\u0275\u0275listener"]("click",function(){return t._selectViaInteraction()})("keydown",function(e){return t._handleKeydown(e)}),2&e&&(d["\u0275\u0275hostProperty"]("id",t.id),d["\u0275\u0275attribute"]("tabindex",t._getTabIndex())("aria-selected",t._getAriaSelected())("aria-disabled",t.disabled.toString()),d["\u0275\u0275classProp"]("mat-selected",t.selected)("mat-option-multiple",t.multiple)("mat-active",t.active)("mat-option-disabled",t.disabled))},exportAs:["matOption"],features:[d["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:O,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,t){1&e&&(d["\u0275\u0275projectionDef"](),d["\u0275\u0275template"](0,C,1,2,"mat-pseudo-checkbox",0),d["\u0275\u0275elementStart"](1,"span",1),d["\u0275\u0275projection"](2),d["\u0275\u0275elementEnd"](),d["\u0275\u0275template"](3,k,2,1,"span",2),d["\u0275\u0275element"](4,"div",3)),2&e&&(d["\u0275\u0275property"]("ngIf",t.multiple),d["\u0275\u0275advance"](3),d["\u0275\u0275property"]("ngIf",t.group&&t.group._inert),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("matRippleTrigger",t._getHostElement())("matRippleDisabled",t.disabled||t.disableRipple))},directives:[m.NgIf,ue,he],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),e}();function Oe(e,t,n){if(n.length){for(var i=t.toArray(),r=n.toArray(),a=0,o=0;o<e+1;o++)i[o].group&&i[o].group===r[a]&&a++;return a}return 0}function Ee(e,t,n,i){return e<n?e:e+t>n+i?Math.max(0,e-i+t):n}var Me=function(){var e=Object(l.a)(function e(){Object(c.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({imports:[[pe,m.CommonModule,T,me]]}),e}()},Fnuy:function(e,t,n){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"geni\xe8r_febri\xe8r_mar\xe7_abril_mai_junh_julhet_agost_setembre_oct\xf2bre_novembre_decembre".split("_"),format:"de geni\xe8r_de febri\xe8r_de mar\xe7_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'oct\xf2bre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._mar\xe7_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dim\xe8cres_dij\xf2us_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[u\xe8i a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[i\xe8r a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aqu\xed %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|\xe8|a)/,ordinal:function(e,t){var n=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"\xe8";return"w"!==t&&"W"!==t||(n="a"),e+n},week:{dow:1,doy:4}})}(n("wd/R"))},FoCD:function(e,t,n){"use strict";n.d(t,"a",function(){return f});var i=n("Ew8h"),r=n("0IaG"),a=n("fXoL"),o=n("/t3+"),s=n("bTqV"),l=n("ofXK"),c=n("Xa2L"),d=n("bSwM"),u=n("3Pt+"),p=n("sYmb");function h(e,t){1&e&&a["\u0275\u0275element"](0,"mat-progress-spinner",12),2&e&&a["\u0275\u0275property"]("mode","indeterminate")("diameter",60)}function m(e,t){if(1&e){var n=a["\u0275\u0275getCurrentView"]();a["\u0275\u0275elementStart"](0,"td",20),a["\u0275\u0275elementStart"](1,"mat-checkbox",15),a["\u0275\u0275listener"]("ngModelChange",function(e){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275nextContext"](2).permissions.share_livetracking=e}),a["\u0275\u0275elementStart"](2,"span",16),a["\u0275\u0275text"](3),a["\u0275\u0275pipe"](4,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"]()}if(2&e){var i=a["\u0275\u0275nextContext"](2);a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("ngModel",i.permissions.share_livetracking)("color","primary"),a["\u0275\u0275advance"](2),a["\u0275\u0275textInterpolate1"]("",a["\u0275\u0275pipeBind1"](4,3,"ROOT.Livetracking"),"*")}}function g(e,t){if(1&e){var n=a["\u0275\u0275getCurrentView"]();a["\u0275\u0275elementStart"](0,"table",13),a["\u0275\u0275elementStart"](1,"tbody"),a["\u0275\u0275elementStart"](2,"tr",14),a["\u0275\u0275elementStart"](3,"td"),a["\u0275\u0275elementStart"](4,"mat-checkbox",15),a["\u0275\u0275listener"]("ngModelChange",function(e){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275nextContext"]().permissions.share_workout_info=e}),a["\u0275\u0275elementStart"](5,"span",16),a["\u0275\u0275text"](6),a["\u0275\u0275pipe"](7,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](8,"tr",14),a["\u0275\u0275elementStart"](9,"td"),a["\u0275\u0275elementStart"](10,"mat-checkbox",15),a["\u0275\u0275listener"]("ngModelChange",function(e){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275nextContext"]().permissions.share_name=e}),a["\u0275\u0275elementStart"](11,"span",16),a["\u0275\u0275text"](12),a["\u0275\u0275pipe"](13,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](14,"tr",14),a["\u0275\u0275elementStart"](15,"td"),a["\u0275\u0275elementStart"](16,"mat-checkbox",15),a["\u0275\u0275listener"]("ngModelChange",function(e){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275nextContext"]().permissions.share_email_address=e}),a["\u0275\u0275elementStart"](17,"span",16),a["\u0275\u0275text"](18),a["\u0275\u0275pipe"](19,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](20,"tr",14),a["\u0275\u0275elementStart"](21,"td"),a["\u0275\u0275elementStart"](22,"mat-checkbox",15),a["\u0275\u0275listener"]("ngModelChange",function(e){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275nextContext"]().permissions.share_photo=e}),a["\u0275\u0275elementStart"](23,"span",16),a["\u0275\u0275text"](24),a["\u0275\u0275pipe"](25,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](26,"tr",14),a["\u0275\u0275elementStart"](27,"td"),a["\u0275\u0275elementStart"](28,"mat-checkbox",15),a["\u0275\u0275listener"]("ngModelChange",function(e){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275nextContext"]().permissions.group_message_notifications=e}),a["\u0275\u0275elementStart"](29,"span",16),a["\u0275\u0275text"](30),a["\u0275\u0275pipe"](31,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](32,"tr",14),a["\u0275\u0275elementStart"](33,"td"),a["\u0275\u0275elementStart"](34,"mat-checkbox",15),a["\u0275\u0275listener"]("ngModelChange",function(e){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275nextContext"]().permissions.allow_audit_navigation=e}),a["\u0275\u0275elementStart"](35,"span",16),a["\u0275\u0275text"](36),a["\u0275\u0275pipe"](37,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](38,"tr",14),a["\u0275\u0275template"](39,m,5,5,"td",17),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](40,"tr"),a["\u0275\u0275elementStart"](41,"td"),a["\u0275\u0275text"](42," \xa0"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](43,"td",18),a["\u0275\u0275elementStart"](44,"button",19),a["\u0275\u0275listener"]("click",function(){a["\u0275\u0275restoreView"](n);var e=a["\u0275\u0275nextContext"]();return e.checkAll=!e.checkAll,e.toggleAllPermissions(e.checkAll)}),a["\u0275\u0275text"](45),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"]()}if(2&e){var i=a["\u0275\u0275nextContext"]();a["\u0275\u0275advance"](4),a["\u0275\u0275property"]("ngModel",i.permissions.share_workout_info)("color","primary"),a["\u0275\u0275advance"](2),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](7,21,"ROOT.Workout Details")),a["\u0275\u0275advance"](4),a["\u0275\u0275property"]("ngModel",i.permissions.share_name)("color","primary"),a["\u0275\u0275advance"](2),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](13,23,"ROOT.Your Name")),a["\u0275\u0275advance"](4),a["\u0275\u0275property"]("ngModel",i.permissions.share_email_address)("color","primary"),a["\u0275\u0275advance"](2),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](19,25,"ROOT.Email")),a["\u0275\u0275advance"](4),a["\u0275\u0275property"]("ngModel",i.permissions.share_photo)("color","primary"),a["\u0275\u0275advance"](2),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](25,27,"ROOT.Profile Photo")),a["\u0275\u0275advance"](4),a["\u0275\u0275property"]("ngModel",i.permissions.group_message_notifications)("color","primary"),a["\u0275\u0275advance"](2),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](31,29,"ROOT.Team Message Notifications")),a["\u0275\u0275advance"](4),a["\u0275\u0275property"]("ngModel",i.permissions.allow_audit_navigation)("color","primary"),a["\u0275\u0275advance"](2),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](37,31,"ROOT.Enable Coaches View")),a["\u0275\u0275advance"](3),a["\u0275\u0275property"]("ngIf",i.livetracking_enabled),a["\u0275\u0275advance"](5),a["\u0275\u0275property"]("disabled",!i.permissions||i.confirm&&!i.error),a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate1"](" ",i.checkAll?"Disallow All":"Allow All"," ")}}var f=function(){function e(e,t,n){this.groupService=e,this.dialogRef=t,this.group=n,this.livetracking_enabled=!0,this.loading=!0,this.checkAll=!1,this.permissions={share_workout_info:!0,share_name:!0,share_email_address:!0,share_photo:!0,group_message_notifications:!0,allow_audit_navigation:!0,share_livetracking:!0}}return e.prototype.toggleAllPermissions=function(e){for(var t in this.permissions)this.permissions[t]=e},e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.save=function(){this.groupService.setGroupMemberPermission(this.group.id,this.permissions).subscribe(function(e){}),this.dialogRef.close(!0)},e.prototype.ngOnInit=function(){var e=this;this.groupService.getGroupMemberPermission(this.group.id).subscribe(function(t){for(var n in t.response)e.permissions[n]=t.response[n];e.loading=!1})},e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275directiveInject"](i.a),a["\u0275\u0275directiveInject"](r.f),a["\u0275\u0275directiveInject"](r.a))},e.\u0275cmp=a["\u0275\u0275defineComponent"]({type:e,selectors:[["app-group-share-permissions"]],decls:28,vars:16,consts:[[2,"display","inline","padding-top","10px"],["width","33","height","33",2,"margin-right","15px","float","left",3,"src"],[2,"float","right","width","50px","text-align","right","margin-bottom","40px"],["mat-button","",1,"md-icon-button",2,"float","right",3,"click"],["mat-dialog-content",""],[2,"margin","20px"],[2,"margin","10px","max-width","400px"],[3,"mode","diameter",4,"ngIf"],["class","permissions-table","style","padding:2px;",4,"ngIf"],["mat-dialog-actions","","layout","row"],[1,"create-button",3,"click"],[1,"delete-cancel",2,"margin-left","20px",3,"click"],[3,"mode","diameter"],[1,"permissions-table",2,"padding","2px"],[2,"border","none"],[1,"graphOptionCheckbox",3,"ngModel","color","ngModelChange"],[1,"checkboxLabel"],["colspan","3",4,"ngIf"],[2,"text-align","right"],[1,"ng-binding","btn","btn-success",2,"border-radius","18px",3,"disabled","click"],["colspan","3"]],template:function(e,t){1&e&&(a["\u0275\u0275elementStart"](0,"mat-toolbar"),a["\u0275\u0275elementStart"](1,"mat-toolbar-row",0),a["\u0275\u0275element"](2,"img",1),a["\u0275\u0275elementStart"](3,"div",2),a["\u0275\u0275elementStart"](4,"button",3),a["\u0275\u0275listener"]("click",function(){return t.cancel()}),a["\u0275\u0275text"](5," X "),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](6,"h2"),a["\u0275\u0275text"](7),a["\u0275\u0275pipe"](8,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](9,"div",4),a["\u0275\u0275elementStart"](10,"div",5),a["\u0275\u0275elementStart"](11,"div",6),a["\u0275\u0275template"](12,h,1,2,"mat-progress-spinner",7),a["\u0275\u0275elementStart"](13,"h4"),a["\u0275\u0275text"](14),a["\u0275\u0275elementEnd"](),a["\u0275\u0275template"](15,g,46,33,"table",8),a["\u0275\u0275elementStart"](16,"span"),a["\u0275\u0275text"](17),a["\u0275\u0275pipe"](18,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](19,"div",9),a["\u0275\u0275elementStart"](20,"button",10),a["\u0275\u0275listener"]("click",function(){return t.save()}),a["\u0275\u0275elementStart"](21,"span"),a["\u0275\u0275text"](22),a["\u0275\u0275pipe"](23,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](24,"button",11),a["\u0275\u0275listener"]("click",function(){return t.cancel()}),a["\u0275\u0275elementStart"](25,"span"),a["\u0275\u0275text"](26),a["\u0275\u0275pipe"](27,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"]()),2&e&&(a["\u0275\u0275advance"](2),a["\u0275\u0275propertyInterpolate"]("src",t.group.profilePhoto,a["\u0275\u0275sanitizeUrl"]),a["\u0275\u0275advance"](5),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](8,8,"ROOT.Share Permissions")),a["\u0275\u0275advance"](5),a["\u0275\u0275property"]("ngIf",t.loading),a["\u0275\u0275advance"](2),a["\u0275\u0275textInterpolate"](t.group.name),a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("ngIf",!t.loading),a["\u0275\u0275advance"](2),a["\u0275\u0275textInterpolate1"](" * ",a["\u0275\u0275pipeBind1"](18,10,"ROOT.To track & stream live requires a Star membership.")," "),a["\u0275\u0275advance"](5),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](23,12,"ROOT.Save")),a["\u0275\u0275advance"](4),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](27,14,"ROOT.Cancel")))},directives:[o.a,o.c,s.b,r.d,l.NgIf,r.c,c.a,d.a,u.o,u.r],pipes:[p.c],styles:[".checkboxLabel[_ngcontent-%COMP%]{font-weight:400}.permissions-table[_ngcontent-%COMP%]{width:100%}"]}),e}()},FtGj:function(e,t,n){"use strict";n.d(t,"a",function(){return b}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return _}),n.d(t,"d",function(){return f}),n.d(t,"e",function(){return g}),n.d(t,"f",function(){return d}),n.d(t,"g",function(){return a}),n.d(t,"h",function(){return o}),n.d(t,"i",function(){return u}),n.d(t,"j",function(){return p}),n.d(t,"k",function(){return y}),n.d(t,"l",function(){return c}),n.d(t,"m",function(){return l}),n.d(t,"n",function(){return m}),n.d(t,"o",function(){return s}),n.d(t,"p",function(){return r}),n.d(t,"q",function(){return h}),n.d(t,"r",function(){return x}),n.d(t,"s",function(){return v}),n.d(t,"t",function(){return w});var i=8,r=9,a=13,o=27,s=32,l=33,c=34,d=35,u=36,p=37,h=38,m=39,g=40,f=46,v=48,y=57,b=65,x=90,_=188;function w(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.length?n.some(function(t){return e[t]}):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}},G0Uy:function(e,t,n){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_\u0120unju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Di\u010bembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_\u0120un_Lul_Aww_Set_Ott_Nov_Di\u010b".split("_"),weekdays:"Il-\u0126add_It-Tnejn_It-Tlieta_L-Erbg\u0127a_Il-\u0126amis_Il-\u0120img\u0127a_Is-Sibt".split("_"),weekdaysShort:"\u0126ad_Tne_Tli_Erb_\u0126am_\u0120im_Sib".split("_"),weekdaysMin:"\u0126a_Tn_Tl_Er_\u0126a_\u0120i_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[G\u0127ada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-biera\u0127 fil-]LT",lastWeek:"dddd [li g\u0127adda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f\u2019 %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"sieg\u0127a",hh:"%d sieg\u0127at",d:"\u0121urnata",dd:"%d \u0121ranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},GU7r:function(e,t,n){"use strict";n.d(t,"a",function(){return p}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return h});var i=n("1OyB"),r=n("vuIU"),a=n("8LU1"),o=n("fXoL"),s=n("HDdC"),l=n("XNiG"),c=n("Kj3r"),d=function(){var e=function(){function e(){Object(i.a)(this,e)}return Object(r.a)(e,[{key:"create",value:function(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}(),u=function(){var e=function(){function e(t){Object(i.a)(this,e),this._mutationObserverFactory=t,this._observedElements=new Map}return Object(r.a)(e,[{key:"ngOnDestroy",value:function(){var e=this;this._observedElements.forEach(function(t,n){return e._cleanupObserver(n)})}},{key:"observe",value:function(e){var t=this,n=Object(a.e)(e);return new s.a(function(e){var i=t._observeElement(n).subscribe(e);return function(){i.unsubscribe(),t._unobserveElement(n)}})}},{key:"_observeElement",value:function(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{var t=new l.a,n=this._mutationObserverFactory.create(function(e){return t.next(e)});n&&n.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:n,stream:t,count:1})}return this._observedElements.get(e).stream}},{key:"_unobserveElement",value:function(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}},{key:"_cleanupObserver",value:function(e){if(this._observedElements.has(e)){var t=this._observedElements.get(e),n=t.observer,i=t.stream;n&&n.disconnect(),i.complete(),this._observedElements.delete(e)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](d))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(o["\u0275\u0275inject"])(d))},token:e,providedIn:"root"}),e}(),p=function(){var e=function(){function e(t,n,r){Object(i.a)(this,e),this._contentObserver=t,this._elementRef=n,this._ngZone=r,this.event=new o.EventEmitter,this._disabled=!1,this._currentSubscription=null}return Object(r.a)(e,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(a.c)(e),this._disabled?this._unsubscribe():this._subscribe()}},{key:"debounce",get:function(){return this._debounce},set:function(e){this._debounce=Object(a.f)(e),this._subscribe()}},{key:"ngAfterContentInit",value:function(){this._currentSubscription||this.disabled||this._subscribe()}},{key:"ngOnDestroy",value:function(){this._unsubscribe()}},{key:"_subscribe",value:function(){var e=this;this._unsubscribe();var t=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(function(){e._currentSubscription=(e.debounce?t.pipe(Object(c.a)(e.debounce)):t).subscribe(e.event)})}},{key:"_unsubscribe",value:function(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](u),o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](o.NgZone))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),e}(),h=function(){var e=Object(r.a)(function e(){Object(i.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({providers:[d]}),e}()},GyhO:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("LRne"),r=n("bHdf");function a(){return Object(r.a)(1)}function o(){return a()(i.a.apply(void 0,arguments))}},H8ED:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===n?t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443_\u0445\u0432\u0456\u043b\u0456\u043d\u044b_\u0445\u0432\u0456\u043b\u0456\u043d",hh:t?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443_\u0433\u0430\u0434\u0437\u0456\u043d\u044b_\u0433\u0430\u0434\u0437\u0456\u043d",dd:"\u0434\u0437\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u0437\u0451\u043d",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u044b_\u043c\u0435\u0441\u044f\u0446\u0430\u045e",yy:"\u0433\u043e\u0434_\u0433\u0430\u0434\u044b_\u0433\u0430\u0434\u043e\u045e"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}e.defineLocale("be",{months:{format:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044f_\u043b\u044e\u0442\u0430\u0433\u0430_\u0441\u0430\u043a\u0430\u0432\u0456\u043a\u0430_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a\u0430_\u0442\u0440\u0430\u045e\u043d\u044f_\u0447\u044d\u0440\u0432\u0435\u043d\u044f_\u043b\u0456\u043f\u0435\u043d\u044f_\u0436\u043d\u0456\u045e\u043d\u044f_\u0432\u0435\u0440\u0430\u0441\u043d\u044f_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a\u0430_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434\u0430_\u0441\u043d\u0435\u0436\u043d\u044f".split("_"),standalone:"\u0441\u0442\u0443\u0434\u0437\u0435\u043d\u044c_\u043b\u044e\u0442\u044b_\u0441\u0430\u043a\u0430\u0432\u0456\u043a_\u043a\u0440\u0430\u0441\u0430\u0432\u0456\u043a_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u044d\u0440\u0432\u0435\u043d\u044c_\u043b\u0456\u043f\u0435\u043d\u044c_\u0436\u043d\u0456\u0432\u0435\u043d\u044c_\u0432\u0435\u0440\u0430\u0441\u0435\u043d\u044c_\u043a\u0430\u0441\u0442\u0440\u044b\u0447\u043d\u0456\u043a_\u043b\u0456\u0441\u0442\u0430\u043f\u0430\u0434_\u0441\u043d\u0435\u0436\u0430\u043d\u044c".split("_")},monthsShort:"\u0441\u0442\u0443\u0434_\u043b\u044e\u0442_\u0441\u0430\u043a_\u043a\u0440\u0430\u0441_\u0442\u0440\u0430\u0432_\u0447\u044d\u0440\u0432_\u043b\u0456\u043f_\u0436\u043d\u0456\u0432_\u0432\u0435\u0440_\u043a\u0430\u0441\u0442_\u043b\u0456\u0441\u0442_\u0441\u043d\u0435\u0436".split("_"),weekdays:{format:"\u043d\u044f\u0434\u0437\u0435\u043b\u044e_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0443_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0443_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),standalone:"\u043d\u044f\u0434\u0437\u0435\u043b\u044f_\u043f\u0430\u043d\u044f\u0434\u0437\u0435\u043b\u0430\u043a_\u0430\u045e\u0442\u043e\u0440\u0430\u043a_\u0441\u0435\u0440\u0430\u0434\u0430_\u0447\u0430\u0446\u0432\u0435\u0440_\u043f\u044f\u0442\u043d\u0456\u0446\u0430_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),isFormat:/\[ ?[\u0423\u0443\u045e] ?(?:\u043c\u0456\u043d\u0443\u043b\u0443\u044e|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0443\u044e)? ?\] ?dddd/},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0430\u0442_\u0441\u0440_\u0447\u0446_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., HH:mm",LLLL:"dddd, D MMMM YYYY \u0433., HH:mm"},calendar:{sameDay:"[\u0421\u0451\u043d\u043d\u044f \u045e] LT",nextDay:"[\u0417\u0430\u045e\u0442\u0440\u0430 \u045e] LT",lastDay:"[\u0423\u0447\u043e\u0440\u0430 \u045e] LT",nextWeek:function(){return"[\u0423] dddd [\u045e] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u0443\u044e] dddd [\u045e] LT";case 1:case 2:case 4:return"[\u0423 \u043c\u0456\u043d\u0443\u043b\u044b] dddd [\u045e] LT"}},sameElse:"L"},relativeTime:{future:"\u043f\u0440\u0430\u0437 %s",past:"%s \u0442\u0430\u043c\u0443",s:"\u043d\u0435\u043a\u0430\u043b\u044c\u043a\u0456 \u0441\u0435\u043a\u0443\u043d\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0437\u0435\u043d\u044c",dd:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u044b":e<12?"\u0440\u0430\u043d\u0456\u0446\u044b":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-\u044b":e+"-\u0456";case"D":return e+"-\u0433\u0430";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},HDdC:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var i=n("1OyB"),r=n("vuIU"),a=n("8Qeq"),o=n("7o/Q"),s=n("2QA8"),l=n("gRHU"),c=n("kJWO"),d=n("mCNh"),u=n("2fFW"),p=function(){var e=function(){function e(t){Object(i.a)(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return Object(r.a)(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var i=this.operator,r=function(e,t,n){if(e){if(e instanceof o.a)return e;if(e[s.a])return e[s.a]()}return e||t||n?new o.a(e,t,n):new o.a(l.a)}(e,t,n);if(r.add(i?i.call(r,this.source):this.source||u.a.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),u.a.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){u.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),Object(a.a)(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=h(t))(function(t,i){var r;r=n.subscribe(function(t){try{e(t)}catch(n){i(n),r&&r.unsubscribe()}},i,t)})}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:c.a,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?this:Object(d.b)(t)(this)}},{key:"toPromise",value:function(e){var t=this;return new(e=h(e))(function(e,n){var i;t.subscribe(function(e){return i=e},function(e){return n(e)},function(){return e(i)})})}}]),e}();return e.create=function(t){return new e(t)},e}();function h(e){if(e||(e=u.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HP3h:function(e,t,n){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},i={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},r=function(e){return function(t,r,a,o){var s=n(t),l=i[e][n(t)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,t)}},a=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-ly",{months:a,monthsShort:a,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},Hfs6:function(e,t,n){var i,r,a;!function(o){if("object"==typeof e.exports){var s=o(0,t);void 0!==s&&(e.exports=s)}else r=[n,t],void 0===(a="function"==typeof(i=o)?i.apply(t,r):i)||(e.exports=a)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["fr",[["AM","PM"],n,n],n,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],n,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xe9vr.","mars","avr.","mai","juin","juil.","ao\xfbt","sept.","oct.","nov.","d\xe9c."],["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]],n,[["av. J.-C.","ap. J.-C."],n,["avant J\xe9sus-Christ","apr\xe8s J\xe9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1} '\xe0' {0}",n,n],[",","\u202f",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[n,"\xa5"],COP:["$CO","$"],CYP:["\xa3CY"],EGP:[n,"\xa3E"],FJD:["$FJ","$"],FKP:["\xa3FK","\xa3"],FRF:["F"],GBP:["\xa3GB","\xa3"],GIP:["\xa3GI","\xa3"],HKD:[n,"$"],IEP:["\xa3IE"],ILP:["\xa3IL"],ITL:["\u20a4IT"],JPY:[n,"\xa5"],KMF:[n,"FC"],LBP:["\xa3LB","\xa3L"],MTP:["\xa3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[n,"$C"],NZD:["$NZ","$"],RHD:["$RH"],RON:[n,"L"],RWF:[n,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[n,"$T"],TTD:["$TT","$"],TWD:[n,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[n,"$"],XPF:["FCFP"],ZMW:[n,"Kw"]},"ltr",function(e){var t=Math.floor(Math.abs(e));return 0===t||1===t?1:5}]})},I55L:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},IBtZ:function(e,t,n){!function(e){"use strict";e.defineLocale("ka",{months:"\u10d8\u10d0\u10dc\u10d5\u10d0\u10e0\u10d8_\u10d7\u10d4\u10d1\u10d4\u10e0\u10d5\u10d0\u10da\u10d8_\u10db\u10d0\u10e0\u10e2\u10d8_\u10d0\u10de\u10e0\u10d8\u10da\u10d8_\u10db\u10d0\u10d8\u10e1\u10d8_\u10d8\u10d5\u10dc\u10d8\u10e1\u10d8_\u10d8\u10d5\u10da\u10d8\u10e1\u10d8_\u10d0\u10d2\u10d5\u10d8\u10e1\u10e2\u10dd_\u10e1\u10d4\u10e5\u10e2\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10dd\u10e5\u10e2\u10dd\u10db\u10d1\u10d4\u10e0\u10d8_\u10dc\u10dd\u10d4\u10db\u10d1\u10d4\u10e0\u10d8_\u10d3\u10d4\u10d9\u10d4\u10db\u10d1\u10d4\u10e0\u10d8".split("_"),monthsShort:"\u10d8\u10d0\u10dc_\u10d7\u10d4\u10d1_\u10db\u10d0\u10e0_\u10d0\u10de\u10e0_\u10db\u10d0\u10d8_\u10d8\u10d5\u10dc_\u10d8\u10d5\u10da_\u10d0\u10d2\u10d5_\u10e1\u10d4\u10e5_\u10dd\u10e5\u10e2_\u10dc\u10dd\u10d4_\u10d3\u10d4\u10d9".split("_"),weekdays:{standalone:"\u10d9\u10d5\u10d8\u10e0\u10d0_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10d8_\u10e8\u10d0\u10d1\u10d0\u10d7\u10d8".split("_"),format:"\u10d9\u10d5\u10d8\u10e0\u10d0\u10e1_\u10dd\u10e0\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10e1\u10d0\u10db\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10dd\u10d7\u10ee\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10ee\u10e3\u10d7\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1_\u10de\u10d0\u10e0\u10d0\u10e1\u10d9\u10d4\u10d5\u10e1_\u10e8\u10d0\u10d1\u10d0\u10d7\u10e1".split("_"),isFormat:/(\u10ec\u10d8\u10dc\u10d0|\u10e8\u10d4\u10db\u10d3\u10d4\u10d2)/},weekdaysShort:"\u10d9\u10d5\u10d8_\u10dd\u10e0\u10e8_\u10e1\u10d0\u10db_\u10dd\u10d7\u10ee_\u10ee\u10e3\u10d7_\u10de\u10d0\u10e0_\u10e8\u10d0\u10d1".split("_"),weekdaysMin:"\u10d9\u10d5_\u10dd\u10e0_\u10e1\u10d0_\u10dd\u10d7_\u10ee\u10e3_\u10de\u10d0_\u10e8\u10d0".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u10d3\u10e6\u10d4\u10e1] LT[-\u10d6\u10d4]",nextDay:"[\u10ee\u10d5\u10d0\u10da] LT[-\u10d6\u10d4]",lastDay:"[\u10d2\u10e3\u10e8\u10d8\u10dc] LT[-\u10d6\u10d4]",nextWeek:"[\u10e8\u10d4\u10db\u10d3\u10d4\u10d2] dddd LT[-\u10d6\u10d4]",lastWeek:"[\u10ec\u10d8\u10dc\u10d0] dddd LT-\u10d6\u10d4",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(e,t,n){return"\u10d8"===n?t+"\u10e8\u10d8":t+n+"\u10e8\u10d8"})},past:function(e){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(e)?e.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(e)?e.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):e},s:"\u10e0\u10d0\u10db\u10d3\u10d4\u10dc\u10d8\u10db\u10d4 \u10ec\u10d0\u10db\u10d8",ss:"%d \u10ec\u10d0\u10db\u10d8",m:"\u10ec\u10e3\u10d7\u10d8",mm:"%d \u10ec\u10e3\u10d7\u10d8",h:"\u10e1\u10d0\u10d0\u10d7\u10d8",hh:"%d \u10e1\u10d0\u10d0\u10d7\u10d8",d:"\u10d3\u10e6\u10d4",dd:"%d \u10d3\u10e6\u10d4",M:"\u10d7\u10d5\u10d4",MM:"%d \u10d7\u10d5\u10d4",y:"\u10ec\u10d4\u10da\u10d8",yy:"%d \u10ec\u10d4\u10da\u10d8"},dayOfMonthOrdinalParse:/0|1-\u10da\u10d8|\u10db\u10d4-\d{1,2}|\d{1,2}-\u10d4/,ordinal:function(e){return 0===e?e:1===e?e+"-\u10da\u10d8":e<20||e<=100&&e%20==0||e%100==0?"\u10db\u10d4-"+e:e+"-\u10d4"},week:{dow:1,doy:7}})}(n("wd/R"))},Iab2:function(e,t,n){var i,r;void 0===(r="function"==typeof(i=function(){"use strict";function t(e,t,n){var i=new XMLHttpRequest;i.open("GET",e),i.responseType="blob",i.onload=function(){o(i.response,t,n)},i.onerror=function(){console.error("could not download file")},i.send()}function n(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}var r="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof global&&global.global===global?global:void 0,a=r.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),o=r.saveAs||("object"!=typeof window||window!==r?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(e,a,o){var s=r.URL||r.webkitURL,l=document.createElement("a");l.download=a=a||e.name||"download",l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?i(l):n(l.href)?t(e,a,o):i(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(l.href)},4e4),setTimeout(function(){i(l)},0))}:"msSaveOrOpenBlob"in navigator?function(e,r,a){if(r=r||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}(e,a),r);else if(n(e))t(e,r,a);else{var o=document.createElement("a");o.href=e,o.target="_blank",setTimeout(function(){i(o)})}}:function(e,n,i,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,i);var s="application/octet-stream"===e.type,l=/constructor/i.test(r.HTMLElement)||r.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&l||a)&&"undefined"!=typeof FileReader){var d=new FileReader;d.onloadend=function(){var e=d.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},d.readAsDataURL(e)}else{var u=r.URL||r.webkitURL,p=u.createObjectURL(e);o?o.location=p:location.href=p,o=null,setTimeout(function(){u.revokeObjectURL(p)},4e4)}});r.saveAs=o.saveAs=o,e.exports=o})?i.apply(t,[]):i)||(e.exports=r)},IfvR:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("uJc7"),r=n("XNiG"),a=n("fXoL"),o=n("tk/3"),s=function(){function e(e,t){this.http=e,this.AccountService=t,this._isAuditing=new r.a,this._enterAuditURL="/api/v2/audit/enter_audit_session",this._exitAuditURL="/api/v2/audit/exit_audit_session"}return e.prototype.isAuditing=function(){return this._isAuditing.asObservable()},e.prototype.setAuditing=function(e){this._isAuditing.next(e)},e.prototype.enterAuditSession=function(e){return this.http.post(this.AccountService.getHostname()+this._enterAuditURL,{params:{auditPath:e}},{})},e.prototype.exitAuditSession=function(){return this.http.post(this.AccountService.getHostname()+this._exitAuditURL,{},{})},e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275inject"](o.b),a["\u0275\u0275inject"](i.a))},e.\u0275prov=a["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},IjjT:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("1OyB"),r=n("vuIU"),a=n("JX7q"),o=n("ReuC"),s=n("foSv"),l=n("Ji7U"),c=n("LK+K"),d=n("Y/cZ"),u=function(e){Object(l.a)(n,e);var t=Object(c.a)(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.a.now;return Object(i.a)(this,n),(r=t.call(this,e,function(){return n.delegate&&n.delegate!==Object(a.a)(r)?n.delegate.now():o()})).actions=[],r.active=!1,r.scheduled=void 0,r}return Object(r.a)(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,i):Object(o.a)(Object(s.a)(n.prototype),"schedule",this).call(this,e,t,i)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(d.a)},"Ivi+":function(e,t,n){!function(e){"use strict";e.defineLocale("ko",{months:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),monthsShort:"1\uc6d4_2\uc6d4_3\uc6d4_4\uc6d4_5\uc6d4_6\uc6d4_7\uc6d4_8\uc6d4_9\uc6d4_10\uc6d4_11\uc6d4_12\uc6d4".split("_"),weekdays:"\uc77c\uc694\uc77c_\uc6d4\uc694\uc77c_\ud654\uc694\uc77c_\uc218\uc694\uc77c_\ubaa9\uc694\uc77c_\uae08\uc694\uc77c_\ud1a0\uc694\uc77c".split("_"),weekdaysShort:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),weekdaysMin:"\uc77c_\uc6d4_\ud654_\uc218_\ubaa9_\uae08_\ud1a0".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY\ub144 MMMM D\uc77c",LLL:"YYYY\ub144 MMMM D\uc77c A h:mm",LLLL:"YYYY\ub144 MMMM D\uc77c dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY\ub144 MMMM D\uc77c",lll:"YYYY\ub144 MMMM D\uc77c A h:mm",llll:"YYYY\ub144 MMMM D\uc77c dddd A h:mm"},calendar:{sameDay:"\uc624\ub298 LT",nextDay:"\ub0b4\uc77c LT",nextWeek:"dddd LT",lastDay:"\uc5b4\uc81c LT",lastWeek:"\uc9c0\ub09c\uc8fc dddd LT",sameElse:"L"},relativeTime:{future:"%s \ud6c4",past:"%s \uc804",s:"\uba87 \ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"\ud55c \uc2dc\uac04",hh:"%d\uc2dc\uac04",d:"\ud558\ub8e8",dd:"%d\uc77c",M:"\ud55c \ub2ec",MM:"%d\ub2ec",y:"\uc77c \ub144",yy:"%d\ub144"},dayOfMonthOrdinalParse:/\d{1,2}(\uc77c|\uc6d4|\uc8fc)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\uc77c";case"M":return e+"\uc6d4";case"w":case"W":return e+"\uc8fc";default:return e}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(e){return"\uc624\ud6c4"===e},meridiem:function(e,t,n){return e<12?"\uc624\uc804":"\uc624\ud6c4"}})}(n("wd/R"))},IzEk:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("7o/Q"),l=n("4I5i"),c=n("EY2u");function d(e){return function(t){return 0===e?Object(c.b)():t.lift(new u(e))}}var u=function(){function e(t){if(Object(a.a)(this,e),this.total=t,this.total<0)throw new l.a}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new p(e,this.total))}}]),e}(),p=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i){var r;return Object(a.a)(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return Object(o.a)(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(s.a)},"JCF/":function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=["\u06a9\u0627\u0646\u0648\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0634\u0648\u0628\u0627\u062a","\u0626\u0627\u0632\u0627\u0631","\u0646\u06cc\u0633\u0627\u0646","\u0626\u0627\u06cc\u0627\u0631","\u062d\u0648\u0632\u06d5\u06cc\u0631\u0627\u0646","\u062a\u06d5\u0645\u0645\u0648\u0632","\u0626\u0627\u0628","\u0626\u06d5\u06cc\u0644\u0648\u0648\u0644","\u062a\u0634\u0631\u06cc\u0646\u06cc \u06cc\u06d5\u0643\u06d5\u0645","\u062a\u0634\u0631\u06cc\u0646\u06cc \u062f\u0648\u0648\u06d5\u0645","\u0643\u0627\u0646\u0648\u0646\u06cc \u06cc\u06d5\u06a9\u06d5\u0645"];e.defineLocale("ku",{months:i,monthsShort:i,weekdays:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u062f\u0648\u0648\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0633\u06ce\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645\u0645\u0647\u200c_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysShort:"\u06cc\u0647\u200c\u0643\u0634\u0647\u200c\u0645_\u062f\u0648\u0648\u0634\u0647\u200c\u0645_\u0633\u06ce\u0634\u0647\u200c\u0645_\u0686\u0648\u0627\u0631\u0634\u0647\u200c\u0645_\u067e\u06ce\u0646\u062c\u0634\u0647\u200c\u0645_\u0647\u0647\u200c\u06cc\u0646\u06cc_\u0634\u0647\u200c\u0645\u0645\u0647\u200c".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u0647_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c|\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc/,isPM:function(e){return/\u0626\u06ce\u0648\u0627\u0631\u0647\u200c/.test(e)},meridiem:function(e,t,n){return e<12?"\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc":"\u0626\u06ce\u0648\u0627\u0631\u0647\u200c"},calendar:{sameDay:"[\u0626\u0647\u200c\u0645\u0631\u06c6 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextDay:"[\u0628\u0647\u200c\u06cc\u0627\u0646\u06cc \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",nextWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastDay:"[\u062f\u0648\u06ce\u0646\u06ce \u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",lastWeek:"dddd [\u0643\u0627\u062a\u0698\u0645\u06ce\u0631] LT",sameElse:"L"},relativeTime:{future:"\u0644\u0647\u200c %s",past:"%s",s:"\u0686\u0647\u200c\u0646\u062f \u0686\u0631\u0643\u0647\u200c\u06cc\u0647\u200c\u0643",ss:"\u0686\u0631\u0643\u0647\u200c %d",m:"\u06cc\u0647\u200c\u0643 \u062e\u0648\u0644\u0647\u200c\u0643",mm:"%d \u062e\u0648\u0644\u0647\u200c\u0643",h:"\u06cc\u0647\u200c\u0643 \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",hh:"%d \u0643\u0627\u062a\u0698\u0645\u06ce\u0631",d:"\u06cc\u0647\u200c\u0643 \u0695\u06c6\u0698",dd:"%d \u0695\u06c6\u0698",M:"\u06cc\u0647\u200c\u0643 \u0645\u0627\u0646\u06af",MM:"%d \u0645\u0627\u0646\u06af",y:"\u06cc\u0647\u200c\u0643 \u0633\u0627\u06b5",yy:"%d \u0633\u0627\u06b5"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},JIr8:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("ReuC"),r=n("foSv"),a=n("Ji7U"),o=n("LK+K"),s=n("1OyB"),l=n("vuIU"),c=n("zx2A");function d(e){return function(t){var n=new u(e),i=t.lift(n);return n.caught=i}}var u=function(){function e(t){Object(s.a)(this,e),this.selector=t}return Object(l.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new p(e,this.selector,this.caught))}}]),e}(),p=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,i,r){var a;return Object(s.a)(this,n),(a=t.call(this,e)).selector=i,a.caught=r,a}return Object(l.a)(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(s){return void Object(i.a)(Object(r.a)(n.prototype),"error",this).call(this,s)}this._unsubscribeAndRecycle();var a=new c.a(this);this.add(a);var o=Object(c.c)(t,a);o!==a&&this.add(o)}}}]),n}(c.b)},JVSJ:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[pro\u0161lu] dddd [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},JX7q:function(e,t,n){"use strict";function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,"a",function(){return i})},JX91:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("GyhO"),r=n("z+Ro");function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t[t.length-1];return Object(r.a)(a)?(t.pop(),function(e){return Object(i.a)(t,e,a)}):function(e){return Object(i.a)(t,e)}}},JYNk:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("uJc7"),r=n("fXoL"),a=n("tk/3"),o=n("b6Qw"),s=function(){function e(e,t,n){this.http=e,this.cookieService=t,this.AccountService=n,this._partnerAuthorizedUrl=this.AccountService.getPy3Host()+"/api/v2/dataprovider/is_authorized",this._getUploadEnabledUrl=this.AccountService.getPy3Host()+"/api/v2/dataprovider/get_upload_enabled",this._pingPartnerConnectUrl=this.AccountService.getPy3Host()+"/api/v2/dataprovider/authenticate",this._partnerDisconnectUrl=this.AccountService.getPy3Host()+"/api/v2/dataprovider/unlink",this._partnerSetPreferredUrl=this.AccountService.getPy3Host()+"/api/v2/account/set_preferred_source",this._partnerSetAutoShareUrl=this.AccountService.getPy3Host()+"/api/v2/dataprovider/auto_share",this._partnerSetAutoImportUrl=this.AccountService.getPy3Host()+"/api/v2/dataprovider/auto_import",this._checkFitbitRelinkUrl=this.AccountService.getPy3Host()+"/api/v2/dataprovider/check_link"}return e.prototype.getPartnerAuthorizedList=function(){return this.http.post(this._partnerAuthorizedUrl,{})},e.prototype.connectPingPartner=function(e,t,n){return this.http.post(this._pingPartnerConnectUrl,{params:{providerName:e,mobile:n,set_preferred:t}})},e.prototype.disconnectPartner=function(e){var t=this.getDevice();return this.http.post(this._partnerDisconnectUrl,{deviceId:t,params:{providerName:e,mobile:!1}})},e.prototype.setPreferred=function(e){return this.http.post(this._partnerSetPreferredUrl,{params:{providerName:e}})},e.prototype.setAutoShare=function(e,t){return this.http.post(this._partnerSetAutoShareUrl,{params:{providerName:e,auto_share:t}})},e.prototype.setAutoImport=function(e,t){return this.http.post(this._partnerSetAutoImportUrl,{params:{providerName:e,auto_import:t}})},e.prototype.getUploadEnabled=function(){return this.http.post(this._getUploadEnabledUrl,{})},e.prototype.checkFitbitRelink=function(){return this.http.post(this._checkFitbitRelinkUrl,{})},e.prototype.getDevice=function(){return JSON.parse(atob(this.cookieService.get("session").split("|")[0])).deviceId},e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](a.b),r["\u0275\u0275inject"](o.a),r["\u0275\u0275inject"](i.a))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},Ji7U:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("s4An");function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Object(i.a)(e,t)}},JvlW:function(e,t,n){!function(e){"use strict";var t={ss:"sekund\u0117_sekund\u017ei\u0173_sekundes",m:"minut\u0117_minut\u0117s_minut\u0119",mm:"minut\u0117s_minu\u010di\u0173_minutes",h:"valanda_valandos_valand\u0105",hh:"valandos_valand\u0173_valandas",d:"diena_dienos_dien\u0105",dd:"dienos_dien\u0173_dienas",M:"m\u0117nuo_m\u0117nesio_m\u0117nes\u012f",MM:"m\u0117nesiai_m\u0117nesi\u0173_m\u0117nesius",y:"metai_met\u0173_metus",yy:"metai_met\u0173_metus"};function n(e,t,n,i){return t?r(n)[0]:i?r(n)[1]:r(n)[2]}function i(e){return e%10==0||e>10&&e<20}function r(e){return t[e].split("_")}function a(e,t,a,o){var s=e+" ";return 1===e?s+n(0,t,a[0],o):t?s+(i(e)?r(a)[1]:r(a)[0]):o?s+r(a)[1]:s+(i(e)?r(a)[1]:r(a)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_baland\u017eio_gegu\u017e\u0117s_bir\u017eelio_liepos_rugpj\u016b\u010dio_rugs\u0117jo_spalio_lapkri\u010dio_gruod\u017eio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegu\u017e\u0117_bir\u017eelis_liepa_rugpj\u016btis_rugs\u0117jis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadien\u012f_pirmadien\u012f_antradien\u012f_tre\u010diadien\u012f_ketvirtadien\u012f_penktadien\u012f_\u0161e\u0161tadien\u012f".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_tre\u010diadienis_ketvirtadienis_penktadienis_\u0161e\u0161tadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_\u0160e\u0161".split("_"),weekdaysMin:"S_P_A_T_K_Pn_\u0160".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[\u0160iandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Pra\u0117jus\u012f] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prie\u0161 %s",s:function(e,t,n,i){return t?"kelios sekund\u0117s":i?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:a,m:n,mm:a,h:n,hh:a,d:n,dd:a,M:n,MM:a,y:n,yy:a},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(n("wd/R"))},"K/tc":function(e,t,n){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"vm":"VM":n?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[M\xf4re om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},KQm4:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("a3WO"),r=n("25BE"),a=n("BsWD");function o(e){return function(e){if(Array.isArray(e))return Object(i.a)(e)}(e)||Object(r.a)(e)||Object(a.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},KSF8:function(e,t,n){!function(e){"use strict";e.defineLocale("vi",{months:"th\xe1ng 1_th\xe1ng 2_th\xe1ng 3_th\xe1ng 4_th\xe1ng 5_th\xe1ng 6_th\xe1ng 7_th\xe1ng 8_th\xe1ng 9_th\xe1ng 10_th\xe1ng 11_th\xe1ng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"ch\u1ee7 nh\u1eadt_th\u1ee9 hai_th\u1ee9 ba_th\u1ee9 t\u01b0_th\u1ee9 n\u0103m_th\u1ee9 s\xe1u_th\u1ee9 b\u1ea3y".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,n){return e<12?n?"sa":"SA":n?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[H\xf4m nay l\xfac] LT",nextDay:"[Ng\xe0y mai l\xfac] LT",nextWeek:"dddd [tu\u1ea7n t\u1edbi l\xfac] LT",lastDay:"[H\xf4m qua l\xfac] LT",lastWeek:"dddd [tu\u1ea7n tr\u01b0\u1edbc l\xfac] LT",sameElse:"L"},relativeTime:{future:"%s t\u1edbi",past:"%s tr\u01b0\u1edbc",s:"v\xe0i gi\xe2y",ss:"%d gi\xe2y",m:"m\u1ed9t ph\xfat",mm:"%d ph\xfat",h:"m\u1ed9t gi\u1edd",hh:"%d gi\u1edd",d:"m\u1ed9t ng\xe0y",dd:"%d ng\xe0y",w:"m\u1ed9t tu\u1ea7n",ww:"%d tu\u1ea7n",M:"m\u1ed9t th\xe1ng",MM:"%d th\xe1ng",y:"m\u1ed9t n\u0103m",yy:"%d n\u0103m"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(n("wd/R"))},KTz0:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,n,i){var r=t.words[i];return 1===i.length?n?r[0]:r[1]:e+" "+t.correctGrammaticalCase(e,r)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedjelje] [u] LT","[pro\u0161log] [ponedjeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srijede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},Kj3r:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("7o/Q"),l=n("D0XW");function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.a;return function(n){return n.lift(new d(e,t))}}var d=function(){function e(t,n){Object(a.a)(this,e),this.dueTime=t,this.scheduler=n}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.dueTime,this.scheduler))}}]),e}(),u=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r){var o;return Object(a.a)(this,n),(o=t.call(this,e)).dueTime=i,o.scheduler=r,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return Object(o.a)(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(p,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(s.a);function p(e){e.debouncedNext()}},Kqap:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("7o/Q");function l(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(i){return i.lift(new c(e,t,n))}}var c=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];Object(a.a)(this,e),this.accumulator=t,this.seed=n,this.hasSeed=i}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new d(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),d=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r,o){var s;return Object(a.a)(this,n),(s=t.call(this,e)).accumulator=i,s._seed=r,s.hasSeed=o,s.index=0,s}return Object(o.a)(n,[{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}},{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(i){this.destination.error(i)}this.seed=t,this.destination.next(t)}}]),n}(s.a)},KqfI:function(e,t,n){"use strict";function i(){}n.d(t,"a",function(){return i})},"LK+K":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("foSv"),r=n("2WcH");function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=n("JX7q");function s(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?Object(o.a)(e):t}function l(e){var t=Object(r.a)();return function(){var n,r=Object(i.a)(e);if(t){var a=Object(i.a)(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return s(this,n)}}},LRne:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("z+Ro"),r=n("yCtX"),a=n("jZKg");function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[t.length-1];return Object(i.a)(o)?(t.pop(),Object(a.a)(t,o)):Object(r.a)(t)}},Lhse:function(e,t,n){"use strict";function i(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",function(){return r});var r=i()},Loxo:function(e,t,n){!function(e){"use strict";e.defineLocale("uz",{months:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u042f\u043a\u0448\u0430\u043d\u0431\u0430_\u0414\u0443\u0448\u0430\u043d\u0431\u0430_\u0421\u0435\u0448\u0430\u043d\u0431\u0430_\u0427\u043e\u0440\u0448\u0430\u043d\u0431\u0430_\u041f\u0430\u0439\u0448\u0430\u043d\u0431\u0430_\u0416\u0443\u043c\u0430_\u0428\u0430\u043d\u0431\u0430".split("_"),weekdaysShort:"\u042f\u043a\u0448_\u0414\u0443\u0448_\u0421\u0435\u0448_\u0427\u043e\u0440_\u041f\u0430\u0439_\u0416\u0443\u043c_\u0428\u0430\u043d".split("_"),weekdaysMin:"\u042f\u043a_\u0414\u0443_\u0421\u0435_\u0427\u043e_\u041f\u0430_\u0416\u0443_\u0428\u0430".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[\u0411\u0443\u0433\u0443\u043d \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",nextDay:"[\u042d\u0440\u0442\u0430\u0433\u0430] LT [\u0434\u0430]",nextWeek:"dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastDay:"[\u041a\u0435\u0447\u0430 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",lastWeek:"[\u0423\u0442\u0433\u0430\u043d] dddd [\u043a\u0443\u043d\u0438 \u0441\u043e\u0430\u0442] LT [\u0434\u0430]",sameElse:"L"},relativeTime:{future:"\u042f\u043a\u0438\u043d %s \u0438\u0447\u0438\u0434\u0430",past:"\u0411\u0438\u0440 \u043d\u0435\u0447\u0430 %s \u043e\u043b\u0434\u0438\u043d",s:"\u0444\u0443\u0440\u0441\u0430\u0442",ss:"%d \u0444\u0443\u0440\u0441\u0430\u0442",m:"\u0431\u0438\u0440 \u0434\u0430\u043a\u0438\u043a\u0430",mm:"%d \u0434\u0430\u043a\u0438\u043a\u0430",h:"\u0431\u0438\u0440 \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u0443\u043d",dd:"%d \u043a\u0443\u043d",M:"\u0431\u0438\u0440 \u043e\u0439",MM:"%d \u043e\u0439",y:"\u0431\u0438\u0440 \u0439\u0438\u043b",yy:"%d \u0439\u0438\u043b"},week:{dow:1,doy:7}})}(n("wd/R"))},LsDc:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("uJc7"),r=n("XNiG"),a=n("fXoL"),o=n("tk/3"),s=n("b6Qw"),l=function(){function e(e,t,n){this.http=e,this.cookieService=t,this.AccountService=n,this._listGoalsUrl=this.AccountService.getPy3Host()+"/api/v2/goal/list_goal",this._listDailyGoalsUrl=this.AccountService.getPy3Host()+"/api/v2/goal/daily_goals",this._goalDetailUrl=this.AccountService.getPy3Host()+"/api/v2/goal/goal_detail",this._weightGoalUrl=this.AccountService.getPy3Host()+"/api/v2/goal/get_weight_goal",this._goalDeleteUrl=this.AccountService.getPy3Host()+"/api/v2/goal/remove_goal",this._goalCreateUrl=this.AccountService.getPy3Host()+"/api/v2/goal/create_goal",this._evalAllGoalsUrl=this.AccountService.getPy3Host()+"/api/v2/goal/evaluate_all_goals",this._favoriteGoalUrl=this.AccountService.getPy3Host()+"/api/v2/goal/set_favorite_goal",this._lastWeightEntryUrl=this.AccountService.getPy3Host()+"/api/v2/health/get_last_weight_entry",this.updateFavoriteGoalSubject=new r.a,this.updateFavoriteGoal=this.updateFavoriteGoalSubject}return e.prototype.getGoals=function(e){return this.http.post(this._listGoalsUrl,!1===e?'{"params": {"cache": false}}':"{}",{})},e.prototype.getDailyGoals=function(e){return this.http.post(this._listDailyGoalsUrl,{params:{evalDate:e}},{})},e.prototype.getGoalDetails=function(e,t){return this.http.post(this._goalDetailUrl,{params:{goalID:e,group:t}},{})},e.prototype.getWeightGoal=function(){return this.http.post(this._weightGoalUrl,{},{})},e.prototype.deleteGoal=function(e){return this.http.post(this._goalDeleteUrl,{params:{goalID:e}},{})},e.prototype.createGoal=function(e){return this.http.post(this._goalCreateUrl,{params:e},{})},e.prototype.favoriteGoal=function(e){return this.http.post(this._favoriteGoalUrl,{params:{goalID:e}},{})},e.prototype.evalBCGoal=function(e){return this.http.post(this._evalAllGoalsUrl,{params:{includeHistory:e,filterNameList:["Be Colorado"]}},{})},e.prototype.getLastWeightEntry=function(){return this.http.post(this._lastWeightEntryUrl,{params:{}},{})},e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275inject"](o.b),a["\u0275\u0275inject"](s.a),a["\u0275\u0275inject"](i.a))},e.\u0275prov=a["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}()},LvDl:function(e,t,n){(function(e){var i;(function(){var r,a="Expected a function",o="__lodash_hash_undefined__",s="__lodash_placeholder__",l=32,c=128,d=1/0,u=9007199254740991,p=NaN,h=4294967295,m=[["ary",c],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",l],["partialRight",64],["rearg",256]],g="[object Arguments]",f="[object Array]",v="[object Boolean]",y="[object Date]",b="[object Error]",x="[object Function]",_="[object GeneratorFunction]",w="[object Map]",S="[object Number]",C="[object Object]",k="[object Promise]",O="[object RegExp]",E="[object Set]",M="[object String]",I="[object Symbol]",P="[object WeakMap]",T="[object ArrayBuffer]",D="[object DataView]",L="[object Float32Array]",R="[object Float64Array]",j="[object Int8Array]",A="[object Int16Array]",F="[object Int32Array]",B="[object Uint8Array]",z="[object Uint8ClampedArray]",N="[object Uint16Array]",H="[object Uint32Array]",V=/\b__p \+= '';/g,Y=/\b(__p \+=) '' \+/g,W=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,U=/[&<>"']/g,q=RegExp(G.source),Z=RegExp(U.source),$=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,K=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Q=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),ie=/^\s+/,re=/\s/,ae=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,oe=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,ue=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,he=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,fe=/^0o[0-7]+$/i,ve=/^(?:0|[1-9]\d*)$/,ye=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,xe=/['\n\r\u2028\u2029\\]/g,_e="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",we="a-z\\xdf-\\xf6\\xf8-\\xff",Se="A-Z\\xc0-\\xd6\\xd8-\\xde",Ce="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ke="["+Ce+"]",Oe="["+_e+"]",Ee="\\d+",Me="["+we+"]",Ie="[^\\ud800-\\udfff"+Ce+Ee+"\\u2700-\\u27bf"+we+Se+"]",Pe="\\ud83c[\\udffb-\\udfff]",Te="[^\\ud800-\\udfff]",De="(?:\\ud83c[\\udde6-\\uddff]){2}",Le="[\\ud800-\\udbff][\\udc00-\\udfff]",Re="["+Se+"]",je="(?:"+Me+"|"+Ie+")",Ae="(?:"+Re+"|"+Ie+")",Fe="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Be="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",ze="(?:"+Oe+"|"+Pe+")?",Ne="[\\ufe0e\\ufe0f]?",He=Ne+ze+"(?:\\u200d(?:"+[Te,De,Le].join("|")+")"+Ne+ze+")*",Ve="(?:"+["[\\u2700-\\u27bf]",De,Le].join("|")+")"+He,Ye="(?:"+[Te+Oe+"?",Oe,De,Le,"[\\ud800-\\udfff]"].join("|")+")",We=RegExp("['\u2019]","g"),Ge=RegExp(Oe,"g"),Ue=RegExp(Pe+"(?="+Pe+")|"+Ye+He,"g"),qe=RegExp([Re+"?"+Me+"+"+Fe+"(?="+[ke,Re,"$"].join("|")+")",Ae+"+"+Be+"(?="+[ke,Re+je,"$"].join("|")+")",Re+"?"+je+"+"+Fe,Re+"+"+Be,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ee,Ve].join("|"),"g"),Ze=RegExp("[\\u200d\\ud800-\\udfff"+_e+"\\ufe0e\\ufe0f]"),$e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Xe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ke=-1,Je={};Je[L]=Je[R]=Je[j]=Je[A]=Je[F]=Je[B]=Je[z]=Je[N]=Je[H]=!0,Je[g]=Je[f]=Je[T]=Je[v]=Je[D]=Je[y]=Je[b]=Je[x]=Je[w]=Je[S]=Je[C]=Je[O]=Je[E]=Je[M]=Je[P]=!1;var Qe={};Qe[g]=Qe[f]=Qe[T]=Qe[D]=Qe[v]=Qe[y]=Qe[L]=Qe[R]=Qe[j]=Qe[A]=Qe[F]=Qe[w]=Qe[S]=Qe[C]=Qe[O]=Qe[E]=Qe[M]=Qe[I]=Qe[B]=Qe[z]=Qe[N]=Qe[H]=!0,Qe[b]=Qe[x]=Qe[P]=!1;var et={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},tt=parseFloat,nt=parseInt,it="object"==typeof global&&global&&global.Object===Object&&global,rt="object"==typeof self&&self&&self.Object===Object&&self,at=it||rt||Function("return this")(),ot=t&&!t.nodeType&&t,st=ot&&"object"==typeof e&&e&&!e.nodeType&&e,lt=st&&st.exports===ot,ct=lt&&it.process,dt=function(){try{return st&&st.require&&st.require("util").types||ct&&ct.binding&&ct.binding("util")}catch(e){}}(),ut=dt&&dt.isArrayBuffer,pt=dt&&dt.isDate,ht=dt&&dt.isMap,mt=dt&&dt.isRegExp,gt=dt&&dt.isSet,ft=dt&&dt.isTypedArray;function vt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function yt(e,t,n,i){for(var r=-1,a=null==e?0:e.length;++r<a;){var o=e[r];t(i,o,n(o),e)}return i}function bt(e,t){for(var n=-1,i=null==e?0:e.length;++n<i&&!1!==t(e[n],n,e););return e}function xt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function _t(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(!t(e[n],n,e))return!1;return!0}function wt(e,t){for(var n=-1,i=null==e?0:e.length,r=0,a=[];++n<i;){var o=e[n];t(o,n,e)&&(a[r++]=o)}return a}function St(e,t){return!(null==e||!e.length)&&Lt(e,t,0)>-1}function Ct(e,t,n){for(var i=-1,r=null==e?0:e.length;++i<r;)if(n(t,e[i]))return!0;return!1}function kt(e,t){for(var n=-1,i=null==e?0:e.length,r=Array(i);++n<i;)r[n]=t(e[n],n,e);return r}function Ot(e,t){for(var n=-1,i=t.length,r=e.length;++n<i;)e[r+n]=t[n];return e}function Et(e,t,n,i){var r=-1,a=null==e?0:e.length;for(i&&a&&(n=e[++r]);++r<a;)n=t(n,e[r],r,e);return n}function Mt(e,t,n,i){var r=null==e?0:e.length;for(i&&r&&(n=e[--r]);r--;)n=t(n,e[r],r,e);return n}function It(e,t){for(var n=-1,i=null==e?0:e.length;++n<i;)if(t(e[n],n,e))return!0;return!1}var Pt=Ft("length");function Tt(e,t,n){var i;return n(e,function(e,n,r){if(t(e,n,r))return i=n,!1}),i}function Dt(e,t,n,i){for(var r=e.length,a=n+(i?1:-1);i?a--:++a<r;)if(t(e[a],a,e))return a;return-1}function Lt(e,t,n){return t==t?function(e,t,n){for(var i=n-1,r=e.length;++i<r;)if(e[i]===t)return i;return-1}(e,t,n):Dt(e,jt,n)}function Rt(e,t,n,i){for(var r=n-1,a=e.length;++r<a;)if(i(e[r],t))return r;return-1}function jt(e){return e!=e}function At(e,t){var n=null==e?0:e.length;return n?Nt(e,t)/n:p}function Ft(e){return function(t){return null==t?r:t[e]}}function Bt(e){return function(t){return null==e?r:e[t]}}function zt(e,t,n,i,r){return r(e,function(e,r,a){n=i?(i=!1,e):t(n,e,r,a)}),n}function Nt(e,t){for(var n,i=-1,a=e.length;++i<a;){var o=t(e[i]);o!==r&&(n=n===r?o:n+o)}return n}function Ht(e,t){for(var n=-1,i=Array(e);++n<e;)i[n]=t(n);return i}function Vt(e){return e?e.slice(0,sn(e)+1).replace(ie,""):e}function Yt(e){return function(t){return e(t)}}function Wt(e,t){return kt(t,function(t){return e[t]})}function Gt(e,t){return e.has(t)}function Ut(e,t){for(var n=-1,i=e.length;++n<i&&Lt(t,e[n],0)>-1;);return n}function qt(e,t){for(var n=e.length;n--&&Lt(t,e[n],0)>-1;);return n}function Zt(e,t){for(var n=e.length,i=0;n--;)e[n]===t&&++i;return i}var $t=Bt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),Xt=Bt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function Kt(e){return"\\"+et[e]}function Jt(e){return Ze.test(e)}function Qt(e){var t=-1,n=Array(e.size);return e.forEach(function(e,i){n[++t]=[i,e]}),n}function en(e,t){return function(n){return e(t(n))}}function tn(e,t){for(var n=-1,i=e.length,r=0,a=[];++n<i;){var o=e[n];o!==t&&o!==s||(e[n]=s,a[r++]=n)}return a}function nn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function rn(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function an(e){return Jt(e)?function(e){for(var t=Ue.lastIndex=0;Ue.test(e);)++t;return t}(e):Pt(e)}function on(e){return Jt(e)?function(e){return e.match(Ue)||[]}(e):function(e){return e.split("")}(e)}function sn(e){for(var t=e.length;t--&&re.test(e.charAt(t)););return t}var ln=Bt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),cn=function e(t){var n,i=(t=null==t?at:cn.defaults(at.Object(),t,cn.pick(at,Xe))).Array,re=t.Date,_e=t.Error,we=t.Function,Se=t.Math,Ce=t.Object,ke=t.RegExp,Oe=t.String,Ee=t.TypeError,Me=i.prototype,Ie=Ce.prototype,Pe=t["__core-js_shared__"],Te=we.prototype.toString,De=Ie.hasOwnProperty,Le=0,Re=(n=/[^.]+$/.exec(Pe&&Pe.keys&&Pe.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",je=Ie.toString,Ae=Te.call(Ce),Fe=at._,Be=ke("^"+Te.call(De).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ze=lt?t.Buffer:r,Ne=t.Symbol,He=t.Uint8Array,Ve=ze?ze.allocUnsafe:r,Ye=en(Ce.getPrototypeOf,Ce),Ue=Ce.create,Ze=Ie.propertyIsEnumerable,et=Me.splice,it=Ne?Ne.isConcatSpreadable:r,rt=Ne?Ne.iterator:r,ot=Ne?Ne.toStringTag:r,st=function(){try{var e=la(Ce,"defineProperty");return e({},"",{}),e}catch(t){}}(),ct=t.clearTimeout!==at.clearTimeout&&t.clearTimeout,dt=re&&re.now!==at.Date.now&&re.now,Pt=t.setTimeout!==at.setTimeout&&t.setTimeout,Bt=Se.ceil,dn=Se.floor,un=Ce.getOwnPropertySymbols,pn=ze?ze.isBuffer:r,hn=t.isFinite,mn=Me.join,gn=en(Ce.keys,Ce),fn=Se.max,vn=Se.min,yn=re.now,bn=t.parseInt,xn=Se.random,_n=Me.reverse,wn=la(t,"DataView"),Sn=la(t,"Map"),Cn=la(t,"Promise"),kn=la(t,"Set"),On=la(t,"WeakMap"),En=la(Ce,"create"),Mn=On&&new On,In={},Pn=Fa(wn),Tn=Fa(Sn),Dn=Fa(Cn),Ln=Fa(kn),Rn=Fa(On),jn=Ne?Ne.prototype:r,An=jn?jn.valueOf:r,Fn=jn?jn.toString:r;function Bn(e){if(ts(e)&&!Wo(e)&&!(e instanceof Vn)){if(e instanceof Hn)return e;if(De.call(e,"__wrapped__"))return Ba(e)}return new Hn(e)}var zn=function(){function e(){}return function(t){if(!es(t))return{};if(Ue)return Ue(t);e.prototype=t;var n=new e;return e.prototype=r,n}}();function Nn(){}function Hn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=r}function Vn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Wn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Un(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Gn;++t<n;)this.add(e[t])}function qn(e){var t=this.__data__=new Wn(e);this.size=t.size}function Zn(e,t){var n=Wo(e),i=!n&&Yo(e),r=!n&&!i&&Zo(e),a=!n&&!i&&!r&&cs(e),o=n||i||r||a,s=o?Ht(e.length,Oe):[],l=s.length;for(var c in e)!t&&!De.call(e,c)||o&&("length"==c||r&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ga(c,l))||s.push(c);return s}function $n(e){var t=e.length;return t?e[Gi(0,t-1)]:r}function Xn(e,t){return Da(Or(e),ai(t,0,e.length))}function Kn(e){return Da(Or(e))}function Jn(e,t,n){(n!==r&&!No(e[t],n)||n===r&&!(t in e))&&ii(e,t,n)}function Qn(e,t,n){var i=e[t];De.call(e,t)&&No(i,n)&&(n!==r||t in e)||ii(e,t,n)}function ei(e,t){for(var n=e.length;n--;)if(No(e[n][0],t))return n;return-1}function ti(e,t,n,i){return di(e,function(e,r,a){t(i,e,n(e),a)}),i}function ni(e,t){return e&&Er(t,Ts(t),e)}function ii(e,t,n){"__proto__"==t&&st?st(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ri(e,t){for(var n=-1,a=t.length,o=i(a),s=null==e;++n<a;)o[n]=s?r:Os(e,t[n]);return o}function ai(e,t,n){return e==e&&(n!==r&&(e=e<=n?e:n),t!==r&&(e=e>=t?e:t)),e}function oi(e,t,n,i,a,o){var s,l=1&t,c=2&t,d=4&t;if(n&&(s=a?n(e,i,a,o):n(e)),s!==r)return s;if(!es(e))return e;var u=Wo(e);if(u){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&De.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return Or(e,s)}else{var p=ua(e),h=p==x||p==_;if(Zo(e))return xr(e,l);if(p==C||p==g||h&&!a){if(s=c||h?{}:ha(e),!l)return c?function(e,t){return Er(e,da(e),t)}(e,function(e,t){return e&&Er(t,Ds(t),e)}(s,e)):function(e,t){return Er(e,ca(e),t)}(e,ni(s,e))}else{if(!Qe[p])return a?e:{};s=function(e,t,n){var i=e.constructor;switch(t){case T:return _r(e);case v:case y:return new i(+e);case D:return function(e,t){var n=t?_r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case R:case j:case A:case F:case B:case z:case N:case H:return wr(e,n);case w:return new i;case S:case M:return new i(e);case O:return function(e){var t=new e.constructor(e.source,pe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case E:return new i;case I:return An?Ce(An.call(e)):{}}}(e,p,l)}}o||(o=new qn);var m=o.get(e);if(m)return m;o.set(e,s),os(e)?e.forEach(function(i){s.add(oi(i,t,n,i,e,o))}):ns(e)&&e.forEach(function(i,r){s.set(r,oi(i,t,n,r,e,o))});var f=u?r:(d?c?ta:ea:c?Ds:Ts)(e);return bt(f||e,function(i,r){f&&(i=e[r=i]),Qn(s,r,oi(i,t,n,r,e,o))}),s}function si(e,t,n){var i=n.length;if(null==e)return!i;for(e=Ce(e);i--;){var a=n[i],o=e[a];if(o===r&&!(a in e)||!(0,t[a])(o))return!1}return!0}function li(e,t,n){if("function"!=typeof e)throw new Ee(a);return Ma(function(){e.apply(r,n)},t)}function ci(e,t,n,i){var r=-1,a=St,o=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=kt(t,Yt(n))),i?(a=Ct,o=!1):t.length>=200&&(a=Gt,o=!1,t=new Un(t));e:for(;++r<s;){var d=e[r],u=null==n?d:n(d);if(d=i||0!==d?d:0,o&&u==u){for(var p=c;p--;)if(t[p]===u)continue e;l.push(d)}else a(t,u,i)||l.push(d)}return l}Bn.templateSettings={escape:$,evaluate:X,interpolate:K,variable:"",imports:{_:Bn}},(Bn.prototype=Nn.prototype).constructor=Bn,(Hn.prototype=zn(Nn.prototype)).constructor=Hn,(Vn.prototype=zn(Nn.prototype)).constructor=Vn,Yn.prototype.clear=function(){this.__data__=En?En(null):{},this.size=0},Yn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Yn.prototype.get=function(e){var t=this.__data__;if(En){var n=t[e];return n===o?r:n}return De.call(t,e)?t[e]:r},Yn.prototype.has=function(e){var t=this.__data__;return En?t[e]!==r:De.call(t,e)},Yn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=En&&t===r?o:t,this},Wn.prototype.clear=function(){this.__data__=[],this.size=0},Wn.prototype.delete=function(e){var t=this.__data__,n=ei(t,e);return!(n<0||(n==t.length-1?t.pop():et.call(t,n,1),--this.size,0))},Wn.prototype.get=function(e){var t=this.__data__,n=ei(t,e);return n<0?r:t[n][1]},Wn.prototype.has=function(e){return ei(this.__data__,e)>-1},Wn.prototype.set=function(e,t){var n=this.__data__,i=ei(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this},Gn.prototype.clear=function(){this.size=0,this.__data__={hash:new Yn,map:new(Sn||Wn),string:new Yn}},Gn.prototype.delete=function(e){var t=oa(this,e).delete(e);return this.size-=t?1:0,t},Gn.prototype.get=function(e){return oa(this,e).get(e)},Gn.prototype.has=function(e){return oa(this,e).has(e)},Gn.prototype.set=function(e,t){var n=oa(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this},Un.prototype.add=Un.prototype.push=function(e){return this.__data__.set(e,o),this},Un.prototype.has=function(e){return this.__data__.has(e)},qn.prototype.clear=function(){this.__data__=new Wn,this.size=0},qn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},qn.prototype.get=function(e){return this.__data__.get(e)},qn.prototype.has=function(e){return this.__data__.has(e)},qn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Wn){var i=n.__data__;if(!Sn||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new Gn(i)}return n.set(e,t),this.size=n.size,this};var di=Pr(yi),ui=Pr(bi,!0);function pi(e,t){var n=!0;return di(e,function(e,i,r){return n=!!t(e,i,r)}),n}function hi(e,t,n){for(var i=-1,a=e.length;++i<a;){var o=e[i],s=t(o);if(null!=s&&(l===r?s==s&&!ls(s):n(s,l)))var l=s,c=o}return c}function mi(e,t){var n=[];return di(e,function(e,i,r){t(e,i,r)&&n.push(e)}),n}function gi(e,t,n,i,r){var a=-1,o=e.length;for(n||(n=ma),r||(r=[]);++a<o;){var s=e[a];t>0&&n(s)?t>1?gi(s,t-1,n,i,r):Ot(r,s):i||(r[r.length]=s)}return r}var fi=Tr(),vi=Tr(!0);function yi(e,t){return e&&fi(e,t,Ts)}function bi(e,t){return e&&vi(e,t,Ts)}function xi(e,t){return wt(t,function(t){return Ko(e[t])})}function _i(e,t){for(var n=0,i=(t=fr(t,e)).length;null!=e&&n<i;)e=e[Aa(t[n++])];return n&&n==i?e:r}function wi(e,t,n){var i=t(e);return Wo(e)?i:Ot(i,n(e))}function Si(e){return null==e?e===r?"[object Undefined]":"[object Null]":ot&&ot in Ce(e)?function(e){var t=De.call(e,ot),n=e[ot];try{e[ot]=r;var i=!0}catch(o){}var a=je.call(e);return i&&(t?e[ot]=n:delete e[ot]),a}(e):function(e){return je.call(e)}(e)}function Ci(e,t){return e>t}function ki(e,t){return null!=e&&De.call(e,t)}function Oi(e,t){return null!=e&&t in Ce(e)}function Ei(e,t,n){for(var a=n?Ct:St,o=e[0].length,s=e.length,l=s,c=i(s),d=1/0,u=[];l--;){var p=e[l];l&&t&&(p=kt(p,Yt(t))),d=vn(p.length,d),c[l]=!n&&(t||o>=120&&p.length>=120)?new Un(l&&p):r}p=e[0];var h=-1,m=c[0];e:for(;++h<o&&u.length<d;){var g=p[h],f=t?t(g):g;if(g=n||0!==g?g:0,!(m?Gt(m,f):a(u,f,n))){for(l=s;--l;){var v=c[l];if(!(v?Gt(v,f):a(e[l],f,n)))continue e}m&&m.push(f),u.push(g)}}return u}function Mi(e,t,n){var i=null==(e=Ca(e,t=fr(t,e)))?e:e[Aa($a(t))];return null==i?r:vt(i,e,n)}function Ii(e){return ts(e)&&Si(e)==g}function Pi(e,t,n,i,a){return e===t||(null==e||null==t||!ts(e)&&!ts(t)?e!=e&&t!=t:function(e,t,n,i,a,o){var s=Wo(e),l=Wo(t),c=s?f:ua(e),d=l?f:ua(t),u=(c=c==g?C:c)==C,p=(d=d==g?C:d)==C,h=c==d;if(h&&Zo(e)){if(!Zo(t))return!1;s=!0,u=!1}if(h&&!u)return o||(o=new qn),s||cs(e)?Jr(e,t,n,i,a,o):function(e,t,n,i,r,a,o){switch(n){case D:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case T:return!(e.byteLength!=t.byteLength||!a(new He(e),new He(t)));case v:case y:case S:return No(+e,+t);case b:return e.name==t.name&&e.message==t.message;case O:case M:return e==t+"";case w:var s=Qt;case E:if(s||(s=nn),e.size!=t.size&&!(1&i))return!1;var l=o.get(e);if(l)return l==t;i|=2,o.set(e,t);var c=Jr(s(e),s(t),i,r,a,o);return o.delete(e),c;case I:if(An)return An.call(e)==An.call(t)}return!1}(e,t,c,n,i,a,o);if(!(1&n)){var m=u&&De.call(e,"__wrapped__"),x=p&&De.call(t,"__wrapped__");if(m||x){var _=m?e.value():e,k=x?t.value():t;return o||(o=new qn),a(_,k,n,i,o)}}return!!h&&(o||(o=new qn),function(e,t,n,i,a,o){var s=1&n,l=ea(e),c=l.length;if(c!=ea(t).length&&!s)return!1;for(var d=c;d--;){var u=l[d];if(!(s?u in t:De.call(t,u)))return!1}var p=o.get(e),h=o.get(t);if(p&&h)return p==t&&h==e;var m=!0;o.set(e,t),o.set(t,e);for(var g=s;++d<c;){var f=e[u=l[d]],v=t[u];if(i)var y=s?i(v,f,u,t,e,o):i(f,v,u,e,t,o);if(!(y===r?f===v||a(f,v,n,i,o):y)){m=!1;break}g||(g="constructor"==u)}if(m&&!g){var b=e.constructor,x=t.constructor;b==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x||(m=!1)}return o.delete(e),o.delete(t),m}(e,t,n,i,a,o))}(e,t,n,i,Pi,a))}function Ti(e,t,n,i){var a=n.length,o=a,s=!i;if(null==e)return!o;for(e=Ce(e);a--;){var l=n[a];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++a<o;){var c=(l=n[a])[0],d=e[c],u=l[1];if(s&&l[2]){if(d===r&&!(c in e))return!1}else{var p=new qn;if(i)var h=i(d,u,c,e,t,p);if(!(h===r?Pi(u,d,3,i,p):h))return!1}}return!0}function Di(e){return!(!es(e)||(t=e,Re&&Re in t))&&(Ko(e)?Be:ge).test(Fa(e));var t}function Li(e){return"function"==typeof e?e:null==e?il:"object"==typeof e?Wo(e)?Bi(e[0],e[1]):Fi(e):pl(e)}function Ri(e){if(!xa(e))return gn(e);var t=[];for(var n in Ce(e))De.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ji(e,t){return e<t}function Ai(e,t){var n=-1,r=Uo(e)?i(e.length):[];return di(e,function(e,i,a){r[++n]=t(e,i,a)}),r}function Fi(e){var t=sa(e);return 1==t.length&&t[0][2]?wa(t[0][0],t[0][1]):function(n){return n===e||Ti(n,e,t)}}function Bi(e,t){return va(e)&&_a(t)?wa(Aa(e),t):function(n){var i=Os(n,e);return i===r&&i===t?Es(n,e):Pi(t,i,3)}}function zi(e,t,n,i,a){e!==t&&fi(t,function(o,s){if(a||(a=new qn),es(o))!function(e,t,n,i,a,o,s){var l=Oa(e,n),c=Oa(t,n),d=s.get(c);if(d)Jn(e,n,d);else{var u=o?o(l,c,n+"",e,t,s):r,p=u===r;if(p){var h=Wo(c),m=!h&&Zo(c),g=!h&&!m&&cs(c);u=c,h||m||g?Wo(l)?u=l:qo(l)?u=Or(l):m?(p=!1,u=xr(c,!0)):g?(p=!1,u=wr(c,!0)):u=[]:rs(c)||Yo(c)?(u=l,Yo(l)?u=vs(l):es(l)&&!Ko(l)||(u=ha(c))):p=!1}p&&(s.set(c,u),a(u,c,i,o,s),s.delete(c)),Jn(e,n,u)}}(e,t,s,n,zi,i,a);else{var l=i?i(Oa(e,s),o,s+"",e,t,a):r;l===r&&(l=o),Jn(e,s,l)}},Ds)}function Ni(e,t){var n=e.length;if(n)return ga(t+=t<0?n:0,n)?e[t]:r}function Hi(e,t,n){t=t.length?kt(t,function(e){return Wo(e)?function(t){return _i(t,1===e.length?e[0]:e)}:e}):[il];var i=-1;return t=kt(t,Yt(aa())),function(e,t){var i=e.length;for(e.sort(function(e,t){return function(e,t,n){for(var i=-1,r=e.criteria,a=t.criteria,o=r.length,s=n.length;++i<o;){var l=Sr(r[i],a[i]);if(l)return i>=s?l:l*("desc"==n[i]?-1:1)}return e.index-t.index}(e,t,n)});i--;)e[i]=e[i].value;return e}(Ai(e,function(e,n,r){return{criteria:kt(t,function(t){return t(e)}),index:++i,value:e}}))}function Vi(e,t,n){for(var i=-1,r=t.length,a={};++i<r;){var o=t[i],s=_i(e,o);n(s,o)&&Xi(a,fr(o,e),s)}return a}function Yi(e,t,n,i){var r=i?Rt:Lt,a=-1,o=t.length,s=e;for(e===t&&(t=Or(t)),n&&(s=kt(e,Yt(n)));++a<o;)for(var l=0,c=t[a],d=n?n(c):c;(l=r(s,d,l,i))>-1;)s!==e&&et.call(s,l,1),et.call(e,l,1);return e}function Wi(e,t){for(var n=e?t.length:0,i=n-1;n--;){var r=t[n];if(n==i||r!==a){var a=r;ga(r)?et.call(e,r,1):lr(e,r)}}return e}function Gi(e,t){return e+dn(xn()*(t-e+1))}function Ui(e,t){var n="";if(!e||t<1||t>u)return n;do{t%2&&(n+=e),(t=dn(t/2))&&(e+=e)}while(t);return n}function qi(e,t){return Ia(Sa(e,t,il),e+"")}function Zi(e){return $n(Ns(e))}function $i(e,t){var n=Ns(e);return Da(n,ai(t,0,n.length))}function Xi(e,t,n,i){if(!es(e))return e;for(var a=-1,o=(t=fr(t,e)).length,s=o-1,l=e;null!=l&&++a<o;){var c=Aa(t[a]),d=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(a!=s){var u=l[c];(d=i?i(u,c,l):r)===r&&(d=es(u)?u:ga(t[a+1])?[]:{})}Qn(l,c,d),l=l[c]}return e}var Ki=Mn?function(e,t){return Mn.set(e,t),e}:il,Ji=st?function(e,t){return st(e,"toString",{configurable:!0,enumerable:!1,value:el(t),writable:!0})}:il;function Qi(e){return Da(Ns(e))}function er(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=i(a);++r<a;)o[r]=e[r+t];return o}function tr(e,t){var n;return di(e,function(e,i,r){return!(n=t(e,i,r))}),!!n}function nr(e,t,n){var i=0,r=null==e?i:e.length;if("number"==typeof t&&t==t&&r<=2147483647){for(;i<r;){var a=i+r>>>1,o=e[a];null!==o&&!ls(o)&&(n?o<=t:o<t)?i=a+1:r=a}return r}return ir(e,t,il,n)}function ir(e,t,n,i){var a=0,o=null==e?0:e.length;if(0===o)return 0;for(var s=(t=n(t))!=t,l=null===t,c=ls(t),d=t===r;a<o;){var u=dn((a+o)/2),p=n(e[u]),h=p!==r,m=null===p,g=p==p,f=ls(p);if(s)var v=i||g;else v=d?g&&(i||h):l?g&&h&&(i||!m):c?g&&h&&!m&&(i||!f):!m&&!f&&(i?p<=t:p<t);v?a=u+1:o=u}return vn(o,4294967294)}function rr(e,t){for(var n=-1,i=e.length,r=0,a=[];++n<i;){var o=e[n],s=t?t(o):o;if(!n||!No(s,l)){var l=s;a[r++]=0===o?0:o}}return a}function ar(e){return"number"==typeof e?e:ls(e)?p:+e}function or(e){if("string"==typeof e)return e;if(Wo(e))return kt(e,or)+"";if(ls(e))return Fn?Fn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function sr(e,t,n){var i=-1,r=St,a=e.length,o=!0,s=[],l=s;if(n)o=!1,r=Ct;else if(a>=200){var c=t?null:Ur(e);if(c)return nn(c);o=!1,r=Gt,l=new Un}else l=t?[]:s;e:for(;++i<a;){var d=e[i],u=t?t(d):d;if(d=n||0!==d?d:0,o&&u==u){for(var p=l.length;p--;)if(l[p]===u)continue e;t&&l.push(u),s.push(d)}else r(l,u,n)||(l!==s&&l.push(u),s.push(d))}return s}function lr(e,t){return null==(e=Ca(e,t=fr(t,e)))||delete e[Aa($a(t))]}function cr(e,t,n,i){return Xi(e,t,n(_i(e,t)),i)}function dr(e,t,n,i){for(var r=e.length,a=i?r:-1;(i?a--:++a<r)&&t(e[a],a,e););return n?er(e,i?0:a,i?a+1:r):er(e,i?a+1:0,i?r:a)}function ur(e,t){var n=e;return n instanceof Vn&&(n=n.value()),Et(t,function(e,t){return t.func.apply(t.thisArg,Ot([e],t.args))},n)}function pr(e,t,n){var r=e.length;if(r<2)return r?sr(e[0]):[];for(var a=-1,o=i(r);++a<r;)for(var s=e[a],l=-1;++l<r;)l!=a&&(o[a]=ci(o[a]||s,e[l],t,n));return sr(gi(o,1),t,n)}function hr(e,t,n){for(var i=-1,a=e.length,o=t.length,s={};++i<a;)n(s,e[i],i<o?t[i]:r);return s}function mr(e){return qo(e)?e:[]}function gr(e){return"function"==typeof e?e:il}function fr(e,t){return Wo(e)?e:va(e,t)?[e]:ja(ys(e))}var vr=qi;function yr(e,t,n){var i=e.length;return n=n===r?i:n,!t&&n>=i?e:er(e,t,n)}var br=ct||function(e){return at.clearTimeout(e)};function xr(e,t){if(t)return e.slice();var n=e.length,i=Ve?Ve(n):new e.constructor(n);return e.copy(i),i}function _r(e){var t=new e.constructor(e.byteLength);return new He(t).set(new He(e)),t}function wr(e,t){var n=t?_r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Sr(e,t){if(e!==t){var n=e!==r,i=null===e,a=e==e,o=ls(e),s=t!==r,l=null===t,c=t==t,d=ls(t);if(!l&&!d&&!o&&e>t||o&&s&&c&&!l&&!d||i&&s&&c||!n&&c||!a)return 1;if(!i&&!o&&!d&&e<t||d&&n&&a&&!i&&!o||l&&n&&a||!s&&a||!c)return-1}return 0}function Cr(e,t,n,r){for(var a=-1,o=e.length,s=n.length,l=-1,c=t.length,d=fn(o-s,0),u=i(c+d),p=!r;++l<c;)u[l]=t[l];for(;++a<s;)(p||a<o)&&(u[n[a]]=e[a]);for(;d--;)u[l++]=e[a++];return u}function kr(e,t,n,r){for(var a=-1,o=e.length,s=-1,l=n.length,c=-1,d=t.length,u=fn(o-l,0),p=i(u+d),h=!r;++a<u;)p[a]=e[a];for(var m=a;++c<d;)p[m+c]=t[c];for(;++s<l;)(h||a<o)&&(p[m+n[s]]=e[a++]);return p}function Or(e,t){var n=-1,r=e.length;for(t||(t=i(r));++n<r;)t[n]=e[n];return t}function Er(e,t,n,i){var a=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var l=t[o],c=i?i(n[l],e[l],l,n,e):r;c===r&&(c=e[l]),a?ii(n,l,c):Qn(n,l,c)}return n}function Mr(e,t){return function(n,i){var r=Wo(n)?yt:ti,a=t?t():{};return r(n,e,aa(i,2),a)}}function Ir(e){return qi(function(t,n){var i=-1,a=n.length,o=a>1?n[a-1]:r,s=a>2?n[2]:r;for(o=e.length>3&&"function"==typeof o?(a--,o):r,s&&fa(n[0],n[1],s)&&(o=a<3?r:o,a=1),t=Ce(t);++i<a;){var l=n[i];l&&e(t,l,i,o)}return t})}function Pr(e,t){return function(n,i){if(null==n)return n;if(!Uo(n))return e(n,i);for(var r=n.length,a=t?r:-1,o=Ce(n);(t?a--:++a<r)&&!1!==i(o[a],a,o););return n}}function Tr(e){return function(t,n,i){for(var r=-1,a=Ce(t),o=i(t),s=o.length;s--;){var l=o[e?s:++r];if(!1===n(a[l],l,a))break}return t}}function Dr(e){return function(t){var n=Jt(t=ys(t))?on(t):r,i=n?n[0]:t.charAt(0),a=n?yr(n,1).join(""):t.slice(1);return i[e]()+a}}function Lr(e){return function(t){return Et(Ks(Ys(t).replace(We,"")),e,"")}}function Rr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=zn(e.prototype),i=e.apply(n,t);return es(i)?i:n}}function jr(e){return function(t,n,i){var a=Ce(t);if(!Uo(t)){var o=aa(n,3);t=Ts(t),n=function(e){return o(a[e],e,a)}}var s=e(t,n,i);return s>-1?a[o?t[s]:s]:r}}function Ar(e){return Qr(function(t){var n=t.length,i=n,o=Hn.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new Ee(a);if(o&&!l&&"wrapper"==ia(s))var l=new Hn([],!0)}for(i=l?i:n;++i<n;){var c=ia(s=t[i]),d="wrapper"==c?na(s):r;l=d&&ya(d[0])&&424==d[1]&&!d[4].length&&1==d[9]?l[ia(d[0])].apply(l,d[3]):1==s.length&&ya(s)?l[c]():l.thru(s)}return function(){var e=arguments,i=e[0];if(l&&1==e.length&&Wo(i))return l.plant(i).value();for(var r=0,a=n?t[r].apply(this,e):i;++r<n;)a=t[r].call(this,a);return a}})}function Fr(e,t,n,a,o,s,l,d,u,p){var h=t&c,m=1&t,g=2&t,f=24&t,v=512&t,y=g?r:Rr(e);return function r(){for(var c=arguments.length,b=i(c),x=c;x--;)b[x]=arguments[x];if(f)var _=ra(r),w=Zt(b,_);if(a&&(b=Cr(b,a,o,f)),s&&(b=kr(b,s,l,f)),c-=w,f&&c<p){var S=tn(b,_);return Wr(e,t,Fr,r.placeholder,n,b,S,d,u,p-c)}var C=m?n:this,k=g?C[e]:e;return c=b.length,d?b=ka(b,d):v&&c>1&&b.reverse(),h&&u<c&&(b.length=u),this&&this!==at&&this instanceof r&&(k=y||Rr(k)),k.apply(C,b)}}function Br(e,t){return function(n,i){return function(e,t,n,i){return yi(e,function(e,r,a){t(i,n(e),r,a)}),i}(n,e,t(i),{})}}function zr(e,t){return function(n,i){var a;if(n===r&&i===r)return t;if(n!==r&&(a=n),i!==r){if(a===r)return i;"string"==typeof n||"string"==typeof i?(n=or(n),i=or(i)):(n=ar(n),i=ar(i)),a=e(n,i)}return a}}function Nr(e){return Qr(function(t){return t=kt(t,Yt(aa())),qi(function(n){var i=this;return e(t,function(e){return vt(e,i,n)})})})}function Hr(e,t){var n=(t=t===r?" ":or(t)).length;if(n<2)return n?Ui(t,e):t;var i=Ui(t,Bt(e/an(t)));return Jt(t)?yr(on(i),0,e).join(""):i.slice(0,e)}function Vr(e){return function(t,n,a){return a&&"number"!=typeof a&&fa(t,n,a)&&(n=a=r),t=hs(t),n===r?(n=t,t=0):n=hs(n),function(e,t,n,r){for(var a=-1,o=fn(Bt((t-e)/(n||1)),0),s=i(o);o--;)s[r?o:++a]=e,e+=n;return s}(t,n,a=a===r?t<n?1:-1:hs(a),e)}}function Yr(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=fs(t),n=fs(n)),e(t,n)}}function Wr(e,t,n,i,a,o,s,c,d,u){var p=8&t;t|=p?l:64,4&(t&=~(p?64:l))||(t&=-4);var h=[e,t,a,p?o:r,p?s:r,p?r:o,p?r:s,c,d,u],m=n.apply(r,h);return ya(e)&&Ea(m,h),m.placeholder=i,Pa(m,e,t)}function Gr(e){var t=Se[e];return function(e,n){if(e=fs(e),(n=null==n?0:vn(ms(n),292))&&hn(e)){var i=(ys(e)+"e").split("e");return+((i=(ys(t(i[0]+"e"+(+i[1]+n)))+"e").split("e"))[0]+"e"+(+i[1]-n))}return t(e)}}var Ur=kn&&1/nn(new kn([,-0]))[1]==d?function(e){return new kn(e)}:ll;function qr(e){return function(t){var n=ua(t);return n==w?Qt(t):n==E?rn(t):function(e,t){return kt(t,function(t){return[t,e[t]]})}(t,e(t))}}function Zr(e,t,n,o,d,u,p,h){var m=2&t;if(!m&&"function"!=typeof e)throw new Ee(a);var g=o?o.length:0;if(g||(t&=-97,o=d=r),p=p===r?p:fn(ms(p),0),h=h===r?h:ms(h),g-=d?d.length:0,64&t){var f=o,v=d;o=d=r}var y=m?r:na(e),b=[e,t,n,o,d,f,v,u,p,h];if(y&&function(e,t){var n=e[1],i=t[1],r=n|i;if(!(r<131||i==c&&8==n||i==c&&256==n&&e[7].length<=t[8]||384==i&&t[7].length<=t[8]&&8==n))return e;1&i&&(e[2]=t[2],r|=1&n?0:4);var a=t[3];if(a){var o=e[3];e[3]=o?Cr(o,a,t[4]):a,e[4]=o?tn(e[3],s):t[4]}(a=t[5])&&(e[5]=(o=e[5])?kr(o,a,t[6]):a,e[6]=o?tn(e[5],s):t[6]),(a=t[7])&&(e[7]=a),i&c&&(e[8]=null==e[8]?t[8]:vn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=r}(b,y),e=b[0],t=b[1],n=b[2],o=b[3],d=b[4],!(h=b[9]=b[9]===r?m?0:e.length:fn(b[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)x=8==t||16==t?function(e,t,n){var a=Rr(e);return function o(){for(var s=arguments.length,l=i(s),c=s,d=ra(o);c--;)l[c]=arguments[c];var u=s<3&&l[0]!==d&&l[s-1]!==d?[]:tn(l,d);return(s-=u.length)<n?Wr(e,t,Fr,o.placeholder,r,l,u,r,r,n-s):vt(this&&this!==at&&this instanceof o?a:e,this,l)}}(e,t,h):t!=l&&33!=t||d.length?Fr.apply(r,b):function(e,t,n,r){var a=1&t,o=Rr(e);return function t(){for(var s=-1,l=arguments.length,c=-1,d=r.length,u=i(d+l),p=this&&this!==at&&this instanceof t?o:e;++c<d;)u[c]=r[c];for(;l--;)u[c++]=arguments[++s];return vt(p,a?n:this,u)}}(e,t,n,o);else var x=function(e,t,n){var i=1&t,r=Rr(e);return function t(){return(this&&this!==at&&this instanceof t?r:e).apply(i?n:this,arguments)}}(e,t,n);return Pa((y?Ki:Ea)(x,b),e,t)}function $r(e,t,n,i){return e===r||No(e,Ie[n])&&!De.call(i,n)?t:e}function Xr(e,t,n,i,a,o){return es(e)&&es(t)&&(o.set(t,e),zi(e,t,r,Xr,o),o.delete(t)),e}function Kr(e){return rs(e)?r:e}function Jr(e,t,n,i,a,o){var s=1&n,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var d=o.get(e),u=o.get(t);if(d&&u)return d==t&&u==e;var p=-1,h=!0,m=2&n?new Un:r;for(o.set(e,t),o.set(t,e);++p<l;){var g=e[p],f=t[p];if(i)var v=s?i(f,g,p,t,e,o):i(g,f,p,e,t,o);if(v!==r){if(v)continue;h=!1;break}if(m){if(!It(t,function(e,t){if(!Gt(m,t)&&(g===e||a(g,e,n,i,o)))return m.push(t)})){h=!1;break}}else if(g!==f&&!a(g,f,n,i,o)){h=!1;break}}return o.delete(e),o.delete(t),h}function Qr(e){return Ia(Sa(e,r,Wa),e+"")}function ea(e){return wi(e,Ts,ca)}function ta(e){return wi(e,Ds,da)}var na=Mn?function(e){return Mn.get(e)}:ll;function ia(e){for(var t=e.name+"",n=In[t],i=De.call(In,t)?n.length:0;i--;){var r=n[i],a=r.func;if(null==a||a==e)return r.name}return t}function ra(e){return(De.call(Bn,"placeholder")?Bn:e).placeholder}function aa(){var e=Bn.iteratee||rl;return e=e===rl?Li:e,arguments.length?e(arguments[0],arguments[1]):e}function oa(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function sa(e){for(var t=Ts(e),n=t.length;n--;){var i=t[n],r=e[i];t[n]=[i,r,_a(r)]}return t}function la(e,t){var n=function(e,t){return null==e?r:e[t]}(e,t);return Di(n)?n:r}var ca=un?function(e){return null==e?[]:(e=Ce(e),wt(un(e),function(t){return Ze.call(e,t)}))}:gl,da=un?function(e){for(var t=[];e;)Ot(t,ca(e)),e=Ye(e);return t}:gl,ua=Si;function pa(e,t,n){for(var i=-1,r=(t=fr(t,e)).length,a=!1;++i<r;){var o=Aa(t[i]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++i!=r?a:!!(r=null==e?0:e.length)&&Qo(r)&&ga(o,r)&&(Wo(e)||Yo(e))}function ha(e){return"function"!=typeof e.constructor||xa(e)?{}:zn(Ye(e))}function ma(e){return Wo(e)||Yo(e)||!!(it&&e&&e[it])}function ga(e,t){var n=typeof e;return!!(t=null==t?u:t)&&("number"==n||"symbol"!=n&&ve.test(e))&&e>-1&&e%1==0&&e<t}function fa(e,t,n){if(!es(n))return!1;var i=typeof t;return!!("number"==i?Uo(n)&&ga(t,n.length):"string"==i&&t in n)&&No(n[t],e)}function va(e,t){if(Wo(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ls(e))||Q.test(e)||!J.test(e)||null!=t&&e in Ce(t)}function ya(e){var t=ia(e),n=Bn[t];if("function"!=typeof n||!(t in Vn.prototype))return!1;if(e===n)return!0;var i=na(n);return!!i&&e===i[0]}(wn&&ua(new wn(new ArrayBuffer(1)))!=D||Sn&&ua(new Sn)!=w||Cn&&ua(Cn.resolve())!=k||kn&&ua(new kn)!=E||On&&ua(new On)!=P)&&(ua=function(e){var t=Si(e),n=t==C?e.constructor:r,i=n?Fa(n):"";if(i)switch(i){case Pn:return D;case Tn:return w;case Dn:return k;case Ln:return E;case Rn:return P}return t});var ba=Pe?Ko:fl;function xa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ie)}function _a(e){return e==e&&!es(e)}function wa(e,t){return function(n){return null!=n&&n[e]===t&&(t!==r||e in Ce(n))}}function Sa(e,t,n){return t=fn(t===r?e.length-1:t,0),function(){for(var r=arguments,a=-1,o=fn(r.length-t,0),s=i(o);++a<o;)s[a]=r[t+a];a=-1;for(var l=i(t+1);++a<t;)l[a]=r[a];return l[t]=n(s),vt(e,this,l)}}function Ca(e,t){return t.length<2?e:_i(e,er(t,0,-1))}function ka(e,t){for(var n=e.length,i=vn(t.length,n),a=Or(e);i--;){var o=t[i];e[i]=ga(o,n)?a[o]:r}return e}function Oa(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Ea=Ta(Ki),Ma=Pt||function(e,t){return at.setTimeout(e,t)},Ia=Ta(Ji);function Pa(e,t,n){var i=t+"";return Ia(e,function(e,t){var n=t.length;if(!n)return e;var i=n-1;return t[i]=(n>1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(ae,"{\n/* [wrapped with "+t+"] */\n")}(i,function(e,t){return bt(m,function(n){var i="_."+n[0];t&n[1]&&!St(e,i)&&e.push(i)}),e.sort()}(function(e){var t=e.match(oe);return t?t[1].split(se):[]}(i),n)))}function Ta(e){var t=0,n=0;return function(){var i=yn(),a=16-(i-n);if(n=i,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(r,arguments)}}function Da(e,t){var n=-1,i=e.length,a=i-1;for(t=t===r?i:t;++n<t;){var o=Gi(n,a),s=e[o];e[o]=e[n],e[n]=s}return e.length=t,e}var La,Ra,ja=(La=Ro(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,function(e,n,i,r){t.push(i?r.replace(de,"$1"):n||e)}),t},function(e){return 500===Ra.size&&Ra.clear(),e}),Ra=La.cache,La);function Aa(e){if("string"==typeof e||ls(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Fa(e){if(null!=e){try{return Te.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Ba(e){if(e instanceof Vn)return e.clone();var t=new Hn(e.__wrapped__,e.__chain__);return t.__actions__=Or(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var za=qi(function(e,t){return qo(e)?ci(e,gi(t,1,qo,!0)):[]}),Na=qi(function(e,t){var n=$a(t);return qo(n)&&(n=r),qo(e)?ci(e,gi(t,1,qo,!0),aa(n,2)):[]}),Ha=qi(function(e,t){var n=$a(t);return qo(n)&&(n=r),qo(e)?ci(e,gi(t,1,qo,!0),r,n):[]});function Va(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:ms(n);return r<0&&(r=fn(i+r,0)),Dt(e,aa(t,3),r)}function Ya(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var a=i-1;return n!==r&&(a=ms(n),a=n<0?fn(i+a,0):vn(a,i-1)),Dt(e,aa(t,3),a,!0)}function Wa(e){return null!=e&&e.length?gi(e,1):[]}function Ga(e){return e&&e.length?e[0]:r}var Ua=qi(function(e){var t=kt(e,mr);return t.length&&t[0]===e[0]?Ei(t):[]}),qa=qi(function(e){var t=$a(e),n=kt(e,mr);return t===$a(n)?t=r:n.pop(),n.length&&n[0]===e[0]?Ei(n,aa(t,2)):[]}),Za=qi(function(e){var t=$a(e),n=kt(e,mr);return(t="function"==typeof t?t:r)&&n.pop(),n.length&&n[0]===e[0]?Ei(n,r,t):[]});function $a(e){var t=null==e?0:e.length;return t?e[t-1]:r}var Xa=qi(Ka);function Ka(e,t){return e&&e.length&&t&&t.length?Yi(e,t):e}var Ja=Qr(function(e,t){var n=null==e?0:e.length,i=ri(e,t);return Wi(e,kt(t,function(e){return ga(e,n)?+e:e}).sort(Sr)),i});function Qa(e){return null==e?e:_n.call(e)}var eo=qi(function(e){return sr(gi(e,1,qo,!0))}),to=qi(function(e){var t=$a(e);return qo(t)&&(t=r),sr(gi(e,1,qo,!0),aa(t,2))}),no=qi(function(e){var t=$a(e);return t="function"==typeof t?t:r,sr(gi(e,1,qo,!0),r,t)});function io(e){if(!e||!e.length)return[];var t=0;return e=wt(e,function(e){if(qo(e))return t=fn(e.length,t),!0}),Ht(t,function(t){return kt(e,Ft(t))})}function ro(e,t){if(!e||!e.length)return[];var n=io(e);return null==t?n:kt(n,function(e){return vt(t,r,e)})}var ao=qi(function(e,t){return qo(e)?ci(e,t):[]}),oo=qi(function(e){return pr(wt(e,qo))}),so=qi(function(e){var t=$a(e);return qo(t)&&(t=r),pr(wt(e,qo),aa(t,2))}),lo=qi(function(e){var t=$a(e);return t="function"==typeof t?t:r,pr(wt(e,qo),r,t)}),co=qi(io),uo=qi(function(e){var t=e.length,n=t>1?e[t-1]:r;return n="function"==typeof n?(e.pop(),n):r,ro(e,n)});function po(e){var t=Bn(e);return t.__chain__=!0,t}function ho(e,t){return t(e)}var mo=Qr(function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,a=function(t){return ri(t,e)};return!(t>1||this.__actions__.length)&&i instanceof Vn&&ga(n)?((i=i.slice(n,+n+(t?1:0))).__actions__.push({func:ho,args:[a],thisArg:r}),new Hn(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(r),e})):this.thru(a)}),go=Mr(function(e,t,n){De.call(e,n)?++e[n]:ii(e,n,1)}),fo=jr(Va),vo=jr(Ya);function yo(e,t){return(Wo(e)?bt:di)(e,aa(t,3))}function bo(e,t){return(Wo(e)?xt:ui)(e,aa(t,3))}var xo=Mr(function(e,t,n){De.call(e,n)?e[n].push(t):ii(e,n,[t])}),_o=qi(function(e,t,n){var r=-1,a="function"==typeof t,o=Uo(e)?i(e.length):[];return di(e,function(e){o[++r]=a?vt(t,e,n):Mi(e,t,n)}),o}),wo=Mr(function(e,t,n){ii(e,n,t)});function So(e,t){return(Wo(e)?kt:Ai)(e,aa(t,3))}var Co=Mr(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ko=qi(function(e,t){if(null==e)return[];var n=t.length;return n>1&&fa(e,t[0],t[1])?t=[]:n>2&&fa(t[0],t[1],t[2])&&(t=[t[0]]),Hi(e,gi(t,1),[])}),Oo=dt||function(){return at.Date.now()};function Eo(e,t,n){return t=n?r:t,Zr(e,c,r,r,r,r,t=e&&null==t?e.length:t)}function Mo(e,t){var n;if("function"!=typeof t)throw new Ee(a);return e=ms(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=r),n}}var Io=qi(function(e,t,n){var i=1;if(n.length){var r=tn(n,ra(Io));i|=l}return Zr(e,i,t,n,r)}),Po=qi(function(e,t,n){var i=3;if(n.length){var r=tn(n,ra(Po));i|=l}return Zr(t,i,e,n,r)});function To(e,t,n){var i,o,s,l,c,d,u=0,p=!1,h=!1,m=!0;if("function"!=typeof e)throw new Ee(a);function g(t){var n=i,a=o;return i=o=r,u=t,l=e.apply(a,n)}function f(e){return u=e,c=Ma(y,t),p?g(e):l}function v(e){var n=e-d;return d===r||n>=t||n<0||h&&e-u>=s}function y(){var e=Oo();if(v(e))return b(e);c=Ma(y,function(e){var n=t-(e-d);return h?vn(n,s-(e-u)):n}(e))}function b(e){return c=r,m&&i?g(e):(i=o=r,l)}function x(){var e=Oo(),n=v(e);if(i=arguments,o=this,d=e,n){if(c===r)return f(d);if(h)return br(c),c=Ma(y,t),g(d)}return c===r&&(c=Ma(y,t)),l}return t=fs(t)||0,es(n)&&(p=!!n.leading,s=(h="maxWait"in n)?fn(fs(n.maxWait)||0,t):s,m="trailing"in n?!!n.trailing:m),x.cancel=function(){c!==r&&br(c),u=0,i=d=o=c=r},x.flush=function(){return c===r?l:b(Oo())},x}var Do=qi(function(e,t){return li(e,1,t)}),Lo=qi(function(e,t,n){return li(e,fs(t)||0,n)});function Ro(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ee(a);var n=function n(){var i=arguments,r=t?t.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=e.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(Ro.Cache||Gn),n}function jo(e){if("function"!=typeof e)throw new Ee(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Ro.Cache=Gn;var Ao=vr(function(e,t){var n=(t=1==t.length&&Wo(t[0])?kt(t[0],Yt(aa())):kt(gi(t,1),Yt(aa()))).length;return qi(function(i){for(var r=-1,a=vn(i.length,n);++r<a;)i[r]=t[r].call(this,i[r]);return vt(e,this,i)})}),Fo=qi(function(e,t){var n=tn(t,ra(Fo));return Zr(e,l,r,t,n)}),Bo=qi(function(e,t){var n=tn(t,ra(Bo));return Zr(e,64,r,t,n)}),zo=Qr(function(e,t){return Zr(e,256,r,r,r,t)});function No(e,t){return e===t||e!=e&&t!=t}var Ho=Yr(Ci),Vo=Yr(function(e,t){return e>=t}),Yo=Ii(function(){return arguments}())?Ii:function(e){return ts(e)&&De.call(e,"callee")&&!Ze.call(e,"callee")},Wo=i.isArray,Go=ut?Yt(ut):function(e){return ts(e)&&Si(e)==T};function Uo(e){return null!=e&&Qo(e.length)&&!Ko(e)}function qo(e){return ts(e)&&Uo(e)}var Zo=pn||fl,$o=pt?Yt(pt):function(e){return ts(e)&&Si(e)==y};function Xo(e){if(!ts(e))return!1;var t=Si(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!rs(e)}function Ko(e){if(!es(e))return!1;var t=Si(e);return t==x||t==_||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Jo(e){return"number"==typeof e&&e==ms(e)}function Qo(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=u}function es(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ts(e){return null!=e&&"object"==typeof e}var ns=ht?Yt(ht):function(e){return ts(e)&&ua(e)==w};function is(e){return"number"==typeof e||ts(e)&&Si(e)==S}function rs(e){if(!ts(e)||Si(e)!=C)return!1;var t=Ye(e);if(null===t)return!0;var n=De.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Te.call(n)==Ae}var as=mt?Yt(mt):function(e){return ts(e)&&Si(e)==O},os=gt?Yt(gt):function(e){return ts(e)&&ua(e)==E};function ss(e){return"string"==typeof e||!Wo(e)&&ts(e)&&Si(e)==M}function ls(e){return"symbol"==typeof e||ts(e)&&Si(e)==I}var cs=ft?Yt(ft):function(e){return ts(e)&&Qo(e.length)&&!!Je[Si(e)]},ds=Yr(ji),us=Yr(function(e,t){return e<=t});function ps(e){if(!e)return[];if(Uo(e))return ss(e)?on(e):Or(e);if(rt&&e[rt])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[rt]());var t=ua(e);return(t==w?Qt:t==E?nn:Ns)(e)}function hs(e){return e?(e=fs(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ms(e){var t=hs(e),n=t%1;return t==t?n?t-n:t:0}function gs(e){return e?ai(ms(e),0,h):0}function fs(e){if("number"==typeof e)return e;if(ls(e))return p;if(es(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=es(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Vt(e);var n=me.test(e);return n||fe.test(e)?nt(e.slice(2),n?2:8):he.test(e)?p:+e}function vs(e){return Er(e,Ds(e))}function ys(e){return null==e?"":or(e)}var bs=Ir(function(e,t){if(xa(t)||Uo(t))Er(t,Ts(t),e);else for(var n in t)De.call(t,n)&&Qn(e,n,t[n])}),xs=Ir(function(e,t){Er(t,Ds(t),e)}),_s=Ir(function(e,t,n,i){Er(t,Ds(t),e,i)}),ws=Ir(function(e,t,n,i){Er(t,Ts(t),e,i)}),Ss=Qr(ri),Cs=qi(function(e,t){e=Ce(e);var n=-1,i=t.length,a=i>2?t[2]:r;for(a&&fa(t[0],t[1],a)&&(i=1);++n<i;)for(var o=t[n],s=Ds(o),l=-1,c=s.length;++l<c;){var d=s[l],u=e[d];(u===r||No(u,Ie[d])&&!De.call(e,d))&&(e[d]=o[d])}return e}),ks=qi(function(e){return e.push(r,Xr),vt(Rs,r,e)});function Os(e,t,n){var i=null==e?r:_i(e,t);return i===r?n:i}function Es(e,t){return null!=e&&pa(e,t,Oi)}var Ms=Br(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=je.call(t)),e[t]=n},el(il)),Is=Br(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=je.call(t)),De.call(e,t)?e[t].push(n):e[t]=[n]},aa),Ps=qi(Mi);function Ts(e){return Uo(e)?Zn(e):Ri(e)}function Ds(e){return Uo(e)?Zn(e,!0):function(e){if(!es(e))return function(e){var t=[];if(null!=e)for(var n in Ce(e))t.push(n);return t}(e);var t=xa(e),n=[];for(var i in e)("constructor"!=i||!t&&De.call(e,i))&&n.push(i);return n}(e)}var Ls=Ir(function(e,t,n){zi(e,t,n)}),Rs=Ir(function(e,t,n,i){zi(e,t,n,i)}),js=Qr(function(e,t){var n={};if(null==e)return n;var i=!1;t=kt(t,function(t){return t=fr(t,e),i||(i=t.length>1),t}),Er(e,ta(e),n),i&&(n=oi(n,7,Kr));for(var r=t.length;r--;)lr(n,t[r]);return n}),As=Qr(function(e,t){return null==e?{}:function(e,t){return Vi(e,t,function(t,n){return Es(e,n)})}(e,t)});function Fs(e,t){if(null==e)return{};var n=kt(ta(e),function(e){return[e]});return t=aa(t),Vi(e,n,function(e,n){return t(e,n[0])})}var Bs=qr(Ts),zs=qr(Ds);function Ns(e){return null==e?[]:Wt(e,Ts(e))}var Hs=Lr(function(e,t,n){return t=t.toLowerCase(),e+(n?Vs(t):t)});function Vs(e){return Xs(ys(e).toLowerCase())}function Ys(e){return(e=ys(e))&&e.replace(ye,$t).replace(Ge,"")}var Ws=Lr(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Gs=Lr(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Us=Dr("toLowerCase"),qs=Lr(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Zs=Lr(function(e,t,n){return e+(n?" ":"")+Xs(t)}),$s=Lr(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Xs=Dr("toUpperCase");function Ks(e,t,n){return e=ys(e),(t=n?r:t)===r?function(e){return $e.test(e)}(e)?function(e){return e.match(qe)||[]}(e):function(e){return e.match(le)||[]}(e):e.match(t)||[]}var Js=qi(function(e,t){try{return vt(e,r,t)}catch(n){return Xo(n)?n:new _e(n)}}),Qs=Qr(function(e,t){return bt(t,function(t){t=Aa(t),ii(e,t,Io(e[t],e))}),e});function el(e){return function(){return e}}var tl=Ar(),nl=Ar(!0);function il(e){return e}function rl(e){return Li("function"==typeof e?e:oi(e,1))}var al=qi(function(e,t){return function(n){return Mi(n,e,t)}}),ol=qi(function(e,t){return function(n){return Mi(e,n,t)}});function sl(e,t,n){var i=Ts(t),r=xi(t,i);null!=n||es(t)&&(r.length||!i.length)||(n=t,t=e,e=this,r=xi(t,Ts(t)));var a=!(es(n)&&"chain"in n&&!n.chain),o=Ko(e);return bt(r,function(n){var i=t[n];e[n]=i,o&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__),r=n.__actions__=Or(this.__actions__);return r.push({func:i,args:arguments,thisArg:e}),n.__chain__=t,n}return i.apply(e,Ot([this.value()],arguments))})}),e}function ll(){}var cl=Nr(kt),dl=Nr(_t),ul=Nr(It);function pl(e){return va(e)?Ft(Aa(e)):function(e){return function(t){return _i(t,e)}}(e)}var hl=Vr(),ml=Vr(!0);function gl(){return[]}function fl(){return!1}var vl,yl=zr(function(e,t){return e+t},0),bl=Gr("ceil"),xl=zr(function(e,t){return e/t},1),_l=Gr("floor"),wl=zr(function(e,t){return e*t},1),Sl=Gr("round"),Cl=zr(function(e,t){return e-t},0);return Bn.after=function(e,t){if("function"!=typeof t)throw new Ee(a);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},Bn.ary=Eo,Bn.assign=bs,Bn.assignIn=xs,Bn.assignInWith=_s,Bn.assignWith=ws,Bn.at=Ss,Bn.before=Mo,Bn.bind=Io,Bn.bindAll=Qs,Bn.bindKey=Po,Bn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Wo(e)?e:[e]},Bn.chain=po,Bn.chunk=function(e,t,n){t=(n?fa(e,t,n):t===r)?1:fn(ms(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var o=0,s=0,l=i(Bt(a/t));o<a;)l[s++]=er(e,o,o+=t);return l},Bn.compact=function(e){for(var t=-1,n=null==e?0:e.length,i=0,r=[];++t<n;){var a=e[t];a&&(r[i++]=a)}return r},Bn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=i(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Ot(Wo(n)?Or(n):[n],gi(t,1))},Bn.cond=function(e){var t=null==e?0:e.length,n=aa();return e=t?kt(e,function(e){if("function"!=typeof e[1])throw new Ee(a);return[n(e[0]),e[1]]}):[],qi(function(n){for(var i=-1;++i<t;){var r=e[i];if(vt(r[0],this,n))return vt(r[1],this,n)}})},Bn.conforms=function(e){return function(e){var t=Ts(e);return function(n){return si(n,e,t)}}(oi(e,1))},Bn.constant=el,Bn.countBy=go,Bn.create=function(e,t){var n=zn(e);return null==t?n:ni(n,t)},Bn.curry=function e(t,n,i){var a=Zr(t,8,r,r,r,r,r,n=i?r:n);return a.placeholder=e.placeholder,a},Bn.curryRight=function e(t,n,i){var a=Zr(t,16,r,r,r,r,r,n=i?r:n);return a.placeholder=e.placeholder,a},Bn.debounce=To,Bn.defaults=Cs,Bn.defaultsDeep=ks,Bn.defer=Do,Bn.delay=Lo,Bn.difference=za,Bn.differenceBy=Na,Bn.differenceWith=Ha,Bn.drop=function(e,t,n){var i=null==e?0:e.length;return i?er(e,(t=n||t===r?1:ms(t))<0?0:t,i):[]},Bn.dropRight=function(e,t,n){var i=null==e?0:e.length;return i?er(e,0,(t=i-(t=n||t===r?1:ms(t)))<0?0:t):[]},Bn.dropRightWhile=function(e,t){return e&&e.length?dr(e,aa(t,3),!0,!0):[]},Bn.dropWhile=function(e,t){return e&&e.length?dr(e,aa(t,3),!0):[]},Bn.fill=function(e,t,n,i){var a=null==e?0:e.length;return a?(n&&"number"!=typeof n&&fa(e,t,n)&&(n=0,i=a),function(e,t,n,i){var a=e.length;for((n=ms(n))<0&&(n=-n>a?0:a+n),(i=i===r||i>a?a:ms(i))<0&&(i+=a),i=n>i?0:gs(i);n<i;)e[n++]=t;return e}(e,t,n,i)):[]},Bn.filter=function(e,t){return(Wo(e)?wt:mi)(e,aa(t,3))},Bn.flatMap=function(e,t){return gi(So(e,t),1)},Bn.flatMapDeep=function(e,t){return gi(So(e,t),d)},Bn.flatMapDepth=function(e,t,n){return n=n===r?1:ms(n),gi(So(e,t),n)},Bn.flatten=Wa,Bn.flattenDeep=function(e){return null!=e&&e.length?gi(e,d):[]},Bn.flattenDepth=function(e,t){return null!=e&&e.length?gi(e,t=t===r?1:ms(t)):[]},Bn.flip=function(e){return Zr(e,512)},Bn.flow=tl,Bn.flowRight=nl,Bn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,i={};++t<n;){var r=e[t];i[r[0]]=r[1]}return i},Bn.functions=function(e){return null==e?[]:xi(e,Ts(e))},Bn.functionsIn=function(e){return null==e?[]:xi(e,Ds(e))},Bn.groupBy=xo,Bn.initial=function(e){return null!=e&&e.length?er(e,0,-1):[]},Bn.intersection=Ua,Bn.intersectionBy=qa,Bn.intersectionWith=Za,Bn.invert=Ms,Bn.invertBy=Is,Bn.invokeMap=_o,Bn.iteratee=rl,Bn.keyBy=wo,Bn.keys=Ts,Bn.keysIn=Ds,Bn.map=So,Bn.mapKeys=function(e,t){var n={};return t=aa(t,3),yi(e,function(e,i,r){ii(n,t(e,i,r),e)}),n},Bn.mapValues=function(e,t){var n={};return t=aa(t,3),yi(e,function(e,i,r){ii(n,i,t(e,i,r))}),n},Bn.matches=function(e){return Fi(oi(e,1))},Bn.matchesProperty=function(e,t){return Bi(e,oi(t,1))},Bn.memoize=Ro,Bn.merge=Ls,Bn.mergeWith=Rs,Bn.method=al,Bn.methodOf=ol,Bn.mixin=sl,Bn.negate=jo,Bn.nthArg=function(e){return e=ms(e),qi(function(t){return Ni(t,e)})},Bn.omit=js,Bn.omitBy=function(e,t){return Fs(e,jo(aa(t)))},Bn.once=function(e){return Mo(2,e)},Bn.orderBy=function(e,t,n,i){return null==e?[]:(Wo(t)||(t=null==t?[]:[t]),Wo(n=i?r:n)||(n=null==n?[]:[n]),Hi(e,t,n))},Bn.over=cl,Bn.overArgs=Ao,Bn.overEvery=dl,Bn.overSome=ul,Bn.partial=Fo,Bn.partialRight=Bo,Bn.partition=Co,Bn.pick=As,Bn.pickBy=Fs,Bn.property=pl,Bn.propertyOf=function(e){return function(t){return null==e?r:_i(e,t)}},Bn.pull=Xa,Bn.pullAll=Ka,Bn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Yi(e,t,aa(n,2)):e},Bn.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Yi(e,t,r,n):e},Bn.pullAt=Ja,Bn.range=hl,Bn.rangeRight=ml,Bn.rearg=zo,Bn.reject=function(e,t){return(Wo(e)?wt:mi)(e,jo(aa(t,3)))},Bn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var i=-1,r=[],a=e.length;for(t=aa(t,3);++i<a;){var o=e[i];t(o,i,e)&&(n.push(o),r.push(i))}return Wi(e,r),n},Bn.rest=function(e,t){if("function"!=typeof e)throw new Ee(a);return qi(e,t=t===r?t:ms(t))},Bn.reverse=Qa,Bn.sampleSize=function(e,t,n){return t=(n?fa(e,t,n):t===r)?1:ms(t),(Wo(e)?Xn:$i)(e,t)},Bn.set=function(e,t,n){return null==e?e:Xi(e,t,n)},Bn.setWith=function(e,t,n,i){return i="function"==typeof i?i:r,null==e?e:Xi(e,t,n,i)},Bn.shuffle=function(e){return(Wo(e)?Kn:Qi)(e)},Bn.slice=function(e,t,n){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&fa(e,t,n)?(t=0,n=i):(t=null==t?0:ms(t),n=n===r?i:ms(n)),er(e,t,n)):[]},Bn.sortBy=ko,Bn.sortedUniq=function(e){return e&&e.length?rr(e):[]},Bn.sortedUniqBy=function(e,t){return e&&e.length?rr(e,aa(t,2)):[]},Bn.split=function(e,t,n){return n&&"number"!=typeof n&&fa(e,t,n)&&(t=n=r),(n=n===r?h:n>>>0)?(e=ys(e))&&("string"==typeof t||null!=t&&!as(t))&&!(t=or(t))&&Jt(e)?yr(on(e),0,n):e.split(t,n):[]},Bn.spread=function(e,t){if("function"!=typeof e)throw new Ee(a);return t=null==t?0:fn(ms(t),0),qi(function(n){var i=n[t],r=yr(n,0,t);return i&&Ot(r,i),vt(e,this,r)})},Bn.tail=function(e){var t=null==e?0:e.length;return t?er(e,1,t):[]},Bn.take=function(e,t,n){return e&&e.length?er(e,0,(t=n||t===r?1:ms(t))<0?0:t):[]},Bn.takeRight=function(e,t,n){var i=null==e?0:e.length;return i?er(e,(t=i-(t=n||t===r?1:ms(t)))<0?0:t,i):[]},Bn.takeRightWhile=function(e,t){return e&&e.length?dr(e,aa(t,3),!1,!0):[]},Bn.takeWhile=function(e,t){return e&&e.length?dr(e,aa(t,3)):[]},Bn.tap=function(e,t){return t(e),e},Bn.throttle=function(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new Ee(a);return es(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),To(e,t,{leading:i,maxWait:t,trailing:r})},Bn.thru=ho,Bn.toArray=ps,Bn.toPairs=Bs,Bn.toPairsIn=zs,Bn.toPath=function(e){return Wo(e)?kt(e,Aa):ls(e)?[e]:Or(ja(ys(e)))},Bn.toPlainObject=vs,Bn.transform=function(e,t,n){var i=Wo(e),r=i||Zo(e)||cs(e);if(t=aa(t,4),null==n){var a=e&&e.constructor;n=r?i?new a:[]:es(e)&&Ko(a)?zn(Ye(e)):{}}return(r?bt:yi)(e,function(e,i,r){return t(n,e,i,r)}),n},Bn.unary=function(e){return Eo(e,1)},Bn.union=eo,Bn.unionBy=to,Bn.unionWith=no,Bn.uniq=function(e){return e&&e.length?sr(e):[]},Bn.uniqBy=function(e,t){return e&&e.length?sr(e,aa(t,2)):[]},Bn.uniqWith=function(e,t){return t="function"==typeof t?t:r,e&&e.length?sr(e,r,t):[]},Bn.unset=function(e,t){return null==e||lr(e,t)},Bn.unzip=io,Bn.unzipWith=ro,Bn.update=function(e,t,n){return null==e?e:cr(e,t,gr(n))},Bn.updateWith=function(e,t,n,i){return i="function"==typeof i?i:r,null==e?e:cr(e,t,gr(n),i)},Bn.values=Ns,Bn.valuesIn=function(e){return null==e?[]:Wt(e,Ds(e))},Bn.without=ao,Bn.words=Ks,Bn.wrap=function(e,t){return Fo(gr(t),e)},Bn.xor=oo,Bn.xorBy=so,Bn.xorWith=lo,Bn.zip=co,Bn.zipObject=function(e,t){return hr(e||[],t||[],Qn)},Bn.zipObjectDeep=function(e,t){return hr(e||[],t||[],Xi)},Bn.zipWith=uo,Bn.entries=Bs,Bn.entriesIn=zs,Bn.extend=xs,Bn.extendWith=_s,sl(Bn,Bn),Bn.add=yl,Bn.attempt=Js,Bn.camelCase=Hs,Bn.capitalize=Vs,Bn.ceil=bl,Bn.clamp=function(e,t,n){return n===r&&(n=t,t=r),n!==r&&(n=(n=fs(n))==n?n:0),t!==r&&(t=(t=fs(t))==t?t:0),ai(fs(e),t,n)},Bn.clone=function(e){return oi(e,4)},Bn.cloneDeep=function(e){return oi(e,5)},Bn.cloneDeepWith=function(e,t){return oi(e,5,t="function"==typeof t?t:r)},Bn.cloneWith=function(e,t){return oi(e,4,t="function"==typeof t?t:r)},Bn.conformsTo=function(e,t){return null==t||si(e,t,Ts(t))},Bn.deburr=Ys,Bn.defaultTo=function(e,t){return null==e||e!=e?t:e},Bn.divide=xl,Bn.endsWith=function(e,t,n){e=ys(e),t=or(t);var i=e.length,a=n=n===r?i:ai(ms(n),0,i);return(n-=t.length)>=0&&e.slice(n,a)==t},Bn.eq=No,Bn.escape=function(e){return(e=ys(e))&&Z.test(e)?e.replace(U,Xt):e},Bn.escapeRegExp=function(e){return(e=ys(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Bn.every=function(e,t,n){var i=Wo(e)?_t:pi;return n&&fa(e,t,n)&&(t=r),i(e,aa(t,3))},Bn.find=fo,Bn.findIndex=Va,Bn.findKey=function(e,t){return Tt(e,aa(t,3),yi)},Bn.findLast=vo,Bn.findLastIndex=Ya,Bn.findLastKey=function(e,t){return Tt(e,aa(t,3),bi)},Bn.floor=_l,Bn.forEach=yo,Bn.forEachRight=bo,Bn.forIn=function(e,t){return null==e?e:fi(e,aa(t,3),Ds)},Bn.forInRight=function(e,t){return null==e?e:vi(e,aa(t,3),Ds)},Bn.forOwn=function(e,t){return e&&yi(e,aa(t,3))},Bn.forOwnRight=function(e,t){return e&&bi(e,aa(t,3))},Bn.get=Os,Bn.gt=Ho,Bn.gte=Vo,Bn.has=function(e,t){return null!=e&&pa(e,t,ki)},Bn.hasIn=Es,Bn.head=Ga,Bn.identity=il,Bn.includes=function(e,t,n,i){e=Uo(e)?e:Ns(e),n=n&&!i?ms(n):0;var r=e.length;return n<0&&(n=fn(r+n,0)),ss(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&Lt(e,t,n)>-1},Bn.indexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var r=null==n?0:ms(n);return r<0&&(r=fn(i+r,0)),Lt(e,t,r)},Bn.inRange=function(e,t,n){return t=hs(t),n===r?(n=t,t=0):n=hs(n),function(e,t,n){return e>=vn(t,n)&&e<fn(t,n)}(e=fs(e),t,n)},Bn.invoke=Ps,Bn.isArguments=Yo,Bn.isArray=Wo,Bn.isArrayBuffer=Go,Bn.isArrayLike=Uo,Bn.isArrayLikeObject=qo,Bn.isBoolean=function(e){return!0===e||!1===e||ts(e)&&Si(e)==v},Bn.isBuffer=Zo,Bn.isDate=$o,Bn.isElement=function(e){return ts(e)&&1===e.nodeType&&!rs(e)},Bn.isEmpty=function(e){if(null==e)return!0;if(Uo(e)&&(Wo(e)||"string"==typeof e||"function"==typeof e.splice||Zo(e)||cs(e)||Yo(e)))return!e.length;var t=ua(e);if(t==w||t==E)return!e.size;if(xa(e))return!Ri(e).length;for(var n in e)if(De.call(e,n))return!1;return!0},Bn.isEqual=function(e,t){return Pi(e,t)},Bn.isEqualWith=function(e,t,n){var i=(n="function"==typeof n?n:r)?n(e,t):r;return i===r?Pi(e,t,r,n):!!i},Bn.isError=Xo,Bn.isFinite=function(e){return"number"==typeof e&&hn(e)},Bn.isFunction=Ko,Bn.isInteger=Jo,Bn.isLength=Qo,Bn.isMap=ns,Bn.isMatch=function(e,t){return e===t||Ti(e,t,sa(t))},Bn.isMatchWith=function(e,t,n){return n="function"==typeof n?n:r,Ti(e,t,sa(t),n)},Bn.isNaN=function(e){return is(e)&&e!=+e},Bn.isNative=function(e){if(ba(e))throw new _e("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Di(e)},Bn.isNil=function(e){return null==e},Bn.isNull=function(e){return null===e},Bn.isNumber=is,Bn.isObject=es,Bn.isObjectLike=ts,Bn.isPlainObject=rs,Bn.isRegExp=as,Bn.isSafeInteger=function(e){return Jo(e)&&e>=-9007199254740991&&e<=u},Bn.isSet=os,Bn.isString=ss,Bn.isSymbol=ls,Bn.isTypedArray=cs,Bn.isUndefined=function(e){return e===r},Bn.isWeakMap=function(e){return ts(e)&&ua(e)==P},Bn.isWeakSet=function(e){return ts(e)&&"[object WeakSet]"==Si(e)},Bn.join=function(e,t){return null==e?"":mn.call(e,t)},Bn.kebabCase=Ws,Bn.last=$a,Bn.lastIndexOf=function(e,t,n){var i=null==e?0:e.length;if(!i)return-1;var a=i;return n!==r&&(a=(a=ms(n))<0?fn(i+a,0):vn(a,i-1)),t==t?function(e,t,n){for(var i=n+1;i--;)if(e[i]===t)return i;return i}(e,t,a):Dt(e,jt,a,!0)},Bn.lowerCase=Gs,Bn.lowerFirst=Us,Bn.lt=ds,Bn.lte=us,Bn.max=function(e){return e&&e.length?hi(e,il,Ci):r},Bn.maxBy=function(e,t){return e&&e.length?hi(e,aa(t,2),Ci):r},Bn.mean=function(e){return At(e,il)},Bn.meanBy=function(e,t){return At(e,aa(t,2))},Bn.min=function(e){return e&&e.length?hi(e,il,ji):r},Bn.minBy=function(e,t){return e&&e.length?hi(e,aa(t,2),ji):r},Bn.stubArray=gl,Bn.stubFalse=fl,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=wl,Bn.nth=function(e,t){return e&&e.length?Ni(e,ms(t)):r},Bn.noConflict=function(){return at._===this&&(at._=Fe),this},Bn.noop=ll,Bn.now=Oo,Bn.pad=function(e,t,n){e=ys(e);var i=(t=ms(t))?an(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return Hr(dn(r),n)+e+Hr(Bt(r),n)},Bn.padEnd=function(e,t,n){e=ys(e);var i=(t=ms(t))?an(e):0;return t&&i<t?e+Hr(t-i,n):e},Bn.padStart=function(e,t,n){e=ys(e);var i=(t=ms(t))?an(e):0;return t&&i<t?Hr(t-i,n)+e:e},Bn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),bn(ys(e).replace(ie,""),t||0)},Bn.random=function(e,t,n){if(n&&"boolean"!=typeof n&&fa(e,t,n)&&(t=n=r),n===r&&("boolean"==typeof t?(n=t,t=r):"boolean"==typeof e&&(n=e,e=r)),e===r&&t===r?(e=0,t=1):(e=hs(e),t===r?(t=e,e=0):t=hs(t)),e>t){var i=e;e=t,t=i}if(n||e%1||t%1){var a=xn();return vn(e+a*(t-e+tt("1e-"+((a+"").length-1))),t)}return Gi(e,t)},Bn.reduce=function(e,t,n){var i=Wo(e)?Et:zt,r=arguments.length<3;return i(e,aa(t,4),n,r,di)},Bn.reduceRight=function(e,t,n){var i=Wo(e)?Mt:zt,r=arguments.length<3;return i(e,aa(t,4),n,r,ui)},Bn.repeat=function(e,t,n){return t=(n?fa(e,t,n):t===r)?1:ms(t),Ui(ys(e),t)},Bn.replace=function(){var e=arguments,t=ys(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Bn.result=function(e,t,n){var i=-1,a=(t=fr(t,e)).length;for(a||(a=1,e=r);++i<a;){var o=null==e?r:e[Aa(t[i])];o===r&&(i=a,o=n),e=Ko(o)?o.call(e):o}return e},Bn.round=Sl,Bn.runInContext=e,Bn.sample=function(e){return(Wo(e)?$n:Zi)(e)},Bn.size=function(e){if(null==e)return 0;if(Uo(e))return ss(e)?an(e):e.length;var t=ua(e);return t==w||t==E?e.size:Ri(e).length},Bn.snakeCase=qs,Bn.some=function(e,t,n){var i=Wo(e)?It:tr;return n&&fa(e,t,n)&&(t=r),i(e,aa(t,3))},Bn.sortedIndex=function(e,t){return nr(e,t)},Bn.sortedIndexBy=function(e,t,n){return ir(e,t,aa(n,2))},Bn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var i=nr(e,t);if(i<n&&No(e[i],t))return i}return-1},Bn.sortedLastIndex=function(e,t){return nr(e,t,!0)},Bn.sortedLastIndexBy=function(e,t,n){return ir(e,t,aa(n,2),!0)},Bn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=nr(e,t,!0)-1;if(No(e[n],t))return n}return-1},Bn.startCase=Zs,Bn.startsWith=function(e,t,n){return e=ys(e),n=null==n?0:ai(ms(n),0,e.length),t=or(t),e.slice(n,n+t.length)==t},Bn.subtract=Cl,Bn.sum=function(e){return e&&e.length?Nt(e,il):0},Bn.sumBy=function(e,t){return e&&e.length?Nt(e,aa(t,2)):0},Bn.template=function(e,t,n){var i=Bn.templateSettings;n&&fa(e,t,n)&&(t=r),e=ys(e),t=_s({},t,i,$r);var a,o,s=_s({},t.imports,i.imports,$r),l=Ts(s),c=Wt(s,l),d=0,u=t.interpolate||be,p="__p += '",h=ke((t.escape||be).source+"|"+u.source+"|"+(u===K?ue:be).source+"|"+(t.evaluate||be).source+"|$","g"),m="//# sourceURL="+(De.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Ke+"]")+"\n";e.replace(h,function(t,n,i,r,s,l){return i||(i=r),p+=e.slice(d,l).replace(xe,Kt),n&&(a=!0,p+="' +\n__e("+n+") +\n'"),s&&(o=!0,p+="';\n"+s+";\n__p += '"),i&&(p+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),d=l+t.length,t}),p+="';\n";var g=De.call(t,"variable")&&t.variable;if(g){if(ce.test(g))throw new _e("Invalid `variable` option passed into `_.template`")}else p="with (obj) {\n"+p+"\n}\n";p=(o?p.replace(V,""):p).replace(Y,"$1").replace(W,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var f=Js(function(){return we(l,m+"return "+p).apply(r,c)});if(f.source=p,Xo(f))throw f;return f},Bn.times=function(e,t){if((e=ms(e))<1||e>u)return[];var n=h,i=vn(e,h);t=aa(t),e-=h;for(var r=Ht(i,t);++n<e;)t(n);return r},Bn.toFinite=hs,Bn.toInteger=ms,Bn.toLength=gs,Bn.toLower=function(e){return ys(e).toLowerCase()},Bn.toNumber=fs,Bn.toSafeInteger=function(e){return e?ai(ms(e),-9007199254740991,u):0===e?e:0},Bn.toString=ys,Bn.toUpper=function(e){return ys(e).toUpperCase()},Bn.trim=function(e,t,n){if((e=ys(e))&&(n||t===r))return Vt(e);if(!e||!(t=or(t)))return e;var i=on(e),a=on(t);return yr(i,Ut(i,a),qt(i,a)+1).join("")},Bn.trimEnd=function(e,t,n){if((e=ys(e))&&(n||t===r))return e.slice(0,sn(e)+1);if(!e||!(t=or(t)))return e;var i=on(e);return yr(i,0,qt(i,on(t))+1).join("")},Bn.trimStart=function(e,t,n){if((e=ys(e))&&(n||t===r))return e.replace(ie,"");if(!e||!(t=or(t)))return e;var i=on(e);return yr(i,Ut(i,on(t))).join("")},Bn.truncate=function(e,t){var n=30,i="...";if(es(t)){var a="separator"in t?t.separator:a;n="length"in t?ms(t.length):n,i="omission"in t?or(t.omission):i}var o=(e=ys(e)).length;if(Jt(e)){var s=on(e);o=s.length}if(n>=o)return e;var l=n-an(i);if(l<1)return i;var c=s?yr(s,0,l).join(""):e.slice(0,l);if(a===r)return c+i;if(s&&(l+=c.length-l),as(a)){if(e.slice(l).search(a)){var d,u=c;for(a.global||(a=ke(a.source,ys(pe.exec(a))+"g")),a.lastIndex=0;d=a.exec(u);)var p=d.index;c=c.slice(0,p===r?l:p)}}else if(e.indexOf(or(a),l)!=l){var h=c.lastIndexOf(a);h>-1&&(c=c.slice(0,h))}return c+i},Bn.unescape=function(e){return(e=ys(e))&&q.test(e)?e.replace(G,ln):e},Bn.uniqueId=function(e){var t=++Le;return ys(e)+t},Bn.upperCase=$s,Bn.upperFirst=Xs,Bn.each=yo,Bn.eachRight=bo,Bn.first=Ga,sl(Bn,(vl={},yi(Bn,function(e,t){De.call(Bn.prototype,t)||(vl[t]=e)}),vl),{chain:!1}),Bn.VERSION="4.17.21",bt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){Bn[e].placeholder=Bn}),bt(["drop","take"],function(e,t){Vn.prototype[e]=function(n){n=n===r?1:fn(ms(n),0);var i=this.__filtered__&&!t?new Vn(this):this.clone();return i.__filtered__?i.__takeCount__=vn(n,i.__takeCount__):i.__views__.push({size:vn(n,h),type:e+(i.__dir__<0?"Right":"")}),i},Vn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),bt(["filter","map","takeWhile"],function(e,t){var n=t+1,i=1==n||3==n;Vn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:aa(e,3),type:n}),t.__filtered__=t.__filtered__||i,t}}),bt(["head","last"],function(e,t){var n="take"+(t?"Right":"");Vn.prototype[e]=function(){return this[n](1).value()[0]}}),bt(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Vn.prototype[e]=function(){return this.__filtered__?new Vn(this):this[n](1)}}),Vn.prototype.compact=function(){return this.filter(il)},Vn.prototype.find=function(e){return this.filter(e).head()},Vn.prototype.findLast=function(e){return this.reverse().find(e)},Vn.prototype.invokeMap=qi(function(e,t){return"function"==typeof e?new Vn(this):this.map(function(n){return Mi(n,e,t)})}),Vn.prototype.reject=function(e){return this.filter(jo(aa(e)))},Vn.prototype.slice=function(e,t){e=ms(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Vn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==r&&(n=(t=ms(t))<0?n.dropRight(-t):n.take(t-e)),n)},Vn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Vn.prototype.toArray=function(){return this.take(h)},yi(Vn.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=Bn[i?"take"+("last"==t?"Right":""):t],o=i||/^find/.test(t);a&&(Bn.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,l=t instanceof Vn,c=s[0],d=l||Wo(t),u=function(e){var t=a.apply(Bn,Ot([e],s));return i&&p?t[0]:t};d&&n&&"function"==typeof c&&1!=c.length&&(l=d=!1);var p=this.__chain__,h=!!this.__actions__.length,m=o&&!p,g=l&&!h;if(!o&&d){t=g?t:new Vn(this);var f=e.apply(t,s);return f.__actions__.push({func:ho,args:[u],thisArg:r}),new Hn(f,p)}return m&&g?e.apply(this,s):(f=this.thru(u),m?i?f.value()[0]:f.value():f)})}),bt(["pop","push","shift","sort","splice","unshift"],function(e){var t=Me[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Bn.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(Wo(r)?r:[],e)}return this[n](function(n){return t.apply(Wo(n)?n:[],e)})}}),yi(Vn.prototype,function(e,t){var n=Bn[t];if(n){var i=n.name+"";De.call(In,i)||(In[i]=[]),In[i].push({name:t,func:n})}}),In[Fr(r,2).name]=[{name:"wrapper",func:r}],Vn.prototype.clone=function(){var e=new Vn(this.__wrapped__);return e.__actions__=Or(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Or(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Or(this.__views__),e},Vn.prototype.reverse=function(){if(this.__filtered__){var e=new Vn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Vn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Wo(e),i=t<0,r=n?e.length:0,a=function(e,t,n){for(var i=-1,r=n.length;++i<r;){var a=n[i],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=vn(t,e+o);break;case"takeRight":e=fn(e,t-o)}}return{start:e,end:t}}(0,r,this.__views__),o=a.start,s=a.end,l=s-o,c=i?s:o-1,d=this.__iteratees__,u=d.length,p=0,h=vn(l,this.__takeCount__);if(!n||!i&&r==l&&h==l)return ur(e,this.__actions__);var m=[];e:for(;l--&&p<h;){for(var g=-1,f=e[c+=t];++g<u;){var v=d[g],y=v.type,b=(0,v.iteratee)(f);if(2==y)f=b;else if(!b){if(1==y)continue e;break e}}m[p++]=f}return m},Bn.prototype.at=mo,Bn.prototype.chain=function(){return po(this)},Bn.prototype.commit=function(){return new Hn(this.value(),this.__chain__)},Bn.prototype.next=function(){this.__values__===r&&(this.__values__=ps(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?r:this.__values__[this.__index__++]}},Bn.prototype.plant=function(e){for(var t,n=this;n instanceof Nn;){var i=Ba(n);i.__index__=0,i.__values__=r,t?a.__wrapped__=i:t=i;var a=i;n=n.__wrapped__}return a.__wrapped__=e,t},Bn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Vn){var t=e;return this.__actions__.length&&(t=new Vn(this)),(t=t.reverse()).__actions__.push({func:ho,args:[Qa],thisArg:r}),new Hn(t,this.__chain__)}return this.thru(Qa)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return ur(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,rt&&(Bn.prototype[rt]=function(){return this}),Bn}();at._=cn,(i=(function(){return cn}).call(t,n,t,e))===r||(e.exports=i)}).call(this)}).call(this,n("2pl3")(e))},M8aS:function(e,t,n){"use strict";var i,r,a;a=function(e){function t(e,t,n,i){e.hasOwnProperty(t)||(e[t]=i.apply(null,n))}t(e=e?e._modules:{},"Extensions/Pane.js",[e["Core/Chart/Chart.js"],e["Series/CenteredUtilities.js"],e["Core/Globals.js"],e["Core/Pointer.js"],e["Core/Utilities.js"]],function(e,t,n,i,r){function a(e,t,n){return Math.sqrt(Math.pow(e-n[0],2)+Math.pow(t-n[1],2))<=n[2]/2}var o=r.addEvent,s=r.extend,l=r.merge,c=r.pick,d=r.splat;return e.prototype.collectionsWithUpdate.push("pane"),r=function(){function e(e,t){this.options=this.chart=this.center=this.background=void 0,this.coll="pane",this.defaultOptions={center:["50%","50%"],size:"85%",innerSize:"0%",startAngle:0},this.defaultBackgroundOptions={shape:"circle",borderWidth:1,borderColor:"#cccccc",backgroundColor:{linearGradient:{x1:0,y1:0,x2:0,y2:1},stops:[[0,"#ffffff"],[1,"#e6e6e6"]]},from:-Number.MAX_VALUE,innerRadius:0,to:Number.MAX_VALUE,outerRadius:"105%"},this.init(e,t)}return e.prototype.init=function(e,t){this.chart=t,this.background=[],t.pane.push(this),this.setOptions(e)},e.prototype.setOptions=function(e){this.options=l(this.defaultOptions,this.chart.angular?{background:{}}:void 0,e)},e.prototype.render=function(){var e=this.options,t=this.options.background,n=this.chart.renderer;if(this.group||(this.group=n.g("pane-group").attr({zIndex:e.zIndex||0}).add()),this.updateCenter(),t)for(t=d(t),e=Math.max(t.length,this.background.length||0),n=0;n<e;n++)t[n]&&this.axis?this.renderBackground(l(this.defaultBackgroundOptions,t[n]),n):this.background[n]&&(this.background[n]=this.background[n].destroy(),this.background.splice(n,1))},e.prototype.renderBackground=function(e,t){var n="animate",i={class:"highcharts-pane "+(e.className||"")};this.chart.styledMode||s(i,{fill:e.backgroundColor,stroke:e.borderColor,"stroke-width":e.borderWidth}),this.background[t]||(this.background[t]=this.chart.renderer.path().add(this.group),n="attr"),this.background[t][n]({d:this.axis.getPlotBandPath(e.from,e.to,e)}).attr(i)},e.prototype.updateCenter=function(e){this.center=(e||this.axis||{}).center=t.getCenter.call(this)},e.prototype.update=function(e,t){l(!0,this.options,e),this.setOptions(this.options),this.render(),this.chart.axes.forEach(function(e){e.pane===this&&(e.pane=null,e.update({},t))},this)},e}(),e.prototype.getHoverPane=function(e){var t,n=this;return e&&n.pane.forEach(function(i){var r=e.chartX-n.plotLeft,o=e.chartY-n.plotTop;a(n.inverted?o:r,n.inverted?r:o,i.center)&&(t=i)}),t},o(e,"afterIsInsidePlot",function(e){this.polar&&(e.isInsidePlot=this.pane.some(function(t){return a(e.x,e.y,t.center)}))}),o(i,"beforeGetHoverData",function(e){var t=this.chart;t.polar?(t.hoverPane=t.getHoverPane(e),e.filter=function(n){return n.visible&&!(!e.shared&&n.directTouch)&&c(n.options.enableMouseTracking,!0)&&(!t.hoverPane||n.xAxis.pane===t.hoverPane)}):t.hoverPane=void 0}),o(i,"afterGetHoverData",function(e){var t=this.chart;e.hoverPoint&&e.hoverPoint.plotX&&e.hoverPoint.plotY&&t.hoverPane&&!a(e.hoverPoint.plotX,e.hoverPoint.plotY,t.hoverPane.center)&&(e.hoverPoint=void 0)}),n.Pane=r,n.Pane}),t(e,"Core/Axis/RadialAxis.js",[e["Core/Axis/AxisDefaults.js"],e["Core/DefaultOptions.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,t,n,i){var r,a=t.defaultOptions,o=n.noop,s=i.addEvent,l=i.correctFloat,c=i.defined,d=i.extend,u=i.fireEvent,p=i.merge,h=i.pick,m=i.relativeLength,g=i.wrap;return function(t){function n(){this.autoConnect=this.isCircular&&void 0===h(this.userMax,this.options.max)&&l(this.endAngleRad-this.startAngleRad)===l(2*Math.PI),!this.isCircular&&this.chart.inverted&&this.max++,this.autoConnect&&(this.max+=(this.categories?1:this.pointRange)||this.closestPointRange||0)}function i(){var e=this;return function(){if(e.isRadial&&e.tickPositions&&e.options.labels&&!0!==e.options.labels.allowOverlap)return e.tickPositions.map(function(t){return e.ticks[t]&&e.ticks[t].label}).filter(function(e){return!!e})}}function r(){return o}function f(e,t,n){var i=this.pane.center,r=e.value;if(this.isCircular){if(c(r))e.point&&(a=e.point.shapeArgs||{}).start&&(r=this.chart.inverted?this.translate(e.point.rectPlotY,!0):e.point.x);else{var a=e.chartX||0,o=e.chartY||0;r=this.translate(Math.atan2(o-n,a-t)-this.startAngleRad,!0)}a=(e=this.getPosition(r)).x,o=e.y}else c(r)||(a=e.chartX,o=e.chartY),c(a)&&c(o)&&(n=i[1]+this.chart.plotTop,r=this.translate(Math.min(Math.sqrt(Math.pow(a-t,2)+Math.pow(o-n,2)),i[2]/2)-i[3]/2,!0));return[r,a||0,o||0]}function v(e,t,n){var i=this.chart,r=this.left||0,a=this.top||0,o=h(t,(e=this.pane.center)[2]/2-this.offset);return void 0===n&&(n=this.horiz?0:this.center&&-this.center[3]/2),n&&(o+=n),this.isCircular||void 0!==t?((t=this.chart.renderer.symbols.arc(r+e[0],a+e[1],o,o,{start:this.startAngleRad,end:this.endAngleRad,open:!0,innerR:0})).xBounds=[r+e[0]],t.yBounds=[a+e[1]-o]):(t=this.postTranslate(this.angleRad,o),t=[["M",this.center[0]+i.plotLeft,this.center[1]+i.plotTop],["L",t.x,t.y]]),t}function y(){this.constructor.prototype.getOffset.call(this),this.chart.axisOffset[this.side]=0}function b(e,t,n){var i=this.chart,r=function(e){if("string"==typeof e){var t=parseInt(e,10);return u.test(e)&&(t=t*s/100),t}return e},a=this.center,o=this.startAngleRad,s=a[2]/2,l=Math.min(this.offset,0),c=this.left||0,d=this.top||0,u=/%$/,p=this.isCircular,m=h(r(n.outerRadius),s),g=r(n.innerRadius);if(r=h(r(n.thickness),10),"polygon"===this.options.gridLineInterpolation)l=this.getPlotLinePath({value:e}).concat(this.getPlotLinePath({value:t,reverse:!0}));else{if(e=Math.max(e,this.min),t=Math.min(t,this.max),e=this.translate(e),t=this.translate(t),p||(m=e||0,g=t||0),"circle"!==n.shape&&p)n=o+(e||0),o+=t||0;else{n=-Math.PI/2,o=1.5*Math.PI;var f=!0}l=i.renderer.symbols.arc(c+a[0],d+a[1],m-=l,m,{start:Math.min(n,o),end:Math.max(n,o),innerR:h(g,m-(r-l)),open:f}),p&&(p=(o+n)/2,c=c+a[0]+a[2]/2*Math.cos(p),l.xBounds=p>-Math.PI/2&&p<Math.PI/2?[c,i.plotWidth]:[0,c],l.yBounds=[d+a[1]+a[2]/2*Math.sin(p)],l.yBounds[0]+=p>-Math.PI&&0>p||p>Math.PI?-10:10)}return l}function x(e){var t=this,n=this.pane.center,i=this.chart,r=i.inverted,a=e.reverse,o=this.pane.options.background?this.pane.options.background[0]||this.pane.options.background:{},s=o.innerRadius||"0%",l=o.outerRadius||"100%",c=n[0]+i.plotLeft,d=n[1]+i.plotTop,u=this.height,p=e.isCrosshair;o=n[3]/2;var h,g=e.value,f=this.getPosition(g),v=f.x;if(f=f.y,p&&(g=(f=this.getCrosshairPosition(e,c,d))[0],v=f[1],f=f[2]),this.isCircular)g=Math.sqrt(Math.pow(v-c,2)+Math.pow(f-d,2)),a="string"==typeof s?m(s,1):s/g,i="string"==typeof l?m(l,1):l/g,n&&o&&(a<(o/=g)&&(a=o),i<o&&(i=o)),n=[["M",c+a*(v-c),d-a*(d-f)],["L",v-(1-i)*(v-c),f+(1-i)*(d-f)]];else if((g=this.translate(g))&&(0>g||g>u)&&(g=0),"circle"===this.options.gridLineInterpolation)n=this.getLinePath(0,g,o);else if(n=[],i[r?"yAxis":"xAxis"].forEach(function(e){e.pane===t.pane&&(h=e)}),h)for(c=h.tickPositions,h.autoConnect&&(c=c.concat([c[0]])),a&&(c=c.slice().reverse()),g&&(g+=o),d=0;d<c.length;d++)o=h.getPosition(c[d],g),n.push(d?["L",o.x,o.y]:["M",o.x,o.y]);return n}function _(e,t){return e=this.translate(e),this.postTranslate(this.isCircular?e:this.angleRad,h(this.isCircular?t:0>e?0:e,this.center[2]/2)-this.offset)}function w(){var e=this.center,t=this.chart,n=this.options.title;return{x:t.plotLeft+e[0]+(n.x||0),y:t.plotTop+e[1]-{high:.5,middle:.25,low:0}[n.align]*e[2]+(n.y||0)}}function S(e){e.beforeSetTickPositions=n,e.createLabelCollector=i,e.getCrosshairPosition=f,e.getLinePath=v,e.getOffset=y,e.getPlotBandPath=b,e.getPlotLinePath=x,e.getPosition=_,e.getTitlePosition=w,e.postTranslate=T,e.setAxisSize=L,e.setAxisTranslation=R,e.setOptions=j}function C(){var e=this.chart,t=this.options,n=this.pane,i=n&&n.options;e.angular&&this.isXAxis||!n||!e.angular&&!e.polar||(this.angleRad=(t.angle||0)*Math.PI/180,this.startAngleRad=(i.startAngle-90)*Math.PI/180,this.endAngleRad=(h(i.endAngle,i.startAngle+360)-90)*Math.PI/180,this.offset=t.offset||0)}function k(e){this.isRadial&&(e.align=void 0,e.preventDefault())}function O(){if(this.chart&&this.chart.labelCollectors){var e=this.labelCollector?this.chart.labelCollectors.indexOf(this.labelCollector):-1;0<=e&&this.chart.labelCollectors.splice(e,1)}}function E(t){var n,i=this.chart,a=i.inverted,s=i.angular,l=i.polar,c=this.isXAxis,d=this.coll,u=s&&c,h=i.options;t=t.userOptions.pane||0,t=this.pane=i.pane&&i.pane[t],"colorAxis"===d?this.isRadial=!1:(s?(u?(this.isHidden=!0,this.createLabelCollector=r,this.getOffset=o,this.render=this.redraw=D,this.setTitle=this.setCategories=this.setScale=o):S(this),(n=!c)&&(this.defaultPolarOptions=z)):l&&(S(this),this.defaultPolarOptions=(n=this.horiz)?B:p("xAxis"===d?e.defaultXAxisOptions:e.defaultYAxisOptions,N),a&&"yAxis"===d&&(this.defaultPolarOptions.stackLabels=e.defaultYAxisOptions.stackLabels,this.defaultPolarOptions.reversedStacks=!0)),s||l?(this.isRadial=!0,h.chart.zoomType=null,this.labelCollector||(this.labelCollector=this.createLabelCollector()),this.labelCollector&&i.labelCollectors.push(this.labelCollector)):this.isRadial=!1,t&&n&&(t.axis=this),this.isCircular=n)}function M(){this.isRadial&&this.beforeSetTickPositions()}function I(e){var t=this.label;if(t){var n=this.axis,i=t.getBBox(),r=n.options.labels,a=(n.translate(this.pos)+n.startAngleRad+Math.PI/2)/Math.PI*180%360,o=Math.round(a),s=c(r.y)?0:.3*-i.height,l=r.y,d=20,u=r.align,p="end",g=0>o?o+360:o,f=g,v=0,y=0;if(n.isRadial){var b=n.getPosition(this.pos,n.center[2]/2+m(h(r.distance,-25),n.center[2]/2,-n.center[2]/2));"auto"===r.rotation?t.attr({rotation:a}):c(l)||(l=n.chart.renderer.fontMetrics(t.styles&&t.styles.fontSize).b-i.height/2),c(u)||(n.isCircular?(i.width>n.len*n.tickInterval/(n.max-n.min)&&(d=0),u=a>d&&a<180-d?"left":a>180+d&&a<360-d?"right":"center"):u="center",t.attr({align:u})),"auto"===u&&2===n.tickPositions.length&&n.isCircular&&(90<g&&180>g?g=180-g:270<g&&360>=g&&(g=540-g),180<f&&360>=f&&(f=360-f),n.pane.options.startAngle!==o&&n.pane.options.startAngle!==o+360&&n.pane.options.startAngle!==o-360||(p="start"),u=-90<=o&&90>=o||-360<=o&&-270>=o||270<=o&&360>=o?"start"===p?"right":"left":"start"===p?"left":"right",70<f&&110>f&&(u="center"),15>g||180<=g&&195>g?v=.3*i.height:15<=g&&35>=g?v="start"===p?0:.75*i.height:195<=g&&215>=g?v="start"===p?.75*i.height:0:35<g&&90>=g?v="start"===p?.25*-i.height:i.height:215<g&&270>=g&&(v="start"===p?i.height:.25*-i.height),15>f?y="start"===p?.15*-i.height:.15*i.height:165<f&&180>=f&&(y="start"===p?.15*i.height:.15*-i.height),t.attr({align:u}),t.translate(y,v+s)),e.pos.x=b.x+(r.x||0),e.pos.y=b.y+(l||0)}}}function P(e){this.axis.getPosition&&d(e.pos,this.axis.getPosition(this.pos))}function T(e,t){var n=this.chart,i=this.center;return e=this.startAngleRad+e,{x:n.plotLeft+i[0]+Math.cos(e)*t,y:n.plotTop+i[1]+Math.sin(e)*t}}function D(){this.isDirty=!1}function L(){if(this.constructor.prototype.setAxisSize.call(this),this.isRadial){this.pane.updateCenter(this);var e=this.center=this.pane.center.slice();if(this.isCircular)this.sector=this.endAngleRad-this.startAngleRad;else{var t=this.postTranslate(this.angleRad,e[3]/2);e[0]=t.x-this.chart.plotLeft,e[1]=t.y-this.chart.plotTop}this.len=this.width=this.height=(e[2]-e[3])*h(this.sector,1)/2}}function R(){this.constructor.prototype.setAxisTranslation.call(this),this.center&&(this.transA=this.isCircular?(this.endAngleRad-this.startAngleRad)/(this.max-this.min||1):(this.center[2]-this.center[3])/2/(this.max-this.min||1),this.minPixelPadding=this.isXAxis?this.transA*this.minPointOffset:0)}function j(e){(e=this.options=p(this.constructor.defaultOptions,this.defaultPolarOptions,a[this.coll],e)).plotBands||(e.plotBands=[]),u(this,"afterSetOptions")}function A(e,t,n,i,r,a,o){var s=this.axis;return s.isRadial?["M",t,n,"L",(e=s.getPosition(this.pos,s.center[2]/2+i)).x,e.y]:e.call(this,t,n,i,r,a,o)}var F=[],B={gridLineWidth:1,labels:{align:void 0,distance:15,x:0,y:void 0,style:{textOverflow:"none"}},maxPadding:0,minPadding:0,showLastLabel:!1,tickLength:0},z={labels:{align:"center",x:0,y:void 0},minorGridLineWidth:0,minorTickInterval:"auto",minorTickLength:10,minorTickPosition:"inside",minorTickWidth:1,tickLength:10,tickPosition:"inside",tickWidth:2,title:{rotation:0},zIndex:2},N={gridLineInterpolation:"circle",gridLineWidth:1,labels:{align:"right",x:-3,y:-2},showLastLabel:!1,title:{x:4,text:null,rotation:90}};t.compose=function(e,t){return-1===F.indexOf(e)&&(F.push(e),s(e,"afterInit",C),s(e,"autoLabelAlign",k),s(e,"destroy",O),s(e,"init",E),s(e,"initialAxisTranslation",M)),-1===F.indexOf(t)&&(F.push(t),s(t,"afterGetLabelPosition",I),s(t,"afterGetPosition",P),g(t.prototype,"getMarkPath",A)),e}}(r||(r={})),r}),t(e,"Series/AreaRange/AreaRangePoint.js",[e["Series/Area/AreaSeries.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=t.prototype,o=n.defined,s=n.isNumber;return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.high=void 0,t.low=void 0,t.options=void 0,t.plotHigh=void 0,t.plotLow=void 0,t.plotHighX=void 0,t.plotLowX=void 0,t.plotX=void 0,t.series=void 0,t}return r(t,e),t.prototype.setState=function(){var e=this.state,t=this.series,n=t.chart.polar;o(this.plotHigh)||(this.plotHigh=t.yAxis.toPixels(this.high,!0)),o(this.plotLow)||(this.plotLow=this.plotY=t.yAxis.toPixels(this.low,!0)),t.stateMarkerGraphic&&(t.lowerStateMarkerGraphic=t.stateMarkerGraphic,t.stateMarkerGraphic=t.upperStateMarkerGraphic),this.graphic=this.upperGraphic,this.plotY=this.plotHigh,n&&(this.plotX=this.plotHighX),a.setState.apply(this,arguments),this.state=e,this.plotY=this.plotLow,this.graphic=this.lowerGraphic,n&&(this.plotX=this.plotLowX),t.stateMarkerGraphic&&(t.upperStateMarkerGraphic=t.stateMarkerGraphic,t.stateMarkerGraphic=t.lowerStateMarkerGraphic,t.lowerStateMarkerGraphic=void 0),a.setState.apply(this,arguments)},t.prototype.haloPath=function(){var e=this.series.chart.polar,t=[];return this.plotY=this.plotLow,e&&(this.plotX=this.plotLowX),this.isInside&&(t=a.haloPath.apply(this,arguments)),this.plotY=this.plotHigh,e&&(this.plotX=this.plotHighX),this.isTopInside&&(t=t.concat(a.haloPath.apply(this,arguments))),t},t.prototype.isValid=function(){return s(this.low)&&s(this.high)},t}(e.prototype.pointClass)}),t(e,"Series/AreaRange/AreaRangeSeries.js",[e["Series/AreaRange/AreaRangePoint.js"],e["Series/Area/AreaSeries.js"],e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,n,i,r,a,o){var s,l=this&&this.__extends||(s=function(e,t){return(s=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])})(e,t)},function(e,t){function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=t.prototype,d=n.prototype;n=i.noop;var u=r.prototype,p=o.defined,h=o.extend,m=o.isArray,g=o.pick,f=o.merge;return r=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t.lowerStateMarkerGraphic=void 0,t.xAxis=void 0,t}return l(n,e),n.prototype.toYData=function(e){return[e.low,e.high]},n.prototype.highToXY=function(e){var t=this.chart,n=this.xAxis.postTranslate(e.rectPlotX||0,this.yAxis.len-e.plotHigh);e.plotHighX=n.x-t.plotLeft,e.plotHigh=n.y-t.plotTop,e.plotLowX=e.plotX},n.prototype.translate=function(){var e=this,t=e.yAxis;c.translate.apply(e),e.points.forEach(function(n){var i=n.high,r=n.plotY;n.isNull?n.plotY=null:(n.plotLow=r,n.plotHigh=t.translate(e.dataModify?e.dataModify.modifyValue(i):i,0,1,0,1),e.dataModify&&(n.yBottom=n.plotHigh))}),this.chart.polar&&this.points.forEach(function(t){e.highToXY(t),t.tooltipPos=[(t.plotHighX+t.plotLowX)/2,(t.plotHigh+t.plotLow)/2]})},n.prototype.getGraphPath=function(e){var t,n=[],i=[],r=c.getGraphPath,a=this.options,o=this.chart.polar,s=o&&!1!==a.connectEnds,l=a.connectNulls,d=a.step;for(t=(e=e||this.points).length;t--;){var u=e[t],p=o?{plotX:u.rectPlotX,plotY:u.yBottom,doCurve:!1}:{plotX:u.plotX,plotY:u.plotY,doCurve:!1};u.isNull||s||l||e[t+1]&&!e[t+1].isNull||i.push(p);var h={polarPlotY:u.polarPlotY,rectPlotX:u.rectPlotX,yBottom:u.yBottom,plotX:g(u.plotHighX,u.plotX),plotY:u.plotHigh,isNull:u.isNull};i.push(h),n.push(h),u.isNull||s||l||e[t-1]&&!e[t-1].isNull||i.push(p)}return e=r.call(this,e),d&&(!0===d&&(d="left"),a.step={left:"right",center:"center",right:"left"}[d]),n=r.call(this,n),i=r.call(this,i),a.step=d,a=[].concat(e,n),!this.chart.polar&&i[0]&&"M"===i[0][0]&&(i[0]=["L",i[0][1],i[0][2]]),this.graphPath=a,this.areaPath=e.concat(i),a.isArea=!0,a.xMap=e.xMap,this.areaPath.xMap=e.xMap,a},n.prototype.drawDataLabels=function(){var e,t,n=this.points,i=n.length,r=[],a=this.options.dataLabels,o=this.chart.inverted;if(a){if(m(a))var s=a[0]||{enabled:!1},l=a[1]||{enabled:!1};else(s=h({},a)).x=a.xHigh,s.y=a.yHigh,(l=h({},a)).x=a.xLow,l.y=a.yLow;if(s.enabled||this._hasPointLabels){for(e=i;e--;)if(t=n[e]){var c=s.inside?t.plotHigh<t.plotLow:t.plotHigh>t.plotLow;t.y=t.high,t._plotY=t.plotY,t.plotY=t.plotHigh,r[e]=t.dataLabel,t.dataLabel=t.dataLabelUpper,t.below=c,o?s.align||(s.align=c?"right":"left"):s.verticalAlign||(s.verticalAlign=c?"top":"bottom")}for(this.options.dataLabels=s,u.drawDataLabels&&u.drawDataLabels.apply(this,arguments),e=i;e--;)(t=n[e])&&(t.dataLabelUpper=t.dataLabel,t.dataLabel=r[e],delete t.dataLabels,t.y=t.low,t.plotY=t._plotY)}if(l.enabled||this._hasPointLabels){for(e=i;e--;)(t=n[e])&&(t.below=!(c=l.inside?t.plotHigh<t.plotLow:t.plotHigh>t.plotLow),o?l.align||(l.align=c?"left":"right"):l.verticalAlign||(l.verticalAlign=c?"bottom":"top"));this.options.dataLabels=l,u.drawDataLabels&&u.drawDataLabels.apply(this,arguments)}if(s.enabled)for(e=i;e--;)(t=n[e])&&(t.dataLabels=[t.dataLabelUpper,t.dataLabel].filter(function(e){return!!e}));this.options.dataLabels=a}},n.prototype.alignDataLabel=function(){d.alignDataLabel.apply(this,arguments)},n.prototype.drawPoints=function(){var e,t=this.points.length;for(u.drawPoints.apply(this,arguments),e=0;e<t;){var n=this.points[e];n.origProps={plotY:n.plotY,plotX:n.plotX,isInside:n.isInside,negative:n.negative,zone:n.zone,y:n.y},n.lowerGraphic=n.graphic,n.graphic=n.upperGraphic,n.plotY=n.plotHigh,p(n.plotHighX)&&(n.plotX=n.plotHighX),n.y=g(n.high,n.origProps.y),n.negative=n.y<(this.options.threshold||0),this.zones.length&&(n.zone=n.getZone()),this.chart.polar||(n.isInside=n.isTopInside=void 0!==n.plotY&&0<=n.plotY&&n.plotY<=this.yAxis.len&&0<=n.plotX&&n.plotX<=this.xAxis.len),e++}for(u.drawPoints.apply(this,arguments),e=0;e<t;)(n=this.points[e]).upperGraphic=n.graphic,n.graphic=n.lowerGraphic,n.origProps&&(h(n,n.origProps),delete n.origProps),e++},n.defaultOptions=f(t.defaultOptions,{lineWidth:1,threshold:null,tooltip:{pointFormat:'<span style="color:{series.color}">\u25cf</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},trackByArea:!0,dataLabels:{align:void 0,verticalAlign:void 0,xLow:0,xHigh:0,yLow:0,yHigh:0}}),n}(t),h(r.prototype,{pointArrayMap:["low","high"],pointValKey:"low",deferTranslatePolar:!0,pointClass:e,setStackedPoints:n}),a.registerSeriesType("arearange",r),r}),t(e,"Series/AreaSplineRange/AreaSplineRangeSeries.js",[e["Series/AreaRange/AreaRangeSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=t.seriesTypes.spline,o=n.merge;n=n.extend;var s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.data=void 0,e.points=void 0,e}return r(n,t),n.defaultOptions=o(e.defaultOptions),n}(e);return n(s.prototype,{getPointSpline:a.prototype.getPointSpline}),t.registerSeriesType("areasplinerange",s),s}),t(e,"Series/BoxPlot/BoxPlotSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,n,i){var r,a=this&&this.__extends||(r=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t=t.noop;var o=i.merge,s=i.pick;return(0,i.extend)((i=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return a(n,t),n.prototype.pointAttribs=function(){return{}},n.prototype.translate=function(){var e=this.yAxis,n=this.pointArrayMap;t.prototype.translate.apply(this),this.points.forEach(function(t){n.forEach(function(n){null!==t[n]&&(t[n+"Plot"]=e.translate(t[n],0,1,0,1))}),t.plotHigh=t.highPlot})},n.prototype.drawPoints=function(){var e,t,n,i,r,a,o,l,c,d,u,p=this,h=p.options,m=p.chart,g=m.renderer,f=0,v=!1!==p.doQuartiles,y=p.options.whiskerLength;p.points.forEach(function(b){var x=b.graphic,_=x?"animate":"attr",w=b.shapeArgs,S={},C={},k={},O={},E=b.color||p.color;void 0!==b.plotY&&(o=Math.round(w.width),l=Math.floor(w.x),c=l+o,d=Math.round(o/2),e=Math.floor(v?b.q1Plot:b.lowPlot),t=Math.floor(v?b.q3Plot:b.lowPlot),n=Math.floor(b.highPlot),i=Math.floor(b.lowPlot),x||(b.graphic=x=g.g("point").add(p.group),b.stem=g.path().addClass("highcharts-boxplot-stem").add(x),y&&(b.whiskers=g.path().addClass("highcharts-boxplot-whisker").add(x)),v&&(b.box=g.path(void 0).addClass("highcharts-boxplot-box").add(x)),b.medianShape=g.path(void 0).addClass("highcharts-boxplot-median").add(x)),m.styledMode||(C.stroke=b.stemColor||h.stemColor||E,C["stroke-width"]=s(b.stemWidth,h.stemWidth,h.lineWidth),C.dashstyle=b.stemDashStyle||h.stemDashStyle||h.dashStyle,b.stem.attr(C),y&&(k.stroke=b.whiskerColor||h.whiskerColor||E,k["stroke-width"]=s(b.whiskerWidth,h.whiskerWidth,h.lineWidth),k.dashstyle=b.whiskerDashStyle||h.whiskerDashStyle||h.dashStyle,b.whiskers.attr(k)),v&&(S.fill=b.fillColor||h.fillColor||E,S.stroke=h.lineColor||E,S["stroke-width"]=h.lineWidth||0,S.dashstyle=b.boxDashStyle||h.boxDashStyle||h.dashStyle,b.box.attr(S)),O.stroke=b.medianColor||h.medianColor||E,O["stroke-width"]=s(b.medianWidth,h.medianWidth,h.lineWidth),O.dashstyle=b.medianDashStyle||h.medianDashStyle||h.dashStyle,b.medianShape.attr(O)),a=b.stem.strokeWidth()%2/2,b.stem[_]({d:x=[["M",f=l+d+a,t],["L",f,n],["M",f,e],["L",f,i]]}),v&&(a=b.box.strokeWidth()%2/2,e=Math.floor(e)+a,t=Math.floor(t)+a,b.box[_]({d:x=[["M",l+=a,t],["L",l,e],["L",c+=a,e],["L",c,t],["L",l,t],["Z"]]})),y&&(a=b.whiskers.strokeWidth()%2/2,n+=a,i+=a,u=/%$/.test(y)?d*parseFloat(y)/100:y/2,b.whiskers[_]({d:x=[["M",f-u,n],["L",f+u,n],["M",f-u,i],["L",f+u,i]]})),r=Math.round(b.medianPlot),a=b.medianShape.strokeWidth()%2/2,b.medianShape[_]({d:x=[["M",l,r+=a],["L",c,r]]}))})},n.prototype.toYData=function(e){return[e.low,e.q1,e.median,e.q3,e.high]},n.defaultOptions=o(e.defaultOptions,{threshold:null,tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> <b> {series.name}</b><br/>Maximum: {point.high}<br/>Upper quartile: {point.q3}<br/>Median: {point.median}<br/>Lower quartile: {point.q1}<br/>Minimum: {point.low}<br/>'},whiskerLength:"50%",fillColor:"#ffffff",lineWidth:1,medianWidth:2,whiskerWidth:2}),n}(e)).prototype,{pointArrayMap:["low","q1","median","q3","high"],pointValKey:"high",drawDataLabels:t,setStackedPoints:t}),n.registerSeriesType("boxplot",i),i}),t(e,"Series/Bubble/BubbleLegendDefaults.js",[],function(){return{borderColor:void 0,borderWidth:2,className:void 0,color:void 0,connectorClassName:void 0,connectorColor:void 0,connectorDistance:60,connectorWidth:1,enabled:!1,labels:{className:void 0,allowOverlap:!1,format:"",formatter:void 0,align:"right",style:{fontSize:"10px",color:"#000000"},x:0,y:0},maxSize:60,minSize:10,legendIndex:0,ranges:{value:void 0,borderColor:void 0,color:void 0,connectorColor:void 0},sizeBy:"area",sizeByAbsoluteValue:!1,zIndex:1,zThreshold:0}}),t(e,"Series/Bubble/BubbleLegendItem.js",[e["Core/Color/Color.js"],e["Core/FormatUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,t,n,i){var r=e.parse,a=n.noop,o=i.arrayMax,s=i.arrayMin,l=i.isNumber,c=i.merge,d=i.pick,u=i.stableSort;return function(){function e(e,t){this.options=this.symbols=this.visible=this.selected=this.ranges=this.movementX=this.maxLabel=this.legendSymbol=this.legendItemWidth=this.legendItemHeight=this.legendItem=this.legendGroup=this.legend=this.fontMetrics=this.chart=void 0,this.setState=a,this.init(e,t)}return e.prototype.init=function(e,t){this.options=e,this.visible=!0,this.chart=t.chart,this.legend=t},e.prototype.addToLegend=function(e){e.splice(this.options.legendIndex,0,this)},e.prototype.drawLegendSymbol=function(e){var t=this.chart,n=this.options,i=d(e.options.itemDistance,20),r=n.ranges,a=n.connectorDistance;this.fontMetrics=t.renderer.fontMetrics(n.labels.style.fontSize),r&&r.length&&l(r[0].value)?(u(r,function(e,t){return t.value-e.value}),this.ranges=r,this.setOptions(),this.render(),e=this.getMaxLabelSize(),t=2*(r=this.ranges[0].radius),a=0<(a=a-r+e.width)?a:0,this.maxLabel=e,this.movementX="left"===n.labels.align?a:0,this.legendItemWidth=t+a+i,this.legendItemHeight=t+this.fontMetrics.h/2):e.options.bubbleLegend.autoRanges=!0},e.prototype.setOptions=function(){var e=this.ranges,t=this.options,n=this.chart.series[t.seriesIndex],i=this.legend.baseline,a={zIndex:t.zIndex,"stroke-width":t.borderWidth},o={zIndex:t.zIndex,"stroke-width":t.connectorWidth},s={align:this.legend.options.rtl||"left"===t.labels.align?"right":"left",zIndex:t.zIndex},l=n.options.marker.fillOpacity,u=this.chart.styledMode;e.forEach(function(p,h){u||(a.stroke=d(p.borderColor,t.borderColor,n.color),a.fill=d(p.color,t.color,1!==l?r(n.color).setOpacity(l).get("rgba"):n.color),o.stroke=d(p.connectorColor,t.connectorColor,n.color)),e[h].radius=this.getRangeRadius(p.value),e[h]=c(e[h],{center:e[0].radius-e[h].radius+i}),u||c(!0,e[h],{bubbleAttribs:c(a),connectorAttribs:c(o),labelAttribs:s})},this)},e.prototype.getRangeRadius=function(e){var t=this.options;return this.chart.series[this.options.seriesIndex].getRadius.call(this,t.ranges[t.ranges.length-1].value,t.ranges[0].value,t.minSize,t.maxSize,e)},e.prototype.render=function(){var e=this.chart.renderer,t=this.options.zThreshold;this.symbols||(this.symbols={connectors:[],bubbleItems:[],labels:[]}),this.legendSymbol=e.g("bubble-legend"),this.legendItem=e.g("bubble-legend-item"),this.legendSymbol.translateX=0,this.legendSymbol.translateY=0,this.ranges.forEach(function(e){e.value>=t&&this.renderRange(e)},this),this.legendSymbol.add(this.legendItem),this.legendItem.add(this.legendGroup),this.hideOverlappingLabels()},e.prototype.renderRange=function(e){var t=this.options,n=t.labels,i=this.chart,r=i.series[t.seriesIndex],a=i.renderer,o=this.symbols;i=o.labels;var s=e.center,l=Math.abs(e.radius),c=t.connectorDistance||0,d=n.align,u=t.connectorWidth,p=this.ranges[0].radius||0,h=s-l-t.borderWidth/2+u/2,m=this.fontMetrics;m=m.f/2-(m.h-m.f)/2;var g=a.styledMode;c=this.legend.options.rtl||"left"===d?-c:c,"center"===d&&(c=0,t.connectorDistance=0,e.labelAttribs.align="center"),d=h+t.labels.y;var f=p+c+t.labels.x;o.bubbleItems.push(a.circle(p,s+((h%1?1:.5)-(u%2?0:.5)),l).attr(g?{}:e.bubbleAttribs).addClass((g?"highcharts-color-"+r.colorIndex+" ":"")+"highcharts-bubble-legend-symbol "+(t.className||"")).add(this.legendSymbol)),o.connectors.push(a.path(a.crispLine([["M",p,h],["L",p+c,h]],t.connectorWidth)).attr(g?{}:e.connectorAttribs).addClass((g?"highcharts-color-"+this.options.seriesIndex+" ":"")+"highcharts-bubble-legend-connectors "+(t.connectorClassName||"")).add(this.legendSymbol)),e=a.text(this.formatLabel(e),f,d+m).attr(g?{}:e.labelAttribs).css(g?{}:n.style).addClass("highcharts-bubble-legend-labels "+(t.labels.className||"")).add(this.legendSymbol),i.push(e),e.placed=!0,e.alignAttr={x:f,y:d+m}},e.prototype.getMaxLabelSize=function(){var e,t;return this.symbols.labels.forEach(function(n){t=n.getBBox(!0),e=e?t.width>e.width?t:e:t}),e||{}},e.prototype.formatLabel=function(e){var n=this.options,i=n.labels.formatter,r=this.chart.numberFormatter;return(n=n.labels.format)?t.format(n,e):i?i.call(e):r(e.value,1)},e.prototype.hideOverlappingLabels=function(){var e=this.symbols;!this.options.labels.allowOverlap&&e&&(this.chart.hideOverlappingLabels(e.labels),e.labels.forEach(function(t,n){t.newOpacity?t.newOpacity!==t.oldOpacity&&e.connectors[n].show():e.connectors[n].hide()}))},e.prototype.getRanges=function(){var e,t=this.legend.bubbleLegend,n=t.options.ranges,i=Number.MAX_VALUE,r=-Number.MAX_VALUE;t.chart.series.forEach(function(t){t.isBubble&&!t.ignoreSeries&&(e=t.zData.filter(l)).length&&(i=d(t.options.zMin,Math.min(i,Math.max(s(e),!1===t.options.displayNegative?t.options.zThreshold:-Number.MAX_VALUE))),r=d(t.options.zMax,Math.max(r,o(e))))});var a=i===r?[{value:r}]:[{value:i},{value:(i+r)/2},{value:r,autoRanges:!0}];return n.length&&n[0].radius&&a.reverse(),a.forEach(function(e,t){n&&n[t]&&(a[t]=c(n[t],e))}),a},e.prototype.predictBubbleSizes=function(){var e=this.chart,t=this.fontMetrics,n=e.legend.options,i=n.floating,r=(n="horizontal"===n.layout)?e.legend.lastLineHeight:0,a=e.plotSizeX,o=e.plotSizeY,s=e.series[this.options.seriesIndex],l=s.getPxExtremes();e=Math.ceil(l.minPxSize),l=Math.ceil(l.maxPxSize);var c=Math.min(o,a);return s=s.options.maxSize,i||!/%$/.test(s)?t=l:(s=parseFloat(s),t=(c+r-t.h/2)*s/100/(s/100+1),(n&&o-t>=a||!n&&a-t>=o)&&(t=l)),[e,Math.ceil(t)]},e.prototype.updateRanges=function(e,t){var n=this.legend.options.bubbleLegend;n.minSize=e,n.maxSize=t,n.ranges=this.getRanges()},e.prototype.correctSizes=function(){var e=this.legend,t=this.chart.series[this.options.seriesIndex].getPxExtremes();1<Math.abs(Math.ceil(t.maxPxSize)-this.options.maxSize)&&(this.updateRanges(this.options.minSize,t.maxPxSize),e.render())},e}()}),t(e,"Series/Bubble/BubbleLegendComposition.js",[e["Series/Bubble/BubbleLegendDefaults.js"],e["Series/Bubble/BubbleLegendItem.js"],e["Core/DefaultOptions.js"],e["Core/Utilities.js"]],function(e,t,n,i){var r,a=n.setOptions,o=i.addEvent,s=i.objectEach,l=i.wrap;return function(n){function i(e,t,n){var i=this.legend,a=0<=r(this);if(i&&i.options.enabled&&i.bubbleLegend&&i.options.bubbleLegend.autoRanges&&a){var o=i.bubbleLegend.options;a=i.bubbleLegend.predictBubbleSizes(),i.bubbleLegend.updateRanges(a[0],a[1]),o.placed||(i.group.placed=!1,i.allItems.forEach(function(e){e.legendGroup.translateY=null})),i.render(),this.getMargins(),this.axes.forEach(function(e){e.visible&&e.render(),o.placed||(e.setScale(),e.updateNames(),s(e.ticks,function(e){e.isNew=!0,e.isNewLabel=!0}))}),o.placed=!0,this.getMargins(),e.call(this,t,n),i.bubbleLegend.correctSizes(),p(i,c(i))}else e.call(this,t,n),i&&i.options.enabled&&i.bubbleLegend&&(i.render(),p(i,c(i)))}function r(e){e=e.series;for(var t=0;t<e.length;){if(e[t]&&e[t].isBubble&&e[t].visible&&e[t].zData.length)return t;t++}return-1}function c(e){var t,n=[],i=(e=e.allItems).length,r=0;for(t=0;t<i;t++)if(e[t].legendItemHeight&&(e[t].itemHeight=e[t].legendItemHeight),e[t]===e[i-1]||e[t+1]&&e[t]._legendItemPos[1]!==e[t+1]._legendItemPos[1]){n.push({height:0});for(var a=n[n.length-1];r<=t;r++)e[r].itemHeight>a.height&&(a.height=e[r].itemHeight);a.step=t}return n}function d(e){var n=this.bubbleLegend,i=this.options,a=i.bubbleLegend,o=r(this.chart);n&&n.ranges&&n.ranges.length&&(a.ranges.length&&(a.autoRanges=!!a.ranges[0].autoRanges),this.destroyItem(n)),0<=o&&i.enabled&&a.enabled&&(a.seriesIndex=o,this.bubbleLegend=new t(a,this),this.bubbleLegend.addToLegend(e.allItems))}function u(){var e=this.chart,t=this.visible,n=this.chart.legend;n&&n.bubbleLegend&&(this.visible=!t,this.ignoreSeries=t,e=0<=r(e),n.bubbleLegend.visible!==e&&(n.update({bubbleLegend:{enabled:e}}),n.bubbleLegend.visible=e),this.visible=t)}function p(e,t){var n,i,r,a=e.options.rtl,o=0;e.allItems.forEach(function(e,s){n=e.legendGroup.translateX,i=e._legendItemPos[1],((r=e.movementX)||a&&e.ranges)&&e.legendGroup.attr({translateX:r=a?n-e.options.maxSize/2:n+r}),s>t[o].step&&o++,e.legendGroup.attr({translateY:Math.round(i+t[o].height/2)}),e._legendItemPos[1]=i+t[o].height/2})}var h=[];n.compose=function(t,n,r){-1===h.indexOf(t)&&(h.push(t),a({legend:{bubbleLegend:e}}),l(t.prototype,"drawChartBox",i)),-1===h.indexOf(n)&&(h.push(n),o(n,"afterGetAllItems",d)),-1===h.indexOf(r)&&(h.push(r),o(r,"legendItemClick",u))}}(r||(r={})),r}),t(e,"Series/Bubble/BubblePoint.js",[e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});return(n=n.extend)((t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.options=void 0,e.series=void 0,e}return r(n,t),n.prototype.haloPath=function(t){return e.prototype.haloPath.call(this,0===t?0:(this.marker&&this.marker.radius||0)+t)},n}(t.seriesTypes.scatter.prototype.pointClass)).prototype,{ttBelow:!1}),t}),t(e,"Series/Bubble/BubbleSeries.js",[e["Core/Axis/Axis.js"],e["Series/Bubble/BubbleLegendComposition.js"],e["Series/Bubble/BubblePoint.js"],e["Core/Color/Color.js"],e["Core/Globals.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,n,i,r,a,o,s){var l,c=this&&this.__extends||(l=function(e,t){return(l=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])})(e,t)},function(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),d=i.parse;i=r.noop;var u=o.seriesTypes;r=u.column;var p=u.scatter;u=s.addEvent;var h=s.arrayMax,m=s.arrayMin,g=s.clamp,f=s.extend,v=s.isNumber,y=s.merge,b=s.pick;return s=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.maxPxSize=void 0,t.minPxSize=void 0,t.options=void 0,t.points=void 0,t.radii=void 0,t.yData=void 0,t.zData=void 0,t}return c(n,e),n.prototype.animate=function(e){!e&&this.points.length<this.options.animationLimit&&this.points.forEach(function(e){var t=e.graphic;t&&t.width&&(this.hasRendered||t.attr({x:e.plotX,y:e.plotY,width:1,height:1}),t.animate(this.markerAttribs(e),this.options.animation))},this)},n.prototype.getRadii=function(){var e=this,t=this.zData,n=this.yData,i=[],r=this.chart.bubbleZExtremes,a=this.getPxExtremes(),o=a.minPxSize,s=a.maxPxSize;if(!r){var l,c=Number.MAX_VALUE,d=-Number.MAX_VALUE;this.chart.series.forEach(function(t){t.bubblePadding&&(t.visible||!e.chart.options.chart.ignoreHiddenSeries)&&(t=t.getZExtremes())&&(c=Math.min(c||t.zMin,t.zMin),d=Math.max(d||t.zMax,t.zMax),l=!0)}),l?this.chart.bubbleZExtremes=r={zMin:c,zMax:d}:r={zMin:0,zMax:0}}var u=0;for(a=t.length;u<a;u++)i.push(this.getRadius(r.zMin,r.zMax,o,s,t[u],n[u]));this.radii=i},n.prototype.getRadius=function(e,t,n,i,r,a){var o=this.options,s="width"!==o.sizeBy,l=o.zThreshold,c=t-e,d=.5;if(null===a||null===r)return null;if(v(r)){if(o.sizeByAbsoluteValue&&(r=Math.abs(r-l),c=Math.max(t-l,Math.abs(e-l)),e=0),r<e)return n/2-1;0<c&&(d=(r-e)/c)}return s&&0<=d&&(d=Math.sqrt(d)),Math.ceil(n+d*(i-n))/2},n.prototype.hasData=function(){return!!this.processedXData.length},n.prototype.pointAttribs=function(e,t){var n=this.options.marker.fillOpacity;return e=a.prototype.pointAttribs.call(this,e,t),1!==n&&(e.fill=d(e.fill).setOpacity(n).get("rgba")),e},n.prototype.translate=function(){e.prototype.translate.call(this),this.getRadii(),this.translateBubble()},n.prototype.translateBubble=function(){for(var e=this.data,t=this.radii,n=this.getPxExtremes().minPxSize,i=e.length;i--;){var r=e[i],a=t?t[i]:0;v(a)&&a>=n/2?(r.marker=f(r.marker,{radius:a,width:2*a,height:2*a}),r.dlBox={x:r.plotX-a,y:r.plotY-a,width:2*a,height:2*a}):r.shapeArgs=r.plotY=r.dlBox=void 0}},n.prototype.getPxExtremes=function(){var e=Math.min(this.chart.plotWidth,this.chart.plotHeight),t=function(t){if("string"==typeof t){var n=/%$/.test(t);t=parseInt(t,10)}return n?e*t/100:t},n=t(b(this.options.minSize,8));return{minPxSize:n,maxPxSize:t=Math.max(t(b(this.options.maxSize,"20%")),n)}},n.prototype.getZExtremes=function(){var e=this.options,t=(this.zData||[]).filter(v);if(t.length){var n=b(e.zMin,g(m(t),!1===e.displayNegative?e.zThreshold||0:-Number.MAX_VALUE,Number.MAX_VALUE));if(e=b(e.zMax,h(t)),v(n)&&v(e))return{zMin:n,zMax:e}}},n.compose=t.compose,n.defaultOptions=y(p.defaultOptions,{dataLabels:{formatter:function(){var e=this.series.chart.numberFormatter,t=this.point.z;return v(t)?e(t,-1):""},inside:!0,verticalAlign:"middle"},animationLimit:250,marker:{lineColor:null,lineWidth:1,fillOpacity:.5,radius:null,states:{hover:{radiusPlus:0}},symbol:"circle"},minSize:8,maxSize:"20%",softThreshold:!1,states:{hover:{halo:{size:5}}},tooltip:{pointFormat:"({point.x}, {point.y}), Size: {point.z}"},turboThreshold:0,zThreshold:0,zoneAxis:"z"}),n}(p),f(s.prototype,{alignDataLabel:r.prototype.alignDataLabel,applyZones:i,bubblePadding:!0,buildKDTree:i,directTouch:!0,isBubble:!0,pointArrayMap:["y","z"],pointClass:n,parallelArrays:["x","y","z"],trackerGroups:["group","dataLabelsGroup"],specialGroup:"group",zoneAxis:"z"}),u(s,"updatedData",function(e){delete e.target.chart.bubbleZExtremes}),e.prototype.beforePadding=function(){var e,t=this,n=this.len,i=this.chart,r=0,a=n,o=this.isXAxis,s=o?"xData":"yData",l=this.min,c=this.max-l,d=n/c;this.series.forEach(function(n){if(n.bubblePadding&&(n.visible||!i.options.chart.ignoreHiddenSeries)){e=t.allowZoomOutside=!0;var u=n[s];if(o&&n.getRadii(0,0,n),0<c)for(var p=u.length;p--;)if(v(u[p])&&t.dataMin<=u[p]&&u[p]<=t.max){var h=n.radii&&n.radii[p]||0;r=Math.min((u[p]-l)*d-h,r),a=Math.max((u[p]-l)*d+h,a)}}}),e&&0<c&&!this.logarithmic&&(a-=n,d*=(n+Math.max(0,r)-Math.min(a,n))/n,[["min","userMin",r],["max","userMax",a]].forEach(function(e){void 0===b(t.options[e[0]],t[e[1]])&&(t[e[0]]+=e[2]/d)}))},o.registerSeriesType("bubble",s),s}),t(e,"Series/ColumnRange/ColumnRangePoint.js",[e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t){var n,i=this&&this.__extends||(n=function(e,t){return(n=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])})(e,t)},function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),r=e.seriesTypes;e=r.column.prototype.pointClass;var a=t.extend,o=t.isNumber;return t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.series=void 0,t.options=void 0,t.barX=void 0,t.pointWidth=void 0,t.shapeType=void 0,t}return i(t,e),t.prototype.isValid=function(){return o(this.low)},t}(r.arearange.prototype.pointClass),a(t.prototype,{setState:e.prototype.setState}),t}),t(e,"Series/ColumnRange/ColumnRangeSeries.js",[e["Series/ColumnRange/ColumnRangePoint.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,n,i){var r,a=this&&this.__extends||(r=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t=t.noop;var o=n.seriesTypes,s=o.arearange,l=o.column,c=l.prototype,d=s.prototype,u=i.clamp,p=i.merge,h=i.pick;i=i.extend;var m={pointRange:null,marker:null,states:{hover:{halo:!1}}};return o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t}return a(t,e),t.prototype.setOptions=function(){return p(!0,arguments[0],{stacking:void 0}),d.setOptions.apply(this,arguments)},t.prototype.translate=function(){var e,t,n=this,i=n.yAxis,r=n.xAxis,a=r.startAngleRad,o=n.chart,s=n.xAxis.isRadial,l=Math.max(o.chartWidth,o.chartHeight)+999;c.translate.apply(n),n.points.forEach(function(c){var d=c.shapeArgs||{},p=n.options.minPointLength;c.plotHigh=t=u(i.translate(c.high,0,1,0,1),-l,l),c.plotLow=u(c.plotY,-l,l);var m=t,g=h(c.rectPlotY,c.plotY)-t;Math.abs(g)<p?(g+=p-=g,m-=p/2):0>g&&(m-=g*=-1),s?(e=c.barX+a,c.shapeType="arc",c.shapeArgs=n.polarArc(m+g,m,e,e+c.pointWidth)):(d.height=g,d.y=m,p=void 0===(p=d.x)?0:p,d=void 0===(d=d.width)?0:d,c.tooltipPos=o.inverted?[i.len+i.pos-o.plotLeft-m-g/2,r.len+r.pos-o.plotTop-p-d/2,g]:[r.left-o.plotLeft+p+d/2,i.pos-o.plotTop+m+g/2,g])})},t.prototype.crispCol=function(){return c.crispCol.apply(this,arguments)},t.prototype.drawPoints=function(){return c.drawPoints.apply(this,arguments)},t.prototype.drawTracker=function(){return c.drawTracker.apply(this,arguments)},t.prototype.getColumnMetrics=function(){return c.getColumnMetrics.apply(this,arguments)},t.prototype.pointAttribs=function(){return c.pointAttribs.apply(this,arguments)},t.prototype.adjustForMissingColumns=function(){return c.adjustForMissingColumns.apply(this,arguments)},t.prototype.animate=function(){return c.animate.apply(this,arguments)},t.prototype.translate3dPoints=function(){return c.translate3dPoints.apply(this,arguments)},t.prototype.translate3dShapes=function(){return c.translate3dShapes.apply(this,arguments)},t.defaultOptions=p(l.defaultOptions,s.defaultOptions,m),t}(s),i(o.prototype,{directTouch:!0,trackerGroups:["group","dataLabelsGroup"],drawGraph:t,getSymbol:t,polarArc:function(){return c.polarArc.apply(this,arguments)},pointClass:e}),n.registerSeriesType("columnrange",o),o}),t(e,"Series/ColumnPyramid/ColumnPyramidSeries.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=e.prototype,o=n.clamp,s=n.merge,l=n.pick;return n=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return r(n,t),n.prototype.translate=function(){var e=this,t=e.chart,n=e.options,i=e.dense=2>e.closestPointRange*e.xAxis.transA;i=e.borderWidth=l(n.borderWidth,i?0:1);var r=e.yAxis,s=n.threshold,c=e.translatedThreshold=r.getThreshold(s),d=l(n.minPointLength,5),u=e.getColumnMetrics(),p=u.width,h=e.barW=Math.max(p,1+2*i),m=e.pointXOffset=u.offset;t.inverted&&(c-=.5),n.pointPadding&&(h=Math.ceil(h)),a.translate.apply(e),e.points.forEach(function(i){var a=l(i.yBottom,c),u=999+Math.abs(a),g=o(i.plotY,-u,r.len+u);u=i.plotX+m;var f,v=h/2,y=Math.min(g,a);a=Math.max(g,a)-y,i.barX=u,i.pointWidth=p,i.tooltipPos=t.inverted?[r.len+r.pos-t.plotLeft-g,e.xAxis.len-u-v,a]:[u+v,g+r.pos-t.plotTop,a],g=s+(i.total||i.y),"percent"===n.stacking&&(g=s+(0>i.y)?-100:100),g=r.toPixels(g,!0);var b=(f=t.plotHeight-g-(t.plotHeight-c))?v*(y-g)/f:0,x=f?v*(y+a-g)/f:0;f=u-b+v,b=u+b+v;var _=u+x+v;x=u-x+v;var w=y-d,S=y+a;0>i.y&&(w=y,S=y+a+d),t.inverted&&(x=v*(g-((_=r.width-y)-a))/(f=g-(r.width-c)),b=(f=u+v+(b=v*(g-_)/f))-2*b,_=u-x+v,x=u+x+v,w=y,S=y+a-d,0>i.y&&(S=y+a+d)),i.shapeType="path",i.shapeArgs={x:f,y:w,width:b-f,height:a,d:[["M",f,w],["L",b,w],["L",_,S],["L",x,S],["Z"]]}})},n.defaultOptions=s(e.defaultOptions,{}),n}(e),t.registerSeriesType("columnpyramid",n),n}),t(e,"Series/ErrorBar/ErrorBarSeries.js",[e["Series/BoxPlot/BoxPlotSeries.js"],e["Series/Column/ColumnSeries.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,n,i){var r,a=this&&this.__extends||(r=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=n.seriesTypes.arearange,s=i.merge;i=i.extend;var l=function(n){function i(){var e=null!==n&&n.apply(this,arguments)||this;return e.data=void 0,e.options=void 0,e.points=void 0,e}return a(i,n),i.prototype.getColumnMetrics=function(){return this.linkedParent&&this.linkedParent.columnMetrics||t.prototype.getColumnMetrics.call(this)},i.prototype.drawDataLabels=function(){var e=this.pointValKey;o&&(o.prototype.drawDataLabels.call(this),this.data.forEach(function(t){t.y=t[e]}))},i.prototype.toYData=function(e){return[e.low,e.high]},i.defaultOptions=s(e.defaultOptions,{color:"#000000",grouping:!1,linkedTo:":previous",tooltip:{pointFormat:'<span style="color:{point.color}">\u25cf</span> {series.name}: <b>{point.low}</b> - <b>{point.high}</b><br/>'},whiskerWidth:null}),i}(e);return i(l.prototype,{pointArrayMap:["low","high"],pointValKey:"high",doQuartiles:!1}),n.registerSeriesType("errorbar",l),l}),t(e,"Series/Gauge/GaugePoint.js",[e["Core/Series/SeriesRegistry.js"]],function(e){var t,n=this&&this.__extends||(t=function(e,n){return(t=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])})(e,n)},function(e,n){function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)});return function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t.shapeArgs=void 0,t}return n(t,e),t.prototype.setState=function(e){this.state=e},t}(e.series.prototype.pointClass)}),t(e,"Series/Gauge/GaugeSeries.js",[e["Series/Gauge/GaugePoint.js"],e["Core/Globals.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,n,i){var r,a=this&&this.__extends||(r=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});t=t.noop;var o=n.series,s=n.seriesTypes.column,l=i.clamp,c=i.isNumber,d=i.merge,u=i.pick,p=i.pInt;return(0,i.extend)((i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.points=void 0,t.options=void 0,t.yAxis=void 0,t}return a(t,e),t.prototype.translate=function(){var e=this.yAxis,t=this.options,n=e.center;this.generatePoints(),this.points.forEach(function(i){var r=d(t.dial,i.dial),a=p(u(r.radius,"80%"))*n[2]/200,o=p(u(r.baseLength,"70%"))*a/100,s=p(u(r.rearLength,"10%"))*a/100,h=r.baseWidth||3,m=r.topWidth||1,g=t.overshoot,f=e.startAngleRad+e.translate(i.y,null,null,null,!0);(c(g)||!1===t.wrap)&&(g=c(g)?g/180*Math.PI:0,f=l(f,e.startAngleRad-g,e.endAngleRad+g)),f=180*f/Math.PI,i.shapeType="path",i.shapeArgs={d:r.path||[["M",-s,-h/2],["L",o,-h/2],["L",a,-m/2],["L",a,m/2],["L",o,h/2],["L",-s,h/2],["Z"]],translateX:n[0],translateY:n[1],rotation:f},i.plotX=n[0],i.plotY=n[1]})},t.prototype.drawPoints=function(){var e=this,t=e.chart,n=e.yAxis.center,i=e.pivot,r=e.options,a=r.pivot,o=t.renderer;e.points.forEach(function(n){var i=n.graphic,a=n.shapeArgs,s=a.d,l=d(r.dial,n.dial);i?(i.animate(a),a.d=s):n.graphic=o[n.shapeType](a).attr({rotation:a.rotation,zIndex:1}).addClass("highcharts-dial").add(e.group),t.styledMode||n.graphic[i?"animate":"attr"]({stroke:l.borderColor||"none","stroke-width":l.borderWidth||0,fill:l.backgroundColor||"#000000"})}),i?i.animate({translateX:n[0],translateY:n[1]}):(e.pivot=o.circle(0,0,u(a.radius,5)).attr({zIndex:2}).addClass("highcharts-pivot").translate(n[0],n[1]).add(e.group),t.styledMode||e.pivot.attr({"stroke-width":a.borderWidth||0,stroke:a.borderColor||"#cccccc",fill:a.backgroundColor||"#000000"}))},t.prototype.animate=function(e){var t=this;e||t.points.forEach(function(e){var n=e.graphic;n&&(n.attr({rotation:180*t.yAxis.startAngleRad/Math.PI}),n.animate({rotation:e.shapeArgs.rotation},t.options.animation))})},t.prototype.render=function(){this.group=this.plotGroup("group","series",this.visible?"visible":"hidden",this.options.zIndex,this.chart.seriesGroup),o.prototype.render.call(this),this.group.clip(this.chart.clipRect)},t.prototype.setData=function(e,t){o.prototype.setData.call(this,e,!1),this.processData(),this.generatePoints(),u(t,!0)&&this.chart.redraw()},t.prototype.hasData=function(){return!!this.points.length},t.defaultOptions=d(o.defaultOptions,{dataLabels:{borderColor:"#cccccc",borderRadius:3,borderWidth:1,crop:!1,defer:!1,enabled:!0,verticalAlign:"top",y:15,zIndex:2},dial:{},pivot:{},tooltip:{headerFormat:""},showInLegend:!1}),t}(o)).prototype,{angular:!0,directTouch:!0,drawGraph:t,drawTracker:s.prototype.drawTracker,fixedBox:!0,forceDL:!0,noSharedTooltip:!0,pointClass:e,trackerGroups:["group","dataLabelsGroup"]}),n.registerSeriesType("gauge",i),i}),t(e,"Series/PackedBubble/PackedBubblePoint.js",[e["Core/Chart/Chart.js"],e["Core/Series/Point.js"],e["Core/Series/SeriesRegistry.js"]],function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});return function(n){function i(){var e=null!==n&&n.apply(this,arguments)||this;return e.degree=NaN,e.mass=NaN,e.radius=NaN,e.options=void 0,e.series=void 0,e.value=null,e}return r(i,n),i.prototype.destroy=function(){return this.series.layout&&this.series.layout.removeElementFromCollection(this,this.series.layout.nodes),t.prototype.destroy.apply(this,arguments)},i.prototype.firePointEvent=function(){var e=this.series.options;if(this.isParentNode&&e.parentNode){var n=e.allowPointSelect;e.allowPointSelect=e.parentNode.allowPointSelect,t.prototype.firePointEvent.apply(this,arguments),e.allowPointSelect=n}else t.prototype.firePointEvent.apply(this,arguments)},i.prototype.select=function(){var n=this.series.chart;this.isParentNode?(n.getSelectedPoints=n.getSelectedParentNodes,t.prototype.select.apply(this,arguments),n.getSelectedPoints=e.prototype.getSelectedPoints):t.prototype.select.apply(this,arguments)},i}(n.seriesTypes.bubble.prototype.pointClass)}),t(e,"Series/Networkgraph/DraggableNodes.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,t,n){var i=n.addEvent;t.dragNodesMixin={onMouseDown:function(e,t){t=this.chart.pointer.normalize(t),e.fixedPosition={chartX:t.chartX,chartY:t.chartY,plotX:e.plotX,plotY:e.plotY},e.inDragMode=!0},onMouseMove:function(e,t){if(e.fixedPosition&&e.inDragMode){var n=this.chart,i=n.pointer.normalize(t);t=e.fixedPosition.chartX-i.chartX,i=e.fixedPosition.chartY-i.chartY;var r=void 0,a=void 0,o=n.graphLayoutsLookup;(5<Math.abs(t)||5<Math.abs(i))&&n.isInsidePlot(r=e.fixedPosition.plotX-t,a=e.fixedPosition.plotY-i)&&(e.plotX=r,e.plotY=a,e.hasDragged=!0,this.redrawHalo(e),o.forEach(function(e){e.restartSimulation()}))}},onMouseUp:function(e,t){e.fixedPosition&&(e.hasDragged&&(this.layout.enableSimulation?this.layout.start():this.chart.redraw()),e.inDragMode=e.hasDragged=!1,this.options.fixedDraggable||delete e.fixedPosition)},redrawHalo:function(e){e&&this.halo&&this.halo.attr({d:e.haloPath(this.options.states.hover.halo.size)})}},i(e,"load",function(){var e,t,n,r=this;r.container&&(e=i(r.container,"mousedown",function(e){var a=r.hoverPoint;a&&a.series&&a.series.hasDraggableNodes&&a.series.options.draggable&&(a.series.onMouseDown(a,e),t=i(r.container,"mousemove",function(e){return a&&a.series&&a.series.onMouseMove(a,e)}),n=i(r.container.ownerDocument,"mouseup",function(e){return t(),n(),a&&a.series&&a.series.onMouseUp(a,e)}))})),i(r,"destroy",function(){e()})})}),t(e,"Series/Networkgraph/Integrations.js",[e["Core/Globals.js"]],function(e){e.networkgraphIntegrations={verlet:{attractiveForceFunction:function(e,t){return(t-e)/e},repulsiveForceFunction:function(e,t){return(t-e)/e*(t>e?1:0)},barycenter:function(){var e=this.options.gravitationalConstant,t=this.barycenter.xFactor,n=this.barycenter.yFactor;t=(t-(this.box.left+this.box.width)/2)*e,n=(n-(this.box.top+this.box.height)/2)*e,this.nodes.forEach(function(e){e.fixedPosition||(e.plotX-=t/e.mass/e.degree,e.plotY-=n/e.mass/e.degree)})},repulsive:function(e,t,n){t=t*this.diffTemperature/e.mass/e.degree,e.fixedPosition||(e.plotX+=n.x*t,e.plotY+=n.y*t)},attractive:function(e,t,n){var i=e.getMass(),r=-n.x*t*this.diffTemperature;t=-n.y*t*this.diffTemperature,e.fromNode.fixedPosition||(e.fromNode.plotX-=r*i.fromNode/e.fromNode.degree,e.fromNode.plotY-=t*i.fromNode/e.fromNode.degree),e.toNode.fixedPosition||(e.toNode.plotX+=r*i.toNode/e.toNode.degree,e.toNode.plotY+=t*i.toNode/e.toNode.degree)},integrate:function(e,t){var n=-e.options.friction,i=e.options.maxSpeed,r=(t.plotX+t.dispX-t.prevX)*n;n*=t.plotY+t.dispY-t.prevY;var a=Math.abs,o=a(r)/(r||1);a=a(n)/(n||1),r=o*Math.min(i,Math.abs(r)),n=a*Math.min(i,Math.abs(n)),t.prevX=t.plotX+t.dispX,t.prevY=t.plotY+t.dispY,t.plotX+=r,t.plotY+=n,t.temperature=e.vectorLength({x:r,y:n})},getK:function(e){return Math.pow(e.box.width*e.box.height/e.nodes.length,.5)}},euler:{attractiveForceFunction:function(e,t){return e*e/t},repulsiveForceFunction:function(e,t){return t*t/e},barycenter:function(){var e=this.options.gravitationalConstant,t=this.barycenter.xFactor,n=this.barycenter.yFactor;this.nodes.forEach(function(i){if(!i.fixedPosition){var r=i.getDegree();i.dispX+=(t-i.plotX)*e*(r*=1+r/2)/i.degree,i.dispY+=(n-i.plotY)*e*r/i.degree}})},repulsive:function(e,t,n,i){e.dispX+=n.x/i*t/e.degree,e.dispY+=n.y/i*t/e.degree},attractive:function(e,t,n,i){var r=e.getMass(),a=n.x/i*t;t*=n.y/i,e.fromNode.fixedPosition||(e.fromNode.dispX-=a*r.fromNode/e.fromNode.degree,e.fromNode.dispY-=t*r.fromNode/e.fromNode.degree),e.toNode.fixedPosition||(e.toNode.dispX+=a*r.toNode/e.toNode.degree,e.toNode.dispY+=t*r.toNode/e.toNode.degree)},integrate:function(e,t){t.dispX+=t.dispX*e.options.friction,t.dispY+=t.dispY*e.options.friction;var n=t.temperature=e.vectorLength({x:t.dispX,y:t.dispY});0!==n&&(t.plotX+=t.dispX/n*Math.min(Math.abs(t.dispX),e.temperature),t.plotY+=t.dispY/n*Math.min(Math.abs(t.dispY),e.temperature))},getK:function(e){return Math.pow(e.box.width*e.box.height/e.nodes.length,.3)}}}}),t(e,"Series/Networkgraph/QuadTree.js",[e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,t){t=t.extend;var n=e.QuadTreeNode=function(e){this.box=e,this.boxSize=Math.min(e.width,e.height),this.nodes=[],this.body=this.isInternal=!1,this.isEmpty=!0};t(n.prototype,{insert:function(e,t){this.isInternal?this.nodes[this.getBoxPosition(e)].insert(e,t-1):(this.isEmpty=!1,this.body?t?(this.isInternal=!0,this.divideBox(),!0!==this.body&&(this.nodes[this.getBoxPosition(this.body)].insert(this.body,t-1),this.body=!0),this.nodes[this.getBoxPosition(e)].insert(e,t-1)):((t=new n({top:e.plotX,left:e.plotY,width:.1,height:.1})).body=e,t.isInternal=!1,this.nodes.push(t)):(this.isInternal=!1,this.body=e))},updateMassAndCenter:function(){var e=0,t=0,n=0;this.isInternal?(this.nodes.forEach(function(i){i.isEmpty||(e+=i.mass,t+=i.plotX*i.mass,n+=i.plotY*i.mass)}),t/=e,n/=e):this.body&&(e=this.body.mass,t=this.body.plotX,n=this.body.plotY),this.mass=e,this.plotX=t,this.plotY=n},divideBox:function(){var e=this.box.width/2,t=this.box.height/2;this.nodes[0]=new n({left:this.box.left,top:this.box.top,width:e,height:t}),this.nodes[1]=new n({left:this.box.left+e,top:this.box.top,width:e,height:t}),this.nodes[2]=new n({left:this.box.left+e,top:this.box.top+t,width:e,height:t}),this.nodes[3]=new n({left:this.box.left,top:this.box.top+t,width:e,height:t})},getBoxPosition:function(e){var t=e.plotY<this.box.top+this.box.height/2;return e.plotX<this.box.left+this.box.width/2?t?0:3:t?1:2}}),t((e=e.QuadTree=function(e,t,i,r){this.box={left:e,top:t,width:i,height:r},this.maxDepth=25,this.root=new n(this.box,"0"),this.root.isInternal=!0,this.root.isRoot=!0,this.root.divideBox()}).prototype,{insertNodes:function(e){e.forEach(function(e){this.root.insert(e,this.maxDepth)},this)},visitNodeRecursive:function(e,t,n){var i;e||(e=this.root),e===this.root&&t&&(i=t(e)),!1!==i&&(e.nodes.forEach(function(e){if(e.isInternal){if(t&&(i=t(e)),!1===i)return;this.visitNodeRecursive(e,t,n)}else e.body&&t&&t(e.body);n&&n(e)},this),e===this.root&&n&&n(e))},calculateMassAndCenter:function(){this.visitNodeRecursive(null,null,function(e){e.updateMassAndCenter()})}})}),t(e,"Series/Networkgraph/Layouts.js",[e["Core/Chart/Chart.js"],e["Core/Animation/AnimationUtilities.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,t,n,i){var r=t.setAnimation;t=i.addEvent;var a=i.clamp,o=i.defined,s=i.extend,l=i.isFunction,c=i.pick;n.layouts={"reingold-fruchterman":function(){}},s(n.layouts["reingold-fruchterman"].prototype,{init:function(e){this.options=e,this.nodes=[],this.links=[],this.series=[],this.box={x:0,y:0,width:0,height:0},this.setInitialRendering(!0),this.integration=n.networkgraphIntegrations[e.integration],this.enableSimulation=e.enableSimulation,this.attractiveForce=c(e.attractiveForce,this.integration.attractiveForceFunction),this.repulsiveForce=c(e.repulsiveForce,this.integration.repulsiveForceFunction),this.approximation=e.approximation},updateSimulation:function(e){this.enableSimulation=c(e,this.options.enableSimulation)},start:function(){var e=this.series,t=this.options;this.currentStep=0,this.forces=e[0]&&e[0].forces||[],this.chart=e[0]&&e[0].chart,this.initialRendering&&(this.initPositions(),e.forEach(function(e){e.finishedAnimating=!0,e.render()})),this.setK(),this.resetSimulation(t),this.enableSimulation&&this.step()},step:function(){var e=this,t=this.series;e.currentStep++,"barnes-hut"===e.approximation&&(e.createQuadTree(),e.quadTree.calculateMassAndCenter()),e.forces.forEach(function(t){e[t+"Forces"](e.temperature)}),e.applyLimits(e.temperature),e.temperature=e.coolDown(e.startTemperature,e.diffTemperature,e.currentStep),e.prevSystemTemperature=e.systemTemperature,e.systemTemperature=e.getSystemTemperature(),e.enableSimulation&&(t.forEach(function(e){e.chart&&e.render()}),e.maxIterations--&&isFinite(e.temperature)&&!e.isStable()?(e.simulation&&n.win.cancelAnimationFrame(e.simulation),e.simulation=n.win.requestAnimationFrame(function(){e.step()})):e.simulation=!1)},stop:function(){this.simulation&&n.win.cancelAnimationFrame(this.simulation)},setArea:function(e,t,n,i){this.box={left:e,top:t,width:n,height:i}},setK:function(){this.k=this.options.linkLength||this.integration.getK(this)},addElementsToCollection:function(e,t){e.forEach(function(e){-1===t.indexOf(e)&&t.push(e)})},removeElementFromCollection:function(e,t){-1!==(e=t.indexOf(e))&&t.splice(e,1)},clear:function(){this.nodes.length=0,this.links.length=0,this.series.length=0,this.resetSimulation()},resetSimulation:function(){this.forcedStop=!1,this.systemTemperature=0,this.setMaxIterations(),this.setTemperature(),this.setDiffTemperature()},restartSimulation:function(){this.simulation?this.resetSimulation():(this.setInitialRendering(!1),this.enableSimulation?this.start():this.setMaxIterations(1),this.chart&&this.chart.redraw(),this.setInitialRendering(!0))},setMaxIterations:function(e){this.maxIterations=c(e,this.options.maxIterations)},setTemperature:function(){this.temperature=this.startTemperature=Math.sqrt(this.nodes.length)},setDiffTemperature:function(){this.diffTemperature=this.startTemperature/(this.options.maxIterations+1)},setInitialRendering:function(e){this.initialRendering=e},createQuadTree:function(){this.quadTree=new n.QuadTree(this.box.left,this.box.top,this.box.width,this.box.height),this.quadTree.insertNodes(this.nodes)},initPositions:function(){var e=this.options.initialPositions;l(e)?(e.call(this),this.nodes.forEach(function(e){o(e.prevX)||(e.prevX=e.plotX),o(e.prevY)||(e.prevY=e.plotY),e.dispX=0,e.dispY=0})):"circle"===e?this.setCircularPositions():this.setRandomPositions()},setCircularPositions:function(){function e(t){t.linksFrom.forEach(function(t){o[t.toNode.id]||(o[t.toNode.id]=!0,a.push(t.toNode),e(t.toNode))})}var t=this.box,n=this.nodes,i=2*Math.PI/(n.length+1),r=n.filter(function(e){return 0===e.linksTo.length}),a=[],o={},s=this.options.initialPositionRadius;r.forEach(function(t){a.push(t),e(t)}),a.length?n.forEach(function(e){-1===a.indexOf(e)&&a.push(e)}):a=n,a.forEach(function(e,n){e.plotX=e.prevX=c(e.plotX,t.width/2+s*Math.cos(n*i)),e.plotY=e.prevY=c(e.plotY,t.height/2+s*Math.sin(n*i)),e.dispX=0,e.dispY=0})},setRandomPositions:function(){function e(e){return(e=e*e/Math.PI)-Math.floor(e)}var t=this.box,n=this.nodes,i=n.length+1;n.forEach(function(n,r){n.plotX=n.prevX=c(n.plotX,t.width*e(r)),n.plotY=n.prevY=c(n.plotY,t.height*e(i+r)),n.dispX=0,n.dispY=0})},force:function(e){this.integration[e].apply(this,Array.prototype.slice.call(arguments,1))},barycenterForces:function(){this.getBarycenter(),this.force("barycenter")},getBarycenter:function(){var e=0,t=0,n=0;return this.nodes.forEach(function(i){t+=i.plotX*i.mass,n+=i.plotY*i.mass,e+=i.mass}),this.barycenter={x:t,y:n,xFactor:t/e,yFactor:n/e}},barnesHutApproximation:function(e,t){var n=this.getDistXY(e,t),i=this.vectorLength(n);if(e!==t&&0!==i)if(t.isInternal)if(t.boxSize/i<this.options.theta&&0!==i){var r=this.repulsiveForce(i,this.k);this.force("repulsive",e,r*t.mass,n,i);var a=!1}else a=!0;else r=this.repulsiveForce(i,this.k),this.force("repulsive",e,r*t.mass,n,i);return a},repulsiveForces:function(){var e=this;e.nodes.forEach("barnes-hut"===e.approximation?function(t){e.quadTree.visitNodeRecursive(null,function(n){return e.barnesHutApproximation(t,n)})}:function(t){e.nodes.forEach(function(n){if(t!==n&&!t.fixedPosition){var i=e.getDistXY(t,n),r=e.vectorLength(i);if(0!==r){var a=e.repulsiveForce(r,e.k);e.force("repulsive",t,a*n.mass,i,r)}}})})},attractiveForces:function(){var e,t,n,i=this;i.links.forEach(function(r){r.fromNode&&r.toNode&&(e=i.getDistXY(r.fromNode,r.toNode),0!==(t=i.vectorLength(e))&&(n=i.attractiveForce(t,i.k),i.force("attractive",r,n,e,t)))})},applyLimits:function(){var e=this;e.nodes.forEach(function(t){t.fixedPosition||(e.integration.integrate(e,t),e.applyLimitBox(t,e.box),t.dispX=0,t.dispY=0)})},applyLimitBox:function(e,t){var n=e.radius;e.plotX=a(e.plotX,t.left+n,t.width-n),e.plotY=a(e.plotY,t.top+n,t.height-n)},coolDown:function(e,t,n){return e-t*n},isStable:function(){return 1e-5>Math.abs(this.systemTemperature-this.prevSystemTemperature)||0>=this.temperature},getSystemTemperature:function(){return this.nodes.reduce(function(e,t){return e+t.temperature},0)},vectorLength:function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},getDistR:function(e,t){return e=this.getDistXY(e,t),this.vectorLength(e)},getDistXY:function(e,t){var n=e.plotX-t.plotX;return{x:n,y:e=e.plotY-t.plotY,absX:Math.abs(n),absY:Math.abs(e)}}}),t(e,"predraw",function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(function(e){e.stop()})}),t(e,"render",function(){function e(e){e.maxIterations--&&isFinite(e.temperature)&&!e.isStable()&&!e.enableSimulation&&(e.beforeStep&&e.beforeStep(),e.step(),n=!1,t=!0)}var t=!1;if(this.graphLayoutsLookup){for(r(!1,this),this.graphLayoutsLookup.forEach(function(e){e.start()});!n;){var n=!0;this.graphLayoutsLookup.forEach(e)}t&&this.series.forEach(function(e){e&&e.layout&&e.render()})}}),t(e,"beforePrint",function(){this.graphLayoutsLookup&&(this.graphLayoutsLookup.forEach(function(e){e.updateSimulation(!1)}),this.redraw())}),t(e,"afterPrint",function(){this.graphLayoutsLookup&&this.graphLayoutsLookup.forEach(function(e){e.updateSimulation()}),this.redraw()})}),t(e,"Series/PackedBubble/PackedBubbleComposition.js",[e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Core/Utilities.js"]],function(e,t,n){var i=t.layouts["reingold-fruchterman"],r=n.addEvent,a=n.extendClass,o=n.pick;e.prototype.getSelectedParentNodes=function(){var e=[];return this.series.forEach(function(t){t.parentNode&&t.parentNode.selected&&e.push(t.parentNode)}),e},t.networkgraphIntegrations.packedbubble={repulsiveForceFunction:function(e,t,n,i){return Math.min(e,(n.marker.radius+i.marker.radius)/2)},barycenter:function(){var e,t,n=this,i=n.options.gravitationalConstant,r=n.box,a=n.nodes;a.forEach(function(o){n.options.splitSeries&&!o.isParentNode?(e=o.series.parentNode.plotX,t=o.series.parentNode.plotY):(e=r.width/2,t=r.height/2),o.fixedPosition||(o.plotX-=(o.plotX-e)*i/(o.mass*Math.sqrt(a.length)),o.plotY-=(o.plotY-t)*i/(o.mass*Math.sqrt(a.length)))})},repulsive:function(e,t,n,i){var r=t*this.diffTemperature/e.mass/e.degree;t=n.x*r,n=n.y*r,e.fixedPosition||(e.plotX+=t,e.plotY+=n),i.fixedPosition||(i.plotX-=t,i.plotY-=n)},integrate:t.networkgraphIntegrations.verlet.integrate,getK:t.noop},t.layouts.packedbubble=a(i,{beforeStep:function(){this.options.marker&&this.series.forEach(function(e){e&&e.calculateParentRadius()})},isStable:function(){var e=Math.abs(this.prevSystemTemperature-this.systemTemperature);return 1>Math.abs(10*this.systemTemperature/Math.sqrt(this.nodes.length))&&1e-5>e||0>=this.temperature},setCircularPositions:function(){var e,t,n=this,i=n.box,r=n.nodes,a=2*Math.PI/(r.length+1),s=n.options.initialPositionRadius;r.forEach(function(r,l){n.options.splitSeries&&!r.isParentNode?(e=r.series.parentNode.plotX,t=r.series.parentNode.plotY):(e=i.width/2,t=i.height/2),r.plotX=r.prevX=o(r.plotX,e+s*Math.cos(r.index||l*a)),r.plotY=r.prevY=o(r.plotY,t+s*Math.sin(r.index||l*a)),r.dispX=0,r.dispY=0})},repulsiveForces:function(){var e,t,n,i=this,r=i.options.bubblePadding;i.nodes.forEach(function(a){a.degree=a.mass,a.neighbours=0,i.nodes.forEach(function(o){e=0,a===o||a.fixedPosition||!i.options.seriesInteraction&&a.series!==o.series||(n=i.getDistXY(a,o),0>(t=i.vectorLength(n)-(a.marker.radius+o.marker.radius+r))&&(a.degree+=.01,a.neighbours++,e=i.repulsiveForce(-t/Math.sqrt(a.neighbours),i.k,a,o)),i.force("repulsive",a,e*o.mass,n,o,t))})})},applyLimitBox:function(e){if(this.options.splitSeries&&!e.isParentNode&&this.options.parentNodeLimit){var t=this.getDistXY(e,e.series.parentNode),n=e.series.parentNodeRadius-e.marker.radius-this.vectorLength(t);0>n&&n>-2*e.marker.radius&&(e.plotX-=.01*t.x,e.plotY-=.01*t.y)}i.prototype.applyLimitBox.apply(this,arguments)}}),r(e,"beforeRedraw",function(){this.allDataPoints&&delete this.allDataPoints})}),t(e,"Series/PackedBubble/PackedBubbleSeries.js",[e["Core/Color/Color.js"],e["Core/Globals.js"],e["Series/PackedBubble/PackedBubblePoint.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,n,i,r){var a,o=this&&this.__extends||(a=function(e,t){return(a=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])})(e,t)},function(e,t){function n(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=e.parse,l=i.series,c=i.seriesTypes.bubble,d=r.addEvent,u=r.clamp,p=r.defined,h=r.extend,m=r.fireEvent,g=r.isArray,f=r.isNumber,v=r.merge,y=r.pick,b=t.dragNodesMixin;return e=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.layout=void 0,t.options=void 0,t.points=void 0,t.xData=void 0,t}return o(n,e),n.prototype.accumulateAllPoints=function(e){var t,n,i=e.chart,r=[];for(t=0;t<i.series.length;t++)if((e=i.series[t]).is("packedbubble")&&e.visible||!i.options.chart.ignoreHiddenSeries)for(n=0;n<e.yData.length;n++)r.push([null,null,e.yData[n],e.index,n,{id:n,marker:{radius:0}}]);return r},n.prototype.addLayout=function(){var e=this.options.layoutAlgorithm,n=this.chart.graphLayoutsStorage,i=this.chart.graphLayoutsLookup,r=this.chart.options.chart;n||(this.chart.graphLayoutsStorage=n={},this.chart.graphLayoutsLookup=i=[]);var a=n[e.type];a||(e.enableSimulation=p(r.forExport)?!r.forExport:e.enableSimulation,n[e.type]=a=new t.layouts[e.type],a.init(e),i.splice(a.index,0,a)),this.layout=a,this.points.forEach(function(e){e.mass=2,e.degree=1,e.collisionNmb=1}),a.setArea(0,0,this.chart.plotWidth,this.chart.plotHeight),a.addElementsToCollection([this],a.series),a.addElementsToCollection(this.points,a.nodes)},n.prototype.addSeriesLayout=function(){var e=this.options.layoutAlgorithm,n=this.chart.graphLayoutsStorage,i=this.chart.graphLayoutsLookup,r=v(e,e.parentNodeOptions,{enableSimulation:this.layout.options.enableSimulation}),a=n[e.type+"-series"];a||(n[e.type+"-series"]=a=new t.layouts[e.type],a.init(r),i.splice(a.index,0,a)),this.parentNodeLayout=a,this.createParentNodes()},n.prototype.calculateParentRadius=function(){var e=this.seriesBox();this.parentNodeRadius=u(Math.sqrt(2*this.parentNodeMass/Math.PI)+20,20,e?Math.max(Math.sqrt(Math.pow(e.width,2)+Math.pow(e.height,2))/2+20,20):Math.sqrt(2*this.parentNodeMass/Math.PI)+20),this.parentNode&&(this.parentNode.marker.radius=this.parentNode.radius=this.parentNodeRadius)},n.prototype.calculateZExtremes=function(){var e=this.options.zMin,t=this.options.zMax,n=1/0,i=-1/0;return e&&t?[e,t]:(this.chart.series.forEach(function(e){e.yData.forEach(function(e){p(e)&&(e>i&&(i=e),e<n&&(n=e))})}),[e=y(e,n),t=y(t,i)])},n.prototype.checkOverlap=function(e,t){var n=e[0]-t[0],i=e[1]-t[1];return-.001>Math.sqrt(n*n+i*i)-Math.abs(e[2]+t[2])},n.prototype.createParentNodes=function(){var e,t=this,n=t.chart,i=t.parentNodeLayout,r=t.parentNode,a=t.pointClass,o=t.layout.options,l={radius:t.parentNodeRadius,lineColor:t.color,fillColor:s(t.color).brighten(.4).get()};o.parentNodeOptions&&(l=v(o.parentNodeOptions.marker||{},l)),t.parentNodeMass=0,t.points.forEach(function(e){t.parentNodeMass+=Math.PI*Math.pow(e.marker.radius,2)}),t.calculateParentRadius(),i.nodes.forEach(function(n){n.seriesIndex===t.index&&(e=!0)}),i.setArea(0,0,n.plotWidth,n.plotHeight),e||(r||(r=(new a).init(this,{mass:t.parentNodeRadius/2,marker:l,dataLabels:{inside:!1},states:{normal:{marker:l},hover:{marker:l}},dataLabelOnNull:!0,degree:t.parentNodeRadius,isParentNode:!0,seriesIndex:t.index})),t.parentNode&&(r.plotX=t.parentNode.plotX,r.plotY=t.parentNode.plotY),t.parentNode=r,i.addElementsToCollection([t],i.series),i.addElementsToCollection([r],i.nodes))},n.prototype.deferLayout=function(){var e=this.options.layoutAlgorithm;this.visible&&(this.addLayout(),e.splitSeries&&this.addSeriesLayout())},n.prototype.destroy=function(){this.chart.graphLayoutsLookup&&this.chart.graphLayoutsLookup.forEach(function(e){e.removeElementFromCollection(this,e.series)},this),this.parentNode&&this.parentNodeLayout&&(this.parentNodeLayout.removeElementFromCollection(this.parentNode,this.parentNodeLayout.nodes),this.parentNode.dataLabel&&(this.parentNode.dataLabel=this.parentNode.dataLabel.destroy())),l.prototype.destroy.apply(this,arguments)},n.prototype.drawDataLabels=function(){var e=this.options.dataLabels.textPath,t=this.points;l.prototype.drawDataLabels.apply(this,arguments),this.parentNode&&(this.parentNode.formatPrefix="parentNode",this.points=[this.parentNode],this.options.dataLabels.textPath=this.options.dataLabels.parentNodeTextPath,l.prototype.drawDataLabels.apply(this,arguments),this.points=t,this.options.dataLabels.textPath=e)},n.prototype.drawGraph=function(){if(this.layout&&this.layout.options.splitSeries){var e=this.chart,t=this.layout.options.parentNodeOptions.marker,n={fill:t.fillColor||s(this.color).brighten(.4).get(),opacity:t.fillOpacity,stroke:t.lineColor||this.color,"stroke-width":y(t.lineWidth,this.options.lineWidth)};this.parentNodesGroup||(this.parentNodesGroup=this.plotGroup("parentNodesGroup","parentNode",this.visible?"inherit":"hidden",.1,e.seriesGroup),this.group.attr({zIndex:2})),this.calculateParentRadius(),t=v({x:this.parentNode.plotX-this.parentNodeRadius,y:this.parentNode.plotY-this.parentNodeRadius,width:2*this.parentNodeRadius,height:2*this.parentNodeRadius},n),this.parentNode.graphic||(this.graph=this.parentNode.graphic=e.renderer.symbol(n.symbol).add(this.parentNodesGroup)),this.parentNode.graphic.attr(t)}},n.prototype.drawTracker=function(){var t=this.parentNode;if(e.prototype.drawTracker.call(this),t){var n=g(t.dataLabels)?t.dataLabels:t.dataLabel?[t.dataLabel]:[];t.graphic&&(t.graphic.element.point=t),n.forEach(function(e){e.div?e.div.point=t:e.element.point=t})}},n.prototype.getPointRadius=function(){var e,t,n,i,r=this,a=r.chart,o=r.options,s=o.useSimulation,l=Math.min(a.plotWidth,a.plotHeight),c={},d=[],p=a.allDataPoints;["minSize","maxSize"].forEach(function(e){var t=parseInt(o[e],10),n=/%$/.test(o[e]);c[e]=n?l*t/100:t*Math.sqrt(p.length)}),a.minRadius=e=c.minSize/Math.sqrt(p.length),a.maxRadius=t=c.maxSize/Math.sqrt(p.length);var h=s?r.calculateZExtremes():[e,t];(p||[]).forEach(function(a,o){n=s?u(a[2],h[0],h[1]):a[2],0===(i=r.getRadius(h[0],h[1],e,t,n))&&(i=null),p[o][2]=i,d.push(i)}),r.radii=d},n.prototype.init=function(){return l.prototype.init.apply(this,arguments),this.eventsToUnbind.push(d(this,"updatedData",function(){this.chart.series.forEach(function(e){e.type===this.type&&(e.isDirty=!0)},this)})),this},n.prototype.onMouseUp=function(e){if(e.fixedPosition&&!e.removed){var t,n=this.layout,i=this.parentNodeLayout;i&&n.options.dragBetweenSeries&&i.nodes.forEach(function(i){e&&e.marker&&i!==e.series.parentNode&&(t=n.getDistXY(e,i),0>n.vectorLength(t)-i.marker.radius-e.marker.radius&&(i.series.addPoint(v(e.options,{plotX:e.plotX,plotY:e.plotY}),!1),n.removeElementFromCollection(e,n.nodes),e.remove()))}),b.onMouseUp.apply(this,arguments)}},n.prototype.placeBubbles=function(e){var t,n=this.checkOverlap,i=this.positionBubble,r=[],a=1,o=0,s=0,l=[];if((e=e.sort(function(e,t){return t[2]-e[2]})).length){if(r.push([[0,0,e[0][2],e[0][3],e[0][4]]]),1<e.length)for(r.push([[0,0-e[1][2]-e[0][2],e[1][2],e[1][3],e[1][4]]]),t=2;t<e.length;t++)e[t][2]=e[t][2]||1,n(l=i(r[a][o],r[a-1][s],e[t]),r[a][0])?(r.push([]),s=0,r[a+1].push(i(r[a][o],r[a][0],e[t])),a++,o=0):1<a&&r[a-1][s+1]&&n(l,r[a-1][s+1])?(s++,r[a].push(i(r[a][o],r[a-1][s],e[t])),o++):(o++,r[a].push(l));this.chart.stages=r,this.chart.rawPositions=[].concat.apply([],r),this.resizeRadius(),l=this.chart.rawPositions}return l},n.prototype.pointAttribs=function(e,t){var n=this.options,i=n.marker;return e&&e.isParentNode&&n.layoutAlgorithm&&n.layoutAlgorithm.parentNodeOptions&&(i=n.layoutAlgorithm.parentNodeOptions.marker),n=i.fillOpacity,e=l.prototype.pointAttribs.call(this,e,t),1!==n&&(e["fill-opacity"]=n),e},n.prototype.positionBubble=function(e,t,n){var i=Math.sqrt,r=Math.asin,a=Math.acos,o=Math.pow,s=Math.abs;return i=i(o(e[0]-t[0],2)+o(e[1]-t[1],2)),a=a((o(i,2)+o(n[2]+t[2],2)-o(n[2]+e[2],2))/(2*(n[2]+t[2])*i)),r=r(s(e[0]-t[0])/i),e=(0>e[1]-t[1]?0:Math.PI)+a+r*(0>(e[0]-t[0])*(e[1]-t[1])?1:-1),[t[0]+(t[2]+n[2])*Math.sin(e),t[1]-(t[2]+n[2])*Math.cos(e),n[2],n[3],n[4]]},n.prototype.render=function(){var e=[];l.prototype.render.apply(this,arguments),this.options.dataLabels.allowOverlap||(this.data.forEach(function(t){g(t.dataLabels)&&t.dataLabels.forEach(function(t){e.push(t)})}),this.options.useSimulation&&this.chart.hideOverlappingLabels(e))},n.prototype.resizeRadius=function(){var e,t,n,i=this.chart,r=i.rawPositions,a=Math.min,o=Math.max,s=i.plotLeft,l=i.plotTop,c=i.plotHeight,d=i.plotWidth,u=e=Number.POSITIVE_INFINITY,p=t=Number.NEGATIVE_INFINITY;for(n=0;n<r.length;n++){var h=r[n][2];u=a(u,r[n][0]-h),p=o(p,r[n][0]+h),e=a(e,r[n][1]-h),t=o(t,r[n][1]+h)}if(a=a.apply([],[(d-s)/(n=[p-u,t-e])[0],(c-l)/n[1]]),1e-10<Math.abs(a-1)){for(n=0;n<r.length;n++)r[n][2]*=a;this.placeBubbles(r)}else i.diffY=c/2+l-e-(t-e)/2,i.diffX=d/2+s-u-(p-u)/2},n.prototype.seriesBox=function(){var e,t=this.chart,n=Math.max,i=Math.min,r=[t.plotLeft,t.plotLeft+t.plotWidth,t.plotTop,t.plotTop+t.plotHeight];return this.data.forEach(function(t){p(t.plotX)&&p(t.plotY)&&t.marker.radius&&(r[0]=i(r[0],t.plotX-(e=t.marker.radius)),r[1]=n(r[1],t.plotX+e),r[2]=i(r[2],t.plotY-e),r[3]=n(r[3],t.plotY+e))}),f(r.width/r.height)?r:null},n.prototype.setVisible=function(){var e=this;l.prototype.setVisible.apply(e,arguments),e.parentNodeLayout&&e.graph?e.visible?(e.graph.show(),e.parentNode.dataLabel&&e.parentNode.dataLabel.show()):(e.graph.hide(),e.parentNodeLayout.removeElementFromCollection(e.parentNode,e.parentNodeLayout.nodes),e.parentNode.dataLabel&&e.parentNode.dataLabel.hide()):e.layout&&(e.visible?e.layout.addElementsToCollection(e.points,e.layout.nodes):e.points.forEach(function(t){e.layout.removeElementFromCollection(t,e.layout.nodes)}))},n.prototype.translate=function(){var e,t=this.chart,n=this.data,i=this.index,r=this.options.useSimulation;if(this.processedXData=this.xData,this.generatePoints(),p(t.allDataPoints)||(t.allDataPoints=this.accumulateAllPoints(this),this.getPointRadius()),r)var a=t.allDataPoints;else a=this.placeBubbles(t.allDataPoints),this.options.draggable=!1;for(e=0;e<a.length;e++)if(a[e][3]===i){var o=n[a[e][4]],s=y(a[e][2],void 0);r||(o.plotX=a[e][0]-t.plotLeft+t.diffX,o.plotY=a[e][1]-t.plotTop+t.diffY),f(s)&&(o.marker=h(o.marker,{radius:s,width:2*s,height:2*s}),o.radius=s)}r&&this.deferLayout(),m(this,"afterTranslate")},n.defaultOptions=v(c.defaultOptions,{minSize:"10%",maxSize:"50%",sizeBy:"area",zoneAxis:"y",crisp:!1,tooltip:{pointFormat:"Value: {point.value}"},draggable:!0,useSimulation:!0,parentNode:{allowPointSelect:!1},dataLabels:{formatter:function(){var e=this.series.chart.numberFormatter,t=this.point.value;return f(t)?e(t,-1):""},parentNodeFormatter:function(){return this.name},parentNodeTextPath:{enabled:!0},padding:0,style:{transition:"opacity 2000ms"}},layoutAlgorithm:{initialPositions:"circle",initialPositionRadius:20,bubblePadding:5,parentNodeLimit:!1,seriesInteraction:!0,dragBetweenSeries:!1,parentNodeOptions:{maxIterations:400,gravitationalConstant:.03,maxSpeed:50,initialPositionRadius:100,seriesInteraction:!0,marker:{fillColor:null,fillOpacity:1,lineWidth:null,lineColor:null,symbol:"circle"}},enableSimulation:!0,type:"packedbubble",integration:"packedbubble",maxIterations:1e3,splitSeries:!1,maxSpeed:5,gravitationalConstant:.01,friction:-.981}}),n}(c),h(e.prototype,{alignDataLabel:l.prototype.alignDataLabel,axisTypes:[],directTouch:!0,forces:["barycenter","repulsive"],hasDraggableNodes:!0,isCartesian:!1,noSharedTooltip:!0,onMouseDown:b.onMouseDown,onMouseMove:b.onMouseMove,pointArrayMap:["value"],pointClass:n,pointValKey:"value",redrawHalo:b.redrawHalo,requireSorting:!1,searchPoint:t.noop,trackerGroups:["group","dataLabelsGroup","parentNodesGroup"]}),i.registerSeriesType("packedbubble",e),e}),t(e,"Series/Polygon/PolygonSeries.js",[e["Core/Globals.js"],e["Core/Legend/LegendSymbol.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"]],function(e,t,n,i){var r,a=this&&this.__extends||(r=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});e=e.noop;var o=n.series,s=n.seriesTypes,l=s.area,c=s.line,d=s.scatter,u=i.merge;return(s=i.extend)((i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.data=void 0,t.options=void 0,t.points=void 0,t}return a(t,e),t.prototype.getGraphPath=function(){for(var e=c.prototype.getGraphPath.call(this),t=e.length+1;t--;)(t===e.length||"M"===e[t][0])&&0<t&&e.splice(t,0,["Z"]);return this.areaPath=e},t.prototype.drawGraph=function(){this.options.fillColor=this.color,l.prototype.drawGraph.call(this)},t.defaultOptions=u(d.defaultOptions,{marker:{enabled:!1,states:{hover:{enabled:!1}}},stickyTracking:!1,tooltip:{followPointer:!0,pointFormat:""},trackByArea:!0}),t}(d)).prototype,{type:"polygon",drawLegendSymbol:t.drawRectangle,drawTracker:o.prototype.drawTracker,setStackedPoints:e}),n.registerSeriesType("polygon",i),i}),t(e,"Core/Axis/WaterfallAxis.js",[e["Extensions/Stacking.js"],e["Core/Utilities.js"]],function(e,t){var n,i=t.addEvent,r=t.objectEach;return function(t){function n(){var e=this.waterfall.stacks;e&&(e.changed=!1,delete e.alreadyChanged)}function a(){var e=this.options.stackLabels;e&&e.enabled&&this.waterfall.stacks&&this.waterfall.renderStackTotals()}function o(){for(var e=this.axes,t=this.series,n=t.length;n--;)t[n].options.stacking&&(e.forEach(function(e){e.isXAxis||(e.waterfall.stacks.changed=!0)}),n=0)}function s(){this.waterfall||(this.waterfall=new l(this))}var l=function(){function t(e){this.axis=e,this.stacks={changed:!1}}return t.prototype.renderStackTotals=function(){var t=this.axis,n=t.waterfall.stacks,i=t.stacking&&t.stacking.stackTotalGroup,a=new e(t,t.options.stackLabels,!1,0,void 0);this.dummyStackItem=a,r(n,function(t){r(t,function(t){a.total=t.stackTotal,t.label&&(a.label=t.label),e.prototype.render.call(a,i),t.label=a.label,delete a.label})}),a.total=null},t}();t.Composition=l,t.compose=function(e,t){i(e,"init",s),i(e,"afterBuildStacks",n),i(e,"afterRender",a),i(t,"beforeRedraw",o)}}(n||(n={})),n}),t(e,"Series/Waterfall/WaterfallPoint.js",[e["Series/Column/ColumnSeries.js"],e["Core/Series/Point.js"],e["Core/Utilities.js"]],function(e,t,n){var i,r=this&&this.__extends||(i=function(e,t){return(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])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=n.isNumber;return function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.options=void 0,t.series=void 0,t}return r(n,e),n.prototype.getClassName=function(){var e=t.prototype.getClassName.call(this);return this.isSum?e+=" highcharts-sum":this.isIntermediateSum&&(e+=" highcharts-intermediate-sum"),e},n.prototype.isValid=function(){return a(this.y)||this.isSum||!!this.isIntermediateSum},n}(e.prototype.pointClass)}),t(e,"Series/Waterfall/WaterfallSeries.js",[e["Core/Axis/Axis.js"],e["Core/Chart/Chart.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Utilities.js"],e["Core/Axis/WaterfallAxis.js"],e["Series/Waterfall/WaterfallPoint.js"]],function(e,t,n,i,r,a){var o,s=this&&this.__extends||(o=function(e,t){return(o=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])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),l=n.seriesTypes,c=l.column,d=l.line,u=i.arrayMax,p=i.arrayMin,h=i.correctFloat;l=i.extend;var m=i.isNumber,g=i.merge,f=i.objectEach,v=i.pick;return i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.chart=void 0,t.data=void 0,t.options=void 0,t.points=void 0,t.stackedYNeg=void 0,t.stackedYPos=void 0,t.stackKey=void 0,t.xData=void 0,t.yAxis=void 0,t.yData=void 0,t}return s(t,e),t.prototype.generatePoints=function(){var e;c.prototype.generatePoints.apply(this);var t=0;for(e=this.points.length;t<e;t++){var n=this.points[t];(n.isIntermediateSum||n.isSum)&&(n.y=h(this.processedYData[t]))}},t.prototype.translate=function(){var e=this.options,t=this.yAxis,n=v(e.minPointLength,5),i=n/2,r=e.threshold||0,a=r,o=r;e=e.stacking;var s=t.waterfall.stacks[this.stackKey];c.prototype.translate.apply(this);for(var l=this.points,d=0;d<l.length;d++){var u=l[d],p=this.processedYData[d],h=u.shapeArgs;if(h&&m(p)){var g=[0,p],f=u.y;if(e){if(s){if(g=s[d],"overlap"===e){var y=g.stackState[g.stateIndex--];y=0<=f?y:y-f,Object.hasOwnProperty.call(g,"absolutePos")&&delete g.absolutePos,Object.hasOwnProperty.call(g,"absoluteNeg")&&delete g.absoluteNeg}else 0<=f?(y=g.threshold+g.posTotal,g.posTotal-=f):(y=g.threshold+g.negTotal,g.negTotal-=f,y-=f),!g.posTotal&&Object.hasOwnProperty.call(g,"absolutePos")&&(g.posTotal=g.absolutePos,delete g.absolutePos),!g.negTotal&&Object.hasOwnProperty.call(g,"absoluteNeg")&&(g.negTotal=g.absoluteNeg,delete g.absoluteNeg);u.isSum||(g.connectorThreshold=g.threshold+g.stackTotal),t.reversed?(p=0<=f?y-f:y+f,f=y):(p=y,f=y-f),u.below=p<=r,h.y=t.translate(p,!1,!0,!1,!0)||0,h.height=Math.abs(h.y-(t.translate(f,!1,!0,!1,!0)||0)),(f=t.waterfall.dummyStackItem)&&(f.x=d,f.label=s[d].label,f.setOffset(this.pointXOffset||0,this.barW||0,this.stackedYNeg[d],this.stackedYPos[d]))}}else y=Math.max(a,a+f)+g[0],h.y=t.translate(y,!1,!0,!1,!0)||0,u.isSum?(h.y=t.translate(g[1],!1,!0,!1,!0)||0,h.height=Math.min(t.translate(g[0],!1,!0,!1,!0)||0,t.len)-h.y,u.below=g[1]<=r):u.isIntermediateSum?(0<=f?(p=g[1]+o,f=o):(p=o,f=g[1]+o),t.reversed&&(p^=f,p^=f^=p),h.y=t.translate(p,!1,!0,!1,!0)||0,h.height=Math.abs(h.y-Math.min(t.translate(f,!1,!0,!1,!0)||0,t.len)),o+=g[1],u.below=p<=r):(h.height=0<p?(t.translate(a,!1,!0,!1,!0)||0)-h.y:(t.translate(a,!1,!0,!1,!0)||0)-(t.translate(a-p,!1,!0,!1,!0)||0),u.below=(a+=p)<r),0>h.height&&(h.y+=h.height,h.height*=-1);u.plotY=h.y=Math.round(h.y||0)-this.borderWidth%2/2,h.height=Math.max(Math.round(h.height||0),.001),u.yBottom=h.y+h.height,h.height<=n&&!u.isNull?(h.height=n,h.y-=i,u.plotY=h.y,u.minPointLengthOffset=0>u.y?-i:i):(u.isNull&&(h.width=0),u.minPointLengthOffset=0),f=u.plotY+(u.negative?h.height:0),u.below&&(u.plotY+=h.height),u.tooltipPos&&(this.chart.inverted?u.tooltipPos[0]=t.len-f:u.tooltipPos[1]=f)}}},t.prototype.processData=function(t){var n,i,r,a,o,s=this.options,l=this.yData,c=s.data,d=l.length,u=s.threshold||0;for(o=i=n=r=a=0;o<d;o++){var p=l[o],m=c&&c[o]?c[o]:{};"sum"===p||m.isSum?l[o]=h(i):"intermediateSum"===p||m.isIntermediateSum?(l[o]=h(n),n=0):(i+=p,n+=p),r=Math.min(i,r),a=Math.max(i,a)}e.prototype.processData.call(this,t),s.stacking||(this.dataMin=r+u,this.dataMax=a)},t.prototype.toYData=function(e){return e.isSum?"sum":e.isIntermediateSum?"intermediateSum":e.y},t.prototype.updateParallelArrays=function(t,n){e.prototype.updateParallelArrays.call(this,t,n),"sum"!==this.yData[0]&&"intermediateSum"!==this.yData[0]||(this.yData[0]=null)},t.prototype.pointAttribs=function(e,t){var n=this.options.upColor;return n&&!e.options.color&&(e.color=0<e.y?n:null),delete(e=c.prototype.pointAttribs.call(this,e,t)).dashstyle,e},t.prototype.getGraphPath=function(){return[["M",0,0]]},t.prototype.getCrispPath=function(){var e,t=this.data,n=this.yAxis,i=t.length,r=Math.round(this.graph.strokeWidth())%2/2,a=Math.round(this.borderWidth)%2/2,o=this.xAxis.reversed,s=this.yAxis.reversed,l=this.options.stacking,c=[];for(e=1;e<i;e++){var d=t[e].shapeArgs,u=t[e-1],p=t[e-1].shapeArgs,h=n.waterfall.stacks[this.stackKey],m=0<u.y?-p.height:0;h&&p&&d&&(h=h[e-1],l?(h=h.connectorThreshold,m=Math.round(n.translate(h,0,1,0,1)+(s?m:0))-r):m=p.y+u.minPointLengthOffset+a-r,c.push(["M",(p.x||0)+(o?0:p.width||0),m],["L",(d.x||0)+(o&&d.width||0),m])),p&&c.length&&(!l&&0>u.y&&!s||0<u.y&&s)&&((u=c[c.length-2])&&"number"==typeof u[2]&&(u[2]+=p.height||0),(u=c[c.length-1])&&"number"==typeof u[2]&&(u[2]+=p.height||0))}return c},t.prototype.drawGraph=function(){d.prototype.drawGraph.call(this),this.graph.attr({d:this.getCrispPath()})},t.prototype.setStackedPoints=function(){function e(e,t,n,i){if(x)for(;n<x;n++)f.stackState[n]+=i;else f.stackState[0]=e,x=f.stackState.length;f.stackState.push(f.stackState[x-1]+t)}var t,n,i,r=this.options,a=this.yAxis.waterfall.stacks,o=r.threshold,s=o||0,l=s,c=this.stackKey,d=this.xData,u=d.length;this.yAxis.stacking.usePercentage=!1;var p=n=i=s;if(this.visible||!this.chart.options.chart.ignoreHiddenSeries){var h=a.changed;(t=a.alreadyChanged)&&0>t.indexOf(c)&&(h=!0),a[c]||(a[c]={}),t=a[c];for(var m=0;m<u;m++){var g=d[m];t[g]&&!h||(t[g]={negTotal:0,posTotal:0,stackTotal:0,threshold:0,stateIndex:0,stackState:[],label:h&&t[g]?t[g].label:void 0});var f=t[g],v=this.yData[m];0<=v?f.posTotal+=v:f.negTotal+=v;var y=r.data[m];g=f.absolutePos=f.posTotal;var b=f.absoluteNeg=f.negTotal;f.stackTotal=g+b;var x=f.stackState.length;y&&y.isIntermediateSum?(e(i,n,0,i),i=n,n=o,s^=l,s^=l^=s):y&&y.isSum?(e(o,p,x),s=o):(e(s,v,0,p),y&&(p+=v,n+=v)),f.stateIndex++,f.threshold=s,s+=f.stackTotal}a.changed=!1,a.alreadyChanged||(a.alreadyChanged=[]),a.alreadyChanged.push(c)}},t.prototype.getExtremes=function(){var e=this.options.stacking;if(e){var t=this.yAxis;t=t.waterfall.stacks;var n=this.stackedYNeg=[],i=this.stackedYPos=[];return f(t[this.stackKey],"overlap"===e?function(e){n.push(p(e.stackState)),i.push(u(e.stackState))}:function(e){n.push(e.negTotal+e.threshold),i.push(e.posTotal+e.threshold)}),{dataMin:p(n),dataMax:u(i)}}return{dataMin:this.dataMin,dataMax:this.dataMax}},t.defaultOptions=g(c.defaultOptions,{dataLabels:{inside:!0},lineWidth:1,lineColor:"#333333",dashStyle:"Dot",borderColor:"#333333",states:{hover:{lineWidthPlus:0}}}),t}(c),l(i.prototype,{getZonesGraphs:d.prototype.getZonesGraphs,pointValKey:"y",showLine:!0,pointClass:a}),n.registerSeriesType("waterfall",i),r.compose(e,t),i}),t(e,"Extensions/Polar.js",[e["Core/Animation/AnimationUtilities.js"],e["Core/Chart/Chart.js"],e["Core/Globals.js"],e["Extensions/Pane.js"],e["Core/Pointer.js"],e["Core/Series/Series.js"],e["Core/Series/SeriesRegistry.js"],e["Core/Renderer/SVG/SVGRenderer.js"],e["Core/Utilities.js"]],function(e,t,n,i,r,a,o,s,l){var c=e.animObject;o=o.seriesTypes;var d=l.addEvent,u=l.defined,p=l.find,h=l.isNumber,m=l.pick,g=l.splat,f=l.uniqueKey;e=l.wrap;var v=a.prototype;r=r.prototype,v.searchPointByAngle=function(e){var t=this.chart,n=this.xAxis.pane.center;return this.searchKDTree({clientX:180+-180/Math.PI*Math.atan2(e.chartX-n[0]-t.plotLeft,e.chartY-n[1]-t.plotTop)})},v.getConnectors=function(e,t,n,i){var r=i?1:0,a=0<=t&&t<=e.length-1?t:0>t?e.length-1+t:0,o=e[t=0>a-1?e.length-(1+r):a-1],s=o.plotX,l=(r=e[r=a+1>e.length-1?r:a+1]).plotX,c=r.plotY;s=(1.5*(r=e[a].plotX)+s)/2.5,o=(1.5*(a=e[a].plotY)+(o=o.plotY))/2.5,l=(1.5*r+l)/2.5;var d=(1.5*a+c)/2.5;c=Math.sqrt(Math.pow(s-r,2)+Math.pow(o-a,2));var u=Math.sqrt(Math.pow(l-r,2)+Math.pow(d-a,2));return s=Math.atan2(o-a,s-r),d=Math.PI/2+(s+Math.atan2(d-a,l-r))/2,Math.abs(s-d)>Math.PI/2&&(d-=Math.PI),s=r+Math.cos(d)*c,o=a+Math.sin(d)*c,r={rightContX:l=r+Math.cos(Math.PI+d)*u,rightContY:d=a+Math.sin(Math.PI+d)*u,leftContX:s,leftContY:o,plotX:r,plotY:a},n&&(r.prevPointCont=this.getConnectors(e,t,!1,i)),r},v.toXY=function(e){var t=this.chart,n=this.xAxis,i=this.yAxis,r=e.plotX,a=e.plotY,o=e.series,s=t.inverted,l=e.y,c=s?r:i.len-a;s&&o&&!o.isRadialBar&&(e.plotY=a="number"==typeof l&&i.translate(l)||0),e.rectPlotX=r,e.rectPlotY=a,i.center&&(c+=i.center[3]/2),h(a)&&(i=s?i.postTranslate(a,c):n.postTranslate(r,c),e.plotX=e.polarPlotX=i.x-t.plotLeft,e.plotY=e.polarPlotY=i.y-t.plotTop),this.kdByAngle?(0>(t=(r/Math.PI*180+n.pane.options.startAngle)%360)&&(t+=360),e.clientX=t):e.clientX=e.plotX},o.spline&&(e(o.spline.prototype,"getPointSpline",function(e,t,n,i){return this.chart.polar?i?(n=(e=this.getConnectors(t,i,!0,this.connectEnds)).prevPointCont&&e.prevPointCont.rightContY,e=["C",h(t=e.prevPointCont&&e.prevPointCont.rightContX)?t:e.plotX,h(n)?n:e.plotY,h(e.leftContX)?e.leftContX:e.plotX,h(e.leftContY)?e.leftContY:e.plotY,e.plotX,e.plotY]):e=["M",n.plotX,n.plotY]:e=e.call(this,t,n,i),e}),o.areasplinerange&&(o.areasplinerange.prototype.getPointSpline=o.spline.prototype.getPointSpline)),d(a,"afterTranslate",function(){var e=this.chart;if(e.polar&&this.xAxis){if((this.kdByAngle=e.tooltip&&e.tooltip.shared)?this.searchPoint=this.searchPointByAngle:this.options.findNearestPointBy="xy",!this.preventPostTranslate)for(var t=this.points,i=t.length;i--;)this.toXY(t[i]),!e.hasParallelCoordinates&&!this.yAxis.reversed&&t[i].y<this.yAxis.min&&(t[i].isNull=!0);this.hasClipCircleSetter||(this.hasClipCircleSetter=!!this.eventsToUnbind.push(d(this,"afterRender",function(){if(e.polar){var t=this.yAxis.pane.center;this.clipCircle?this.clipCircle.animate({x:t[0],y:t[1],r:t[2]/2,innerR:t[3]/2}):this.clipCircle=e.renderer.clipCircle(t[0],t[1],t[2]/2,t[3]/2),this.group.clip(this.clipCircle),this.setClip=n.noop}})))}},{order:2}),e(o.line.prototype,"getGraphPath",function(e,t){var n,i=this;if(this.chart.polar){for(t=t||this.points,n=0;n<t.length;n++)if(!t[n].isNull){var r=n;break}if(!1!==this.options.connectEnds&&void 0!==r){this.connectEnds=!0,t.splice(t.length,0,t[r]);var a=!0}t.forEach(function(e){void 0===e.polarPlotY&&i.toXY(e)})}return n=e.apply(this,[].slice.call(arguments,1)),a&&t.pop(),n});var y=function(e,t){var i,r,a,o,s=this,l=this.chart,d=this.options.animation,u=this.group,p=this.markerGroup,h=this.xAxis&&this.xAxis.center,g=l.plotLeft,f=l.plotTop;if(l.polar){if(s.isRadialBar)t||(s.startAngleRad=m(s.translatedThreshold,s.xAxis.startAngleRad),n.seriesTypes.pie.prototype.animate.call(s,t));else if(l.renderer.isSVG)if(d=c(d),s.is("column")){if(!t){var v=h[3]/2;s.points.forEach(function(e){a=(r=e.shapeArgs)&&r.r,o=r&&r.innerR,(i=e.graphic)&&r&&(i.attr({r:v,innerR:v}),i.animate({r:a,innerR:o},s.options.animation))})}}else t?(u.attr(e={translateX:h[0]+g,translateY:h[1]+f,scaleX:.001,scaleY:.001}),p&&p.attr(e)):(u.animate(e={translateX:g,translateY:f,scaleX:1,scaleY:1},d),p&&p.animate(e,d))}else e.call(this,t)};if(e(v,"animate",y),o.column){var b=o.arearange.prototype;(o=o.column.prototype).polarArc=function(e,t,n,i){var r=this.xAxis.center,a=this.yAxis.len,o=r[3]/2;return t=a-t+o,e=a-m(e,a)+o,this.yAxis.reversed&&(0>t&&(t=o),0>e&&(e=o)),{x:r[0],y:r[1],r:t,innerR:e,start:n,end:i}},e(o,"animate",y),e(o,"translate",function(e){var t=this.options,n=t.stacking,i=this.chart,r=this.xAxis,a=this.yAxis,o=a.reversed,s=a.center,c=r.startAngleRad,d=r.endAngleRad-c;if(this.preventPostTranslate=!0,e.call(this),r.isRadial){r=(e=this.points).length;var p=a.translate(a.min),m=a.translate(a.max);if(t=t.threshold||0,i.inverted&&h(t)){var g=a.translate(t);u(g)&&(0>g?g=0:g>d&&(g=d),this.translatedThreshold=g+c)}for(;r--;){var f=(t=e[r]).barX,v=t.x,y=t.y;if(t.shapeType="arc",i.inverted){if(t.plotY=a.translate(y),n&&a.stacking){if(y=a.stacking.stacks[(0>y?"-":"")+this.stackKey],this.visible&&y&&y[v]&&!t.isNull){var b=y[v].points[this.getStackIndicator(void 0,v,this.index).key],x=a.translate(b[0]);b=a.translate(b[1]),u(x)&&(x=l.clamp(x,0,d))}}else x=g,b=t.plotY;x>b&&(b=[x,x=b][0]),o?b>p?b=p:x<m?x=m:(x>p||b<m)&&(x=b=d):x<p?x=p:b>m?b=m:(b<p||x>m)&&(x=b=0),a.min>a.max&&(x=b=o?d:0),x+=c,b+=c,s&&(t.barX=f+=s[3]/2),v=Math.max(f,0),y=Math.max(f+t.pointWidth,0),t.shapeArgs={x:s&&s[0],y:s&&s[1],r:y,innerR:v,start:x,end:b},t.opacity=x===b?0:void 0,t.plotY=(u(this.translatedThreshold)&&(x<this.translatedThreshold?x:b))-c}else t.shapeArgs=this.polarArc(t.yBottom,t.plotY,x=f+c,x+t.pointWidth);this.toXY(t),i.inverted?(f=a.postTranslate(t.rectPlotY,f+t.pointWidth/2),t.tooltipPos=[f.x-i.plotLeft,f.y-i.plotTop]):t.tooltipPos=[t.plotX,t.plotY],s&&(t.ttBelow=t.plotY>s[1])}}}),o.findAlignments=function(e,t){return null===t.align&&(t.align=20<e&&160>e?"left":200<e&&340>e?"right":"center"),null===t.verticalAlign&&(t.verticalAlign=45>e||315<e?"bottom":135<e&&225>e?"top":"middle"),t},b&&(b.findAlignments=o.findAlignments),e(o,"alignDataLabel",function(e,t,n,i,r,a){var o=this.chart,s=m(i.inside,!!this.options.stacking);o.polar?(e=t.rectPlotX/Math.PI*180,o.inverted?(this.forceDL=o.isInsidePlot(t.plotX,Math.round(t.plotY)),s&&t.shapeArgs?r={x:(r=this.yAxis.postTranslate((((r=t.shapeArgs).start||0)+(r.end||0))/2-this.xAxis.startAngleRad,t.barX+t.pointWidth/2)).x-o.plotLeft,y:r.y-o.plotTop}:t.tooltipPos&&(r={x:t.tooltipPos[0],y:t.tooltipPos[1]}),i.align=m(i.align,"center"),i.verticalAlign=m(i.verticalAlign,"middle")):this.findAlignments&&(i=this.findAlignments(e,i)),v.alignDataLabel.call(this,t,n,i,r,a),this.isRadialBar&&t.shapeArgs&&t.shapeArgs.start===t.shapeArgs.end&&n.hide(!0)):e.call(this,t,n,i,r,a)})}e(r,"getCoordinates",function(e,t){var n=this.chart,i={xAxis:[],yAxis:[]};return n.polar?n.axes.forEach(function(e){var r=e.isXAxis,a=e.center;if("colorAxis"!==e.coll){var o=t.chartX-a[0]-n.plotLeft;a=t.chartY-a[1]-n.plotTop,i[r?"xAxis":"yAxis"].push({axis:e,value:e.translate(r?Math.PI-Math.atan2(o,a):Math.sqrt(Math.pow(o,2)+Math.pow(a,2)),!0)})}}):i=e.call(this,t),i}),s.prototype.clipCircle=function(e,t,n,i){var r=f(),a=this.createElement("clipPath").attr({id:r}).add(this.defs);return(e=i?this.arc(e,t,n,i,0,2*Math.PI).add(a):this.circle(e,t,n).add(a)).id=r,e.clipPath=a,e},d(t,"getAxes",function(){this.pane||(this.pane=[]),this.options.pane=g(this.options.pane),this.options.pane.forEach(function(e){new i(e,this)},this)}),d(t,"afterDrawChartBox",function(){this.pane.forEach(function(e){e.render()})}),d(a,"afterInit",function(){var e=this.chart;e.inverted&&e.polar&&(this.isRadialSeries=!0,this.is("column")&&(this.isRadialBar=!0))}),e(t.prototype,"get",function(e,t){return p(this.pane||[],function(e){return e.options.id===t})||e.call(this,t)})}),t(e,"masters/highcharts-more.src.js",[e["Core/Globals.js"],e["Core/Axis/RadialAxis.js"],e["Series/Bubble/BubbleSeries.js"]],function(e,t,n){t.compose(e.Axis,e.Tick),n.compose(e.Chart,e.Legend,e.Series)})},e.exports?(a.default=a,e.exports=a):(i=[n("6n/F")],void 0===(r=(function(e){return a(e),a.Highcharts=e,a}).apply(t,i))||(e.exports=r))},NFeN:function(e,t,n){"use strict";n.d(t,"a",function(){return B}),n.d(t,"b",function(){return z});var i=n("ODXe"),r=n("Ji7U"),a=n("LK+K"),o=n("vuIU"),s=n("1OyB"),l=n("fXoL"),c=n("FKr1"),d=n("8LU1"),u=n("ofXK"),p=n("LRne"),h=n("z6cu"),m=n("cp0P"),g=n("quSY"),f=n("vkgz"),v=n("lJxs"),y=n("JIr8"),b=n("nYR2"),x=n("w1tV"),_=n("IzEk"),w=n("tk/3"),S=n("jhN1"),C=["*"];function k(e){return Error('Unable to find icon with the name "'.concat(e,'"'))}function O(e){return Error("The URL provided to MatIconRegistry was not trusted as a resource URL "+"via Angular's DomSanitizer. Attempted URL was \"".concat(e,'".'))}function E(e){return Error("The literal provided to MatIconRegistry was not trusted as safe HTML by "+"Angular's DomSanitizer. Attempted literal was \"".concat(e,'".'))}var M=Object(o.a)(function e(t,n,i){Object(s.a)(this,e),this.url=t,this.svgText=n,this.options=i}),I=function(){var e=function(){function e(t,n,i,r){Object(s.a)(this,e),this._httpClient=t,this._sanitizer=n,this._errorHandler=r,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=i}return Object(o.a)(e,[{key:"addSvgIcon",value:function(e,t,n){return this.addSvgIconInNamespace("",e,t,n)}},{key:"addSvgIconLiteral",value:function(e,t,n){return this.addSvgIconLiteralInNamespace("",e,t,n)}},{key:"addSvgIconInNamespace",value:function(e,t,n,i){return this._addSvgIconConfig(e,t,new M(n,null,i))}},{key:"addSvgIconResolver",value:function(e){return this._resolvers.push(e),this}},{key:"addSvgIconLiteralInNamespace",value:function(e,t,n,i){var r=this._sanitizer.sanitize(l.SecurityContext.HTML,n);if(!r)throw E(n);return this._addSvgIconConfig(e,t,new M("",r,i))}},{key:"addSvgIconSet",value:function(e,t){return this.addSvgIconSetInNamespace("",e,t)}},{key:"addSvgIconSetLiteral",value:function(e,t){return this.addSvgIconSetLiteralInNamespace("",e,t)}},{key:"addSvgIconSetInNamespace",value:function(e,t,n){return this._addSvgIconSetConfig(e,new M(t,null,n))}},{key:"addSvgIconSetLiteralInNamespace",value:function(e,t,n){var i=this._sanitizer.sanitize(l.SecurityContext.HTML,t);if(!i)throw E(t);return this._addSvgIconSetConfig(e,new M("",i,n))}},{key:"registerFontClassAlias",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;return this._fontCssClassesByAlias.set(e,t),this}},{key:"classNameForFontAlias",value:function(e){return this._fontCssClassesByAlias.get(e)||e}},{key:"setDefaultFontSetClass",value:function(e){return this._defaultFontSetClass=e,this}},{key:"getDefaultFontSetClass",value:function(){return this._defaultFontSetClass}},{key:"getSvgIconFromUrl",value:function(e){var t=this,n=this._sanitizer.sanitize(l.SecurityContext.RESOURCE_URL,e);if(!n)throw O(e);var i=this._cachedIconsByUrl.get(n);return i?Object(p.a)(P(i)):this._loadSvgIconFromConfig(new M(e,null)).pipe(Object(f.a)(function(e){return t._cachedIconsByUrl.set(n,e)}),Object(v.a)(function(e){return P(e)}))}},{key:"getNamedSvgIcon",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=T(t,e),i=this._svgIconConfigs.get(n);if(i)return this._getSvgFromConfig(i);if(i=this._getIconConfigFromResolvers(t,e))return this._svgIconConfigs.set(n,i),this._getSvgFromConfig(i);var r=this._iconSetConfigs.get(t);return r?this._getSvgFromIconSetConfigs(e,r):Object(h.a)(k(n))}},{key:"ngOnDestroy",value:function(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}},{key:"_getSvgFromConfig",value:function(e){return e.svgText?Object(p.a)(P(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(Object(v.a)(function(e){return P(e)}))}},{key:"_getSvgFromIconSetConfigs",value:function(e,t){var n=this,i=this._extractIconWithNameFromAnySet(e,t);if(i)return Object(p.a)(i);var r=t.filter(function(e){return!e.svgText}).map(function(e){return n._loadSvgIconSetFromConfig(e).pipe(Object(y.a)(function(t){var i=n._sanitizer.sanitize(l.SecurityContext.RESOURCE_URL,e.url),r="Loading icon set URL: ".concat(i," failed: ").concat(t.message);return n._errorHandler.handleError(new Error(r)),Object(p.a)(null)}))});return Object(m.a)(r).pipe(Object(v.a)(function(){var i=n._extractIconWithNameFromAnySet(e,t);if(!i)throw k(e);return i}))}},{key:"_extractIconWithNameFromAnySet",value:function(e,t){for(var n=t.length-1;n>=0;n--){var i=t[n];if(i.svgText&&i.svgText.indexOf(e)>-1){var r=this._svgElementFromConfig(i),a=this._extractSvgIconFromSet(r,e,i.options);if(a)return a}}return null}},{key:"_loadSvgIconFromConfig",value:function(e){var t=this;return this._fetchIcon(e).pipe(Object(f.a)(function(t){return e.svgText=t}),Object(v.a)(function(){return t._svgElementFromConfig(e)}))}},{key:"_loadSvgIconSetFromConfig",value:function(e){return e.svgText?Object(p.a)(null):this._fetchIcon(e).pipe(Object(f.a)(function(t){return e.svgText=t}))}},{key:"_extractSvgIconFromSet",value:function(e,t,n){var i=e.querySelector('[id="'.concat(t,'"]'));if(!i)return null;var r=i.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,n);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),n);var a=this._svgElementFromString("<svg></svg>");return a.appendChild(r),this._setSvgAttributes(a,n)}},{key:"_svgElementFromString",value:function(e){var t=this._document.createElement("DIV");t.innerHTML=e;var n=t.querySelector("svg");if(!n)throw Error("<svg> tag not found");return n}},{key:"_toSvgElement",value:function(e){for(var t=this._svgElementFromString("<svg></svg>"),n=e.attributes,i=0;i<n.length;i++){var r=n[i],a=r.name;"id"!==a&&t.setAttribute(a,r.value)}for(var o=0;o<e.childNodes.length;o++)e.childNodes[o].nodeType===this._document.ELEMENT_NODE&&t.appendChild(e.childNodes[o].cloneNode(!0));return t}},{key:"_setSvgAttributes",value:function(e,t){return e.setAttribute("fit",""),e.setAttribute("height","100%"),e.setAttribute("width","100%"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("focusable","false"),t&&t.viewBox&&e.setAttribute("viewBox",t.viewBox),e}},{key:"_fetchIcon",value:function(e){var t,n=this,i=e.url,r=e.options,a=null!==(t=null==r?void 0:r.withCredentials)&&void 0!==t&&t;if(!this._httpClient)throw Error("Could not find HttpClient provider for use with Angular Material icons. Please include the HttpClientModule from @angular/common/http in your app imports.");if(null==i)throw Error('Cannot fetch icon from URL "'.concat(i,'".'));var o=this._sanitizer.sanitize(l.SecurityContext.RESOURCE_URL,i);if(!o)throw O(i);var s=this._inProgressUrlFetches.get(o);if(s)return s;var c=this._httpClient.get(o,{responseType:"text",withCredentials:a}).pipe(Object(b.a)(function(){return n._inProgressUrlFetches.delete(o)}),Object(x.a)());return this._inProgressUrlFetches.set(o,c),c}},{key:"_addSvgIconConfig",value:function(e,t,n){return this._svgIconConfigs.set(T(e,t),n),this}},{key:"_addSvgIconSetConfig",value:function(e,t){var n=this._iconSetConfigs.get(e);return n?n.push(t):this._iconSetConfigs.set(e,[t]),this}},{key:"_svgElementFromConfig",value:function(e){if(!e.svgElement){var t=this._svgElementFromString(e.svgText);this._setSvgAttributes(t,e.options),e.svgElement=t}return e.svgElement}},{key:"_getIconConfigFromResolvers",value:function(e,t){for(var n=0;n<this._resolvers.length;n++){var i=this._resolvers[n](t,e);if(i)return(r=i).url&&r.options?new M(i.url,null,i.options):new M(i,null)}var r}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275inject"](w.b,8),l["\u0275\u0275inject"](S.DomSanitizer),l["\u0275\u0275inject"](u.DOCUMENT,8),l["\u0275\u0275inject"](l.ErrorHandler))},e.\u0275prov=Object(l["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(l["\u0275\u0275inject"])(w.b,8),Object(l["\u0275\u0275inject"])(S.DomSanitizer),Object(l["\u0275\u0275inject"])(u.DOCUMENT,8),Object(l["\u0275\u0275inject"])(l.ErrorHandler))},token:e,providedIn:"root"}),e}();function P(e){return e.cloneNode(!0)}function T(e,t){return e+":"+t}var D=Object(o.a)(function e(t){Object(s.a)(this,e),this._elementRef=t}),L=Object(c.y)(D),R=new l.InjectionToken("mat-icon-location",{providedIn:"root",factory:function(){var e=Object(l.inject)(u.DOCUMENT),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),j=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],A=j.map(function(e){return"[".concat(e,"]")}).join(", "),F=/^url\(['"]?#(.*?)['"]?\)$/,B=function(){var e=function(e){Object(r.a)(n,e);var t=Object(a.a)(n);function n(e,i,r,a,o){var l;return Object(s.a)(this,n),(l=t.call(this,e))._iconRegistry=i,l._location=a,l._errorHandler=o,l._inline=!1,l._currentIconFetch=g.a.EMPTY,r||e.nativeElement.setAttribute("aria-hidden","true"),l}return Object(o.a)(n,[{key:"inline",get:function(){return this._inline},set:function(e){this._inline=Object(d.c)(e)}},{key:"svgIcon",get:function(){return this._svgIcon},set:function(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}},{key:"fontSet",get:function(){return this._fontSet},set:function(e){var t=this._cleanupFontValue(e);t!==this._fontSet&&(this._fontSet=t,this._updateFontIconClasses())}},{key:"fontIcon",get:function(){return this._fontIcon},set:function(e){var t=this._cleanupFontValue(e);t!==this._fontIcon&&(this._fontIcon=t,this._updateFontIconClasses())}},{key:"_splitIconName",value:function(e){if(!e)return["",""];var t=e.split(":");switch(t.length){case 1:return["",t[0]];case 2:return t;default:throw Error('Invalid icon name: "'.concat(e,'"'))}}},{key:"ngOnInit",value:function(){this._updateFontIconClasses()}},{key:"ngAfterViewChecked",value:function(){var e=this._elementsWithExternalReferences;if(e&&e.size){var t=this._location.getPathname();t!==this._previousPath&&(this._previousPath=t,this._prependPathToReferences(t))}}},{key:"ngOnDestroy",value:function(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}},{key:"_usingFontIcon",value:function(){return!this.svgIcon}},{key:"_setSvgElement",value:function(e){this._clearSvgElement();for(var t=e.querySelectorAll("style"),n=0;n<t.length;n++)t[n].textContent+=" ";var i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}},{key:"_clearSvgElement",value:function(){var e=this._elementRef.nativeElement,t=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();t--;){var n=e.childNodes[t];1===n.nodeType&&"svg"!==n.nodeName.toLowerCase()||e.removeChild(n)}}},{key:"_updateFontIconClasses",value:function(){if(this._usingFontIcon()){var e=this._elementRef.nativeElement,t=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();t!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),t&&e.classList.add(t),this._previousFontSetClass=t),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}}},{key:"_cleanupFontValue",value:function(e){return"string"==typeof e?e.trim().split(" ")[0]:e}},{key:"_prependPathToReferences",value:function(e){var t=this._elementsWithExternalReferences;t&&t.forEach(function(t,n){t.forEach(function(t){n.setAttribute(t.name,"url('".concat(e,"#").concat(t.value,"')"))})})}},{key:"_cacheChildrenWithExternalReferences",value:function(e){for(var t=e.querySelectorAll(A),n=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map,i=function(e){j.forEach(function(i){var r=t[e],a=r.getAttribute(i),o=a?a.match(F):null;if(o){var s=n.get(r);s||n.set(r,s=[]),s.push({name:i,value:o[1]})}})},r=0;r<t.length;r++)i(r)}},{key:"_updateSvgIcon",value:function(e){var t=this;if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){var n=this._splitIconName(e),r=Object(i.a)(n,2),a=r[0],o=r[1];a&&(this._svgNamespace=a),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,a).pipe(Object(_.a)(1)).subscribe(function(e){return t._setSvgElement(e)},function(e){var n="Error retrieving icon ".concat(a,":").concat(o,"! ").concat(e.message);t._errorHandler.handleError(new Error(n))})}}}]),n}(L);return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](l.ElementRef),l["\u0275\u0275directiveInject"](I),l["\u0275\u0275injectAttribute"]("aria-hidden"),l["\u0275\u0275directiveInject"](R),l["\u0275\u0275directiveInject"](l.ErrorHandler))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,t){2&e&&(l["\u0275\u0275attribute"]("data-mat-icon-type",t._usingFontIcon()?"font":"svg")("data-mat-icon-name",t._svgName||t.fontIcon)("data-mat-icon-namespace",t._svgNamespace||t.fontSet),l["\u0275\u0275classProp"]("mat-icon-inline",t.inline)("mat-icon-no-color","primary"!==t.color&&"accent"!==t.color&&"warn"!==t.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[l["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:C,decls:1,vars:0,template:function(e,t){1&e&&(l["\u0275\u0275projectionDef"](),l["\u0275\u0275projection"](0))},styles:[".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),e}(),z=function(){var e=Object(o.a)(function e(){Object(s.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=l["\u0275\u0275defineInjector"]({imports:[[c.j],c.j]}),e}()},NJ4a:function(e,t,n){"use strict";function i(e){setTimeout(function(){throw e},0)}n.d(t,"a",function(){return i})},NWG2:function(e,t,n){"use strict";n.d(t,"a",function(){return S});var i=n("6n/F"),r=n("Bu+s"),a=n("M8aS"),o=n.n(a),s=n("uJc7"),l=n("BwfH"),c=n("RcdG"),d=n("LvDl"),u=n("yjSS"),p=n("fXoL"),h=n("jhN1"),m=n("ofXK"),g=n("kmnG"),f=n("d3UM"),v=n("kAVD"),y=n("FKr1"),b=n("sYmb");function x(e,t){1&e&&(p["\u0275\u0275elementStart"](0,"div",5),p["\u0275\u0275text"](1,"No Data Available"),p["\u0275\u0275elementEnd"]())}function _(e,t){if(1&e){var n=p["\u0275\u0275getCurrentView"]();p["\u0275\u0275elementStart"](0,"highcharts-chart",6),p["\u0275\u0275listener"]("updateChange",function(e){return p["\u0275\u0275restoreView"](n),p["\u0275\u0275nextContext"]().chartsUpdated=e}),p["\u0275\u0275elementEnd"]()}if(2&e){var i=p["\u0275\u0275nextContext"]();p["\u0275\u0275property"]("Highcharts",i.Highcharts)("options",i.heartChartOpts)("update",i.chartsUpdated)("callbackFunction",i.chartCallback)}}function w(e,t){if(1&e&&(p["\u0275\u0275elementStart"](0,"mat-option",7),p["\u0275\u0275text"](1),p["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;p["\u0275\u0275property"]("value",n.id),p["\u0275\u0275advance"](1),p["\u0275\u0275textInterpolate1"](" ",n.name," ")}}o()(i),n("jM2W")(i);var S=function(){function e(e,t,n,r,a,o){var s=this;this.titleService=e,this.PermissionsService=t,this.workoutService=n,this.distanceFilter=r,this.paceFilter=a,this.AccountService=o,this.showLabels=!0,this.height=300,this.width=500,this.type="spline",this.fullWidth=!1,this.Highcharts=i,this.chartsUpdated=!1,this.zoneSet=null,this.selectedZoneSet=0,this.customZones=[],this.isMetric=!1,this.chartCallback=function(e){s.chartRef=e,setTimeout(function(){s.chartRef.reflow()},0)}}return Object.defineProperty(e.prototype,"tabEvent",{set:function(e){this.handleChange(e)},enumerable:!1,configurable:!0}),e.prototype.handleChange=function(e){try{this.chartRef.reflow()}catch(t){}},e.prototype.plotChart=function(){var e=this.workout.zone.zoneData,t=this.workout.zone.zoneData.highBPM,n=this.workout.zone.zoneData.lowBPM;this.hasData=!0;var a=[],o=this.workout.customRoutine;if(o)for(var s=0;s<this.workout.routine.routineDef.segmentDef.length;s++)for(var l=Number(this.workout.routine.routineDef.segmentDef[s].repeats),c=0;c<l;c++)for(var d=0;d<this.workout.routine.routineDef.segmentDef[s].intervalDef.length;d++)a.push(this.workout.routine.routineDef.segmentDef[s].intervalDef[d]);var u=this.workout.getAvgHeartRate()<Number(n[1])?50:Number(n[1]),p=Number(t[6]),h=r.i.FITDIGITS,m=[],g=[],f=0,v=0;for(d=0;d<a.length;d++){var y=n[a[d].zoneRef[0].zonePos+1],b=t[a[d].zoneRef[0].zonePos+1];if(v+=2===a[d].durationUnits?this.workout.getAvgPace()*a[d].duration:a[d].duration,a[d].zoneRef[0].zonePos<0||a[d].zoneRef[0].zonePos>4);else{var x=h.zone[a[d].zoneRef[0].zonePos+1].tizColor;m.push([{x:f,y:y,id:"1"},{x:f,y:b,id:"2"},{x:v,y:b,id:"3"},{x:v,y:y,id:"4"}]),g.push(x)}f=v}var _=[];for(var w in this.workout.heartRateAnalysisData.zoneData){var S=this.workout.heartRateAnalysisData.zoneData[w],C=Number(w);_.push({y:S.secondsInZone,name:0==C?"Below Zone 1":6==C?"Above Zone 5":S.zoneName,color:r.i.FITDIGITS.zone[C].tizColor})}for(var k=this,O={chart:{type:"spline",backgroundColor:"rgba(0,0,0,0.0)",margin:[0,0,0,0],spacingTop:0},credits:{enabled:!1},title:{text:null},xAxis:{title:!1,labels:{enabled:!1},minorTickLength:0,tickLength:0},yAxis:{title:!1,labels:{enabled:!1},endOnTick:!1,maxPadding:0,minorTickLength:0,tickLength:0,min:u,max:p,minorGridLineWidth:0,gridLineWidth:0,alternateGridColor:null,visible:!this.PermissionsService.isFree,plotBands:[{from:Number(n[0]),to:Number(t[0]),color:o?h.zone[0].tizLightColor:h.zone[0].tizColor,label:{text:e.names[0].toUpperCase(),style:{color:"#606060"}}},{from:Number(n[1]),to:Number(t[1]),color:o?h.zone[1].tizLightColor:h.zone[1].tizColor,label:{zIndex:999,text:e.names[1].toUpperCase(),style:{color:"#606060"}}},{from:Number(n[2]),to:Number(t[2]),color:o?h.zone[2].tizLightColor:h.zone[2].tizColor,label:{zIndex:999,text:e.names[2].toUpperCase(),style:{color:"#606060"}}},{from:Number(n[3]),to:Number(t[3]),color:o?h.zone[3].tizLightColor:h.zone[3].tizColor,label:{text:e.names[3].toUpperCase(),style:{color:"#606060"}}},{from:Number(n[4]),to:Number(t[4]),color:o?h.zone[4].tizLightColor:h.zone[4].tizColor,label:{zIndex:999,text:e.names[4].toUpperCase(),style:{color:"#606060"}}},{from:Number(n[5]),to:Number(t[5]),color:o?h.zone[5].tizLightColor:h.zone[5].tizColor,label:{text:e.names[5].toUpperCase(),style:{color:"#606060"}}},{from:Number(n[6]),to:Number(t[6]),color:o?h.zone[6].tizLightColor:h.zone[6].tizColor,label:{text:e.names[6].toUpperCase(),style:{color:"#606060"}}}]},tooltip:{shared:!0,crosshairs:!0,enabled:!0,borderColor:"#666666",formatter:function(){var e=k.workout.timeIndexedSnapshots[this.x];if(e){var t="",n="",i="",a="",o="",s="",l="",c="",d=Number(e.distance),u=Object(r.ab)(e.speed,1);return k.isMetric&&(d=k.distanceFilter.transform(Number(e.distance),k.isMetric,!0),u=k.distanceFilter.transform(Number(e.speed),k.isMetric,!0)),k.workout.isHeartMonitorOn()&&(void 0!==e.bpm&&(a='<span style="font-weight: bold;">Heart Rate: </span>'+e.bpm+" bpm<br/>"),void 0!==e.calories&&(o="<span>Calories: </span>"+Number(e.calories).toFixed()+"<br/>")),k.workout.isPaceBasedWorkout()&&null!=k.workout.getDistance()?(t="<span>Distance: </span>"+d+"<br/>",void 0!==e.pace&&(n="<span>Pace: </span>"+k.paceFilter.transform(e.pace,k.isMetric)+"<br/>")):k.workout.isSpeedBasedWorkout()&&null!=k.workout.getDistance()&&(t="<span>Distance: </span>"+d+"<br/>",void 0!==e.speed&&(i="<span>Speed: </span>"+u+" MPH<br/>")),k.workout.isGpsOn()&&void 0!==e.altitude&&(s="<span>Elevation: </span>"+Object(r.ab)(e.altitude,0).toFixed()+" ft<br/>"),k.workout.isCadenceSensorOn()&&void 0!==e.rpm&&(l="<span>Cadence: </span>"+e.rpm+" rpm<br/>"),k.workout.isPowerSensorOn()&&void 0!==e.watts&&(c="<span>Watts: </span>"+e.watts+"<br/>"),a+"<span>Elapsed Time: </span>"+Object(r.fb)(e.elapsedSeconds)+"<br/>"+t+o+n+i+s+l+c}return""}},plotOptions:{spline:{lineWidth:4,states:{hover:{lineWidth:5}},marker:{enabled:!1}}},legend:{enabled:!1},series:[],navigation:{menuItemStyle:{fontSize:"10px"}}},E=0;E<m.length;E++)O.series.push({name:"Target",type:"polygon",data:m[E],color:new i.Color(g[E]).setOpacity(1).get(),enableMouseTracking:!1,states:{inactive:{opacity:1}}});O.series.push({data:this.workout.timeGraphData.bpm,color:"#FFFFFF",yAxis:0});var M={chart:{height:this.height+"px",backgroundColor:"rgba(255,255,255,0.0)",animation:{duration:2e3},spacing:[0,0,0,0]},tooltip:{enabled:!1},plotOptions:{pie:{dataLabels:{enabled:!1},states:{hover:{enabled:!1}}}},credits:{enabled:!1},legend:{enabled:!1},series:[{type:"pie",data:_}],title:{text:null}};!1===this.fullWidth&&(M.width=this.width),this.heartChartOpts={spline:O,pie:M}[this.type]},e.prototype.getCustomZones=function(){var e=this;this.workoutService.getZonesets().subscribe(function(t){e.customZones=t.response.customZoneSets;for(var n=0;n<e.customZones.length;n++)e.customZones[n].name==e.workout.zone.zoneName&&(e.selectedZoneSet=e.customZones[n].id)})},e.prototype.changeZone=function(e){var t=this;this.selectedZoneSet=e.value,console.log("this"),this.workoutService.calculateTiz(e.value,this.workout.id).subscribe(function(e){t.workout.updateTiz(e.response),t.customZones.forEach(function(e){var n=new c.d(e,null);if(n.id==t.selectedZoneSet)return t.zoneSet=n,t.workout.zone.zoneData.highBPM=t.zoneSet.zoneHigh,void(t.workout.zone.zoneData.lowBPM=t.zoneSet.zoneLow)}),t.workoutService.zonesetSwitcher.emit(Object(d.cloneDeep)(t.workout))})},e.prototype.ngOnInit=function(){var e=this;try{this.isMetric=this.AccountService.account.isMetric()}catch(t){}this.zoneSwitcher=this.workoutService.zonesetSwitcher.subscribe(function(t){e.plotChart()}),this.getCustomZones(),this.plotChart(),this.hasData=!0},e.prototype.ngOnDestroy=function(){this.zoneSwitcher.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275directiveInject"](h.Title),p["\u0275\u0275directiveInject"](u.a),p["\u0275\u0275directiveInject"](l.b),p["\u0275\u0275directiveInject"](r.y),p["\u0275\u0275directiveInject"](r.V),p["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=p["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-workout-hr"]],inputs:{workout:"workout",showLabels:"showLabels",height:"height",width:"width",type:"type",fullWidth:"fullWidth",tabEvent:"tabEvent"},decls:9,vars:7,consts:[["style","text-align: center",4,"ngIf"],["style","display: flex; height: 440px;overflow: hidden;z-index: 99; position: relative;",3,"Highcharts","options","update","callbackFunction","updateChange",4,"ngIf"],["id","workoutDetailsChangeZone",1,"floatleft",2,"display","block","margin-top","15px"],["id","sel_zone_option","name","selectedZoneSet",2,"background-color","transparent",3,"value","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[2,"text-align","center"],[2,"display","flex","height","440px","overflow","hidden","z-index","99","position","relative",3,"Highcharts","options","update","callbackFunction","updateChange"],[3,"value"]],template:function(e,t){1&e&&(p["\u0275\u0275template"](0,x,2,0,"div",0),p["\u0275\u0275template"](1,_,1,4,"highcharts-chart",1),p["\u0275\u0275elementStart"](2,"div",2),p["\u0275\u0275elementStart"](3,"mat-form-field"),p["\u0275\u0275elementStart"](4,"mat-label"),p["\u0275\u0275text"](5),p["\u0275\u0275pipe"](6,"translate"),p["\u0275\u0275elementEnd"](),p["\u0275\u0275elementStart"](7,"mat-select",3),p["\u0275\u0275listener"]("selectionChange",function(e){return t.changeZone(e)}),p["\u0275\u0275template"](8,w,2,2,"mat-option",4),p["\u0275\u0275elementEnd"](),p["\u0275\u0275elementEnd"](),p["\u0275\u0275elementEnd"]()),2&e&&(p["\u0275\u0275property"]("ngIf",!t.hasData),p["\u0275\u0275advance"](1),p["\u0275\u0275property"]("ngIf",t.hasData),p["\u0275\u0275advance"](4),p["\u0275\u0275textInterpolate"](p["\u0275\u0275pipeBind1"](6,5,"ROOT.Custom_Zone")),p["\u0275\u0275advance"](2),p["\u0275\u0275property"]("value",t.selectedZoneSet),p["\u0275\u0275advance"](1),p["\u0275\u0275property"]("ngForOf",t.customZones))},directives:[m.NgIf,g.c,g.g,f.a,m.NgForOf,v.a,y.o],pipes:[b.c],styles:[".highcharts-container[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:100%!important;display:block;height:100%!important;text-align:left;line-height:normal;z-index:0;-webkit-tap-highlight-color:transparent;font-family:Lucida Grande,Lucida Sans Unicode,Arial,Helvetica,sans-serif;font-size:12px}"]}),e}()},NXyV:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("HDdC"),r=n("Cfvw"),a=n("EY2u");function o(e){return new i.a(function(t){var n;try{n=e()}catch(i){return void t.error(i)}return(n?Object(r.a)(n):Object(a.b)()).subscribe(t)})}},Nv8m:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("DH7j"),l=n("yCtX"),c=n("l7GE"),d=n("ZUHj");function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){if(!Object(s.a)(t[0]))return t[0];t=t[0]}return Object(l.a)(t,void 0).lift(new p)}var p=function(){function e(){Object(a.a)(this,e)}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new h(e))}}]),e}(),h=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e){var i;return Object(a.a)(this,n),(i=t.call(this,e)).hasFirst=!1,i.observables=[],i.subscriptions=[],i}return Object(o.a)(n,[{key:"_next",value:function(e){this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(var n=0;n<t&&!this.hasFirst;n++){var i=e[n],r=Object(d.a)(this,i,void 0,n);this.subscriptions&&this.subscriptions.push(r),this.add(r)}this.observables=null}}},{key:"notifyNext",value:function(e,t,n){if(!this.hasFirst){this.hasFirst=!0;for(var i=0;i<this.subscriptions.length;i++)if(i!==n){var r=this.subscriptions[i];r.unsubscribe(),this.remove(r)}this.subscriptions=null}this.destination.next(t)}}]),n}(c.a)},ODXe:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("DSFK"),r=n("BsWD"),a=n("PYwp");function o(e,t){return Object(i.a)(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);i=!0);}catch(l){r=!0,a=l}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}return n}}(e,t)||Object(r.a)(e,t)||Object(a.a)()}},OIYi:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},OQgR:function(e,t,n){"use strict";n.d(t,"b",function(){return h}),n.d(t,"a",function(){return v});var i=n("ReuC"),r=n("foSv"),a=n("Ji7U"),o=n("LK+K"),s=n("1OyB"),l=n("vuIU"),c=n("7o/Q"),d=n("quSY"),u=n("HDdC"),p=n("XNiG");function h(e,t,n,i){return function(r){return r.lift(new m(e,t,n,i))}}var m=function(){function e(t,n,i,r){Object(s.a)(this,e),this.keySelector=t,this.elementSelector=n,this.durationSelector=i,this.subjectSelector=r}return Object(l.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new g(e,this.keySelector,this.elementSelector,this.durationSelector,this.subjectSelector))}}]),e}(),g=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,i,r,a,o){var l;return Object(s.a)(this,n),(l=t.call(this,e)).keySelector=i,l.elementSelector=r,l.durationSelector=a,l.subjectSelector=o,l.groups=null,l.attemptedToUnsubscribe=!1,l.count=0,l}return Object(l.a)(n,[{key:"_next",value:function(e){var t;try{t=this.keySelector(e)}catch(n){return void this.error(n)}this._group(e,t)}},{key:"_group",value:function(e,t){var n=this.groups;n||(n=this.groups=new Map);var i,r=n.get(t);if(this.elementSelector)try{i=this.elementSelector(e)}catch(s){this.error(s)}else i=e;if(!r){r=this.subjectSelector?this.subjectSelector():new p.a,n.set(t,r);var a=new v(t,r,this);if(this.destination.next(a),this.durationSelector){var o;try{o=this.durationSelector(new v(t,r))}catch(s){return void this.error(s)}this.add(o.subscribe(new f(t,r,this)))}}r.closed||r.next(i)}},{key:"_error",value:function(e){var t=this.groups;t&&(t.forEach(function(t,n){t.error(e)}),t.clear()),this.destination.error(e)}},{key:"_complete",value:function(){var e=this.groups;e&&(e.forEach(function(e,t){e.complete()}),e.clear()),this.destination.complete()}},{key:"removeGroup",value:function(e){this.groups.delete(e)}},{key:"unsubscribe",value:function(){this.closed||(this.attemptedToUnsubscribe=!0,0===this.count&&Object(i.a)(Object(r.a)(n.prototype),"unsubscribe",this).call(this))}}]),n}(c.a),f=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,i,r){var a;return Object(s.a)(this,n),(a=t.call(this,i)).key=e,a.group=i,a.parent=r,a}return Object(l.a)(n,[{key:"_next",value:function(e){this.complete()}},{key:"_unsubscribe",value:function(){var e=this.parent,t=this.key;this.key=this.parent=null,e&&e.removeGroup(t)}}]),n}(c.a),v=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,i,r){var a;return Object(s.a)(this,n),(a=t.call(this)).key=e,a.groupSubject=i,a.refCountSubscription=r,a}return Object(l.a)(n,[{key:"_subscribe",value:function(e){var t=new d.a,n=this.refCountSubscription,i=this.groupSubject;return n&&!n.closed&&t.add(new y(n)),t.add(i.subscribe(e)),t}}]),n}(u.a),y=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e){var i;return Object(s.a)(this,n),(i=t.call(this)).parent=e,e.count++,i}return Object(l.a)(n,[{key:"unsubscribe",value:function(){var e=this.parent;e.closed||this.closed||(Object(i.a)(Object(r.a)(n.prototype),"unsubscribe",this).call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())}}]),n}(d.a)},Oaa7:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},Ob0Z:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function i(e,t,n,i){var r="";if(t)switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":r="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":r="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":r="%d \u0924\u093e\u0938";break;case"d":r="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":r="%d \u0926\u093f\u0935\u0938";break;case"M":r="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":r="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u0947"}else switch(n){case"s":r="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":r="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":r="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":r="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":r="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":r="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":r="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":r="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":r="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":r="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":r="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":r="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return r.replace(/%d/i,e)}e.defineLocale("mr",{months:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u093f\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u0948_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a._\u090f\u092a\u094d\u0930\u093f._\u092e\u0947._\u091c\u0942\u0928._\u091c\u0941\u0932\u0948._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0930\u0935\u093f\u0935\u093e\u0930_\u0938\u094b\u092e\u0935\u093e\u0930_\u092e\u0902\u0917\u0933\u0935\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u0917\u0941\u0930\u0942\u0935\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930_\u0936\u0928\u093f\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0930\u0935\u093f_\u0938\u094b\u092e_\u092e\u0902\u0917\u0933_\u092c\u0941\u0927_\u0917\u0941\u0930\u0942_\u0936\u0941\u0915\u094d\u0930_\u0936\u0928\u093f".split("_"),weekdaysMin:"\u0930_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u0917\u0941_\u0936\u0941_\u0936".split("_"),longDateFormat:{LT:"A h:mm \u0935\u093e\u091c\u0924\u093e",LTS:"A h:mm:ss \u0935\u093e\u091c\u0924\u093e",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e",LLLL:"dddd, D MMMM YYYY, A h:mm \u0935\u093e\u091c\u0924\u093e"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u0909\u0926\u094d\u092f\u093e] LT",nextWeek:"dddd, LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092e\u093e\u0917\u0940\u0932] dddd, LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u0927\u094d\u092f\u0947",past:"%s\u092a\u0942\u0930\u094d\u0935\u0940",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u092a\u0939\u093e\u091f\u0947|\u0938\u0915\u093e\u0933\u0940|\u0926\u0941\u092a\u093e\u0930\u0940|\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940|\u0930\u093e\u0924\u094d\u0930\u0940/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===t||"\u0938\u0915\u093e\u0933\u0940"===t?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===t||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===t||"\u0930\u093e\u0924\u094d\u0930\u0940"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,n){return e>=0&&e<6?"\u092a\u0939\u093e\u091f\u0947":e<12?"\u0938\u0915\u093e\u0933\u0940":e<17?"\u0926\u0941\u092a\u093e\u0930\u0940":e<20?"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940":"\u0930\u093e\u0924\u094d\u0930\u0940"},week:{dow:0,doy:6}})}(n("wd/R"))},OjkT:function(e,t,n){!function(e){"use strict";var t={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},n={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};e.defineLocale("ne",{months:"\u091c\u0928\u0935\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f\u0932_\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908_\u0905\u0917\u0937\u094d\u091f_\u0938\u0947\u092a\u094d\u091f\u0947\u092e\u094d\u092c\u0930_\u0905\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u092d\u0947\u092e\u094d\u092c\u0930_\u0921\u093f\u0938\u0947\u092e\u094d\u092c\u0930".split("_"),monthsShort:"\u091c\u0928._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u0905\u092a\u094d\u0930\u093f._\u092e\u0908_\u091c\u0941\u0928_\u091c\u0941\u0932\u093e\u0908._\u0905\u0917._\u0938\u0947\u092a\u094d\u091f._\u0905\u0915\u094d\u091f\u094b._\u0928\u094b\u092d\u0947._\u0921\u093f\u0938\u0947.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u0907\u0924\u092c\u093e\u0930_\u0938\u094b\u092e\u092c\u093e\u0930_\u092e\u0919\u094d\u0917\u0932\u092c\u093e\u0930_\u092c\u0941\u0927\u092c\u093e\u0930_\u092c\u093f\u0939\u093f\u092c\u093e\u0930_\u0936\u0941\u0915\u094d\u0930\u092c\u093e\u0930_\u0936\u0928\u093f\u092c\u093e\u0930".split("_"),weekdaysShort:"\u0906\u0907\u0924._\u0938\u094b\u092e._\u092e\u0919\u094d\u0917\u0932._\u092c\u0941\u0927._\u092c\u093f\u0939\u093f._\u0936\u0941\u0915\u094d\u0930._\u0936\u0928\u093f.".split("_"),weekdaysMin:"\u0906._\u0938\u094b._\u092e\u0902._\u092c\u0941._\u092c\u093f._\u0936\u0941._\u0936.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A\u0915\u094b h:mm \u092c\u091c\u0947",LTS:"A\u0915\u094b h:mm:ss \u092c\u091c\u0947",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947",LLLL:"dddd, D MMMM YYYY, A\u0915\u094b h:mm \u092c\u091c\u0947"},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u093f"===t?e<4?e:e+12:"\u092c\u093f\u0939\u093e\u0928"===t?e:"\u0926\u093f\u0909\u0901\u0938\u094b"===t?e>=10?e:e+12:"\u0938\u093e\u0901\u091d"===t?e+12:void 0},meridiem:function(e,t,n){return e<3?"\u0930\u093e\u0924\u093f":e<12?"\u092c\u093f\u0939\u093e\u0928":e<16?"\u0926\u093f\u0909\u0901\u0938\u094b":e<20?"\u0938\u093e\u0901\u091d":"\u0930\u093e\u0924\u093f"},calendar:{sameDay:"[\u0906\u091c] LT",nextDay:"[\u092d\u094b\u0932\u093f] LT",nextWeek:"[\u0906\u0909\u0901\u0926\u094b] dddd[,] LT",lastDay:"[\u0939\u093f\u091c\u094b] LT",lastWeek:"[\u0917\u090f\u0915\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s\u092e\u093e",past:"%s \u0905\u0917\u093e\u0921\u093f",s:"\u0915\u0947\u0939\u0940 \u0915\u094d\u0937\u0923",ss:"%d \u0938\u0947\u0915\u0947\u0923\u094d\u0921",m:"\u090f\u0915 \u092e\u093f\u0928\u0947\u091f",mm:"%d \u092e\u093f\u0928\u0947\u091f",h:"\u090f\u0915 \u0918\u0923\u094d\u091f\u093e",hh:"%d \u0918\u0923\u094d\u091f\u093e",d:"\u090f\u0915 \u0926\u093f\u0928",dd:"%d \u0926\u093f\u0928",M:"\u090f\u0915 \u092e\u0939\u093f\u0928\u093e",MM:"%d \u092e\u0939\u093f\u0928\u093e",y:"\u090f\u0915 \u092c\u0930\u094d\u0937",yy:"%d \u092c\u0930\u094d\u0937"},week:{dow:0,doy:6}})}(n("wd/R"))},OmwH:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-mo",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"D/M/YYYY",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5167",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},Oxv6:function(e,t,n){!function(e){"use strict";var t={0:"-\u0443\u043c",1:"-\u0443\u043c",2:"-\u044e\u043c",3:"-\u044e\u043c",4:"-\u0443\u043c",5:"-\u0443\u043c",6:"-\u0443\u043c",7:"-\u0443\u043c",8:"-\u0443\u043c",9:"-\u0443\u043c",10:"-\u0443\u043c",12:"-\u0443\u043c",13:"-\u0443\u043c",20:"-\u0443\u043c",30:"-\u044e\u043c",40:"-\u0443\u043c",50:"-\u0443\u043c",60:"-\u0443\u043c",70:"-\u0443\u043c",80:"-\u0443\u043c",90:"-\u0443\u043c",100:"-\u0443\u043c"};e.defineLocale("tg",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0430\u043b\u0438_\u043c\u0430\u0440\u0442\u0438_\u0430\u043f\u0440\u0435\u043b\u0438_\u043c\u0430\u0439\u0438_\u0438\u044e\u043d\u0438_\u0438\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442\u0438_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u0438_\u043e\u043a\u0442\u044f\u0431\u0440\u0438_\u043d\u043e\u044f\u0431\u0440\u0438_\u0434\u0435\u043a\u0430\u0431\u0440\u0438".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440_\u0444\u0435\u0432\u0440\u0430\u043b_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440_\u043e\u043a\u0442\u044f\u0431\u0440_\u043d\u043e\u044f\u0431\u0440_\u0434\u0435\u043a\u0430\u0431\u0440".split("_")},monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d_\u0438\u044e\u043b_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u044f\u043a\u0448\u0430\u043d\u0431\u0435_\u0434\u0443\u0448\u0430\u043d\u0431\u0435_\u0441\u0435\u0448\u0430\u043d\u0431\u0435_\u0447\u043e\u0440\u0448\u0430\u043d\u0431\u0435_\u043f\u0430\u043d\u04b7\u0448\u0430\u043d\u0431\u0435_\u04b7\u0443\u043c\u044a\u0430_\u0448\u0430\u043d\u0431\u0435".split("_"),weekdaysShort:"\u044f\u0448\u0431_\u0434\u0448\u0431_\u0441\u0448\u0431_\u0447\u0448\u0431_\u043f\u0448\u0431_\u04b7\u0443\u043c_\u0448\u043d\u0431".split("_"),weekdaysMin:"\u044f\u0448_\u0434\u0448_\u0441\u0448_\u0447\u0448_\u043f\u0448_\u04b7\u043c_\u0448\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0418\u043c\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextDay:"[\u0424\u0430\u0440\u0434\u043e \u0441\u043e\u0430\u0442\u0438] LT",lastDay:"[\u0414\u0438\u0440\u04ef\u0437 \u0441\u043e\u0430\u0442\u0438] LT",nextWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u043e\u044f\u043d\u0434\u0430 \u0441\u043e\u0430\u0442\u0438] LT",lastWeek:"dddd[\u0438] [\u04b3\u0430\u0444\u0442\u0430\u0438 \u0433\u0443\u0437\u0430\u0448\u0442\u0430 \u0441\u043e\u0430\u0442\u0438] LT",sameElse:"L"},relativeTime:{future:"\u0431\u0430\u044a\u0434\u0438 %s",past:"%s \u043f\u0435\u0448",s:"\u044f\u043a\u0447\u0430\u043d\u0434 \u0441\u043e\u043d\u0438\u044f",m:"\u044f\u043a \u0434\u0430\u049b\u0438\u049b\u0430",mm:"%d \u0434\u0430\u049b\u0438\u049b\u0430",h:"\u044f\u043a \u0441\u043e\u0430\u0442",hh:"%d \u0441\u043e\u0430\u0442",d:"\u044f\u043a \u0440\u04ef\u0437",dd:"%d \u0440\u04ef\u0437",M:"\u044f\u043a \u043c\u043e\u04b3",MM:"%d \u043c\u043e\u04b3",y:"\u044f\u043a \u0441\u043e\u043b",yy:"%d \u0441\u043e\u043b"},meridiemParse:/\u0448\u0430\u0431|\u0441\u0443\u0431\u04b3|\u0440\u04ef\u0437|\u0431\u0435\u0433\u043e\u04b3/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0448\u0430\u0431"===t?e<4?e:e+12:"\u0441\u0443\u0431\u04b3"===t?e:"\u0440\u04ef\u0437"===t?e>=11?e:e+12:"\u0431\u0435\u0433\u043e\u04b3"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0448\u0430\u0431":e<11?"\u0441\u0443\u0431\u04b3":e<16?"\u0440\u04ef\u0437":e<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},PA2r:function(e,t,n){!function(e){"use strict";var t={format:"leden_\xfanor_b\u0159ezen_duben_kv\u011bten_\u010derven_\u010dervenec_srpen_z\xe1\u0159\xed_\u0159\xedjen_listopad_prosinec".split("_"),standalone:"ledna_\xfanora_b\u0159ezna_dubna_kv\u011btna_\u010dervna_\u010dervence_srpna_z\xe1\u0159\xed_\u0159\xedjna_listopadu_prosince".split("_")},n="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),i=[/^led/i,/^\xfano/i,/^b\u0159e/i,/^dub/i,/^kv\u011b/i,/^(\u010dvn|\u010derven$|\u010dervna)/i,/^(\u010dvc|\u010dervenec|\u010dervence)/i,/^srp/i,/^z\xe1\u0159/i,/^\u0159\xedj/i,/^lis/i,/^pro/i],r=/^(leden|\xfanor|b\u0159ezen|duben|kv\u011bten|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|z\xe1\u0159\xed|\u0159\xedjen|listopad|prosinec|led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i;function a(e){return e>1&&e<5&&1!=~~(e/10)}function o(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return t||i?r+(a(e)?"sekundy":"sekund"):r+"sekundami";case"m":return t?"minuta":i?"minutu":"minutou";case"mm":return t||i?r+(a(e)?"minuty":"minut"):r+"minutami";case"h":return t?"hodina":i?"hodinu":"hodinou";case"hh":return t||i?r+(a(e)?"hodiny":"hodin"):r+"hodinami";case"d":return t||i?"den":"dnem";case"dd":return t||i?r+(a(e)?"dny":"dn\xed"):r+"dny";case"M":return t||i?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return t||i?r+(a(e)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):r+"m\u011bs\xedci";case"y":return t||i?"rok":"rokem";case"yy":return t||i?r+(a(e)?"roky":"let"):r+"lety"}}e.defineLocale("cs",{months:t,monthsShort:n,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(leden|ledna|\xfanora|\xfanor|b\u0159ezen|b\u0159ezna|duben|dubna|kv\u011bten|kv\u011btna|\u010dervenec|\u010dervence|\u010derven|\u010dervna|srpen|srpna|z\xe1\u0159\xed|\u0159\xedjen|\u0159\xedjna|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|\xfano|b\u0159e|dub|kv\u011b|\u010dvn|\u010dvc|srp|z\xe1\u0159|\u0159\xedj|lis|pro)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"ned\u011ble_pond\u011bl\xed_\xfater\xfd_st\u0159eda_\u010dtvrtek_p\xe1tek_sobota".split("_"),weekdaysShort:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),weekdaysMin:"ne_po_\xfat_st_\u010dt_p\xe1_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[z\xedtra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v ned\u011bli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve st\u0159edu v] LT";case 4:return"[ve \u010dtvrtek v] LT";case 5:return"[v p\xe1tek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[v\u010dera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou ned\u011bli v] LT";case 1:case 2:return"[minul\xe9] dddd [v] LT";case 3:return"[minulou st\u0159edu v] LT";case 4:case 5:return"[minul\xfd] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"p\u0159ed %s",s:o,ss:o,m:o,mm:o,h:o,hh:o,d:o,dd:o,M:o,MM:o,y:o,yy:o},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},PYwp:function(e,t,n){"use strict";function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,"a",function(){return i})},PeUW:function(e,t,n){!function(e){"use strict";var t={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},n={"\u0be7":"1","\u0be8":"2","\u0be9":"3","\u0bea":"4","\u0beb":"5","\u0bec":"6","\u0bed":"7","\u0bee":"8","\u0bef":"9","\u0be6":"0"};e.defineLocale("ta",{months:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),monthsShort:"\u0b9c\u0ba9\u0bb5\u0bb0\u0bbf_\u0baa\u0bbf\u0baa\u0bcd\u0bb0\u0bb5\u0bb0\u0bbf_\u0bae\u0bbe\u0bb0\u0bcd\u0b9a\u0bcd_\u0b8f\u0baa\u0bcd\u0bb0\u0bb2\u0bcd_\u0bae\u0bc7_\u0b9c\u0bc2\u0ba9\u0bcd_\u0b9c\u0bc2\u0bb2\u0bc8_\u0b86\u0b95\u0bb8\u0bcd\u0b9f\u0bcd_\u0b9a\u0bc6\u0baa\u0bcd\u0b9f\u0bc6\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b85\u0b95\u0bcd\u0b9f\u0bc7\u0bbe\u0baa\u0bb0\u0bcd_\u0ba8\u0bb5\u0bae\u0bcd\u0baa\u0bb0\u0bcd_\u0b9f\u0bbf\u0b9a\u0bae\u0bcd\u0baa\u0bb0\u0bcd".split("_"),weekdays:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bcd\u0bb1\u0bc1\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0b9f\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8_\u0b9a\u0ba9\u0bbf\u0b95\u0bcd\u0b95\u0bbf\u0bb4\u0bae\u0bc8".split("_"),weekdaysShort:"\u0b9e\u0bbe\u0baf\u0bbf\u0bb1\u0bc1_\u0ba4\u0bbf\u0b99\u0bcd\u0b95\u0bb3\u0bcd_\u0b9a\u0bc6\u0bb5\u0bcd\u0bb5\u0bbe\u0baf\u0bcd_\u0baa\u0bc1\u0ba4\u0ba9\u0bcd_\u0bb5\u0bbf\u0baf\u0bbe\u0bb4\u0ba9\u0bcd_\u0bb5\u0bc6\u0bb3\u0bcd\u0bb3\u0bbf_\u0b9a\u0ba9\u0bbf".split("_"),weekdaysMin:"\u0b9e\u0bbe_\u0ba4\u0bbf_\u0b9a\u0bc6_\u0baa\u0bc1_\u0bb5\u0bbf_\u0bb5\u0bc6_\u0b9a".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[\u0b87\u0ba9\u0bcd\u0bb1\u0bc1] LT",nextDay:"[\u0ba8\u0bbe\u0bb3\u0bc8] LT",nextWeek:"dddd, LT",lastDay:"[\u0ba8\u0bc7\u0bb1\u0bcd\u0bb1\u0bc1] LT",lastWeek:"[\u0b95\u0b9f\u0ba8\u0bcd\u0ba4 \u0bb5\u0bbe\u0bb0\u0bae\u0bcd] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0b87\u0bb2\u0bcd",past:"%s \u0bae\u0bc1\u0ba9\u0bcd",s:"\u0b92\u0bb0\u0bc1 \u0b9a\u0bbf\u0bb2 \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",ss:"%d \u0bb5\u0bbf\u0ba8\u0bbe\u0b9f\u0bbf\u0b95\u0bb3\u0bcd",m:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0bae\u0bcd",mm:"%d \u0ba8\u0bbf\u0bae\u0bbf\u0b9f\u0b99\u0bcd\u0b95\u0bb3\u0bcd",h:"\u0b92\u0bb0\u0bc1 \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",hh:"%d \u0bae\u0ba3\u0bbf \u0ba8\u0bc7\u0bb0\u0bae\u0bcd",d:"\u0b92\u0bb0\u0bc1 \u0ba8\u0bbe\u0bb3\u0bcd",dd:"%d \u0ba8\u0bbe\u0b9f\u0bcd\u0b95\u0bb3\u0bcd",M:"\u0b92\u0bb0\u0bc1 \u0bae\u0bbe\u0ba4\u0bae\u0bcd",MM:"%d \u0bae\u0bbe\u0ba4\u0b99\u0bcd\u0b95\u0bb3\u0bcd",y:"\u0b92\u0bb0\u0bc1 \u0bb5\u0bb0\u0bc1\u0b9f\u0bae\u0bcd",yy:"%d \u0b86\u0ba3\u0bcd\u0b9f\u0bc1\u0b95\u0bb3\u0bcd"},dayOfMonthOrdinalParse:/\d{1,2}\u0bb5\u0ba4\u0bc1/,ordinal:function(e){return e+"\u0bb5\u0ba4\u0bc1"},preparse:function(e){return e.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0baf\u0bbe\u0bae\u0bae\u0bcd|\u0bb5\u0bc8\u0b95\u0bb1\u0bc8|\u0b95\u0bbe\u0bb2\u0bc8|\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd|\u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1|\u0bae\u0bbe\u0bb2\u0bc8/,meridiem:function(e,t,n){return e<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":e<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":e<10?" \u0b95\u0bbe\u0bb2\u0bc8":e<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":e<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":e<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(e,t){return 12===e&&(e=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===t?e<2?e:e+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===t||"\u0b95\u0bbe\u0bb2\u0bc8"===t||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(n("wd/R"))},PpIw:function(e,t,n){!function(e){"use strict";var t={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},n={"\u0ce7":"1","\u0ce8":"2","\u0ce9":"3","\u0cea":"4","\u0ceb":"5","\u0cec":"6","\u0ced":"7","\u0cee":"8","\u0cef":"9","\u0ce6":"0"};e.defineLocale("kn",{months:"\u0c9c\u0ca8\u0cb5\u0cb0\u0cbf_\u0cab\u0cc6\u0cac\u0ccd\u0cb0\u0cb5\u0cb0\u0cbf_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5\u0cac\u0cb0\u0ccd_\u0ca8\u0cb5\u0cc6\u0c82\u0cac\u0cb0\u0ccd_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82\u0cac\u0cb0\u0ccd".split("_"),monthsShort:"\u0c9c\u0ca8_\u0cab\u0cc6\u0cac\u0ccd\u0cb0_\u0cae\u0cbe\u0cb0\u0ccd\u0c9a\u0ccd_\u0c8f\u0caa\u0ccd\u0cb0\u0cbf\u0cb2\u0ccd_\u0cae\u0cc6\u0cd5_\u0c9c\u0cc2\u0ca8\u0ccd_\u0c9c\u0cc1\u0cb2\u0cc6\u0cd6_\u0c86\u0c97\u0cb8\u0ccd\u0c9f\u0ccd_\u0cb8\u0cc6\u0caa\u0ccd\u0c9f\u0cc6\u0c82_\u0c85\u0c95\u0ccd\u0c9f\u0cc6\u0cc2\u0cd5_\u0ca8\u0cb5\u0cc6\u0c82_\u0ca1\u0cbf\u0cb8\u0cc6\u0c82".split("_"),monthsParseExact:!0,weekdays:"\u0cad\u0cbe\u0ca8\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae\u0cb5\u0cbe\u0cb0_\u0cae\u0c82\u0c97\u0cb3\u0cb5\u0cbe\u0cb0_\u0cac\u0cc1\u0ca7\u0cb5\u0cbe\u0cb0_\u0c97\u0cc1\u0cb0\u0cc1\u0cb5\u0cbe\u0cb0_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0\u0cb5\u0cbe\u0cb0_\u0cb6\u0ca8\u0cbf\u0cb5\u0cbe\u0cb0".split("_"),weekdaysShort:"\u0cad\u0cbe\u0ca8\u0cc1_\u0cb8\u0cc6\u0cc2\u0cd5\u0cae_\u0cae\u0c82\u0c97\u0cb3_\u0cac\u0cc1\u0ca7_\u0c97\u0cc1\u0cb0\u0cc1_\u0cb6\u0cc1\u0c95\u0ccd\u0cb0_\u0cb6\u0ca8\u0cbf".split("_"),weekdaysMin:"\u0cad\u0cbe_\u0cb8\u0cc6\u0cc2\u0cd5_\u0cae\u0c82_\u0cac\u0cc1_\u0c97\u0cc1_\u0cb6\u0cc1_\u0cb6".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c87\u0c82\u0ca6\u0cc1] LT",nextDay:"[\u0ca8\u0cbe\u0cb3\u0cc6] LT",nextWeek:"dddd, LT",lastDay:"[\u0ca8\u0cbf\u0ca8\u0ccd\u0ca8\u0cc6] LT",lastWeek:"[\u0c95\u0cc6\u0cc2\u0ca8\u0cc6\u0caf] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0ca8\u0c82\u0ca4\u0cb0",past:"%s \u0cb9\u0cbf\u0c82\u0ca6\u0cc6",s:"\u0c95\u0cc6\u0cb2\u0cb5\u0cc1 \u0c95\u0ccd\u0cb7\u0ca3\u0c97\u0cb3\u0cc1",ss:"%d \u0cb8\u0cc6\u0c95\u0cc6\u0c82\u0ca1\u0cc1\u0c97\u0cb3\u0cc1",m:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",mm:"%d \u0ca8\u0cbf\u0cae\u0cbf\u0cb7",h:"\u0c92\u0c82\u0ca6\u0cc1 \u0c97\u0c82\u0c9f\u0cc6",hh:"%d \u0c97\u0c82\u0c9f\u0cc6",d:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca6\u0cbf\u0ca8",dd:"%d \u0ca6\u0cbf\u0ca8",M:"\u0c92\u0c82\u0ca6\u0cc1 \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",MM:"%d \u0ca4\u0cbf\u0c82\u0c97\u0cb3\u0cc1",y:"\u0c92\u0c82\u0ca6\u0cc1 \u0cb5\u0cb0\u0ccd\u0cb7",yy:"%d \u0cb5\u0cb0\u0ccd\u0cb7"},preparse:function(e){return e.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf|\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6|\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8|\u0cb8\u0c82\u0c9c\u0cc6/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===t?e<4?e:e+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===t?e:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===t?e>=10?e:e+12:"\u0cb8\u0c82\u0c9c\u0cc6"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":e<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":e<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":e<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(e){return e+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(n("wd/R"))},PqYM:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("HDdC"),r=n("D0XW"),a=n("Y7HM"),o=n("z+Ro");function s(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,s=-1;return Object(a.a)(t)?s=Number(t)<1?1:Number(t):Object(o.a)(t)&&(n=t),Object(o.a)(n)||(n=r.a),new i.a(function(t){var i=Object(a.a)(e)?e:+e-n.now();return n.schedule(l,i,{index:0,period:s,subscriber:t})})}function l(e){var t=e.index,n=e.period,i=e.subscriber;if(i.next(t),!i.closed){if(-1===n)return i.complete();e.index=t+1,this.schedule(e,n)}}},QibW:function(e,t,n){"use strict";n.d(t,"a",function(){return M}),n.d(t,"b",function(){return S}),n.d(t,"c",function(){return I});var i=n("Ji7U"),r=n("LK+K"),a=n("vuIU"),o=n("1OyB"),s=n("fXoL"),l=n("FKr1"),c=n("8LU1"),d=n("3Pt+"),u=n("R1ws"),p=n("u47x"),h=n("0EQZ"),m=["input"],g=function(){return{enterDuration:150}},f=["*"],v=new s.InjectionToken("mat-radio-default-options",{providedIn:"root",factory:function(){return{color:"accent"}}}),y=0,b={provide:d.m,useExisting:Object(s.forwardRef)(function(){return S}),multi:!0},x=Object(a.a)(function e(t,n){Object(o.a)(this,e),this.source=t,this.value=n}),_=new s.InjectionToken("MatRadioGroup"),w=function(){var e=function(){function e(t){Object(o.a)(this,e),this._changeDetector=t,this._value=null,this._name="mat-radio-group-".concat(y++),this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=function(){},this.onTouched=function(){},this.change=new s.EventEmitter}return Object(a.a)(e,[{key:"name",get:function(){return this._name},set:function(e){this._name=e,this._updateRadioButtonNames()}},{key:"labelPosition",get:function(){return this._labelPosition},set:function(e){this._labelPosition="before"===e?"before":"after",this._markRadiosForCheck()}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,this._updateSelectedRadioFromValue(),this._checkSelectedRadioButton())}},{key:"_checkSelectedRadioButton",value:function(){this._selected&&!this._selected.checked&&(this._selected.checked=!0)}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e,this.value=e?e.value:null,this._checkSelectedRadioButton()}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(c.c)(e),this._markRadiosForCheck()}},{key:"required",get:function(){return this._required},set:function(e){this._required=Object(c.c)(e),this._markRadiosForCheck()}},{key:"ngAfterContentInit",value:function(){this._isInitialized=!0}},{key:"_touch",value:function(){this.onTouched&&this.onTouched()}},{key:"_updateRadioButtonNames",value:function(){var e=this;this._radios&&this._radios.forEach(function(t){t.name=e.name,t._markForCheck()})}},{key:"_updateSelectedRadioFromValue",value:function(){var e=this;this._radios&&(null===this._selected||this._selected.value!==this._value)&&(this._selected=null,this._radios.forEach(function(t){t.checked=e.value===t.value,t.checked&&(e._selected=t)}))}},{key:"_emitChangeEvent",value:function(){this._isInitialized&&this.change.emit(new x(this._selected,this._value))}},{key:"_markRadiosForCheck",value:function(){this._radios&&this._radios.forEach(function(e){return e._markForCheck()})}},{key:"writeValue",value:function(e){this.value=e,this._changeDetector.markForCheck()}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetector.markForCheck()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](s.ChangeDetectorRef))},e.\u0275dir=s["\u0275\u0275defineDirective"]({type:e,inputs:{name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:"disabled",required:"required",color:"color"},outputs:{change:"change"}}),e}(),S=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(){return Object(o.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n)}(w);return e.\u0275fac=function(t){return C(t||e)},e.\u0275dir=s["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-radio-group"]],contentQueries:function(e,t,n){var i;1&e&&s["\u0275\u0275contentQuery"](n,M,1),2&e&&s["\u0275\u0275queryRefresh"](i=s["\u0275\u0275loadQuery"]())&&(t._radios=i)},hostAttrs:["role","radiogroup",1,"mat-radio-group"],exportAs:["matRadioGroup"],features:[s["\u0275\u0275ProvidersFeature"]([b,{provide:_,useExisting:e}]),s["\u0275\u0275InheritDefinitionFeature"]]}),e}(),C=s["\u0275\u0275getInheritedFactory"](S),k=Object(a.a)(function e(t){Object(o.a)(this,e),this._elementRef=t}),O=Object(l.z)(Object(l.D)(k)),E=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r,a,l,d,u,p){var h;return Object(o.a)(this,n),(h=t.call(this,i))._changeDetector=r,h._focusMonitor=a,h._radioDispatcher=l,h._animationMode=d,h._providerOverride=u,h._uniqueId="mat-radio-".concat(++y),h.id=h._uniqueId,h.change=new s.EventEmitter,h._checked=!1,h._value=null,h._removeUniqueSelectionListener=function(){},h.radioGroup=e,p&&(h.tabIndex=Object(c.f)(p,0)),h._removeUniqueSelectionListener=l.listen(function(e,t){e!==h.id&&t===h.name&&(h.checked=!1)}),h}return Object(a.a)(n,[{key:"checked",get:function(){return this._checked},set:function(e){var t=Object(c.c)(e);this._checked!==t&&(this._checked=t,t&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!t&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),t&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}},{key:"value",get:function(){return this._value},set:function(e){this._value!==e&&(this._value=e,null!==this.radioGroup&&(this.checked||(this.checked=this.radioGroup.value===e),this.checked&&(this.radioGroup.selected=this)))}},{key:"labelPosition",get:function(){return this._labelPosition||this.radioGroup&&this.radioGroup.labelPosition||"after"},set:function(e){this._labelPosition=e}},{key:"disabled",get:function(){return this._disabled||null!==this.radioGroup&&this.radioGroup.disabled},set:function(e){this._setDisabled(Object(c.c)(e))}},{key:"required",get:function(){return this._required||this.radioGroup&&this.radioGroup.required},set:function(e){this._required=Object(c.c)(e)}},{key:"color",get:function(){return this._color||this.radioGroup&&this.radioGroup.color||this._providerOverride&&this._providerOverride.color||"accent"},set:function(e){this._color=e}},{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"focus",value:function(e,t){t?this._focusMonitor.focusVia(this._inputElement,t,e):this._inputElement.nativeElement.focus(e)}},{key:"_markForCheck",value:function(){this._changeDetector.markForCheck()}},{key:"ngOnInit",value:function(){this.radioGroup&&(this.checked=this.radioGroup.value===this._value,this.checked&&(this.radioGroup.selected=this),this.name=this.radioGroup.name)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){!t&&e.radioGroup&&e.radioGroup._touch()})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}},{key:"_emitChangeEvent",value:function(){this.change.emit(new x(this,this._value))}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onInputClick",value:function(e){e.stopPropagation()}},{key:"_onInputChange",value:function(e){e.stopPropagation();var t=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),t&&this.radioGroup._emitChangeEvent())}},{key:"_setDisabled",value:function(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}}]),n}(O);return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](w),s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](s.ChangeDetectorRef),s["\u0275\u0275directiveInject"](p.h),s["\u0275\u0275directiveInject"](h.d),s["\u0275\u0275directiveInject"](String),s["\u0275\u0275directiveInject"](void 0),s["\u0275\u0275directiveInject"](String))},e.\u0275dir=s["\u0275\u0275defineDirective"]({type:e,viewQuery:function(e,t){var n;1&e&&s["\u0275\u0275viewQuery"](m,1),2&e&&s["\u0275\u0275queryRefresh"](n=s["\u0275\u0275loadQuery"]())&&(t._inputElement=n.first)},inputs:{id:"id",checked:"checked",value:"value",labelPosition:"labelPosition",disabled:"disabled",required:"required",color:"color",name:"name",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{change:"change"},features:[s["\u0275\u0275InheritDefinitionFeature"]]}),e}(),M=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r,a,s,l,c,d){return Object(o.a)(this,n),t.call(this,e,i,r,a,s,l,c,d)}return Object(a.a)(n)}(E);return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](_,8),s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](s.ChangeDetectorRef),s["\u0275\u0275directiveInject"](p.h),s["\u0275\u0275directiveInject"](h.d),s["\u0275\u0275directiveInject"](u.a,8),s["\u0275\u0275directiveInject"](v,8),s["\u0275\u0275injectAttribute"]("tabindex"))},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-radio-button"]],hostAttrs:[1,"mat-radio-button"],hostVars:17,hostBindings:function(e,t){1&e&&s["\u0275\u0275listener"]("focus",function(){return t._inputElement.nativeElement.focus()}),2&e&&(s["\u0275\u0275attribute"]("tabindex",null)("id",t.id)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),s["\u0275\u0275classProp"]("mat-radio-checked",t.checked)("mat-radio-disabled",t.disabled)("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-primary","primary"===t.color)("mat-accent","accent"===t.color)("mat-warn","warn"===t.color))},inputs:{disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matRadioButton"],features:[s["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:f,decls:13,vars:19,consts:[[1,"mat-radio-label"],["label",""],[1,"mat-radio-container"],[1,"mat-radio-outer-circle"],[1,"mat-radio-inner-circle"],["type","radio",1,"mat-radio-input","cdk-visually-hidden",3,"id","checked","disabled","tabIndex","required","change","click"],["input",""],["mat-ripple","",1,"mat-radio-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mat-radio-label-content"],[2,"display","none"]],template:function(e,t){if(1&e&&(s["\u0275\u0275projectionDef"](),s["\u0275\u0275elementStart"](0,"label",0,1),s["\u0275\u0275elementStart"](2,"span",2),s["\u0275\u0275element"](3,"span",3),s["\u0275\u0275element"](4,"span",4),s["\u0275\u0275elementStart"](5,"input",5,6),s["\u0275\u0275listener"]("change",function(e){return t._onInputChange(e)})("click",function(e){return t._onInputClick(e)}),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementStart"](7,"span",7),s["\u0275\u0275element"](8,"span",8),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementStart"](9,"span",9),s["\u0275\u0275elementStart"](10,"span",10),s["\u0275\u0275text"](11,"\xa0"),s["\u0275\u0275elementEnd"](),s["\u0275\u0275projection"](12),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementEnd"]()),2&e){var n=s["\u0275\u0275reference"](1);s["\u0275\u0275attribute"]("for",t.inputId),s["\u0275\u0275advance"](5),s["\u0275\u0275property"]("id",t.inputId)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex)("required",t.required),s["\u0275\u0275attribute"]("name",t.name)("value",t.value)("aria-label",t.ariaLabel)("aria-labelledby",t.ariaLabelledby)("aria-describedby",t.ariaDescribedby),s["\u0275\u0275advance"](2),s["\u0275\u0275property"]("matRippleTrigger",n)("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",s["\u0275\u0275pureFunction0"](18,g)),s["\u0275\u0275advance"](2),s["\u0275\u0275classProp"]("mat-radio-label-before","before"==t.labelPosition)}},directives:[l.t],styles:[".mat-radio-button{display:inline-block;-webkit-tap-highlight-color:transparent;outline:0}.mat-radio-label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;display:inline-flex;align-items:center;white-space:nowrap;vertical-align:middle;width:100%}.mat-radio-container{box-sizing:border-box;display:inline-block;position:relative;width:20px;height:20px;flex-shrink:0}.mat-radio-outer-circle{box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:border-color ease 280ms;width:20px;border-width:2px;border-style:solid;border-radius:50%}._mat-animation-noopable .mat-radio-outer-circle{transition:none}.mat-radio-inner-circle{border-radius:50%;box-sizing:border-box;display:block;height:20px;left:0;position:absolute;top:0;transition:transform ease 280ms,background-color ease 280ms;width:20px;transform:scale(0.001);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-radio-inner-circle{transition:none}.mat-radio-checked .mat-radio-inner-circle{transform:scale(0.5)}.cdk-high-contrast-active .mat-radio-checked .mat-radio-inner-circle{border:solid 10px}.mat-radio-label-content{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto;display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-button .mat-radio-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-radio-button .mat-radio-ripple .mat-ripple-element:not(.mat-radio-persistent-ripple){opacity:.16}.mat-radio-persistent-ripple{width:100%;height:100%;transform:none;top:0;left:0}.mat-radio-container:hover .mat-radio-persistent-ripple{opacity:.04}.mat-radio-button:not(.mat-radio-disabled).cdk-keyboard-focused .mat-radio-persistent-ripple,.mat-radio-button:not(.mat-radio-disabled).cdk-program-focused .mat-radio-persistent-ripple{opacity:.12}.mat-radio-persistent-ripple,.mat-radio-disabled .mat-radio-container:hover .mat-radio-persistent-ripple{opacity:0}@media(hover: none){.mat-radio-container:hover .mat-radio-persistent-ripple{display:none}}.mat-radio-input{bottom:0;left:50%}.cdk-high-contrast-active .mat-radio-disabled{opacity:.5}\n"],encapsulation:2,changeDetection:0}),e}(),I=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.u,l.j],l.j]}),e}()},Qj4J:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-kw",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648\u0632_\u063a\u0634\u062a_\u0634\u062a\u0646\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0646\u0628\u0631_\u062f\u062c\u0646\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062a\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0627\u062d\u062f_\u0627\u062a\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:0,doy:12}})}(n("wd/R"))},Qu3c:function(e,t,n){"use strict";n.d(t,"a",function(){return E}),n.d(t,"b",function(){return I});var i=n("ODXe"),r=n("1OyB"),a=n("vuIU"),o=n("rDax"),s=n("u47x"),l=n("ofXK"),c=n("fXoL"),d=n("FKr1"),u=n("vxfF"),p=n("8LU1"),h=n("FtGj"),m=n("0MNC"),g=n("nLfN"),f=n("+rOU"),v=n("XNiG"),y=n("1G5W"),b=n("IzEk"),x=n("R0Ic"),_=n("cH1L"),w={tooltipState:Object(x.n)("state",[Object(x.k)("initial, void, hidden",Object(x.l)({opacity:0,transform:"scale(0)"})),Object(x.k)("visible",Object(x.l)({transform:"scale(1)"})),Object(x.m)("* => visible",Object(x.e)("200ms cubic-bezier(0, 0, 0.2, 1)",Object(x.h)([Object(x.l)({opacity:0,transform:"scale(0)",offset:0}),Object(x.l)({opacity:.5,transform:"scale(0.99)",offset:.5}),Object(x.l)({opacity:1,transform:"scale(1)",offset:1})]))),Object(x.m)("* => hidden",Object(x.e)("100ms cubic-bezier(0, 0, 0.2, 1)",Object(x.l)({opacity:0})))])},S=Object(g.f)({passive:!0}),C=new c.InjectionToken("mat-tooltip-scroll-strategy"),k={provide:C,deps:[o.c],useFactory:function(e){return function(){return e.scrollStrategies.reposition({scrollThrottle:20})}}},O=new c.InjectionToken("mat-tooltip-default-options",{providedIn:"root",factory:function(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}}),E=function(){var e=function(){function e(t,n,i,a,o,s,l,c,d,u,p,m){var g=this;Object(r.a)(this,e),this._overlay=t,this._elementRef=n,this._scrollDispatcher=i,this._viewContainerRef=a,this._ngZone=o,this._platform=s,this._ariaDescriber=l,this._focusMonitor=c,this._dir=u,this._defaultOptions=p,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this.showDelay=this._defaultOptions.showDelay,this.hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new v.a,this._handleKeydown=function(e){g._isTooltipVisible()&&e.keyCode===h.h&&!Object(h.t)(e)&&(e.preventDefault(),e.stopPropagation(),g._ngZone.run(function(){return g.hide(0)}))},this._scrollStrategy=d,p&&(p.position&&(this.position=p.position),p.touchGestures&&(this.touchGestures=p.touchGestures)),o.runOutsideAngular(function(){n.nativeElement.addEventListener("keydown",g._handleKeydown)})}return Object(a.a)(e,[{key:"position",get:function(){return this._position},set:function(e){e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(),this._tooltipInstance&&this._tooltipInstance.show(0),this._overlayRef.updatePosition()))}},{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=Object(p.c)(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}},{key:"message",get:function(){return this._message},set:function(e){var t=this;this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(function(){Promise.resolve().then(function(){t._ariaDescriber.describe(t._elementRef.nativeElement,t.message,"tooltip")})}))}},{key:"tooltipClass",get:function(){return this._tooltipClass},set:function(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}},{key:"ngAfterViewInit",value:function(){var e=this;this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(Object(y.a)(this._destroyed)).subscribe(function(t){t?"keyboard"===t&&e._ngZone.run(function(){return e.show()}):e._ngZone.run(function(){return e.hide(0)})})}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),e.removeEventListener("keydown",this._handleKeydown),this._passiveListeners.forEach(function(t){var n=Object(i.a)(t,2);e.removeEventListener(n[0],n[1],S)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}},{key:"show",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.showDelay;if(!this.disabled&&this.message&&(!this._isTooltipVisible()||this._tooltipInstance._showTimeoutId||this._tooltipInstance._hideTimeoutId)){var n=this._createOverlay();this._detach(),this._portal=this._portal||new f.d(M,this._viewContainerRef),this._tooltipInstance=n.attach(this._portal).instance,this._tooltipInstance.afterHidden().pipe(Object(y.a)(this._destroyed)).subscribe(function(){return e._detach()}),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),this._tooltipInstance.show(t)}}},{key:"hide",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.hideDelay;this._tooltipInstance&&this._tooltipInstance.hide(e)}},{key:"toggle",value:function(){this._isTooltipVisible()?this.hide():this.show()}},{key:"_isTooltipVisible",value:function(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}},{key:"_createOverlay",value:function(){var e=this;if(this._overlayRef)return this._overlayRef;var t=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),n=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(".mat-tooltip").withFlexibleDimensions(!1).withViewportMargin(8).withScrollableContainers(t);return n.positionChanges.pipe(Object(y.a)(this._destroyed)).subscribe(function(t){e._tooltipInstance&&t.scrollableViewProperties.isOverlayClipped&&e._tooltipInstance.isVisible()&&e._ngZone.run(function(){return e.hide(0)})}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:n,panelClass:"mat-tooltip-panel",scrollStrategy:this._scrollStrategy()}),this._updatePosition(),this._overlayRef.detachments().pipe(Object(y.a)(this._destroyed)).subscribe(function(){return e._detach()}),this._overlayRef}},{key:"_detach",value:function(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}},{key:"_updatePosition",value:function(){var e=this._overlayRef.getConfig().positionStrategy,t=this._getOrigin(),n=this._getOverlayPosition();e.withPositions([Object.assign(Object.assign({},t.main),n.main),Object.assign(Object.assign({},t.fallback),n.fallback)])}},{key:"_getOrigin",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n||"below"==n?e={originX:"center",originY:"above"==n?"top":"bottom"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={originX:"start",originY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={originX:"end",originY:"center"});var i=this._invertPosition(e.originX,e.originY);return{main:e,fallback:{originX:i.x,originY:i.y}}}},{key:"_getOverlayPosition",value:function(){var e,t=!this._dir||"ltr"==this._dir.value,n=this.position;"above"==n?e={overlayX:"center",overlayY:"bottom"}:"below"==n?e={overlayX:"center",overlayY:"top"}:"before"==n||"left"==n&&t||"right"==n&&!t?e={overlayX:"end",overlayY:"center"}:("after"==n||"right"==n&&t||"left"==n&&!t)&&(e={overlayX:"start",overlayY:"center"});var i=this._invertPosition(e.overlayX,e.overlayY);return{main:e,fallback:{overlayX:i.x,overlayY:i.y}}}},{key:"_updateTooltipMessage",value:function(){var e=this;this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(Object(b.a)(1),Object(y.a)(this._destroyed)).subscribe(function(){e._tooltipInstance&&e._overlayRef.updatePosition()}))}},{key:"_setTooltipClass",value:function(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}},{key:"_invertPosition",value:function(e,t){return"above"===this.position||"below"===this.position?"top"===t?t="bottom":"bottom"===t&&(t="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:t}}},{key:"_setupPointerEnterEventsIfNeeded",value:function(){var e=this;!this._disabled&&this.message&&this._viewInitialized&&!this._passiveListeners.length&&(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",function(){e._setupPointerExitEventsIfNeeded(),e.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",function(){e._setupPointerExitEventsIfNeeded(),clearTimeout(e._touchstartTimeout),e._touchstartTimeout=setTimeout(function(){return e.show()},500)}])),this._addListeners(this._passiveListeners))}},{key:"_setupPointerExitEventsIfNeeded",value:function(){var e,t=this;if(!this._pointerExitEventsInitialized){this._pointerExitEventsInitialized=!0;var n=[];if(this._platformSupportsMouseEvents())n.push(["mouseleave",function(){return t.hide()}],["wheel",function(e){return t._wheelListener(e)}]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();var i=function(){clearTimeout(t._touchstartTimeout),t.hide(t._defaultOptions.touchendHideDelay)};n.push(["touchend",i],["touchcancel",i])}this._addListeners(n),(e=this._passiveListeners).push.apply(e,n)}}},{key:"_addListeners",value:function(e){var t=this;e.forEach(function(e){var n=Object(i.a)(e,2);t._elementRef.nativeElement.addEventListener(n[0],n[1],S)})}},{key:"_platformSupportsMouseEvents",value:function(){return!this._platform.IOS&&!this._platform.ANDROID}},{key:"_wheelListener",value:function(e){if(this._isTooltipVisible()){var t=(this._document||document).elementFromPoint(e.clientX,e.clientY),n=this._elementRef.nativeElement;t===n||n.contains(t)||this.hide()}}},{key:"_disableNativeGesturesIfNecessary",value:function(){var e=this.touchGestures;if("off"!==e){var t=this._elementRef.nativeElement,n=t.style;("on"===e||"INPUT"!==t.nodeName&&"TEXTAREA"!==t.nodeName)&&(n.userSelect=n.msUserSelect=n.webkitUserSelect=n.MozUserSelect="none"),"on"!==e&&t.draggable||(n.webkitUserDrag="none"),n.touchAction="none",n.webkitTapHighlightColor="transparent"}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](o.c),c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](u.b),c["\u0275\u0275directiveInject"](c.ViewContainerRef),c["\u0275\u0275directiveInject"](c.NgZone),c["\u0275\u0275directiveInject"](g.a),c["\u0275\u0275directiveInject"](s.c),c["\u0275\u0275directiveInject"](s.h),c["\u0275\u0275directiveInject"](C),c["\u0275\u0275directiveInject"](_.b,8),c["\u0275\u0275directiveInject"](O,8),c["\u0275\u0275directiveInject"](l.DOCUMENT))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],inputs:{showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]},exportAs:["matTooltip"]}),e}(),M=function(){var e=function(){function e(t,n){Object(r.a)(this,e),this._changeDetectorRef=t,this._breakpointObserver=n,this._visibility="initial",this._closeOnInteraction=!1,this._onHide=new v.a,this._isHandset=this._breakpointObserver.observe(m.b.Handset)}return Object(a.a)(e,[{key:"show",value:function(e){var t=this;this._hideTimeoutId&&(clearTimeout(this._hideTimeoutId),this._hideTimeoutId=null),this._closeOnInteraction=!0,this._showTimeoutId=setTimeout(function(){t._visibility="visible",t._showTimeoutId=null,t._markForCheck()},e)}},{key:"hide",value:function(e){var t=this;this._showTimeoutId&&(clearTimeout(this._showTimeoutId),this._showTimeoutId=null),this._hideTimeoutId=setTimeout(function(){t._visibility="hidden",t._hideTimeoutId=null,t._markForCheck()},e)}},{key:"afterHidden",value:function(){return this._onHide}},{key:"isVisible",value:function(){return"visible"===this._visibility}},{key:"ngOnDestroy",value:function(){this._onHide.complete()}},{key:"_animationStart",value:function(){this._closeOnInteraction=!1}},{key:"_animationDone",value:function(e){var t=e.toState;"hidden"!==t||this.isVisible()||this._onHide.next(),"visible"!==t&&"hidden"!==t||(this._closeOnInteraction=!0)}},{key:"_handleBodyInteraction",value:function(){this._closeOnInteraction&&this.hide(0)}},{key:"_markForCheck",value:function(){this._changeDetectorRef.markForCheck()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ChangeDetectorRef),c["\u0275\u0275directiveInject"](m.a))},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-tooltip-component"]],hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("click",function(){return t._handleBodyInteraction()},!1,c["\u0275\u0275resolveBody"])("auxclick",function(){return t._handleBodyInteraction()},!1,c["\u0275\u0275resolveBody"]),2&e&&c["\u0275\u0275styleProp"]("zoom","visible"===t._visibility?1:null)},decls:3,vars:7,consts:[[1,"mat-tooltip",3,"ngClass"]],template:function(e,t){var n;1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275listener"]("@state.start",function(){return t._animationStart()})("@state.done",function(e){return t._animationDone(e)}),c["\u0275\u0275pipe"](1,"async"),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275classProp"]("mat-tooltip-handset",null==(n=c["\u0275\u0275pipeBind1"](1,5,t._isHandset))?null:n.matches),c["\u0275\u0275property"]("ngClass",t.tooltipClass)("@state",t._visibility),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](t.message))},directives:[l.NgClass],pipes:[l.AsyncPipe],styles:[".mat-tooltip-panel{pointer-events:none !important}.mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}\n"],encapsulation:2,data:{animation:[w.tooltipState]},changeDetection:0}),e}(),I=function(){var e=Object(a.a)(function e(){Object(r.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=c["\u0275\u0275defineInjector"]({providers:[k],imports:[[s.a,l.CommonModule,o.f,d.j],d.j,u.a]}),e}()},R0Ic:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n.d(t,"b",function(){return a}),n.d(t,"c",function(){return o}),n.d(t,"d",function(){return b}),n.d(t,"e",function(){return c}),n.d(t,"f",function(){return f}),n.d(t,"g",function(){return d}),n.d(t,"h",function(){return m}),n.d(t,"i",function(){return v}),n.d(t,"j",function(){return u}),n.d(t,"k",function(){return h}),n.d(t,"l",function(){return p}),n.d(t,"m",function(){return g}),n.d(t,"n",function(){return l}),n.d(t,"o",function(){return x}),n.d(t,"p",function(){return _});var i=n("vuIU"),r=n("1OyB"),a=Object(i.a)(function e(){Object(r.a)(this,e)}),o=Object(i.a)(function e(){Object(r.a)(this,e)}),s="*";function l(e,t){return{type:7,name:e,definitions:t,options:{}}}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:3,steps:e,options:t}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function p(e){return{type:6,styles:e,offset:null}}function h(e,t,n){return{type:0,name:e,styles:t,options:n}}function m(e){return{type:5,steps:e}}function g(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return{type:9,options:e}}function v(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:11,selector:e,animation:t,options:n}}function y(e){Promise.resolve(null).then(e)}var b=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Object(r.a)(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=t+n}return Object(i.a)(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;y(function(){return e._onFinish()})}},{key:"_onStart",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(e){this._position=this.totalTime?e*this.totalTime:1}},{key:"getPosition",value:function(){return this.totalTime?this._position/this.totalTime:1}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),x=function(){function e(t){var n=this;Object(r.a)(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var i=0,a=0,o=0,s=this.players.length;0==s?y(function(){return n._onFinish()}):this.players.forEach(function(e){e.onDone(function(){++i==s&&n._onFinish()}),e.onDestroy(function(){++a==s&&n._onDestroy()}),e.onStart(function(){++o==s&&n._onStart()})}),this.totalTime=this.players.reduce(function(e,t){return Math.max(e,t.totalTime)},0)}return Object(i.a)(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach(function(e){return e.init()})}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(function(e){return e.play()})}},{key:"pause",value:function(){this.players.forEach(function(e){return e.pause()})}},{key:"restart",value:function(){this.players.forEach(function(e){return e.restart()})}},{key:"finish",value:function(){this._onFinish(),this.players.forEach(function(e){return e.finish()})}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(function(e){return e.destroy()}),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach(function(e){return e.reset()}),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach(function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}},{key:"getPosition",value:function(){var e=this.players.reduce(function(e,t){return null===e||t.totalTime>e.totalTime?t:e},null);return null!=e?e.getPosition():0}},{key:"beforeDestroy",value:function(){this.players.forEach(function(e){e.beforeDestroy&&e.beforeDestroy()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),_="!"},R1ws:function(e,t,n){"use strict";n.d(t,"a",function(){return Ut}),n.d(t,"b",function(){return $t});var i=n("ODXe"),r=n("1OyB"),a=n("vuIU"),o=n("Ji7U"),s=n("LK+K"),l=n("fXoL"),c=n("jhN1"),d=n("R0Ic"),u=n("ReuC"),p=n("foSv"),h=n("uFwe"),m=n("KQm4");function g(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function f(e){switch(e.length){case 0:return new d.d;case 1:return e[0];default:return new d.o(e)}}function v(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=[],s=[],l=-1,c=null;if(i.forEach(function(e){var n=e.offset,i=n==l,u=i&&c||{};Object.keys(e).forEach(function(n){var i=n,s=e[n];if("offset"!==n)switch(i=t.normalizePropertyName(i,o),s){case d.p:s=r[n];break;case d.a:s=a[n];break;default:s=t.normalizeStyleValue(n,i,s,o)}u[i]=s}),i||s.push(u),c=u,l=n}),o.length){var u="\n - ";throw new Error("Unable to animate due to the following errors:".concat(u).concat(o.join(u)))}return s}function y(e,t,n,i){switch(t){case"start":e.onStart(function(){return i(n&&b(n,"start",e))});break;case"done":e.onDone(function(){return i(n&&b(n,"done",e))});break;case"destroy":e.onDestroy(function(){return i(n&&b(n,"destroy",e))})}}function b(e,t,n){var i=n.totalTime,r=x(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==i?e.totalTime:i,!!n.disabled),a=e._data;return null!=a&&(r._data=a),r}function x(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,o=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:i,phaseName:r,totalTime:a,disabled:!!o}}function _(e,t,n){var i;return e instanceof Map?(i=e.get(t))||e.set(t,i=n):(i=e[t])||(i=e[t]=n),i}function w(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var S=function(e,t){return!1},C=function(e,t){return!1},k=function(e,t,n){return[]},O=g();(O||"undefined"!=typeof Element)&&(S=function(e,t){return e.contains(t)},C=function(){if(O||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:C}(),k=function(e,t,n){var i=[];if(n)for(var r=e.querySelectorAll(t),a=0;a<r.length;a++)i.push(r[a]);else{var o=e.querySelector(t);o&&i.push(o)}return i});var E=null,M=!1;function I(e){E||(E=("undefined"!=typeof document?document.body:null)||{},M=!!E.style&&"WebkitAppearance"in E.style);var t=!0;return E.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&!(t=e in E.style)&&M&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in E.style),t}var P=C,T=S,D=k;function L(e){var t={};return Object.keys(e).forEach(function(n){var i=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[i]=e[n]}),t}var R=function(){var e=function(){function e(){Object(r.a)(this,e)}return Object(a.a)(e,[{key:"validateStyleProperty",value:function(e){return I(e)}},{key:"matchesElement",value:function(e,t){return P(e,t)}},{key:"containsElement",value:function(e,t){return T(e,t)}},{key:"query",value:function(e,t,n){return D(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,i,r){return new d.d(n,i)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),j=function(){var e=Object(a.a)(function e(){Object(r.a)(this,e)});return e.NOOP=new R,e}(),A="ng-enter",F="ng-leave",B="ng-trigger",z=".ng-trigger",N="ng-animating",H=".ng-animating";function V(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Y(parseFloat(t[1]),t[2])}function Y(e,t){switch(t){case"s":return 1e3*e;default:return e}}function W(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var i,r=0,a="";if("string"==typeof e){var o=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===o)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};i=Y(parseFloat(o[1]),o[2]);var s=o[3];null!=s&&(r=Y(parseFloat(s),o[4]));var l=o[5];l&&(a=l)}else i=e;if(!n){var c=!1,d=t.length;i<0&&(t.push("Duration values below 0 are not allowed for this animation step."),c=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),c=!0),c&&t.splice(d,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:i,delay:r,easing:a}}(e,t,n)}function G(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach(function(n){t[n]=e[n]}),t}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var i in e)n[i]=e[i];else G(e,n);return n}function q(e,t,n){return n?t+":"+n+";":""}function Z(e){for(var t="",n=0;n<e.style.length;n++){var i=e.style.item(n);t+=q(0,i,e.style.getPropertyValue(i))}for(var r in e.style)e.style.hasOwnProperty(r)&&!r.startsWith("_")&&(t+=q(0,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[r]));e.setAttribute("style",t)}function $(e,t,n){e.style&&(Object.keys(t).forEach(function(i){var r=ie(i);n&&!n.hasOwnProperty(i)&&(n[i]=e.style[r]),e.style[r]=t[i]}),g()&&Z(e))}function X(e,t){e.style&&(Object.keys(t).forEach(function(t){var n=ie(t);e.style[n]=""}),g()&&Z(e))}function K(e){return Array.isArray(e)?1==e.length?e[0]:Object(d.j)(e):e}var J=new RegExp("".concat("{{","\\s*(.+?)\\s*").concat("}}"),"g");function Q(e){var t=[];if("string"==typeof e){for(var n;n=J.exec(e);)t.push(n[1]);J.lastIndex=0}return t}function ee(e,t,n){var i=e.toString(),r=i.replace(J,function(e,i){var r=t[i];return t.hasOwnProperty(i)||(n.push("Please provide a value for the animation param ".concat(i)),r=""),r.toString()});return r==i?e:r}function te(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var ne=/-+([a-z0-9])/g;function ie(e){return e.replace(ne,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()})}function re(e,t){return 0===e||0===t}function ae(e,t,n){var i=Object.keys(n);if(i.length&&t.length){var r=t[0],a=[];if(i.forEach(function(e){r.hasOwnProperty(e)||a.push(e),r[e]=n[e]}),a.length)for(var o=function(){var n=t[s];a.forEach(function(t){n[t]=se(e,t)})},s=1;s<t.length;s++)o()}return t}function oe(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #".concat(t.type))}}function se(e,t){return window.getComputedStyle(e)[t]}var le="*",ce=new Set(["true","1"]),de=new Set(["false","0"]);function ue(e,t){var n=ce.has(e)||de.has(e),i=ce.has(t)||de.has(t);return function(r,a){var o=e==le||e==r,s=t==le||t==a;return!o&&n&&"boolean"==typeof r&&(o=r?ce.has(e):de.has(e)),!s&&i&&"boolean"==typeof a&&(s=a?ce.has(t):de.has(t)),o&&s}}var pe=":self",he=new RegExp("s*".concat(pe,"s*,?"),"g");function me(e,t,n){return new ge(e).build(t,n)}var ge=function(){function e(t){Object(r.a)(this,e),this._driver=t}return Object(a.a)(e,[{key:"build",value:function(e,t){var n=new fe(t);return this._resetContextStyleTimingState(n),oe(this,K(e),n)}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var n=this,i=t.queryCount=0,r=t.depCount=0,a=[],o=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(function(e){if(n._resetContextStyleTimingState(t),0==e.type){var s=e,l=s.name;l.toString().split(/\s*,\s*/).forEach(function(e){s.name=e,a.push(n.visitState(s,t))}),s.name=l}else if(1==e.type){var c=n.visitTransition(e,t);i+=c.queryCount,r+=c.depCount,o.push(c)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:a,transitions:o,queryCount:i,depCount:r,options:null}}},{key:"visitState",value:function(e,t){var n=this.visitStyle(e.styles,t),i=e.options&&e.options.params||null;if(n.containsDynamicStyles){var r=new Set,a=i||{};if(n.styles.forEach(function(e){if(ve(e)){var t=e;Object.keys(t).forEach(function(e){Q(t[e]).forEach(function(e){a.hasOwnProperty(e)||r.add(e)})})}}),r.size){var o=te(r.values());t.errors.push('state("'.concat(e.name,'", ...) must define default values for all the following style substitutions: ').concat(o.join(", ")))}}return{type:0,name:e.name,style:n,options:i?{params:i}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var n,i,r,a=oe(this,K(e.animation),t);return{type:1,matchers:(n=e.expr,i=t.errors,r=[],"string"==typeof n?n.split(/\s*,\s*/).forEach(function(e){return function(e,t,n){if(":"==e[0]){var i=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return t.push('The transition alias value "'.concat(e,'" is not supported')),"* => *"}}(e,n);if("function"==typeof i)return void t.push(i);e=i}var r=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==r||r.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var a=r[1],o=r[2],s=r[3];t.push(ue(a,s)),"<"!=o[0]||a==le&&s==le||t.push(ue(s,a))}(e,r,i)}):r.push(n),r),animation:a,queryCount:t.queryCount,depCount:t.depCount,options:ye(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map(function(e){return oe(n,e,t)}),options:ye(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,i=t.currentTime,r=0,a=e.steps.map(function(e){t.currentTime=i;var a=oe(n,e,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:3,steps:a,options:ye(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,i=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return be(W(e,t).duration,0,"");var i=e;if(i.split(/\s+/).some(function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)})){var r=be(0,0,"");return r.dynamic=!0,r.strValue=i,r}return be((n=n||W(i,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=i;var r=e.styles?e.styles:Object(d.l)({});if(5==r.type)n=this.visitKeyframes(r,t);else{var a=e.styles,o=!1;if(!a){o=!0;var s={};i.easing&&(s.easing=i.easing),a=Object(d.l)(s)}t.currentTime+=i.duration+i.delay;var l=this.visitStyle(a,t);l.isEmptyStep=o,n=l}return t.currentAnimateTimings=null,{type:4,timings:i,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach(function(e){"string"==typeof e?e==d.a?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)}):n.push(e.styles);var i=!1,r=null;return n.forEach(function(e){if(ve(e)){var t=e,n=t.easing;if(n&&(r=n,delete t.easing),!i)for(var a in t)if(t[a].toString().indexOf("{{")>=0){i=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:i,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,i=t.currentAnimateTimings,r=t.currentTime,a=t.currentTime;i&&a>0&&(a-=i.duration+i.delay),e.styles.forEach(function(e){"string"!=typeof e&&Object.keys(e).forEach(function(i){if(n._driver.validateStyleProperty(i)){var o,s,l,c=t.collectedStyles[t.currentQuerySelector],d=c[i],u=!0;d&&(a!=r&&a>=d.startTime&&r<=d.endTime&&(t.errors.push('The CSS property "'.concat(i,'" that exists between the times of "').concat(d.startTime,'ms" and "').concat(d.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(a,'ms" and "').concat(r,'ms"')),u=!1),a=d.startTime),u&&(c[i]={startTime:a,endTime:r}),t.options&&(o=t.errors,s=t.options.params||{},(l=Q(e[i])).length&&l.forEach(function(e){s.hasOwnProperty(e)||o.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))}))}else t.errors.push('The provided animation property "'.concat(i,'" is not a supported CSS property for animations'))})})}},{key:"visitKeyframes",value:function(e,t){var n=this,i={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),i;var r=0,a=[],o=!1,s=!1,l=0,c=e.steps.map(function(e){var i=n._makeStyleAst(e,t),c=null!=i.offset?i.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach(function(e){if(ve(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}});else if(ve(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(i.styles),d=0;return null!=c&&(r++,d=i.offset=c),s=s||d<0||d>1,o=o||d<l,l=d,a.push(d),i});s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),o&&t.errors.push("Please ensure that all keyframe offsets are in order");var d=e.steps.length,u=0;r>0&&r<d?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==r&&(u=1/(d-1));var p=d-1,h=t.currentTime,m=t.currentAnimateTimings,g=m.duration;return c.forEach(function(e,r){var o=u>0?r==p?1:u*r:a[r],s=o*g;t.currentTime=h+m.delay+s,m.duration=s,n._validateStyleAst(e,t),e.offset=o,i.styles.push(e)}),i}},{key:"visitReference",value:function(e,t){return{type:8,animation:oe(this,K(e.animation),t),options:ye(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:ye(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ye(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var a=function(e){var t=!!e.split(/\s*,\s*/).find(function(e){return e==pe});return t&&(e=e.replace(he,"")),[e=e.replace(/@\*/g,z).replace(/@\w+/g,function(e){return".ng-trigger-"+e.substr(1)}).replace(/:animating/g,H),t]}(e.selector),o=Object(i.a)(a,2),s=o[0],l=o[1];t.currentQuerySelector=n.length?n+" "+s:s,_(t.collectedStyles,t.currentQuerySelector,{});var c=oe(this,K(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:l,animation:c,originalSelector:e.selector,options:ye(e.options)}}},{key:"visitStagger",value: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"}:W(e.timings,t.errors,!0);return{type:12,animation:oe(this,K(e.animation),t),timings:n,options:null}}}]),e}(),fe=Object(a.a)(function e(t){Object(r.a)(this,e),this.errors=t,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 ve(e){return!Array.isArray(e)&&"object"==typeof e}function ye(e){var t;return e?(e=G(e)).params&&(e.params=(t=e.params)?G(t):null):e={},e}function be(e,t,n){return{duration:e,delay:t,easing:n}}function xe(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:i,duration:r,delay:a,totalTime:r+a,easing:o,subTimeline:s}}var _e=function(){function e(){Object(r.a)(this,e),this._map=new Map}return Object(a.a)(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,i=this._map.get(e);i||this._map.set(e,i=[]),(n=i).push.apply(n,Object(m.a)(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),we=new RegExp(":enter","g"),Se=new RegExp(":leave","g");function Ce(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new ke).buildKeyframes(e,t,n,i,r,a,o,s,l,c)}var ke=function(){function e(){Object(r.a)(this,e)}return Object(a.a)(e,[{key:"buildKeyframes",value:function(e,t,n,i,r,a,o,s,l){var c=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];l=l||new _e;var d=new Ee(e,t,l,i,r,c,[]);d.options=s,d.currentTimeline.setStyles([a],null,d.errors,s),oe(this,n,d);var u=d.timelines.filter(function(e){return e.containsAnimation()});if(u.length&&Object.keys(o).length){var p=u[u.length-1];p.allowOnlyTimelineStyles()||p.setStyles([o],null,d.errors,s)}return u.length?u.map(function(e){return e.buildKeyframes()}):[xe(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var i=t.createSubContext(e.options),r=t.currentTimeline.currentTime,a=this._visitSubInstructions(n,i,i.options);r!=a&&t.transformIntoNewTimeline(a)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var i=t.currentTimeline.currentTime,r=null!=n.duration?V(n.duration):null,a=null!=n.delay?V(n.delay):null;return 0!==r&&e.forEach(function(e){var n=t.appendInstructionToTimeline(e,r,a);i=Math.max(i,n.duration+n.delay)}),i}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),oe(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,i=t.subContextCount,r=t,a=e.options;if(a&&(a.params||a.delay)&&((r=t.createSubContext(a)).transformIntoNewTimeline(),null!=a.delay)){6==r.previousNode.type&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=Oe);var o=V(a.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(function(e){return oe(n,e,r)}),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,i=[],r=t.currentTimeline.currentTime,a=e.options&&e.options.delay?V(e.options.delay):0;e.steps.forEach(function(o){var s=t.createSubContext(e.options);a&&s.delayNextStep(a),oe(n,o,s),r=Math.max(r,s.currentTimeline.currentTime),i.push(s.currentTimeline)}),i.forEach(function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)}),t.transformIntoNewTimeline(r),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return W(t.params?ee(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),i=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),i.snapshotCurrentStyles());var r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),i.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,i=t.currentAnimateTimings;!i&&n.getCurrentStyleProperties().length&&n.forwardFrame();var r=i&&i.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,i=t.currentTimeline.duration,r=n.duration,a=t.createSubContext().currentTimeline;a.easing=n.easing,e.styles.forEach(function(e){a.forwardTime((e.offset||0)*r),a.setStyles(e.styles,e.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(i+r),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,i=t.currentTimeline.currentTime,r=e.options||{},a=r.delay?V(r.delay):0;a&&(6===t.previousNode.type||0==i&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=Oe);var o=i,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=s.length;var l=null;s.forEach(function(i,r){t.currentQueryIndex=r;var s=t.createSubContext(e.options,i);a&&s.delayNextStep(a),i===t.element&&(l=s.currentTimeline),oe(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),o=Math.max(o,s.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,i=t.currentTimeline,r=e.timings,a=Math.abs(r.duration),o=a*(t.currentQueryTotal-1),s=a*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":s=o-s;break;case"full":s=n.currentStaggerTime}var l=t.currentTimeline;s&&l.delayNextStep(s);var c=l.currentTime;oe(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=i.currentTime-c+(i.startTime-n.currentTimeline.startTime)}}]),e}(),Oe={},Ee=function(){function e(t,n,i,a,o,s,l,c){Object(r.a)(this,e),this._driver=t,this.element=n,this.subInstructions=i,this._enterClassName=a,this._leaveClassName=o,this.errors=s,this.timelines=l,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Oe,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new Me(this._driver,n,0),l.push(this.currentTimeline)}return Object(a.a)(e,[{key:"params",get:function(){return this.options.params}},{key:"updateOptions",value:function(e,t){var n=this;if(e){var i=e,r=this.options;null!=i.duration&&(r.duration=V(i.duration)),null!=i.delay&&(r.delay=V(i.delay));var a=i.params;if(a){var o=r.params;o||(o=this.options.params={}),Object.keys(a).forEach(function(e){t&&o.hasOwnProperty(e)||(o[e]=ee(a[e],o,n.errors))})}}}},{key:"_copyOptions",value: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}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,r=n||this.element,a=new e(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return a.previousNode=this.previousNode,a.currentAnimateTimings=this.currentAnimateTimings,a.options=this._copyOptions(),a.updateOptions(t),a.currentQueryIndex=this.currentQueryIndex,a.currentQueryTotal=this.currentQueryTotal,a.parentContext=this,this.subContextCount++,a}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=Oe,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var i={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new Ie(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,i,e.stretchStartingKeyframe);return this.timelines.push(r),i}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,i,r,a){var o=[];if(i&&o.push(this.element),e.length>0){e=(e=e.replace(we,"."+this._enterClassName)).replace(Se,"."+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)),o.push.apply(o,Object(m.a)(s))}return r||0!=o.length||a.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),o}}]),e}(),Me=function(){function e(t,n,i,a){Object(r.a)(this,e),this._driver=t,this.element=n,this.startTime=i,this._elementTimelineStylesLookup=a,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(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return Object(a.a)(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"delayNextStep",value: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}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value: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))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(function(e){t._backFill[e]=t._globalTimelineStyles[e]||d.a,t._currentKeyframe[e]=d.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,i){var r=this;t&&(this._previousKeyframe.easing=t);var a=i&&i.params||{},o=function(e,t){var n,i={};return e.forEach(function(e){"*"===e?(n=n||Object.keys(t)).forEach(function(e){i[e]=d.a}):U(e,!1,i)}),i}(e,this._globalTimelineStyles);Object.keys(o).forEach(function(e){var t=ee(o[e],a,n);r._pendingStyles[e]=t,r._localTimelineStyles.hasOwnProperty(e)||(r._backFill[e]=r._globalTimelineStyles.hasOwnProperty(e)?r._globalTimelineStyles[e]:d.a),r._updateStyle(e,t)})}},{key:"applyStylesToKeyframe",value: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])}))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach(function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)})}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach(function(n){var i=t._styleSummary[n],r=e._styleSummary[n];(!i||r.time>i.time)&&t._updateStyle(n,r.value)})}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,i=1===this._keyframes.size&&0===this.duration,r=[];this._keyframes.forEach(function(a,o){var s=U(a,!0);Object.keys(s).forEach(function(e){var i=s[e];i==d.p?t.add(e):i==d.a&&n.add(e)}),i||(s.offset=o/e.duration),r.push(s)});var a=t.size?te(t.values()):[],o=n.size?te(n.values()):[];if(i){var s=r[0],l=G(s);s.offset=0,l.offset=1,r=[s,l]}return xe(this.element,r,a,o,this.duration,this.startTime,this.easing,!1)}}]),e}(),Ie=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,a,o,s,l){var c,d=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return Object(r.a)(this,n),(c=t.call(this,e,i,l.delay)).element=i,c.keyframes=a,c.preStyleProps=o,c.postStyleProps=s,c._stretchStartingKeyframe=d,c.timings={duration:l.duration,delay:l.delay,easing:l.easing},c}return Object(a.a)(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,i=t.duration,r=t.easing;if(this._stretchStartingKeyframe&&n){var a=[],o=i+n,s=n/o,l=U(e[0],!1);l.offset=0,a.push(l);var c=U(e[0],!1);c.offset=Pe(s),a.push(c);for(var d=e.length-1,u=1;u<=d;u++){var p=U(e[u],!1);p.offset=Pe((n+p.offset*i)/o),a.push(p)}i=o,n=0,r="",e=a}return xe(this.element,e,this.preStyleProps,this.postStyleProps,i,n,r,!0)}}]),n}(Me);function Pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var Te=Object(a.a)(function e(){Object(r.a)(this,e)}),De=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){return Object(r.a)(this,n),t.apply(this,arguments)}return Object(a.a)(n,[{key:"normalizePropertyName",value:function(e,t){return ie(e)}},{key:"normalizeStyleValue",value:function(e,t,n,i){var r="",a=n.toString().trim();if(Le[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{var o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&i.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return a+r}}]),n}(Te),Le=function(){return e="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(","),t={},e.forEach(function(e){return t[e]=!0}),t;var e,t}();function Re(e,t,n,i,r,a,o,s,l,c,d,u,p){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:a,toState:i,toStyles:o,timelines:s,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:p}}var je={},Ae=function(){function e(t,n,i){Object(r.a)(this,e),this._triggerName=t,this.ast=n,this._stateStyles=i}return Object(a.a)(e,[{key:"match",value:function(e,t,n,i){return function(e,t,n,i,r){return e.some(function(e){return e(t,n,i,r)})}(this.ast.matchers,e,t,n,i)}},{key:"buildStyles",value:function(e,t,n){var i=this._stateStyles["*"],r=this._stateStyles[e],a=i?i.buildStyles(t,n):{};return r?r.buildStyles(t,n):a}},{key:"build",value:function(e,t,n,i,r,a,o,s,l,c){var d=[],u=this.ast.options&&this.ast.options.params||je,p=this.buildStyles(n,o&&o.params||je,d),h=s&&s.params||je,m=this.buildStyles(i,h,d),g=new Set,f=new Map,v=new Map,y="void"===i,b={params:Object.assign(Object.assign({},u),h)},x=c?[]:Ce(e,t,this.ast.animation,r,a,p,m,b,l,d),w=0;if(x.forEach(function(e){w=Math.max(e.duration+e.delay,w)}),d.length)return Re(t,this._triggerName,n,i,y,p,m,[],[],f,v,w,d);x.forEach(function(e){var n=e.element,i=_(f,n,{});e.preStyleProps.forEach(function(e){return i[e]=!0});var r=_(v,n,{});e.postStyleProps.forEach(function(e){return r[e]=!0}),n!==t&&g.add(n)});var S=te(g.values());return Re(t,this._triggerName,n,i,y,p,m,x,S,f,v,w)}}]),e}(),Fe=function(){function e(t,n){Object(r.a)(this,e),this.styles=t,this.defaultParams=n}return Object(a.a)(e,[{key:"buildStyles",value:function(e,t){var n={},i=G(this.defaultParams);return Object.keys(e).forEach(function(t){var n=e[t];null!=n&&(i[t]=n)}),this.styles.styles.forEach(function(e){if("string"!=typeof e){var r=e;Object.keys(r).forEach(function(e){var a=r[e];a.length>1&&(a=ee(a,i,t)),n[e]=a})}}),n}}]),e}(),Be=function(){function e(t,n){var i=this;Object(r.a)(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach(function(e){i.states[e.name]=new Fe(e.style,e.options&&e.options.params||{})}),ze(this.states,"true","1"),ze(this.states,"false","0"),n.transitions.forEach(function(e){i.transitionFactories.push(new Ae(t,e,i.states))}),this.fallbackTransition=new Ae(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return Object(a.a)(e,[{key:"containsQueries",get:function(){return this.ast.queryCount>0}},{key:"matchTransition",value:function(e,t,n,i){return this.transitionFactories.find(function(r){return r.match(e,t,n,i)})||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}]),e}();function ze(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Ne=new _e,He=function(){function e(t,n,i){Object(r.a)(this,e),this.bodyNode=t,this._driver=n,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}return Object(a.a)(e,[{key:"register",value:function(e,t){var n=[],i=me(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: ".concat(n.join("\n")));this._animations[e]=i}},{key:"_buildPlayer",value:function(e,t,n){var i=e.element,r=v(this._driver,this._normalizer,i,e.keyframes,t,n);return this._driver.animate(i,r,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[],o=this._animations[e],s=new Map;if(o?(n=Ce(this._driver,t,o,A,F,{},{},r,Ne,a)).forEach(function(e){var t=_(s,e.element,{});e.postStyleProps.forEach(function(e){return t[e]=null})}):(a.push("The requested animation doesn't exist or has already been destroyed"),n=[]),a.length)throw new Error("Unable to create the animation due to the following errors: ".concat(a.join("\n")));s.forEach(function(e,t){Object.keys(e).forEach(function(n){e[n]=i._driver.computeStyle(t,n,d.a)})});var l=n.map(function(e){var t=s.get(e.element);return i._buildPlayer(e,{},t)}),c=f(l);return this._playersById[e]=c,c.onDestroy(function(){return i.destroy(e)}),this.players.push(c),c}},{key:"destroy",value: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)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by ".concat(e));return t}},{key:"listen",value:function(e,t,n,i){var r=x(t,"","","");return y(this._getPlayer(e),n,r,i),function(){}}},{key:"command",value:function(e,t,n,i){if("register"!=n)if("create"!=n){var r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(i[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,i[0]||{});else this.register(e,i[0])}}]),e}(),Ve="ng-animate-queued",Ye="ng-animate-disabled",We=".ng-animate-disabled",Ge="ng-star-inserted",Ue=[],qe={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ze={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},$e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";Object(r.a)(this,e),this.namespaceId=n;var i=t&&t.hasOwnProperty("value"),a=i?t.value:t;if(this.value=tt(a),i){var o=G(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return Object(a.a)(e,[{key:"params",get:function(){return this.options.params}},{key:"absorbOptions",value: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}(),Xe="void",Ke=new $e(Xe),Je=function(){function e(t,n,i){Object(r.a)(this,e),this.id=t,this.hostElement=n,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,ot(n,this._hostClassName)}return Object(a.a)(e,[{key:"listen",value:function(e,t,n,i){var r,a=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(r=n)&&"done"!=r)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var o=_(this._elementListeners,e,[]),s={name:t,phase:n,callback:i};o.push(s);var l=_(this._engine.statesByElement,e,{});return l.hasOwnProperty(t)||(ot(e,B),ot(e,"ng-trigger-"+t),l[t]=Ke),function(){a._engine.afterFlush(function(){var e=o.indexOf(s);e>=0&&o.splice(e,1),a._triggers[t]||delete l[t]})}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var i=this,r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a=this._getTrigger(t),o=new et(this.id,t,e),s=this._engine.statesByElement.get(e);s||(ot(e,B),ot(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var l=s[t],c=new $e(n,this.id),d=n&&n.hasOwnProperty("value");!d&&l&&c.absorbOptions(l.options),s[t]=c,l||(l=Ke);var u=c.value===Xe;if(u||l.value!==c.value){var p=_(this._engine.playersByElement,e,[]);p.forEach(function(e){e.namespaceId==i.id&&e.triggerName==t&&e.queued&&e.destroy()});var h=a.matchTransition(l.value,c.value,e,c.params),m=!1;if(!h){if(!r)return;h=a.fallbackTransition,m=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:l,toState:c,player:o,isFallbackTransition:m}),m||(ot(e,Ve),o.onStart(function(){st(e,Ve)})),o.onDone(function(){var t=i.players.indexOf(o);t>=0&&i.players.splice(t,1);var n=i._engine.playersByElement.get(e);if(n){var r=n.indexOf(o);r>=0&&n.splice(r,1)}}),this.players.push(o),p.push(o),o}if(!dt(l.params,c.params)){var g=[],f=a.matchStyles(l.value,l.params,g),v=a.matchStyles(c.value,c.params,g);g.length?this._engine.reportError(g):this._engine.afterFlush(function(){X(e,f),$(e,v)})}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach(function(t,n){delete t[e]}),this._elementListeners.forEach(function(n,i){t._elementListeners.set(i,n.filter(function(t){return t.name!=e}))})}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach(function(e){return e.destroy()}),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var n=this,i=this._engine.driver.query(e,z,!0);i.forEach(function(e){if(!e.__ng_removed){var i=n._engine.fetchNamespacesByElement(e);i.size?i.forEach(function(n){return n.triggerLeaveAnimation(e,t,!1,!0)}):n.clearElementCache(e)}}),this._engine.afterFlushAnimationsDone(function(){return i.forEach(function(e){return n.clearElementCache(e)})})}},{key:"triggerLeaveAnimation",value:function(e,t,n,i){var r=this,a=this._engine.statesByElement.get(e);if(a){var o=[];if(Object.keys(a).forEach(function(t){if(r._triggers[t]){var n=r.trigger(e,t,Xe,i);n&&o.push(n)}}),o.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&f(o).onDone(function(){return r._engine.processLeaveNode(e)}),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,n=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(n&&i){var r=new Set;n.forEach(function(n){var a=n.name;if(!r.has(a)){r.add(a);var o=t._triggers[a].fallbackTransition,s=i[a]||Ke,l=new $e(Xe),c=new et(t.id,a,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:a,transition:o,fromState:s,toState:l,player:c,isFallbackTransition:!0})}})}}},{key:"removeNode",value:function(e,t){var n=this,i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var r=!1;if(i.totalAnimations){var a=i.players.length?i.playersByQueriedElement.get(e):[];if(a&&a.length)r=!0;else for(var o=e;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{var s=e.__ng_removed;s&&s!==qe||(i.afterFlush(function(){return n.clearElementCache(e)}),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){ot(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,n=[];return this._queue.forEach(function(i){var r=i.player;if(!r.destroyed){var a=i.element,o=t._elementListeners.get(a);o&&o.forEach(function(t){if(t.name==i.triggerName){var n=x(a,i.triggerName,i.fromState.value,i.toState.value);n._data=e,y(i.player,t.phase,n,t.callback)}}),r.markedForDestroy?t._engine.afterFlush(function(){r.destroy()}):n.push(i)}}),this._queue=[],n.sort(function(e,n){var i=e.transition.ast.depCount,r=n.transition.ast.depCount;return 0==i||0==r?i-r:t._engine.driver.containsElement(e.element,n.element)?1:-1})}},{key:"destroy",value:function(e){this.players.forEach(function(e){return e.destroy()}),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),!!this._queue.find(function(t){return t.element===e})||t}}]),e}(),Qe=function(){function e(t,n,i){Object(r.a)(this,e),this.bodyNode=t,this.driver=n,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}return Object(a.a)(e,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach(function(t){t.players.forEach(function(t){t.queued&&e.push(t)})}),e}},{key:"createNamespace",value:function(e,t){var n=new Je(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}},{key:"_balanceNamespaceList",value:function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var i=!1,r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),i=!0;break}i||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var i=this._namespaceLookup[e];i&&i.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var i=this._fetchNamespace(e);this.afterFlush(function(){n.namespacesByHostElement.delete(i.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(i);t>=0&&n._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(function(){return i.destroy(t)})}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var i=Object.keys(n),r=0;r<i.length;r++){var a=n[i[r]].namespaceId;if(a){var o=this._fetchNamespace(a);o&&t.add(o)}}return t}},{key:"trigger",value:function(e,t,n,i){if(nt(t)){var r=this._fetchNamespace(e);if(r)return r.trigger(t,n,i),!0}return!1}},{key:"insertNode",value:function(e,t,n,i){if(nt(t)){var r=t.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;var a=this.collectedLeaveElements.indexOf(t);a>=0&&this.collectedLeaveElements.splice(a,1)}if(e){var o=this._fetchNamespace(e);o&&o.insertNode(t,n)}i&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),ot(e,Ye)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),st(e,Ye))}},{key:"removeNode",value:function(e,t,n,i){if(nt(t)){var r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i),n){var a=this.namespacesByHostElement.get(t);a&&a.id!==e&&a.removeNode(t,i)}}else this._onRemovalComplete(t,i)}},{key:"markElementAsRemoved",value:function(e,t,n,i){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:i,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,i,r){return nt(t)?this._fetchNamespace(e).listen(t,n,i,r):function(){}}},{key:"_buildInstruction",value:function(e,t,n,i,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,i,e.fromState.options,e.toState.options,t,r)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,z,!0);n.forEach(function(e){return t.destroyActiveAnimationsForElement(e)}),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,H,!0)).forEach(function(e){return t.finishActiveQueriedAnimationOnElement(e)})}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach(function(e){e.queued?e.markedForDestroy=!0:e.destroy()})}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach(function(e){return e.finish()})}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise(function(t){if(e.players.length)return f(e.players).onDone(function(){return t()});t()})}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=qe,n.namespaceId){this.destroyInnerAnimations(e);var i=this._fetchNamespace(n.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,We)&&this.markElementAsDisabled(e,!1),this.driver.query(e,We,!0).forEach(function(e){t.markElementAsDisabled(e,!1)})}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach(function(t,n){return e._balanceNamespaceList(t,n)}),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var i=0;i<this.collectedEnterElements.length;i++){var r=this.collectedEnterElements[i];ot(r,Ge)}if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var a=[];try{n=this._flushAnimations(a,t)}finally{for(var o=0;o<a.length;o++)a[o]()}}else for(var s=0;s<this.collectedLeaveElements.length;s++){var l=this.collectedLeaveElements[s];this.processLeaveNode(l)}if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(function(e){return e()}),this._flushFns=[],this._whenQuietFns.length){var c=this._whenQuietFns;this._whenQuietFns=[],n.length?f(n).onDone(function(){c.forEach(function(e){return e()})}):c.forEach(function(e){return e()})}}},{key:"reportError",value:function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n ".concat(e.join("\n")))}},{key:"_flushAnimations",value:function(e,t){var n=this,i=new _e,r=[],a=new Map,o=[],s=new Map,l=new Map,c=new Map,u=new Set;this.disabledNodes.forEach(function(e){u.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),i=0;i<t.length;i++)u.add(t[i])});var p=this.bodyNode,h=Array.from(this.statesByElement.keys()),g=at(h,this.collectedEnterElements),v=new Map,y=0;g.forEach(function(e,t){var n=A+y++;v.set(t,n),e.forEach(function(e){return ot(e,n)})});for(var b=[],x=new Set,w=new Set,S=0;S<this.collectedLeaveElements.length;S++){var C=this.collectedLeaveElements[S],k=C.__ng_removed;k&&k.setForRemoval&&(b.push(C),x.add(C),k.hasAnimation?this.driver.query(C,".ng-star-inserted",!0).forEach(function(e){return x.add(e)}):w.add(C))}var O=new Map,E=at(h,Array.from(x));E.forEach(function(e,t){var n=F+y++;O.set(t,n),e.forEach(function(e){return ot(e,n)})}),e.push(function(){g.forEach(function(e,t){var n=v.get(t);e.forEach(function(e){return st(e,n)})}),E.forEach(function(e,t){var n=O.get(t);e.forEach(function(e){return st(e,n)})}),b.forEach(function(e){n.processLeaveNode(e)})});for(var M=[],I=[],P=this._namespaceList.length-1;P>=0;P--)this._namespaceList[P].drainQueuedTransitions(t).forEach(function(e){var t=e.player,a=e.element;if(M.push(t),n.collectedEnterElements.length){var d=a.__ng_removed;if(d&&d.setForMove)return void t.destroy()}var u=!p||!n.driver.containsElement(p,a),h=O.get(a),m=v.get(a),g=n._buildInstruction(e,i,m,h,u);if(g.errors&&g.errors.length)I.push(g);else{if(u)return t.onStart(function(){return X(a,g.fromStyles)}),t.onDestroy(function(){return $(a,g.toStyles)}),void r.push(t);if(e.isFallbackTransition)return t.onStart(function(){return X(a,g.fromStyles)}),t.onDestroy(function(){return $(a,g.toStyles)}),void r.push(t);g.timelines.forEach(function(e){return e.stretchStartingKeyframe=!0}),i.append(a,g.timelines),o.push({instruction:g,player:t,element:a}),g.queriedElements.forEach(function(e){return _(s,e,[]).push(t)}),g.preStyleProps.forEach(function(e,t){var n=Object.keys(e);if(n.length){var i=l.get(t);i||l.set(t,i=new Set),n.forEach(function(e){return i.add(e)})}}),g.postStyleProps.forEach(function(e,t){var n=Object.keys(e),i=c.get(t);i||c.set(t,i=new Set),n.forEach(function(e){return i.add(e)})})}});if(I.length){var T=[];I.forEach(function(e){T.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach(function(e){return T.push("- ".concat(e,"\n"))})}),M.forEach(function(e){return e.destroy()}),this.reportError(T)}var D=new Map,L=new Map;o.forEach(function(e){var t=e.element;i.has(t)&&(L.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,D))}),r.forEach(function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(function(e){_(D,t,[]).push(e),e.destroy()})});var R=b.filter(function(e){return ut(e,l,c)}),j=new Map;rt(j,this.driver,w,c,d.a).forEach(function(e){ut(e,l,c)&&R.push(e)});var B=new Map;g.forEach(function(e,t){rt(B,n.driver,new Set(e),l,d.p)}),R.forEach(function(e){var t=j.get(e),n=B.get(e);j.set(e,Object.assign(Object.assign({},t),n))});var z=[],N=[],V={};o.forEach(function(e){var t=e.element,o=e.player,s=e.instruction;if(i.has(t)){if(u.has(t))return o.onDestroy(function(){return $(t,s.toStyles)}),o.disabled=!0,o.overrideTotalTime(s.totalTime),void r.push(o);var l=V;if(L.size>1){for(var c=t,d=[];c=c.parentNode;){var p=L.get(c);if(p){l=p;break}d.push(c)}d.forEach(function(e){return L.set(e,l)})}var h=n._buildAnimation(o.namespaceId,s,D,a,B,j);if(o.setRealPlayer(h),l===V)z.push(o);else{var m=n.playersByElement.get(l);m&&m.length&&(o.parentPlayer=f(m)),r.push(o)}}else X(t,s.fromStyles),o.onDestroy(function(){return $(t,s.toStyles)}),N.push(o),u.has(t)&&r.push(o)}),N.forEach(function(e){var t=a.get(e.element);if(t&&t.length){var n=f(t);e.setRealPlayer(n)}}),r.forEach(function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(var Y=0;Y<b.length;Y++){var W=b[Y],G=W.__ng_removed;if(st(W,F),!G||!G.hasAnimation){var U=[];if(s.size){var q=s.get(W);q&&q.length&&U.push.apply(U,Object(m.a)(q));for(var Z=this.driver.query(W,H,!0),K=0;K<Z.length;K++){var J=s.get(Z[K]);J&&J.length&&U.push.apply(U,Object(m.a)(J))}}var Q=U.filter(function(e){return!e.destroyed});Q.length?lt(this,W,Q):this.processLeaveNode(W)}}return b.length=0,z.forEach(function(e){n.players.push(e),e.onDone(function(){e.destroy();var t=n.players.indexOf(e);n.players.splice(t,1)}),e.play()}),z}},{key:"elementContainsData",value:function(e,t){var n=!1,i=t.__ng_removed;return i&&i.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}},{key:"afterFlush",value:function(e){this._flushFns.push(e)}},{key:"afterFlushAnimationsDone",value:function(e){this._whenQuietFns.push(e)}},{key:"_getPreviousPlayers",value:function(e,t,n,i,r){var a=[];if(t){var o=this.playersByQueriedElement.get(e);o&&(a=o)}else{var s=this.playersByElement.get(e);if(s){var l=!r||r==Xe;s.forEach(function(e){e.queued||(l||e.triggerName==i)&&a.push(e)})}}return(n||i)&&(a=a.filter(function(e){return!(n&&n!=e.namespaceId||i&&i!=e.triggerName)})),a}},{key:"_beforeAnimationBuild",value:function(e,t,n){var i,r=this,a=t.element,o=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName,l=Object(h.a)(t.timelines);try{var c=function(){var e=i.value.element,l=e!==a,c=_(n,e,[]);r._getPreviousPlayers(e,l,o,s,t.toState).forEach(function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),c.push(e)})};for(l.s();!(i=l.n()).done;)c()}catch(d){l.e(d)}finally{l.f()}X(a,t.fromStyles)}},{key:"_buildAnimation",value:function(e,t,n,i,r,a){var o=this,s=t.triggerName,l=t.element,c=[],u=new Set,p=new Set,h=t.timelines.map(function(t){var h=t.element;u.add(h);var m=h.__ng_removed;if(m&&m.removedBeforeQueried)return new d.d(t.duration,t.delay);var g,f,y=h!==l,b=(g=(n.get(h)||Ue).map(function(e){return e.getRealPlayer()}),f=[],ct(g,f),f).filter(function(e){return!!e.element&&e.element===h}),x=r.get(h),_=a.get(h),w=v(o.driver,o._normalizer,h,t.keyframes,x,_),S=o._buildPlayer(t,w,b);if(t.subTimeline&&i&&p.add(h),y){var C=new et(e,s,h);C.setRealPlayer(S),c.push(C)}return S});c.forEach(function(e){_(o.playersByQueriedElement,e.element,[]).push(e),e.onDone(function(){return function(e,t,n){var i;if(e instanceof Map){if(i=e.get(t)){if(i.length){var r=i.indexOf(n);i.splice(r,1)}0==i.length&&e.delete(t)}}else if(i=e[t]){if(i.length){var a=i.indexOf(n);i.splice(a,1)}0==i.length&&delete e[t]}return i}(o.playersByQueriedElement,e.element,e)})}),u.forEach(function(e){return ot(e,N)});var m=f(h);return m.onDestroy(function(){u.forEach(function(e){return st(e,N)}),$(l,t.toStyles)}),p.forEach(function(e){_(i,e,[]).push(m)}),m}},{key:"_buildPlayer",value:function(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new d.d(e.duration,e.delay)}}]),e}(),et=function(){function e(t,n,i){Object(r.a)(this,e),this.namespaceId=t,this.triggerName=n,this.element=i,this._player=new d.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return Object(a.a)(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(function(n){t._queuedCallbacks[n].forEach(function(t){return y(e,n,void 0,t)})}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value: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()})}},{key:"_queueEvent",value:function(e,t){_(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function tt(e){return null!=e?e:null}function nt(e){return e&&1===e.nodeType}function it(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function rt(e,t,n,i,r){var a=[];n.forEach(function(e){return a.push(it(e))});var o=[];i.forEach(function(n,i){var a={};n.forEach(function(e){var n=a[e]=t.computeStyle(i,e,r);n&&0!=n.length||(i.__ng_removed=Ze,o.push(i))}),e.set(i,a)});var s=0;return n.forEach(function(e){return it(e,a[s++])}),o}function at(e,t){var n=new Map;if(e.forEach(function(e){return n.set(e,[])}),0==t.length)return n;var i=new Set(t),r=new Map;function a(e){if(!e)return 1;var t=r.get(e);if(t)return t;var o=e.parentNode;return t=n.has(o)?o:i.has(o)?1:a(o),r.set(e,t),t}return t.forEach(function(e){var t=a(e);1!==t&&n.get(t).push(e)}),n}function ot(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function st(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function lt(e,t,n){f(n).onDone(function(){return e.processLeaveNode(t)})}function ct(e,t){for(var n=0;n<e.length;n++){var i=e[n];i instanceof d.o?ct(i.players,t):t.push(i)}}function dt(e,t){var n=Object.keys(e),i=Object.keys(t);if(n.length!=i.length)return!1;for(var r=0;r<n.length;r++){var a=n[r];if(!t.hasOwnProperty(a)||e[a]!==t[a])return!1}return!0}function ut(e,t,n){var i=n.get(e);if(!i)return!1;var r=t.get(e);return r?i.forEach(function(e){return r.add(e)}):t.set(e,i),n.delete(e),!0}var pt=function(){function e(t,n,i){var a=this;Object(r.a)(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new Qe(t,n,i),this._timelineEngine=new He(t,n,i),this._transitionEngine.onRemovalComplete=function(e,t){return a.onRemovalComplete(e,t)}}return Object(a.a)(e,[{key:"registerTrigger",value:function(e,t,n,i,r){var a=e+"-"+i,o=this._triggerCache[a];if(!o){var s=[],l=me(this._driver,r,s);if(s.length)throw new Error('The animation trigger "'.concat(i,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));o=function(e,t){return new Be(e,t)}(i,l),this._triggerCache[a]=o}this._transitionEngine.registerTrigger(t,i,o)}},{key:"register",value:function(e,t){this._transitionEngine.register(e,t)}},{key:"destroy",value:function(e,t){this._transitionEngine.destroy(e,t)}},{key:"onInsert",value:function(e,t,n,i){this._transitionEngine.insertNode(e,t,n,i)}},{key:"onRemove",value:function(e,t,n,i){this._transitionEngine.removeNode(e,t,i||!1,n)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,n,r){if("@"==n.charAt(0)){var a=w(n),o=Object(i.a)(a,2);this._timelineEngine.command(o[0],t,o[1],r)}else this._transitionEngine.trigger(e,t,n,r)}},{key:"listen",value:function(e,t,n,r,a){if("@"==n.charAt(0)){var o=w(n),s=Object(i.a)(o,2);return this._timelineEngine.listen(s[0],t,s[1],a)}return this._transitionEngine.listen(e,t,n,r,a)}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}}]),e}();function ht(e,t){var n=null,i=null;return Array.isArray(t)&&t.length?(n=gt(t[0]),t.length>1&&(i=gt(t[t.length-1]))):t&&(n=gt(t)),n||i?new mt(e,n,i):null}var mt=function(){var e=function(){function e(t,n,i){Object(r.a)(this,e),this._element=t,this._startStyles=n,this._endStyles=i,this._state=0;var a=e.initialStylesByElement.get(t);a||e.initialStylesByElement.set(t,a={}),this._initialStyles=a}return Object(a.a)(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&$(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&($(this._element,this._initialStyles),this._endStyles&&($(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(X(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(X(this._element,this._endStyles),this._endStyles=null),$(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function gt(e){for(var t=null,n=Object.keys(e),i=0;i<n.length;i++){var r=n[i];ft(r)&&((t=t||{})[r]=e[r])}return t}function ft(e){return"display"===e||"position"===e}var vt="animation",yt="animationend",bt=function(){function e(t,n,i,a,o,s,l){var c=this;Object(r.a)(this,e),this._element=t,this._name=n,this._duration=i,this._delay=a,this._easing=o,this._fillMode=s,this._onDoneFn=l,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return c._handleCallback(e)}}return Object(a.a)(e,[{key:"apply",value:function(){var e,t,n;e=this._element,t="".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name),(n=kt(e,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)","===e.charAt(n)&&0}(n),t="".concat(n,", ").concat(t)),Ct(e,"",t),St(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){xt(this._element,this._name,"paused")}},{key:"resume",value:function(){xt(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var t=_t(this._element,this._name);this._position=e*this._duration,Ct(this._element,"Delay","-".concat(this._position,"ms"),t)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),St(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){var n=kt(e,"").split(","),i=wt(n,t);i>=0&&(n.splice(i,1),Ct(e,"",n.join(",")))}(this._element,this._name))}}]),e}();function xt(e,t,n){Ct(e,"PlayState",n,_t(e,t))}function _t(e,t){var n=kt(e,"");return n.indexOf(",")>0?wt(n.split(","),t):wt([n],t)}function wt(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function St(e,t,n){n?e.removeEventListener(yt,t):e.addEventListener(yt,t)}function Ct(e,t,n,i){var r=vt+t;if(null!=i){var a=e.style[r];if(a.length){var o=a.split(",");o[i]=n,n=o.join(",")}}e.style[r]=n}function kt(e,t){return e.style[vt+t]||""}var Ot=function(){function e(t,n,i,a,o,s,l,c){Object(r.a)(this,e),this.element=t,this.keyframes=n,this.animationName=i,this._duration=a,this._delay=o,this._finalStyles=l,this._specialStyles=c,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=a+o,this._buildStyler()}return Object(a.a)(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new bt(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",function(){return e.finish()})}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach(function(i){"offset"!=i&&(t[i]=n?e._finalStyles[i]:se(e.element,i))})}this.currentSnapshot=t}}]),e}(),Et=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i){var a;return Object(r.a)(this,n),(a=t.call(this)).element=e,a._startingStyles={},a.__initialized=!1,a._styles=L(i),a}return Object(a.a)(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(function(t){e._startingStyles[t]=e.element.style[t]}),Object(u.a)(Object(p.a)(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(function(t){return e.element.style.setProperty(t,e._styles[t])}),Object(u.a)(Object(p.a)(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach(function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)}),this._startingStyles=null,Object(u.a)(Object(p.a)(n.prototype),"destroy",this).call(this))}}]),n}(d.d),Mt="gen_css_kf_",It=function(){function e(){Object(r.a)(this,e),this._count=0,this._head=document.querySelector("head")}return Object(a.a)(e,[{key:"validateStyleProperty",value:function(e){return I(e)}},{key:"matchesElement",value:function(e,t){return P(e,t)}},{key:"containsElement",value:function(e,t){return T(e,t)}},{key:"query",value:function(e,t,n){return D(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map(function(e){return L(e)});var i="@keyframes ".concat(t," {\n"),r="";n.forEach(function(e){r=" ";var t=parseFloat(e.offset);i+="".concat(r).concat(100*t,"% {\n"),r+=" ",Object.keys(e).forEach(function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(i+="".concat(r,"animation-timing-function: ").concat(n,";\n")));default:return void(i+="".concat(r).concat(t,": ").concat(n,";\n"))}}),i+="".concat(r,"}\n")}),i+="}\n";var a=document.createElement("style");return a.textContent=i,a}},{key:"animate",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=a.filter(function(e){return e instanceof Ot}),s={};re(n,i)&&o.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return s[e]=t[e]})});var l=Pt(t=ae(e,t,s));if(0==n)return new Et(e,l);var c="".concat(Mt).concat(this._count++),d=this.buildKeyframeElement(e,c,t);document.querySelector("head").appendChild(d);var u=ht(e,t),p=new Ot(e,t,c,n,i,r,l,u);return p.onDestroy(function(){return Tt(d)}),p}}]),e}();function Pt(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach(function(e){Object.keys(e).forEach(function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}function Tt(e){e.parentNode.removeChild(e)}var Dt=function(){function e(t,n,i,a){Object(r.a)(this,e),this.element=t,this.keyframes=n,this.options=i,this._specialStyles=a,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.currentSnapshot={},this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}return Object(a.a)(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach(function(e){return e()}),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",function(){return e._onFinish()})}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(function(e){return e()}),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(function(e){return e()}),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"totalTime",get:function(){return this._delay+this._duration}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:se(e.element,n))}),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(function(e){return e()}),t.length=0}}]),e}(),Lt=function(){function e(){Object(r.a)(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(Rt().toString()),this._cssKeyframesDriver=new It}return Object(a.a)(e,[{key:"validateStyleProperty",value:function(e){return I(e)}},{key:"matchesElement",value:function(e,t){return P(e,t)}},{key:"containsElement",value:function(e,t){return T(e,t)}},{key:"query",value:function(e,t,n){return D(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],o=arguments.length>6?arguments[6]:void 0,s=!o&&!this._isNativeImpl;if(s)return this._cssKeyframesDriver.animate(e,t,n,i,r,a);var l=0==i?"both":"forwards",c={duration:n,delay:i,fill:l};r&&(c.easing=r);var d={},u=a.filter(function(e){return e instanceof Dt});re(n,i)&&u.forEach(function(e){var t=e.currentSnapshot;Object.keys(t).forEach(function(e){return d[e]=t[e]})});var p=ht(e,t=ae(e,t=t.map(function(e){return U(e,!1)}),d));return new Dt(e,t,c,p)}}]),e}();function Rt(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var jt=n("ofXK"),At=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i){var a;return Object(r.a)(this,n),(a=t.call(this))._nextAnimationId=0,a._renderer=e.createRenderer(i.body,{id:"0",encapsulation:l.ViewEncapsulation.None,styles:[],data:{animation:[]}}),a}return Object(a.a)(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?Object(d.j)(e):e;return zt(this._renderer,null,t,"register",[n]),new Ft(t,this._renderer)}}]),n}(d.b);return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275inject"](l.RendererFactory2),l["\u0275\u0275inject"](jt.DOCUMENT))},e.\u0275prov=l["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),Ft=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i){var a;return Object(r.a)(this,n),(a=t.call(this))._id=e,a._renderer=i,a}return Object(a.a)(n,[{key:"create",value:function(e,t){return new Bt(this._id,e,t||{},this._renderer)}}]),n}(d.c),Bt=function(){function e(t,n,i,a){Object(r.a)(this,e),this.id=t,this.element=n,this._renderer=a,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}return Object(a.a)(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return zt(this._renderer,this.element,this.id,e,n)}},{key:"onDone",value:function(e){this._listen("done",e)}},{key:"onStart",value:function(e){this._listen("start",e)}},{key:"onDestroy",value:function(e){this._listen("destroy",e)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset")}},{key:"setPosition",value:function(e){this._command("setPosition",e)}},{key:"getPosition",value:function(){var e,t;return null!==(t=null===(e=this._renderer.engine.players[+this.id])||void 0===e?void 0:e.getPosition())&&void 0!==t?t:0}}]),e}();function zt(e,t,n,i,r){return e.setProperty(t,"@@".concat(n,":").concat(i),r)}var Nt="@",Ht="@.disabled",Vt=function(){var e=function(){function e(t,n,i){Object(r.a)(this,e),this.delegate=t,this.engine=n,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return Object(a.a)(e,[{key:"createRenderer",value:function(e,t){var n=this,i=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var r=this._rendererCache.get(i);return r||(r=new Yt("",i,this.engine),this._rendererCache.set(i,r)),r}var a=t.id,o=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(o,e),t.data.animation.forEach(function t(i){Array.isArray(i)?i.forEach(t):n.engine.registerTrigger(a,o,e,i.name,i)}),new Wt(this,o,i,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var e=this;this.promise.then(function(){e._microtaskId++})}},{key:"scheduleListenerCallback",value:function(e,t,n){var r=this;e>=0&&e<this._microtaskId?this._zone.run(function(){return t(n)}):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(function(){r._zone.run(function(){r._animationCallbacksBuffer.forEach(function(e){var t=Object(i.a)(e,2);(0,t[0])(t[1])}),r._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}},{key:"end",value:function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)}),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275inject"](l.RendererFactory2),l["\u0275\u0275inject"](pt),l["\u0275\u0275inject"](l.NgZone))},e.\u0275prov=l["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),Yt=function(){function e(t,n,i){Object(r.a)(this,e),this.namespaceId=t,this.delegate=n,this.engine=i,this.destroyNode=this.delegate.destroyNode?function(e){return n.destroyNode(e)}:null}return Object(a.a)(e,[{key:"data",get:function(){return this.delegate.data}},{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(e,t){return this.delegate.createElement(e,t)}},{key:"createComment",value:function(e){return this.delegate.createComment(e)}},{key:"createText",value:function(e){return this.delegate.createText(e)}},{key:"appendChild",value:function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}},{key:"insertBefore",value:function(e,t,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,i)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,i){this.delegate.setAttribute(e,t,n,i)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,i){this.delegate.setStyle(e,t,n,i)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){t.charAt(0)==Nt&&t==Ht?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}}]),e}(),Wt=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,a,o){var s;return Object(r.a)(this,n),(s=t.call(this,i,a,o)).factory=e,s.namespaceId=i,s}return Object(a.a)(n,[{key:"setProperty",value:function(e,t,n){t.charAt(0)==Nt?"."==t.charAt(1)&&t==Ht?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var r,a,o=this;if(t.charAt(0)==Nt){var s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),l=t.substr(1),c="";if(l.charAt(0)!=Nt){var d=(a=(r=l).indexOf("."),[r.substring(0,a),r.substr(a+1)]),u=Object(i.a)(d,2);l=u[0],c=u[1]}return this.engine.listen(this.namespaceId,s,l,c,function(e){o.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}]),n}(Yt),Gt=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,a){return Object(r.a)(this,n),t.call(this,e.body,i,a)}return Object(a.a)(n)}(pt);return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275inject"](jt.DOCUMENT),l["\u0275\u0275inject"](j),l["\u0275\u0275inject"](Te))},e.\u0275prov=l["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),Ut=new l.InjectionToken("AnimationModuleType"),qt=[{provide:d.b,useClass:At},{provide:Te,useFactory:function(){return new De}},{provide:pt,useClass:Gt},{provide:l.RendererFactory2,useFactory:function(e,t,n){return new Vt(e,t,n)},deps:[c["\u0275DomRendererFactory2"],pt,l.NgZone]}],Zt=[{provide:j,useFactory:function(){return"function"==typeof Rt()?new Lt:new It}},{provide:Ut,useValue:"BrowserAnimations"}].concat(qt),$t=([{provide:j,useClass:R},{provide:Ut,useValue:"NoopAnimations"}].concat(qt),function(){var e=Object(a.a)(function e(){Object(r.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=l["\u0275\u0275defineInjector"]({providers:Zt,imports:[c.BrowserModule]}),e}())},RAwQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return n(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return n(e)}return n(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_M\xe4erz_Abr\xebll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_M\xe9indeg_D\xebnschdeg_M\xebttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._M\xe9._D\xeb._M\xeb._Do._Fr._Sa.".split("_"),weekdaysMin:"So_M\xe9_D\xeb_M\xeb_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[G\xebschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:function(e){return n(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e},past:function(e){return n(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e},s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d M\xe9int",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},RcdG:function(e,t,n){"use strict";n.d(t,"g",function(){return a}),n.d(t,"h",function(){return o}),n.d(t,"d",function(){return s}),n.d(t,"b",function(){return l}),n.d(t,"c",function(){return c}),n.d(t,"a",function(){return d}),n.d(t,"f",function(){return u}),n.d(t,"e",function(){return p});var i=n("Bu+s"),r=n("BwfH"),a=[[0,82],[1,81],[2,90.1],[3,111.9],[4,134],[5,121.1],[6,131],[7,140.5],[8,141.6],[9,139],[10,142.5],[11,145],[12,144.1],[13,139.5],[14,143],[15,149.9],[16,152.8],[17,151],[18,151],[19,149.7],[20,145],[21,155.1],[22,140.1],[23,148.5],[24,161.2],[25,165.6],[26,154.9],[27,162.2],[28,157],[29,157.8],[30,145.9],[31,131.6],[32,131.8],[33,136.8],[34,129],[35,123.6],[36,118],[37,117],[38,120],[39,129],[40,125.5],[41,122.6],[42,122],[43,117.2],[44,116.9],[45,113.9],[46,121.7],[47,119],[48,127.9],[49,128.5],[50,142.7],[51,147],[52,149],[53,149],[54,148.6],[55,146],[56,152],[57,154],[58,158],[59,154.2],[60,152.4],[61,150.8],[62,152],[63,152.1],[64,167.3],[65,157.1],[66,153.8],[67,129.2],[68,149.3],[69,155.8],[70,154.7],[71,149],[72,133],[73,143],[74,148.1],[75,151.6],[76,145],[77,146.7],[78,145.4],[79,151.8],[80,153.8],[81,148],[82,147.5],[83,142.2],[84,144],[85,142.5],[86,142.5],[87,145.8],[88,149.8],[89,144.8],[90,138.7],[91,137.6],[92,136.1],[93,146.7],[94,127],[95,147.7],[96,152.5],[97,152],[98,149.1],[99,134.7],[100,125.7],[101,122.8],[102,117.4],[103,128.3],[104,124.4],[105,123],[106,129.1],[107,133.4]],o=[[0,65],[1,70],[2,66],[3,80],[4,76],[5,70],[6,59],[7,73],[8,72],[9,112],[10,89],[11,82],[12,85],[13,74],[14,86],[15,66],[16,91],[17,87],[18,86],[19,89],[20,83],[21,83],[22,88],[23,76],[24,95],[25,79],[26,74],[27,79],[28,97],[29,82],[30,79],[31,92],[32,69],[33,84],[34,85],[35,65],[36,90],[37,78],[38,85],[39,80],[40,86],[41,150],[42,107],[43,84],[44,94],[45,87],[46,93],[47,88],[48,86],[49,78],[50,102],[51,95],[52,81],[53,92],[54,85],[55,92],[56,87],[57,100],[58,107],[59,109],[60,107],[61,116],[62,93],[63,92],[64,99],[65,109],[66,167],[67,115],[68,111],[69,103],[70,103],[71,103],[72,111],[73,100],[74,106],[75,89],[76,113],[77,95],[78,91],[79,85],[80,89],[81,109],[82,109],[83,113],[84,104],[85,100],[86,104],[87,118],[88,90],[89,106],[90,110],[91,114],[92,93],[93,103],[94,110],[95,107],[96,100],[97,111],[98,110],[99,112],[100,114],[101,111],[102,93],[103,109],[104,102],[105,97],[106,103],[107,122],[108,104],[109,106],[110,92],[111,97],[112,102],[113,104],[114,107],[115,108],[116,91],[117,108],[118,107],[119,102],[120,105],[121,115],[122,101],[123,113],[124,91],[125,91]],s=function(){return function(e,t){this.activityTypes=[],this.action=t,this.name=e.name,this.id=e.id,this.key=e.key,this.maxHR=e.zone5.bpmMax,this.activityTypes=e.activity_types||[],this.zone0={bpmMin:1,bpmMax:Number(e.zone1.bpmMin)-1,name:"Below",description:""},"Zone 1"!=e.zone1.name&&""!=e.zone1.name||(e.zone1.name=e.zone1.description||r.a.zone1),"Zone 2"!=e.zone2.name&&""!=e.zone2.name||(e.zone2.name=e.zone2.description||r.a.zone2),"Zone 3"!=e.zone3.name&&""!=e.zone3.name||(e.zone3.name=e.zone3.description||r.a.zone3),"Zone 4"!=e.zone4.name&&""!=e.zone4.name||(e.zone4.name=e.zone4.description||r.a.zone4),"Zone 5"!=e.zone5.name&&""!=e.zone5.name||(e.zone5.name=e.zone5.description||r.a.zone5),this.zone1={bpmMin:Number(e.zone1.bpmMin).toFixed(),bpmMax:Number(e.zone1.bpmMax).toFixed(),name:e.zone1.name,description:e.zone1.description},this.zone2={bpmMin:Number(e.zone2.bpmMin).toFixed(),bpmMax:Number(e.zone2.bpmMax).toFixed(),name:e.zone2.name,description:e.zone2.description},this.zone3={bpmMin:Number(e.zone3.bpmMin).toFixed(),bpmMax:Number(e.zone3.bpmMax).toFixed(),name:e.zone3.name,description:e.zone3.description},this.zone4={bpmMin:Number(e.zone4.bpmMin).toFixed(),bpmMax:Number(e.zone4.bpmMax).toFixed(),name:e.zone4.name,description:e.zone4.description},this.zone5={bpmMin:Number(e.zone5.bpmMin).toFixed(),bpmMax:Number(e.zone5.bpmMax).toFixed(),name:e.zone5.name,description:e.zone5.description},this.zone6={bpmMin:Number(e.zone5.bpmMax),bpmMax:Number(e.zone5.bpmMax)+10,name:"Above",description:""},this.zoneHigh=[Number(e.zone1.bpmMin)-1,Number(e.zone1.bpmMax),Number(e.zone2.bpmMax),Number(e.zone3.bpmMax),Number(e.zone4.bpmMax),Number(e.zone5.bpmMax),Number(e.zone5.bpmMax)+10],this.zoneLow=[1,Number(e.zone1.bpmMin),Number(e.zone2.bpmMin),Number(e.zone3.bpmMin),Number(e.zone4.bpmMin),Number(e.zone5.bpmMin),Number(e.zone5.bpmMax)]}}(),l=function(){return function(e,t){this.activityTypes=[],this.action=t,this.name=e.name,this.id=e.id,this.key=e.key,this.activityTypes=e.activity_types||[],"Zone 1"!=e.zone1.name&&""!=e.zone1.name||(e.zone1.name=e.zone1.description||r.a.zone1),"Zone 2"!=e.zone2.name&&""!=e.zone2.name||(e.zone2.name=e.zone2.description||r.a.zone2),"Zone 3"!=e.zone3.name&&""!=e.zone3.name||(e.zone3.name=e.zone3.description||r.a.zone3),"Zone 4"!=e.zone4.name&&""!=e.zone4.name||(e.zone4.name=e.zone4.description||r.a.zone4),"Zone 5"!=e.zone5.name&&""!=e.zone5.name||(e.zone5.name=e.zone5.description||r.a.zone5),this.zone1={wattsMax:Number(e.zone1.wattsMax).toFixed(),wattsMin:Number(e.zone1.wattsMin).toFixed(),name:e.zone1.name,description:e.zone1.description},this.zone2={wattsMax:Number(e.zone2.wattsMax).toFixed(),wattsMin:Number(e.zone2.wattsMin).toFixed(),name:e.zone2.name,description:e.zone2.description},this.zone3={wattsMax:Number(e.zone3.wattsMax).toFixed(),wattsMin:Number(e.zone3.wattsMin).toFixed(),name:e.zone3.name,description:e.zone3.description},this.zone4={wattsMax:Number(e.zone4.wattsMax).toFixed(),wattsMin:Number(e.zone4.wattsMin).toFixed(),name:e.zone4.name,description:e.zone4.description},this.zone5={wattsMax:Number(e.zone5.wattsMax).toFixed(),wattsMin:Number(e.zone5.wattsMin).toFixed(),name:e.zone5.name,description:e.zone5.description}}}(),c=function(){function e(e,t,n){this.activityTypes=[],this.isMetric=n,this.action=t,this.name=e.name,this.id=e.id,this.activityTypes=e.activity_types||[],this.key=e.key,"Zone 1"!=e.zone1.name&&""!=e.zone1.name||(e.zone1.name=e.zone1.description||r.a.zone1),"Zone 2"!=e.zone2.name&&""!=e.zone2.name||(e.zone2.name=e.zone2.description||r.a.zone2),"Zone 3"!=e.zone3.name&&""!=e.zone3.name||(e.zone3.name=e.zone3.description||r.a.zone3),"Zone 4"!=e.zone4.name&&""!=e.zone4.name||(e.zone4.name=e.zone4.description||r.a.zone4),"Zone 5"!=e.zone5.name&&""!=e.zone5.name||(e.zone5.name=e.zone5.description||r.a.zone5),this.zone1={speedMax:Number(e.zone1.speedMax),speedMaxInput:n?Object(i.P)(e.zone1.speedMax).toFixed(2):Number(e.zone1.speedMax).toFixed(0),speedMin:Number(e.zone1.speedMin),speedMinInput:n?Object(i.P)(e.zone1.speedMin).toFixed(2):Number(e.zone1.speedMin).toFixed(0),name:e.zone1.name,description:e.zone1.description},this.zone2={speedMax:Number(e.zone2.speedMax),speedMaxInput:n?Object(i.P)(e.zone2.speedMax).toFixed(2):Number(e.zone2.speedMax).toFixed(0),speedMin:Number(e.zone2.speedMin),speedMinInput:n?Object(i.P)(e.zone2.speedMin).toFixed(2):Number(e.zone2.speedMin).toFixed(0),name:e.zone2.name,description:e.zone2.description},this.zone3={speedMax:Number(e.zone3.speedMax),speedMaxInput:n?Object(i.P)(e.zone3.speedMax).toFixed(2):Number(e.zone3.speedMax).toFixed(0),speedMin:Number(e.zone3.speedMin),speedMinInput:n?Object(i.P)(e.zone3.speedMin).toFixed(2):Number(e.zone3.speedMin).toFixed(0),name:e.zone3.name,description:e.zone3.description},this.zone4={speedMax:Number(e.zone4.speedMax),speedMaxInput:n?Object(i.P)(e.zone4.speedMax).toFixed(2):Number(e.zone4.speedMax).toFixed(0),speedMin:Number(e.zone4.speedMin),speedMinInput:n?Object(i.P)(e.zone4.speedMin).toFixed(2):Number(e.zone4.speedMin).toFixed(0),name:e.zone4.name,description:e.zone4.description},this.zone5={speedMax:Number(e.zone5.speedMax),speedMaxInput:n?Object(i.P)(e.zone5.speedMax).toFixed(2):Number(e.zone5.speedMax).toFixed(0),speedMin:Number(e.zone5.speedMin),speedMinInput:n?Object(i.P)(e.zone5.speedMin).toFixed(2):Number(e.zone5.speedMin).toFixed(0),name:e.zone5.name,description:e.zone5.description}}return e.prototype.toSaveable=function(){return this.isMetric?(this.zone1.speedMin=Object(i.c)(this.zone1.speedMinInput),this.zone1.speedMax=Object(i.c)(this.zone1.speedMaxInput),this.zone2.speedMin=Object(i.c)(this.zone2.speedMinInput),this.zone2.speedMax=Object(i.c)(this.zone2.speedMaxInput),this.zone3.speedMin=Object(i.c)(this.zone3.speedMinInput),this.zone3.speedMax=Object(i.c)(this.zone3.speedMaxInput),this.zone4.speedMin=Object(i.c)(this.zone4.speedMinInput),this.zone4.speedMax=Object(i.c)(this.zone4.speedMaxInput),this.zone5.speedMin=Object(i.c)(this.zone5.speedMinInput),this.zone5.speedMax=Object(i.c)(this.zone5.speedMaxInput)):(this.zone1.speedMin=this.zone1.speedMinInput,this.zone1.speedMax=this.zone1.speedMaxInput,this.zone2.speedMin=this.zone2.speedMinInput,this.zone2.speedMax=this.zone2.speedMaxInput,this.zone3.speedMin=this.zone3.speedMinInput,this.zone3.speedMax=this.zone3.speedMaxInput,this.zone4.speedMin=this.zone4.speedMinInput,this.zone4.speedMax=this.zone4.speedMaxInput,this.zone5.speedMin=this.zone5.speedMinInput,this.zone5.speedMax=this.zone5.speedMaxInput),this},e}(),d=function(){function e(e,t,n){this.floatToPace=n,this.activityTypes=[],this.action=t,this.name=e.name,this.id=e.id,this.key=e.key,this.activityTypes=e.activity_types||[],"Zone 1"!=e.zone1.name&&""!=e.zone1.name||(e.zone1.name=e.zone1.description||r.a.zone1),"Zone 2"!=e.zone2.name&&""!=e.zone2.name||(e.zone2.name=e.zone2.description||r.a.zone2),"Zone 3"!=e.zone3.name&&""!=e.zone3.name||(e.zone3.name=e.zone3.description||r.a.zone3),"Zone 4"!=e.zone4.name&&""!=e.zone4.name||(e.zone4.name=e.zone4.description||r.a.zone4),"Zone 5"!=e.zone5.name&&""!=e.zone5.name||(e.zone5.name=e.zone5.description||r.a.zone5),this.zone1={paceMin:this.floatToPace.transform(e.zone1.paceMin),paceMax:this.floatToPace.transform(e.zone1.paceMax),name:e.zone1.name,description:e.zone1.description},this.zone2={paceMin:this.floatToPace.transform(e.zone2.paceMin),paceMax:this.floatToPace.transform(e.zone2.paceMax),name:e.zone2.name,description:e.zone2.description},this.zone3={paceMin:this.floatToPace.transform(e.zone3.paceMin),paceMax:this.floatToPace.transform(e.zone3.paceMax),name:e.zone3.name,description:e.zone3.description},this.zone4={paceMin:this.floatToPace.transform(e.zone4.paceMin),paceMax:this.floatToPace.transform(e.zone4.paceMax),name:e.zone4.name,description:e.zone4.description},this.zone5={paceMin:this.floatToPace.transform(e.zone5.paceMin),paceMax:this.floatToPace.transform(e.zone5.paceMax),name:e.zone5.name,description:e.zone5.description}}return e.prototype.toSaveable=function(){return this.zone1.paceMin=Object(i.W)(this.zone1.paceMin),this.zone1.paceMax=Object(i.W)(this.zone1.paceMax),this.zone2.paceMin=Object(i.W)(this.zone2.paceMin),this.zone2.paceMax=Object(i.W)(this.zone2.paceMax),this.zone3.paceMin=Object(i.W)(this.zone3.paceMin),this.zone3.paceMax=Object(i.W)(this.zone3.paceMax),this.zone4.paceMin=Object(i.W)(this.zone4.paceMin),this.zone4.paceMax=Object(i.W)(this.zone4.paceMax),this.zone5.paceMin=Object(i.W)(this.zone5.paceMin),this.zone5.paceMax=Object(i.W)(this.zone5.paceMax),this},e}();function u(e){var t=192-e*e*.007,n=[Number(40*t/100),Number(60*t/100)],i=[Number(60*t/100),Number(75*t/100)],r=[Number(75*t/100),Number(85*t/100)],a=[Number(85*t/100),Number(95*t/100)],o=[Number(95*t/100),Number(100*t/100)];return{name:"Heart Rate Training",id:"1",zone1:{name:"Zone 1 Recovery",bpmMin:n[0],bpmMax:n[1]},zone2:{name:"Zone 2 Endurance",bpmMin:i[0],bpmMax:i[1]},zone3:{name:"Zone 3 Stamina",bpmMin:r[0],bpmMax:r[1]},zone4:{name:"Zone 4 Economy",bpmMin:a[0],bpmMax:a[1]},zone5:{name:"Zone 5 Speed",bpmMin:o[0],bpmMax:o[1]}}}function p(e,t){void 0===t&&(t=null),null===t&&(t=220-e);var n=[Number(50*t/100),Number(60*t/100)],i=[Number(60*t/100),Number(70*t/100)],r=[Number(70*t/100),Number(80*t/100)],a=[Number(80*t/100),Number(90*t/100)],o=[Number(90*t/100),Number(100*t/100)];return{name:"Haskell and Fox",id:"2",zone1:{name:"Zone 1 Warming",bpmMin:n[0],bpmMax:n[1]},zone2:{name:"Zone 2 Fitness",bpmMin:i[0],bpmMax:i[1]},zone3:{name:"Zone 3 Endurance",bpmMin:r[0],bpmMax:r[1]},zone4:{name:"Zone 4 Hardcore",bpmMin:a[0],bpmMax:a[1]},zone5:{name:"Zone 5 Max Effort",bpmMin:o[0],bpmMax:o[1]}}}},ReuC:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("foSv");function r(e,t,n){return(r="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Object(i.a)(e)););return e}(e,t);if(r){var a=Object.getOwnPropertyDescriptor(r,t);return a.get?a.get.call(n):a.value}})(e,t,n||e)}},RnhZ:function(e,t,n){var i={"./af":"K/tc","./af.js":"K/tc","./ar":"jnO4","./ar-dz":"o1bE","./ar-dz.js":"o1bE","./ar-kw":"Qj4J","./ar-kw.js":"Qj4J","./ar-ly":"HP3h","./ar-ly.js":"HP3h","./ar-ma":"CoRJ","./ar-ma.js":"CoRJ","./ar-sa":"gjCT","./ar-sa.js":"gjCT","./ar-tn":"bYM6","./ar-tn.js":"bYM6","./ar.js":"jnO4","./az":"SFxW","./az.js":"SFxW","./be":"H8ED","./be.js":"H8ED","./bg":"hKrs","./bg.js":"hKrs","./bm":"p/rL","./bm.js":"p/rL","./bn":"kEOa","./bn-bd":"loYQ","./bn-bd.js":"loYQ","./bn.js":"kEOa","./bo":"0mo+","./bo.js":"0mo+","./br":"aIdf","./br.js":"aIdf","./bs":"JVSJ","./bs.js":"JVSJ","./ca":"1xZ4","./ca.js":"1xZ4","./cs":"PA2r","./cs.js":"PA2r","./cv":"A+xa","./cv.js":"A+xa","./cy":"l5ep","./cy.js":"l5ep","./da":"DxQv","./da.js":"DxQv","./de":"tGlX","./de-at":"s+uk","./de-at.js":"s+uk","./de-ch":"u3GI","./de-ch.js":"u3GI","./de.js":"tGlX","./dv":"WYrj","./dv.js":"WYrj","./el":"jUeY","./el.js":"jUeY","./en-au":"Dmvi","./en-au.js":"Dmvi","./en-ca":"OIYi","./en-ca.js":"OIYi","./en-gb":"Oaa7","./en-gb.js":"Oaa7","./en-ie":"4dOw","./en-ie.js":"4dOw","./en-il":"czMo","./en-il.js":"czMo","./en-in":"7C5Q","./en-in.js":"7C5Q","./en-nz":"b1Dy","./en-nz.js":"b1Dy","./en-sg":"t+mt","./en-sg.js":"t+mt","./eo":"Zduo","./eo.js":"Zduo","./es":"iYuL","./es-do":"CjzT","./es-do.js":"CjzT","./es-mx":"tbfe","./es-mx.js":"tbfe","./es-us":"Vclq","./es-us.js":"Vclq","./es.js":"iYuL","./et":"7BjC","./et.js":"7BjC","./eu":"D/JM","./eu.js":"D/JM","./fa":"jfSC","./fa.js":"jfSC","./fi":"gekB","./fi.js":"gekB","./fil":"1ppg","./fil.js":"1ppg","./fo":"ByF4","./fo.js":"ByF4","./fr":"nyYc","./fr-ca":"2fjn","./fr-ca.js":"2fjn","./fr-ch":"Dkky","./fr-ch.js":"Dkky","./fr.js":"nyYc","./fy":"cRix","./fy.js":"cRix","./ga":"USCx","./ga.js":"USCx","./gd":"9rRi","./gd.js":"9rRi","./gl":"iEDd","./gl.js":"iEDd","./gom-deva":"qvJo","./gom-deva.js":"qvJo","./gom-latn":"DKr+","./gom-latn.js":"DKr+","./gu":"4MV3","./gu.js":"4MV3","./he":"x6pH","./he.js":"x6pH","./hi":"3E1r","./hi.js":"3E1r","./hr":"S6ln","./hr.js":"S6ln","./hu":"WxRl","./hu.js":"WxRl","./hy-am":"1rYy","./hy-am.js":"1rYy","./id":"UDhR","./id.js":"UDhR","./is":"BVg3","./is.js":"BVg3","./it":"bpih","./it-ch":"bxKX","./it-ch.js":"bxKX","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./jv":"tUCv","./jv.js":"tUCv","./ka":"IBtZ","./ka.js":"IBtZ","./kk":"bXm7","./kk.js":"bXm7","./km":"6B0Y","./km.js":"6B0Y","./kn":"PpIw","./kn.js":"PpIw","./ko":"Ivi+","./ko.js":"Ivi+","./ku":"JCF/","./ku.js":"JCF/","./ky":"lgnt","./ky.js":"lgnt","./lb":"RAwQ","./lb.js":"RAwQ","./lo":"sp3z","./lo.js":"sp3z","./lt":"JvlW","./lt.js":"JvlW","./lv":"uXwI","./lv.js":"uXwI","./me":"KTz0","./me.js":"KTz0","./mi":"aIsn","./mi.js":"aIsn","./mk":"aQkU","./mk.js":"aQkU","./ml":"AvvY","./ml.js":"AvvY","./mn":"lYtQ","./mn.js":"lYtQ","./mr":"Ob0Z","./mr.js":"Ob0Z","./ms":"6+QB","./ms-my":"ZAMP","./ms-my.js":"ZAMP","./ms.js":"6+QB","./mt":"G0Uy","./mt.js":"G0Uy","./my":"honF","./my.js":"honF","./nb":"bOMt","./nb.js":"bOMt","./ne":"OjkT","./ne.js":"OjkT","./nl":"+s0g","./nl-be":"2ykv","./nl-be.js":"2ykv","./nl.js":"+s0g","./nn":"uEye","./nn.js":"uEye","./oc-lnc":"Fnuy","./oc-lnc.js":"Fnuy","./pa-in":"8/+R","./pa-in.js":"8/+R","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ro":"lyxo","./ro.js":"lyxo","./ru":"lXzo","./ru.js":"lXzo","./sd":"Z4QM","./sd.js":"Z4QM","./se":"//9w","./se.js":"//9w","./si":"7aV9","./si.js":"7aV9","./sk":"e+ae","./sk.js":"e+ae","./sl":"gVVK","./sl.js":"gVVK","./sq":"yPMs","./sq.js":"yPMs","./sr":"zx6S","./sr-cyrl":"E+lV","./sr-cyrl.js":"E+lV","./sr.js":"zx6S","./ss":"Ur1D","./ss.js":"Ur1D","./sv":"X709","./sv.js":"X709","./sw":"dNwA","./sw.js":"dNwA","./ta":"PeUW","./ta.js":"PeUW","./te":"XLvN","./te.js":"XLvN","./tet":"V2x9","./tet.js":"V2x9","./tg":"Oxv6","./tg.js":"Oxv6","./th":"EOgW","./th.js":"EOgW","./tk":"Wv91","./tk.js":"Wv91","./tl-ph":"Dzi0","./tl-ph.js":"Dzi0","./tlh":"z3Vd","./tlh.js":"z3Vd","./tr":"DoHr","./tr.js":"DoHr","./tzl":"z1FC","./tzl.js":"z1FC","./tzm":"wQk9","./tzm-latn":"tT3J","./tzm-latn.js":"tT3J","./tzm.js":"wQk9","./ug-cn":"YRex","./ug-cn.js":"YRex","./uk":"raLr","./uk.js":"raLr","./ur":"UpQW","./ur.js":"UpQW","./uz":"Loxo","./uz-latn":"AQ68","./uz-latn.js":"AQ68","./uz.js":"Loxo","./vi":"KSF8","./vi.js":"KSF8","./x-pseudo":"/X5v","./x-pseudo.js":"/X5v","./yo":"fzPg","./yo.js":"fzPg","./zh-cn":"XDpg","./zh-cn.js":"XDpg","./zh-hk":"SatO","./zh-hk.js":"SatO","./zh-mo":"OmwH","./zh-mo.js":"OmwH","./zh-tw":"kOpN","./zh-tw.js":"kOpN"};function r(e){var t=a(e);return n(t)}function a(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="RnhZ"},RwQA:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("Bu+s"),r=function(){function e(e,t,n,i){if(this.panelOpen=!1,this.progress_txt="PROGRESS",this.history_txt="HISTORY",this.target_goal_txt="Target Goal",this.translate=n,this.name=e.name,this.description=e.description,this.goalType=e.goalType,this.dates="",this.measure=e.measure,this.instructions=e.instructions,"undefined"!==this.instructions&&(this.dateInstruction=this.instructions.dateInstruction,this.evalInstruction=this.instructions.evalInstruction,37001==e.goalID||24001==e.goalID?(this.units="days",this.evalInstruction.units="days",e.evalResults.goalTarget=12):this.units=this.evalInstruction.units),this.isDailyGoal="DAILY"===this.dateInstruction.dateRange||"DAILY"===this.dateInstruction.period,this.isWeeklyGoal="WEEKLY"===this.dateInstruction.dateRange||"WEEKLY"===this.dateInstruction.period,this.isMonthlyGoal="MONTHLY"===this.dateInstruction.dateRange||"MONTHLY"===this.dateInstruction.period,this.isYearlyGoal="ANNUAL"===this.dateInstruction.dateRange||"ANNUAL"===this.dateInstruction.period,this.goalID=e.goalID,this.isFavoriteGoal=this.goalID===t||e.is_favorite,this.goal_unique_id=e.goal_unique_id,this.accountId=e.accountID,this.creationDate=e.creationDate,this.ownerType=e.ownerType,this.currentStreak=e.current_streak,this.bestStreak=e.best_streak,this.bestStreakStart=e.best_streak_start,this.bestStreakEnd=e.best_streak_end,this.groupName=e.groupName,this.groupPath=e.groupPath,this.groupLink="","group"===this.ownerType&&(this.groupLink="?group="+e.groupPath),this.goalHistoryArray=null==e.evalResults.goalHistory?[]:e.evalResults.goalHistory,i){for(var r=0;r<this.goalHistoryArray.length;r++)if(this.goalHistoryArray[r].day==i){this.score=this.goalHistoryArray[r].score,this.progressBarPos=252*this.score,this.progressBarMark=this.progressBarPos>5?this.progressBarPos:5,this.progressDescription=e.evalResults.goalProgressDescription,this.progressArray=this.goalHistoryArray[r].goalProgress,this.goalTarget=void 0!==e.evalResults.goalTarget?Number(e.evalResults.goalTarget):0,this.evalStartDate=this.goalHistoryArray[r].start_day,this.evalEndDate=this.goalHistoryArray[r].end_day,this.evalVal=this.goalHistoryArray[r].evaluation;break}}else this.score=e.evalResults.score,this.progressBarPos=252*this.score,this.progressBarMark=this.progressBarPos>5?this.progressBarPos:5,this.progressDescription=e.evalResults.goalProgressDescription,this.progressArray=e.evalResults.goalProgress,this.goalProgressData=e.evalResults.goalProgressData,this.goalTarget=void 0!==e.evalResults.goalTarget?Number(e.evalResults.goalTarget):0,this.evalStartDate=e.evalResults.start_day,this.evalEndDate=e.evalResults.end_day,this.evalVal=e.evalResults.evaluation;this.groupName=e.groupName,this.goalHistoryDescription=e.evalResults.goalHistoryDescription,this.goalHistoryProgressDescription=e.evalResults.goalHistoryProgressDescription,this.isDistanceGoal()?(this.goalMeasureUnits="KM"==this.units?"Kilometers":"Miles",this.goalProgressMeasureKey="cumMiles"):this.isDurationGoal()?(this.goalProgressMeasureKey="cumMinutes",this.goalMeasureUnits="Minutes"):this.isCalorieGoal()?(this.goalProgressMeasureKey="cumCalories",this.goalMeasureUnits="Calories"):this.isIntakeCalorieGoal()?(this.goalProgressMeasureKey="cumIntakeCalories",this.goalMeasureUnits="Intake Calories"):this.isNetCalorieGoal()?(this.goalProgressMeasureKey="cumNetCalories",this.goalMeasureUnits="Net Calories"):this.isStepsGoal()?(this.goalProgressMeasureKey="cumSteps",this.goalMeasureUnits="Steps"):this.isFloorsGoal()?(this.goalProgressMeasureKey="cumFloors",this.goalMeasureUnits="Floors"):this.isActivityCountGoal()?(this.goalProgressMeasureKey="cumCount",this.goalMeasureUnits="Number of Activities"):this.isDaysGoal()?(this.goalProgressMeasureKey="cumDays",this.goalMeasureUnits="Active Days"):this.isWeightGoal()?(this.goalProgressMeasureKey="weight",this.goalMeasureUnits=this.units):this.isHealthGoal()&&(this.goalProgressMeasureKey=this.evalInstruction.healthMeasure,this.goalMeasureUnits="")}return e.prototype.localize=function(e){"es"===e&&(this.progress_txt="PROGRESO",this.history_txt="HISTORIA",this.target_goal_txt="Objetivo objetivo"),"fr"===e&&(this.progress_txt="PROGR\xc8S",this.history_txt="HISTOIRE",this.target_goal_txt="Objectif cible"),"it"===e&&(this.progress_txt="PROGRESS",this.history_txt="STORIA",this.target_goal_txt="Obiettivo target"),"de"===e&&(this.progress_txt="PROGRESS",this.history_txt="GESCHICHTE",this.target_goal_txt="Ziel")},e.prototype.getGoalIcon=function(){var e="";return this.isDistanceGoal()?e="/static/img/icons/goal_mobile_distance.png":this.isDurationGoal()?e="/static/img/icons/goal_mobile_duration.png ":this.isCalorieGoal()?e="/static/img/icons/goal_mobile_calories.png":this.isStepsGoal()?e="/static/img/icons/goal_mobile_steps.png":this.isWeightGoal()||this.isActivityCountGoal()?e="/static/img/icons/goal_mobile_weight.png":this.isGroupGoal()&&(e="/static/img/icons/goal_mobile_group.png"),e},e.prototype.isActivityGoalType=function(){return"WORKOUT_COMPARE_ATTRIBUTES"===this.goalType},e.prototype.isFitnessPlanGoalType=function(){return"WORKOUT_FITNESS_PLAN"===this.goalType},e.prototype.isActivityMonitorGoalType=function(){return"ACTIVITY_COMPARE_ATTRIBUTES"===this.goalType},e.prototype.isSimpleWeightGoalType=function(){return"WEIGHT_COMPARE_SIMPLE_TARGET"===this.goalType},e.prototype.isIntakeCaloriesGoalType=function(){return"INTAKE_CALORIE_COMPARE_ATTRIBUTES"===this.goalType},e.prototype.isNetCaloriesGoalType=function(){return"NET_CALORIES"===this.goalType},e.prototype.isHealthGoalType=function(){return"valHealthCompareTarget"===this.goalType},e.prototype.isDistanceGoal=function(){return null!=this.evalInstruction&&(this.isActivityGoalType()?"numMiles"==this.evalInstruction.activityMetric:this.isFitnessPlanGoalType()?"numMiles"==this.evalInstruction.fitnessMetric:!!this.isActivityMonitorGoalType()&&"numMiles"==this.evalInstruction.activityMetric)},e.prototype.isCalorieGoal=function(){return null!=this.evalInstruction&&(this.isActivityGoalType()?"numCalories"==this.evalInstruction.activityMetric:this.isFitnessPlanGoalType()?"numCalories"==this.evalInstruction.fitnessMetric:!!this.isActivityMonitorGoalType()&&"numCalories"==this.evalInstruction.activityMetric)},e.prototype.isIntakeCalorieGoal=function(){return null!=this.evalInstruction&&!!this.isIntakeCaloriesGoalType()&&"numIntakeCalories"==this.evalInstruction.activityMetric},e.prototype.isNetCalorieGoal=function(){return null!=this.evalInstruction&&!!this.isNetCaloriesGoalType()&&"numNetCalories"==this.evalInstruction.activityMetric},e.prototype.isDurationGoal=function(){return null!=this.evalInstruction&&(this.isActivityGoalType()?"numMinutes"==this.evalInstruction.activityMetric:this.isFitnessPlanGoalType()?"numMinutes"==this.evalInstruction.fitnessMetric:!!this.isActivityMonitorGoalType()&&"numMinutes"==this.evalInstruction.activityMetric)},e.prototype.isStepsGoal=function(){return null!=this.evalInstruction&&(this.isActivityGoalType()?"numSteps"===this.evalInstruction.activityMetric:this.isFitnessPlanGoalType()?"numSteps"===this.evalInstruction.fitnessMetric:!!this.isActivityMonitorGoalType()&&"numSteps"===this.evalInstruction.activityMetric)},e.prototype.isFloorsGoal=function(){return null!=this.evalInstruction&&(this.isFitnessPlanGoalType()?"numFloors"===this.evalInstruction.fitnessMetric:!!this.isActivityMonitorGoalType()&&"numFloors"==this.evalInstruction.activityMetric)},e.prototype.isWeightGoal=function(){return null!=this.evalInstruction&&!!this.isSimpleWeightGoalType()&&"weight"==this.evalInstruction.healthMeasure},e.prototype.isHealthGoal=function(){return null!=this.evalInstruction&&!!this.isHealthGoalType()&&"undefined"!==this.evalInstruction.healthMeasure},e.prototype.isDaysGoal=function(){return"undefined"!==this.evalInstruction&&!!this.isFitnessPlanGoalType()&&"numDays"===this.evalInstruction.fitnessMetric},e.prototype.isActivityCountGoal=function(){return"undefined"!==this.evalInstruction&&!!this.isActivityGoalType()&&"numActivities"===this.evalInstruction.activityMetric},e.prototype.isGroupGoal=function(){return"group"===this.ownerType},e.prototype.isRecurringGoal=function(){return this.isWeeklyGoal||this.isMonthlyGoal||this.isYearlyGoal||this.isDailyGoal},e.prototype.getGroupName=function(){return this.isGroupGoal()&&"undefined"!==this.groupName?this.groupName:""},e.prototype.getGoalProgressChartSeries=function(e,t){var n=[],r=this.goalProgressMeasureKey,a=0,o=0;return null!=e&&n.push([Object(i.t)(e),null]),null!=this.progressArray&&this.progressArray.forEach(function(e,t){var s=void 0!==e[r]?Number(e[r]):null;if(null!=s){var l=Object(i.k)(e.day);n.push([l,Object(i.ab)(s,1)]),void 0===a?(a=s,o=s):(a=Math.max(a,s),o=Math.min(o,s))}}),a=Math.max(a,1.02*this.goalTarget),o=Math.min(o,.98*this.goalTarget),null!=t&&n.push([Object(i.t)(t),null]),{name:"progress",data:n,color:"#4597CB",maxValue:a,minValue:o}},e.prototype.getGoalHistoryChartSeries=function(){var e,t,n,r,a,o=[];return this.isRecurringGoal()&&this.goalHistoryArray.forEach(function(s,l){var c=void 0!==s.evaluation?Number(s.evaluation):null,d=void 0!==s.score?Number(s.score):null;null!=c&&(n=Object(i.v)(s.start_day),r=Object(i.v)(s.start_day),a=Object(i.v)(s.end_day),t=Object(i.t)(n),e=Number(d)>=1?"#02b66f":"#fea200",o.push({x:t,y:c,color:e,recordDateObj:n,startDateObj:r,endDateObj:a}))}),{name:"history",data:o}},e.prototype.progressChartOpts=function(){var e=Object(i.v)(this.evalStartDate),t=Object(i.v)(this.evalEndDate),n=[];if(null!=e){var r=Object(i.t)(e);n.push([r,this.goalTarget])}if(null!=t){var a=Object(i.t)(t);n.push([a,this.goalTarget])}var o={name:"Target Goal",type:"spline",data:n,color:"#fad436",dashStyle:"Dash",marker:{enabled:!1},states:{hover:{enabled:!1}}},s=this.getGoalProgressChartSeries(e,t);return{yAxisTitle:this.goalMeasureUnits,startDateObj:e,endDateObj:t,series:[o,s],measureUnits:this.goalMeasureUnits,markerEnabled:!0,title:this.translate.instant("ROOT.PROGRESS"),spacingBottom:10,yAxisMin:s.minValue}},e.prototype.historyChartOpts=function(){if(this.isRecurringGoal()){var e,t=this.getGoalHistoryChartSeries();if(t.data.length>0){var n=t.data[0].x,i=t.data[t.data.length-1].x,r=[];r.push([n,void 0]),r.push([i,void 0]);var a=[t,{name:"Target Goal",type:"spline",data:r,color:"#fad436",dashStyle:"Dash",marker:{enabled:!1},states:{hover:{enabled:!1}}}];e={yAxisTitle:void 0,startDateObj:new Date(n),endDateObj:new Date(i),series:a,measureUnits:this.goalMeasureUnits,goalDateFormat:void 0,title:this.translate.instant("ROOT.HISTORY"),spacingBottom:10,isWeeklyChart:this.isWeeklyGoal,isActivityMonitorGoalType:this.isActivityMonitorGoalType()}}return e}},e.prototype.generateProgressChart=function(){var e=this,t=this.progressChartOpts();return{chart:{alignTicks:!1,type:"area",backgroundColor:"rgba(255,255,255,0.0)",spacingBottom:t.spacingBottom,width:null,animation:{duration:1200}},legend:{enabled:!1},credits:{enabled:!1},title:{text:t.title,style:{color:"#4597CB",fontWeight:"bold",fontSize:"18px"}},subtitle:{text:""},xAxis:{type:"datetime",startOfWeek:0,tickInterval:1,dateTimeLabelFormats:{second:"%l%p",minute:"%l%p",hour:"%l%p",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},title:{text:null},labels:{}},yAxis:{title:{text:t.yAxisTitle,style:{color:"#4597CB"}},labels:{style:{color:"#4597CB"}},min:t.yAxisMin,allowDecimals:!1},tooltip:{formatter:function(){var n=moment.unix(this.x/1e3+60*moment.unix(this.x/1e3)._d.stdTimezoneOffset()).format("MMMM D, YYYY")+"<br/><b>"+Object(i.l)(this.y)+" "+t.measureUnits+"</b>",r="<b>"+e.translate.instant("ROOT.Target Goal")+": "+Object(i.l)(this.y)+" "+t.measureUnits+" </b>";return"Target Goal"==this.series.name?r:n}},plotOptions:{area:{marker:{fillColor:"#FFFFFF",lineColor:null,enabled:t.markerEnabled,symbol:"circle",radius:3,lineWidth:2,states:{hover:{enabled:!0}}}}},series:t.series}},e.prototype.generateHistoryChart=function(e){var t=this,n=this.historyChartOpts();if(n)return{chart:{alignTicks:!0,type:"column",backgroundColor:"rgba(255,255,255,0.0)",spacingBottom:n.spacingBottom,width:null,animation:{duration:1200}},legend:{enabled:!1},credits:{enabled:!1},title:{text:n.title,style:{color:"#4597CB",fontWeight:"bold",fontSize:"18px"}},subtitle:{text:""},xAxis:{type:"datetime",startOfWeek:0,dateTimeLabelFormats:{second:"%l%p",minute:"%l%p",hour:"%l%p",day:"%e. %b",week:"%e. %b",month:"%b '%y",year:"%Y"},title:{text:""},labels:{},min:null},yAxis:{title:{text:n.yAxisTitle,style:{color:"#4597CB"}},labels:{style:{color:"#4597CB"}},min:n.yAxisMin,allowDecimals:!1,plotBands:n.plotBands},tooltip:{formatter:function(){moment.unix(this.x/1e3+60*moment.unix(this.x/1e3)._d.stdTimezoneOffset()).format("MMMM D, YYYY");var e=Object(i.l)(this.y);return"Target Goal"==this.series.name?"<b>"+t.translate.instant("ROOT.Target Goal")+": "+Object(i.l)(this.y)+" "+n.measureUnits+" </b>":"<br/><b>"+e+" "+n.measureUnits+"</b>"}},plotOptions:{series:{pointWidth:e},column:{shadow:!1,borderRadius:2}},series:n.series}},e}()},"S+S0":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("mrSG"),r=n("zVF4"),a=function(){function e(e,t,n){this.name=e,this.instanceFactory=t,this.type=n,this.multipleInstances=!1,this.serviceProps={},this.instantiationMode="LAZY"}return e.prototype.setInstantiationMode=function(e){return this.instantiationMode=e,this},e.prototype.setMultipleInstances=function(e){return this.multipleInstances=e,this},e.prototype.setServiceProps=function(e){return this.serviceProps=e,this},e}(),o="[DEFAULT]",s=function(){function e(e,t){this.name=e,this.container=t,this.component=null,this.instances=new Map,this.instancesDeferred=new Map}return e.prototype.get=function(e){void 0===e&&(e=o);var t=this.normalizeInstanceIdentifier(e);if(!this.instancesDeferred.has(t)){var n=new r.Deferred;this.instancesDeferred.set(t,n);try{var i=this.getOrInitializeService(t);i&&n.resolve(i)}catch(a){}}return this.instancesDeferred.get(t).promise},e.prototype.getImmediate=function(e){var t=i.__assign({identifier:o,optional:!1},e),n=t.optional,r=this.normalizeInstanceIdentifier(t.identifier);try{var a=this.getOrInitializeService(r);if(!a){if(n)return null;throw Error("Service "+this.name+" is not available")}return a}catch(s){if(n)return null;throw s}},e.prototype.getComponent=function(){return this.component},e.prototype.setComponent=function(e){var t,n;if(e.name!==this.name)throw Error("Mismatching Component "+e.name+" for Provider "+this.name+".");if(this.component)throw Error("Component for "+this.name+" has already been provided");if(this.component=e,function(e){return"EAGER"===e.instantiationMode}(e))try{this.getOrInitializeService(o)}catch(u){}try{for(var r=i.__values(this.instancesDeferred.entries()),a=r.next();!a.done;a=r.next()){var s=i.__read(a.value,2),l=s[1],c=this.normalizeInstanceIdentifier(s[0]);try{var d=this.getOrInitializeService(c);l.resolve(d)}catch(u){}}}catch(p){t={error:p}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.clearInstance=function(e){void 0===e&&(e=o),this.instancesDeferred.delete(e),this.instances.delete(e)},e.prototype.delete=function(){return i.__awaiter(this,void 0,void 0,function(){var e;return i.__generator(this,function(t){switch(t.label){case 0:return e=Array.from(this.instances.values()),[4,Promise.all(i.__spread(e.filter(function(e){return"INTERNAL"in e}).map(function(e){return e.INTERNAL.delete()}),e.filter(function(e){return"_delete"in e}).map(function(e){return e._delete()})))];case 1:return t.sent(),[2]}})})},e.prototype.isComponentSet=function(){return null!=this.component},e.prototype.getOrInitializeService=function(e){var t=this.instances.get(e);return!t&&this.component&&(t=this.component.instanceFactory(this.container,function(e){return e===o?void 0:e}(e)),this.instances.set(e,t)),t||null},e.prototype.normalizeInstanceIdentifier=function(e){return this.component?this.component.multipleInstances?e:o:e},e}(),l=function(){function e(e){this.name=e,this.providers=new Map}return e.prototype.addComponent=function(e){var t=this.getProvider(e.name);if(t.isComponentSet())throw new Error("Component "+e.name+" has already been registered with "+this.name);t.setComponent(e)},e.prototype.addOrOverwriteComponent=function(e){this.getProvider(e.name).isComponentSet()&&this.providers.delete(e.name),this.addComponent(e)},e.prototype.getProvider=function(e){if(this.providers.has(e))return this.providers.get(e);var t=new s(e,this);return this.providers.set(e,t),t},e.prototype.getProviders=function(){return Array.from(this.providers.values())},e}();t.Component=a,t.ComponentContainer=l,t.Provider=s},S6ln:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=e+" ";switch(n){case"ss":return i+(1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi");case"m":return t?"jedna minuta":"jedne minute";case"mm":return i+(1===e?"minuta":2===e||3===e||4===e?"minute":"minuta");case"h":return t?"jedan sat":"jednog sata";case"hh":return i+(1===e?"sat":2===e||3===e||4===e?"sata":"sati");case"dd":return i+(1===e?"dan":"dana");case"MM":return i+(1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci");case"yy":return i+(1===e?"godina":2===e||3===e||4===e?"godine":"godina")}}e.defineLocale("hr",{months:{format:"sije\u010dnja_velja\u010de_o\u017eujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"sije\u010danj_velja\u010da_o\u017eujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._o\u017eu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010der u] LT",lastWeek:function(){switch(this.day()){case 0:return"[pro\u0161lu] [nedjelju] [u] LT";case 3:return"[pro\u0161lu] [srijedu] [u] LT";case 6:return"[pro\u0161le] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[pro\u0161li] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},S7dM:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("fXoL"),r=n("ofXK"),a=n("tyNb"),o=n("sYmb"),s=function(){return["/signup"]},l=function(){return["/login"]};function c(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",2),i["\u0275\u0275elementStart"](1,"h3"),i["\u0275\u0275text"](2," Please login for this view. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"h3"),i["\u0275\u0275elementStart"](4,"button",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"br"),i["\u0275\u0275element"](8,"br"),i["\u0275\u0275text"](9," or "),i["\u0275\u0275element"](10,"br"),i["\u0275\u0275element"](11,"br"),i["\u0275\u0275elementStart"](12,"button",3),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](8,s)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,4,"ROOT.Sign Up")," "),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](9,l)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](14,6,"ROOT.Sign In")," "))}function d(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",4),i["\u0275\u0275element"](1,"div",5),i["\u0275\u0275elementStart"](2,"div",6),i["\u0275\u0275elementStart"](3,"div",7),i["\u0275\u0275elementStart"](4,"div"),i["\u0275\u0275elementStart"](5,"div",8),i["\u0275\u0275element"](6,"img",9),i["\u0275\u0275element"](7,"div",5),i["\u0275\u0275elementStart"](8,"span",10),i["\u0275\u0275text"](9,"Perfect for any kind of Cardio "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",11),i["\u0275\u0275elementStart"](11,"a",12),i["\u0275\u0275element"](12,"img",13),i["\u0275\u0275element"](13,"div",5),i["\u0275\u0275element"](14,"img",14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div",11),i["\u0275\u0275elementStart"](16,"a",15),i["\u0275\u0275element"](17,"img",16),i["\u0275\u0275element"](18,"div",5),i["\u0275\u0275element"](19,"img",17),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](20,"div",5),i["\u0275\u0275elementStart"](21,"h3"),i["\u0275\u0275text"](22,"Ready for More? Learn More About:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"ul",18),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275elementStart"](25,"a",19),i["\u0275\u0275text"](26,"Personalizing Your Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275elementStart"](28,"a",20),i["\u0275\u0275text"](29,"Setting Your Max Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"li"),i["\u0275\u0275elementStart"](31,"a",21),i["\u0275\u0275text"](32,"What Your Resting Heart Rate Can Tell You"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"li"),i["\u0275\u0275elementStart"](34,"a",22),i["\u0275\u0275text"](35,"Fitness Assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"li"),i["\u0275\u0275elementStart"](37,"a",23),i["\u0275\u0275text"](38,"Upgrades & Memberships"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](39," - getting the most of your workouts! "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var u=function(){function e(){this.themeFitdigits=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-login-notify"]],decls:2,vars:2,consts:[["class","loggedOutContainer",4,"ngIf"],["class","carousel-img-login-notify top300",4,"ngIf"],[1,"loggedOutContainer"],[1,"btn-primary","themedRoundButton",3,"routerLink"],[1,"carousel-img-login-notify","top300"],[2,"clear","both"],["id","fd-partners"],[1,"partner-wrap"],[1,"downloadMain"],["src","/static/img/icardio-logo.png",1,"appTextLogo","appTopLogo"],[1,"logoSubText"],[1,"topSignupHero"],["href","https://itunes.apple.com/us/app/icardio-workout-tracker/id314841648?mt=8"],["src","/static/img/ios-icardio-home.png",1,"apple-device"],["src","/static/img/itunes-app-store.png",1,"downloadStoreBadge"],["href","https://play.google.com/store/apps/details?id=com.fitdigits.icardio.app"],["src","/static/img/android-icardio-home.png",1,"android-device"],["src","/static/img/google-play-app-store.png",1,"downloadStoreBadge"],[1,"ready-for-more"],["routerLink","/personalized-heart-rate-zones.html"],["routerLink","/maximum-heart-rate.html"],["routerLink","/resting-heart-rates.html"],["routerLink","/fitness-assessments.html"],["routerLink","/memberships"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,c,15,10,"div",0),i["\u0275\u0275template"](1,d,40,0,"div",1)),2&e&&(i["\u0275\u0275property"]("ngIf",!t.themeFitdigits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.themeFitdigits))},directives:[r.NgIf,a.e,a.f],pipes:[o.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",".wrap[_ngcontent-%COMP%]{flex-direction:column}.wrap[_ngcontent-%COMP%], .wrap[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]{display:flex;justify-content:center}.loggedOutContainer[_ngcontent-%COMP%]{margin:40px auto;text-align:center}.carousel-img-login-notify[_ngcontent-%COMP%]{top:0;left:0;min-width:100%}.signupTopText[_ngcontent-%COMP%]{font-size:24px!important}.signup-online[_ngcontent-%COMP%]{float:right;width:200px;border:1px solid;padding:5px;margin:10px}","#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:960px;margin:auto;text-align:left}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;border-top:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;font-size:26px;background-color:#e2e3e4}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;padding:10px 40px;max-width:1100px}.references[_ngcontent-%COMP%]{border:1px solid;border-radius:4px;background-color:rgba(234,235,236,.1);padding:20px;margin:40px 0;clear:both}.downloadMain[_ngcontent-%COMP%]{width:100%;text-align:center}.appSpecificSection[_ngcontent-%COMP%]{border:0 solid;float:left;width:100%;margin-top:0}.downloadAppCol[_ngcontent-%COMP%]{width:33%;float:left;border:0 solid;text-align:center}.appTextLogo[_ngcontent-%COMP%]{height:30px;margin:30px auto;display:block}.appTopLogo[_ngcontent-%COMP%]{margin-bottom:0}.downloadStoreBadge[_ngcontent-%COMP%]{margin:10px auto;display:block}.topSignupHero[_ngcontent-%COMP%]{float:left;text-align:center;width:50%}.signup-step-2[_ngcontent-%COMP%]{text-align:center;margin:40px auto 0;clear:both;width:100%;float:left}.android-device[_ngcontent-%COMP%], .apple-device[_ngcontent-%COMP%]{height:200px}.ready-for-more[_ngcontent-%COMP%]{font-size:24px;margin-left:60px;list-style-type:circle}.topImage[_ngcontent-%COMP%]{background-image:url(/static/img/running_home1.png);background-repeat:no-repeat,repeat;background-size:100%}.signupTopText[_ngcontent-%COMP%]{text-shadow:4px 2px #000}.logoSubText[_ngcontent-%COMP%], .signupTopText[_ngcontent-%COMP%]{text-align:center;color:#fff}.logoSubText[_ngcontent-%COMP%]{background-color:#4597cb;padding:5px;display:block;width:200px;margin:-10px auto 20px}.welcomeLogo[_ngcontent-%COMP%]{position:absolute;top:20px;left:20px}.signin-header[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff}.header-band[_ngcontent-%COMP%]{background-color:#eaebec;text-align:center;width:100%;margin-top:70px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%]{background-color:transparent}.leftFooter[_ngcontent-%COMP%]{float:left;max-width:50%;text-align:left;padding:18px}.rightFooter[_ngcontent-%COMP%]{float:right;text-align:right}.centerFoooterImg[_ngcontent-%COMP%]{margin:-40px auto 0;text-align:center}.downloadFooter[_ngcontent-%COMP%]{padding:0 20px;max-height:140px;margin-bottom:-70px}@media (max-width:600px){.centerFoooterImg[_ngcontent-%COMP%], .leftFooter[_ngcontent-%COMP%]{visibility:hidden;width:0}}@media (max-width:600px){.partner-wrap[_ngcontent-%COMP%]{padding:10px}h3[_ngcontent-%COMP%]{font-size:18px}.downloadAppCol[_ngcontent-%COMP%]{width:100%}.ready-for-more[_ngcontent-%COMP%]{font-size:18px}.signupTopText[_ngcontent-%COMP%]{color:#fff;margin-top:-5px;text-shadow:2px 1px #000;font-size:24px!important}}"]}),e}()},SFxW:function(e,t,n){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-\xfcnc\xfc",4:"-\xfcnc\xfc",100:"-\xfcnc\xfc",6:"-nc\u0131",9:"-uncu",10:"-uncu",30:"-uncu",60:"-\u0131nc\u0131",90:"-\u0131nc\u0131"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ert\u0259si_\xc7\u0259r\u015f\u0259nb\u0259 ax\u015fam\u0131_\xc7\u0259r\u015f\u0259nb\u0259_C\xfcm\u0259 ax\u015fam\u0131_C\xfcm\u0259_\u015e\u0259nb\u0259".split("_"),weekdaysShort:"Baz_BzE_\xc7Ax_\xc7\u0259r_CAx_C\xfcm_\u015e\u0259n".split("_"),weekdaysMin:"Bz_BE_\xc7A_\xc7\u0259_CA_C\xfc_\u015e\u0259".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[g\u0259l\u0259n h\u0259ft\u0259] dddd [saat] LT",lastDay:"[d\xfcn\u0259n] LT",lastWeek:"[ke\xe7\u0259n h\u0259ft\u0259] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s \u0259vv\u0259l",s:"bir ne\xe7\u0259 saniy\u0259",ss:"%d saniy\u0259",m:"bir d\u0259qiq\u0259",mm:"%d d\u0259qiq\u0259",h:"bir saat",hh:"%d saat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gec\u0259|s\u0259h\u0259r|g\xfcnd\xfcz|ax\u015fam/,isPM:function(e){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(e)},meridiem:function(e,t,n){return e<4?"gec\u0259":e<12?"s\u0259h\u0259r":e<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(e){if(0===e)return e+"-\u0131nc\u0131";var n=e%10;return e+(t[n]||t[e%100-n]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},STbY:function(e,t,n){"use strict";n.d(t,"a",function(){return G}),n.d(t,"b",function(){return H}),n.d(t,"c",function(){return K}),n.d(t,"d",function(){return $});var i=n("ODXe"),r=n("KQm4"),a=n("JX7q"),o=n("Ji7U"),s=n("LK+K"),l=n("1OyB"),c=n("vuIU"),d=n("u47x"),u=n("8LU1"),p=n("FtGj"),h=n("fXoL"),m=n("XNiG"),g=n("quSY"),f=n("VRyK"),v=n("LRne"),y=n("7Hc7"),b=n("JX91"),x=n("eIep"),_=n("IzEk"),w=n("pLZG"),S=n("1G5W"),C=n("3E0/"),k=n("R0Ic"),O=n("+rOU"),E=n("ofXK"),M=n("FKr1"),I=n("rDax"),P=n("nLfN"),T=n("vxfF"),D=n("cH1L"),L=["mat-menu-item",""],R=["*"];function j(e,t){if(1&e){var n=h["\u0275\u0275getCurrentView"]();h["\u0275\u0275elementStart"](0,"div",0),h["\u0275\u0275listener"]("keydown",function(e){return h["\u0275\u0275restoreView"](n),h["\u0275\u0275nextContext"]()._handleKeydown(e)})("click",function(){return h["\u0275\u0275restoreView"](n),h["\u0275\u0275nextContext"]().closed.emit("click")})("@transformMenu.start",function(e){return h["\u0275\u0275restoreView"](n),h["\u0275\u0275nextContext"]()._onAnimationStart(e)})("@transformMenu.done",function(e){return h["\u0275\u0275restoreView"](n),h["\u0275\u0275nextContext"]()._onAnimationDone(e)}),h["\u0275\u0275elementStart"](1,"div",1),h["\u0275\u0275projection"](2),h["\u0275\u0275elementEnd"](),h["\u0275\u0275elementEnd"]()}if(2&e){var i=h["\u0275\u0275nextContext"]();h["\u0275\u0275property"]("id",i.panelId)("ngClass",i._classList)("@transformMenu",i._panelAnimationState),h["\u0275\u0275attribute"]("aria-label",i.ariaLabel||null)("aria-labelledby",i.ariaLabelledby||null)("aria-describedby",i.ariaDescribedby||null)}}var A={transformMenu:Object(k.n)("transformMenu",[Object(k.k)("void",Object(k.l)({opacity:0,transform:"scale(0.8)"})),Object(k.m)("void => enter",Object(k.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(k.l)({opacity:1,transform:"scale(1)"}))),Object(k.m)("* => void",Object(k.e)("100ms 25ms linear",Object(k.l)({opacity:0})))]),fadeInItems:Object(k.n)("fadeInItems",[Object(k.k)("showing",Object(k.l)({opacity:1})),Object(k.m)("void => *",[Object(k.l)({opacity:0}),Object(k.e)("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},F=new h.InjectionToken("MatMenuContent"),B=new h.InjectionToken("MAT_MENU_PANEL"),z=Object(c.a)(function e(){Object(l.a)(this,e)}),N=Object(M.z)(Object(M.A)(z)),H=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r,o){var s;return Object(l.a)(this,n),(s=t.call(this))._elementRef=e,s._focusMonitor=r,s._parentMenu=o,s.role="menuitem",s._hovered=new m.a,s._focused=new m.a,s._highlighted=!1,s._triggersSubmenu=!1,o&&o.addItem&&o.addItem(Object(a.a)(s)),s}return Object(c.a)(n,[{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t),this._focused.next(this)}},{key:"ngAfterViewInit",value:function(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}},{key:"ngOnDestroy",value:function(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}},{key:"_getTabIndex",value:function(){return this.disabled?"-1":"0"}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_checkDisabled",value:function(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}},{key:"_handleMouseEnter",value:function(){this._hovered.next(this)}},{key:"getLabel",value:function(){for(var e,t,n=this._elementRef.nativeElement.cloneNode(!0),i=n.querySelectorAll("mat-icon, .material-icons"),r=0;r<i.length;r++){var a=i[r];null===(e=a.parentNode)||void 0===e||e.removeChild(a)}return(null===(t=n.textContent)||void 0===t?void 0:t.trim())||""}}]),n}(N);return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.ElementRef),h["\u0275\u0275directiveInject"](E.DOCUMENT),h["\u0275\u0275directiveInject"](d.h),h["\u0275\u0275directiveInject"](B,8))},e.\u0275cmp=h["\u0275\u0275defineComponent"]({type:e,selectors:[["","mat-menu-item",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:10,hostBindings:function(e,t){1&e&&h["\u0275\u0275listener"]("click",function(e){return t._checkDisabled(e)})("mouseenter",function(){return t._handleMouseEnter()}),2&e&&(h["\u0275\u0275attribute"]("role",t.role)("tabindex",t._getTabIndex())("aria-disabled",t.disabled.toString())("disabled",t.disabled||null),h["\u0275\u0275classProp"]("mat-menu-item",!0)("mat-menu-item-highlighted",t._highlighted)("mat-menu-item-submenu-trigger",t._triggersSubmenu))},inputs:{disabled:"disabled",disableRipple:"disableRipple",role:"role"},exportAs:["matMenuItem"],features:[h["\u0275\u0275InheritDefinitionFeature"]],attrs:L,ngContentSelectors:R,decls:2,vars:2,consts:[["matRipple","",1,"mat-menu-ripple",3,"matRippleDisabled","matRippleTrigger"]],template:function(e,t){1&e&&(h["\u0275\u0275projectionDef"](),h["\u0275\u0275projection"](0),h["\u0275\u0275element"](1,"div",0)),2&e&&(h["\u0275\u0275advance"](1),h["\u0275\u0275property"]("matRippleDisabled",t.disableRipple||t.disabled)("matRippleTrigger",t._getHostElement()))},directives:[M.t],encapsulation:2,changeDetection:0}),e}(),V=new h.InjectionToken("mat-menu-default-options",{providedIn:"root",factory:function(){return{overlapTrigger:!1,xPosition:"after",yPosition:"below",backdropClass:"cdk-overlay-transparent-backdrop"}}}),Y=0,W=function(){var e=function(){function e(t,n,i){Object(l.a)(this,e),this._elementRef=t,this._ngZone=n,this._defaultOptions=i,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new h.QueryList,this._tabSubscription=g.a.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new m.a,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new h.EventEmitter,this.close=this.closed,this.panelId="mat-menu-panel-".concat(Y++)}return Object(c.a)(e,[{key:"xPosition",get:function(){return this._xPosition},set:function(e){this._xPosition=e,this.setPositionClasses()}},{key:"yPosition",get:function(){return this._yPosition},set:function(e){this._yPosition=e,this.setPositionClasses()}},{key:"overlapTrigger",get:function(){return this._overlapTrigger},set:function(e){this._overlapTrigger=Object(u.c)(e)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Object(u.c)(e)}},{key:"panelClass",set:function(e){var t=this,n=this._previousPanelClass;n&&n.length&&n.split(" ").forEach(function(e){t._classList[e]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(function(e){t._classList[e]=!0}),this._elementRef.nativeElement.className="")}},{key:"classList",get:function(){return this.panelClass},set:function(e){this.panelClass=e}},{key:"ngOnInit",value:function(){this.setPositionClasses()}},{key:"ngAfterContentInit",value:function(){var e=this;this._updateDirectDescendants(),this._keyManager=new d.g(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(function(){return e.closed.emit("tab")}),this._directDescendantItems.changes.pipe(Object(b.a)(this._directDescendantItems),Object(x.a)(function(e){return f.a.apply(void 0,Object(r.a)(e.map(function(e){return e._focused})))})).subscribe(function(t){return e._keyManager.updateActiveItem(t)})}},{key:"ngOnDestroy",value:function(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}},{key:"_hovered",value:function(){return this._directDescendantItems.changes.pipe(Object(b.a)(this._directDescendantItems),Object(x.a)(function(e){return f.a.apply(void 0,Object(r.a)(e.map(function(e){return e._hovered})))}))}},{key:"addItem",value:function(e){}},{key:"removeItem",value:function(e){}},{key:"_handleKeydown",value:function(e){var t=e.keyCode,n=this._keyManager;switch(t){case p.h:Object(p.t)(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case p.j:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case p.n:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:t!==p.q&&t!==p.e||n.setFocusOrigin("keyboard"),n.onKeydown(e)}}},{key:"focusFirstItem",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"program";this.lazyContent?this._ngZone.onStable.pipe(Object(_.a)(1)).subscribe(function(){return e._focusFirstItem(t)}):this._focusFirstItem(t)}},{key:"_focusFirstItem",value:function(e){var t=this._keyManager;if(t.setFocusOrigin(e).setFirstItemActive(),!t.activeItem&&this._directDescendantItems.length)for(var n=this._directDescendantItems.first._getHostElement().parentElement;n;){if("menu"===n.getAttribute("role")){n.focus();break}n=n.parentElement}}},{key:"resetActiveItem",value:function(){this._keyManager.setActiveItem(-1)}},{key:"setElevation",value:function(e){var t=Math.min(4+e,24),n="mat-elevation-z".concat(t),i=Object.keys(this._classList).find(function(e){return e.startsWith("mat-elevation-z")});i&&i!==this._previousElevation||(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[n]=!0,this._previousElevation=n)}},{key:"setPositionClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.xPosition,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.yPosition,n=this._classList;n["mat-menu-before"]="before"===e,n["mat-menu-after"]="after"===e,n["mat-menu-above"]="above"===t,n["mat-menu-below"]="below"===t}},{key:"_startAnimation",value:function(){this._panelAnimationState="enter"}},{key:"_resetAnimation",value:function(){this._panelAnimationState="void"}},{key:"_onAnimationDone",value:function(e){this._animationDone.next(e),this._isAnimating=!1}},{key:"_onAnimationStart",value:function(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}},{key:"_updateDirectDescendants",value:function(){var e=this;this._allItems.changes.pipe(Object(b.a)(this._allItems)).subscribe(function(t){e._directDescendantItems.reset(t.filter(function(t){return t._parentMenu===e})),e._directDescendantItems.notifyOnChanges()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.ElementRef),h["\u0275\u0275directiveInject"](h.NgZone),h["\u0275\u0275directiveInject"](V))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,contentQueries:function(e,t,n){var i;1&e&&(h["\u0275\u0275contentQuery"](n,F,1),h["\u0275\u0275contentQuery"](n,H,1),h["\u0275\u0275contentQuery"](n,H,0)),2&e&&(h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t.lazyContent=i.first),h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t._allItems=i),h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t.items=i))},viewQuery:function(e,t){var n;1&e&&h["\u0275\u0275viewQuery"](h.TemplateRef,1),2&e&&h["\u0275\u0275queryRefresh"](n=h["\u0275\u0275loadQuery"]())&&(t.templateRef=n.first)},inputs:{backdropClass:"backdropClass",xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"]},outputs:{closed:"closed",close:"close"}}),e}(),G=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r){return Object(l.a)(this,n),t.call(this,e,i,r)}return Object(c.a)(n)}(W);return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](h.ElementRef),h["\u0275\u0275directiveInject"](h.NgZone),h["\u0275\u0275directiveInject"](V))},e.\u0275cmp=h["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,t){2&e&&h["\u0275\u0275attribute"]("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[h["\u0275\u0275ProvidersFeature"]([{provide:B,useExisting:e}]),h["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:R,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,t){1&e&&(h["\u0275\u0275projectionDef"](),h["\u0275\u0275template"](0,j,3,6,"ng-template"))},directives:[E.NgClass],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]{pointer-events:none}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}.mat-menu-item-submenu-trigger::after{width:0;height:0;border-style:solid;border-width:5px 0 5px 5px;border-color:transparent transparent transparent currentColor;content:"";display:inline-block;position:absolute;top:50%;right:16px;transform:translateY(-50%)}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}[dir=rtl] .mat-menu-item-submenu-trigger::after{right:auto;left:16px;transform:rotateY(180deg) translateY(-50%)}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[A.transformMenu,A.fadeInItems]},changeDetection:0}),e}(),U=new h.InjectionToken("mat-menu-scroll-strategy"),q={provide:U,deps:[I.c],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},Z=Object(P.f)({passive:!0}),$=function(){var e=function(){function e(t,n,i,r,a,o,s,c){var u=this;Object(l.a)(this,e),this._overlay=t,this._element=n,this._viewContainerRef=i,this._menuItemInstance=o,this._dir=s,this._focusMonitor=c,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=g.a.EMPTY,this._hoverSubscription=g.a.EMPTY,this._menuCloseSubscription=g.a.EMPTY,this._handleTouchStart=function(e){Object(d.m)(e)||(u._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new h.EventEmitter,this.onMenuOpen=this.menuOpened,this.menuClosed=new h.EventEmitter,this.onMenuClose=this.menuClosed,this._scrollStrategy=r,this._parentMaterialMenu=a instanceof W?a:void 0,n.nativeElement.addEventListener("touchstart",this._handleTouchStart,Z),o&&(o._triggersSubmenu=this.triggersSubmenu())}return Object(c.a)(e,[{key:"_deprecatedMatMenuTriggerFor",get:function(){return this.menu},set:function(e){this.menu=e}},{key:"menu",get:function(){return this._menu},set:function(e){var t=this;e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(function(e){t._destroyMenu(e),"click"!==e&&"tab"!==e||!t._parentMaterialMenu||t._parentMaterialMenu.closed.emit(e)})))}},{key:"ngAfterContentInit",value:function(){this._checkMenu(),this._handleHover()}},{key:"ngOnDestroy",value:function(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,Z),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}},{key:"menuOpen",get:function(){return this._menuOpen}},{key:"dir",get:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"triggersSubmenu",value:function(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}},{key:"toggleMenu",value:function(){return this._menuOpen?this.closeMenu():this.openMenu()}},{key:"openMenu",value:function(){var e=this;if(!this._menuOpen){this._checkMenu();var t=this._createOverlay(),n=t.getConfig();this._setPosition(n.positionStrategy),n.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,t.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(function(){return e.closeMenu()}),this._initMenu(),this.menu instanceof W&&this.menu._startAnimation()}}},{key:"closeMenu",value:function(){this.menu.close.emit()}},{key:"focus",value:function(e,t){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,t):this._element.nativeElement.focus(t)}},{key:"_destroyMenu",value:function(e){var t=this;if(this._overlayRef&&this.menuOpen){var n=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),!this.restoreFocus||"keydown"!==e&&this._openedBy&&this.triggersSubmenu()||this.focus(this._openedBy),this._openedBy=void 0,n instanceof W?(n._resetAnimation(),n.lazyContent?n._animationDone.pipe(Object(w.a)(function(e){return"void"===e.toState}),Object(_.a)(1),Object(S.a)(n.lazyContent._attached)).subscribe({next:function(){return n.lazyContent.detach()},complete:function(){return t._setIsMenuOpen(!1)}}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),n.lazyContent&&n.lazyContent.detach())}}},{key:"_initMenu",value:function(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}},{key:"_setMenuElevation",value:function(){if(this.menu.setElevation){for(var e=0,t=this.menu.parentMenu;t;)e++,t=t.parentMenu;this.menu.setElevation(e)}}},{key:"_setIsMenuOpen",value:function(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&(this._menuItemInstance._highlighted=e)}},{key:"_checkMenu",value:function(){}},{key:"_createOverlay",value:function(){if(!this._overlayRef){var e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}},{key:"_getOverlayConfig",value:function(){return new I.d({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}},{key:"_subscribeToPositions",value:function(e){var t=this;this.menu.setPositionClasses&&e.positionChanges.subscribe(function(e){t.menu.setPositionClasses("start"===e.connectionPair.overlayX?"after":"before","top"===e.connectionPair.overlayY?"below":"above")})}},{key:"_setPosition",value:function(e){var t="before"===this.menu.xPosition?["end","start"]:["start","end"],n=Object(i.a)(t,2),r=n[0],a=n[1],o="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],s=Object(i.a)(o,2),l=s[0],c=s[1],d=l,u=c,p=r,h=a,m=0;this.triggersSubmenu()?(h=r="before"===this.menu.xPosition?"start":"end",a=p="end"===r?"start":"end",m="bottom"===l?8:-8):this.menu.overlapTrigger||(d="top"===l?"bottom":"top",u="top"===c?"bottom":"top"),e.withPositions([{originX:r,originY:d,overlayX:p,overlayY:l,offsetY:m},{originX:a,originY:d,overlayX:h,overlayY:l,offsetY:m},{originX:r,originY:u,overlayX:p,overlayY:c,offsetY:-m},{originX:a,originY:u,overlayX:h,overlayY:c,offsetY:-m}])}},{key:"_menuClosingActions",value:function(){var e=this,t=this._overlayRef.backdropClick(),n=this._overlayRef.detachments(),i=this._parentMaterialMenu?this._parentMaterialMenu.closed:Object(v.a)(),r=this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(Object(w.a)(function(t){return t!==e._menuItemInstance}),Object(w.a)(function(){return e._menuOpen})):Object(v.a)();return Object(f.a)(t,i,r,n)}},{key:"_handleMousedown",value:function(e){Object(d.l)(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}},{key:"_handleKeydown",value:function(e){var t=e.keyCode;t!==p.g&&t!==p.o||(this._openedBy="keyboard"),this.triggersSubmenu()&&(t===p.n&&"ltr"===this.dir||t===p.j&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}},{key:"_handleClick",value:function(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}},{key:"_handleHover",value:function(){var e=this;this.triggersSubmenu()&&this._parentMaterialMenu&&(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(Object(w.a)(function(t){return t===e._menuItemInstance&&!t.disabled}),Object(C.a)(0,y.b)).subscribe(function(){e._openedBy="mouse",e.menu instanceof W&&e.menu._isAnimating?e.menu._animationDone.pipe(Object(_.a)(1),Object(C.a)(0,y.b),Object(S.a)(e._parentMaterialMenu._hovered())).subscribe(function(){return e.openMenu()}):e.openMenu()}))}},{key:"_getPortal",value:function(){return this._portal&&this._portal.templateRef===this.menu.templateRef||(this._portal=new O.g(this.menu.templateRef,this._viewContainerRef)),this._portal}}]),e}();return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](I.c),h["\u0275\u0275directiveInject"](h.ElementRef),h["\u0275\u0275directiveInject"](h.ViewContainerRef),h["\u0275\u0275directiveInject"](U),h["\u0275\u0275directiveInject"](B,8),h["\u0275\u0275directiveInject"](H,10),h["\u0275\u0275directiveInject"](D.b,8),h["\u0275\u0275directiveInject"](d.h))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:["aria-haspopup","true",1,"mat-menu-trigger"],hostVars:2,hostBindings:function(e,t){1&e&&h["\u0275\u0275listener"]("mousedown",function(e){return t._handleMousedown(e)})("keydown",function(e){return t._handleKeydown(e)})("click",function(e){return t._handleClick(e)}),2&e&&h["\u0275\u0275attribute"]("aria-expanded",t.menuOpen||null)("aria-controls",t.menuOpen?t.menu.panelId:null)},inputs:{restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"],_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"},exportAs:["matMenuTrigger"]}),e}(),X=function(){var e=Object(c.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=h["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=h["\u0275\u0275defineInjector"]({providers:[q],imports:[M.j]}),e}(),K=function(){var e=Object(c.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=h["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=h["\u0275\u0275defineInjector"]({providers:[q],imports:[[E.CommonModule,M.j,M.u,I.f,X],T.a,M.j,X]}),e}()},SatO:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-hk",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1200?"\u4e0a\u5348":1200===i?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:"[\u4e0b]ddddLT",lastDay:"[\u6628\u5929]LT",lastWeek:"[\u4e0a]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},SeVD:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("ngJS"),r=n("NJ4a"),a=n("Lhse"),o=n("kJWO"),s=n("I55L"),l=n("c2HN"),c=n("XoHu"),d=function(e){if(e&&"function"==typeof e[o.a])return d=e,function(e){var t=d[o.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(s.a)(e))return Object(i.a)(e);if(Object(l.a)(e))return n=e,function(e){return n.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,r.a),e};if(e&&"function"==typeof e[a.a])return t=e,function(e){for(var n=t[a.a]();;){var i=void 0;try{i=n.next()}catch(r){return e.error(r),e}if(i.done){e.complete();break}if(e.next(i.value),e.closed)break}return"function"==typeof n.return&&e.add(function(){n.return&&n.return()}),e};var t,n,d,u=Object(c.a)(e)?"an invalid object":"'".concat(e,"'"),p="You provided ".concat(u," where a stream was expected.")+" You can provide an Observable, Promise, Array, or Iterable.";throw new TypeError(p)}},Sh3t:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return s});var i={leaderboard:!1,feed:!1,roster:!1,messages:!1,livetracking:!1,calendar:!1},r={leaderboard:!1,feed:!1,roster:!1,messages:!0,livetracking:!1,calendar:!1},a=[9605139,9595181],o=function(){function e(e){if(this.isHIPAA=!1,this.isBCGroup=!1,this.hitRateLimit=!1,this.bannerRemoved=!1,this.has_profile_image=!1,this.viewer={isAdmin:!1,isAuditor:!1,isOwner:!1},this.components={leaderboard:!0,feed:!0,roster:!0,messages:!0,livetracking:!0,calendar:!0},this.id=Number(e.id),isNaN(this.id)&&(this.id=Number(e.groupID)),this.description=e.description,this.name=e.name,this.url=e.uri,this.has_profile_image=e.has_profile_image,this.isTrainerGroup=e.is_trainer,this.memberCount=e.member_count,this.isAuditEnabled=e.is_audit_enabled,this.inviteCode=e.invitation_code,this.pushMessage=e.pushMessage,this.creationDate=e.creationDate,this.password=e.password,this.isHIPAA=e.is_HIPAA_secure,this.liveSessionCount=e.live_session_count,e.components&&(this.components=e.components),this.pushMessage){this.hitRateLimit=!0;var t=this.pushMessage;t=this.remove_timezone(new Date(t));var n=this.convert_to_utc(new Date);this.rateLimitRemaining=parseInt(String(-1*((n-t)/1e3/60-60)+1)),console.log(this.rateLimitRemaining)}if(this.isTrainerGroup&&(this.components=r),this.isHIPAA){this.components=i;for(var o=0;o<a.length;o++)this.id==a[o]&&(this.isBCGroup=!0)}this.viewer.isAdmin=e.is_admin||!1,this.viewer.isAuditor=e.is_auditor||!1,this.viewer.isOwner=e.is_owner||!1,e.trainer&&(this.trainer=e.trainer),this.profilePhoto="https://my.fitdigits.com/api/v2/group_photo?path="+this.id+"&amp;photo_type=profile",e.has_profile_image&&(this.profilePhoto="https://storage.googleapis.com/image_manager/groups/"+this.id+"/"+e.profile_image_filename),e.banner_image_removed?this.bannerRemoved=!0:(this.bannerPhoto="https://my.fitdigits.com/api/v2/group_photo?path="+this.id+"&amp;photo_type=cover",e.has_banner_image&&(this.bannerPhoto="https://storage.googleapis.com/image_manager/groups/"+this.id+"/"+e.banner_image_filename))}return e.prototype.convert_to_utc=function(e){return Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())},e.prototype.remove_timezone=function(e){return Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds())},e}(),s=function(){return function(e){this.hasImage=!1,this.isAdmin=!1,this.isAuditor=!1,this.activeAudit=!1,this.isOwner=!1,this.memberLink="#",this.id=e.memberID,this.auditPath=e.audit_path,this.accountId=e.accountID,this.groupId=Number(e.groupID),this.name=e.name,this.emailAddress=e.email_address,this.isAdmin=e.is_admin,this.isAuditor=e.is_auditor,this.isOwner=e.is_owner,this.permissions=e.permissions,this.imageFilename=e.image_filename,this.hasImage=e.has_image,this.aggregateData=e.aggregateData,this.creationDate=e.creationDate,this.role=this.isAdmin?"ADMINISTRATOR":"MEMBER",this.isAuditor&&(this.role="COACH TRAINER"),this.isOwner&&(this.role="OWNER"),this.profilePhoto="https://my.fitdigits.com/api/v2/group_member_photo/"+this.accountId,this.hasImage&&(this.profilePhoto="https://storage.googleapis.com/image_manager/profile_image/"+this.accountId+"/"+this.imageFilename),this.customUri=e.member_url,e.member_url&&(this.memberLink="/member/"+e.member_url,this.mentionable=e.member_url)}}()},SpAZ:function(e,t,n){"use strict";function i(e){return e}n.d(t,"a",function(){return i})},SrD1:function(e,t,n){"use strict";var i=n("fXoL"),r=n("rhsj"),a=n("EnSh"),o=n("jhN1"),s=["outerContainer"],l=["container"],c=["leftArrow"],d=["rightArrow"],u=["navArrow"],p=["dataContainer"],h=["image"],m=["caption"],g=["number"],f=["lb-content",""],v=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},y=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},b=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var x=n("EnSh"),_=n("ofXK"),w=n("fXoL"),S=n("jhN1"),C=n("rhsj"),k=function(){function e(e,t,n,i,r,a,o,s){var l=this;this._elemRef=e,this._rendererRef=t,this._lightboxEvent=n,this._lightboxElem=i,this._lightboxWindowRef=r,this._fileSaverService=a,this._sanitizer=o,this._documentRef=s,this.options=this.options||{},this.album=this.album||[],this.currentImageIndex=this.currentImageIndex||0,this._windowRef=this._lightboxWindowRef.nativeWindow,this.ui={showReloader:!0,showLeftArrow:!1,showRightArrow:!1,showArrowNav:!1,showZoomButton:!1,showRotateButton:!1,showPageNumber:!1,showCaption:!1,showDownloadButton:!1,classList:"lightbox animation fadeIn"},this.content={pageNumber:""},this._event={},this._lightboxElem=this._elemRef,this._event.subscription=this._lightboxEvent.lightboxEvent$.subscribe(function(e){return l._onReceivedEvent(e)}),this.rotate=0}return e.prototype.ngOnInit=function(){var e=this;this.album.forEach(function(t){t.caption&&(t.caption=e._sanitizer.sanitize(w.SecurityContext.HTML,t.caption))})},e.prototype.ngAfterViewInit=function(){this._cssValue={containerTopPadding:Math.round(this._getCssStyleValue(this._containerElem,"padding-top")),containerRightPadding:Math.round(this._getCssStyleValue(this._containerElem,"padding-right")),containerBottomPadding:Math.round(this._getCssStyleValue(this._containerElem,"padding-bottom")),containerLeftPadding:Math.round(this._getCssStyleValue(this._containerElem,"padding-left")),imageBorderWidthTop:Math.round(this._getCssStyleValue(this._imageElem,"border-top-width")),imageBorderWidthBottom:Math.round(this._getCssStyleValue(this._imageElem,"border-bottom-width")),imageBorderWidthLeft:Math.round(this._getCssStyleValue(this._imageElem,"border-left-width")),imageBorderWidthRight:Math.round(this._getCssStyleValue(this._imageElem,"border-right-width"))},this._validateInputData()&&(this._prepareComponent(),this._registerImageLoadingEvent())},e.prototype.ngOnDestroy=function(){this.options.disableKeyboardNav||this._disableKeyboardNav(),this._event.subscription.unsubscribe()},e.prototype.close=function(e){e.stopPropagation(),(e.target.classList.contains("lightbox")||e.target.classList.contains("lb-loader")||e.target.classList.contains("lb-close"))&&this._lightboxEvent.broadcastLightboxEvent({id:C.LIGHTBOX_EVENT.CLOSE,data:null})},e.prototype.download=function(e){e.stopPropagation();var t=this.album[this.currentImageIndex].src,n=this.album[this.currentImageIndex].downloadUrl,i=t.split("/"),r=i[i.length-1],a=document.createElement("canvas"),o=a.getContext("2d"),s=new Image,l=this;s.onload=function(){a.width=this.naturalWidth,a.height=this.naturalHeight,o.drawImage(this,0,0),a.toBlob(function(e){l._fileSaverService.save(e,r)},"image/jpeg",.75)},s.crossOrigin="",s.src=this._sanitizer.sanitize(w.SecurityContext.URL,n&&n.length>0?n:t)},e.prototype.control=function(e){var t,n;e.stopPropagation(),e.target.classList.contains("lb-turnLeft")?(this.rotate=this.rotate-90,this._rotateContainer(),this._calcTransformPoint(),this._documentRef.getElementById("image").style.transform="rotate("+this.rotate+"deg)",this._documentRef.getElementById("image").style.webkitTransform="rotate("+this.rotate+"deg)",this._lightboxEvent.broadcastLightboxEvent({id:C.LIGHTBOX_EVENT.ROTATE_LEFT,data:null})):e.target.classList.contains("lb-turnRight")?(this.rotate=this.rotate+90,this._rotateContainer(),this._calcTransformPoint(),this._documentRef.getElementById("image").style.transform="rotate("+this.rotate+"deg)",this._documentRef.getElementById("image").style.webkitTransform="rotate("+this.rotate+"deg)",this._lightboxEvent.broadcastLightboxEvent({id:C.LIGHTBOX_EVENT.ROTATE_RIGHT,data:null})):e.target.classList.contains("lb-zoomOut")?(t=parseInt(this._documentRef.getElementById("outerContainer").style.height,10)/1.5,n=parseInt(this._documentRef.getElementById("outerContainer").style.width,10)/1.5,this._documentRef.getElementById("outerContainer").style.height=t+"px",this._documentRef.getElementById("outerContainer").style.width=n+"px",t=parseInt(this._documentRef.getElementById("image").style.height,10)/1.5,n=parseInt(this._documentRef.getElementById("image").style.width,10)/1.5,this._documentRef.getElementById("image").style.height=t+"px",this._documentRef.getElementById("image").style.width=n+"px",this._lightboxEvent.broadcastLightboxEvent({id:C.LIGHTBOX_EVENT.ZOOM_OUT,data:null})):e.target.classList.contains("lb-zoomIn")&&(t=1.5*parseInt(this._documentRef.getElementById("outerContainer").style.height,10),n=1.5*parseInt(this._documentRef.getElementById("outerContainer").style.width,10),this._documentRef.getElementById("outerContainer").style.height=t+"px",this._documentRef.getElementById("outerContainer").style.width=n+"px",t=1.5*parseInt(this._documentRef.getElementById("image").style.height,10),n=1.5*parseInt(this._documentRef.getElementById("image").style.width,10),this._documentRef.getElementById("image").style.height=t+"px",this._documentRef.getElementById("image").style.width=n+"px",this._lightboxEvent.broadcastLightboxEvent({id:C.LIGHTBOX_EVENT.ZOOM_IN,data:null}))},e.prototype._rotateContainer=function(){var e=this.rotate;e<0&&(e*=-1),e/90%4==1||e/90%4==3?(this._documentRef.getElementById("outerContainer").style.height=this._documentRef.getElementById("image").style.width,this._documentRef.getElementById("outerContainer").style.width=this._documentRef.getElementById("image").style.height,this._documentRef.getElementById("container").style.height=this._documentRef.getElementById("image").style.width,this._documentRef.getElementById("container").style.width=this._documentRef.getElementById("image").style.height):(this._documentRef.getElementById("outerContainer").style.height=this._documentRef.getElementById("image").style.height,this._documentRef.getElementById("outerContainer").style.width=this._documentRef.getElementById("image").style.width,this._documentRef.getElementById("container").style.height=this._documentRef.getElementById("image").style.width,this._documentRef.getElementById("container").style.width=this._documentRef.getElementById("image").style.height)},e.prototype._resetImage=function(){this.rotate=0,this._documentRef.getElementById("image").style.transform="rotate("+this.rotate+"deg)",this._documentRef.getElementById("image").style.webkitTransform="rotate("+this.rotate+"deg)"},e.prototype._calcTransformPoint=function(){var e=parseInt(this._documentRef.getElementById("image").style.height,10),t=parseInt(this._documentRef.getElementById("image").style.width,10),n=this.rotate%360;n<0&&(n=360+n),90===n?this._documentRef.getElementById("image").style.transformOrigin=e/2+"px "+e/2+"px":180===n?this._documentRef.getElementById("image").style.transformOrigin=t/2+"px "+e/2+"px":270===n&&(this._documentRef.getElementById("image").style.transformOrigin=t/2+"px "+t/2+"px")},e.prototype.nextImage=function(){1!==this.album.length&&this._changeImage(this.currentImageIndex===this.album.length-1?0:this.currentImageIndex+1)},e.prototype.prevImage=function(){1!==this.album.length&&this._changeImage(0===this.currentImageIndex&&this.album.length>1?this.album.length-1:this.currentImageIndex-1)},e.prototype._validateInputData=function(){if(!(this.album&&this.album instanceof Array&&this.album.length>0))throw new Error("No album data or album data is not correct in type");for(var e=0;e<this.album.length;e++)if(!this.album[e].src)throw new Error("One of the album data does not have source data");if(isNaN(this.currentImageIndex))throw new Error("Current image index is not a number");return this.currentImageIndex=Number(this.currentImageIndex),!0},e.prototype._registerImageLoadingEvent=function(){var e=this,t=new Image;t.onload=function(){e._onLoadImageSuccess()},t.src=this._sanitizer.sanitize(w.SecurityContext.URL,this.album[this.currentImageIndex].src)},e.prototype._onLoadImageSuccess=function(){var e,t,n,i,r,a;this.options.disableKeyboardNav||this._disableKeyboardNav(),t=r=this._imageElem.nativeElement.naturalWidth,e=a=this._imageElem.nativeElement.naturalHeight,this.options.fitImageInViewPort&&(n=this._windowRef.innerHeight-this._cssValue.containerTopPadding-this._cssValue.containerTopPadding-this._cssValue.imageBorderWidthTop-this._cssValue.imageBorderWidthBottom-120,(r>(i=this._windowRef.innerWidth-this._cssValue.containerLeftPadding-this._cssValue.containerRightPadding-this._cssValue.imageBorderWidthLeft-this._cssValue.imageBorderWidthRight-20)||a>n)&&(r/i>a/n?(t=i,e=Math.round(a/(r/t))):(e=n,t=Math.round(r/(a/e)))),this._rendererRef.setStyle(this._imageElem.nativeElement,"width",t+"px"),this._rendererRef.setStyle(this._imageElem.nativeElement,"height",e+"px")),this._sizeContainer(t,e),this.options.centerVertically&&this._centerVertically(t,e)},e.prototype._centerVertically=function(e,t){this._rendererRef.setStyle(this._lightboxElem.nativeElement,"top",this._documentRef.documentElement.scrollTop+(this._windowRef.innerHeight/2-t/2)+"px")},e.prototype._sizeContainer=function(e,t){var n=this,i=this._outerContainerElem.nativeElement.offsetHeight,r=e+this._cssValue.containerRightPadding+this._cssValue.containerLeftPadding+this._cssValue.imageBorderWidthLeft+this._cssValue.imageBorderWidthRight,a=t+this._cssValue.containerTopPadding+this._cssValue.containerBottomPadding+this._cssValue.imageBorderWidthTop+this._cssValue.imageBorderWidthBottom;Math.abs(this._outerContainerElem.nativeElement.offsetWidth-r)+Math.abs(i-a)>5?(this._rendererRef.setStyle(this._outerContainerElem.nativeElement,"width",r+"px"),this._rendererRef.setStyle(this._outerContainerElem.nativeElement,"height",a+"px"),this.options.enableTransition?(this._event.transitions=[],["transitionend","webkitTransitionEnd","oTransitionEnd","MSTransitionEnd"].forEach(function(e){n._event.transitions.push(n._rendererRef.listen(n._outerContainerElem.nativeElement,e,function(e){e.target===e.currentTarget&&n._postResize(r,a)}))})):this._postResize(r,a)):this._postResize(r,a)},e.prototype._postResize=function(e,t){Array.isArray(this._event.transitions)&&(this._event.transitions.forEach(function(e){e()}),this._event.transitions=[]),this._rendererRef.setStyle(this._dataContainerElem.nativeElement,"width",e+"px"),this._showImage()},e.prototype._showImage=function(){this.ui.showReloader=!1,this._updateNav(),this._updateDetails(),this.options.disableKeyboardNav||this._enableKeyboardNav()},e.prototype._prepareComponent=function(){var e=this;this._addCssAnimation(),this._positionLightBox(),setTimeout(function(){e.ui.showZoomButton=e.options.showZoom,e.ui.showRotateButton=e.options.showRotate,e.ui.showDownloadButton=e.options.showDownloadButton},0)},e.prototype._positionLightBox=function(){var e=this._windowRef.pageXOffset||this._documentRef.documentElement.scrollLeft;this.options.centerVertically||this._rendererRef.setStyle(this._lightboxElem.nativeElement,"top",(this._windowRef.pageYOffset||this._documentRef.documentElement.scrollTop)+this.options.positionFromTop+"px"),this._rendererRef.setStyle(this._lightboxElem.nativeElement,"left",e+"px"),this._rendererRef.setStyle(this._lightboxElem.nativeElement,"display","block"),this.options.disableScrolling&&this._rendererRef.addClass(this._documentRef.documentElement,"lb-disable-scrolling")},e.prototype._addCssAnimation=function(){var e=this.options.resizeDuration,t=this.options.fadeDuration;this._rendererRef.setStyle(this._lightboxElem.nativeElement,"-webkit-animation-duration",t+"s"),this._rendererRef.setStyle(this._lightboxElem.nativeElement,"animation-duration",t+"s"),this._rendererRef.setStyle(this._outerContainerElem.nativeElement,"-webkit-transition-duration",e+"s"),this._rendererRef.setStyle(this._outerContainerElem.nativeElement,"transition-duration",e+"s"),this._rendererRef.setStyle(this._dataContainerElem.nativeElement,"-webkit-animation-duration",t+"s"),this._rendererRef.setStyle(this._dataContainerElem.nativeElement,"animation-duration",t+"s"),this._rendererRef.setStyle(this._imageElem.nativeElement,"-webkit-animation-duration",t+"s"),this._rendererRef.setStyle(this._imageElem.nativeElement,"animation-duration",t+"s"),this._rendererRef.setStyle(this._captionElem.nativeElement,"-webkit-animation-duration",t+"s"),this._rendererRef.setStyle(this._captionElem.nativeElement,"animation-duration",t+"s"),this._rendererRef.setStyle(this._numberElem.nativeElement,"-webkit-animation-duration",t+"s"),this._rendererRef.setStyle(this._numberElem.nativeElement,"animation-duration",t+"s")},e.prototype._end=function(){var e=this;this.ui.classList="lightbox animation fadeOut",this.options.disableScrolling&&this._rendererRef.removeClass(this._documentRef.documentElement,"lb-disable-scrolling"),setTimeout(function(){e.cmpRef.destroy()},1e3*this.options.fadeDuration)},e.prototype._updateDetails=function(){void 0!==this.album[this.currentImageIndex].caption&&""!==this.album[this.currentImageIndex].caption&&(this.ui.showCaption=!0),this.album.length>1&&this.options.showImageNumberLabel&&(this.ui.showPageNumber=!0,this.content.pageNumber=this._albumLabel())},e.prototype._albumLabel=function(){return this.options.albumLabel.replace(/%1/g,Number(this.currentImageIndex+1)).replace(/%2/g,this.album.length)},e.prototype._changeImage=function(e){this._resetImage(),this.currentImageIndex=e,this._hideImage(),this._registerImageLoadingEvent(),this._lightboxEvent.broadcastLightboxEvent({id:C.LIGHTBOX_EVENT.CHANGE_PAGE,data:e})},e.prototype._hideImage=function(){this.ui.showReloader=!0,this.ui.showArrowNav=!1,this.ui.showLeftArrow=!1,this.ui.showRightArrow=!1,this.ui.showPageNumber=!1,this.ui.showCaption=!1},e.prototype._updateNav=function(){var e=!1;try{this._documentRef.createEvent("TouchEvent"),e=!!this.options.alwaysShowNavOnTouchDevices}catch(t){}this._showArrowNav(),this.album.length>1&&(this.options.wrapAround?(e&&(this._rendererRef.setStyle(this._leftArrowElem.nativeElement,"opacity","1"),this._rendererRef.setStyle(this._rightArrowElem.nativeElement,"opacity","1")),this._showLeftArrowNav(),this._showRightArrowNav()):(this.currentImageIndex>0&&(this._showLeftArrowNav(),e&&this._rendererRef.setStyle(this._leftArrowElem.nativeElement,"opacity","1")),this.currentImageIndex<this.album.length-1&&(this._showRightArrowNav(),e&&this._rendererRef.setStyle(this._rightArrowElem.nativeElement,"opacity","1"))))},e.prototype._showLeftArrowNav=function(){this.ui.showLeftArrow=!0},e.prototype._showRightArrowNav=function(){this.ui.showRightArrow=!0},e.prototype._showArrowNav=function(){this.ui.showArrowNav=1!==this.album.length},e.prototype._enableKeyboardNav=function(){var e=this;this._event.keyup=this._rendererRef.listen("document","keyup",function(t){e._keyboardAction(t)})},e.prototype._disableKeyboardNav=function(){this._event.keyup&&this._event.keyup()},e.prototype._keyboardAction=function(e){var t=e.keyCode,n=String.fromCharCode(t).toLowerCase();27===t||n.match(/x|o|c/)?this._lightboxEvent.broadcastLightboxEvent({id:C.LIGHTBOX_EVENT.CLOSE,data:null}):"p"===n||37===t?0!==this.currentImageIndex?this._changeImage(this.currentImageIndex-1):this.options.wrapAround&&this.album.length>1&&this._changeImage(this.album.length-1):"n"!==n&&39!==t||(this.currentImageIndex!==this.album.length-1?this._changeImage(this.currentImageIndex+1):this.options.wrapAround&&this.album.length>1&&this._changeImage(0))},e.prototype._getCssStyleValue=function(e,t){return parseFloat(this._windowRef.getComputedStyle(e.nativeElement,null).getPropertyValue(t))},e.prototype._onReceivedEvent=function(e){switch(e.id){case C.LIGHTBOX_EVENT.CLOSE:this._end()}},v([w.Input(),y("design:type",Array)],e.prototype,"album",void 0),v([w.Input(),y("design:type",Number)],e.prototype,"currentImageIndex",void 0),v([w.Input(),y("design:type",Object)],e.prototype,"options",void 0),v([w.Input(),y("design:type",Object)],e.prototype,"cmpRef",void 0),v([w.ViewChild("outerContainer",{static:!1}),y("design:type",w.ElementRef)],e.prototype,"_outerContainerElem",void 0),v([w.ViewChild("container",{static:!1}),y("design:type",w.ElementRef)],e.prototype,"_containerElem",void 0),v([w.ViewChild("leftArrow",{static:!1}),y("design:type",w.ElementRef)],e.prototype,"_leftArrowElem",void 0),v([w.ViewChild("rightArrow",{static:!1}),y("design:type",w.ElementRef)],e.prototype,"_rightArrowElem",void 0),v([w.ViewChild("navArrow",{static:!1}),y("design:type",w.ElementRef)],e.prototype,"_navArrowElem",void 0),v([w.ViewChild("dataContainer",{static:!1}),y("design:type",w.ElementRef)],e.prototype,"_dataContainerElem",void 0),v([w.ViewChild("image",{static:!1}),y("design:type",w.ElementRef)],e.prototype,"_imageElem",void 0),v([w.ViewChild("caption",{static:!1}),y("design:type",w.ElementRef)],e.prototype,"_captionElem",void 0),v([w.ViewChild("number",{static:!1}),y("design:type",w.ElementRef)],e.prototype,"_numberElem",void 0),(e=v([b(7,w.Inject(_.DOCUMENT)),y("design:paramtypes",[w.ElementRef,w.Renderer2,C.LightboxEvent,w.ElementRef,C.LightboxWindowRef,x.FileSaverService,S.DomSanitizer,Object])],e)).\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(r.LightboxEvent),i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(r.LightboxWindowRef),i.\u0275\u0275directiveInject(a.FileSaverService),i.\u0275\u0275directiveInject(o.DomSanitizer),i.\u0275\u0275directiveInject(_.DOCUMENT))},e.\u0275cmp=i.\u0275\u0275defineComponent({type:e,selectors:[["","lb-content",""]],viewQuery:function(e,t){var n;1&e&&(i.\u0275\u0275viewQuery(s,1),i.\u0275\u0275viewQuery(l,1),i.\u0275\u0275viewQuery(c,1),i.\u0275\u0275viewQuery(d,1),i.\u0275\u0275viewQuery(u,1),i.\u0275\u0275viewQuery(p,1),i.\u0275\u0275viewQuery(h,1),i.\u0275\u0275viewQuery(m,1),i.\u0275\u0275viewQuery(g,1)),2&e&&(i.\u0275\u0275queryRefresh(n=i.\u0275\u0275loadQuery())&&(t._outerContainerElem=n.first),i.\u0275\u0275queryRefresh(n=i.\u0275\u0275loadQuery())&&(t._containerElem=n.first),i.\u0275\u0275queryRefresh(n=i.\u0275\u0275loadQuery())&&(t._leftArrowElem=n.first),i.\u0275\u0275queryRefresh(n=i.\u0275\u0275loadQuery())&&(t._rightArrowElem=n.first),i.\u0275\u0275queryRefresh(n=i.\u0275\u0275loadQuery())&&(t._navArrowElem=n.first),i.\u0275\u0275queryRefresh(n=i.\u0275\u0275loadQuery())&&(t._dataContainerElem=n.first),i.\u0275\u0275queryRefresh(n=i.\u0275\u0275loadQuery())&&(t._imageElem=n.first),i.\u0275\u0275queryRefresh(n=i.\u0275\u0275loadQuery())&&(t._captionElem=n.first),i.\u0275\u0275queryRefresh(n=i.\u0275\u0275loadQuery())&&(t._numberElem=n.first))},hostVars:2,hostBindings:function(e,t){1&e&&i.\u0275\u0275listener("click",function(e){return t.close(e)}),2&e&&i.\u0275\u0275classMap(t.ui.classList)},inputs:{options:"options",album:"album",currentImageIndex:"currentImageIndex",cmpRef:"cmpRef"},attrs:f,decls:34,vars:14,consts:[["id","outerContainer",1,"lb-outerContainer","transition"],["outerContainer",""],["id","container",1,"lb-container"],["container",""],["id","image",1,"lb-image","animation","fadeIn",3,"src","hidden"],["image",""],[1,"lb-nav",3,"hidden"],["navArrow",""],[1,"lb-prev",3,"hidden","click"],["leftArrow",""],[1,"lb-next",3,"hidden","click"],["rightArrow",""],[1,"lb-loader",3,"hidden","click"],[1,"lb-cancel"],[1,"lb-dataContainer",3,"hidden"],["dataContainer",""],[1,"lb-data"],[1,"lb-details"],[1,"lb-caption","animation","fadeIn",3,"hidden","innerHtml"],["caption",""],[1,"lb-number","animation","fadeIn",3,"hidden"],["number",""],[1,"lb-controlContainer"],[1,"lb-closeContainer"],[1,"lb-close",3,"click"],[1,"lb-downloadContainer",3,"hidden"],[1,"lb-download",3,"click"],[1,"lb-turnContainer",3,"hidden"],[1,"lb-turnLeft",3,"click"],[1,"lb-turnRight",3,"click"],[1,"lb-zoomContainer",3,"hidden"],[1,"lb-zoomOut",3,"click"],[1,"lb-zoomIn",3,"click"]],template:function(e,t){1&e&&(i.\u0275\u0275elementStart(0,"div",0,1),i.\u0275\u0275elementStart(2,"div",2,3),i.\u0275\u0275element(4,"img",4,5),i.\u0275\u0275elementStart(6,"div",6,7),i.\u0275\u0275elementStart(8,"a",8,9),i.\u0275\u0275listener("click",function(){return t.prevImage()}),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(10,"a",10,11),i.\u0275\u0275listener("click",function(){return t.nextImage()}),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(12,"div",12),i.\u0275\u0275listener("click",function(e){return t.close(e)}),i.\u0275\u0275element(13,"a",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"div",14,15),i.\u0275\u0275elementStart(16,"div",16),i.\u0275\u0275elementStart(17,"div",17),i.\u0275\u0275element(18,"span",18,19),i.\u0275\u0275elementStart(20,"span",20,21),i.\u0275\u0275text(22),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(23,"div",22),i.\u0275\u0275elementStart(24,"div",23),i.\u0275\u0275elementStart(25,"a",24),i.\u0275\u0275listener("click",function(e){return t.close(e)}),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(26,"div",25),i.\u0275\u0275elementStart(27,"a",26),i.\u0275\u0275listener("click",function(e){return t.download(e)}),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(28,"div",27),i.\u0275\u0275elementStart(29,"a",28),i.\u0275\u0275listener("click",function(e){return t.control(e)}),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(30,"a",29),i.\u0275\u0275listener("click",function(e){return t.control(e)}),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(31,"div",30),i.\u0275\u0275elementStart(32,"a",31),i.\u0275\u0275listener("click",function(e){return t.control(e)}),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(33,"a",32),i.\u0275\u0275listener("click",function(e){return t.control(e)}),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementEnd()),2&e&&(i.\u0275\u0275advance(4),i.\u0275\u0275property("src",t.album[t.currentImageIndex].src,i.\u0275\u0275sanitizeUrl)("hidden",t.ui.showReloader),i.\u0275\u0275advance(2),i.\u0275\u0275property("hidden",!t.ui.showArrowNav),i.\u0275\u0275advance(2),i.\u0275\u0275property("hidden",!t.ui.showLeftArrow),i.\u0275\u0275advance(2),i.\u0275\u0275property("hidden",!t.ui.showRightArrow),i.\u0275\u0275advance(2),i.\u0275\u0275property("hidden",!t.ui.showReloader),i.\u0275\u0275advance(2),i.\u0275\u0275property("hidden",t.ui.showReloader),i.\u0275\u0275advance(4),i.\u0275\u0275property("hidden",!t.ui.showCaption)("innerHtml",t.album[t.currentImageIndex].caption,i.\u0275\u0275sanitizeHtml),i.\u0275\u0275advance(2),i.\u0275\u0275property("hidden",!t.ui.showPageNumber),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(t.content.pageNumber),i.\u0275\u0275advance(4),i.\u0275\u0275property("hidden",!t.ui.showDownloadButton),i.\u0275\u0275advance(2),i.\u0275\u0275property("hidden",!t.ui.showRotateButton),i.\u0275\u0275advance(3),i.\u0275\u0275property("hidden",!t.ui.showZoomButton))},encapsulation:2}),e}();t.LightboxComponent=k},SxV6:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("sVev"),r=n("pLZG"),a=n("IzEk"),o=n("xbPD"),s=n("XDbj"),l=n("SpAZ");function c(e,t){var n=arguments.length>=2;return function(c){return c.pipe(e?Object(r.a)(function(t,n){return e(t,n,c)}):l.a,Object(a.a)(1),n?Object(o.a)(t):Object(s.a)(function(){return new i.a}))}}},T5bk:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("DSFK"),r=n("25BE"),a=n("BsWD"),o=n("PYwp");function s(e){return Object(i.a)(e)||Object(r.a)(e)||Object(a.a)(e)||Object(o.a)()}},TU8p:function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return f});var i=n("Ji7U"),r=n("LK+K"),a=n("vuIU"),o=n("1OyB"),s=n("FKr1"),l=n("u47x"),c=n("8LU1"),d=n("R1ws"),u=n("fXoL"),p=0,h=Object(a.a)(function e(){Object(o.a)(this,e)}),m=Object(s.A)(h),g=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r,a,s){var l;return Object(o.a)(this,n),(l=t.call(this))._ngZone=e,l._elementRef=i,l._ariaDescriber=r,l._renderer=a,l._animationMode=s,l._hasContent=!1,l._color="primary",l._overlap=!0,l.position="above after",l.size="medium",l._id=p++,l}return Object(a.a)(n,[{key:"color",get:function(){return this._color},set:function(e){this._setColor(e),this._color=e}},{key:"overlap",get:function(){return this._overlap},set:function(e){this._overlap=Object(c.c)(e)}},{key:"description",get:function(){return this._description},set:function(e){if(e!==this._description){var t=this._badgeElement;this._updateHostAriaDescription(e,this._description),this._description=e,t&&(e?t.setAttribute("aria-label",e):t.removeAttribute("aria-label"))}}},{key:"hidden",get:function(){return this._hidden},set:function(e){this._hidden=Object(c.c)(e)}},{key:"isAbove",value:function(){return-1===this.position.indexOf("below")}},{key:"isAfter",value:function(){return-1===this.position.indexOf("before")}},{key:"ngOnChanges",value:function(e){var t=e.content;if(t){var n=t.currentValue;this._hasContent=null!=n&&"".concat(n).trim().length>0,this._updateTextContent()}}},{key:"ngOnDestroy",value:function(){var e=this._badgeElement;e&&(this.description&&this._ariaDescriber.removeDescription(e,this.description),this._renderer.destroyNode&&this._renderer.destroyNode(e))}},{key:"getBadgeElement",value:function(){return this._badgeElement}},{key:"_updateTextContent",value:function(){return this._badgeElement?this._badgeElement.textContent=this._stringifyContent():this._badgeElement=this._createBadgeElement(),this._badgeElement}},{key:"_createBadgeElement",value:function(){var e=this._renderer.createElement("span"),t="mat-badge-active",n="mat-badge-content";return this._clearExistingBadges(n),e.setAttribute("id","mat-badge-content-".concat(this._id)),e.classList.add(n),e.textContent=this._stringifyContent(),"NoopAnimations"===this._animationMode&&e.classList.add("_mat-animation-noopable"),this.description&&e.setAttribute("aria-label",this.description),this._elementRef.nativeElement.appendChild(e),"function"==typeof requestAnimationFrame&&"NoopAnimations"!==this._animationMode?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){e.classList.add(t)})}):e.classList.add(t),e}},{key:"_updateHostAriaDescription",value:function(e,t){var n=this._updateTextContent();t&&this._ariaDescriber.removeDescription(n,t),e&&this._ariaDescriber.describe(n,e)}},{key:"_setColor",value:function(e){if(e!==this._color){var t=this._elementRef.nativeElement.classList;this._color&&t.remove("mat-badge-".concat(this._color)),e&&t.add("mat-badge-".concat(e))}}},{key:"_clearExistingBadges",value:function(e){for(var t=this._elementRef.nativeElement,n=t.children.length;n--;){var i=t.children[n];i.classList.contains(e)&&t.removeChild(i)}}},{key:"_stringifyContent",value:function(){var e=this.content;return null==e?"":"".concat(e)}}]),n}(m);return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275directiveInject"](u.NgZone),u["\u0275\u0275directiveInject"](u.ElementRef),u["\u0275\u0275directiveInject"](l.c),u["\u0275\u0275directiveInject"](u.Renderer2),u["\u0275\u0275directiveInject"](d.a,8))},e.\u0275dir=u["\u0275\u0275defineDirective"]({type:e,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(e,t){2&e&&u["\u0275\u0275classProp"]("mat-badge-overlap",t.overlap)("mat-badge-above",t.isAbove())("mat-badge-below",!t.isAbove())("mat-badge-before",!t.isAfter())("mat-badge-after",t.isAfter())("mat-badge-small","small"===t.size)("mat-badge-medium","medium"===t.size)("mat-badge-large","large"===t.size)("mat-badge-hidden",t.hidden||!t._hasContent)("mat-badge-disabled",t.disabled)},inputs:{disabled:["matBadgeDisabled","disabled"],position:["matBadgePosition","position"],size:["matBadgeSize","size"],color:["matBadgeColor","color"],overlap:["matBadgeOverlap","overlap"],description:["matBadgeDescription","description"],hidden:["matBadgeHidden","hidden"],content:["matBadge","content"]},features:[u["\u0275\u0275InheritDefinitionFeature"],u["\u0275\u0275NgOnChangesFeature"]]}),e}(),f=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=u["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=u["\u0275\u0275defineInjector"]({imports:[[l.a,s.j],s.j]}),e}()},ThlO:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var i=n("0IaG"),r=n("1zuJ"),a=n("fXoL"),o=n("tyNb"),s=n("/t3+"),l=n("ofXK"),c=n("bTqV"),d=n("sYmb");function u(e,t){1&e&&(a["\u0275\u0275elementStart"](0,"h2"),a["\u0275\u0275text"](1),a["\u0275\u0275pipe"](2,"translate"),a["\u0275\u0275elementEnd"]()),2&e&&(a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](2,1,"ROOT.You found a Star Member Feature")))}function p(e,t){1&e&&(a["\u0275\u0275elementStart"](0,"h2"),a["\u0275\u0275text"](1),a["\u0275\u0275pipe"](2,"translate"),a["\u0275\u0275elementEnd"]()),2&e&&(a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](2,1,"ROOT.Create Workout")))}function h(e,t){if(1&e){var n=a["\u0275\u0275getCurrentView"]();a["\u0275\u0275elementStart"](0,"div",10),a["\u0275\u0275elementStart"](1,"p"),a["\u0275\u0275text"](2),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](3,"div",11),a["\u0275\u0275listener"]("click",function(){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275nextContext"]().learnMore()}),a["\u0275\u0275elementStart"](4,"span"),a["\u0275\u0275text"](5),a["\u0275\u0275pipe"](6,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"]()}if(2&e){var i=a["\u0275\u0275nextContext"]();a["\u0275\u0275advance"](2),a["\u0275\u0275textInterpolate"](i.data.text),a["\u0275\u0275advance"](3),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](6,2,"ROOT.Learn More"))}}function m(e,t){1&e&&(a["\u0275\u0275elementStart"](0,"div"),a["\u0275\u0275text"](1),a["\u0275\u0275pipe"](2,"translate"),a["\u0275\u0275elementEnd"]()),2&e&&(a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate1"](" ",a["\u0275\u0275pipeBind1"](2,1,"ROOT.Create intervals from heart rate zones or just create a route?")," "))}function g(e,t){if(1&e){var n=a["\u0275\u0275getCurrentView"]();a["\u0275\u0275elementStart"](0,"div",12),a["\u0275\u0275listener"]("click",function(){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275nextContext"]().cancel()}),a["\u0275\u0275text"](1),a["\u0275\u0275pipe"](2,"translate"),a["\u0275\u0275elementEnd"]()}2&e&&(a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate1"](" ",a["\u0275\u0275pipeBind1"](2,1,"ROOT.Cancel")," "))}function f(e,t){if(1&e){var n=a["\u0275\u0275getCurrentView"]();a["\u0275\u0275elementStart"](0,"div",12),a["\u0275\u0275listener"]("click",function(){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275nextContext"]().createWithZones()}),a["\u0275\u0275text"](1),a["\u0275\u0275pipe"](2,"translate"),a["\u0275\u0275elementEnd"]()}2&e&&(a["\u0275\u0275advance"](1),a["\u0275\u0275textInterpolate1"](" ",a["\u0275\u0275pipeBind1"](2,1,"ROOT.Create Zone Intervals")," "))}function v(e,t){if(1&e){var n=a["\u0275\u0275getCurrentView"]();a["\u0275\u0275elementStart"](0,"button",13),a["\u0275\u0275listener"]("click",function(){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275nextContext"]().memberships()}),a["\u0275\u0275elementStart"](1,"span"),a["\u0275\u0275text"](2),a["\u0275\u0275pipe"](3,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"]()}2&e&&(a["\u0275\u0275advance"](2),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](3,1,"ROOT.Upgrade")))}function y(e,t){if(1&e){var n=a["\u0275\u0275getCurrentView"]();a["\u0275\u0275elementStart"](0,"button",13),a["\u0275\u0275listener"]("click",function(){return a["\u0275\u0275restoreView"](n),a["\u0275\u0275nextContext"]().createWithoutZones()}),a["\u0275\u0275elementStart"](1,"span"),a["\u0275\u0275text"](2),a["\u0275\u0275pipe"](3,"translate"),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"]()}2&e&&(a["\u0275\u0275advance"](2),a["\u0275\u0275textInterpolate"](a["\u0275\u0275pipeBind1"](3,1,"ROOT.Route Only")))}var b=function(){function e(e,t,n,i){this.dialogRef=e,this.router=t,this.data=n,this.window=i}return e.prototype.learnMore=function(){this.window.location.href=this.data.learnMore,this.cancel()},e.prototype.memberships=function(){this.router.navigate(["/memberships"]),this.cancel()},e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.createWithZones=function(){this.router.navigate(["/myroutines/create"],{queryParams:{activityId:this.data.workoutId,create_hr_zones:!0}}),this.cancel()},e.prototype.createWithoutZones=function(){this.router.navigate(["/myroutines/create"],{queryParams:{activityId:this.data.workoutId,create_hr_zones:!1}}),this.cancel()},e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275directiveInject"](i.f),a["\u0275\u0275directiveInject"](o.d),a["\u0275\u0275directiveInject"](i.a),a["\u0275\u0275directiveInject"](r.a))},e.\u0275cmp=a["\u0275\u0275defineComponent"]({type:e,selectors:[["star-required"]],decls:17,vars:11,consts:[[1,"mat-primary"],[4,"ngIf"],[1,"flex-span"],["mat-button","",1,"mat-icon-button",3,"click"],["src","/static/img/icons/deleteXIconWhite.png"],[2,"margin","20px 0px 20px 15px"],["style","margin: 10px;",4,"ngIf"],["layout","row"],["class","float-left","style","cursor: pointer; padding:10px;",3,"click",4,"ngIf"],["class","create-button float-right","style","margin-right:0px;",3,"click",4,"ngIf"],[2,"margin","10px"],[1,"text-align-left",2,"cursor","pointer","padding","10px",3,"click"],[1,"float-left",2,"cursor","pointer","padding","10px",3,"click"],[1,"create-button","float-right",2,"margin-right","0px",3,"click"]],template:function(e,t){1&e&&(a["\u0275\u0275elementStart"](0,"mat-toolbar",0),a["\u0275\u0275template"](1,u,3,3,"h2",1),a["\u0275\u0275template"](2,p,3,3,"h2",1),a["\u0275\u0275element"](3,"span",2),a["\u0275\u0275elementStart"](4,"button",3),a["\u0275\u0275listener"]("click",function(){return t.cancel()}),a["\u0275\u0275pipe"](5,"translate"),a["\u0275\u0275element"](6,"img",4),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](7,"mat-dialog-content"),a["\u0275\u0275elementStart"](8,"div",5),a["\u0275\u0275template"](9,h,7,4,"div",6),a["\u0275\u0275template"](10,m,3,3,"div",1),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementEnd"](),a["\u0275\u0275elementStart"](11,"mat-dialog-actions",7),a["\u0275\u0275template"](12,g,3,3,"div",8),a["\u0275\u0275template"](13,f,3,3,"div",8),a["\u0275\u0275element"](14,"span",2),a["\u0275\u0275template"](15,v,4,3,"button",9),a["\u0275\u0275template"](16,y,4,3,"button",9),a["\u0275\u0275elementEnd"]()),2&e&&(a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("ngIf","star_required"==t.data.type),a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("ngIf","star_required"!=t.data.type),a["\u0275\u0275advance"](2),a["\u0275\u0275attribute"]("aria-label",a["\u0275\u0275pipeBind1"](5,9,"ROOT.Cancel")),a["\u0275\u0275advance"](5),a["\u0275\u0275property"]("ngIf","star_required"==t.data.type),a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("ngIf","star_required"!=t.data.type),a["\u0275\u0275advance"](2),a["\u0275\u0275property"]("ngIf","star_required"==t.data.type),a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("ngIf","star_required"!=t.data.type),a["\u0275\u0275advance"](2),a["\u0275\u0275property"]("ngIf","star_required"==t.data.type),a["\u0275\u0275advance"](1),a["\u0275\u0275property"]("ngIf","star_required"!=t.data.type))},directives:[s.a,l.NgIf,c.b,i.d,i.c],pipes:[d.c],encapsulation:2}),e}()},TlQw:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("uJc7"),r=n("fXoL"),a=n("tk/3"),o=function(){function e(e,t){this.http=e,this.AccountService=t,this._listInboxUrl=this.AccountService.getPy3Host()+"/api/v2/inbox/list_inbox",this._markAsReadUrl=this.AccountService.getPy3Host()+"/api/v2/inbox/mark_as_read",this._listMessagesUrl=this.AccountService.getPy3Host()+"/api/v2/inbox/list_messages",this._listCalendarMessagesUrl=this.AccountService.getPy3Host()+"/api/v2/inbox/list_calendar_messages",this._sendMessageUrl=this.AccountService.getPy3Host()+"/api/v2/inbox/add_message",this._createConversationUrl=this.AccountService.getPy3Host()+"/api/v2/inbox/create_conversation",this._sendCalendarMessageUrl=this.AccountService.getPy3Host()+"/api/v2/inbox/add_calendar_message",this._deleteInboxUrl=this.AccountService.getPy3Host()+"/api/v2/inbox/delete_inbox",this._deleteAllInboxUrl=this.AccountService.getPy3Host()+"/api/v2/inbox/delete_all_inbox",this._unlikeMessageUrl=this.AccountService.getPy3Host()+"/api/v2/inbox/unlike_message",this._likeMessageUrl=this.AccountService.getPy3Host()+"/api/v2/inbox/like_message",this._deleteMessageUrl=this.AccountService.getPy3Host()+"/api/v2/inbox/delete_message"}return Object.defineProperty(e.prototype,"unreadMessageCount",{get:function(){return this._unreadMessageCount},set:function(e){this._unreadMessageCount=e},enumerable:!1,configurable:!0}),e.prototype.getInbox=function(e,t,n){return this.http.post(this._listInboxUrl,{params:{include_unread_count:e,limit:t,cursor:n}})},e.prototype.getCoachInbox=function(e,t,n,i){return this.http.post(this._listInboxUrl,{params:{include_unread_count:e,limit:t,cursor:n,coach_id:i}})},e.prototype.markAsRead=function(){return this.http.post(this._markAsReadUrl,{})},e.prototype.getMessages=function(e){return this.http.post(this._listMessagesUrl,{params:{source_key:e}})},e.prototype.getCalendarMessages=function(e,t){return this.http.post(this._listCalendarMessagesUrl,{params:{calendar_date:e,calendar_type:t}})},e.prototype.sendReply=function(e){this.sendMessage(e.key,e.newReply).subscribe(function(t){e.replies.unshift(t.response.message),e.newReply="",e.addReply=!1})},e.prototype.sendMessage=function(e,t){return this.http.post(this._sendMessageUrl,{params:{source_key:e,message:t,sender_platform:"web"}})},e.prototype.createConversation=function(e,t,n){return this.http.post(this._createConversationUrl,{params:{sender_platform:"web",subject:t,message:n,recipients:e}})},e.prototype.sendCalendarMessage=function(e,t,n){return this.http.post(this._sendCalendarMessageUrl,{params:{calendar_date:e,message:n,calendar_type:t,sender_platform:"web"}})},e.prototype.deleteInbox=function(e){return this.http.post(this._deleteInboxUrl,{params:{inbox_key:e}})},e.prototype.deleteAllInbox=function(){return this.http.post(this._deleteAllInboxUrl,{})},e.prototype.unlikeMessage=function(e){return this.http.post(this._unlikeMessageUrl,{params:{message_key:e}})},e.prototype.likeMessage=function(e){return this.http.post(this._likeMessageUrl,{params:{message_key:e}})},e.prototype.deleteSingleMessage=function(e){return this.http.post(this._deleteMessageUrl,{params:{message_key:e}})},e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](a.b),r["\u0275\u0275inject"](i.a))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},UDhR:function(e,t,n){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(n("wd/R"))},USCx:function(e,t,n){!function(e){"use strict";e.defineLocale("ga",{months:["Ean\xe1ir","Feabhra","M\xe1rta","Aibre\xe1n","Bealtaine","Meitheamh","I\xfail","L\xfanasa","Me\xe1n F\xf3mhair","Deireadh F\xf3mhair","Samhain","Nollaig"],monthsShort:["Ean","Feabh","M\xe1rt","Aib","Beal","Meith","I\xfail","L\xfan","M.F.","D.F.","Samh","Noll"],monthsParseExact:!0,weekdays:["D\xe9 Domhnaigh","D\xe9 Luain","D\xe9 M\xe1irt","D\xe9 C\xe9adaoin","D\xe9ardaoin","D\xe9 hAoine","D\xe9 Sathairn"],weekdaysShort:["Domh","Luan","M\xe1irt","C\xe9ad","D\xe9ar","Aoine","Sath"],weekdaysMin:["Do","Lu","M\xe1","C\xe9","D\xe9","A","Sa"],longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Am\xe1rach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inn\xe9 ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s \xf3 shin",s:"c\xfapla soicind",ss:"%d soicind",m:"n\xf3im\xe9ad",mm:"%d n\xf3im\xe9ad",h:"uair an chloig",hh:"%d uair an chloig",d:"l\xe1",dd:"%d l\xe1",M:"m\xed",MM:"%d m\xedonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(n("wd/R"))},UXun:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("jtHE");function r(e,t,n){var r;return r=e&&"object"==typeof e?e:{bufferSize:e,windowTime:t,refCount:!1,scheduler:n},function(e){return e.lift(function(e){var t,n,r=e.bufferSize,a=void 0===r?Number.POSITIVE_INFINITY:r,o=e.windowTime,s=void 0===o?Number.POSITIVE_INFINITY:o,l=e.refCount,c=e.scheduler,d=0,u=!1,p=!1;return function(e){var r;d++,!t||u?(u=!1,t=new i.a(a,s,c),r=t.subscribe(this),n=e.subscribe({next:function(e){t.next(e)},error:function(e){u=!0,t.error(e)},complete:function(){p=!0,n=void 0,t.complete()}})):r=t.subscribe(this),this.add(function(){d--,r.unsubscribe(),n&&!p&&l&&0===d&&(n.unsubscribe(),n=void 0,t=void 0)})}}(r))}}},UpQW:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u06cc","\u0641\u0631\u0648\u0631\u06cc","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u06cc\u0644","\u0645\u0626\u06cc","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0626\u06cc","\u0627\u06af\u0633\u062a","\u0633\u062a\u0645\u0628\u0631","\u0627\u06a9\u062a\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u062f\u0633\u0645\u0628\u0631"],n=["\u0627\u062a\u0648\u0627\u0631","\u067e\u06cc\u0631","\u0645\u0646\u06af\u0644","\u0628\u062f\u06be","\u062c\u0645\u0639\u0631\u0627\u062a","\u062c\u0645\u0639\u06c1","\u06c1\u0641\u062a\u06c1"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0622\u062c \u0628\u0648\u0642\u062a] LT",nextDay:"[\u06a9\u0644 \u0628\u0648\u0642\u062a] LT",nextWeek:"dddd [\u0628\u0648\u0642\u062a] LT",lastDay:"[\u06af\u0630\u0634\u062a\u06c1 \u0631\u0648\u0632 \u0628\u0648\u0642\u062a] LT",lastWeek:"[\u06af\u0630\u0634\u062a\u06c1] dddd [\u0628\u0648\u0642\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0628\u0639\u062f",past:"%s \u0642\u0628\u0644",s:"\u0686\u0646\u062f \u0633\u06cc\u06a9\u0646\u0688",ss:"%d \u0633\u06cc\u06a9\u0646\u0688",m:"\u0627\u06cc\u06a9 \u0645\u0646\u0679",mm:"%d \u0645\u0646\u0679",h:"\u0627\u06cc\u06a9 \u06af\u06be\u0646\u0679\u06c1",hh:"%d \u06af\u06be\u0646\u0679\u06d2",d:"\u0627\u06cc\u06a9 \u062f\u0646",dd:"%d \u062f\u0646",M:"\u0627\u06cc\u06a9 \u0645\u0627\u06c1",MM:"%d \u0645\u0627\u06c1",y:"\u0627\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},Ur1D:function(e,t,n){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,n){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(n("wd/R"))},V2x9:function(e,t,n){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Ju\xf1u_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},VJli:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("fXoL"),r=n("uJc7"),a=n("tk/3"),o=function(){function e(e,t){this.http=e,this.AccountService=t,this.profileSwitcher=new i.EventEmitter,this._getProfileURL=this.AccountService.getPy3Host()+"/api/v2/follow/get_profile",this._getAccountDetailsURL=this.AccountService.getPy3Host()+"/api/v2/follow/get_by_account",this._setProfileURL=this.AccountService.getPy3Host()+"/api/v2/follow/set_custom_url",this._followURL=this.AccountService.getPy3Host()+"/api/v2/follow/follow",this._unfollowURL=this.AccountService.getPy3Host()+"/api/v2/follow/unfollow",this._blockURL=this.AccountService.getPy3Host()+"/api/v2/follow/block",this._unblockURL=this.AccountService.getPy3Host()+"/api/v2/follow/unblock",this._getFollowCountsURL=this.AccountService.getPy3Host()+"/api/v2/follow/get_follow_counts",this._getFollowersURL=this.AccountService.getPy3Host()+"/api/v2/follow/get_followers",this._getFollowingsURL=this.AccountService.getPy3Host()+"/api/v2/follow/get_followings",this._getSuggestedURL=this.AccountService.getPy3Host()+"/api/v2/follow/suggested_friends",this._getWorkoutsURL=this.AccountService.getPy3Host()+"/api/v2/follow/get_workouts",this._requestFollowURL=this.AccountService.getPy3Host()+"/api/v2/follow/request_follow",this._emailInviteURL=this.AccountService.getPy3Host()+"/api/v2/follow/email_invite",this._resendInviteURL=this.AccountService.getPy3Host()+"/api/v2/follow/resend_invite",this._cancelInviteURL=this.AccountService.getPy3Host()+"/api/v2/follow/cancel_invite",this._optOutURL=this.AccountService.getPy3Host()+"/api/v2/follow/opt_out",this._setLikeURL=this.AccountService.getPy3Host()+"/api/v2/messages/set_like",this._unsetLikeURL=this.AccountService.getPy3Host()+"/api/v2/messages/unset_like",this._unsetSavedURL=this.AccountService.getPy3Host()+"/api/v2/messages/unset_saved",this._likeStatus=this.AccountService.getPy3Host()+"/api/v2/messages/get_like_status",this._feedURL=this.AccountService.getPy3Host()+"/api/v2/feed/feed"}return e.prototype.getProfile=function(e,t){var n={params:{custom_uri:e}};return 0==t&&(n.anonymousId="ABCD",n.params.isAnonymous=!0),this.http.post(this._getProfileURL,n)},e.prototype.getDetailsById=function(e){return this.http.post(this._getAccountDetailsURL,{params:{account_id:e}})},e.prototype.getFeed=function(){return this.http.post(this._feedURL,{})},e.prototype.setProfileURL=function(e,t){var n={params:{custom_uri:e}};return""!=t&&(n.params.name=t),this.http.post(this._setProfileURL,n)},e.prototype.optOut=function(){return this.http.post(this._optOutURL,{})},e.prototype.follow=function(e,t){return this.http.post(this._followURL,{params:{account_key:e,account_id:t}})},e.prototype.unfollow=function(e){return this.http.post(this._unfollowURL,{params:{account_key:e}})},e.prototype.block=function(e,t){return this.http.post(this._blockURL,{params:{account_key:e,account_id:t}})},e.prototype.unblock=function(e,t){return this.http.post(this._unblockURL,{params:{account_key:e,account_id:t}})},e.prototype.getFollowCounts=function(e,t){var n={params:{custom_uri:e}};return 0==t&&(n.anonymousId="ABCD",n.params.isAnonymous=!0),this.http.post(this._getFollowCountsURL,n)},e.prototype.getFollowers=function(e,t){return this.http.post(this._getFollowersURL,{params:{custom_uri:e,cursor:t}})},e.prototype.getFollowings=function(e,t){return this.http.post(this._getFollowingsURL,{params:{custom_uri:e,cursor:t}})},e.prototype.getSuggested=function(e,t,n){return this.http.post(this._getSuggestedURL,{params:{filter:e,group_filter:t,search:n}})},e.prototype.getWorkouts=function(e){return this.http.post(this._getWorkoutsURL,{params:{custom_uri:e}})},e.prototype.requestFollow=function(e){return this.http.post(this._requestFollowURL,{params:{accountId:e}})},e.prototype.emailInvite=function(e){return this.http.post(this._emailInviteURL,{params:{emails:e}})},e.prototype.resendInvite=function(e){return this.http.post(this._resendInviteURL,{params:{accountId:e}})},e.prototype.cancelInvite=function(e){return this.http.post(this._cancelInviteURL,{params:{accountKey:e}})},e.prototype.setLike=function(e,t,n){return this.http.post(this._setLikeURL,{params:{key:e,favorite:t,save:n}},{})},e.prototype.unsetLike=function(e,t,n){return this.http.post(this._unsetLikeURL,{params:{key:e,favorite:t,save:n}},{})},e.prototype.unsetSaved=function(e){return this.http.post(this._unsetSavedURL,{params:{key:e}},{})},e.prototype.getLikeStatus=function(e,t,n){return this.http.post(this._likeStatus,{params:{key:e,favorite:t,save:n}},{})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](a.b),i["\u0275\u0275inject"](r.a))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},VLs4:function(e,t,n){var i,r,a;!function(o){if("object"==typeof e.exports){var s=o(0,t);void 0!==s&&(e.exports=s)}else r=[n,t],void 0===(a="function"==typeof(i=o)?i.apply(t,r):i)||(e.exports=a)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["de",[["AM","PM"],n,n],n,[["S","M","D","M","D","F","S"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["S","M","D","M","D","F","S"],["So","Mo","Di","Mi","Do","Fr","Sa"],["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan.","Feb.","M\xe4rz","Apr.","Mai","Juni","Juli","Aug.","Sept.","Okt.","Nov.","Dez."],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","M\xe4r","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]],[["v. Chr.","n. Chr."],n,n],1,[6,0],["dd.MM.yy","dd.MM.y","d. MMMM y","EEEE, d. MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1}, {0}",n,"{1} 'um' {0}",n],[",",".",";","%","+","-","E","\xb7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0\xa0%","#,##0.00\xa0\xa4","#E0"],"EUR","\u20ac","Euro",{ATS:["\xf6S"],AUD:["AU$","$"],BGM:["BGK"],BGO:["BGJ"],CUC:[n,"Cub$"],DEM:["DM"],FKP:[n,"Fl\xa3"],GNF:[n,"F.G."],KMF:[n,"FC"],RON:[n,"L"],RWF:[n,"F.Rw"],SYP:[],THB:["\u0e3f"],TWD:["NT$"],XXX:[],ZMW:[n,"K"]},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}]})},VRyK:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("HDdC"),r=n("z+Ro"),a=n("bHdf"),o=n("yCtX");function s(){for(var e=Number.POSITIVE_INFINITY,t=null,n=arguments.length,s=new Array(n),l=0;l<n;l++)s[l]=arguments[l];var c=s[s.length-1];return Object(r.a)(c)?(t=s.pop(),s.length>1&&"number"==typeof s[s.length-1]&&(e=s.pop())):"number"==typeof c&&(e=s.pop()),null===t&&1===s.length&&s[0]instanceof i.a?s[0]:Object(a.a)(e)(Object(o.a)(s,t))}},Vclq:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:6}})}(n("wd/R"))},VlMW:function(e,t,n){"use strict";var i=n("fXoL"),r=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),n("fXoL");var o=function(){function e(){this.fadeDuration=.7,this.resizeDuration=.5,this.fitImageInViewPort=!0,this.positionFromTop=20,this.showImageNumberLabel=!1,this.alwaysShowNavOnTouchDevices=!1,this.wrapAround=!1,this.disableKeyboardNav=!1,this.disableScrolling=!1,this.centerVertically=!1,this.enableTransition=!0,this.albumLabel="Image %1 of %2",this.showZoom=!1,this.showRotate=!1,this.containerElementResolver=function(e){return e.querySelector("body")}}return(e=r([a("design:paramtypes",[])],e)).\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();t.LightboxConfig=o},W8MJ:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}e.exports=function(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}},WMd4:function(e,t,n){"use strict";n.d(t,"b",function(){return l}),n.d(t,"a",function(){return c});var i=n("1OyB"),r=n("vuIU"),a=n("EY2u"),o=n("LRne"),s=n("z6cu"),l=function(e){return e.NEXT="N",e.ERROR="E",e.COMPLETE="C",e}({}),c=function(){var e=function(){function e(t,n,r){Object(i.a)(this,e),this.kind=t,this.value=n,this.error=r,this.hasValue="N"===t}return Object(r.a)(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return Object(o.a)(this.value);case"E":return Object(s.a)(this.error);case"C":return Object(a.b)()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}();return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e}()},WYrj:function(e,t,n){!function(e){"use strict";var t=["\u0796\u07ac\u0782\u07aa\u0787\u07a6\u0783\u07a9","\u078a\u07ac\u0784\u07b0\u0783\u07aa\u0787\u07a6\u0783\u07a9","\u0789\u07a7\u0783\u07a8\u0797\u07aa","\u0787\u07ad\u0795\u07b0\u0783\u07a9\u078d\u07aa","\u0789\u07ad","\u0796\u07ab\u0782\u07b0","\u0796\u07aa\u078d\u07a6\u0787\u07a8","\u0787\u07af\u078e\u07a6\u0790\u07b0\u0793\u07aa","\u0790\u07ac\u0795\u07b0\u0793\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0787\u07ae\u0786\u07b0\u0793\u07af\u0784\u07a6\u0783\u07aa","\u0782\u07ae\u0788\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa","\u0791\u07a8\u0790\u07ac\u0789\u07b0\u0784\u07a6\u0783\u07aa"],n=["\u0787\u07a7\u078b\u07a8\u0787\u07b0\u078c\u07a6","\u0780\u07af\u0789\u07a6","\u0787\u07a6\u0782\u07b0\u078e\u07a7\u0783\u07a6","\u0784\u07aa\u078b\u07a6","\u0784\u07aa\u0783\u07a7\u0790\u07b0\u078a\u07a6\u078c\u07a8","\u0780\u07aa\u0786\u07aa\u0783\u07aa","\u0780\u07ae\u0782\u07a8\u0780\u07a8\u0783\u07aa"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:"\u0787\u07a7\u078b\u07a8_\u0780\u07af\u0789\u07a6_\u0787\u07a6\u0782\u07b0_\u0784\u07aa\u078b\u07a6_\u0784\u07aa\u0783\u07a7_\u0780\u07aa\u0786\u07aa_\u0780\u07ae\u0782\u07a8".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0789\u0786|\u0789\u078a/,isPM:function(e){return"\u0789\u078a"===e},meridiem:function(e,t,n){return e<12?"\u0789\u0786":"\u0789\u078a"},calendar:{sameDay:"[\u0789\u07a8\u0787\u07a6\u078b\u07aa] LT",nextDay:"[\u0789\u07a7\u078b\u07a6\u0789\u07a7] LT",nextWeek:"dddd LT",lastDay:"[\u0787\u07a8\u0787\u07b0\u0794\u07ac] LT",lastWeek:"[\u078a\u07a7\u0787\u07a8\u078c\u07aa\u0788\u07a8] dddd LT",sameElse:"L"},relativeTime:{future:"\u078c\u07ac\u0783\u07ad\u078e\u07a6\u0787\u07a8 %s",past:"\u0786\u07aa\u0783\u07a8\u0782\u07b0 %s",s:"\u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa\u0786\u07ae\u0785\u07ac\u0787\u07b0",ss:"d% \u0790\u07a8\u0786\u07aa\u0782\u07b0\u078c\u07aa",m:"\u0789\u07a8\u0782\u07a8\u0793\u07ac\u0787\u07b0",mm:"\u0789\u07a8\u0782\u07a8\u0793\u07aa %d",h:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07ac\u0787\u07b0",hh:"\u078e\u07a6\u0791\u07a8\u0787\u07a8\u0783\u07aa %d",d:"\u078b\u07aa\u0788\u07a6\u0780\u07ac\u0787\u07b0",dd:"\u078b\u07aa\u0788\u07a6\u0790\u07b0 %d",M:"\u0789\u07a6\u0780\u07ac\u0787\u07b0",MM:"\u0789\u07a6\u0790\u07b0 %d",y:"\u0787\u07a6\u0780\u07a6\u0783\u07ac\u0787\u07b0",yy:"\u0787\u07a6\u0780\u07a6\u0783\u07aa %d"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(n("wd/R"))},Wcq6:function(e,t,n){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(n("wj3C"));r.default.registerVersion("firebase","7.24.0","app"),e.exports=r.default},WkPL:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}},Wp6s:function(e,t,n){"use strict";n.d(t,"a",function(){return f}),n.d(t,"b",function(){return m}),n.d(t,"c",function(){return g}),n.d(t,"d",function(){return v}),n.d(t,"e",function(){return y}),n.d(t,"f",function(){return h}),n.d(t,"g",function(){return p});var i=n("vuIU"),r=n("1OyB"),a=n("R1ws"),o=n("FKr1"),s=n("fXoL"),l=["*",[["mat-card-footer"]]],c=["*","mat-card-footer"],d=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],u=["[mat-card-avatar], [matCardAvatar]","mat-card-title, mat-card-subtitle,\n      [mat-card-title], [mat-card-subtitle],\n      [matCardTitle], [matCardSubtitle]","*"],p=function(){var e=Object(i.a)(function e(){Object(r.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-card-title"]}),e}(),h=function(){var e=Object(i.a)(function e(){Object(r.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-card-subtitle"]}),e}(),m=function(){var e=Object(i.a)(function e(){Object(r.a)(this,e),this.align="start"});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-card-actions"],hostVars:2,hostBindings:function(e,t){2&e&&s["\u0275\u0275classProp"]("mat-card-actions-align-end","end"===t.align)},inputs:{align:"align"},exportAs:["matCardActions"]}),e}(),g=function(){var e=Object(i.a)(function e(){Object(r.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=s["\u0275\u0275defineDirective"]({type:e,selectors:[["","mat-card-avatar",""],["","matCardAvatar",""]],hostAttrs:[1,"mat-card-avatar"]}),e}(),f=function(){var e=Object(i.a)(function e(t){Object(r.a)(this,e),this._animationMode=t});return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](a.a,8))},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-card"]],hostAttrs:[1,"mat-card","mat-focus-indicator"],hostVars:2,hostBindings:function(e,t){2&e&&s["\u0275\u0275classProp"]("_mat-animation-noopable","NoopAnimations"===t._animationMode)},exportAs:["matCard"],ngContentSelectors:c,decls:2,vars:0,template:function(e,t){1&e&&(s["\u0275\u0275projectionDef"](l),s["\u0275\u0275projection"](0),s["\u0275\u0275projection"](1,1))},styles:[".mat-card{transition:box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);display:block;position:relative;padding:16px;border-radius:4px}._mat-animation-noopable.mat-card{transition:none;animation:none}.mat-card .mat-divider-horizontal{position:absolute;left:0;width:100%}[dir=rtl] .mat-card .mat-divider-horizontal{left:auto;right:0}.mat-card .mat-divider-horizontal.mat-divider-inset{position:static;margin:0}[dir=rtl] .mat-card .mat-divider-horizontal.mat-divider-inset{margin-right:0}.cdk-high-contrast-active .mat-card{outline:solid 1px}.mat-card-actions,.mat-card-subtitle,.mat-card-content{display:block;margin-bottom:16px}.mat-card-title{display:block;margin-bottom:8px}.mat-card-actions{margin-left:-8px;margin-right:-8px;padding:8px 0}.mat-card-actions-align-end{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 32px);margin:0 -16px 16px -16px}.mat-card-footer{display:block;margin:0 -16px -16px -16px}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button,.mat-card-actions .mat-stroked-button{margin:0 8px}.mat-card-header{display:flex;flex-direction:row}.mat-card-header .mat-card-title{margin-bottom:12px}.mat-card-header-text{margin:0 16px}.mat-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;object-fit:cover}.mat-card-title-group{display:flex;justify-content:space-between}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-title-group>.mat-card-xl-image{margin:-8px 0 8px}@media(max-width: 599px){.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}}.mat-card>:first-child,.mat-card-content>:first-child{margin-top:0}.mat-card>:last-child:not(.mat-card-footer),.mat-card-content>:last-child:not(.mat-card-footer){margin-bottom:0}.mat-card-image:first-child{margin-top:-16px;border-top-left-radius:inherit;border-top-right-radius:inherit}.mat-card>.mat-card-actions:last-child{margin-bottom:-8px;padding-bottom:0}.mat-card-actions:not(.mat-card-actions-align-end) .mat-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-raised-button:first-child,.mat-card-actions:not(.mat-card-actions-align-end) .mat-stroked-button:first-child{margin-left:0;margin-right:0}.mat-card-actions-align-end .mat-button:last-child,.mat-card-actions-align-end .mat-raised-button:last-child,.mat-card-actions-align-end .mat-stroked-button:last-child{margin-left:0;margin-right:0}.mat-card-title:not(:first-child),.mat-card-subtitle:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child){margin-top:-8px}.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\n"],encapsulation:2,changeDetection:0}),e}(),v=function(){var e=Object(i.a)(function e(){Object(r.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-card-header"],ngContentSelectors:u,decls:4,vars:0,consts:[[1,"mat-card-header-text"]],template:function(e,t){1&e&&(s["\u0275\u0275projectionDef"](d),s["\u0275\u0275projection"](0),s["\u0275\u0275elementStart"](1,"div",0),s["\u0275\u0275projection"](2,1),s["\u0275\u0275elementEnd"](),s["\u0275\u0275projection"](3,2))},encapsulation:2,changeDetection:0}),e}(),y=function(){var e=Object(i.a)(function e(){Object(r.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[o.j],o.j]}),e}()},Wv91:function(e,t,n){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'\xfcnji",4:"'\xfcnji",100:"'\xfcnji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"\xddanwar_Fewral_Mart_Aprel_Ma\xfd_I\xfdun_I\xfdul_Awgust_Sent\xfdabr_Okt\xfdabr_No\xfdabr_Dekabr".split("_"),monthsShort:"\xddan_Few_Mar_Apr_Ma\xfd_I\xfdn_I\xfdl_Awg_Sen_Okt_No\xfd_Dek".split("_"),weekdays:"\xddek\u015fenbe_Du\u015fenbe_Si\u015fenbe_\xc7ar\u015fenbe_Pen\u015fenbe_Anna_\u015eenbe".split("_"),weekdaysShort:"\xddek_Du\u015f_Si\u015f_\xc7ar_Pen_Ann_\u015een".split("_"),weekdaysMin:"\xddk_D\u015f_S\u015f_\xc7r_Pn_An_\u015en".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bug\xfcn sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[d\xfc\xfdn] LT",lastWeek:"[ge\xe7en] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s so\u0148",past:"%s \xf6\u0148",s:"birn\xe4\xe7e sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir g\xfcn",dd:"%d g\xfcn",M:"bir a\xfd",MM:"%d a\xfd",y:"bir \xfdyl",yy:"%d \xfdyl"},ordinal:function(e,n){switch(n){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var i=e%10;return e+(t[i]||t[e%100-i]||t[e>=100?100:null])}},week:{dow:1,doy:7}})}(n("wd/R"))},WxRl:function(e,t,n){!function(e){"use strict";var t="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function n(e,t,n,i){var r=e;switch(n){case"s":return i||t?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return r+(i||t)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(i||t?" perc":" perce");case"mm":return r+(i||t?" perc":" perce");case"h":return"egy"+(i||t?" \xf3ra":" \xf3r\xe1ja");case"hh":return r+(i||t?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(i||t?" nap":" napja");case"dd":return r+(i||t?" nap":" napja");case"M":return"egy"+(i||t?" h\xf3nap":" h\xf3napja");case"MM":return r+(i||t?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(i||t?" \xe9v":" \xe9ve");case"yy":return r+(i||t?" \xe9v":" \xe9ve")}return""}function i(e){return(e?"":"[m\xfalt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"janu\xe1r_febru\xe1r_m\xe1rcius_\xe1prilis_m\xe1jus_j\xfanius_j\xfalius_augusztus_szeptember_okt\xf3ber_november_december".split("_"),monthsShort:"jan._feb._m\xe1rc._\xe1pr._m\xe1j._j\xfan._j\xfal._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vas\xe1rnap_h\xe9tf\u0151_kedd_szerda_cs\xfct\xf6rt\xf6k_p\xe9ntek_szombat".split("_"),weekdaysShort:"vas_h\xe9t_kedd_sze_cs\xfct_p\xe9n_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,n){return e<12?!0===n?"de":"DE":!0===n?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return i.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return i.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%s",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},X709:function(e,t,n){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"s\xf6ndag_m\xe5ndag_tisdag_onsdag_torsdag_fredag_l\xf6rdag".split("_"),weekdaysShort:"s\xf6n_m\xe5n_tis_ons_tor_fre_l\xf6r".split("_"),weekdaysMin:"s\xf6_m\xe5_ti_on_to_fr_l\xf6".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Ig\xe5r] LT",nextWeek:"[P\xe5] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"f\xf6r %s sedan",s:"n\xe5gra sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en m\xe5nad",MM:"%d m\xe5nader",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(n("wd/R"))},XDbj:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("sVev"),l=n("7o/Q");function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;return function(t){return t.lift(new d(e))}}var d=function(){function e(t){Object(a.a)(this,e),this.errorFactory=t}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.errorFactory))}}]),e}(),u=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i){var r;return Object(a.a)(this,n),(r=t.call(this,e)).errorFactory=i,r.hasValue=!1,r}return Object(o.a)(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(l.a);function p(){return new s.a}},XDpg:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-cn",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u5468\u65e5_\u5468\u4e00_\u5468\u4e8c_\u5468\u4e09_\u5468\u56db_\u5468\u4e94_\u5468\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5Ah\u70b9mm\u5206",LLLL:"YYYY\u5e74M\u6708D\u65e5ddddAh\u70b9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929]LT",nextDay:"[\u660e\u5929]LT",nextWeek:function(e){return e.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(e){return this.week()!==e.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u5468";default:return e}},relativeTime:{future:"%s\u540e",past:"%s\u524d",s:"\u51e0\u79d2",ss:"%d \u79d2",m:"1 \u5206\u949f",mm:"%d \u5206\u949f",h:"1 \u5c0f\u65f6",hh:"%d \u5c0f\u65f6",d:"1 \u5929",dd:"%d \u5929",w:"1 \u5468",ww:"%d \u5468",M:"1 \u4e2a\u6708",MM:"%d \u4e2a\u6708",y:"1 \u5e74",yy:"%d \u5e74"},week:{dow:1,doy:4}})}(n("wd/R"))},XLvN:function(e,t,n){!function(e){"use strict";e.defineLocale("te",{months:"\u0c1c\u0c28\u0c35\u0c30\u0c3f_\u0c2b\u0c3f\u0c2c\u0c4d\u0c30\u0c35\u0c30\u0c3f_\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f\u0c32\u0c4d_\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17\u0c38\u0c4d\u0c1f\u0c41_\u0c38\u0c46\u0c2a\u0c4d\u0c1f\u0c46\u0c02\u0c2c\u0c30\u0c4d_\u0c05\u0c15\u0c4d\u0c1f\u0c4b\u0c2c\u0c30\u0c4d_\u0c28\u0c35\u0c02\u0c2c\u0c30\u0c4d_\u0c21\u0c3f\u0c38\u0c46\u0c02\u0c2c\u0c30\u0c4d".split("_"),monthsShort:"\u0c1c\u0c28._\u0c2b\u0c3f\u0c2c\u0c4d\u0c30._\u0c2e\u0c3e\u0c30\u0c4d\u0c1a\u0c3f_\u0c0f\u0c2a\u0c4d\u0c30\u0c3f._\u0c2e\u0c47_\u0c1c\u0c42\u0c28\u0c4d_\u0c1c\u0c41\u0c32\u0c48_\u0c06\u0c17._\u0c38\u0c46\u0c2a\u0c4d._\u0c05\u0c15\u0c4d\u0c1f\u0c4b._\u0c28\u0c35._\u0c21\u0c3f\u0c38\u0c46.".split("_"),monthsParseExact:!0,weekdays:"\u0c06\u0c26\u0c3f\u0c35\u0c3e\u0c30\u0c02_\u0c38\u0c4b\u0c2e\u0c35\u0c3e\u0c30\u0c02_\u0c2e\u0c02\u0c17\u0c33\u0c35\u0c3e\u0c30\u0c02_\u0c2c\u0c41\u0c27\u0c35\u0c3e\u0c30\u0c02_\u0c17\u0c41\u0c30\u0c41\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c41\u0c15\u0c4d\u0c30\u0c35\u0c3e\u0c30\u0c02_\u0c36\u0c28\u0c3f\u0c35\u0c3e\u0c30\u0c02".split("_"),weekdaysShort:"\u0c06\u0c26\u0c3f_\u0c38\u0c4b\u0c2e_\u0c2e\u0c02\u0c17\u0c33_\u0c2c\u0c41\u0c27_\u0c17\u0c41\u0c30\u0c41_\u0c36\u0c41\u0c15\u0c4d\u0c30_\u0c36\u0c28\u0c3f".split("_"),weekdaysMin:"\u0c06_\u0c38\u0c4b_\u0c2e\u0c02_\u0c2c\u0c41_\u0c17\u0c41_\u0c36\u0c41_\u0c36".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[\u0c28\u0c47\u0c21\u0c41] LT",nextDay:"[\u0c30\u0c47\u0c2a\u0c41] LT",nextWeek:"dddd, LT",lastDay:"[\u0c28\u0c3f\u0c28\u0c4d\u0c28] LT",lastWeek:"[\u0c17\u0c24] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u0c32\u0c4b",past:"%s \u0c15\u0c4d\u0c30\u0c3f\u0c24\u0c02",s:"\u0c15\u0c4a\u0c28\u0c4d\u0c28\u0c3f \u0c15\u0c4d\u0c37\u0c23\u0c3e\u0c32\u0c41",ss:"%d \u0c38\u0c46\u0c15\u0c28\u0c4d\u0c32\u0c41",m:"\u0c12\u0c15 \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c02",mm:"%d \u0c28\u0c3f\u0c2e\u0c3f\u0c37\u0c3e\u0c32\u0c41",h:"\u0c12\u0c15 \u0c17\u0c02\u0c1f",hh:"%d \u0c17\u0c02\u0c1f\u0c32\u0c41",d:"\u0c12\u0c15 \u0c30\u0c4b\u0c1c\u0c41",dd:"%d \u0c30\u0c4b\u0c1c\u0c41\u0c32\u0c41",M:"\u0c12\u0c15 \u0c28\u0c46\u0c32",MM:"%d \u0c28\u0c46\u0c32\u0c32\u0c41",y:"\u0c12\u0c15 \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c02",yy:"%d \u0c38\u0c02\u0c35\u0c24\u0c4d\u0c38\u0c30\u0c3e\u0c32\u0c41"},dayOfMonthOrdinalParse:/\d{1,2}\u0c35/,ordinal:"%d\u0c35",meridiemParse:/\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f|\u0c09\u0c26\u0c2f\u0c02|\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02|\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===t?e<4?e:e+12:"\u0c09\u0c26\u0c2f\u0c02"===t?e:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===t?e>=10?e:e+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":e<10?"\u0c09\u0c26\u0c2f\u0c02":e<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":e<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(n("wd/R"))},XNiG:function(e,t,n){"use strict";n.d(t,"b",function(){return g}),n.d(t,"a",function(){return f});var i=n("ReuC"),r=n("foSv"),a=n("vuIU"),o=n("1OyB"),s=n("Ji7U"),l=n("LK+K"),c=n("HDdC"),d=n("7o/Q"),u=n("quSY"),p=n("9ppp"),h=n("Ylt2"),m=n("2QA8"),g=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e){var i;return Object(o.a)(this,n),(i=t.call(this,e)).destination=e,i}return Object(a.a)(n)}(d.a),f=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){var e;return Object(o.a)(this,n),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return Object(a.a)(n,[{key:m.a,value:function(){return new g(this)}},{key:"lift",value:function(e){var t=new v(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new p.a;if(!this.isStopped)for(var t=this.observers,n=t.length,i=t.slice(),r=0;r<n;r++)i[r].next(e)}},{key:"error",value:function(e){if(this.closed)throw new p.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,i=t.slice(),r=0;r<n;r++)i[r].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new p.a;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),i=0;i<t;i++)n[i].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(e){if(this.closed)throw new p.a;return Object(i.a)(Object(r.a)(n.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new p.a;return this.hasError?(e.error(this.thrownError),u.a.EMPTY):this.isStopped?(e.complete(),u.a.EMPTY):(this.observers.push(e),new h.a(this,e))}},{key:"asObservable",value:function(){var e=new c.a;return e.source=this,e}}]),n}(c.a);return e.create=function(e,t){return new v(e,t)},e}(),v=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i){var r;return Object(o.a)(this,n),(r=t.call(this)).destination=e,r.source=i,r}return Object(a.a)(n,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):u.a.EMPTY}}]),n}(f)},Xa2L:function(e,t,n){"use strict";n.d(t,"a",function(){return _}),n.d(t,"b",function(){return S}),n.d(t,"c",function(){return w});var i=n("Ji7U"),r=n("LK+K"),a=n("vuIU"),o=n("1OyB"),s=n("fXoL"),l=n("ofXK"),c=n("FKr1"),d=n("8LU1"),u=n("nLfN"),p=n("R1ws");function h(e,t){if(1&e&&(s["\u0275\u0275namespaceSVG"](),s["\u0275\u0275element"](0,"circle",3)),2&e){var n=s["\u0275\u0275nextContext"]();s["\u0275\u0275styleProp"]("animation-name","mat-progress-spinner-stroke-rotate-"+n._spinnerAnimationLabel)("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),s["\u0275\u0275attribute"]("r",n._getCircleRadius())}}function m(e,t){if(1&e&&(s["\u0275\u0275namespaceSVG"](),s["\u0275\u0275element"](0,"circle",3)),2&e){var n=s["\u0275\u0275nextContext"]();s["\u0275\u0275styleProp"]("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),s["\u0275\u0275attribute"]("r",n._getCircleRadius())}}function g(e,t){if(1&e&&(s["\u0275\u0275namespaceSVG"](),s["\u0275\u0275element"](0,"circle",3)),2&e){var n=s["\u0275\u0275nextContext"]();s["\u0275\u0275styleProp"]("animation-name","mat-progress-spinner-stroke-rotate-"+n._spinnerAnimationLabel)("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),s["\u0275\u0275attribute"]("r",n._getCircleRadius())}}function f(e,t){if(1&e&&(s["\u0275\u0275namespaceSVG"](),s["\u0275\u0275element"](0,"circle",3)),2&e){var n=s["\u0275\u0275nextContext"]();s["\u0275\u0275styleProp"]("stroke-dashoffset",n._getStrokeDashOffset(),"px")("stroke-dasharray",n._getStrokeCircumference(),"px")("stroke-width",n._getCircleStrokeWidth(),"%"),s["\u0275\u0275attribute"]("r",n._getCircleRadius())}}var v=".mat-progress-spinner{display:block;position:relative;overflow:hidden}.mat-progress-spinner svg{position:absolute;transform:rotate(-90deg);top:0;left:0;transform-origin:center;overflow:visible}.mat-progress-spinner circle{fill:transparent;transform-origin:center;transition:stroke-dashoffset 225ms linear}._mat-animation-noopable.mat-progress-spinner circle{transition:none;animation:none}.cdk-high-contrast-active .mat-progress-spinner circle{stroke:currentColor;stroke:CanvasText}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{animation:mat-progress-spinner-linear-rotate 2000ms linear infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition-property:stroke;animation-duration:4000ms;animation-timing-function:cubic-bezier(0.35, 0, 0.25, 1);animation-iteration-count:infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-animation[mode=indeterminate] circle{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{animation:mat-progress-spinner-stroke-rotate-fallback 10000ms cubic-bezier(0.87, 0.03, 0.33, 1) infinite}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] svg{transition:none;animation:none}.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition-property:stroke}._mat-animation-noopable.mat-progress-spinner.mat-progress-spinner-indeterminate-fallback-animation[mode=indeterminate] circle{transition:none;animation:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-stroke-rotate-100{0%{stroke-dashoffset:268.606171575px;transform:rotate(0)}12.5%{stroke-dashoffset:56.5486677px;transform:rotate(0)}12.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(72.5deg)}25%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(72.5deg)}25.0001%{stroke-dashoffset:268.606171575px;transform:rotate(270deg)}37.5%{stroke-dashoffset:56.5486677px;transform:rotate(270deg)}37.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(161.5deg)}50%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(161.5deg)}50.0001%{stroke-dashoffset:268.606171575px;transform:rotate(180deg)}62.5%{stroke-dashoffset:56.5486677px;transform:rotate(180deg)}62.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(251.5deg)}75%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(251.5deg)}75.0001%{stroke-dashoffset:268.606171575px;transform:rotate(90deg)}87.5%{stroke-dashoffset:56.5486677px;transform:rotate(90deg)}87.5001%{stroke-dashoffset:56.5486677px;transform:rotateX(180deg) rotate(341.5deg)}100%{stroke-dashoffset:268.606171575px;transform:rotateX(180deg) rotate(341.5deg)}}@keyframes mat-progress-spinner-stroke-rotate-fallback{0%{transform:rotate(0deg)}25%{transform:rotate(1170deg)}50%{transform:rotate(2340deg)}75%{transform:rotate(3510deg)}100%{transform:rotate(4680deg)}}\n",y=Object(a.a)(function e(t){Object(o.a)(this,e),this._elementRef=t}),b=Object(c.y)(y,"primary"),x=new s.InjectionToken("mat-progress-spinner-default-options",{providedIn:"root",factory:function(){return{diameter:100}}}),_=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r,a,s){var l;Object(o.a)(this,n),(l=t.call(this,e))._elementRef=e,l._document=r,l._diameter=100,l._value=0,l._fallbackAnimation=!1,l.mode="determinate";var c=n._diameters;return l._spinnerAnimationLabel=l._getSpinnerAnimationLabel(),c.has(r.head)||c.set(r.head,new Set([100])),l._fallbackAnimation=i.EDGE||i.TRIDENT,l._noopAnimations="NoopAnimations"===a&&!!s&&!s._forceAnimations,s&&(s.diameter&&(l.diameter=s.diameter),s.strokeWidth&&(l.strokeWidth=s.strokeWidth)),l}return Object(a.a)(n,[{key:"diameter",get:function(){return this._diameter},set:function(e){this._diameter=Object(d.f)(e),this._spinnerAnimationLabel=this._getSpinnerAnimationLabel(),!this._fallbackAnimation&&this._styleRoot&&this._attachStyleNode()}},{key:"strokeWidth",get:function(){return this._strokeWidth||this.diameter/10},set:function(e){this._strokeWidth=Object(d.f)(e)}},{key:"value",get:function(){return"determinate"===this.mode?this._value:0},set:function(e){this._value=Math.max(0,Math.min(100,Object(d.f)(e)))}},{key:"ngOnInit",value:function(){var e=this._elementRef.nativeElement;this._styleRoot=Object(u.c)(e)||this._document.head,this._attachStyleNode();var t="mat-progress-spinner-indeterminate".concat(this._fallbackAnimation?"-fallback":"","-animation");e.classList.add(t)}},{key:"_getCircleRadius",value:function(){return(this.diameter-10)/2}},{key:"_getViewBox",value:function(){var e=2*this._getCircleRadius()+this.strokeWidth;return"0 0 ".concat(e," ").concat(e)}},{key:"_getStrokeCircumference",value:function(){return 2*Math.PI*this._getCircleRadius()}},{key:"_getStrokeDashOffset",value:function(){return"determinate"===this.mode?this._getStrokeCircumference()*(100-this._value)/100:this._fallbackAnimation&&"indeterminate"===this.mode?.2*this._getStrokeCircumference():null}},{key:"_getCircleStrokeWidth",value:function(){return this.strokeWidth/this.diameter*100}},{key:"_attachStyleNode",value:function(){var e=this._styleRoot,t=this._diameter,i=n._diameters,r=i.get(e);if(!r||!r.has(t)){var a=this._document.createElement("style");a.setAttribute("mat-spinner-animation",this._spinnerAnimationLabel),a.textContent=this._getAnimationText(),e.appendChild(a),r||(r=new Set,i.set(e,r)),r.add(t)}}},{key:"_getAnimationText",value:function(){var e=this._getStrokeCircumference();return"\n @keyframes mat-progress-spinner-stroke-rotate-DIAMETER {\n    0%      { stroke-dashoffset: START_VALUE;  transform: rotate(0); }\n    12.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(0); }\n    12.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(72.5deg); }\n    25%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(72.5deg); }\n\n    25.0001%   { stroke-dashoffset: START_VALUE;  transform: rotate(270deg); }\n    37.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(270deg); }\n    37.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(161.5deg); }\n    50%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(161.5deg); }\n\n    50.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(180deg); }\n    62.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(180deg); }\n    62.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(251.5deg); }\n    75%     { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(251.5deg); }\n\n    75.0001%  { stroke-dashoffset: START_VALUE;  transform: rotate(90deg); }\n    87.5%   { stroke-dashoffset: END_VALUE;    transform: rotate(90deg); }\n    87.5001%  { stroke-dashoffset: END_VALUE;    transform: rotateX(180deg) rotate(341.5deg); }\n    100%    { stroke-dashoffset: START_VALUE;  transform: rotateX(180deg) rotate(341.5deg); }\n  }\n".replace(/START_VALUE/g,"".concat(.95*e)).replace(/END_VALUE/g,"".concat(.2*e)).replace(/DIAMETER/g,"".concat(this._spinnerAnimationLabel))}},{key:"_getSpinnerAnimationLabel",value:function(){return this.diameter.toString().replace(".","_")}}]),n}(b);return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](u.a),s["\u0275\u0275directiveInject"](l.DOCUMENT,8),s["\u0275\u0275directiveInject"](p.a,8),s["\u0275\u0275directiveInject"](x))},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-progress-spinner"]],hostAttrs:["role","progressbar","tabindex","-1",1,"mat-progress-spinner"],hostVars:10,hostBindings:function(e,t){2&e&&(s["\u0275\u0275attribute"]("aria-valuemin","determinate"===t.mode?0:null)("aria-valuemax","determinate"===t.mode?100:null)("aria-valuenow","determinate"===t.mode?t.value:null)("mode",t.mode),s["\u0275\u0275styleProp"]("width",t.diameter,"px")("height",t.diameter,"px"),s["\u0275\u0275classProp"]("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color",mode:"mode",diameter:"diameter",strokeWidth:"strokeWidth",value:"value"},exportAs:["matProgressSpinner"],features:[s["\u0275\u0275InheritDefinitionFeature"]],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(s["\u0275\u0275namespaceSVG"](),s["\u0275\u0275elementStart"](0,"svg",0),s["\u0275\u0275template"](1,h,1,9,"circle",1),s["\u0275\u0275template"](2,m,1,7,"circle",2),s["\u0275\u0275elementEnd"]()),2&e&&(s["\u0275\u0275styleProp"]("width",t.diameter,"px")("height",t.diameter,"px"),s["\u0275\u0275property"]("ngSwitch","indeterminate"===t.mode),s["\u0275\u0275attribute"]("viewBox",t._getViewBox()),s["\u0275\u0275advance"](1),s["\u0275\u0275property"]("ngSwitchCase",!0),s["\u0275\u0275advance"](1),s["\u0275\u0275property"]("ngSwitchCase",!1))},directives:[l.NgSwitch,l.NgSwitchCase],styles:[v],encapsulation:2,changeDetection:0}),e._diameters=new WeakMap,e}(),w=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r,a,s){var l;return Object(o.a)(this,n),(l=t.call(this,e,i,r,a,s)).mode="indeterminate",l}return Object(a.a)(n)}(_);return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](u.a),s["\u0275\u0275directiveInject"](l.DOCUMENT,8),s["\u0275\u0275directiveInject"](p.a,8),s["\u0275\u0275directiveInject"](x))},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-spinner"]],hostAttrs:["role","progressbar","mode","indeterminate",1,"mat-spinner","mat-progress-spinner"],hostVars:6,hostBindings:function(e,t){2&e&&(s["\u0275\u0275styleProp"]("width",t.diameter,"px")("height",t.diameter,"px"),s["\u0275\u0275classProp"]("_mat-animation-noopable",t._noopAnimations))},inputs:{color:"color"},features:[s["\u0275\u0275InheritDefinitionFeature"]],decls:3,vars:8,consts:[["preserveAspectRatio","xMidYMid meet","focusable","false","aria-hidden","true",3,"ngSwitch"],["cx","50%","cy","50%",3,"animation-name","stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%",3,"stroke-dashoffset","stroke-dasharray","stroke-width",4,"ngSwitchCase"],["cx","50%","cy","50%"]],template:function(e,t){1&e&&(s["\u0275\u0275namespaceSVG"](),s["\u0275\u0275elementStart"](0,"svg",0),s["\u0275\u0275template"](1,g,1,9,"circle",1),s["\u0275\u0275template"](2,f,1,7,"circle",2),s["\u0275\u0275elementEnd"]()),2&e&&(s["\u0275\u0275styleProp"]("width",t.diameter,"px")("height",t.diameter,"px"),s["\u0275\u0275property"]("ngSwitch","indeterminate"===t.mode),s["\u0275\u0275attribute"]("viewBox",t._getViewBox()),s["\u0275\u0275advance"](1),s["\u0275\u0275property"]("ngSwitchCase",!0),s["\u0275\u0275advance"](1),s["\u0275\u0275property"]("ngSwitchCase",!1))},directives:[l.NgSwitch,l.NgSwitchCase],styles:[v],encapsulation:2,changeDetection:0}),e}(),S=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[c.j,l.CommonModule],c.j]}),e}()},XoHu:function(e,t,n){"use strict";function i(e){return null!==e&&"object"==typeof e}n.d(t,"a",function(){return i})},XqKs:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("fXoL"),r=n("ofXK");function a(e,t){if(1&e&&i["\u0275\u0275elementContainer"](0,1),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngTemplateOutlet",n.template)}}var o=function(){function e(e,t,n){this.element=e,this.renderer=t,this.platformId=n,this.inView=!1,this.once50PctVisible=!1,this.options={threshold:[.1,.2,.3,.4,.5,.6,.7,.8]},this.inView$=new i.EventEmitter,this.notInView$=new i.EventEmitter}return e.prototype.ngOnInit=function(){Object(r.isPlatformBrowser)(this.platformId)&&(this.observer=new IntersectionObserver(this.handleIntersect.bind(this),this.options),this.observer.observe(this.element.nativeElement))},e.prototype.ngOnDestroy=function(){this.observer.disconnect()},e.prototype.handleIntersect=function(e,t){var n=this;e.forEach(function(e){e.isIntersecting?(n.inView=!0,n.defaultInViewHandler(e),n.inView$.emit(e)):n.notInView$.emit(e)})},e.prototype.defaultInViewHandler=function(e){if(this.once50PctVisible)return!1;if(this.inView$.observers.length)return!1;if(e.intersectionRatio<.8){var t=1.25*e.intersectionRatio,n=20-4*Math.floor(10*e.intersectionRatio);Object.assign(e.target.style,{opacity:t,filter:"blur("+n+"px)"})}else e.target.style.opacity=1,e.target.style.filter="unset",this.once50PctVisible=!0},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.PLATFORM_ID))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["ngui-in-view"]],contentQueries:function(e,t,n){var r;1&e&&i["\u0275\u0275contentQuery"](n,i.TemplateRef,1),2&e&&i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.template=r.first)},inputs:{options:"options"},outputs:{inView$:"inView",notInView$:"notInView"},decls:1,vars:1,consts:[[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&i["\u0275\u0275template"](0,a,1,1,"ng-container",0),2&e&&i["\u0275\u0275property"]("ngIf",t.inView)},directives:[r.NgIf,r.NgTemplateOutlet],styles:["[_nghost-%COMP%] {display: block;}"]}),e}()},"Y/cZ":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("1OyB"),r=n("vuIU"),a=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;Object(i.a)(this,e),this.SchedulerAction=t,this.now=n}return Object(r.a)(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}()},Y3SK:function(e,t,n){var i=n("ZhPi");e.exports=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},Y7HM:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("DH7j");function r(e){return!Object(i.a)(e)&&e-parseFloat(e)+1>=0}},YKnz:function(e,t,n){"use strict";var i=n("fXoL"),r=n("rhsj"),a=["lb-overlay",""],o=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},s=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var c=n("ofXK"),d=n("fXoL"),u=n("rhsj"),p=function(){function e(e,t,n,i){var r=this;this._elemRef=e,this._rendererRef=t,this._lightboxEvent=n,this._documentRef=i,this.classList="lightboxOverlay animation fadeInOverlay",this._subscription=this._lightboxEvent.lightboxEvent$.subscribe(function(e){return r._onReceivedEvent(e)})}return e.prototype.close=function(){this._lightboxEvent.broadcastLightboxEvent({id:u.LIGHTBOX_EVENT.CLOSE,data:null})},e.prototype.ngAfterViewInit=function(){var e=this.options.fadeDuration;this._rendererRef.setStyle(this._elemRef.nativeElement,"-webkit-animation-duration",e+"s"),this._rendererRef.setStyle(this._elemRef.nativeElement,"animation-duration",e+"s"),this._sizeOverlay()},e.prototype.onResize=function(){this._sizeOverlay()},e.prototype.ngOnDestroy=function(){this._subscription.unsubscribe()},e.prototype._sizeOverlay=function(){var e=this._getOverlayWidth(),t=this._getOverlayHeight();this._rendererRef.setStyle(this._elemRef.nativeElement,"width",e+"px"),this._rendererRef.setStyle(this._elemRef.nativeElement,"height",t+"px")},e.prototype._onReceivedEvent=function(e){switch(e.id){case u.LIGHTBOX_EVENT.CLOSE:this._end()}},e.prototype._end=function(){var e=this;this.classList="lightboxOverlay animation fadeOutOverlay",setTimeout(function(){e.cmpRef.destroy()},1e3*this.options.fadeDuration)},e.prototype._getOverlayWidth=function(){return Math.max(this._documentRef.body.scrollWidth,this._documentRef.body.offsetWidth,this._documentRef.documentElement.clientWidth,this._documentRef.documentElement.scrollWidth,this._documentRef.documentElement.offsetWidth)},e.prototype._getOverlayHeight=function(){return Math.max(this._documentRef.body.scrollHeight,this._documentRef.body.offsetHeight,this._documentRef.documentElement.clientHeight,this._documentRef.documentElement.scrollHeight,this._documentRef.documentElement.offsetHeight)},o([d.Input(),s("design:type",Object)],e.prototype,"options",void 0),o([d.Input(),s("design:type",Object)],e.prototype,"cmpRef",void 0),o([d.HostListener("click"),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"close",null),o([d.HostListener("window:resize"),s("design:type",Function),s("design:paramtypes",[]),s("design:returntype",void 0)],e.prototype,"onResize",null),(e=o([l(3,d.Inject(c.DOCUMENT)),s("design:paramtypes",[d.ElementRef,d.Renderer2,u.LightboxEvent,Object])],e)).\u0275fac=function(t){return new(t||e)(i.\u0275\u0275directiveInject(i.ElementRef),i.\u0275\u0275directiveInject(i.Renderer2),i.\u0275\u0275directiveInject(r.LightboxEvent),i.\u0275\u0275directiveInject(c.DOCUMENT))},e.\u0275cmp=i.\u0275\u0275defineComponent({type:e,selectors:[["","lb-overlay",""]],hostVars:2,hostBindings:function(e,t){1&e&&i.\u0275\u0275listener("click",function(){return t.close()})("resize",function(){return t.onResize()},!1,i.\u0275\u0275resolveWindow),2&e&&i.\u0275\u0275classMap(t.classList)},inputs:{options:"options",cmpRef:"cmpRef"},attrs:a,decls:0,vars:0,template:function(e,t){},encapsulation:2}),e}();t.LightboxOverlayComponent=p},YRex:function(e,t,n){!function(e){"use strict";e.defineLocale("ug-cn",{months:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),monthsShort:"\u064a\u0627\u0646\u06cb\u0627\u0631_\u0641\u06d0\u06cb\u0631\u0627\u0644_\u0645\u0627\u0631\u062a_\u0626\u0627\u067e\u0631\u06d0\u0644_\u0645\u0627\u064a_\u0626\u0649\u064a\u06c7\u0646_\u0626\u0649\u064a\u06c7\u0644_\u0626\u0627\u06cb\u063a\u06c7\u0633\u062a_\u0633\u06d0\u0646\u062a\u06d5\u0628\u0649\u0631_\u0626\u06c6\u0643\u062a\u06d5\u0628\u0649\u0631_\u0646\u0648\u064a\u0627\u0628\u0649\u0631_\u062f\u06d0\u0643\u0627\u0628\u0649\u0631".split("_"),weekdays:"\u064a\u06d5\u0643\u0634\u06d5\u0646\u0628\u06d5_\u062f\u06c8\u0634\u06d5\u0646\u0628\u06d5_\u0633\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u0686\u0627\u0631\u0634\u06d5\u0646\u0628\u06d5_\u067e\u06d5\u064a\u0634\u06d5\u0646\u0628\u06d5_\u062c\u06c8\u0645\u06d5_\u0634\u06d5\u0646\u0628\u06d5".split("_"),weekdaysShort:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),weekdaysMin:"\u064a\u06d5_\u062f\u06c8_\u0633\u06d5_\u0686\u0627_\u067e\u06d5_\u062c\u06c8_\u0634\u06d5".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649",LLL:"YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm",LLLL:"dddd\u060c YYYY-\u064a\u0649\u0644\u0649M-\u0626\u0627\u064a\u0646\u0649\u06adD-\u0643\u06c8\u0646\u0649\u060c HH:mm"},meridiemParse:/\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5|\u0633\u06d5\u06be\u06d5\u0631|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646|\u0686\u06c8\u0634|\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646|\u0643\u06d5\u0686/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===t||"\u0633\u06d5\u06be\u06d5\u0631"===t||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===t?e:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===t||"\u0643\u06d5\u0686"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5":i<900?"\u0633\u06d5\u06be\u06d5\u0631":i<1130?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646":i<1230?"\u0686\u06c8\u0634":i<1800?"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646":"\u0643\u06d5\u0686"},calendar:{sameDay:"[\u0628\u06c8\u06af\u06c8\u0646 \u0633\u0627\u0626\u06d5\u062a] LT",nextDay:"[\u0626\u06d5\u062a\u06d5 \u0633\u0627\u0626\u06d5\u062a] LT",nextWeek:"[\u0643\u06d0\u0644\u06d5\u0631\u0643\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",lastDay:"[\u062a\u06c6\u0646\u06c8\u06af\u06c8\u0646] LT",lastWeek:"[\u0626\u0627\u0644\u062f\u0649\u0646\u0642\u0649] dddd [\u0633\u0627\u0626\u06d5\u062a] LT",sameElse:"L"},relativeTime:{future:"%s \u0643\u06d0\u064a\u0649\u0646",past:"%s \u0628\u06c7\u0631\u06c7\u0646",s:"\u0646\u06d5\u0686\u0686\u06d5 \u0633\u06d0\u0643\u0648\u0646\u062a",ss:"%d \u0633\u06d0\u0643\u0648\u0646\u062a",m:"\u0628\u0649\u0631 \u0645\u0649\u0646\u06c7\u062a",mm:"%d \u0645\u0649\u0646\u06c7\u062a",h:"\u0628\u0649\u0631 \u0633\u0627\u0626\u06d5\u062a",hh:"%d \u0633\u0627\u0626\u06d5\u062a",d:"\u0628\u0649\u0631 \u0643\u06c8\u0646",dd:"%d \u0643\u06c8\u0646",M:"\u0628\u0649\u0631 \u0626\u0627\u064a",MM:"%d \u0626\u0627\u064a",y:"\u0628\u0649\u0631 \u064a\u0649\u0644",yy:"%d \u064a\u0649\u0644"},dayOfMonthOrdinalParse:/\d{1,2}(-\u0643\u06c8\u0646\u0649|-\u0626\u0627\u064a|-\u06be\u06d5\u067e\u062a\u06d5)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return e+"-\u06be\u06d5\u067e\u062a\u06d5";default:return e}},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(n("wd/R"))},Ylt2:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("1OyB"),r=n("vuIU"),a=n("Ji7U"),o=n("LK+K"),s=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,r){var a;return Object(i.a)(this,n),(a=t.call(this)).subject=e,a.subscriber=r,a.closed=!1,a}return Object(r.a)(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}]),n}(n("quSY").a)},Z2wJ:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("VJli"),r=n("fXoL"),a=n("bTqV"),o=n("ofXK");function s(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"span",4),r["\u0275\u0275text"](1,"thumb_up"),r["\u0275\u0275elementEnd"]())}function l(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"span",5),r["\u0275\u0275text"](1,"thumb_up"),r["\u0275\u0275elementEnd"]())}function c(e,t){if(1&e&&(r["\u0275\u0275elementStart"](0,"span"),r["\u0275\u0275text"](1),r["\u0275\u0275elementEnd"]()),2&e){var n=r["\u0275\u0275nextContext"]();r["\u0275\u0275advance"](1),r["\u0275\u0275textInterpolate"](n.like_count)}}var d=function(){function e(e){this.SocialService=e,this.showCount=!0,this.liked=!1,this.like_count=0}return e.prototype.ngOnInit=function(){var e=this;this.SocialService.getLikeStatus(this.recordKey).subscribe(function(t){e.liked=t.response.has_liked,e.like_count=t.response.like_count})},e.prototype.like=function(){this.liked=!this.liked,this.liked?(this.like_count+=1,this.SocialService.setLike(this.recordKey).subscribe(function(e){})):(this.like_count-=1,this.SocialService.unsetLike(this.recordKey).subscribe(function(e){}))},e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275directiveInject"](i.a))},e.\u0275cmp=r["\u0275\u0275defineComponent"]({type:e,selectors:[["app-like"]],inputs:{recordKey:"recordKey",showCount:"showCount"},decls:5,vars:3,consts:[["mat-button","",2,"margin-top","5px",3,"click"],["class","material-icons-outlined",4,"ngIf"],["style","color: #4597CB","class","material-icons",4,"ngIf"],[4,"ngIf"],[1,"material-icons-outlined"],[1,"material-icons",2,"color","#4597CB"]],template:function(e,t){1&e&&(r["\u0275\u0275elementStart"](0,"button",0),r["\u0275\u0275listener"]("click",function(){return t.like()}),r["\u0275\u0275template"](1,s,2,0,"span",1),r["\u0275\u0275template"](2,l,2,0,"span",2),r["\u0275\u0275text"](3," \xa0"),r["\u0275\u0275template"](4,c,2,1,"span",3),r["\u0275\u0275elementEnd"]()),2&e&&(r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",!t.liked),r["\u0275\u0275advance"](1),r["\u0275\u0275property"]("ngIf",t.liked),r["\u0275\u0275advance"](2),r["\u0275\u0275property"]("ngIf",t.showCount&&t.like_count>0))},directives:[a.b,o.NgIf],styles:[""]}),e}()},Z4QM:function(e,t,n){!function(e){"use strict";var t=["\u062c\u0646\u0648\u0631\u064a","\u0641\u064a\u0628\u0631\u0648\u0631\u064a","\u0645\u0627\u0631\u0686","\u0627\u067e\u0631\u064a\u0644","\u0645\u0626\u064a","\u062c\u0648\u0646","\u062c\u0648\u0644\u0627\u0621\u0650","\u0622\u06af\u0633\u067d","\u0633\u064a\u067e\u067d\u0645\u0628\u0631","\u0622\u06aa\u067d\u0648\u0628\u0631","\u0646\u0648\u0645\u0628\u0631","\u068a\u0633\u0645\u0628\u0631"],n=["\u0622\u0686\u0631","\u0633\u0648\u0645\u0631","\u0627\u06b1\u0627\u0631\u0648","\u0627\u0631\u0628\u0639","\u062e\u0645\u064a\u0633","\u062c\u0645\u0639","\u0687\u0646\u0687\u0631"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:n,weekdaysShort:n,weekdaysMin:n,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd\u060c D MMMM YYYY HH:mm"},meridiemParse:/\u0635\u0628\u062d|\u0634\u0627\u0645/,isPM:function(e){return"\u0634\u0627\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635\u0628\u062d":"\u0634\u0627\u0645"},calendar:{sameDay:"[\u0627\u0684] LT",nextDay:"[\u0633\u0680\u0627\u06bb\u064a] LT",nextWeek:"dddd [\u0627\u06b3\u064a\u0646 \u0647\u0641\u062a\u064a \u062a\u064a] LT",lastDay:"[\u06aa\u0627\u0644\u0647\u0647] LT",lastWeek:"[\u06af\u0632\u0631\u064a\u0644 \u0647\u0641\u062a\u064a] dddd [\u062a\u064a] LT",sameElse:"L"},relativeTime:{future:"%s \u067e\u0648\u0621",past:"%s \u0627\u06b3",s:"\u0686\u0646\u062f \u0633\u064a\u06aa\u0646\u068a",ss:"%d \u0633\u064a\u06aa\u0646\u068a",m:"\u0647\u06aa \u0645\u0646\u067d",mm:"%d \u0645\u0646\u067d",h:"\u0647\u06aa \u06aa\u0644\u0627\u06aa",hh:"%d \u06aa\u0644\u0627\u06aa",d:"\u0647\u06aa \u068f\u064a\u0646\u0647\u0646",dd:"%d \u068f\u064a\u0646\u0647\u0646",M:"\u0647\u06aa \u0645\u0647\u064a\u0646\u0648",MM:"%d \u0645\u0647\u064a\u0646\u0627",y:"\u0647\u06aa \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/\u060c/g,",")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(n("wd/R"))},ZAMP:function(e,t,n){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(n("wd/R"))},ZUHj:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("1OyB"),r=n("vuIU"),a=n("Ji7U"),o=n("LK+K"),s=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,r,a){var o;return Object(i.a)(this,n),(o=t.call(this)).parent=e,o.outerValue=r,o.outerIndex=a,o.index=0,o}return Object(r.a)(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(n("7o/Q").a),l=n("SeVD"),c=n("HDdC");function d(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new s(e,n,i);if(!r.closed)return t instanceof c.a?t.subscribe(r):Object(l.a)(t)(r)}},Zduo:function(e,t,n){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_a\u016dgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_a\u016dg_sept_okt_nov_dec".split("_"),weekdays:"diman\u0109o_lundo_mardo_merkredo_\u0135a\u016ddo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_\u0135a\u016d_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_\u0135a_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,n){return e>11?n?"p.t.m.":"P.T.M.":n?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodia\u016d je] LT",nextDay:"[Morga\u016d je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hiera\u016d je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"anta\u016d %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(n("wd/R"))},ZgVP:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function c(e,t,n){return(c=l()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&s(r,n.prototype),r}).apply(null,arguments)}function d(e){var t="function"==typeof Map?new Map:void 0;return(d=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return c(e,arguments,o(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s(n,e)})(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function p(e){var t=0;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e)))return function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}};throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}Object.defineProperty(t,"__esModule",{value:!0});var h=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(d(Error)),m=function(e){function t(t){return e.call(this,"Invalid DateTime: "+t.toMessage())||this}return a(t,e),t}(h),g=function(e){function t(t){return e.call(this,"Invalid Interval: "+t.toMessage())||this}return a(t,e),t}(h),f=function(e){function t(t){return e.call(this,"Invalid Duration: "+t.toMessage())||this}return a(t,e),t}(h),v=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(h),y=function(e){function t(t){return e.call(this,"Invalid unit "+t)||this}return a(t,e),t}(h),b=function(e){function t(){return e.apply(this,arguments)||this}return a(t,e),t}(h),x=function(e){function t(){return e.call(this,"Zone is an abstract class")||this}return a(t,e),t}(h),_="numeric",w="short",S="long",C={year:_,month:_,day:_},k={year:_,month:w,day:_},O={year:_,month:S,day:_},E={year:_,month:S,day:_,weekday:S},M={hour:_,minute:_},I={hour:_,minute:_,second:_},P={hour:_,minute:_,second:_,timeZoneName:w},T={hour:_,minute:_,second:_,timeZoneName:S},D={hour:_,minute:_,hour12:!1},L={hour:_,minute:_,second:_,hour12:!1},R={hour:_,minute:_,second:_,hour12:!1,timeZoneName:w},j={hour:_,minute:_,second:_,hour12:!1,timeZoneName:S},A={year:_,month:_,day:_,hour:_,minute:_},F={year:_,month:_,day:_,hour:_,minute:_,second:_},B={year:_,month:w,day:_,hour:_,minute:_},z={year:_,month:w,day:_,hour:_,minute:_,second:_},N={year:_,month:w,day:_,weekday:w,hour:_,minute:_},H={year:_,month:S,day:_,hour:_,minute:_,timeZoneName:w},V={year:_,month:S,day:_,hour:_,minute:_,second:_,timeZoneName:w},Y={year:_,month:S,day:_,weekday:S,hour:_,minute:_,timeZoneName:S},W={year:_,month:S,day:_,weekday:S,hour:_,minute:_,second:_,timeZoneName:S};function G(e){return void 0===e}function U(e){return"number"==typeof e}function q(e){return"number"==typeof e&&e%1==0}function Z(){try{return"undefined"!=typeof Intl&&Intl.DateTimeFormat}catch(e){return!1}}function $(){return!G(Intl.DateTimeFormat.prototype.formatToParts)}function X(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function K(e,t,n){if(0!==e.length)return e.reduce(function(e,i){var r=[t(i),i];return e&&n(e[0],r[0])===e[0]?e:r},null)[1]}function J(e,t){return t.reduce(function(t,n){return t[n]=e[n],t},{})}function Q(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ee(e,t,n){return q(e)&&e>=t&&e<=n}function te(e,t){return void 0===t&&(t=2),e.toString().length<t?("0".repeat(t)+e).slice(-t):e.toString()}function ne(e){return G(e)||null===e||""===e?void 0:parseInt(e,10)}function ie(e){if(!G(e)&&null!==e&&""!==e){var t=1e3*parseFloat("0."+e);return Math.floor(t)}}function re(e,t,n){void 0===n&&(n=!1);var i=Math.pow(10,t);return(n?Math.trunc:Math.round)(e*i)/i}function ae(e){return e%4==0&&(e%100!=0||e%400==0)}function oe(e){return ae(e)?366:365}function se(e,t){var n,i=(n=t-1)-12*Math.floor(n/12)+1;return 2===i?ae(e+(t-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function le(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(t.getUTCFullYear()-1900),+t}function ce(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,i=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===t||3===i?53:52}function de(e){return e>99?e:e>60?1900+e:2e3+e}function ue(e,t,n,i){void 0===i&&(i=null);var r=new Date(e),a={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(a.timeZone=i);var o=Object.assign({timeZoneName:t},a),s=Z();if(s&&$()){var l=new Intl.DateTimeFormat(n,o).formatToParts(r).find(function(e){return"timezonename"===e.type.toLowerCase()});return l?l.value:null}if(s){var c=new Intl.DateTimeFormat(n,a).format(r);return new Intl.DateTimeFormat(n,o).format(r).substring(c.length).replace(/^[, \u200e]+/,"")}return null}function pe(e,t){var n=parseInt(e,10);Number.isNaN(n)&&(n=0);var i=parseInt(t,10)||0;return 60*n+(n<0||Object.is(n,-0)?-i:i)}function he(e){var t=Number(e);if("boolean"==typeof e||""===e||Number.isNaN(t))throw new b("Invalid unit value "+e);return t}function me(e,t,n){var i={};for(var r in e)if(Q(e,r)){if(n.indexOf(r)>=0)continue;var a=e[r];if(null==a)continue;i[t(r)]=he(a)}return i}function ge(e,t){var n=Math.trunc(e/60),i=Math.abs(e%60),r=n>=0&&!Object.is(n,-0)?"+":"-",a=""+r+Math.abs(n);switch(t){case"short":return""+r+te(Math.abs(n),2)+":"+te(i,2);case"narrow":return i>0?a+":"+i:a;case"techie":return""+r+te(Math.abs(n),2)+te(i,2);default:throw new RangeError("Value format "+t+" is out of range for property format")}}function fe(e){return J(e,["hour","minute","second","millisecond"])}var ve=/[A-Za-z_+-]{1,256}(:?\/[A-Za-z_+-]{1,256}(\/[A-Za-z_+-]{1,256})?)?/;function ye(e){return JSON.stringify(e,Object.keys(e).sort())}var be=["January","February","March","April","May","June","July","August","September","October","November","December"],xe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],_e=["J","F","M","A","M","J","J","A","S","O","N","D"];function we(e){switch(e){case"narrow":return _e;case"short":return xe;case"long":return be;case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Se=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ce=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ke=["M","T","W","T","F","S","S"];function Oe(e){switch(e){case"narrow":return ke;case"short":return Ce;case"long":return Se;case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Ee=["AM","PM"],Me=["Before Christ","Anno Domini"],Ie=["BC","AD"],Pe=["B","A"];function Te(e){switch(e){case"narrow":return Pe;case"short":return Ie;case"long":return Me;default:return null}}function De(e,t){for(var n,i="",r=p(e);!(n=r()).done;){var a=n.value;i+=a.literal?a.val:t(a.val)}return i}var Le={D:C,DD:k,DDD:O,DDDD:E,t:M,tt:I,ttt:P,tttt:T,T:D,TT:L,TTT:R,TTTT:j,f:A,ff:B,fff:H,ffff:Y,F:F,FF:z,FFF:V,FFFF:W},Re=function(){function e(e,t){this.opts=t,this.loc=e,this.systemLoc=null}e.create=function(t,n){return void 0===n&&(n={}),new e(t,n)},e.parseFormat=function(e){for(var t=null,n="",i=!1,r=[],a=0;a<e.length;a++){var o=e.charAt(a);"'"===o?(n.length>0&&r.push({literal:i,val:n}),t=null,n="",i=!i):i||o===t?n+=o:(n.length>0&&r.push({literal:!1,val:n}),n=o,t=o)}return n.length>0&&r.push({literal:i,val:n}),r},e.macroTokenToFormatOpts=function(e){return Le[e]};var t=e.prototype;return t.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,Object.assign({},this.opts,t)).format()},t.formatDateTime=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).format()},t.formatDateTimeParts=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).formatToParts()},t.resolvedOptions=function(e,t){return void 0===t&&(t={}),this.loc.dtFormatter(e,Object.assign({},this.opts,t)).resolvedOptions()},t.num=function(e,t){if(void 0===t&&(t=0),this.opts.forceSimple)return te(e,t);var n=Object.assign({},this.opts);return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)},t.formatDateTimeFromString=function(t,n){var i=this,r="en"===this.loc.listingMode(),a=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar&&$(),o=function(e,n){return i.loc.extract(t,e,n)},s=function(e){return t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):""},l=function(e,n){return r?function(e,t){return we(t)[e.month-1]}(t,e):o(n?{month:e}:{month:e,day:"numeric"},"month")},c=function(e,n){return r?function(e,t){return Oe(t)[e.weekday-1]}(t,e):o(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},d=function(e){return r?function(e,t){return Te(t)[e.year<0?0:1]}(t,e):o({era:e},"era")};return De(e.parseFormat(n),function(n){switch(n){case"S":return i.num(t.millisecond);case"u":case"SSS":return i.num(t.millisecond,3);case"s":return i.num(t.second);case"ss":return i.num(t.second,2);case"m":return i.num(t.minute);case"mm":return i.num(t.minute,2);case"h":return i.num(t.hour%12==0?12:t.hour%12);case"hh":return i.num(t.hour%12==0?12:t.hour%12,2);case"H":return i.num(t.hour);case"HH":return i.num(t.hour,2);case"Z":return s({format:"narrow",allowZ:i.opts.allowZ});case"ZZ":return s({format:"short",allowZ:i.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:i.opts.allowZ});case"ZZZZ":return console.log(t.zone),t.zone.offsetName(t.ts,{format:"short",locale:i.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:i.loc.locale});case"z":return t.zoneName;case"a":return r?function(e){return Ee[e.hour<12?0:1]}(t):o({hour:"numeric",hour12:!0},"dayperiod");case"d":return a?o({day:"numeric"},"day"):i.num(t.day);case"dd":return a?o({day:"2-digit"},"day"):i.num(t.day,2);case"c":return i.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return i.num(t.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return a?o({month:"numeric",day:"numeric"},"month"):i.num(t.month);case"LL":return a?o({month:"2-digit",day:"numeric"},"month"):i.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return a?o({month:"numeric"},"month"):i.num(t.month);case"MM":return a?o({month:"2-digit"},"month"):i.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return a?o({year:"numeric"},"year"):i.num(t.year);case"yy":return a?o({year:"2-digit"},"year"):i.num(t.year.toString().slice(-2),2);case"yyyy":return a?o({year:"numeric"},"year"):i.num(t.year,4);case"yyyyyy":return a?o({year:"numeric"},"year"):i.num(t.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return i.num(t.weekYear.toString().slice(-2),2);case"kkkk":return i.num(t.weekYear,4);case"W":return i.num(t.weekNumber);case"WW":return i.num(t.weekNumber,2);case"o":return i.num(t.ordinal);case"ooo":return i.num(t.ordinal,3);case"q":return i.num(t.quarter);case"qq":return i.num(t.quarter,2);case"X":return i.num(Math.floor(t.ts/1e3));case"x":return i.num(t.ts);default:return function(n){var r=e.macroTokenToFormatOpts(n);return r?i.formatWithSystemDefault(t,r):n}(n)}})},t.formatDurationFromString=function(t,n){var i,r=this,a=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},o=e.parseFormat(n),s=o.reduce(function(e,t){return t.literal?e:e.concat(t.val)},[]),l=t.shiftTo.apply(t,s.map(a).filter(function(e){return e}));return De(o,(i=l,function(e){var t=a(e);return t?r.num(i.get(t),e.length):e}))},e}(),je=function(){function e(e,t){this.reason=e,this.explanation=t}return e.prototype.toMessage=function(){return this.explanation?this.reason+": "+this.explanation:this.reason},e}(),Ae=function(){function e(){}var t=e.prototype;return t.offsetName=function(e,t){throw new x},t.formatOffset=function(e,t){throw new x},t.offset=function(e){throw new x},t.equals=function(e){throw new x},r(e,[{key:"type",get:function(){throw new x}},{key:"name",get:function(){throw new x}},{key:"universal",get:function(){throw new x}},{key:"isValid",get:function(){throw new x}}]),e}(),Fe=null,Be=function(e){function t(){return e.apply(this,arguments)||this}a(t,e);var n=t.prototype;return n.offsetName=function(e,t){return ue(e,t.format,t.locale)},n.formatOffset=function(e,t){return ge(this.offset(e),t)},n.offset=function(e){return-new Date(e).getTimezoneOffset()},n.equals=function(e){return"local"===e.type},r(t,[{key:"type",get:function(){return"local"}},{key:"name",get:function(){return Z()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===Fe&&(Fe=new t),Fe}}]),t}(Ae),ze=RegExp("^"+ve.source+"$"),Ne={},He={year:0,month:1,day:2,hour:3,minute:4,second:5},Ve={},Ye=function(e){function t(n){var i;return(i=e.call(this)||this).zoneName=n,i.valid=t.isValidZone(n),i}a(t,e),t.create=function(e){return Ve[e]||(Ve[e]=new t(e)),Ve[e]},t.resetCache=function(){Ve={},Ne={}},t.isValidSpecifier=function(e){return!(!e||!e.match(ze))},t.isValidZone=function(e){try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(t){return!1}},t.parseGMTOffset=function(e){if(e){var t=e.match(/^Etc\/GMT([+-]\d{1,2})$/i);if(t)return-60*parseInt(t[1])}return null};var n=t.prototype;return n.offsetName=function(e,t){return ue(e,t.format,t.locale,this.name)},n.formatOffset=function(e,t){return ge(this.offset(e),t)},n.offset=function(e){var t,n=new Date(e),i=(Ne[t=this.name]||(Ne[t]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),Ne[t]),r=i.formatToParts?function(e,t){for(var n=e.formatToParts(t),i=[],r=0;r<n.length;r++){var a=n[r],o=a.value,s=He[a.type];G(s)||(i[s]=parseInt(o,10))}return i}(i,n):function(e,t){var n=e.format(t).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[i[3],i[1],i[2],i[4],i[5],i[6]]}(i,n),a=r[3],o=+n,s=o%1e3;return(le({year:r[0],month:r[1],day:r[2],hour:24===a?0:a,minute:r[4],second:r[5],millisecond:0})-(o-=s>=0?s:1e3+s))/6e4},n.equals=function(e){return"iana"===e.type&&e.name===this.name},r(t,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),t}(Ae),We=null,Ge=function(e){function t(t){var n;return(n=e.call(this)||this).fixed=t,n}a(t,e),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){if(e){var n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new t(pe(n[1],n[2]))}return null},r(t,null,[{key:"utcInstance",get:function(){return null===We&&(We=new t(0)),We}}]);var n=t.prototype;return n.offsetName=function(){return this.name},n.formatOffset=function(e,t){return ge(this.fixed,t)},n.offset=function(){return this.fixed},n.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},r(t,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+ge(this.fixed,"narrow")}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),t}(Ae),Ue=function(e){function t(t){var n;return(n=e.call(this)||this).zoneName=t,n}a(t,e);var n=t.prototype;return n.offsetName=function(){return null},n.formatOffset=function(){return""},n.offset=function(){return NaN},n.equals=function(){return!1},r(t,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}]),t}(Ae);function qe(e,t){var n;if(G(e)||null===e)return t;if(e instanceof Ae)return e;if("string"==typeof e){var i=e.toLowerCase();return"local"===i?t:"utc"===i||"gmt"===i?Ge.utcInstance:null!=(n=Ye.parseGMTOffset(e))?Ge.instance(n):Ye.isValidSpecifier(i)?Ye.create(e):Ge.parseSpecifier(i)||new Ue(e)}return U(e)?Ge.instance(e):"object"==typeof e&&e.offset&&"number"==typeof e.offset?e:new Ue(e)}var Ze=function(){return Date.now()},$e=null,Xe=null,Ke=null,Je=null,Qe=!1,et=function(){function e(){}return e.resetCaches=function(){dt.resetCache(),Ye.resetCache()},r(e,null,[{key:"now",get:function(){return Ze},set:function(e){Ze=e}},{key:"defaultZoneName",get:function(){return e.defaultZone.name},set:function(e){$e=e?qe(e):null}},{key:"defaultZone",get:function(){return $e||Be.instance}},{key:"defaultLocale",get:function(){return Xe},set:function(e){Xe=e}},{key:"defaultNumberingSystem",get:function(){return Ke},set:function(e){Ke=e}},{key:"defaultOutputCalendar",get:function(){return Je},set:function(e){Je=e}},{key:"throwOnInvalid",get:function(){return Qe},set:function(e){Qe=e}}]),e}(),tt={};function nt(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),i=tt[n];return i||(i=new Intl.DateTimeFormat(e,t),tt[n]=i),i}var it={},rt={},at=null;function ot(e,t,n,i,r){var a=e.listingMode(n);return"error"===a?null:"en"===a?i(t):r(t)}var st=function(){function e(e,t,n){if(this.padTo=n.padTo||0,this.floor=n.floor||!1,!t&&Z()){var i={useGrouping:!1};n.padTo>0&&(i.minimumIntegerDigits=n.padTo),this.inf=function(e,t){void 0===t&&(t={});var n=JSON.stringify([e,t]),i=it[n];return i||(i=new Intl.NumberFormat(e,t),it[n]=i),i}(e,i)}}return e.prototype.format=function(e){if(this.inf){var t=this.floor?Math.floor(e):e;return this.inf.format(t)}return te(this.floor?Math.floor(e):re(e,3),this.padTo)},e}(),lt=function(){function e(e,t,n){var i;if(this.opts=n,this.hasIntl=Z(),e.zone.universal&&this.hasIntl?(i="UTC",this.dt=n.timeZoneName||0===e.offset?e:ai.fromMillis(e.ts+60*e.offset*1e3)):"local"===e.zone.type?this.dt=e:(this.dt=e,i=e.zone.name),this.hasIntl){var r=Object.assign({},this.opts);i&&(r.timeZone=i),this.dtf=nt(t,r)}}var t=e.prototype;return t.format=function(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());var e=function(e){var t="EEEE, LLLL d, yyyy, h:mm a";switch(ye(J(e,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]))){case ye(C):return"M/d/yyyy";case ye(k):return"LLL d, yyyy";case ye(O):return"LLLL d, yyyy";case ye(E):return"EEEE, LLLL d, yyyy";case ye(M):return"h:mm a";case ye(I):return"h:mm:ss a";case ye(P):case ye(T):return"h:mm a";case ye(D):return"HH:mm";case ye(L):return"HH:mm:ss";case ye(R):case ye(j):return"HH:mm";case ye(A):return"M/d/yyyy, h:mm a";case ye(B):return"LLL d, yyyy, h:mm a";case ye(H):return"LLLL d, yyyy, h:mm a";case ye(Y):return t;case ye(F):return"M/d/yyyy, h:mm:ss a";case ye(z):return"LLL d, yyyy, h:mm:ss a";case ye(N):return"EEE, d LLL yyyy, h:mm a";case ye(V):return"LLLL d, yyyy, h:mm:ss a";case ye(W):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return t}}(this.opts),t=dt.create("en-US");return Re.create(t).formatDateTimeFromString(this.dt,e)},t.formatToParts=function(){return this.hasIntl&&$()?this.dtf.formatToParts(this.dt.toJSDate()):[]},t.resolvedOptions=function(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}},e}(),ct=function(){function e(e,t,n){this.opts=Object.assign({style:"long"},n),!t&&X()&&(this.rtf=function(e,t){void 0===t&&(t={});var n=function(e,t){if(null==e)return{};var n,i,r={},a=Object.keys(e);for(i=0;i<a.length;i++)t.indexOf(n=a[i])>=0||(r[n]=e[n]);return r}(t,["base"]),i=JSON.stringify([e,n]),r=rt[i];return r||(r=new Intl.RelativeTimeFormat(e,t),rt[i]=r),r}(e,n))}var t=e.prototype;return t.format=function(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,n,i){void 0===n&&(n="always"),void 0===i&&(i=!1);var r={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},a=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===n&&a){var o="days"===e;switch(t){case 1:return o?"tomorrow":"next "+r[e][0];case-1:return o?"yesterday":"last "+r[e][0];case 0:return o?"today":"this "+r[e][0]}}var s=Object.is(t,-0)||t<0,l=Math.abs(t),c=1===l,d=r[e],u=i?c?d[1]:d[2]||d[1]:c?r[e][0]:e;return s?l+" "+u+" ago":"in "+l+" "+u}(t,e,this.opts.numeric,"long"!==this.opts.style)},t.formatToParts=function(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]},e}(),dt=function(){function e(e,t,n,i){var r=function(e){var t=e.indexOf("-u-");if(-1===t)return[e];var n,i=e.substring(0,t);try{n=nt(e).resolvedOptions()}catch(r){n=nt(i).resolvedOptions()}return[i,n.numberingSystem,n.calendar]}(e),a=r[1],o=r[2];this.locale=r[0],this.numberingSystem=t||a||null,this.outputCalendar=n||o||null,this.intl=function(e,t,n){return Z()?n||t?(e+="-u",n&&(e+="-ca-"+n),t&&(e+="-nu-"+t),e):e:[]}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}e.fromOpts=function(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)},e.create=function(t,n,i,r){void 0===r&&(r=!1);var a=t||et.defaultLocale;return new e(a||(r?"en-US":function(){if(at)return at;if(Z()){var e=(new Intl.DateTimeFormat).resolvedOptions().locale;return at=e&&"und"!==e?e:"en-US"}return at="en-US"}()),n||et.defaultNumberingSystem,i||et.defaultOutputCalendar,a)},e.resetCache=function(){at=null,tt={},it={},rt={}},e.fromObject=function(t){var n=void 0===t?{}:t;return e.create(n.locale,n.numberingSystem,n.outputCalendar)};var t=e.prototype;return t.listingMode=function(e){void 0===e&&(e=!0);var t=Z()&&$(),n=this.isEnglish(),i=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t||n&&i||e?!t||n&&i?"en":"intl":"error"},t.clone=function(t){return t&&0!==Object.getOwnPropertyNames(t).length?e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this},t.redefaultToEN=function(e){return void 0===e&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!0}))},t.redefaultToSystem=function(e){return void 0===e&&(e={}),this.clone(Object.assign({},e,{defaultToEN:!1}))},t.months=function(e,t,n){var i=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),ot(this,e,n,we,function(){var n=t?{month:e,day:"numeric"}:{month:e},r=t?"format":"standalone";return i.monthsCache[r][e]||(i.monthsCache[r][e]=function(e){for(var t=[],n=1;n<=12;n++){var i=ai.utc(2016,n,1);t.push(e(i))}return t}(function(e){return i.extract(e,n,"month")})),i.monthsCache[r][e]})},t.weekdays=function(e,t,n){var i=this;return void 0===t&&(t=!1),void 0===n&&(n=!0),ot(this,e,n,Oe,function(){var n=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},r=t?"format":"standalone";return i.weekdaysCache[r][e]||(i.weekdaysCache[r][e]=function(e){for(var t=[],n=1;n<=7;n++){var i=ai.utc(2016,11,13+n);t.push(e(i))}return t}(function(e){return i.extract(e,n,"weekday")})),i.weekdaysCache[r][e]})},t.meridiems=function(e){var t=this;return void 0===e&&(e=!0),ot(this,void 0,e,function(){return Ee},function(){if(!t.meridiemCache){var e={hour:"numeric",hour12:!0};t.meridiemCache=[ai.utc(2016,11,13,9),ai.utc(2016,11,13,19)].map(function(n){return t.extract(n,e,"dayperiod")})}return t.meridiemCache})},t.eras=function(e,t){var n=this;return void 0===t&&(t=!0),ot(this,e,t,Te,function(){var t={era:e};return n.eraCache[e]||(n.eraCache[e]=[ai.utc(-40,1,1),ai.utc(2017,1,1)].map(function(e){return n.extract(e,t,"era")})),n.eraCache[e]})},t.extract=function(e,t,n){var i=this.dtFormatter(e,t).formatToParts().find(function(e){return e.type.toLowerCase()===n});return i?i.value:null},t.numberFormatter=function(e){return void 0===e&&(e={}),new st(this.intl,e.forceSimple||this.fastNumbers,e)},t.dtFormatter=function(e,t){return void 0===t&&(t={}),new lt(e,this.intl,t)},t.relFormatter=function(e){return void 0===e&&(e={}),new ct(this.intl,this.isEnglish(),e)},t.isEnglish=function(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Z()&&new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")},t.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},r(e,[{key:"fastNumbers",get:function(){var e;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(e=this).numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||Z()&&"latn"===new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}}]),e}();function ut(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t.reduce(function(e,t){return e+t.source},"");return RegExp("^"+i+"$")}function pt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(t,n){var i=t[0],r=t[1],a=n(e,t[2]),o=a[1],s=a[2];return[Object.assign(i,a[0]),r||o,s]},[{},null,1]).slice(0,2)}}function ht(e){if(null==e)return[null,null];for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r],s=o[0],l=o[1],c=s.exec(e);if(c)return l(c)}return[null,null]}function mt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){var i,r={};for(i=0;i<t.length;i++)r[t[i]]=ne(e[n+i]);return[r,null,n+i]}}var gt=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,ft=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,9}))?)?)?/,vt=RegExp(""+ft.source+gt.source+"?"),yt=RegExp("(?:T"+vt.source+")?"),bt=mt("weekYear","weekNumber","weekDay"),xt=mt("year","ordinal"),_t=RegExp(ft.source+" ?(?:"+gt.source+"|("+ve.source+"))?"),wt=RegExp("(?: "+_t.source+")?");function St(e,t,n){var i=e[t];return G(i)?n:ne(i)}function Ct(e,t){return[{year:St(e,t),month:St(e,t+1,1),day:St(e,t+2,1)},null,t+3]}function kt(e,t){return[{hour:St(e,t,0),minute:St(e,t+1,0),second:St(e,t+2,0),millisecond:ie(e[t+3])},null,t+4]}function Ot(e,t){var n=!e[t]&&!e[t+1],i=pe(e[t+1],e[t+2]);return[{},n?null:Ge.instance(i),t+3]}function Et(e,t){return[{},e[t]?Ye.create(e[t]):null,t+1]}var Mt=/^-?P(?:(?:(-?\d{1,9})Y)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})W)?(?:(-?\d{1,9})D)?(?:T(?:(-?\d{1,9})H)?(?:(-?\d{1,9})M)?(?:(-?\d{1,9})(?:[.,](-?\d{1,9}))?S)?)?)$/;function It(e){var t=e[2],n=e[3],i=e[4],r=e[5],a=e[6],o=e[7],s=e[8],l="-"===e[0][0],c=function(e){return e&&l?-e:e};return[{years:c(ne(e[1])),months:c(ne(t)),weeks:c(ne(n)),days:c(ne(i)),hours:c(ne(r)),minutes:c(ne(a)),seconds:c(ne(o)),milliseconds:c(ie(s))}]}var Pt={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Tt(e,t,n,i,r,a,o){var s={year:2===t.length?de(ne(t)):ne(t),month:xe.indexOf(n)+1,day:ne(i),hour:ne(r),minute:ne(a)};return o&&(s.second=ne(o)),e&&(s.weekday=e.length>3?Se.indexOf(e)+1:Ce.indexOf(e)+1),s}var Dt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Lt(e){var t,n=e[8],i=e[9],r=e[10],a=e[11],o=Tt(e[1],e[4],e[3],e[2],e[5],e[6],e[7]);return t=n?Pt[n]:i?0:pe(r,a),[o,new Ge(t)]}var Rt=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,jt=/^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,At=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ft(e){return[Tt(e[1],e[4],e[3],e[2],e[5],e[6],e[7]),Ge.utcInstance]}function Bt(e){return[Tt(e[1],e[7],e[2],e[3],e[4],e[5],e[6]),Ge.utcInstance]}var zt=ut(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,yt),Nt=ut(/(\d{4})-?W(\d\d)(?:-?(\d))?/,yt),Ht=ut(/(\d{4})-?(\d{3})/,yt),Vt=ut(vt),Yt=pt(Ct,kt,Ot),Wt=pt(bt,kt,Ot),Gt=pt(xt,kt),Ut=pt(kt,Ot),qt=ut(/(\d{4})-(\d\d)-(\d\d)/,wt),Zt=ut(_t),$t=pt(Ct,kt,Ot,Et),Xt=pt(kt,Ot,Et),Kt={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},Jt=Object.assign({years:{months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},Kt),Qt=Object.assign({years:{months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3}},Kt),en=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],tn=en.slice(0).reverse();function nn(e,t,n){void 0===n&&(n=!1);var i={values:n?t.values:Object.assign({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new on(i)}function rn(e,t,n,i,r){var a=e[r][n],o=t[n]/a,s=Math.sign(o)!==Math.sign(i[r])&&0!==i[r]&&Math.abs(o)<=1?function(e){return e<0?Math.floor(e):Math.ceil(e)}(o):Math.trunc(o);i[r]+=s,t[n]-=s*a}function an(e,t){tn.reduce(function(n,i){return G(t[i])?n:(n&&rn(e,t,n,t,i),i)},null)}var on=function(){function e(e){var t="longterm"===e.conversionAccuracy||!1;this.values=e.values,this.loc=e.loc||dt.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=t?Qt:Jt,this.isLuxonDuration=!0}e.fromMillis=function(t,n){return e.fromObject(Object.assign({milliseconds:t},n))},e.fromObject=function(t){if(null==t||"object"!=typeof t)throw new b("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new e({values:me(t,e.normalizeUnit,["locale","numberingSystem","conversionAccuracy","zone"]),loc:dt.fromObject(t),conversionAccuracy:t.conversionAccuracy})},e.fromISO=function(t,n){var i=function(e){return ht(e,[Mt,It])}(t)[0];if(i){var r=Object.assign(i,n);return e.fromObject(r)}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new b("need to specify a reason the Duration is invalid");var i=t instanceof je?t:new je(t,n);if(et.throwOnInvalid)throw new f(i);return new e({invalid:i})},e.normalizeUnit=function(e){var t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new y(e);return t},e.isDuration=function(e){return e&&e.isLuxonDuration||!1};var t=e.prototype;return t.toFormat=function(e,t){void 0===t&&(t={});var n=Object.assign({},t,{floor:!1!==t.round&&!1!==t.floor});return this.isValid?Re.create(this.loc,n).formatDurationFromString(this,e):"Invalid Duration"},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=Object.assign({},this.values);return e.includeConfig&&(t.conversionAccuracy=this.conversionAccuracy,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toISO=function(){if(!this.isValid)return null;var e="P";return 0!==this.years&&(e+=this.years+"Y"),0===this.months&&0===this.quarters||(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(e+=re(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e},t.toJSON=function(){return this.toISO()},t.toString=function(){return this.toISO()},t.valueOf=function(){return this.as("milliseconds")},t.plus=function(e){if(!this.isValid)return this;for(var t,n=sn(e),i={},r=p(en);!(t=r()).done;){var a=t.value;(Q(n.values,a)||Q(this.values,a))&&(i[a]=n.get(a)+this.get(a))}return nn(this,{values:i},!0)},t.minus=function(e){if(!this.isValid)return this;var t=sn(e);return this.plus(t.negate())},t.mapUnits=function(e){if(!this.isValid)return this;for(var t={},n=0,i=Object.keys(this.values);n<i.length;n++){var r=i[n];t[r]=he(e(this.values[r],r))}return nn(this,{values:t},!0)},t.get=function(t){return this[e.normalizeUnit(t)]},t.set=function(t){return this.isValid?nn(this,{values:Object.assign(this.values,me(t,e.normalizeUnit,[]))}):this},t.reconfigure=function(e){var t=void 0===e?{}:e,n=t.conversionAccuracy,i={loc:this.loc.clone({locale:t.locale,numberingSystem:t.numberingSystem})};return n&&(i.conversionAccuracy=n),nn(this,i)},t.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},t.normalize=function(){if(!this.isValid)return this;var e=this.toObject();return an(this.matrix,e),nn(this,{values:e},!0)},t.shiftTo=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];if(!this.isValid)return this;if(0===n.length)return this;n=n.map(function(t){return e.normalizeUnit(t)});var r,a={},o={},s=this.toObject();an(this.matrix,s);for(var l,c=p(en);!(l=c()).done;){var d=l.value;if(n.indexOf(d)>=0){r=d;var u=0;for(var h in o)u+=this.matrix[h][d]*o[h],o[h]=0;U(s[d])&&(u+=s[d]);var m=Math.trunc(u);for(var g in a[d]=m,o[d]=u-m,s)en.indexOf(g)>en.indexOf(d)&&rn(this.matrix,s,g,a,d)}else U(s[d])&&(o[d]=s[d])}for(var f in o)0!==o[f]&&(a[r]+=f===r?o[f]:o[f]/this.matrix[r][f]);return nn(this,{values:a},!0).normalize()},t.negate=function(){if(!this.isValid)return this;for(var e={},t=0,n=Object.keys(this.values);t<n.length;t++){var i=n[t];e[i]=-this.values[i]}return nn(this,{values:e},!0)},t.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(var t,n=p(en);!(t=n()).done;){var i=t.value;if(this.values[i]!==e.values[i])return!1}return!0},r(e,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}();function sn(e){if(U(e))return on.fromMillis(e);if(on.isDuration(e))return e;if("object"==typeof e)return on.fromObject(e);throw new b("Unknown duration argument "+e+" of type "+typeof e)}var ln="Invalid Interval";function cn(e,t){return e&&e.isValid?t&&t.isValid?t<e?dn.invalid("end before start","The end of an interval must be after its start, but you had start="+e.toISO()+" and end="+t.toISO()):null:dn.invalid("missing or invalid end"):dn.invalid("missing or invalid start")}var dn=function(){function e(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new b("need to specify a reason the Interval is invalid");var i=t instanceof je?t:new je(t,n);if(et.throwOnInvalid)throw new g(i);return new e({invalid:i})},e.fromDateTimes=function(t,n){var i=oi(t),r=oi(n),a=cn(i,r);return null==a?new e({start:i,end:r}):a},e.after=function(t,n){var i=sn(n),r=oi(t);return e.fromDateTimes(r,r.plus(i))},e.before=function(t,n){var i=sn(n),r=oi(t);return e.fromDateTimes(r.minus(i),r)},e.fromISO=function(t,n){var i=(t||"").split("/",2),r=i[0],a=i[1];if(r&&a){var o=ai.fromISO(r,n),s=ai.fromISO(a,n);if(o.isValid&&s.isValid)return e.fromDateTimes(o,s);if(o.isValid){var l=on.fromISO(a,n);if(l.isValid)return e.after(o,l)}else if(s.isValid){var c=on.fromISO(r,n);if(c.isValid)return e.before(s,c)}}return e.invalid("unparsable",'the input "'+t+"\" can't be parsed as ISO 8601")},e.isInterval=function(e){return e&&e.isLuxonInterval||!1};var t=e.prototype;return t.length=function(e){return void 0===e&&(e="milliseconds"),this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},t.count=function(e){if(void 0===e&&(e="milliseconds"),!this.isValid)return NaN;var t=this.start.startOf(e),n=this.end.startOf(e);return Math.floor(n.diff(t,e).get(e))+1},t.hasSame=function(e){return!!this.isValid&&this.e.minus(1).hasSame(this.s,e)},t.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},t.isAfter=function(e){return!!this.isValid&&this.s>e},t.isBefore=function(e){return!!this.isValid&&this.e<=e},t.contains=function(e){return!!this.isValid&&this.s<=e&&this.e>e},t.set=function(t){var n=void 0===t?{}:t;return this.isValid?e.fromDateTimes(n.start||this.s,n.end||this.e):this},t.splitAt=function(){var t=this;if(!this.isValid)return[];for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];for(var a=i.map(oi).filter(function(e){return t.contains(e)}).sort(),o=[],s=this.s,l=0;s<this.e;){var c=a[l]||this.e,d=+c>+this.e?this.e:c;o.push(e.fromDateTimes(s,d)),s=d,l+=1}return o},t.splitBy=function(t){var n=sn(t);if(!this.isValid||!n.isValid||0===n.as("milliseconds"))return[];for(var i,r,a=this.s,o=[];a<this.e;)i=a.plus(n),o.push(e.fromDateTimes(a,r=+i>+this.e?this.e:i)),a=r;return o},t.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},t.overlaps=function(e){return this.e>e.s&&this.s<e.e},t.abutsStart=function(e){return!!this.isValid&&+this.e==+e.s},t.abutsEnd=function(e){return!!this.isValid&&+e.e==+this.s},t.engulfs=function(e){return!!this.isValid&&this.s<=e.s&&this.e>=e.e},t.equals=function(e){return!(!this.isValid||!e.isValid)&&this.s.equals(e.s)&&this.e.equals(e.e)},t.intersection=function(t){if(!this.isValid)return this;var n=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return n>i?null:e.fromDateTimes(n,i)},t.union=function(t){return this.isValid?e.fromDateTimes(this.s<t.s?this.s:t.s,this.e>t.e?this.e:t.e):this},e.merge=function(e){var t=e.sort(function(e,t){return e.s-t.s}).reduce(function(e,t){var n=e[0],i=e[1];return i?i.overlaps(t)||i.abutsStart(t)?[n,i.union(t)]:[n.concat([i]),t]:[n,t]},[[],null]),n=t[0],i=t[1];return i&&n.push(i),n},e.xor=function(t){for(var n,i,r=null,a=0,o=[],s=t.map(function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]}),l=p((n=Array.prototype).concat.apply(n,s).sort(function(e,t){return e.time-t.time}));!(i=l()).done;){var c=i.value;1===(a+="s"===c.type?1:-1)?r=c.time:(r&&+r!=+c.time&&o.push(e.fromDateTimes(r,c.time)),r=null)}return e.merge(o)},t.difference=function(){for(var t=this,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return e.xor([this].concat(i)).map(function(e){return t.intersection(e)}).filter(function(e){return e&&!e.isEmpty()})},t.toString=function(){return this.isValid?"["+this.s.toISO()+" \u2013 "+this.e.toISO()+")":ln},t.toISO=function(e){return this.isValid?this.s.toISO(e)+"/"+this.e.toISO(e):ln},t.toISODate=function(){return this.isValid?this.s.toISODate()+"/"+this.e.toISODate():ln},t.toISOTime=function(e){return this.isValid?this.s.toISOTime(e)+"/"+this.e.toISOTime(e):ln},t.toFormat=function(e,t){var n=(void 0===t?{}:t).separator,i=void 0===n?" \u2013 ":n;return this.isValid?""+this.s.toFormat(e)+i+this.e.toFormat(e):ln},t.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):on.invalid(this.invalidReason)},t.mapEndpoints=function(t){return e.fromDateTimes(t(this.s),t(this.e))},r(e,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}}]),e}(),un=function(){function e(){}return e.hasDST=function(e){void 0===e&&(e=et.defaultZone);var t=ai.local().setZone(e).set({month:12});return!e.universal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return Ye.isValidSpecifier(e)&&Ye.isValidZone(e)},e.normalizeZone=function(e){return qe(e,et.defaultZone)},e.months=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,i=n.locale,r=n.numberingSystem,a=n.outputCalendar;return dt.create(void 0===i?null:i,void 0===r?null:r,void 0===a?"gregory":a).months(e)},e.monthsFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,i=n.locale,r=n.numberingSystem,a=n.outputCalendar;return dt.create(void 0===i?null:i,void 0===r?null:r,void 0===a?"gregory":a).months(e,!0)},e.weekdays=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,i=n.locale,r=n.numberingSystem;return dt.create(void 0===i?null:i,void 0===r?null:r,null).weekdays(e)},e.weekdaysFormat=function(e,t){void 0===e&&(e="long");var n=void 0===t?{}:t,i=n.locale,r=n.numberingSystem;return dt.create(void 0===i?null:i,void 0===r?null:r,null).weekdays(e,!0)},e.meridiems=function(e){var t=(void 0===e?{}:e).locale;return dt.create(void 0===t?null:t).meridiems()},e.eras=function(e,t){void 0===e&&(e="short");var n=(void 0===t?{}:t).locale;return dt.create(void 0===n?null:n,null,"gregory").eras(e)},e.features=function(){var e=!1,t=!1,n=!1,i=!1;if(Z()){e=!0,t=$(),i=X();try{n="America/New_York"===new Intl.DateTimeFormat("en",{timeZone:"America/New_York"}).resolvedOptions().timeZone}catch(r){n=!1}}return{intl:e,intlTokens:t,zones:n,relative:i}},e}();function pn(e,t){var n=function(e){return e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},i=n(t)-n(e);return Math.floor(on.fromMillis(i).as("days"))}var hn={arab:"[\u0660-\u0669]",arabext:"[\u06f0-\u06f9]",bali:"[\u1b50-\u1b59]",beng:"[\u09e6-\u09ef]",deva:"[\u0966-\u096f]",fullwide:"[\uff10-\uff19]",gujr:"[\u0ae6-\u0aef]",hanidec:"[\u3007|\u4e00|\u4e8c|\u4e09|\u56db|\u4e94|\u516d|\u4e03|\u516b|\u4e5d]",khmr:"[\u17e0-\u17e9]",knda:"[\u0ce6-\u0cef]",laoo:"[\u0ed0-\u0ed9]",limb:"[\u1946-\u194f]",mlym:"[\u0d66-\u0d6f]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0b66-\u0b6f]",tamldec:"[\u0be6-\u0bef]",telu:"[\u0c66-\u0c6f]",thai:"[\u0e50-\u0e59]",tibt:"[\u0f20-\u0f29]",latn:"\\d"},mn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},gn=hn.hanidec.replace(/[\[|\]]/g,"").split("");function fn(e,t){return void 0===t&&(t=""),new RegExp(""+hn[e.numberingSystem||"latn"]+t)}function vn(e,t){return void 0===t&&(t=function(e){return e}),{regex:e,deser:function(e){return t(function(e){var t=parseInt(e,10);if(isNaN(t)){t="";for(var n=0;n<e.length;n++){var i=e.charCodeAt(n);if(-1!==e[n].search(hn.hanidec))t+=gn.indexOf(e[n]);else for(var r in mn){var a=mn[r],o=a[0];i>=o&&i<=a[1]&&(t+=i-o)}}return parseInt(t,10)}return t}(e[0]))}}}function yn(e){return e.replace(/\./,"\\.?")}function bn(e){return e.replace(/\./,"").toLowerCase()}function xn(e,t){return null===e?null:{regex:RegExp(e.map(yn).join("|")),deser:function(n){var i=n[0];return e.findIndex(function(e){return bn(i)===bn(e)})+t}}}function _n(e,t){return{regex:e,deser:function(e){return pe(e[1],e[2])},groups:t}}function wn(e){return{regex:e,deser:function(e){return e[0]}}}var Sn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}},Cn=null;function kn(e,t,n){var i=function(e,t){var n;return(n=Array.prototype).concat.apply(n,e.map(function(e){return function(e,t){if(e.literal)return e;var n=Re.macroTokenToFormatOpts(e.val);if(!n)return e;var i=Re.create(t,n).formatDateTimeParts((Cn||(Cn=ai.fromMillis(1555555555555)),Cn)).map(function(e){return function(e,t,n){var i=e.type;if("literal"===i)return{literal:!0,val:e.value};var r=Sn[i];return"object"==typeof r&&(r=r[n[i]]),r?{literal:!1,val:r}:void 0}(e,0,n)});return i.includes(void 0)?e:i}(e,t)}))}(Re.parseFormat(n),e),r=i.map(function(t){return n=t,r=fn(i=e),a=fn(i,"{2}"),o=fn(i,"{3}"),s=fn(i,"{4}"),l=fn(i,"{6}"),c=fn(i,"{1,2}"),d=fn(i,"{1,3}"),u=fn(i,"{1,6}"),p=fn(i,"{1,9}"),h=fn(i,"{2,4}"),m=fn(i,"{4,6}"),g=function(e){return{regex:RegExp((t=e.val,t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:function(e){return e[0]},literal:!0};var t},(f=function(e){if(n.literal)return g(e);switch(e.val){case"G":return xn(i.eras("short",!1),0);case"GG":return xn(i.eras("long",!1),0);case"y":return vn(u);case"yy":return vn(h,de);case"yyyy":return vn(s);case"yyyyy":return vn(m);case"yyyyyy":return vn(l);case"M":return vn(c);case"MM":return vn(a);case"MMM":return xn(i.months("short",!0,!1),1);case"MMMM":return xn(i.months("long",!0,!1),1);case"L":return vn(c);case"LL":return vn(a);case"LLL":return xn(i.months("short",!1,!1),1);case"LLLL":return xn(i.months("long",!1,!1),1);case"d":return vn(c);case"dd":return vn(a);case"o":return vn(d);case"ooo":return vn(o);case"HH":return vn(a);case"H":return vn(c);case"hh":return vn(a);case"h":return vn(c);case"mm":return vn(a);case"m":case"q":return vn(c);case"qq":return vn(a);case"s":return vn(c);case"ss":return vn(a);case"S":return vn(d);case"SSS":return vn(o);case"u":return wn(p);case"a":return xn(i.meridiems(),0);case"kkkk":return vn(s);case"kk":return vn(h,de);case"W":return vn(c);case"WW":return vn(a);case"E":case"c":return vn(r);case"EEE":return xn(i.weekdays("short",!1,!1),1);case"EEEE":return xn(i.weekdays("long",!1,!1),1);case"ccc":return xn(i.weekdays("short",!0,!1),1);case"cccc":return xn(i.weekdays("long",!0,!1),1);case"Z":case"ZZ":return _n(new RegExp("([+-]"+c.source+")(?::("+a.source+"))?"),2);case"ZZZ":return _n(new RegExp("([+-]"+c.source+")("+a.source+")?"),2);case"z":return wn(/[a-z_+-/]{1,256}?/i);default:return g(e)}}(n)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"}).token=n,f;var n,i,r,a,o,s,l,c,d,u,p,h,m,g,f}),a=r.find(function(e){return e.invalidReason});if(a)return{input:t,tokens:i,invalidReason:a.invalidReason};var o=function(e){return["^"+e.map(function(e){return e.regex}).reduce(function(e,t){return e+"("+t.source+")"},"")+"$",e]}(r),s=o[1],l=RegExp(o[0],"i"),c=function(e,t,n){var i=e.match(t);if(i){var r={},a=1;for(var o in n)if(Q(n,o)){var s=n[o],l=s.groups?s.groups+1:1;!s.literal&&s.token&&(r[s.token.val[0]]=s.deser(i.slice(a,a+l))),a+=l}return[i,r]}return[i,{}]}(t,l,s),d=c[0],u=c[1],p=u?function(e){var t;return t=G(e.Z)?G(e.z)?null:Ye.create(e.z):new Ge(e.Z),G(e.q)||(e.M=3*(e.q-1)+1),G(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),G(e.u)||(e.S=ie(e.u)),[Object.keys(e).reduce(function(t,n){var i=function(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}}(n);return i&&(t[i]=e[n]),t},{}),t]}(u):[null,null],h=p[0],m=p[1];if(Q(u,"a")&&Q(u,"H"))throw new v("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:i,regex:l,rawMatches:d,matches:u,result:h,zone:m}}var On=[0,31,59,90,120,151,181,212,243,273,304,334],En=[0,31,60,91,121,152,182,213,244,274,305,335];function Mn(e,t){return new je("unit out of range","you specified "+t+" (of type "+typeof t+") as a "+e+", which is invalid")}function In(e,t,n){var i=new Date(Date.UTC(e,t-1,n)).getUTCDay();return 0===i?7:i}function Pn(e,t,n){return n+(ae(e)?En:On)[t-1]}function Tn(e,t){var n=ae(e)?En:On,i=n.findIndex(function(e){return e<t});return{month:i+1,day:t-n[i]}}function Dn(e){var t,n=e.year,i=e.month,r=e.day,a=Pn(n,i,r),o=In(n,i,r),s=Math.floor((a-o+10)/7);return s<1?s=ce(t=n-1):s>ce(n)?(t=n+1,s=1):t=n,Object.assign({weekYear:t,weekNumber:s,weekday:o},fe(e))}function Ln(e){var t,n=e.weekYear,i=e.weekNumber,r=e.weekday,a=In(n,1,4),o=oe(n),s=7*i+r-a-3;s<1?s+=oe(t=n-1):s>o?(t=n+1,s-=oe(n)):t=n;var l=Tn(t,s);return Object.assign({year:t,month:l.month,day:l.day},fe(e))}function Rn(e){var t=e.year,n=Pn(t,e.month,e.day);return Object.assign({year:t,ordinal:n},fe(e))}function jn(e){var t=e.year,n=Tn(t,e.ordinal);return Object.assign({year:t,month:n.month,day:n.day},fe(e))}function An(e){var t=q(e.year),n=ee(e.month,1,12),i=ee(e.day,1,se(e.year,e.month));return t?n?!i&&Mn("day",e.day):Mn("month",e.month):Mn("year",e.year)}function Fn(e){var t=e.hour,n=e.minute,i=e.second,r=e.millisecond,a=ee(t,0,23)||24===t&&0===n&&0===i&&0===r,o=ee(n,0,59),s=ee(i,0,59),l=ee(r,0,999);return a?o?s?!l&&Mn("millisecond",r):Mn("second",i):Mn("minute",n):Mn("hour",t)}var Bn="Invalid DateTime",zn=864e13;function Nn(e){return new je("unsupported zone",'the zone "'+e.name+'" is not supported')}function Hn(e){return null===e.weekData&&(e.weekData=Dn(e.c)),e.weekData}function Vn(e,t){var n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new ai(Object.assign({},n,t,{old:n}))}function Yn(e,t,n){var i=e-60*t*1e3,r=n.offset(i);if(t===r)return[i,t];var a=n.offset(i-=60*(r-t)*1e3);return r===a?[i,r]:[e-60*Math.min(r,a)*1e3,Math.max(r,a)]}function Wn(e,t){var n=new Date(e+=60*t*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Gn(e,t,n){return Yn(le(e),t,n)}function Un(e,t){var n,i=Object.keys(t.values);-1===i.indexOf("milliseconds")&&i.push("milliseconds"),t=(n=t).shiftTo.apply(n,i);var r=e.o,a=e.c.year+t.years,o=e.c.month+t.months+3*t.quarters,s=Object.assign({},e.c,{year:a,month:o,day:Math.min(e.c.day,se(a,o))+t.days+7*t.weeks}),l=on.fromObject({hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),c=Yn(le(s),r,e.zone),d=c[0],u=c[1];return 0!==l&&(u=e.zone.offset(d+=l)),{ts:d,o:u}}function qn(e,t,n,i,r){var a=n.setZone,o=n.zone;if(e&&0!==Object.keys(e).length){var s=ai.fromObject(Object.assign(e,n,{zone:t||o,setZone:void 0}));return a?s:s.setZone(o)}return ai.invalid(new je("unparsable",'the input "'+r+"\" can't be parsed as "+i))}function Zn(e,t,n){return void 0===n&&(n=!0),e.isValid?Re.create(dt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function $n(e,t){var n=t.suppressSeconds,i=t.suppressMilliseconds,r=t.includeOffset,a=t.includeZone,o=void 0!==a&&a,s=t.spaceZone,l=t.format,c=void 0===l?"extended":l,d="basic"===c?"HHmm":"HH:mm";return void 0!==n&&n&&0===e.second&&0===e.millisecond||(d+="basic"===c?"ss":":ss",void 0!==i&&i&&0===e.millisecond||(d+=".SSS")),(o||r)&&void 0!==s&&s&&(d+=" "),o?d+="z":r&&(d+="basic"===c?"ZZZ":"ZZ"),Zn(e,d)}var Xn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Kn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Jn={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Qn=["year","month","day","hour","minute","second","millisecond"],ei=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ti=["year","ordinal","hour","minute","second","millisecond"];function ni(e){var t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new y(e);return t}function ii(e,t){for(var n,i=p(Qn);!(n=i()).done;){var r=n.value;G(e[r])&&(e[r]=Xn[r])}var a=An(e)||Fn(e);if(a)return ai.invalid(a);var o=et.now(),s=Gn(e,t.offset(o),t);return new ai({ts:s[0],zone:t,o:s[1]})}function ri(e,t,n){var i=!!G(n.round)||n.round,r=function(e,r){return e=re(e,i||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(e,r)},a=function(i){return n.calendary?t.hasSame(e,i)?0:t.startOf(i).diff(e.startOf(i),i).get(i):t.diff(e,i).get(i)};if(n.unit)return r(a(n.unit),n.unit);for(var o,s=p(n.units);!(o=s()).done;){var l=o.value,c=a(l);if(Math.abs(c)>=1)return r(c,l)}return r(0,n.units[n.units.length-1])}var ai=function(){function e(e){var t=e.zone||et.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new je("invalid input"):null)||(t.isValid?null:Nn(t));this.ts=G(e.ts)?et.now():e.ts;var i=null,r=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t)){var a=[e.old.c,e.old.o];i=a[0],r=a[1]}else{var o=t.offset(this.ts);i=Wn(this.ts,o),i=(n=Number.isNaN(i.year)?new je("invalid input"):null)?null:i,r=n?null:o}this._zone=t,this.loc=e.loc||dt.create(),this.invalid=n,this.weekData=null,this.c=i,this.o=r,this.isLuxonDateTime=!0}e.local=function(t,n,i,r,a,o,s){return G(t)?new e({ts:et.now()}):ii({year:t,month:n,day:i,hour:r,minute:a,second:o,millisecond:s},et.defaultZone)},e.utc=function(t,n,i,r,a,o,s){return G(t)?new e({ts:et.now(),zone:Ge.utcInstance}):ii({year:t,month:n,day:i,hour:r,minute:a,second:o,millisecond:s},Ge.utcInstance)},e.fromJSDate=function(t,n){void 0===n&&(n={});var i="[object Date]"===Object.prototype.toString.call(t)?t.valueOf():NaN;if(Number.isNaN(i))return e.invalid("invalid input");var r=qe(n.zone,et.defaultZone);return r.isValid?new e({ts:i,zone:r,loc:dt.fromObject(n)}):e.invalid(Nn(r))},e.fromMillis=function(t,n){if(void 0===n&&(n={}),U(t))return t<-zn||t>zn?e.invalid("Timestamp out of range"):new e({ts:t,zone:qe(n.zone,et.defaultZone),loc:dt.fromObject(n)});throw new b("fromMillis requires a numerical input, but received a "+typeof t+" with value "+t)},e.fromSeconds=function(t,n){if(void 0===n&&(n={}),U(t))return new e({ts:1e3*t,zone:qe(n.zone,et.defaultZone),loc:dt.fromObject(n)});throw new b("fromSeconds requires a numerical input")},e.fromObject=function(t){var n=qe(t.zone,et.defaultZone);if(!n.isValid)return e.invalid(Nn(n));var i=et.now(),r=n.offset(i),a=me(t,ni,["zone","locale","outputCalendar","numberingSystem"]),o=!G(a.ordinal),s=!G(a.year),l=!G(a.month)||!G(a.day),c=s||l,d=a.weekYear||a.weekNumber,u=dt.fromObject(t);if((c||o)&&d)throw new v("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new v("Can't mix ordinal dates with month/day");var h,m,g=d||a.weekday&&!c,f=Wn(i,r);g?(h=ei,m=Kn,f=Dn(f)):o?(h=ti,m=Jn,f=Rn(f)):(h=Qn,m=Xn);for(var y,b=!1,x=p(h);!(y=x()).done;){var _=y.value;G(a[_])?a[_]=b?m[_]:f[_]:b=!0}var w=(g?function(e){var t=q(e.weekYear),n=ee(e.weekNumber,1,ce(e.weekYear)),i=ee(e.weekday,1,7);return t?n?!i&&Mn("weekday",e.weekday):Mn("week",e.week):Mn("weekYear",e.weekYear)}(a):o?function(e){var t=q(e.year),n=ee(e.ordinal,1,oe(e.year));return t?!n&&Mn("ordinal",e.ordinal):Mn("year",e.year)}(a):An(a))||Fn(a);if(w)return e.invalid(w);var S=Gn(g?Ln(a):o?jn(a):a,r,n),C=new e({ts:S[0],zone:n,o:S[1],loc:u});return a.weekday&&c&&t.weekday!==C.weekday?e.invalid("mismatched weekday","you can't specify both a weekday of "+a.weekday+" and a date of "+C.toISO()):C},e.fromISO=function(e,t){void 0===t&&(t={});var n=function(e){return ht(e,[zt,Yt],[Nt,Wt],[Ht,Gt],[Vt,Ut])}(e);return qn(n[0],n[1],t,"ISO 8601",e)},e.fromRFC2822=function(e,t){void 0===t&&(t={});var n=function(e){return ht(function(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(e),[Dt,Lt])}(e);return qn(n[0],n[1],t,"RFC 2822",e)},e.fromHTTP=function(e,t){void 0===t&&(t={});var n=function(e){return ht(e,[Rt,Ft],[jt,Ft],[At,Bt])}(e);return qn(n[0],n[1],t,"HTTP",t)},e.fromFormat=function(t,n,i){if(void 0===i&&(i={}),G(t)||G(n))throw new b("fromFormat requires an input string and a format");var r,a=i.locale,o=i.numberingSystem,s=[(r=kn(dt.fromOpts({locale:void 0===a?null:a,numberingSystem:void 0===o?null:o,defaultToEN:!0}),t,n)).result,r.zone,r.invalidReason],l=s[0],c=s[1],d=s[2];return d?e.invalid(d):qn(l,c,i,"format "+n,t)},e.fromString=function(t,n,i){return void 0===i&&(i={}),e.fromFormat(t,n,i)},e.fromSQL=function(e,t){void 0===t&&(t={});var n=function(e){return ht(e,[qt,$t],[Zt,Xt])}(e);return qn(n[0],n[1],t,"SQL",e)},e.invalid=function(t,n){if(void 0===n&&(n=null),!t)throw new b("need to specify a reason the DateTime is invalid");var i=t instanceof je?t:new je(t,n);if(et.throwOnInvalid)throw new m(i);return new e({invalid:i})},e.isDateTime=function(e){return e&&e.isLuxonDateTime||!1};var t=e.prototype;return t.get=function(e){return this[e]},t.resolvedLocaleOpts=function(e){void 0===e&&(e={});var t=Re.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t.locale,numberingSystem:t.numberingSystem,outputCalendar:t.calendar}},t.toUTC=function(e,t){return void 0===e&&(e=0),void 0===t&&(t={}),this.setZone(Ge.instance(e),t)},t.toLocal=function(){return this.setZone(et.defaultZone)},t.setZone=function(t,n){var i=void 0===n?{}:n,r=i.keepLocalTime,a=void 0!==r&&r,o=i.keepCalendarTime,s=void 0!==o&&o;if((t=qe(t,et.defaultZone)).equals(this.zone))return this;if(t.isValid){var l=this.ts;if(a||s){var c=t.offset(this.ts);l=Gn(this.toObject(),c,t)[0]}return Vn(this,{ts:l,zone:t})}return e.invalid(Nn(t))},t.reconfigure=function(e){var t=void 0===e?{}:e;return Vn(this,{loc:this.loc.clone({locale:t.locale,numberingSystem:t.numberingSystem,outputCalendar:t.outputCalendar})})},t.setLocale=function(e){return this.reconfigure({locale:e})},t.set=function(e){if(!this.isValid)return this;var t,n=me(e,ni,[]);G(n.weekYear)&&G(n.weekNumber)&&G(n.weekday)?G(n.ordinal)?(t=Object.assign(this.toObject(),n),G(n.day)&&(t.day=Math.min(se(t.year,t.month),t.day))):t=jn(Object.assign(Rn(this.c),n)):t=Ln(Object.assign(Dn(this.c),n));var i=Gn(t,this.o,this.zone);return Vn(this,{ts:i[0],o:i[1]})},t.plus=function(e){return this.isValid?Vn(this,Un(this,sn(e))):this},t.minus=function(e){return this.isValid?Vn(this,Un(this,sn(e).negate())):this},t.startOf=function(e){if(!this.isValid)return this;var t={},n=on.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0}if("weeks"===n&&(t.weekday=1),"quarters"===n){var i=Math.ceil(this.month/3);t.month=3*(i-1)+1}return this.set(t)},t.endOf=function(e){var t;return this.isValid?this.plus((t={},t[e]=1,t)).startOf(e).minus(1):this},t.toFormat=function(e,t){return void 0===t&&(t={}),this.isValid?Re.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):Bn},t.toLocaleString=function(e){return void 0===e&&(e=C),this.isValid?Re.create(this.loc.clone(e),e).formatDateTime(this):Bn},t.toLocaleParts=function(e){return void 0===e&&(e={}),this.isValid?Re.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},t.toISO=function(e){return void 0===e&&(e={}),this.isValid?this.toISODate(e)+"T"+this.toISOTime(e):null},t.toISODate=function(e){var t=(void 0===e?{}:e).format,n="basic"===(void 0===t?"extended":t)?"yyyyMMdd":"yyyy-MM-dd";return this.year>9999&&(n="+"+n),Zn(this,n)},t.toISOWeekDate=function(){return Zn(this,"kkkk-'W'WW-c")},t.toISOTime=function(e){var t=void 0===e?{}:e,n=t.suppressMilliseconds,i=t.suppressSeconds,r=t.includeOffset,a=t.format;return $n(this,{suppressSeconds:void 0!==i&&i,suppressMilliseconds:void 0!==n&&n,includeOffset:void 0===r||r,format:void 0===a?"extended":a})},t.toRFC2822=function(){return Zn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)},t.toHTTP=function(){return Zn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},t.toSQLDate=function(){return Zn(this,"yyyy-MM-dd")},t.toSQLTime=function(e){var t=void 0===e?{}:e,n=t.includeOffset,i=t.includeZone;return $n(this,{includeOffset:void 0===n||n,includeZone:void 0!==i&&i,spaceZone:!0})},t.toSQL=function(e){return void 0===e&&(e={}),this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},t.toString=function(){return this.isValid?this.toISO():Bn},t.valueOf=function(){return this.toMillis()},t.toMillis=function(){return this.isValid?this.ts:NaN},t.toSeconds=function(){return this.isValid?this.ts/1e3:NaN},t.toJSON=function(){return this.toISO()},t.toBSON=function(){return this.toJSDate()},t.toObject=function(e){if(void 0===e&&(e={}),!this.isValid)return{};var t=Object.assign({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},t.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},t.diff=function(e,t,n){if(void 0===t&&(t="milliseconds"),void 0===n&&(n={}),!this.isValid||!e.isValid)return on.invalid(this.invalid||e.invalid,"created by diffing an invalid DateTime");var i,r=Object.assign({locale:this.locale,numberingSystem:this.numberingSystem},n),a=(i=t,Array.isArray(i)?i:[i]).map(on.normalizeUnit),o=e.valueOf()>this.valueOf(),s=function(e,t,n,i){var r,a=function(e,t,n){for(var i,r,a={},o=0,s=[["years",function(e,t){return t.year-e.year}],["months",function(e,t){return t.month-e.month+12*(t.year-e.year)}],["weeks",function(e,t){var n=pn(e,t);return(n-n%7)/7}],["days",pn]];o<s.length;o++){var l=s[o],c=l[0],d=l[1];if(n.indexOf(c)>=0){var u;i=c;var p,h=d(e,t);(r=e.plus(((u={})[c]=h,u)))>t?(e=e.plus(((p={})[c]=h-1,p)),h-=1):e=r,a[c]=h}}return[e,a,r,i]}(e,t,n),o=a[0],s=a[1],l=a[2],c=a[3],d=t-o,u=n.filter(function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0});0===u.length&&(l<t&&(l=o.plus(((r={})[c]=1,r))),l!==o&&(s[c]=(s[c]||0)+d/(l-o)));var p,h=on.fromObject(Object.assign(s,i));return u.length>0?(p=on.fromMillis(d,i)).shiftTo.apply(p,u).plus(h):h}(o?this:e,o?e:this,a,r);return o?s.negate():s},t.diffNow=function(t,n){return void 0===t&&(t="milliseconds"),void 0===n&&(n={}),this.diff(e.local(),t,n)},t.until=function(e){return this.isValid?dn.fromDateTimes(this,e):this},t.hasSame=function(e,t){if(!this.isValid)return!1;if("millisecond"===t)return this.valueOf()===e.valueOf();var n=e.valueOf();return this.startOf(t)<=n&&n<=this.endOf(t)},t.equals=function(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)},t.toRelative=function(t){if(void 0===t&&(t={}),!this.isValid)return null;var n=t.base||e.fromObject({zone:this.zone});return ri(n,this.plus(t.padding?this<n?-t.padding:t.padding:0),Object.assign(t,{numeric:"always",units:["years","months","days","hours","minutes","seconds"]}))},t.toRelativeCalendar=function(t){return void 0===t&&(t={}),this.isValid?ri(t.base||e.fromObject({zone:this.zone}),this,Object.assign(t,{numeric:"auto",units:["years","months","days"],calendary:!0})):null},e.min=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];if(!n.every(e.isDateTime))throw new b("min requires all arguments be DateTimes");return K(n,function(e){return e.valueOf()},Math.min)},e.max=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];if(!n.every(e.isDateTime))throw new b("max requires all arguments be DateTimes");return K(n,function(e){return e.valueOf()},Math.max)},e.fromFormatExplain=function(e,t,n){void 0===n&&(n={});var i=n.locale,r=n.numberingSystem;return kn(dt.fromOpts({locale:void 0===i?null:i,numberingSystem:void 0===r?null:r,defaultToEN:!0}),e,t)},e.fromStringExplain=function(t,n,i){return void 0===i&&(i={}),e.fromFormatExplain(t,n,i)},r(e,[{key:"isValid",get:function(){return null===this.invalid}},{key:"invalidReason",get:function(){return this.invalid?this.invalid.reason:null}},{key:"invalidExplanation",get:function(){return this.invalid?this.invalid.explanation:null}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zone",get:function(){return this._zone}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?Hn(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?Hn(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?Hn(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?Rn(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?un.months("short",{locale:this.locale})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?un.months("long",{locale:this.locale})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?un.weekdays("short",{locale:this.locale})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?un.weekdays("long",{locale:this.locale})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?+this.o:NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.universal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return ae(this.year)}},{key:"daysInMonth",get:function(){return se(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?oe(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?ce(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return C}},{key:"DATE_MED",get:function(){return k}},{key:"DATE_FULL",get:function(){return O}},{key:"DATE_HUGE",get:function(){return E}},{key:"TIME_SIMPLE",get:function(){return M}},{key:"TIME_WITH_SECONDS",get:function(){return I}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return P}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return T}},{key:"TIME_24_SIMPLE",get:function(){return D}},{key:"TIME_24_WITH_SECONDS",get:function(){return L}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return R}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return j}},{key:"DATETIME_SHORT",get:function(){return A}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return F}},{key:"DATETIME_MED",get:function(){return B}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return z}},{key:"DATETIME_MED_WITH_WEEKDAY",get:function(){return N}},{key:"DATETIME_FULL",get:function(){return H}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return V}},{key:"DATETIME_HUGE",get:function(){return Y}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return W}}]),e}();function oi(e){if(ai.isDateTime(e))return e;if(e&&e.valueOf&&U(e.valueOf()))return ai.fromJSDate(e);if(e&&"object"==typeof e)return ai.fromObject(e);throw new b("Unknown datetime argument: "+e+", of type "+typeof e)}t.DateTime=ai,t.Duration=on,t.FixedOffsetZone=Ge,t.IANAZone=Ye,t.Info=un,t.Interval=dn,t.InvalidZone=Ue,t.LocalZone=Be,t.Settings=et,t.Zone=Ae},ZhPi:function(e,t,n){var i=n("WkPL");e.exports=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}},Zy1z:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("7o/Q");function l(){return function(e){return e.lift(new c)}}var c=function(){function e(){Object(a.a)(this,e)}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new d(e))}}]),e}(),d=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e){var i;return Object(a.a)(this,n),(i=t.call(this,e)).hasPrev=!1,i}return Object(o.a)(n,[{key:"_next",value:function(e){var t;this.hasPrev?t=[this.prev,e]:this.hasPrev=!0,this.prev=e,t&&this.destination.next(t)}}]),n}(s.a)},a3WO:function(e,t,n){"use strict";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}n.d(t,"a",function(){return i})},aIdf:function(e,t,n){!function(e){"use strict";function t(e,t,n){return e+" "+function(e,t){return 2===t?function(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}(e):e}({mm:"munutenn",MM:"miz",dd:"devezh"}[n],e)}function n(e){return e>9?n(e%10):e}var i=[/^gen/i,/^c[\u02bc\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],r=/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,a=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_C\u02bchwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_C\u02bchwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Merc\u02bcher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:a,fullWeekdaysParse:[/^sul/i,/^lun/i,/^meurzh/i,/^merc[\u02bc\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],shortWeekdaysParse:[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],minWeekdaysParse:a,monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(genver|c[\u02bc\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,monthsShortStrictRegex:/^(gen|c[\u02bc\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warc\u02bchoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Dec\u02bch da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s \u02bczo",s:"un nebeud segondenno\xf9",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:function(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}},dayOfMonthOrdinalParse:/\d{1,2}(a\xf1|vet)/,ordinal:function(e){return e+(1===e?"a\xf1":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,n){return e<12?"a.m.":"g.m."}})}(n("wd/R"))},aIsn:function(e,t,n){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-t\u0101te_Hui-tanguru_Pout\u016b-te-rangi_Paenga-wh\u0101wh\u0101_Haratua_Pipiri_H\u014dngoingoi_Here-turi-k\u014dk\u0101_Mahuru_Whiringa-\u0101-nuku_Whiringa-\u0101-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_H\u014dngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"R\u0101tapu_Mane_T\u016brei_Wenerei_T\u0101ite_Paraire_H\u0101tarei".split("_"),weekdaysShort:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),weekdaysMin:"Ta_Ma_T\u016b_We_T\u0101i_Pa_H\u0101".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te h\u0113kona ruarua",ss:"%d h\u0113kona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},aQkU:function(e,t,n){!function(e){"use strict";e.defineLocale("mk",{months:"\u0458\u0430\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0458_\u0458\u0443\u043d\u0438_\u0458\u0443\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u0458\u0430\u043d_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0458_\u0458\u0443\u043d_\u0458\u0443\u043b_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u0430_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0440\u0442\u043e\u043a_\u043f\u0435\u0442\u043e\u043a_\u0441\u0430\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u0435_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u0430\u0431".split("_"),weekdaysMin:"\u043de_\u043fo_\u0432\u0442_\u0441\u0440_\u0447\u0435_\u043f\u0435_\u0441a".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u0435\u043d\u0435\u0441 \u0432\u043e] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432\u043e] LT",nextWeek:"[\u0412\u043e] dddd [\u0432\u043e] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432\u043e] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0430\u0442\u0430] dddd [\u0432\u043e] LT";case 1:case 2:case 4:case 5:return"[\u0418\u0437\u043c\u0438\u043d\u0430\u0442\u0438\u043e\u0442] dddd [\u0432\u043e] LT"}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"\u043f\u0440\u0435\u0434 %s",s:"\u043d\u0435\u043a\u043e\u043b\u043a\u0443 \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u0435\u0434\u043d\u0430 \u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0435\u0434\u0435\u043d \u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0435\u0434\u0435\u043d \u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",M:"\u0435\u0434\u0435\u043d \u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0438",y:"\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},b1Dy:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},b5fp:function(e,t,n){"use strict";var i=n("fXoL"),r=n("VlMW"),a=n("rhsj"),o=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},s=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},l=this&&this.__param||function(e,t){return function(n,i){t(n,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var c=n("fXoL"),d=n("SrD1"),u=n("VlMW"),p=n("rhsj"),h=n("YKnz"),m=n("ofXK"),g=function(){function e(e,t,n,i,r,a){this._componentFactoryResolver=e,this._injector=t,this._applicationRef=n,this._lightboxConfig=i,this._lightboxEvent=r,this._documentRef=a}return e.prototype.open=function(e,t,n){var i=this;void 0===t&&(t=0),void 0===n&&(n={});var r=this._createComponent(h.LightboxOverlayComponent),a=this._createComponent(d.LightboxComponent),o={};this._lightboxEvent.broadcastLightboxEvent({id:p.LIGHTBOX_EVENT.OPEN}),Object.assign(o,this._lightboxConfig,n),a.instance.album=e,a.instance.currentImageIndex=t,a.instance.options=o,a.instance.cmpRef=a,r.instance.options=o,r.instance.cmpRef=r,setTimeout(function(){i._applicationRef.attachView(r.hostView),i._applicationRef.attachView(a.hostView),r.onDestroy(function(){i._applicationRef.detachView(r.hostView)}),a.onDestroy(function(){i._applicationRef.detachView(a.hostView)});var e=o.containerElementResolver(i._documentRef);e.appendChild(r.location.nativeElement),e.appendChild(a.location.nativeElement)})},e.prototype.close=function(){this._lightboxEvent&&this._lightboxEvent.broadcastLightboxEvent({id:p.LIGHTBOX_EVENT.CLOSE})},e.prototype._createComponent=function(e){return this._componentFactoryResolver.resolveComponentFactory(e).create(this._injector)},(e=o([l(5,c.Inject(m.DOCUMENT)),s("design:paramtypes",[c.ComponentFactoryResolver,c.Injector,c.ApplicationRef,u.LightboxConfig,p.LightboxEvent,Object])],e)).\u0275fac=function(t){return new(t||e)(i.\u0275\u0275inject(i.ComponentFactoryResolver),i.\u0275\u0275inject(i.Injector),i.\u0275\u0275inject(i.ApplicationRef),i.\u0275\u0275inject(r.LightboxConfig),i.\u0275\u0275inject(a.LightboxEvent),i.\u0275\u0275inject(m.DOCUMENT))},e.\u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();t.Lightbox=g},b6Qw:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("ODXe"),r=n("1OyB"),a=n("vuIU"),o=n("fXoL"),s=n("ofXK"),l=function(){var e=function(){function e(t,n){Object(r.a)(this,e),this.document=t,this.platformId=n,this.documentIsAccessible=Object(s.isPlatformBrowser)(this.platformId)}return Object(a.a)(e,[{key:"check",value:function(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),this.getCookieRegExp(e).test(this.document.cookie))}},{key:"get",value:function(e){if(this.documentIsAccessible&&this.check(e)){e=encodeURIComponent(e);var t=this.getCookieRegExp(e).exec(this.document.cookie);return this.safeDecodeURIComponent(t[1])}return""}},{key:"getAll",value:function(){var e=this;if(!this.documentIsAccessible)return{};var t={},n=this.document;return n.cookie&&""!==n.cookie&&n.cookie.split(";").forEach(function(n){var r=n.split("="),a=Object(i.a)(r,2),o=a[1];t[e.safeDecodeURIComponent(a[0].replace(/^ /,""))]=e.safeDecodeURIComponent(o)}),t}},{key:"set",value:function(e,t,n,i,r,a,o){if(this.documentIsAccessible)if("number"==typeof n||n instanceof Date||i||r||a||o)this.set(e,t,{expires:n,path:i,domain:r,secure:a,sameSite:o||"Lax"});else{var s=encodeURIComponent(e)+"="+encodeURIComponent(t)+";",l=n||{};l.expires&&(s+="number"==typeof l.expires?"expires="+new Date((new Date).getTime()+1e3*l.expires*60*60*24).toUTCString()+";":"expires="+l.expires.toUTCString()+";"),l.path&&(s+="path="+l.path+";"),l.domain&&(s+="domain="+l.domain+";"),!1===l.secure&&"None"===l.sameSite&&(l.secure=!0,console.warn("[ngx-cookie-service] Cookie ".concat(e," was forced with secure flag because sameSite=None.")+"More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130")),l.secure&&(s+="secure;"),l.sameSite||(l.sameSite="Lax"),this.document.cookie=s+="sameSite="+l.sameSite+";"}}},{key:"delete",value:function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"Lax";if(this.documentIsAccessible){var a=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:a,path:t,domain:n,secure:i,sameSite:r})}}},{key:"deleteAll",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Lax";if(this.documentIsAccessible){var r=this.getAll();for(var a in r)r.hasOwnProperty(a)&&this.delete(a,e,t,n,i)}}},{key:"getCookieRegExp",value:function(e){var t=e.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}},{key:"safeDecodeURIComponent",value:function(e){try{return decodeURIComponent(e)}catch(t){return e}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](s.DOCUMENT),o["\u0275\u0275inject"](o.PLATFORM_ID))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(o["\u0275\u0275inject"])(s.DOCUMENT),Object(o["\u0275\u0275inject"])(o.PLATFORM_ID))},token:e,providedIn:"root"}),e}()},bHdf:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("5+tZ"),r=n("SpAZ");function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Object(i.a)(r.a,e)}},bOMt:function(e,t,n){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"s\xf8ndag_mandag_tirsdag_onsdag_torsdag_fredag_l\xf8rdag".split("_"),weekdaysShort:"s\xf8._ma._ti._on._to._fr._l\xf8.".split("_"),weekdaysMin:"s\xf8_ma_ti_on_to_fr_l\xf8".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i g\xe5r kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en m\xe5ned",MM:"%d m\xe5neder",y:"ett \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},bOdf:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("5+tZ");function r(e,t){return Object(i.a)(e,t,1)}},bSwM:function(e,t,n){"use strict";n.d(t,"a",function(){return k}),n.d(t,"b",function(){return E});var i=n("Ji7U"),r=n("LK+K"),a=n("vuIU"),o=n("1OyB"),s=n("8LU1"),l=n("fXoL"),c=n("3Pt+"),d=n("FKr1"),u=n("R1ws"),p=n("GU7r"),h=n("u47x"),m=["input"],g=function(){return{enterDuration:150}},f=["*"],v=new l.InjectionToken("mat-checkbox-default-options",{providedIn:"root",factory:y});function y(){return{color:"accent",clickAction:"check-indeterminate"}}var b=0,x=y(),_={provide:c.m,useExisting:Object(l.forwardRef)(function(){return k}),multi:!0},w=Object(a.a)(function e(){Object(o.a)(this,e)}),S=Object(a.a)(function e(t){Object(o.a)(this,e),this._elementRef=t}),C=Object(d.D)(Object(d.y)(Object(d.z)(Object(d.A)(S)))),k=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r,a,s,c,d){var u;return Object(o.a)(this,n),(u=t.call(this,e))._changeDetectorRef=i,u._focusMonitor=r,u._ngZone=a,u._animationMode=c,u._options=d,u.ariaLabel="",u.ariaLabelledby=null,u._uniqueId="mat-checkbox-".concat(++b),u.id=u._uniqueId,u.labelPosition="after",u.name=null,u.change=new l.EventEmitter,u.indeterminateChange=new l.EventEmitter,u._onTouched=function(){},u._currentAnimationClass="",u._currentCheckState=0,u._controlValueAccessorChangeFn=function(){},u._checked=!1,u._disabled=!1,u._indeterminate=!1,u._options=u._options||x,u.color=u.defaultColor=u._options.color||x.color,u.tabIndex=parseInt(s)||0,u}return Object(a.a)(n,[{key:"inputId",get:function(){return"".concat(this.id||this._uniqueId,"-input")}},{key:"required",get:function(){return this._required},set:function(e){this._required=Object(s.c)(e)}},{key:"ngAfterViewInit",value:function(){var e=this;this._focusMonitor.monitor(this._elementRef,!0).subscribe(function(t){t||Promise.resolve().then(function(){e._onTouched(),e._changeDetectorRef.markForCheck()})}),this._syncIndeterminate(this._indeterminate)}},{key:"ngAfterViewChecked",value:function(){}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"checked",get:function(){return this._checked},set:function(e){e!=this.checked&&(this._checked=e,this._changeDetectorRef.markForCheck())}},{key:"disabled",get:function(){return this._disabled},set:function(e){var t=Object(s.c)(e);t!==this.disabled&&(this._disabled=t,this._changeDetectorRef.markForCheck())}},{key:"indeterminate",get:function(){return this._indeterminate},set:function(e){var t=e!=this._indeterminate;this._indeterminate=Object(s.c)(e),t&&(this._transitionCheckState(this._indeterminate?3:this.checked?1:2),this.indeterminateChange.emit(this._indeterminate)),this._syncIndeterminate(this._indeterminate)}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_onLabelTextChange",value:function(){this._changeDetectorRef.detectChanges()}},{key:"writeValue",value:function(e){this.checked=!!e}},{key:"registerOnChange",value:function(e){this._controlValueAccessorChangeFn=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_getAriaChecked",value:function(){return this.checked?"true":this.indeterminate?"mixed":"false"}},{key:"_transitionCheckState",value:function(e){var t=this._currentCheckState,n=this._elementRef.nativeElement;if(t!==e&&(this._currentAnimationClass.length>0&&n.classList.remove(this._currentAnimationClass),this._currentAnimationClass=this._getAnimationClassForCheckStateTransition(t,e),this._currentCheckState=e,this._currentAnimationClass.length>0)){n.classList.add(this._currentAnimationClass);var i=this._currentAnimationClass;this._ngZone.runOutsideAngular(function(){setTimeout(function(){n.classList.remove(i)},1e3)})}}},{key:"_emitChangeEvent",value:function(){var e=new w;e.source=this,e.checked=this.checked,this._controlValueAccessorChangeFn(this.checked),this.change.emit(e),this._inputElement&&(this._inputElement.nativeElement.checked=this.checked)}},{key:"toggle",value:function(){this.checked=!this.checked}},{key:"_onInputClick",value:function(e){var t,n=this,i=null===(t=this._options)||void 0===t?void 0:t.clickAction;e.stopPropagation(),this.disabled||"noop"===i?this.disabled||"noop"!==i||(this._inputElement.nativeElement.checked=this.checked,this._inputElement.nativeElement.indeterminate=this.indeterminate):(this.indeterminate&&"check"!==i&&Promise.resolve().then(function(){n._indeterminate=!1,n.indeterminateChange.emit(n._indeterminate)}),this.toggle(),this._transitionCheckState(this._checked?1:2),this._emitChangeEvent())}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._inputElement,e,t):this._inputElement.nativeElement.focus(t)}},{key:"_onInteractionEvent",value:function(e){e.stopPropagation()}},{key:"_getAnimationClassForCheckStateTransition",value:function(e,t){if("NoopAnimations"===this._animationMode)return"";var n="";switch(e){case 0:if(1===t)n="unchecked-checked";else{if(3!=t)return"";n="unchecked-indeterminate"}break;case 2:n=1===t?"unchecked-checked":"unchecked-indeterminate";break;case 1:n=2===t?"checked-unchecked":"checked-indeterminate";break;case 3:n=1===t?"indeterminate-checked":"indeterminate-unchecked"}return"mat-checkbox-anim-".concat(n)}},{key:"_syncIndeterminate",value:function(e){var t=this._inputElement;t&&(t.nativeElement.indeterminate=e)}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](l.ElementRef),l["\u0275\u0275directiveInject"](l.ChangeDetectorRef),l["\u0275\u0275directiveInject"](h.h),l["\u0275\u0275directiveInject"](l.NgZone),l["\u0275\u0275injectAttribute"]("tabindex"),l["\u0275\u0275directiveInject"](u.a,8),l["\u0275\u0275directiveInject"](v,8))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-checkbox"]],viewQuery:function(e,t){var n;1&e&&(l["\u0275\u0275viewQuery"](m,1),l["\u0275\u0275viewQuery"](d.t,1)),2&e&&(l["\u0275\u0275queryRefresh"](n=l["\u0275\u0275loadQuery"]())&&(t._inputElement=n.first),l["\u0275\u0275queryRefresh"](n=l["\u0275\u0275loadQuery"]())&&(t.ripple=n.first))},hostAttrs:[1,"mat-checkbox"],hostVars:12,hostBindings:function(e,t){2&e&&(l["\u0275\u0275hostProperty"]("id",t.id),l["\u0275\u0275attribute"]("tabindex",null),l["\u0275\u0275classProp"]("mat-checkbox-indeterminate",t.indeterminate)("mat-checkbox-checked",t.checked)("mat-checkbox-disabled",t.disabled)("mat-checkbox-label-before","before"==t.labelPosition)("_mat-animation-noopable","NoopAnimations"===t._animationMode))},inputs:{disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],id:"id",labelPosition:"labelPosition",name:"name",required:"required",checked:"checked",disabled:"disabled",indeterminate:"indeterminate",ariaDescribedby:["aria-describedby","ariaDescribedby"],value:"value"},outputs:{change:"change",indeterminateChange:"indeterminateChange"},exportAs:["matCheckbox"],features:[l["\u0275\u0275ProvidersFeature"]([_]),l["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:f,decls:17,vars:20,consts:[[1,"mat-checkbox-layout"],["label",""],[1,"mat-checkbox-inner-container"],["type","checkbox",1,"mat-checkbox-input","cdk-visually-hidden",3,"id","required","checked","disabled","tabIndex","change","click"],["input",""],["matRipple","",1,"mat-checkbox-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleRadius","matRippleCentered","matRippleAnimation"],[1,"mat-ripple-element","mat-checkbox-persistent-ripple"],[1,"mat-checkbox-frame"],[1,"mat-checkbox-background"],["version","1.1","focusable","false","viewBox","0 0 24 24",0,"xml","space","preserve",1,"mat-checkbox-checkmark"],["fill","none","stroke","white","d","M4.1,12.7 9,17.6 20.3,6.3",1,"mat-checkbox-checkmark-path"],[1,"mat-checkbox-mixedmark"],[1,"mat-checkbox-label",3,"cdkObserveContent"],["checkboxLabel",""],[2,"display","none"]],template:function(e,t){if(1&e&&(l["\u0275\u0275projectionDef"](),l["\u0275\u0275elementStart"](0,"label",0,1),l["\u0275\u0275elementStart"](2,"span",2),l["\u0275\u0275elementStart"](3,"input",3,4),l["\u0275\u0275listener"]("change",function(e){return t._onInteractionEvent(e)})("click",function(e){return t._onInputClick(e)}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"span",5),l["\u0275\u0275element"](6,"span",6),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](7,"span",7),l["\u0275\u0275elementStart"](8,"span",8),l["\u0275\u0275namespaceSVG"](),l["\u0275\u0275elementStart"](9,"svg",9),l["\u0275\u0275element"](10,"path",10),l["\u0275\u0275elementEnd"](),l["\u0275\u0275namespaceHTML"](),l["\u0275\u0275element"](11,"span",11),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](12,"span",12,13),l["\u0275\u0275listener"]("cdkObserveContent",function(){return t._onLabelTextChange()}),l["\u0275\u0275elementStart"](14,"span",14),l["\u0275\u0275text"](15,"\xa0"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275projection"](16),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275reference"](1),i=l["\u0275\u0275reference"](13);l["\u0275\u0275attribute"]("for",t.inputId),l["\u0275\u0275advance"](2),l["\u0275\u0275classProp"]("mat-checkbox-inner-container-no-side-margin",!i.textContent||!i.textContent.trim()),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("id",t.inputId)("required",t.required)("checked",t.checked)("disabled",t.disabled)("tabIndex",t.tabIndex),l["\u0275\u0275attribute"]("value",t.value)("name",t.name)("aria-label",t.ariaLabel||null)("aria-labelledby",t.ariaLabelledby)("aria-checked",t._getAriaChecked())("aria-describedby",t.ariaDescribedby),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("matRippleTrigger",n)("matRippleDisabled",t._isRippleDisabled())("matRippleRadius",20)("matRippleCentered",!0)("matRippleAnimation",l["\u0275\u0275pureFunction0"](19,g))}},directives:[d.t,p.a],styles:["@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.910259}50%{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0, 0, 0, 1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(0.4, 0, 1, 1);stroke-dashoffset:0}to{stroke-dashoffset:-22.910259}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0, 0, 0.2, 0.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0deg)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(0.14, 0, 0, 1);opacity:1;transform:rotate(0deg)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}32.8%,100%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-frame{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{display:inline-block;transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);cursor:pointer;-webkit-tap-highlight-color:transparent}._mat-animation-noopable.mat-checkbox{transition:none;animation:none}.mat-checkbox .mat-ripple-element:not(.mat-checkbox-persistent-ripple){opacity:.16}.mat-checkbox-layout{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex;white-space:nowrap}.mat-checkbox-label{-webkit-user-select:auto;-moz-user-select:auto;-ms-user-select:auto;user-select:auto}.mat-checkbox-inner-container{display:inline-block;height:16px;line-height:0;margin:auto;margin-right:8px;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:16px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-inner-container-no-side-margin{margin-left:0;margin-right:0}.mat-checkbox-frame{background-color:transparent;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1);border-width:2px;border-style:solid}._mat-animation-noopable .mat-checkbox-frame{transition:none}.cdk-high-contrast-active .mat-checkbox.cdk-keyboard-focused .mat-checkbox-frame{border-style:dotted}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0, 0, 0.2, 0.1),opacity 90ms cubic-bezier(0, 0, 0.2, 0.1);-webkit-print-color-adjust:exact;color-adjust:exact}._mat-animation-noopable .mat-checkbox-background{transition:none}.cdk-high-contrast-active .mat-checkbox .mat-checkbox-background{background:none}.mat-checkbox-persistent-ripple{display:block;width:100%;height:100%;transform:none}.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:.04}.mat-checkbox.cdk-keyboard-focused .mat-checkbox-persistent-ripple{opacity:.12}.mat-checkbox-persistent-ripple,.mat-checkbox.mat-checkbox-disabled .mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{opacity:0}@media(hover: none){.mat-checkbox-inner-container:hover .mat-checkbox-persistent-ripple{display:none}}.mat-checkbox-checkmark{top:0;left:0;right:0;bottom:0;position:absolute;width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.910259;stroke-dasharray:22.910259;stroke-width:2.1333333333px}.cdk-high-contrast-black-on-white .mat-checkbox-checkmark-path{stroke:#000 !important}.mat-checkbox-mixedmark{width:calc(100% - 6px);height:2px;opacity:0;transform:scaleX(0) rotate(0deg);border-radius:2px}.cdk-high-contrast-active .mat-checkbox-mixedmark{height:0;border-top:solid 2px;margin-top:2px}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0deg)}.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}.mat-checkbox-disabled{cursor:default}.cdk-high-contrast-active .mat-checkbox-disabled{opacity:.5}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0ms mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0ms mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0ms mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:500ms linear 0ms mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0ms mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:300ms linear 0ms mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox .mat-checkbox-ripple{position:absolute;left:calc(50% - 20px);top:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}\n"],encapsulation:2,changeDetection:0}),e}(),O=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=l["\u0275\u0275defineInjector"]({}),e}(),E=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=l["\u0275\u0275defineInjector"]({imports:[[d.u,d.j,p.c,O],d.j,O]}),e}()},bTqV:function(e,t,n){"use strict";n.d(t,"a",function(){return b}),n.d(t,"b",function(){return y}),n.d(t,"c",function(){return x});var i=n("uFwe"),r=n("Ji7U"),a=n("LK+K"),o=n("vuIU"),s=n("1OyB"),l=n("FKr1"),c=n("R1ws"),d=n("fXoL"),u=n("u47x"),p=["mat-button",""],h=["*"],m=".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n",g=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],f=Object(o.a)(function e(t){Object(s.a)(this,e),this._elementRef=t}),v=Object(l.y)(Object(l.A)(Object(l.z)(f))),y=function(){var e=function(e){Object(r.a)(n,e);var t=Object(a.a)(n);function n(e,r,a){var o;Object(s.a)(this,n),(o=t.call(this,e))._focusMonitor=r,o._animationMode=a,o.isRoundButton=o._hasHostAttributes("mat-fab","mat-mini-fab"),o.isIconButton=o._hasHostAttributes("mat-icon-button");var l,c=Object(i.a)(g);try{for(c.s();!(l=c.n()).done;){var d=l.value;o._hasHostAttributes(d)&&o._getHostElement().classList.add(d)}}catch(u){c.e(u)}finally{c.f()}return e.nativeElement.classList.add("mat-button-base"),o.isRoundButton&&(o.color="accent"),o}return Object(o.a)(n,[{key:"ngAfterViewInit",value:function(){this._focusMonitor.monitor(this._elementRef,!0)}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef)}},{key:"focus",value:function(e,t){e?this._focusMonitor.focusVia(this._getHostElement(),e,t):this._getHostElement().focus(t)}},{key:"_getHostElement",value:function(){return this._elementRef.nativeElement}},{key:"_isRippleDisabled",value:function(){return this.disableRipple||this.disabled}},{key:"_hasHostAttributes",value:function(){for(var e=this,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return n.some(function(t){return e._getHostElement().hasAttribute(t)})}}]),n}(v);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](u.h),d["\u0275\u0275directiveInject"](c.a,8))},e.\u0275cmp=d["\u0275\u0275defineComponent"]({type:e,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,t){var n;1&e&&d["\u0275\u0275viewQuery"](l.t,1),2&e&&d["\u0275\u0275queryRefresh"](n=d["\u0275\u0275loadQuery"]())&&(t.ripple=n.first)},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,t){2&e&&(d["\u0275\u0275attribute"]("disabled",t.disabled||null),d["\u0275\u0275classProp"]("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[d["\u0275\u0275InheritDefinitionFeature"]],attrs:p,ngContentSelectors:h,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(d["\u0275\u0275projectionDef"](),d["\u0275\u0275elementStart"](0,"span",0),d["\u0275\u0275projection"](1),d["\u0275\u0275elementEnd"](),d["\u0275\u0275element"](2,"span",1),d["\u0275\u0275element"](3,"span",2)),2&e&&(d["\u0275\u0275advance"](2),d["\u0275\u0275classProp"]("mat-button-ripple-round",t.isRoundButton||t.isIconButton),d["\u0275\u0275property"]("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[l.t],styles:[m],encapsulation:2,changeDetection:0}),e}(),b=function(){var e=function(e){Object(r.a)(n,e);var t=Object(a.a)(n);function n(e,i,r){return Object(s.a)(this,n),t.call(this,i,e,r)}return Object(o.a)(n,[{key:"_haltDisabledEvents",value:function(e){this.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}}]),n}(y);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](u.h),d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](c.a,8))},e.\u0275cmp=d["\u0275\u0275defineComponent"]({type:e,selectors:[["a","mat-button",""],["a","mat-raised-button",""],["a","mat-icon-button",""],["a","mat-fab",""],["a","mat-mini-fab",""],["a","mat-stroked-button",""],["a","mat-flat-button",""]],hostAttrs:[1,"mat-focus-indicator"],hostVars:7,hostBindings:function(e,t){1&e&&d["\u0275\u0275listener"]("click",function(e){return t._haltDisabledEvents(e)}),2&e&&(d["\u0275\u0275attribute"]("tabindex",t.disabled?-1:t.tabIndex||0)("disabled",t.disabled||null)("aria-disabled",t.disabled.toString()),d["\u0275\u0275classProp"]("_mat-animation-noopable","NoopAnimations"===t._animationMode)("mat-button-disabled",t.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex"},exportAs:["matButton","matAnchor"],features:[d["\u0275\u0275InheritDefinitionFeature"]],attrs:p,ngContentSelectors:h,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,t){1&e&&(d["\u0275\u0275projectionDef"](),d["\u0275\u0275elementStart"](0,"span",0),d["\u0275\u0275projection"](1),d["\u0275\u0275elementEnd"](),d["\u0275\u0275element"](2,"span",1),d["\u0275\u0275element"](3,"span",2)),2&e&&(d["\u0275\u0275advance"](2),d["\u0275\u0275classProp"]("mat-button-ripple-round",t.isRoundButton||t.isIconButton),d["\u0275\u0275property"]("matRippleDisabled",t._isRippleDisabled())("matRippleCentered",t.isIconButton)("matRippleTrigger",t._getHostElement()))},directives:[l.t],styles:[m],encapsulation:2,changeDetection:0}),e}(),x=function(){var e=Object(o.a)(function e(){Object(s.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({imports:[[l.u,l.j],l.j]}),e}()},bXm7:function(e,t,n){!function(e){"use strict";var t={0:"-\u0448\u0456",1:"-\u0448\u0456",2:"-\u0448\u0456",3:"-\u0448\u0456",4:"-\u0448\u0456",5:"-\u0448\u0456",6:"-\u0448\u044b",7:"-\u0448\u0456",8:"-\u0448\u0456",9:"-\u0448\u044b",10:"-\u0448\u044b",20:"-\u0448\u044b",30:"-\u0448\u044b",40:"-\u0448\u044b",50:"-\u0448\u0456",60:"-\u0448\u044b",70:"-\u0448\u0456",80:"-\u0448\u0456",90:"-\u0448\u044b",100:"-\u0448\u0456"};e.defineLocale("kk",{months:"\u049b\u0430\u04a3\u0442\u0430\u0440_\u0430\u049b\u043f\u0430\u043d_\u043d\u0430\u0443\u0440\u044b\u0437_\u0441\u04d9\u0443\u0456\u0440_\u043c\u0430\u043c\u044b\u0440_\u043c\u0430\u0443\u0441\u044b\u043c_\u0448\u0456\u043b\u0434\u0435_\u0442\u0430\u043c\u044b\u0437_\u049b\u044b\u0440\u043a\u04af\u0439\u0435\u043a_\u049b\u0430\u0437\u0430\u043d_\u049b\u0430\u0440\u0430\u0448\u0430_\u0436\u0435\u043b\u0442\u043e\u049b\u0441\u0430\u043d".split("_"),monthsShort:"\u049b\u0430\u04a3_\u0430\u049b\u043f_\u043d\u0430\u0443_\u0441\u04d9\u0443_\u043c\u0430\u043c_\u043c\u0430\u0443_\u0448\u0456\u043b_\u0442\u0430\u043c_\u049b\u044b\u0440_\u049b\u0430\u0437_\u049b\u0430\u0440_\u0436\u0435\u043b".split("_"),weekdays:"\u0436\u0435\u043a\u0441\u0435\u043d\u0431\u0456_\u0434\u04af\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0441\u04d9\u0440\u0441\u0435\u043d\u0431\u0456_\u0431\u0435\u0439\u0441\u0435\u043d\u0431\u0456_\u0436\u04b1\u043c\u0430_\u0441\u0435\u043d\u0431\u0456".split("_"),weekdaysShort:"\u0436\u0435\u043a_\u0434\u04af\u0439_\u0441\u0435\u0439_\u0441\u04d9\u0440_\u0431\u0435\u0439_\u0436\u04b1\u043c_\u0441\u0435\u043d".split("_"),weekdaysMin:"\u0436\u043a_\u0434\u0439_\u0441\u0439_\u0441\u0440_\u0431\u0439_\u0436\u043c_\u0441\u043d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u0456\u043d \u0441\u0430\u0493\u0430\u0442] LT",nextDay:"[\u0415\u0440\u0442\u0435\u04a3 \u0441\u0430\u0493\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0493\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0448\u0435 \u0441\u0430\u0493\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u0435\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u04a3] dddd [\u0441\u0430\u0493\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0456\u0448\u0456\u043d\u0434\u0435",past:"%s \u0431\u04b1\u0440\u044b\u043d",s:"\u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442",mm:"%d \u043c\u0438\u043d\u0443\u0442",h:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442",hh:"%d \u0441\u0430\u0493\u0430\u0442",d:"\u0431\u0456\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0456\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0456\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0448\u0456|\u0448\u044b)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},bYM6:function(e,t,n){!function(e){"use strict";e.defineLocale("ar-tn",{months:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u062c\u0627\u0646\u0641\u064a_\u0641\u064a\u0641\u0631\u064a_\u0645\u0627\u0631\u0633_\u0623\u0641\u0631\u064a\u0644_\u0645\u0627\u064a_\u062c\u0648\u0627\u0646_\u062c\u0648\u064a\u0644\u064a\u0629_\u0623\u0648\u062a_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},week:{dow:1,doy:4}})}(n("wd/R"))},bpih:function(e,t,n){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},bv9b:function(e,t,n){"use strict";n.d(t,"a",function(){return x}),n.d(t,"b",function(){return w});var i=n("Ji7U"),r=n("LK+K"),a=n("vuIU"),o=n("1OyB"),s=n("fXoL"),l=n("ofXK"),c=n("FKr1"),d=n("8LU1"),u=n("R1ws"),p=n("quSY"),h=n("xgIS"),m=n("pLZG"),g=["primaryValueBar"],f=Object(a.a)(function e(t){Object(o.a)(this,e),this._elementRef=t}),v=Object(c.y)(f,"primary"),y=new s.InjectionToken("mat-progress-bar-location",{providedIn:"root",factory:function(){var e=Object(s.inject)(l.DOCUMENT),t=e?e.location:null;return{getPathname:function(){return t?t.pathname+t.search:""}}}}),b=0,x=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r,a){var l;Object(o.a)(this,n),(l=t.call(this,e))._elementRef=e,l._ngZone=i,l._animationMode=r,l._isNoopAnimation=!1,l._value=0,l._bufferValue=0,l.animationEnd=new s.EventEmitter,l._animationEndSubscription=p.a.EMPTY,l.mode="determinate",l.progressbarId="mat-progress-bar-".concat(b++);var c=a?a.getPathname().split("#")[0]:"";return l._rectangleFillValue="url('".concat(c,"#").concat(l.progressbarId,"')"),l._isNoopAnimation="NoopAnimations"===r,l}return Object(a.a)(n,[{key:"value",get:function(){return this._value},set:function(e){this._value=_(Object(d.f)(e)||0)}},{key:"bufferValue",get:function(){return this._bufferValue},set:function(e){this._bufferValue=_(e||0)}},{key:"_primaryTransform",value:function(){return{transform:"scale3d(".concat(this.value/100,", 1, 1)")}}},{key:"_bufferTransform",value:function(){return"buffer"===this.mode?{transform:"scale3d(".concat(this.bufferValue/100,", 1, 1)")}:null}},{key:"ngAfterViewInit",value:function(){var e=this;this._ngZone.runOutsideAngular(function(){var t=e._primaryValueBar.nativeElement;e._animationEndSubscription=Object(h.a)(t,"transitionend").pipe(Object(m.a)(function(e){return e.target===t})).subscribe(function(){"determinate"!==e.mode&&"buffer"!==e.mode||e._ngZone.run(function(){return e.animationEnd.next({value:e.value})})})})}},{key:"ngOnDestroy",value:function(){this._animationEndSubscription.unsubscribe()}}]),n}(v);return e.\u0275fac=function(t){return new(t||e)(s["\u0275\u0275directiveInject"](s.ElementRef),s["\u0275\u0275directiveInject"](s.NgZone),s["\u0275\u0275directiveInject"](u.a,8),s["\u0275\u0275directiveInject"](y,8))},e.\u0275cmp=s["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-progress-bar"]],viewQuery:function(e,t){var n;1&e&&s["\u0275\u0275viewQuery"](g,1),2&e&&s["\u0275\u0275queryRefresh"](n=s["\u0275\u0275loadQuery"]())&&(t._primaryValueBar=n.first)},hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-progress-bar"],hostVars:4,hostBindings:function(e,t){2&e&&(s["\u0275\u0275attribute"]("aria-valuenow","indeterminate"===t.mode||"query"===t.mode?null:t.value)("mode",t.mode),s["\u0275\u0275classProp"]("_mat-animation-noopable",t._isNoopAnimation))},inputs:{color:"color",mode:"mode",value:"value",bufferValue:"bufferValue"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],features:[s["\u0275\u0275InheritDefinitionFeature"]],decls:10,vars:4,consts:[["aria-hidden","true"],["width","100%","height","4","focusable","false",1,"mat-progress-bar-background","mat-progress-bar-element"],["x","4","y","0","width","8","height","4","patternUnits","userSpaceOnUse",3,"id"],["cx","2","cy","2","r","2"],["width","100%","height","100%"],[1,"mat-progress-bar-buffer","mat-progress-bar-element",3,"ngStyle"],[1,"mat-progress-bar-primary","mat-progress-bar-fill","mat-progress-bar-element",3,"ngStyle"],["primaryValueBar",""],[1,"mat-progress-bar-secondary","mat-progress-bar-fill","mat-progress-bar-element"]],template:function(e,t){1&e&&(s["\u0275\u0275elementStart"](0,"div",0),s["\u0275\u0275namespaceSVG"](),s["\u0275\u0275elementStart"](1,"svg",1),s["\u0275\u0275elementStart"](2,"defs"),s["\u0275\u0275elementStart"](3,"pattern",2),s["\u0275\u0275element"](4,"circle",3),s["\u0275\u0275elementEnd"](),s["\u0275\u0275elementEnd"](),s["\u0275\u0275element"](5,"rect",4),s["\u0275\u0275elementEnd"](),s["\u0275\u0275namespaceHTML"](),s["\u0275\u0275element"](6,"div",5),s["\u0275\u0275element"](7,"div",6,7),s["\u0275\u0275element"](9,"div",8),s["\u0275\u0275elementEnd"]()),2&e&&(s["\u0275\u0275advance"](3),s["\u0275\u0275property"]("id",t.progressbarId),s["\u0275\u0275advance"](2),s["\u0275\u0275attribute"]("fill",t._rectangleFillValue),s["\u0275\u0275advance"](1),s["\u0275\u0275property"]("ngStyle",t._bufferTransform()),s["\u0275\u0275advance"](1),s["\u0275\u0275property"]("ngStyle",t._primaryTransform()))},directives:[l.NgStyle],styles:['.mat-progress-bar{display:block;height:4px;overflow:hidden;position:relative;transition:opacity 250ms linear;width:100%}._mat-animation-noopable.mat-progress-bar{transition:none;animation:none}.mat-progress-bar .mat-progress-bar-element,.mat-progress-bar .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}.mat-progress-bar .mat-progress-bar-background{width:calc(100% + 10px)}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-background{display:none}.mat-progress-bar .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-buffer{border-top:solid 5px;opacity:.5}.mat-progress-bar .mat-progress-bar-secondary{display:none}.mat-progress-bar .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}.cdk-high-contrast-active .mat-progress-bar .mat-progress-bar-fill{border-top:solid 4px}.mat-progress-bar .mat-progress-bar-fill::after{animation:none;content:"";display:inline-block;left:0}.mat-progress-bar[dir=rtl],[dir=rtl] .mat-progress-bar{transform:rotateY(180deg)}.mat-progress-bar[mode=query]{transform:rotateZ(180deg)}.mat-progress-bar[mode=query][dir=rtl],[dir=rtl] .mat-progress-bar[mode=query]{transform:rotateZ(180deg) rotateY(180deg)}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-fill,.mat-progress-bar[mode=query] .mat-progress-bar-fill{transition:none}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary,.mat-progress-bar[mode=query] .mat-progress-bar-primary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-translate 2000ms infinite linear;left:-145.166611%}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-primary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary,.mat-progress-bar[mode=query] .mat-progress-bar-secondary{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-translate 2000ms infinite linear;left:-54.888891%;display:block}.mat-progress-bar[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-secondary-indeterminate-scale 2000ms infinite linear}.mat-progress-bar[mode=buffer] .mat-progress-bar-background{-webkit-backface-visibility:hidden;backface-visibility:hidden;animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-buffer,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-primary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-secondary.mat-progress-bar-fill::after,.mat-progress-bar._mat-animation-noopable .mat-progress-bar-background{animation:none;transition-duration:1ms}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-8px)}}\n'],encapsulation:2,changeDetection:0}),e}();function _(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.max(t,Math.min(n,e))}var w=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=s["\u0275\u0275defineInjector"]({imports:[[l.CommonModule,c.j],c.j]}),e}()},bxKX:function(e,t,n){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_luned\xec_marted\xec_mercoled\xec_gioved\xec_venerd\xec_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},c2HN:function(e,t,n){"use strict";function i(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",function(){return i})},cH1L:function(e,t,n){"use strict";n.d(t,"a",function(){return c}),n.d(t,"b",function(){return l});var i=n("1OyB"),r=n("vuIU"),a=n("fXoL"),o=n("ofXK"),s=new a.InjectionToken("cdk-dir-doc",{providedIn:"root",factory:function(){return Object(a.inject)(o.DOCUMENT)}}),l=function(){var e=function(){function e(t){if(Object(i.a)(this,e),this.value="ltr",this.change=new a.EventEmitter,t){var n=(t.body?t.body.dir:null)||(t.documentElement?t.documentElement.dir:null);this.value="ltr"===n||"rtl"===n?n:"ltr"}}return Object(r.a)(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275inject"](s,8))},e.\u0275prov=Object(a["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(a["\u0275\u0275inject"])(s,8))},token:e,providedIn:"root"}),e}(),c=function(){var e=Object(r.a)(function e(){Object(i.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=a["\u0275\u0275defineInjector"]({}),e}()},cRix:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),n="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[\xf4fr\xfbne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien min\xfat",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n("wd/R"))},cp0P:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("KQm4"),r=n("HDdC"),a=n("DH7j"),o=n("lJxs"),s=n("XoHu"),l=n("Cfvw");function c(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){var r=t[0];if(Object(a.a)(r))return d(r,null);if(Object(s.a)(r)&&Object.getPrototypeOf(r)===Object.prototype){var l=Object.keys(r);return d(l.map(function(e){return r[e]}),l)}}if("function"==typeof t[t.length-1]){var c=t.pop();return d(t=1===t.length&&Object(a.a)(t[0])?t[0]:t,null).pipe(Object(o.a)(function(e){return c.apply(void 0,Object(i.a)(e))}))}return d(t,null)}function d(e,t){return new r.a(function(n){var i=e.length;if(0!==i)for(var r=new Array(i),a=0,o=0,s=function(s){var c=Object(l.a)(e[s]),d=!1;n.add(c.subscribe({next:function(e){d||(d=!0,o++),r[s]=e},error:function(e){return n.error(e)},complete:function(){++a!==i&&d||(o===i&&n.next(t?t.reduce(function(e,t,n){return e[t]=r[n],e},{}):r),n.complete())}}))},c=0;c<i;c++)s(c);else n.complete()})}},czMo:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n("wd/R"))},d2mR:function(e,t,n){"use strict";n.d(t,"a",function(){return X}),n.d(t,"b",function(){return K});var i=n("ofXK"),r=n("wZkO"),a=n("sYmb"),o=n("tk/3"),s=n("1jcm"),l=n("QibW"),c=n("kmnG"),d=n("iadO"),u=n("3Pt+"),p=n("qFsG"),h=n("bTqV"),m=n("Xa2L"),g=n("0IaG"),f=n("/t3+"),v=n("r3oX"),y=n("d3UM"),b=n("Wp6s"),x=(n("uFwe"),n("Ji7U"),n("LK+K"),n("vuIU")),_=n("1OyB"),w=n("fXoL"),S=n("FKr1"),C=(n("8LU1"),n("XNiG")),k=(n("1G5W"),n("JX91"),n("u47x"),n("0EQZ"),n("FtGj"),function(){var e=Object(x.a)(function e(){Object(_.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=w["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=w["\u0275\u0275defineInjector"]({imports:[[S.j],S.j]}),e}()),O=function(){var e=Object(x.a)(function e(){Object(_.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=w["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=w["\u0275\u0275defineInjector"]({imports:[[S.l,S.u,S.j,S.s,i.CommonModule],S.l,S.j,S.s,k]}),e}();n("ReuC"),n("foSv"),n("KQm4"),n("cH1L");var E=function(){var e=Object(x.a)(function e(){Object(_.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=w["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=w["\u0275\u0275defineInjector"]({imports:[[S.l,S.j],S.l,S.j]}),e}(),M=n("7EHt"),I=n("NFeN"),P=n("bv9b"),T=n("+0xr");n("R1ws"),n("nLfN"),n("quSY");var D=function(){var e=Object(x.a)(function e(){Object(_.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=w["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=w["\u0275\u0275defineInjector"]({imports:[[i.CommonModule,S.j],S.j]}),e}(),L=n("bSwM"),R=n("A5z7"),j=n("Qu3c"),A=n("/1cH"),F=n("Dvla"),B=n("dNgK"),z=function(){var e=Object(x.a)(function e(){Object(_.a)(this,e),this.changes=new C.a,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=function(e,t,n){if(0==n||0==t)return"0 of ".concat(n);var i=e*t,r=i<(n=Math.max(n,0))?Math.min(i+t,n):i+t;return"".concat(i+1," \u2013 ").concat(r," of ").concat(n)}});return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(w["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}(),N={provide:z,deps:[[new w.Optional,new w.SkipSelf,z]],useFactory:function(e){return e||new z}},H=function(){var e=Object(x.a)(function e(){Object(_.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=w["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=w["\u0275\u0275defineInjector"]({providers:[N],imports:[[i.CommonModule,h.c,y.b,j.b,S.j]]}),e}(),V=n("Dh3D"),Y=n("STbY"),W=n("TU8p"),G=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/assets/i18n/",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".json";Object(_.a)(this,e),this.http=t,this.prefix=n,this.suffix=i}return Object(x.a)(e,[{key:"getTranslation",value:function(e){return this.http.get("".concat(this.prefix).concat(e).concat(this.suffix))}}]),e}(),U=n("kAVD"),q=n("Bu+s"),Z=n("1kSV"),$=n("tyNb");function X(e){return new G(e)}var K=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=w["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=w["\u0275\u0275defineInjector"]({providers:[q.o,q.Q,q.U,q.cb,q.db,q.G,q.eb,q.ib,q.lb,q.K,q.hb,q.w,q.g,q.C,q.sb,q.O,q.z,q.s,q.D,q.n,q.j,q.N,q.d,q.B,q.R,q.x,q.H,q.pb,q.rb,q.b,q.A,q.y,q.V,q.kb,q.Y,q.Z,q.M,q.h,q.f,q.qb,q.ob],imports:[[Z.a,i.CommonModule,a.b,i.CommonModule,r.d,s.b,U.b,l.c,c.e,d.c,u.j,u.v,p.c,h.c,m.b,g.e,f.b,v.b,y.b,b.e,O,E,r.d,s.b,l.c,M.b,I.b,P.b,T.k,D,L.b,R.e,j.b,A.b,F.b,B.c,H,V.c,Y.c,W.b,o.c,$.g],Z.a,a.b,i.CommonModule,r.d,s.b,l.c,c.e,d.c,u.j,U.b,u.v,p.c,h.c,m.b,g.e,f.b,v.b,y.b,b.e,O,E,r.d,s.b,l.c,M.b,I.b,P.b,T.k,D,L.b,R.e,j.b,A.b,F.b,B.c,H,V.c,Y.c,W.b,o.c]}),e}()},d3UM:function(e,t,n){"use strict";n.d(t,"a",function(){return ee}),n.d(t,"b",function(){return ne});var i=n("ReuC"),r=n("foSv"),a=n("KQm4"),o=n("JX7q"),s=n("Ji7U"),l=n("LK+K"),c=n("vuIU"),d=n("1OyB"),u=n("rDax"),p=n("ofXK"),h=n("fXoL"),m=n("FKr1"),g=n("kmnG"),f=n("vxfF"),v=n("u47x"),y=n("8LU1"),b=n("0EQZ"),x=n("FtGj"),_=n("XNiG"),w=n("NXyV"),S=n("VRyK"),C=n("JX91"),k=n("eIep"),O=n("IzEk"),E=n("pLZG"),M=n("lJxs"),I=n("/uUt"),P=n("1G5W"),T=n("R0Ic"),D=n("cH1L"),L=n("3Pt+"),R=["trigger"],j=["panel"];function A(e,t){if(1&e&&(h["\u0275\u0275elementStart"](0,"span",8),h["\u0275\u0275text"](1),h["\u0275\u0275elementEnd"]()),2&e){var n=h["\u0275\u0275nextContext"]();h["\u0275\u0275advance"](1),h["\u0275\u0275textInterpolate"](n.placeholder)}}function F(e,t){if(1&e&&(h["\u0275\u0275elementStart"](0,"span",12),h["\u0275\u0275text"](1),h["\u0275\u0275elementEnd"]()),2&e){var n=h["\u0275\u0275nextContext"](2);h["\u0275\u0275advance"](1),h["\u0275\u0275textInterpolate"](n.triggerValue)}}function B(e,t){1&e&&h["\u0275\u0275projection"](0,0,["*ngSwitchCase","true"])}function z(e,t){if(1&e&&(h["\u0275\u0275elementStart"](0,"span",9),h["\u0275\u0275template"](1,F,2,1,"span",10),h["\u0275\u0275template"](2,B,1,0,"ng-content",11),h["\u0275\u0275elementEnd"]()),2&e){var n=h["\u0275\u0275nextContext"]();h["\u0275\u0275property"]("ngSwitch",!!n.customTrigger),h["\u0275\u0275advance"](2),h["\u0275\u0275property"]("ngSwitchCase",!0)}}function N(e,t){if(1&e){var n=h["\u0275\u0275getCurrentView"]();h["\u0275\u0275elementStart"](0,"div",13),h["\u0275\u0275elementStart"](1,"div",14,15),h["\u0275\u0275listener"]("@transformPanel.done",function(e){return h["\u0275\u0275restoreView"](n),h["\u0275\u0275nextContext"]()._panelDoneAnimatingStream.next(e.toState)})("keydown",function(e){return h["\u0275\u0275restoreView"](n),h["\u0275\u0275nextContext"]()._handleKeydown(e)}),h["\u0275\u0275projection"](3,1),h["\u0275\u0275elementEnd"](),h["\u0275\u0275elementEnd"]()}if(2&e){var i=h["\u0275\u0275nextContext"]();h["\u0275\u0275property"]("@transformPanelWrap",void 0),h["\u0275\u0275advance"](1),h["\u0275\u0275classMapInterpolate1"]("mat-select-panel ",i._getPanelTheme(),""),h["\u0275\u0275styleProp"]("transform-origin",i._transformOrigin)("font-size",i._triggerFontSize,"px"),h["\u0275\u0275property"]("ngClass",i.panelClass)("@transformPanel",i.multiple?"showing-multiple":"showing"),h["\u0275\u0275attribute"]("id",i.id+"-panel")("aria-multiselectable",i.multiple)("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby())}}var H=[[["mat-select-trigger"]],"*"],V=["mat-select-trigger","*"],Y={transformPanelWrap:Object(T.n)("transformPanelWrap",[Object(T.m)("* => void",Object(T.i)("@transformPanel",[Object(T.f)()],{optional:!0}))]),transformPanel:Object(T.n)("transformPanel",[Object(T.k)("void",Object(T.l)({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),Object(T.k)("showing",Object(T.l)({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),Object(T.k)("showing-multiple",Object(T.l)({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),Object(T.m)("void => *",Object(T.e)("120ms cubic-bezier(0, 0, 0.2, 1)")),Object(T.m)("* => void",Object(T.e)("100ms 25ms linear",Object(T.l)({opacity:0})))])},W=0,G=256,U=new h.InjectionToken("mat-select-scroll-strategy"),q=new h.InjectionToken("MAT_SELECT_CONFIG"),Z={provide:U,deps:[u.c],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},$=Object(c.a)(function e(t,n){Object(d.a)(this,e),this.source=t,this.value=n}),X=Object(c.a)(function e(t,n,i,r,a){Object(d.a)(this,e),this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=i,this._parentFormGroup=r,this.ngControl=a}),K=Object(m.z)(Object(m.D)(Object(m.A)(Object(m.B)(X)))),J=new h.InjectionToken("MatSelectTrigger"),Q=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r,s,l,c,u,p,m,g,f,v,y,b){var x,I,P,T;return Object(d.a)(this,n),(x=t.call(this,l,s,u,p,g))._viewportRuler=e,x._changeDetectorRef=i,x._ngZone=r,x._dir=c,x._parentFormField=m,x.ngControl=g,x._liveAnnouncer=y,x._defaultOptions=b,x._panelOpen=!1,x._compareWith=function(e,t){return e===t},x._uid="mat-select-".concat(W++),x._triggerAriaLabelledBy=null,x._destroy=new _.a,x._onChange=function(){},x._onTouched=function(){},x._valueId="mat-select-value-".concat(W++),x._panelDoneAnimatingStream=new _.a,x._overlayPanelClass=(null===(I=x._defaultOptions)||void 0===I?void 0:I.overlayPanelClass)||"",x._focused=!1,x.controlType="mat-select",x._required=!1,x._multiple=!1,x._disableOptionCentering=null!==(T=null===(P=x._defaultOptions)||void 0===P?void 0:P.disableOptionCentering)&&void 0!==T&&T,x.ariaLabel="",x.optionSelectionChanges=Object(w.a)(function(){var e=x.options;return e?e.changes.pipe(Object(C.a)(e),Object(k.a)(function(){return S.a.apply(void 0,Object(a.a)(e.map(function(e){return e.onSelectionChange})))})):x._ngZone.onStable.pipe(Object(O.a)(1),Object(k.a)(function(){return x.optionSelectionChanges}))}),x.openedChange=new h.EventEmitter,x._openedStream=x.openedChange.pipe(Object(E.a)(function(e){return e}),Object(M.a)(function(){})),x._closedStream=x.openedChange.pipe(Object(E.a)(function(e){return!e}),Object(M.a)(function(){})),x.selectionChange=new h.EventEmitter,x.valueChange=new h.EventEmitter,x.ngControl&&(x.ngControl.valueAccessor=Object(o.a)(x)),null!=(null==b?void 0:b.typeaheadDebounceInterval)&&(x._typeaheadDebounceInterval=b.typeaheadDebounceInterval),x._scrollStrategyFactory=v,x._scrollStrategy=x._scrollStrategyFactory(),x.tabIndex=parseInt(f)||0,x.id=x.id,x}return Object(c.a)(n,[{key:"focused",get:function(){return this._focused||this._panelOpen}},{key:"placeholder",get:function(){return this._placeholder},set:function(e){this._placeholder=e,this.stateChanges.next()}},{key:"required",get:function(){return this._required},set:function(e){this._required=Object(y.c)(e),this.stateChanges.next()}},{key:"multiple",get:function(){return this._multiple},set:function(e){this._multiple=Object(y.c)(e)}},{key:"disableOptionCentering",get:function(){return this._disableOptionCentering},set:function(e){this._disableOptionCentering=Object(y.c)(e)}},{key:"compareWith",get:function(){return this._compareWith},set:function(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}},{key:"value",get:function(){return this._value},set:function(e){(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e)}},{key:"typeaheadDebounceInterval",get:function(){return this._typeaheadDebounceInterval},set:function(e){this._typeaheadDebounceInterval=Object(y.f)(e)}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid,this.stateChanges.next()}},{key:"ngOnInit",value:function(){var e=this;this._selectionModel=new b.c(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(Object(I.a)(),Object(P.a)(this._destroy)).subscribe(function(){return e._panelDoneAnimating(e.panelOpen)})}},{key:"ngAfterContentInit",value:function(){var e=this;this._initKeyManager(),this._selectionModel.changed.pipe(Object(P.a)(this._destroy)).subscribe(function(e){e.added.forEach(function(e){return e.select()}),e.removed.forEach(function(e){return e.deselect()})}),this.options.changes.pipe(Object(C.a)(null),Object(P.a)(this._destroy)).subscribe(function(){e._resetOptions(),e._initializeSelection()})}},{key:"ngDoCheck",value:function(){var e=this._getTriggerAriaLabelledby();if(e!==this._triggerAriaLabelledBy){var t=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?t.setAttribute("aria-labelledby",e):t.removeAttribute("aria-labelledby")}this.ngControl&&this.updateErrorState()}},{key:"ngOnChanges",value:function(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}},{key:"ngOnDestroy",value:function(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}},{key:"toggle",value:function(){this.panelOpen?this.close():this.open()}},{key:"open",value:function(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}},{key:"close",value:function(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}},{key:"writeValue",value:function(e){this.value=e}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}},{key:"panelOpen",get:function(){return this._panelOpen}},{key:"selected",get:function(){return this.multiple?this._selectionModel.selected:this._selectionModel.selected[0]}},{key:"triggerValue",get:function(){if(this.empty)return"";if(this._multiple){var e=this._selectionModel.selected.map(function(e){return e.viewValue});return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}},{key:"_isRtl",value:function(){return!!this._dir&&"rtl"===this._dir.value}},{key:"_handleKeydown",value:function(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}},{key:"_handleClosedKeydown",value:function(e){var t=e.keyCode,n=t===x.e||t===x.q||t===x.j||t===x.n,i=t===x.g||t===x.o,r=this._keyManager;if(!r.isTyping()&&i&&!Object(x.t)(e)||(this.multiple||e.altKey)&&n)e.preventDefault(),this.open();else if(!this.multiple){var a=this.selected;r.onKeydown(e);var o=this.selected;o&&a!==o&&this._liveAnnouncer.announce(o.viewValue,1e4)}}},{key:"_handleOpenKeydown",value:function(e){var t=this._keyManager,n=e.keyCode,i=n===x.e||n===x.q,r=t.isTyping();if(i&&e.altKey)e.preventDefault(),this.close();else if(r||n!==x.g&&n!==x.o||!t.activeItem||Object(x.t)(e))if(!r&&this._multiple&&n===x.a&&e.ctrlKey){e.preventDefault();var a=this.options.some(function(e){return!e.disabled&&!e.selected});this.options.forEach(function(e){e.disabled||(a?e.select():e.deselect())})}else{var o=t.activeItemIndex;t.onKeydown(e),this._multiple&&i&&e.shiftKey&&t.activeItem&&t.activeItemIndex!==o&&t.activeItem._selectViaInteraction()}else e.preventDefault(),t.activeItem._selectViaInteraction()}},{key:"_onFocus",value:function(){this.disabled||(this._focused=!0,this.stateChanges.next())}},{key:"_onBlur",value:function(){this._focused=!1,this.disabled||this.panelOpen||(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}},{key:"_onAttached",value:function(){var e=this;this.overlayDir.positionChange.pipe(Object(O.a)(1)).subscribe(function(){e._changeDetectorRef.detectChanges(),e._positioningSettled()})}},{key:"_getPanelTheme",value:function(){return this._parentFormField?"mat-".concat(this._parentFormField.color):""}},{key:"empty",get:function(){return!this._selectionModel||this._selectionModel.isEmpty()}},{key:"_initializeSelection",value:function(){var e=this;Promise.resolve().then(function(){e._setSelectionByValue(e.ngControl?e.ngControl.value:e._value),e.stateChanges.next()})}},{key:"_setSelectionByValue",value:function(e){var t=this;if(this._selectionModel.selected.forEach(function(e){return e.setInactiveStyles()}),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(function(e){return t._selectValue(e)}),this._sortValues();else{var n=this._selectValue(e);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}},{key:"_selectValue",value:function(e){var t=this,n=this.options.find(function(n){if(t._selectionModel.isSelected(n))return!1;try{return null!=n.value&&t._compareWith(n.value,e)}catch(i){return!1}});return n&&this._selectionModel.select(n),n}},{key:"_initKeyManager",value:function(){var e=this;this._keyManager=new v.b(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(Object(P.a)(this._destroy)).subscribe(function(){e.panelOpen&&(!e.multiple&&e._keyManager.activeItem&&e._keyManager.activeItem._selectViaInteraction(),e.focus(),e.close())}),this._keyManager.change.pipe(Object(P.a)(this._destroy)).subscribe(function(){e._panelOpen&&e.panel?e._scrollOptionIntoView(e._keyManager.activeItemIndex||0):e._panelOpen||e.multiple||!e._keyManager.activeItem||e._keyManager.activeItem._selectViaInteraction()})}},{key:"_resetOptions",value:function(){var e=this,t=Object(S.a)(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(Object(P.a)(t)).subscribe(function(t){e._onSelect(t.source,t.isUserInput),t.isUserInput&&!e.multiple&&e._panelOpen&&(e.close(),e.focus())}),S.a.apply(void 0,Object(a.a)(this.options.map(function(e){return e._stateChanges}))).pipe(Object(P.a)(t)).subscribe(function(){e._changeDetectorRef.markForCheck(),e.stateChanges.next()})}},{key:"_onSelect",value:function(e,t){var n=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(n!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),t&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),t&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),n!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}},{key:"_sortValues",value:function(){var e=this;if(this.multiple){var t=this.options.toArray();this._selectionModel.sort(function(n,i){return e.sortComparator?e.sortComparator(n,i,t):t.indexOf(n)-t.indexOf(i)}),this.stateChanges.next()}}},{key:"_propagateChanges",value:function(e){var t;t=this.multiple?this.selected.map(function(e){return e.value}):this.selected?this.selected.value:e,this._value=t,this.valueChange.emit(t),this._onChange(t),this.selectionChange.emit(this._getChangeEvent(t)),this._changeDetectorRef.markForCheck()}},{key:"_highlightCorrectOption",value:function(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}},{key:"_canOpen",value:function(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_getPanelAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(t?t+" ":"")+this.ariaLabelledby:t}},{key:"_getAriaActiveDescendant",value:function(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}},{key:"_getTriggerAriaLabelledby",value:function(){var e;if(this.ariaLabel)return null;var t=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId(),n=(t?t+" ":"")+this._valueId;return this.ariaLabelledby&&(n+=" "+this.ariaLabelledby),n}},{key:"_panelDoneAnimating",value:function(e){this.openedChange.emit(e)}},{key:"setDescribedByIds",value:function(e){this._ariaDescribedby=e.join(" ")}},{key:"onContainerClick",value:function(){this.focus(),this.open()}},{key:"shouldLabelFloat",get:function(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}]),n}(K);return e.\u0275fac=function(t){return new(t||e)(h["\u0275\u0275directiveInject"](f.d),h["\u0275\u0275directiveInject"](h.ChangeDetectorRef),h["\u0275\u0275directiveInject"](h.NgZone),h["\u0275\u0275directiveInject"](m.d),h["\u0275\u0275directiveInject"](h.ElementRef),h["\u0275\u0275directiveInject"](D.b,8),h["\u0275\u0275directiveInject"](L.q,8),h["\u0275\u0275directiveInject"](L.i,8),h["\u0275\u0275directiveInject"](g.a,8),h["\u0275\u0275directiveInject"](L.n,10),h["\u0275\u0275injectAttribute"]("tabindex"),h["\u0275\u0275directiveInject"](U),h["\u0275\u0275directiveInject"](v.k),h["\u0275\u0275directiveInject"](q,8))},e.\u0275dir=h["\u0275\u0275defineDirective"]({type:e,viewQuery:function(e,t){var n;1&e&&(h["\u0275\u0275viewQuery"](R,1),h["\u0275\u0275viewQuery"](j,1),h["\u0275\u0275viewQuery"](u.a,1)),2&e&&(h["\u0275\u0275queryRefresh"](n=h["\u0275\u0275loadQuery"]())&&(t.trigger=n.first),h["\u0275\u0275queryRefresh"](n=h["\u0275\u0275loadQuery"]())&&(t.panel=n.first),h["\u0275\u0275queryRefresh"](n=h["\u0275\u0275loadQuery"]())&&(t.overlayDir=n.first))},inputs:{ariaLabel:["aria-label","ariaLabel"],id:"id",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",typeaheadDebounceInterval:"typeaheadDebounceInterval",panelClass:"panelClass",ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",sortComparator:"sortComparator"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[h["\u0275\u0275InheritDefinitionFeature"],h["\u0275\u0275NgOnChangesFeature"]]}),e}(),ee=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){var e;return Object(d.a)(this,n),(e=t.apply(this,arguments))._scrollTop=0,e._triggerFontSize=0,e._transformOrigin="top",e._offsetY=0,e._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}],e}return Object(c.a)(n,[{key:"_calculateOverlayScroll",value:function(e,t,n){var i=this._getItemHeight();return Math.min(Math.max(0,i*e-t+i/2),n)}},{key:"ngOnInit",value:function(){var e=this;Object(i.a)(Object(r.a)(n.prototype),"ngOnInit",this).call(this),this._viewportRuler.change().pipe(Object(P.a)(this._destroy)).subscribe(function(){e.panelOpen&&(e._triggerRect=e.trigger.nativeElement.getBoundingClientRect(),e._changeDetectorRef.markForCheck())})}},{key:"open",value:function(){var e=this;Object(i.a)(Object(r.a)(n.prototype),"_canOpen",this).call(this)&&(Object(i.a)(Object(r.a)(n.prototype),"open",this).call(this),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(Object(O.a)(1)).subscribe(function(){e._triggerFontSize&&e.overlayDir.overlayRef&&e.overlayDir.overlayRef.overlayElement&&(e.overlayDir.overlayRef.overlayElement.style.fontSize="".concat(e._triggerFontSize,"px"))}))}},{key:"_scrollOptionIntoView",value:function(e){var t=Object(m.w)(e,this.options,this.optionGroups),n=this._getItemHeight();this.panel.nativeElement.scrollTop=Object(m.x)((e+t)*n,n,this.panel.nativeElement.scrollTop,G)}},{key:"_positioningSettled",value:function(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}},{key:"_panelDoneAnimating",value:function(e){this.panelOpen?this._scrollTop=0:(this.overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),Object(i.a)(Object(r.a)(n.prototype),"_panelDoneAnimating",this).call(this,e)}},{key:"_getChangeEvent",value:function(e){return new $(this,e)}},{key:"_calculateOverlayOffsetX",value:function(){var e,t=this.overlayDir.overlayRef.overlayElement.getBoundingClientRect(),n=this._viewportRuler.getViewportSize(),i=this._isRtl(),r=this.multiple?56:32;if(this.multiple)e=40;else if(this.disableOptionCentering)e=16;else{var a=this._selectionModel.selected[0]||this.options.first;e=a&&a.group?32:16}i||(e*=-1);var o=0-(t.left+e-(i?r:0)),s=t.right+e-n.width+(i?0:r);o>0?e+=o+8:s>0&&(e-=s+8),this.overlayDir.offsetX=Math.round(e),this.overlayDir.overlayRef.updatePosition()}},{key:"_calculateOverlayOffsetY",value:function(e,t,n){var i,r=this._getItemHeight(),a=(r-this._triggerRect.height)/2,o=Math.floor(G/r);return this.disableOptionCentering?0:(i=0===this._scrollTop?e*r:this._scrollTop===n?(e-(this._getItemCount()-o))*r+(r-(this._getItemCount()*r-G)%r):t-r/2,Math.round(-1*i-a))}},{key:"_checkOverlayWithinViewport",value:function(e){var t=this._getItemHeight(),n=this._viewportRuler.getViewportSize(),i=this._triggerRect.top-8,r=n.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),o=Math.min(this._getItemCount()*t,G)-a-this._triggerRect.height;o>r?this._adjustPanelUp(o,r):a>i?this._adjustPanelDown(a,i,e):this._transformOrigin=this._getOriginBasedOnOption()}},{key:"_adjustPanelUp",value:function(e,t){var n=Math.round(e-t);this._scrollTop-=n,this._offsetY-=n,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}},{key:"_adjustPanelDown",value:function(e,t,n){var i=Math.round(e-t);if(this._scrollTop+=i,this._offsetY+=i,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=n)return this._scrollTop=n,this._offsetY=0,void(this._transformOrigin="50% top 0px")}},{key:"_calculateOverlayPosition",value:function(){var e,t=this._getItemHeight(),n=this._getItemCount(),i=Math.min(n*t,G),r=n*t-i;e=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),e+=Object(m.w)(e,this.options,this.optionGroups);var a=i/2;this._scrollTop=this._calculateOverlayScroll(e,a,r),this._offsetY=this._calculateOverlayOffsetY(e,a,r),this._checkOverlayWithinViewport(r)}},{key:"_getOriginBasedOnOption",value:function(){var e=this._getItemHeight(),t=(e-this._triggerRect.height)/2,n=Math.abs(this._offsetY)-t+e/2;return"50% ".concat(n,"px 0px")}},{key:"_getItemHeight",value:function(){return 3*this._triggerFontSize}},{key:"_getItemCount",value:function(){return this.options.length+this.optionGroups.length}}]),n}(Q);return e.\u0275fac=function(t){return te(t||e)},e.\u0275cmp=h["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-select"]],contentQueries:function(e,t,n){var i;1&e&&(h["\u0275\u0275contentQuery"](n,J,1),h["\u0275\u0275contentQuery"](n,m.o,1),h["\u0275\u0275contentQuery"](n,m.g,1)),2&e&&(h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t.customTrigger=i.first),h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t.options=i),h["\u0275\u0275queryRefresh"](i=h["\u0275\u0275loadQuery"]())&&(t.optionGroups=i))},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,t){1&e&&h["\u0275\u0275listener"]("keydown",function(e){return t._handleKeydown(e)})("focus",function(){return t._onFocus()})("blur",function(){return t._onBlur()}),2&e&&(h["\u0275\u0275attribute"]("id",t.id)("tabindex",t.tabIndex)("aria-controls",t.panelOpen?t.id+"-panel":null)("aria-expanded",t.panelOpen)("aria-label",t.ariaLabel||null)("aria-required",t.required.toString())("aria-disabled",t.disabled.toString())("aria-invalid",t.errorState)("aria-describedby",t._ariaDescribedby||null)("aria-activedescendant",t._getAriaActiveDescendant()),h["\u0275\u0275classProp"]("mat-select-disabled",t.disabled)("mat-select-invalid",t.errorState)("mat-select-required",t.required)("mat-select-empty",t.empty)("mat-select-multiple",t.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[h["\u0275\u0275ProvidersFeature"]([{provide:g.d,useExisting:e},{provide:m.h,useExisting:e}]),h["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:V,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,t){if(1&e&&(h["\u0275\u0275projectionDef"](H),h["\u0275\u0275elementStart"](0,"div",0,1),h["\u0275\u0275listener"]("click",function(){return t.toggle()}),h["\u0275\u0275elementStart"](3,"div",2),h["\u0275\u0275template"](4,A,2,1,"span",3),h["\u0275\u0275template"](5,z,3,2,"span",4),h["\u0275\u0275elementEnd"](),h["\u0275\u0275elementStart"](6,"div",5),h["\u0275\u0275element"](7,"div",6),h["\u0275\u0275elementEnd"](),h["\u0275\u0275elementEnd"](),h["\u0275\u0275template"](8,N,4,14,"ng-template",7),h["\u0275\u0275listener"]("backdropClick",function(){return t.close()})("attach",function(){return t._onAttached()})("detach",function(){return t.close()})),2&e){var n=h["\u0275\u0275reference"](1);h["\u0275\u0275attribute"]("aria-owns",t.panelOpen?t.id+"-panel":null),h["\u0275\u0275advance"](3),h["\u0275\u0275property"]("ngSwitch",t.empty),h["\u0275\u0275attribute"]("id",t._valueId),h["\u0275\u0275advance"](1),h["\u0275\u0275property"]("ngSwitchCase",!0),h["\u0275\u0275advance"](1),h["\u0275\u0275property"]("ngSwitchCase",!1),h["\u0275\u0275advance"](3),h["\u0275\u0275property"]("cdkConnectedOverlayPanelClass",t._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",t._scrollStrategy)("cdkConnectedOverlayOrigin",n)("cdkConnectedOverlayOpen",t.panelOpen)("cdkConnectedOverlayPositions",t._positions)("cdkConnectedOverlayMinWidth",null==t._triggerRect?null:t._triggerRect.width)("cdkConnectedOverlayOffsetY",t._offsetY)}},directives:[u.b,p.NgSwitch,p.NgSwitchCase,u.a,p.NgSwitchDefault,p.NgClass],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-table;cursor:pointer;position:relative;box-sizing:border-box}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.mat-select-value{display:table-cell;max-width:0;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{display:table-cell;vertical-align:middle}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px}\n'],encapsulation:2,data:{animation:[Y.transformPanelWrap,Y.transformPanel]},changeDetection:0}),e}(),te=h["\u0275\u0275getInheritedFactory"](ee),ne=function(){var e=Object(c.a)(function e(){Object(d.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=h["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=h["\u0275\u0275defineInjector"]({providers:[Z],imports:[[p.CommonModule,u.f,m.p,m.j],f.a,g.e,m.p,m.j]}),e}()},dArS:function(e,t,n){"use strict";function i(e,t,n){var i,r=null==n?"linear":n,a=e.length,o=0,s=0,l=0,c=0,d=[],u=[];if("linear"==r)u=e,d=t;else if("exp"==r||"exponential"==r)for(var p=0;p<t.length;p++)t[p]<=0?a--:(u.push(e[p]),d.push(Math.log(t[p])));for(p=0;p<a;p++)o+=u[p],s+=d[p],c+=u[p]*d[p],l+=u[p]*u[p];return[i=(a*c-o*s)/(a*l-o*o),(s-i*o)/a]}function r(e,t){for(var n,r,a=null==t?"linear":t,o=[],s=[],l=[],c=0;c<e.length;c++)null!=e[c]&&null!=e[c][0]&&null!=e[c][1]&&(o.push(e[c][0]),s.push(e[c][1]));if("linear"==a)for(n=function(e,t){var n;return[(n=i(e,t,"linear"))[0],n[1]]}(o,s),c=0;c<o.length;c++)l.push([o[c],r=n[0]*o[c]+n[1]]);else if("exp"==a||"exponential"==a)for(n=function(e,t){var n;return n=i(e,t,"exp"),[Math.exp(n[0]),Math.exp(n[1])]}(o,s),c=0;c<o.length;c++)r=n[1]*Math.pow(n[0],o[c]),l.push([o[c],r]);return{data:l,slope:n[0],intercept:n[1]}}n.d(t,"a",function(){return r})},dNgK:function(e,t,n){"use strict";n.d(t,"a",function(){return P}),n.d(t,"b",function(){return T}),n.d(t,"c",function(){return I});var i=n("Ji7U"),r=n("LK+K"),a=n("vuIU"),o=n("1OyB"),s=n("rDax"),l=n("+rOU"),c=n("ofXK"),d=n("fXoL"),u=n("FKr1"),p=n("bTqV"),h=n("XNiG"),m=n("IzEk"),g=n("1G5W"),f=n("R0Ic"),v=n("u47x"),y=n("0MNC"),b=n("nLfN");function x(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"div",1),d["\u0275\u0275elementStart"](1,"button",2),d["\u0275\u0275listener"]("click",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"]().action()}),d["\u0275\u0275text"](2),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate"](i.data.action)}}function _(e,t){}var w=new d.InjectionToken("MatSnackBarData"),S=Object(a.a)(function e(){Object(o.a)(this,e),this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}),C=Math.pow(2,31)-1,k=function(){function e(t,n){var i=this;Object(o.a)(this,e),this._overlayRef=n,this._afterDismissed=new h.a,this._afterOpened=new h.a,this._onAction=new h.a,this._dismissedByAction=!1,this.containerInstance=t,this.onAction().subscribe(function(){return i.dismiss()}),t._onExit.subscribe(function(){return i._finishDismiss()})}return Object(a.a)(e,[{key:"dismiss",value:function(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}},{key:"dismissWithAction",value:function(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete()),clearTimeout(this._durationTimeoutId)}},{key:"closeWithAction",value:function(){this.dismissWithAction()}},{key:"_dismissAfter",value:function(e){var t=this;this._durationTimeoutId=setTimeout(function(){return t.dismiss()},Math.min(e,C))}},{key:"_open",value:function(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}},{key:"_finishDismiss",value:function(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}},{key:"afterDismissed",value:function(){return this._afterDismissed}},{key:"afterOpened",value:function(){return this.containerInstance._onEnter}},{key:"onAction",value:function(){return this._onAction}}]),e}(),O=function(){var e=function(){function e(t,n){Object(o.a)(this,e),this.snackBarRef=t,this.data=n}return Object(a.a)(e,[{key:"action",value:function(){this.snackBarRef.dismissWithAction()}},{key:"hasAction",get:function(){return!!this.data.action}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](k),d["\u0275\u0275directiveInject"](w))},e.\u0275cmp=d["\u0275\u0275defineComponent"]({type:e,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-simple-snackbar"],decls:3,vars:2,consts:[["class","mat-simple-snackbar-action",4,"ngIf"],[1,"mat-simple-snackbar-action"],["mat-button","",3,"click"]],template:function(e,t){1&e&&(d["\u0275\u0275elementStart"](0,"span"),d["\u0275\u0275text"](1),d["\u0275\u0275elementEnd"](),d["\u0275\u0275template"](2,x,3,1,"div",0)),2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate"](t.data.message),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",t.hasAction))},directives:[c.NgIf,p.b],styles:[".mat-simple-snackbar{display:flex;justify-content:space-between;align-items:center;line-height:20px;opacity:1}.mat-simple-snackbar-action{flex-shrink:0;margin:-8px -8px -8px 8px}.mat-simple-snackbar-action button{max-height:36px;min-width:0}[dir=rtl] .mat-simple-snackbar-action{margin-left:-8px;margin-right:8px}\n"],encapsulation:2,changeDetection:0}),e}(),E={snackBarState:Object(f.n)("state",[Object(f.k)("void, hidden",Object(f.l)({transform:"scale(0.8)",opacity:0})),Object(f.k)("visible",Object(f.l)({transform:"scale(1)",opacity:1})),Object(f.m)("* => visible",Object(f.e)("150ms cubic-bezier(0, 0, 0.2, 1)")),Object(f.m)("* => void, * => hidden",Object(f.e)("75ms cubic-bezier(0.4, 0.0, 1, 1)",Object(f.l)({opacity:0})))])},M=function(){var e=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r,a,s){var l;return Object(o.a)(this,n),(l=t.call(this))._ngZone=e,l._elementRef=i,l._changeDetectorRef=r,l._platform=a,l.snackBarConfig=s,l._announceDelay=150,l._destroyed=!1,l._onAnnounce=new h.a,l._onExit=new h.a,l._onEnter=new h.a,l._animationState="void",l.attachDomPortal=function(e){return l._assertNotAttached(),l._applySnackBarClasses(),l._portalOutlet.attachDomPortal(e)},l._live="assertive"!==s.politeness||s.announcementMessage?"off"===s.politeness?"off":"polite":"assertive",l._platform.FIREFOX&&("polite"===l._live&&(l._role="status"),"assertive"===l._live&&(l._role="alert")),l}return Object(a.a)(n,[{key:"attachComponentPortal",value:function(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachComponentPortal(e)}},{key:"attachTemplatePortal",value:function(e){return this._assertNotAttached(),this._applySnackBarClasses(),this._portalOutlet.attachTemplatePortal(e)}},{key:"onAnimationEnd",value:function(e){var t=e.toState;if(("void"===t&&"void"!==e.fromState||"hidden"===t)&&this._completeExit(),"visible"===t){var n=this._onEnter;this._ngZone.run(function(){n.next(),n.complete()})}}},{key:"enter",value:function(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}},{key:"exit",value:function(){return this._animationState="hidden",this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId),this._onExit}},{key:"ngOnDestroy",value:function(){this._destroyed=!0,this._completeExit()}},{key:"_completeExit",value:function(){var e=this;this._ngZone.onMicrotaskEmpty.pipe(Object(m.a)(1)).subscribe(function(){e._onExit.next(),e._onExit.complete()})}},{key:"_applySnackBarClasses",value:function(){var e=this._elementRef.nativeElement,t=this.snackBarConfig.panelClass;t&&(Array.isArray(t)?t.forEach(function(t){return e.classList.add(t)}):e.classList.add(t)),"center"===this.snackBarConfig.horizontalPosition&&e.classList.add("mat-snack-bar-center"),"top"===this.snackBarConfig.verticalPosition&&e.classList.add("mat-snack-bar-top")}},{key:"_assertNotAttached",value:function(){this._portalOutlet.hasAttached()}},{key:"_screenReaderAnnounce",value:function(){var e=this;this._announceTimeoutId||this._ngZone.runOutsideAngular(function(){e._announceTimeoutId=setTimeout(function(){var t=e._elementRef.nativeElement.querySelector("[aria-hidden]"),n=e._elementRef.nativeElement.querySelector("[aria-live]");if(t&&n){var i=null;e._platform.isBrowser&&document.activeElement instanceof HTMLElement&&t.contains(document.activeElement)&&(i=document.activeElement),t.removeAttribute("aria-hidden"),n.appendChild(t),null==i||i.focus(),e._onAnnounce.next(),e._onAnnounce.complete()}},e._announceDelay)})}}]),n}(l.a);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.NgZone),d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](d.ChangeDetectorRef),d["\u0275\u0275directiveInject"](b.a),d["\u0275\u0275directiveInject"](S))},e.\u0275cmp=d["\u0275\u0275defineComponent"]({type:e,selectors:[["snack-bar-container"]],viewQuery:function(e,t){var n;1&e&&d["\u0275\u0275viewQuery"](l.c,3),2&e&&d["\u0275\u0275queryRefresh"](n=d["\u0275\u0275loadQuery"]())&&(t._portalOutlet=n.first)},hostAttrs:[1,"mat-snack-bar-container"],hostVars:1,hostBindings:function(e,t){1&e&&d["\u0275\u0275syntheticHostListener"]("@state.done",function(e){return t.onAnimationEnd(e)}),2&e&&d["\u0275\u0275syntheticHostProperty"]("@state",t._animationState)},features:[d["\u0275\u0275InheritDefinitionFeature"]],decls:3,vars:2,consts:[["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(e,t){1&e&&(d["\u0275\u0275elementStart"](0,"div",0),d["\u0275\u0275template"](1,_,0,0,"ng-template",1),d["\u0275\u0275elementEnd"](),d["\u0275\u0275element"](2,"div")),2&e&&(d["\u0275\u0275advance"](2),d["\u0275\u0275attribute"]("aria-live",t._live)("role",t._role))},directives:[l.c],styles:[".mat-snack-bar-container{border-radius:4px;box-sizing:border-box;display:block;margin:24px;max-width:33vw;min-width:344px;padding:14px 16px;min-height:48px;transform-origin:center}.cdk-high-contrast-active .mat-snack-bar-container{border:solid 1px}.mat-snack-bar-handset{width:100%}.mat-snack-bar-handset .mat-snack-bar-container{margin:8px;max-width:100%;min-width:0;width:100%}\n"],encapsulation:2,data:{animation:[E.snackBarState]}}),e}(),I=function(){var e=Object(a.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({imports:[[s.f,l.f,c.CommonModule,p.c,u.j],u.j]}),e}(),P=new d.InjectionToken("mat-snack-bar-default-options",{providedIn:"root",factory:function(){return new S}}),T=function(){var e=function(){function e(t,n,i,r,a,s){Object(o.a)(this,e),this._overlay=t,this._live=n,this._injector=i,this._breakpointObserver=r,this._parentSnackBar=a,this._defaultConfig=s,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=O,this.snackBarContainerComponent=M,this.handsetCssClass="mat-snack-bar-handset"}return Object(a.a)(e,[{key:"_openedSnackBarRef",get:function(){var e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel},set:function(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}},{key:"openFromComponent",value:function(e,t){return this._attach(e,t)}},{key:"openFromTemplate",value:function(e,t){return this._attach(e,t)}},{key:"open",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0,i=Object.assign(Object.assign({},this._defaultConfig),n);return i.data={message:e,action:t},i.announcementMessage===e&&(i.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,i)}},{key:"dismiss",value:function(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}},{key:"ngOnDestroy",value:function(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}},{key:"_attachSnackBarContainer",value:function(e,t){var n=d.Injector.create({parent:t&&t.viewContainerRef&&t.viewContainerRef.injector||this._injector,providers:[{provide:S,useValue:t}]}),i=new l.d(this.snackBarContainerComponent,t.viewContainerRef,n),r=e.attach(i);return r.instance.snackBarConfig=t,r.instance}},{key:"_attach",value:function(e,t){var n=this,i=Object.assign(Object.assign(Object.assign({},new S),this._defaultConfig),t),r=this._createOverlay(i),a=this._attachSnackBarContainer(r,i),o=new k(a,r);if(e instanceof d.TemplateRef){var s=new l.g(e,null,{$implicit:i.data,snackBarRef:o});o.instance=a.attachTemplatePortal(s)}else{var c=this._createInjector(i,o),u=new l.d(e,void 0,c),p=a.attachComponentPortal(u);o.instance=p.instance}return this._breakpointObserver.observe(y.b.HandsetPortrait).pipe(Object(g.a)(r.detachments())).subscribe(function(e){var t=r.overlayElement.classList;e.matches?t.add(n.handsetCssClass):t.remove(n.handsetCssClass)}),i.announcementMessage&&a._onAnnounce.subscribe(function(){n._live.announce(i.announcementMessage,i.politeness)}),this._animateSnackBar(o,i),this._openedSnackBarRef=o,this._openedSnackBarRef}},{key:"_animateSnackBar",value:function(e,t){var n=this;e.afterDismissed().subscribe(function(){n._openedSnackBarRef==e&&(n._openedSnackBarRef=null),t.announcementMessage&&n._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(function(){e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),t.duration&&t.duration>0&&e.afterOpened().subscribe(function(){return e._dismissAfter(t.duration)})}},{key:"_createOverlay",value:function(e){var t=new s.d;t.direction=e.direction;var n=this._overlay.position().global(),i="rtl"===e.direction,r="left"===e.horizontalPosition||"start"===e.horizontalPosition&&!i||"end"===e.horizontalPosition&&i,a=!r&&"center"!==e.horizontalPosition;return r?n.left("0"):a?n.right("0"):n.centerHorizontally(),"top"===e.verticalPosition?n.top("0"):n.bottom("0"),t.positionStrategy=n,this._overlay.create(t)}},{key:"_createInjector",value:function(e,t){return d.Injector.create({parent:e&&e.viewContainerRef&&e.viewContainerRef.injector||this._injector,providers:[{provide:k,useValue:t},{provide:w,useValue:e.data}]})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](s.c),d["\u0275\u0275inject"](v.k),d["\u0275\u0275inject"](d.Injector),d["\u0275\u0275inject"](y.a),d["\u0275\u0275inject"](e,12),d["\u0275\u0275inject"](P))},e.\u0275prov=Object(d["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(d["\u0275\u0275inject"])(s.c),Object(d["\u0275\u0275inject"])(v.k),Object(d["\u0275\u0275inject"])(d.INJECTOR),Object(d["\u0275\u0275inject"])(y.a),Object(d["\u0275\u0275inject"])(e,12),Object(d["\u0275\u0275inject"])(P))},token:e,providedIn:I}),e}()},dNwA:function(e,t,n){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(n("wd/R"))},deNa:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("fXoL"),r=function(){function e(){this._isThemeBecolorado=!1,this._isThemeFitdigits=!0,this._isThemeSpinning=!1,this._isDarkTheme=!1,this._isMobileEmbedded=!1,this._clientType="",this._themeClass="",this._isDevMode=!1,this._isMobileNav=!1,this._baseAppName="",this._baseWebUrl=""}return Object.defineProperty(e.prototype,"isThemeBecolorado",{get:function(){return this._isThemeBecolorado},set:function(e){this._isThemeBecolorado=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMobileNav",{get:function(){return this._isMobileNav},set:function(e){this._isMobileNav=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isThemeFitdigits",{get:function(){return this._isThemeFitdigits},set:function(e){this._isThemeFitdigits=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isThemeSpinning",{get:function(){return this._isThemeSpinning},set:function(e){this._isThemeSpinning=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDarkTheme",{get:function(){return this._isDarkTheme},set:function(e){this._isDarkTheme=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isMobileEmbedded",{get:function(){return this._isMobileEmbedded},set:function(e){this._isMobileEmbedded=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"clientType",{get:function(){return this._clientType},set:function(e){this._clientType=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"themeClass",{get:function(){return this._themeClass},set:function(e){this._themeClass=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDevMode",{get:function(){return this._isDevMode},set:function(e){this._isDevMode=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseAppName",{get:function(){return this._baseAppName},set:function(e){this._baseAppName=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"baseWebUrl",{get:function(){return this._baseWebUrl},set:function(e){this._baseWebUrl=e},enumerable:!1,configurable:!0}),e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac=function(t){return new(t||e)}}),e}()},"e+ae":function(e,t,n){!function(e){"use strict";var t="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),n="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function i(e){return e>1&&e<5}function r(e,t,n,r){var a=e+" ";switch(n){case"s":return t||r?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return t||r?a+(i(e)?"sekundy":"sek\xfand"):a+"sekundami";case"m":return t?"min\xfata":r?"min\xfatu":"min\xfatou";case"mm":return t||r?a+(i(e)?"min\xfaty":"min\xfat"):a+"min\xfatami";case"h":return t?"hodina":r?"hodinu":"hodinou";case"hh":return t||r?a+(i(e)?"hodiny":"hod\xedn"):a+"hodinami";case"d":return t||r?"de\u0148":"d\u0148om";case"dd":return t||r?a+(i(e)?"dni":"dn\xed"):a+"d\u0148ami";case"M":return t||r?"mesiac":"mesiacom";case"MM":return t||r?a+(i(e)?"mesiace":"mesiacov"):a+"mesiacmi";case"y":return t||r?"rok":"rokom";case"yy":return t||r?a+(i(e)?"roky":"rokov"):a+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:n,weekdays:"nede\u013ea_pondelok_utorok_streda_\u0161tvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_\u0161t_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_\u0161t_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nede\u013eu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo \u0161tvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[v\u010dera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minul\xfa nede\u013eu o] LT";case 1:case 2:return"[minul\xfd] dddd [o] LT";case 3:return"[minul\xfa stredu o] LT";case 4:case 5:return"[minul\xfd] dddd [o] LT";case 6:return"[minul\xfa sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s:r,ss:r,m:r,mm:r,h:r,hh:r,d:r,dd:r,M:r,MM:r,y:r,yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},eA8f:function(e,t,n){"use strict";n.d(t,"a",function(){return L});var i=n("mrSG"),r=n("pLZG"),a=n("XNiG"),o=n("yjSS"),s=n("3Pt+"),l=n("uJc7"),c=n("deNa"),d=n("fXoL"),u=n("ofXK"),p=n("bv9b"),h=n("NFeN"),m=n("sYmb");function g(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"img",13),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3);return e.show_response=!e.show_response}),d["\u0275\u0275elementEnd"]()}}function f(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"img",14),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3);return e.show_response=!e.show_response}),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"](3);d["\u0275\u0275propertyInterpolate"]("src",i.smart_coach_profile_image,d["\u0275\u0275sanitizeUrl"])}}function v(e,t){1&e&&d["\u0275\u0275element"](0,"mat-progress-bar",15)}function y(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",16),d["\u0275\u0275elementStart"](1,"div",17),d["\u0275\u0275text"](2),d["\u0275\u0275elementEnd"](),d["\u0275\u0275element"](3,"div",18),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3);d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate"](n.question_asked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("innerHTML",n.supportResult,d["\u0275\u0275sanitizeHtml"])}}function b(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"button",19),d["\u0275\u0275elementStart"](1,"mat-icon",20),d["\u0275\u0275text"](2,"send"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3);d["\u0275\u0275property"]("disabled",!n.supportForm.controls.support_search_field.valid||!n.supportForm.controls.support_search_field.value||n.show_response_coming)}}function x(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"div",16),d["\u0275\u0275elementStart"](1,"div",21),d["\u0275\u0275listener"]("click",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"](3).newQuestion()}),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,1,"ROOT.New Question")," "))}var _=function(e){return[e]};function w(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"div",2),d["\u0275\u0275elementStart"](1,"div",3),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275template"](5,g,1,0,"img",4),d["\u0275\u0275template"](6,f,1,1,"img",5),d["\u0275\u0275template"](7,v,1,0,"mat-progress-bar",6),d["\u0275\u0275template"](8,y,4,2,"div",7),d["\u0275\u0275elementStart"](9,"div"),d["\u0275\u0275elementStart"](10,"div",8),d["\u0275\u0275elementStart"](11,"form",9),d["\u0275\u0275listener"]("ngSubmit",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"](2).supportSearch()}),d["\u0275\u0275element"](12,"textarea",10),d["\u0275\u0275pipe"](13,"translate"),d["\u0275\u0275element"](14,"div",11),d["\u0275\u0275template"](15,b,3,1,"button",12),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275template"](16,x,4,3,"div",7),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"](2);d["\u0275\u0275property"]("ngClass",d["\u0275\u0275pureFunction1"](18,_,i.ThemeService.isDarkTheme?"primary-dark":"primary-light")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate3"](" Bot: ",d["\u0275\u0275pipeBind1"](3,12,"ROOT.Hi"),". ",i.wavingHandEmoji," ",d["\u0275\u0275pipeBind1"](4,14,"ROOT.How can I help?")," "),d["\u0275\u0275advance"](3),d["\u0275\u0275property"]("ngIf",!i.smart_coach_profile_image),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.smart_coach_profile_image),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.show_response_coming),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.supportResult),d["\u0275\u0275advance"](3),d["\u0275\u0275property"]("formGroup",i.supportForm),d["\u0275\u0275advance"](1),d["\u0275\u0275propertyInterpolate"]("placeholder",d["\u0275\u0275pipeBind1"](13,16,"ROOT.Ask a question, please provide as much detail as you can for a better response.")),d["\u0275\u0275advance"](3),d["\u0275\u0275property"]("ngIf",!i.show_response_coming),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.supportResult)}}function S(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div"),d["\u0275\u0275template"](1,w,17,20,"div",1),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.show_response)}}function C(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"img",26),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](2);return e.show_response=!e.show_response}),d["\u0275\u0275elementEnd"]()}}function k(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"img",27),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](2);return e.show_response=!e.show_response}),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"](2);d["\u0275\u0275propertyInterpolate"]("src",i.smart_coach_profile_image,d["\u0275\u0275sanitizeUrl"])}}function O(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"div",28),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](2);return e.coach_sleeping=!e.coach_sleeping}),d["\u0275\u0275elementStart"](1,"div",29),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](2);return e.show_response=!e.show_response}),d["\u0275\u0275text"](2,"X"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275pipe"](5,"translate"),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"](2);d["\u0275\u0275property"]("ngClass",d["\u0275\u0275pureFunction1"](8,_,i.ThemeService.isDarkTheme?"coach-response primary-dark":"coach-response primary-light")),d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate3"](" Bot: ",d["\u0275\u0275pipeBind1"](4,4,"ROOT.Hi"),". ",i.wavingHandEmoji," ",d["\u0275\u0275pipeBind1"](5,6,"ROOT.How can I help?")," ")}}function E(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"button",35),d["\u0275\u0275elementStart"](1,"mat-icon",36),d["\u0275\u0275text"](2,"send"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](4);d["\u0275\u0275property"]("disabled",!n.supportForm.controls.support_search_field.valid||!n.supportForm.controls.support_search_field.value||n.show_response_coming)}}function M(e,t){1&e&&d["\u0275\u0275element"](0,"mat-progress-bar",15)}function I(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"div"),d["\u0275\u0275elementStart"](1,"p"),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](5,"div",32),d["\u0275\u0275elementStart"](6,"form",9),d["\u0275\u0275listener"]("ngSubmit",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"](3).supportSearch()}),d["\u0275\u0275element"](7,"input",33),d["\u0275\u0275pipe"](8,"translate"),d["\u0275\u0275template"](9,E,3,1,"button",34),d["\u0275\u0275template"](10,M,1,0,"mat-progress-bar",6),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"](3);d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate3"]("Bot: ",d["\u0275\u0275pipeBind1"](3,7,"ROOT.Hi"),". ",i.wavingHandEmoji," ",d["\u0275\u0275pipeBind1"](4,9,"ROOT.How can I help?"),""),d["\u0275\u0275advance"](4),d["\u0275\u0275property"]("formGroup",i.supportForm),d["\u0275\u0275advance"](1),d["\u0275\u0275propertyInterpolate"]("placeholder",d["\u0275\u0275pipeBind1"](8,11,"ROOT.Ask a question, please provide as much detail as you can for a better response.")),d["\u0275\u0275advance"](2),d["\u0275\u0275property"]("ngIf",!i.show_response_coming),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.show_response_coming)}}function P(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"div",37),d["\u0275\u0275element"](1,"div",18),d["\u0275\u0275elementStart"](2,"div",38),d["\u0275\u0275listener"]("click",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"](3).newQuestion()}),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"](3);d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("innerHTML",i.supportResult,d["\u0275\u0275sanitizeHtml"]),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](4,2,"ROOT.New Question")," ")}}function T(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"div",30),d["\u0275\u0275elementStart"](1,"div",29),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](2);return e.show_response=!e.show_response}),d["\u0275\u0275text"](2,"X"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275template"](3,I,11,13,"div",0),d["\u0275\u0275template"](4,P,5,4,"div",31),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"](2);d["\u0275\u0275property"]("ngClass",d["\u0275\u0275pureFunction1"](3,_,i.ThemeService.isDarkTheme?"coach-response primary-dark":"coach-response primary-light")),d["\u0275\u0275advance"](3),d["\u0275\u0275property"]("ngIf",!i.supportResult),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.supportResult)}}function D(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div"),d["\u0275\u0275template"](1,C,1,0,"img",22),d["\u0275\u0275template"](2,k,1,1,"img",23),d["\u0275\u0275template"](3,O,6,10,"div",24),d["\u0275\u0275template"](4,T,5,5,"div",25),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.smart_coach_profile_image),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.smart_coach_profile_image),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.show_response&&n.coach_sleeping&&!n.ThemeService.isMobileEmbedded),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.show_response&&!n.coach_sleeping)}}var L=function(){function e(e,t,n){this.PermissionsService=e,this.AccountService=t,this.ThemeService=n,this.wavingHandEmoji="\ud83d\udc4b",this.supportForm=new s.h({support_search_field:new s.e("")}),this.isStarTrainer=!1,this.show_response=!1,this.show_response_coming=!1,this.coach_sleeping=!0,this.isVisible=!0,this.searchSubject=new a.a,this.lastSearchTime=0}return e.prototype.ngOnInit=function(){var e=this;this.PermissionsService.starTrainerAccess&&this.getSmartCoach(),this.searchSubject.pipe(Object(r.a)(function(){var t=Date.now();return t-e.lastSearchTime>4e3&&(e.lastSearchTime=t,!0)})).subscribe(function(){e.executeSearch()})},e.prototype.supportSearch=function(){this.searchSubject.next()},e.prototype.executeSearch=function(){var e=this;this.show_response_coming=!0,console.log(this.show_response_coming),this.app_name="Move"==this.ThemeService.baseAppName?this.ThemeService.baseAppName:this.AccountService.account.appName,this.AccountService.supportQuery(this.supportForm.value.support_search_field,this.app_name).subscribe(function(t){e.question_asked=e.supportForm.value.support_search_field,e.supportForm.get("support_search_field").setValue(null),e.supportResult=t.response.result.replace(/\n/g,"<br>"),e.show_response_coming=!1})},e.prototype.newQuestion=function(){this.supportResult=null,this.show_response=!1,this.supportForm.reset()},e.prototype.getSmartCoach=function(){return Object(i.__awaiter)(this,void 0,void 0,function(){var e=this;return Object(i.__generator)(this,function(t){return this.AccountService.getSmartCoach().subscribe(function(t){e.coach_name=t.response.coach_name,e.coach_account=t.response.smart_coach,e.smart_coach_profile_image=t.response.smart_coach_profile_image,e.coach_persona=t.response.coach_persona,e.coach_fav_food=t.response.coach_meta_data.favorite_food,e.coach_fav_movie=t.response.coach_meta_data.favorite_movie,e.coach_fav_music=t.response.coach_meta_data.favorite_music,e.coach_occupation=t.response.coach_meta_data.occupation,null!=t.response.meta_data&&(e.favorite_food=t.response.meta_data.favorite_food,e.favorite_movie=t.response.meta_data.favorite_movie,e.favorite_music=t.response.meta_data.favorite_music,e.occupation=t.response.meta_data.occupation)}),[2]})})},e.prototype.onWindowScroll=function(){var e=this;if(!this.ThemeService.isMobileEmbedded){var t=window.pageYOffset,n=document.body.scrollHeight-(window.innerHeight+180);clearTimeout(this.scrollTimeout),this.isVisible=!1,this.scrollTimeout=setTimeout(function(){e.isVisible=t<n},100)}},e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](o.a),d["\u0275\u0275directiveInject"](l.a),d["\u0275\u0275directiveInject"](c.a))},e.\u0275cmp=d["\u0275\u0275defineComponent"]({type:e,selectors:[["app-coach-support"]],hostBindings:function(e,t){1&e&&d["\u0275\u0275listener"]("scroll",function(){return t.onWindowScroll()},!1,d["\u0275\u0275resolveWindow"])},decls:2,vars:2,consts:[[4,"ngIf"],["class","coach-response-top",3,"ngClass",4,"ngIf"],[1,"coach-response-top",3,"ngClass"],[2,"margin","15px 15px 15px 0","text-align","right","float","right"],["alt","Ask Coach Icon","class","coach-profile-picture coach-top","src","https://storage.googleapis.com/image_manager/profile_image/6316537524387840/profile_image_1687920212.jpg",3,"click",4,"ngIf"],["alt","Ask Coach Icon","class","coach-profile-picture coach-top",3,"src","click",4,"ngIf"],["mode","indeterminate","style","margin:20px 0; float:left;",4,"ngIf"],["class","coach-response-text-top",4,"ngIf"],[1,"support-search-input-top"],[3,"formGroup","ngSubmit"],["formControlName","support_search_field","onfocus","if (this.value === 'Ask') {this.placeholder = '';}","onblur","if (this.value === '') {this.placeholder = 'Ask a question, please provide as much detail as you can for a better response.';}",1,"coach-support-search-box-top",3,"placeholder"],[1,"clear-both"],["type","submit","class","coach-support-search-icon-top","style","background-color: transparent;",3,"disabled",4,"ngIf"],["alt","Ask Coach Icon","src","https://storage.googleapis.com/image_manager/profile_image/6316537524387840/profile_image_1687920212.jpg",1,"coach-profile-picture","coach-top",3,"click"],["alt","Ask Coach Icon",1,"coach-profile-picture","coach-top",3,"src","click"],["mode","indeterminate",2,"margin","20px 0","float","left"],[1,"coach-response-text-top"],[2,"font-weight","bold","margin-bottom","20px","border-bottom","1px dotted"],[1,"clear-both","float-left","full-width",3,"innerHTML"],["type","submit",1,"coach-support-search-icon-top",2,"background-color","transparent",3,"disabled"],[1,"coach-support-search-icon-top"],[1,"clear-both","primary-color","cursor-pointer",3,"click"],["alt","Ask Coach Icon","class","coach-profile-picture-bottom","src","https://storage.googleapis.com/image_manager/profile_image/6316537524387840/profile_image_1687920212.jpg",3,"click",4,"ngIf"],["alt","Ask Coach Icon","class","coach-profile-picture-bottom",3,"src","click",4,"ngIf"],["class","coach-response-collapsed",3,"ngClass","click",4,"ngIf"],["class","coach-response",3,"ngClass",4,"ngIf"],["alt","Ask Coach Icon","src","https://storage.googleapis.com/image_manager/profile_image/6316537524387840/profile_image_1687920212.jpg",1,"coach-profile-picture-bottom",3,"click"],["alt","Ask Coach Icon",1,"coach-profile-picture-bottom",3,"src","click"],[1,"coach-response-collapsed",3,"ngClass","click"],[1,"top-x",3,"click"],[1,"coach-response",3,"ngClass"],["class","coach-response-text",4,"ngIf"],[1,"support-search-input",2,"clear","both"],["type","text","formControlName","support_search_field","onfocus","if (this.value === 'Ask a question, please provide as much detail as you can for a better response.') {this.placeholder = '';}","onblur","if (this.value === '')\n\t\t\t\t\t\t   {this.placeholder = 'Ask a question, please provide as much detail as you can for a better response.';}",1,"coach-support-search-box",3,"placeholder"],["type","submit","class","coach-support-search-icon","style","background-color: transparent; margin-top:7px;",3,"disabled",4,"ngIf"],["type","submit",1,"coach-support-search-icon",2,"background-color","transparent","margin-top","7px",3,"disabled"],[1,"coach-support-search-icon"],[1,"coach-response-text"],[1,"float-right","clear-both","primary-color","cursor-pointer",3,"click"]],template:function(e,t){1&e&&(d["\u0275\u0275template"](0,S,2,1,"div",0),d["\u0275\u0275template"](1,D,5,4,"div",0)),2&e&&(d["\u0275\u0275property"]("ngIf",t.isVisible&&t.ThemeService.isMobileEmbedded),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",t.isVisible&&!t.ThemeService.isMobileEmbedded))},directives:[u.NgIf,u.NgClass,s.z,s.p,s.i,s.c,s.o,s.g,p.a,h.a],pipes:[m.c],styles:[""]}),e}()},eIep:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var i=n("ReuC"),r=n("foSv"),a=n("Ji7U"),o=n("LK+K"),s=n("1OyB"),l=n("vuIU"),c=n("lJxs"),d=n("Cfvw"),u=n("zx2A");function p(e,t){return"function"==typeof t?function(n){return n.pipe(p(function(n,i){return Object(d.a)(e(n,i)).pipe(Object(c.a)(function(e,r){return t(n,e,i,r)}))}))}:function(t){return t.lift(new h(e))}}var h=function(){function e(t){Object(s.a)(this,e),this.project=t}return Object(l.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new m(e,this.project))}}]),e}(),m=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,i){var r;return Object(s.a)(this,n),(r=t.call(this,e)).project=i,r.index=0,r}return Object(l.a)(n,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(i){return void this.destination.error(i)}this._innerSub(t)}},{key:"_innerSub",value:function(e){var t=this.innerSubscription;t&&t.unsubscribe();var n=new u.a(this),i=this.destination;i.add(n),this.innerSubscription=Object(u.c)(e,n),this.innerSubscription!==n&&i.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||Object(i.a)(Object(r.a)(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=void 0}},{key:"notifyComplete",value:function(){this.innerSubscription=void 0,this.isStopped&&Object(i.a)(Object(r.a)(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e){this.destination.next(e)}}]),n}(u.b)},eNwd:function(e,t,n){"use strict";n.d(t,"b",function(){return d}),n.d(t,"a",function(){return u});var i=n("1OyB"),r=n("vuIU"),a=n("ReuC"),o=n("foSv"),s=n("Ji7U"),l=n("LK+K"),c=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,r){var a;return Object(i.a)(this,n),(a=t.call(this,e,r)).scheduler=e,a.work=r,a}return Object(r.a)(n,[{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0?Object(a.a)(Object(o.a)(n.prototype),"requestAsyncId",this).call(this,e,t,i):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(function(){return e.flush(null)})))}},{key:"recycleAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==i&&i>0||null===i&&this.delay>0)return Object(a.a)(Object(o.a)(n.prototype),"recycleAsyncId",this).call(this,e,t,i);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}]),n}(n("3N8a").a),d=new(function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,i=-1,r=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++i<r&&(e=n.shift()));if(this.active=!1,t){for(;++i<r&&(e=n.shift());)e.unsubscribe();throw t}}}]),n}(n("IjjT").a))(c),u=d},ePeK:function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"b",function(){return s}),n.d(t,"d",function(){return l}),n.d(t,"c",function(){return c});var i=n("Bu+s");function r(e,t){return Math.sqrt(e/9e-4/(.0154*Math.pow(t,2)+(1.4026*t-28.3)))}var a=function(){function e(e,t,n,a){var s,l,d,u,p,h,m,g,f,v,y,b;this.WorkoutTypes=t,this.liked=!1,this.splits=[],this.originalSplitsNormalized=[],this.originalSplits=[],this.isImport=!1,this.isGarmin=!1,this.displayDevice="Unknown",this.isIndoor=!1,this.snapshots=[],this.summary={},this.checked=!1,this.displayTitle="",this.customRoutine=!1,this.customRoutineName="",this.sensor={},this.zoneDisplay={},this.isAssessment=!1,this.sensors={gps:!1,hr:!1,power:!1,cadence:!1,speed:!1},this.numSensors=0,this.workoutSplitTypes={SPLIT_TYPE_WORKOUT:"workout",SPLIT_TYPE_RECOVERY:"recovery"},this.runningTotalCalories=0,this.isPaceBasedWorkout=function(){var e=this.getEcomodule();return 128===e||256===e||512===e||60===e||61===e||68===e},this.isSpeedBasedWorkout=function(){return!this.isPaceBasedWorkout()},this.id=e.id||e.summary.workout_id,this.workout_key=e.workout_key,this.hhc=e.hhc,this.liked=e.liked;try{e.images[0]&&(this.hasImages=!0),this.assessmentResults=new o(e.assessmentResults)}catch(be){}if("FEED"==e.access_role)this.account=e.summary.account,this.account.profilePhoto="https://my.fitdigits.com/api/v2/group_member_photo/"+this.account.account_id,this.account.has_image&&(this.account.profilePhoto="https://storage.googleapis.com/image_manager/profile_image/"+this.account.account_id+"/"+this.account.image_filename);else try{this.account=e.summary.account}catch(be){}this.isGarmin="Garmin Connect Import"==e.summary.createDevice,this.displayDevice=e.summary.createDevice,"iPhone10,3"==this.displayDevice?this.displayDevice="iPhone X":"iPhone6,1"==this.displayDevice||"iPhone6,2"==this.displayDevice?this.displayDevice="iPhone 5S":"iPhone7,1"==this.displayDevice?this.displayDevice="iPhone 6 Plus":"iPhone7,2"==this.displayDevice?this.displayDevice="iPhone 6":"iPhone8,1"==this.displayDevice?this.displayDevice="iPhone 6s":"iPhone8,2"==this.displayDevice?this.displayDevice="iPhone 6s Plus":"iPhone8,4"==this.displayDevice?this.displayDevice="iPhone SE (1G)":"iPhone9,1"==this.displayDevice||"iPhone9,3"==this.displayDevice?this.displayDevice="iPhone 7":"iPhone9,2"==this.displayDevice||"iPhone9,4"==this.displayDevice?this.displayDevice="iPhone 7 Plus":"iPhone10,1"==this.displayDevice||"iPhone10,4"==this.displayDevice?this.displayDevice="iPhone 8":"iPhone10,2"==this.displayDevice||"iPhone10,5"==this.displayDevice?this.displayDevice="iPhone 8 Plus":"iPhone11,2"==this.displayDevice?this.displayDevice="iPhone XS":"iPhone11,4"==this.displayDevice||"iPhone11,6"==this.displayDevice?this.displayDevice="iPhone XS Max":"iPhone11,8"==this.displayDevice?this.displayDevice="iPhone XR":"iPhone12,1"==this.displayDevice?this.displayDevice="iPhone 11":"iPhone12,3"==this.displayDevice?this.displayDevice="iPhone 11 Pro":"iPhone12,5"==this.displayDevice?this.displayDevice="iPhone 11 Pro Max":"iPhone12,8"==this.displayDevice?this.displayDevice="iPhone SE (2G)":"iPhone13,1"==this.displayDevice?this.displayDevice="iPhone 12 Mini":"iPhone13,2"==this.displayDevice?this.displayDevice="iPhone 12":"iPhone13,3"==this.displayDevice?this.displayDevice="iPhone 12 Pro":"iPhone13,4"==this.displayDevice?this.displayDevice="iPhone 12 Pro Max":"iPhone14,2"==this.displayDevice?this.displayDevice="iPhone 13 Pro":"iPhone14,3"==this.displayDevice?this.displayDevice="iPhone 13 Pro Max":"iPhone14,4"==this.displayDevice?this.displayDevice="iPhone 13 Mini":"iPhone14,5"==this.displayDevice?this.displayDevice="iPhone 13":"iPhone14,6"==this.displayDevice?this.displayDevice="iPhone SE 3rd":"iPhone14,7"==this.displayDevice?this.displayDevice="iPhone 14":"iPhone14,8"==this.displayDevice?this.displayDevice="iPhone 14 Plus":"iPhone15,2"==this.displayDevice?this.displayDevice="iPhone 14 Pro":"iPhone15,3"==this.displayDevice?this.displayDevice="iPhone 14 Pro Max":"Watch2,3"==this.displayDevice||"Watch2,4"==this.displayDevice?this.displayDevice="Apple Watch S2":"Watch3,1"==this.displayDevice||"Watch3,2"==this.displayDevice||"Watch3,3"==this.displayDevice||"Watch3,4"==this.displayDevice?this.displayDevice="Apple Watch S3":"Watch4,1"==this.displayDevice||"Watch4,2"==this.displayDevice||"Watch4,3"==this.displayDevice||"Watch4,4"==this.displayDevice?this.displayDevice="Apple Watch S4":"Watch5,1"==this.displayDevice||"Watch5,2"==this.displayDevice||"Watch5,3"==this.displayDevice||"Watch5,4"==this.displayDevice?this.displayDevice="Apple Watch S5":"Watch6,1"==this.displayDevice||"Watch6,2"==this.displayDevice||"Watch5,3"==this.displayDevice||"Watch5,4"==this.displayDevice?this.displayDevice="Apple Watch S6":"Watch6,6"==this.displayDevice||"Watch6,7"==this.displayDevice||"Watch6,8"==this.displayDevice||"Watch6,9"==this.displayDevice?this.displayDevice="Apple Watch S7":"Watch6,10"==this.displayDevice||"Watch6,11"==this.displayDevice||"Watch6,12"==this.displayDevice||"Watch6,13"==this.displayDevice?this.displayDevice="Apple Watch SE (Latest)":"Watch6,14"==this.displayDevice||"Watch6,15"==this.displayDevice||"Watch6,16"==this.displayDevice||"Watch6,17"==this.displayDevice?this.displayDevice="Apple Watch S8":"Watch6,18"==this.displayDevice?this.displayDevice="Apple Watch Ultra":"Watch6,6"!=this.displayDevice&&"Watch6,7"!=this.displayDevice&&"Watch6,8"!=this.displayDevice&&"Watch6,9"!=this.displayDevice||(this.displayDevice="Apple Watch S7"),this.title=null===(s=e.description)||void 0===s?void 0:s.title,this.summary=e.summary,this.isIndoor=this.summary.isIndoorWorkout,this.description=e.description,this.ecomodule=Number(e.ecomodule),this.iconBorder="",(1024===this.ecomodule||isNaN(this.ecomodule))&&(this.ecomodule=Number(this.summary.ecomodule)),this.splits=e.splits||[],this.isEdited=this.summary.isEdited,this.isManualEntry=this.summary.manual,this.isImport=e.is_import,this.manual=this.isManualEntry,this.gps=[],this.heartRateAnalysisData=null,this.powerZoneAnalysisData=null,this.recoverySnapshots=[],this.calories=Number(e.calories)||Number(this.summary.calories),isNaN(this.calories)&&(this.calories=0);try{this.shareId=e.share.shareId}catch(be){this.shareId=e.shareId}this.assessmentComplete="YES"==this.summary.isCompletedAssessment,this.isElapsedTimeEdited=void 0!==(null===(l=this.description)||void 0===l?void 0:l.elapsedSeconds),this.isDistanceEdited=void 0!==(null===(d=this.description)||void 0===d?void 0:d.distance),this.avgBPM=this.getAvgBPM(),this.elapsedTime=this.getElapsedTime(),this.distance=this.getDistance(),this.steps=e.steps||this.summary.steps,this.elapsedSeconds=e.elapsedSeconds||(null===(u=this.description)||void 0===u?void 0:u.elapsedSeconds)||this.summary.elapsedSeconds||this.summary.durationSeconds,this.elapsedSeconds=Number(this.elapsedSeconds),this.dateString=e.date,this.date=new Date(e.date),"Invalid Date"==this.date&&(this.date=new Date(this.summary.workoutDate)),this.dateObj=new Date(this.date),this.dateObj.setMilliseconds(0),this.dateObj.setSeconds(0),this.sensor=e.sensor||e.sensors||{},this.zone=e.heartRateAnalysis;try{this.zone.zoneName.includes("Digifit")&&(this.zone.zoneName="")}catch(be){}this.isAvgHREdited=void 0!==(null===(p=this.description)||void 0===p?void 0:p.avgHR),this.isMaxHREdited=void 0!==(null===(h=this.description)||void 0===h?void 0:h.maxHR),this.rating=Number(null===(m=this.description)||void 0===m?void 0:m.rating),this.intensity=Number(null===(g=this.description)||void 0===g?void 0:g.intensity),this.mood=Number(null===(f=this.description)||void 0===f?void 0:f.mood),this.weather=Number(null===(v=this.description)||void 0===v?void 0:v.weather),this.weatherDetail=(null===(y=this.description)||void 0===y?void 0:y.weatherDetail)||{},this.averageSpeed=c(this.getDistance(),this.getElapsedSeconds()),this.tags=e.tags,this.routine=e.routine,this.routine&&this.routine.routineDef&&(this.isAssessment=1==e.routine.routineDef.assessment,this.customRoutineName=e.routine.routineDef.name,e.routine.routineDef.segmentDef&&(this.customRoutine=0==this.isAssessment&&Number(e.routine.routineDef.segmentDef.length)>0));var x=void 0!==this.sensor.sensorDistanceMiles&&this.sensor.sensorDistanceMiles>0;for(var _ in this.sensors.gps=this.sensor.GPS&&x,this.sensors.hr=this.sensor.BPM,this.sensors.cadence=1==this.sensor.RPM,this.sensors.speed=1==this.sensor.Speed,"undefined"!=e.powerZoneAnalysis&&(this.powerZone=e.powerZoneAnalysis,this.sensors.power=!1),this.sensors)this.sensors[_]&&(this.numSensors+=1);if(this.ghostSnapshots=e.ghost,this.score=e.score,1024!=this.ecomodule)this.activityType=this.WorkoutTypes.getWorkoutTypeName(this.ecomodule,n);else try{this.activityType=this.WorkoutTypes.getWorkoutTypeByName(this.summary.otherWorkoutTypeName)}catch(be){this.activityType=this.WorkoutTypes.getWorkoutTypeName(this.ecomodule,n)}try{this.displayTitle=this.title||this.activityType.displayTitle,"Spinning"===this.displayTitle&&(this.displayTitle="Indoor Cycling")}catch(be){this.displayTitle=this.title}if(1024===this.ecomodule||(null===(b=this.description)||void 0===b?void 0:b.title)||isNaN(this.ecomodule)){if(this.description.title)this.displayTitle=this.description.title;else if(this.summary.otherWorkoutTypeName)try{var w=this.WorkoutTypes.getWorkoutTypeByName(this.summary.otherWorkoutTypeName);this.displayTitle=this.WorkoutTypes.getWorkoutTypeName(w.id,n),"Spinning"===this.displayTitle&&(this.displayTitle="Indoor Cycling"),this.ecomodule=w.id}catch(be){console.log("broked")}}else try{this.displayTitle=this.WorkoutTypes.getWorkoutTypeName(this.ecomodule,n),"Spinning"===this.displayTitle&&(this.displayTitle="Indoor Cycling")}catch(be){}var S,C="",k=null;this.isEdited&&(this.iconBorder="activityDetailEdited"),this.isManualEntry&&(this.iconBorder="activityDetailManual"),1024===Number(this.summary.ecomodule)?void 0===this.summary.otherWorkoutTypeName||null==this.summary.otherWorkoutTypeName?C="DFITOtherIcon":void 0!==(k=t.getWorkoutTypeByName(this.summary.otherWorkoutTypeName))?(C=k.iconName,this.ecomodule=k.id):C="DFITOtherIcon":C=(k=t.getWorkoutType(this.summary.ecomodule)).iconName,a&&4==this.ecomodule&&(C="DFITSpinWhiteIcon"),this.icon="/static/img/activityicons/"+C+".png";try{void 0!==e.heartRateAnalysis&&(this.heartRateAnalysisData=this.compileHeartRateAnalysisData(e.heartRateAnalysis)),void 0!==e.powerZoneAnalysis&&(this.powerZoneAnalysisData=this.compilePowerZoneAnalysisData(e.powerZoneAnalysis))}catch(be){console.log(be)}try{S=this.zone.zoneData}catch(be){}S&&this.compileZoneData(S);var O=0;this.indexedSnapshots={},this.timeIndexedSnapshots={},this.distanceIndexedSnapshots={},this.splitData={isDistanceBasedSplits:this.summary.distanceMiles>=.2,isSpeedBasedSplits:this.isSpeedBasedWorkout(),isTimeBasedSplits:this.summary.distanceMiles<.2,hasRecoverySplits:!1,splitList:[],recoverySplitList:[]},this.indexedGraphData={bpm:[],watts:[],hasValidBPMData:!1},this.timeGraphData={altitude:[],bpm:[],speed:[],speedKM:[],pace:[],paceKM:[],rpm:[],watts:[],resistance:[],hasValidAltitudeData:!1,hasValidBPMData:!1,hasValidSpeedData:!1,hasValidRPMData:!1,hasValidWattsData:!1,hasValidPaceData:!1},this.distanceGraphData={altitude:[],bpm:[],speed:[],speedKM:[],pace:[],paceKM:[],rpm:[],watts:[],resistance:[],hasValidAltitudeData:!1,hasValidBPMData:!1,hasValidSpeedData:!1,hasValidRPMData:!1,hasValidWattsData:!1,hasValidPaceData:!1},this.originalSplits=e.originalSplits||[],0==this.originalSplits.length&&(this.originalSplits=this.splits),this.originalSplitsNormalized=[];for(var E=0,M=0,I=0,P=0;P<this.originalSplits.length;P++){var T=this.originalSplits[P];T.totalDistanceMiles>0&&void 0===T.totalGPSDistance&&(T.totalGPSDistance=T.totalDistanceMiles),I=M=Number(T.totalGPSDistance);var D=0;0===P?(void 0===T.totalSeconds&&(T.totalSeconds=Number(T.totalTimeSeconds)),D=Number(T.totalSeconds)):("gpx_import"==this.displayDevice&&(M+=Number(this.originalSplits[P-1].totalGPSDistance),T.totalSeconds=Number(T.totalTimeSeconds),this.originalSplits[P-1].totalSeconds=Number(this.originalSplits[P-1].totalTimeSeconds),T.totalSeconds=T.totalSeconds+Number(this.originalSplits[P-1].totalSeconds)),I=M-Number(this.originalSplits[P-1].totalGPSDistance),D=Number(T.totalSeconds)-Number(this.originalSplits[P-1].totalSeconds));var L=Object(i.gb)(60*this.getPaceMinutesPerMile(I,D)),R=this.getSpeedMilesPerHour(I,D),j=Object(i.P)(R),A=Object(i.gb)(60*this.getPaceMinutesPerMile(Object(i.P)(I),D)),F=Object(i.P)(I);Number(T.totalSeconds);var B={splitNum:P+1,elapsedSecondsInSplit:Number(T.totalSeconds),totalSeconds:Number(T.totalSeconds),splitType:T.splitType,avgBPM:Number(T.totalBeats)/Number(T.bpmReadCount),avgWatts:Number(T.totalWatts)/Number(T.totalWattsReadings),miles:I,kilometers:F,paceMinutesPerMile:L,paceMinutesPerKm:A,speedMilesPerHour:R,speedKmPerHour:j,rpm:T.maxRPM,calories:Math.round(T.totalCalories),caloriesDelta:0,delta:D};if(null!=T.totalCalories)try{B.caloriesDelta=Math.round(T.totalCalories-this.originalSplits[P-1].totalCalories)}catch(be){B.caloriesDelta=Math.round(T.totalCalories)}this.originalSplitsNormalized.push(B)}for(var z=0;z<this.splits.length;z++){var N=this.splits[z],H=N.splitType,V=N.totalTimeSeconds,Y=N.totalDistanceMiles,W=Object(i.gb)(60*this.getPaceMinutesPerMile(Y,V)),G=(A=Object(i.gb)(60*this.getPaceMinutesPerMile(Object(i.P)(I),V)),this.getSpeedMilesPerHour(Y,V)),U=N.maxWatts,q=N.minWatts;if(E+=V,H===this.workoutSplitTypes.SPLIT_TYPE_RECOVERY){var Z=N.bpmAtStart,$=N.bpmAtOneMinute,X=N.bpmAtTwoMinutes,K={elapsedSecondsInSplit:N.totalTimeSeconds,splitType:H,avgBPM:N.averageHeartRate,maxBPM:N.maxHeartRate,recoveryComplete:N.recoveryComplete,bpmAtStart:Z,bpmAtOneMinute:$,bpmAtTwoMinutes:X};if(void 0!==$){var J=Z-$,Q=Z+"-"+$,ee=(Math.abs(Z-$)/Z*100).toFixed()+"%";K.firstMinData={rangeDiff:J,rangeDisplay:Q,percDiff:ee}}void 0!==X&&(J=Z-X,Q=Z+"-"+X,ee=(Math.abs(Z-X)/Z*100).toFixed()+"%",K.secondMinData={rangeDiff:J,rangeDisplay:Q,percDiff:ee}),this.splitData.hasRecoverySplits=!0,this.splitData.recoverySplitList.push(K)}else{var te={splitNum:z+1,startTimeSeconds:N.startTimeSeconds,endTimeSeconds:N.endTimeSeconds,delta:Number(N.endTimeSeconds)-Number(N.startTimeSeconds),elapsedSecondsInSplit:N.totalTimeSeconds,totalSeconds:E,splitType:H,avgBPM:N.averageHeartRate,avgWatts:N.averageWatts,maxBPM:N.maxHeartRate,miles:Y,paceMinutesPerMile:W,paceMinutesPerKm:A,speedMilesPerHour:G,rpm:N.maxRPM,calories:Math.round(N.totalCalories),maxWatts:U,minWatts:q,caloriesDelta:0};if(null!=N.totalCalories&&null!=N.snapshots)try{te.caloriesDelta=Math.round(N.snapshots[N.snapshotCount-1].calories-this.runningTotalCalories),this.runningTotalCalories=N.snapshots[N.snapshotCount-1].calories}catch(be){te.caloriesDelta=Math.round(N.snapshots[N.snapshotCount-1].calories),this.runningTotalCalories=te.caloriesDelta}this.splitData.splitList.push(te)}if(N.snapshots)for(var ne=0;ne<N.snapshots.length;ne++){var ie=N.snapshots[ne],re=ie.distanceMiles,ae=ie.currSpeedMilesPerHour,oe=ie.currPaceMinutesPerMile,se=ie.altitudeFeet,le=ie.watts,ce=ie.elapsedSeconds,de=ie.calories,ue=ie.currBPM,pe=ie.currRPM,he=ie.latitude,me=ie.longitude,ge=void 0!==he&&void 0!==me&&he!=me&&-1!=he&&-1!=me&&999999!=he&&999999!=me;if(H==this.workoutSplitTypes.SPLIT_TYPE_RECOVERY)this.recoverySnapshots.push({elapsedSeconds:ce,bpm:ue});else{var fe=ce,ve=re;this.indexedGraphData.bpm.push([O,Number(ue)]),this.indexedGraphData.watts.push([O,Number(le)]),void 0!==se&&(this.timeGraphData.altitude.push([fe,Number(se)]),this.timeGraphData.hasValidAltitudeData=!0,this.distanceGraphData.altitude.push([ve,Number(se)]),this.distanceGraphData.hasValidAltitudeData=!0),void 0!==ue&&(this.timeGraphData.bpm.push([fe,Number(ue)]),this.timeGraphData.hasValidBPMData=!0,this.distanceGraphData.bpm.push([ve,Number(ue)]),this.distanceGraphData.hasValidBPMData=!0,this.indexedGraphData.hasValidBPMData=!0),void 0!==ae&&(this.timeGraphData.speed.push([fe,Number(ae)]),this.timeGraphData.hasValidMPHData=!0,this.timeGraphData.speedKM.push([fe,.621371*Number(ae)]),this.timeGraphData.hasValidMPHData=!0,this.distanceGraphData.speed.push([ve,Number(ae)]),this.distanceGraphData.hasValidMPHData=!0,this.distanceGraphData.speedKM.push([ve,.621371*Number(ae)]),this.distanceGraphData.hasValidMPHData=!0),void 0!==pe&&Number(pe)>0&&(this.timeGraphData.rpm.push([fe,Number(pe)]),this.timeGraphData.hasValidRPMData=!0,this.distanceGraphData.rpm.push([ve,Number(pe)]),this.distanceGraphData.hasValidRPMData=!0),void 0!==pe&&0==Number(pe)&&(this.timeGraphData.rpm.push([fe,null]),this.timeGraphData.hasValidRPMData=!0,this.distanceGraphData.rpm.push([ve,null]),this.distanceGraphData.hasValidRPMData=!0),void 0!==le&&(this.timeGraphData.watts.push([fe,Number(le)]),this.timeGraphData.hasValidWattsData=!0,this.distanceGraphData.watts.push([ve,Number(le)]),this.distanceGraphData.hasValidWattsData=!0),void 0!==pe&&Number(pe)>0&&void 0!==le&&(this.timeGraphData.resistance.push([fe,Number(r(le,pe))]),this.timeGraphData.hasValidResistanceData=!0,this.distanceGraphData.resistance.push([ve,Number(r(le,pe))]),this.distanceGraphData.hasValidResistanceData=!0),void 0!==oe&&(this.timeGraphData.pace.push([fe,Number(oe)]),this.timeGraphData.hasValidWattsData=!0,this.timeGraphData.paceKM.push([fe,.621371*Number(oe)]),this.timeGraphData.hasValidPaceData=!0,this.distanceGraphData.pace.push([ve,Number(oe)]),this.distanceGraphData.hasValidWattsData=!0,this.distanceGraphData.paceKM.push([ve,.621371*Number(oe)]),this.distanceGraphData.hasValidPaceData=!0);var ye={elapsedSeconds:ce,distance:re,calories:de,pace:oe,speed:ae,bpm:ue,rpm:pe,watts:le,altitude:se,resistance:Math.round(r(le,pe)),latitude:null,longitude:null};ge&&(this.gps.push([parseFloat(he),parseFloat(me)]),ye.latitude=he,ye.longitude=me),this.indexedSnapshots[O]=ye,this.timeIndexedSnapshots[fe]=ye,this.distanceIndexedSnapshots[ve]=ye,this.snapshots.push(ye),O++}}else N&&0!==parseFloat(N.latitude)&&this.gps.push([parseFloat(N.latitude),parseFloat(N.longitude)])}}return e.prototype.compileZoneData=function(e){for(var t=0,n=0;n<7;n++)t+=Number(e.timeInZones[n]);for(n=0;n<7;n++){var r,a=Number(e.timeInZones[n]),o=e.highBPM[n],s=e.lowBPM[n],l=a>0?Object(i.ab)(a/t*100,0)+"%":"-";r=0===n?"below":n<6?"zone "+n.toString():"above",this.zoneDisplay[n]={zoneName:r,bpmZoneRangeDisplayLow:s,bpmZoneRangeDisplayHigh:o,timeInZone:a,percentageInZone:l}}},e.prototype.compileHeartRateAnalysisData=function(e){var t={zoneData:{}};if(void 0!==e){var n=e.zoneData;if(void 0!==n){for(var i=0,r=0;r<7;r++)i+=o=Number(n.timeInZones[r]);for(r=0;r<7;r++){var a=n.names[r],o=Number(n.timeInZones[r]),s=Number(n.highBPM[r]),l=Number(n.lowBPM[r]);if(!a.includes("Digifit")){var c={zoneNum:r,lowBPM:l,highBPM:s,zoneName:a,secondsInZone:o,percentageVal:0};i>0&&(c.percentageVal=c.secondsInZone/i),t.zoneData[r]=c}}}}return t},e.prototype.compilePowerZoneAnalysisData=function(e){var t={zoneData:{}};if(void 0!==e){var n=e.zoneData;if(void 0!==n){for(var i=0,r=0;r<5;r++){var a=Number(n.timeInZones[r]);Number.isNaN(a)||(i+=a)}for(r=0;r<5;r++){var o={zoneNum:r,lowWatts:Number(n.lowWatts[r]),highWatts:Number(n.highWatts[r]),zoneName:n.names[r],secondsInZone:Number(n.timeInZones[r]),percentageVal:0};i>0&&(o.percentageVal=o.secondsInZone/i),t.zoneData[r]=o}}}return t},e.prototype.updateTiz=function(e){this.zone=e,this.heartRateAnalysisData=this.compileHeartRateAnalysisData(e),this.compileZoneData(e.zoneData)},e.prototype.workoutTitle=function(){var e;if(this.ecomodule||this.summary.ecomodule){if(1024===Number(this.ecomodule||this.summary.ecomodule))return this.summary.otherWorkoutTypeName;e=this.WorkoutTypes.getWorkoutType(this.ecomodule||this.summary.ecomodule).title}else e="";return e},e.prototype.getMaxWatt=function(){var e=this.summary.maxWatt;if(null!=e)return Number(e).toFixed();for(var t=null,n=0;n<this.splitData.splitList.length;n++){var i=this.splitData.splitList[n].maxWatts;null!=i&&(null==t?t=Number(i):t<i&&(t=i))}return null!=t&&(t=t.toFixed()),t},e.prototype.getMinWatt=function(){for(var e=null,t=0;t<this.splitData.splitList.length;t++){var n=this.splitData.splitList[t].minWatts;null!=n&&(null==e?e=Number(n):e>n&&(e=n))}return e},e.prototype.getAvgHeartRate=function(){var e=Number(this.isAvgHREdited?this.description.avgHR:this.summary.avgHR),t=Number(this.summary.avgHeartRate),n=Number(this.summary.totalBeats),i=Number(this.summary.readCountBPM);return isNaN(e)?isNaN(t)?isNaN(n)||isNaN(i)?null:n/i:t:e},e.prototype.isGpsOn=function(){return this.sensor.GPS&&void 0!==this.sensor.sensorDistanceMiles&&this.sensor.sensorDistanceMiles>0},e.prototype.isHeartMonitorOn=function(){return this.sensor.BPM},e.prototype.isCadenceSensorOn=function(){return this.sensor.RPM},e.prototype.isPowerSensorOn=function(){return this.sensor.Watt},e.prototype.getElapsedTimeSeconds=function(){var e=Number(this.elapsedSeconds);return isNaN(e)?null:e},e.prototype.getStrideCount=function(){var e=this.summary.footpodStrideCount,t=this.steps;return Number(e)>0&&""!=e&&void 0!==e?e:Number(t)>0&&""!=t&&void 0!==t?(Number(t)/2).toString():null},e.prototype.getTotalRevolutions=function(){var e=this.summary.totalRPM;return void 0!==e&&""!=e&&"0"!=e?Number(e):null},e.prototype.getAvgRpm=function(){if(void 0!==this.summary.avgRPM)return Number(this.summary.avgRPM.toFixed());var e=this.getTotalRevolutions(),t=this.summary.readCountRPM;return e>0&&"null"!=e&&Number(t)>0&&void 0!==t?Number((Number(e)/Number(t)).toFixed()):null},e.prototype.getMaxRpm=function(){var e=this.summary.maxRPM;return void 0!==e&&Number(e)>0&&""!=e?Number(e):null},e.prototype.getAltitudeAscent=function(){var e=this.summary.altitudeAscent;return void 0!==e&&-999999!=Number(e)?Object(i.ab)(e,0):null},e.prototype.getAltitudeDescent=function(){var e=this.summary.altitudeDescent;return void 0!==e&&-999999!=Number(e)?Object(i.ab)(e,0):null},e.prototype.getStepCount=function(){var e=this.steps,t=this.getStrideCount();return Number(e)>0&&""!=e&&void 0!==e?e:null!=t?(2*t).toString():null},e.prototype.getStridesPerMinute=function(){var e=this.getStrideCount();return Number(e)>0?(Number(e)/this.getElapsedTimeSeconds()*60).toString():null},e.prototype.getStepsPerMinute=function(){var e=this.getStepCount();return Number(e)>0?(Number(e)/this.getElapsedTimeSeconds()*60).toString():null},e.prototype.getEcomodule=function(){var e=this.ecomodule,t=this.summary.workoutType;if(void 0!==e){var n=Number(e);if(!isNaN(n))return n}else if(void 0!==t){var i=this.WorkoutTypes.getWorkoutTypeByName(t.toUpperCase());if(n=Number(i),void 0!==i)return n}return 0},e.prototype.getBPMZoneNum=function(e){var t=this.getBPMZone(e);return null!=t?t.zoneNum:null},e.prototype.getBPMZone=function(e){if(null!=this.heartRateAnalysisData)for(var t in this.heartRateAnalysisData.zoneData){var n=this.heartRateAnalysisData.zoneData[t],i=n.lowBPM,r=n.highBPM,a=Number(e);if(void 0===e||isNaN(a))return null;if(Math.round(a)>=i&&Math.round(a)<=r-1)return n}return null},e.prototype.getPowerZone=function(e){if(null!=this.powerZoneAnalysisData)for(var t in this.powerZoneAnalysisData.zoneData){var n=this.powerZoneAnalysisData.zoneData[t],i=n.lowWatts,r=n.highWatts,a=Number(e);if(void 0===e||isNaN(a))return null;if(Math.round(a)>=i&&Math.round(a)<=r-1)return n}return null},e.prototype.getPaceMinutesPerMile=function(e,t){e=Number(e);var n=Number(t)/60;return e<=0||n<=0||isNaN(e)||isNaN(n)?null:n/e},e.prototype.getSpeedMilesPerHour=function(e,t){e=Number(e);var n=Number(t)/3600;return e<=0||n<=0||isNaN(e)||isNaN(n)?null:e/n},e.prototype.getAvgBPM=function(){var e=this.summary.totalBeats,t=this.summary.readCountBPM;if(0!=e&&null!=e&&void 0!==t&&"0"!=t&&""!=t)return Math.round(e/Number(t))},e.prototype.getElapsedSeconds=function(){var e=0;return void 0!==this.summary.elapsedSeconds||void 0!==this.description.elapsedSeconds?e=this.isElapsedTimeEdited?void 0!==this.description.elapsedSeconds?this.description.elapsedSeconds:0:void 0!==this.summary.elapsedSeconds?this.summary.elapsedSeconds:0:void 0!==this.summary.durationSeconds&&(e=this.summary.durationSeconds),Number(e)},e.prototype.getElapsedTime=function(){return void 0!==this.summary.elapsedSeconds||void 0!==this.description.elapsedSeconds?this.isElapsedTimeEdited?Object(i.gb)(void 0!==this.description.elapsedSeconds?this.description.elapsedSeconds:0):Object(i.gb)(void 0!==this.summary.elapsedSeconds?this.summary.elapsedSeconds:0):void 0!==this.summary.durationSeconds?Object(i.gb)(this.summary.durationSeconds):"0:00"},e.prototype.getPrimarySource=function(){var e=this.summary.primarySourceSpeedDistance;return void 0!==e&&""!=e?e:null},e.prototype.getCarbCalories=function(){var e=this.summary.carbCalories;if(void 0!==e)return Number(e.toFixed());var t=this.summary.fatCalories||null,n=this.calories||null;return null!=n&&null!=t?Number((Number(n)-Number(t)).toFixed()):0},e.prototype.getMaxMph=function(){var e=this.getPrimarySource(),t=this.summary[(null!=e?e:"gps")+"_maxspeed"];return Number(t)>0&&void 0!==t?Number(t):void 0!==this.summary.maxSpeedMilesPerHour?Number(this.summary.maxSpeedMilesPerHour):null},e.prototype.getAvgPace=function(){return s(this.getDistance(),this.elapsedSeconds)},e.prototype.getDistance=function(){var e=this.summary.primarySourceSpeedDistance;void 0!==e&&""!==e||(e=null);var t=this.isDistanceEdited?this.description.distance:this.summary[null!=e?e+"_distance":"distance"];if(void 0===t)if(void 0!==this.summary.footpodDistance)t=this.summary.footpodDistance;else{if(void 0===this.summary.distanceMiles)return 0;t=this.summary.distanceMiles}return Object(i.ab)(t,2)},e}(),o=function(){return function(e){this.fitRank=0,this.v02Max=0,this.lactateThreshold=0,this.lthr=0,this.maxHR=0,this.restHR=0,this.fitRank=Number(e.fitRank),this.hrzID=e.hrzID,this.maxHR=Number(e.maxHR||0),this.restHR=Number(e.restHR||0),this.v02Max=Number(e.v02Max||0),this.hrzPermID=e.hrzPermID,this.lactateThreshold=Number(e.lactateThreshold),this.lthr=Number(e.lthr),this.pzID=e.pzID,this.pzPermID=e.pzPermID,this.successful="True"==e.successful}}();function s(e,t){return e<=0?"0:00":Number(t)/Number(e)}function l(e){return e<=0?"0:00":Number(3600/e)}function c(e,t){if(0==t)return 0;var n=Number(t)/3600,r=Number(e)/n;return Object(i.ab)(r,1)}},eXdc:function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return r});var i=function(){function e(e){this.auditor=null,this.authType="device",this.facebookLogin=!1,this.accountId=e.id,this.email=e.email,this.login=e.login,this.creationDate=e.creationDate,this.custom_uri=e.profile.custom_uri,this.hasImage=e.profile.has_image,this.imageFilename=e.profile.image_filename,this.language=e.profile.language,this.gender=e.profile.gender,this.name=e.profile.name,this.usersName=e.profile.name,this.unitOfMeasure=e.profile.unitOfMeasure||"US",this.fitnessLevel=e.profile.fitnessLevel,this.activityMonitor=e.profile.activityMonitor,this.birthDate=new Date(e.profile.birthDate),this.height=e.profile.height,this.heightAsCM=Math.round(2.54*e.profile.height).toString();try{this.appPrefs=e.preferences.custom_app_prefs}catch(t){this.appPrefs={}}this.weightGoal=Number(e.profile.weightGoal),this.mhr=Number(e.profile.heartRateMax),this.tokenFB=e.token_fb,this.colorTheme=e.profile.color_theme,this.appName=e.appName,this.smart_coach=e.profile.smart_coach,this.facebookLogin=e.facebook_login,this.profilePhoto=1==this.hasImage||"true"==this.hasImage||"True"==this.hasImage?"https://storage.googleapis.com/image_manager/profile_image/"+this.accountId+"/"+this.imageFilename:"https://my.fitdigits.com/api/v2/group_member_photo/"+this.accountId}return e.prototype.isMetric=function(){return"US"!=this.unitOfMeasure},e.prototype.getProfilePhoto=function(){},e.prototype.toDict=function(){return{email:this.email,preferences:{},profile:{name:this.name,custom_uri:this.custom_uri,language:this.language,fitnessLevel:this.fitnessLevel,birthDate:this.birthDate,unitOfMeasure:this.unitOfMeasure,height:this.height,gender:this.gender,activityMonitor:this.activityMonitor,color_theme:this.colorTheme,smart_coach:this.smart_coach}}},e}(),r=function(){return function(e){this.auditorName=e.auditor_name,this.email=e.email,this.hasImage=e.has_image,this.id=e.id,this.imageFilename=e.image_filename,this.profilePhoto="https://my.fitdigits.com/api/v2/group_member_photo/"+this.id,this.hasImage&&(this.profilePhoto="https://storage.googleapis.com/image_manager/profile_image/"+this.id+"/"+this.imageFilename)}}()},fXoL:function(e,t,n){"use strict";n.r(t),n.d(t,"ANALYZE_FOR_ENTRY_COMPONENTS",function(){return Jn}),n.d(t,"APP_BOOTSTRAP_LISTENER",function(){return wy}),n.d(t,"APP_ID",function(){return fy}),n.d(t,"APP_INITIALIZER",function(){return my}),n.d(t,"ApplicationInitStatus",function(){return gy}),n.d(t,"ApplicationModule",function(){return cx}),n.d(t,"ApplicationRef",function(){return _b}),n.d(t,"Attribute",function(){return Xn}),n.d(t,"COMPILER_OPTIONS",function(){return Vy}),n.d(t,"CUSTOM_ELEMENTS_SCHEMA",function(){return sa}),n.d(t,"ChangeDetectionStrategy",function(){return K}),n.d(t,"ChangeDetectorRef",function(){return Zh}),n.d(t,"Compiler",function(){return Hy}),n.d(t,"CompilerFactory",function(){return Yy}),n.d(t,"Component",function(){return Qv}),n.d(t,"ComponentFactory",function(){return sh}),n.d(t,"ComponentFactoryResolver",function(){return uh}),n.d(t,"ComponentRef",function(){return oh}),n.d(t,"ContentChild",function(){return ni}),n.d(t,"ContentChildren",function(){return ti}),n.d(t,"DEFAULT_CURRENCY_CODE",function(){return Oy}),n.d(t,"DebugElement",function(){return tx}),n.d(t,"DebugEventListener",function(){return Rb}),n.d(t,"DebugNode",function(){return ex}),n.d(t,"DefaultIterableDiffer",function(){return Th}),n.d(t,"Directive",function(){return Jv}),n.d(t,"ElementRef",function(){return bh}),n.d(t,"EmbeddedViewRef",function(){return Lb}),n.d(t,"ErrorHandler",function(){return oa}),n.d(t,"EventEmitter",function(){return Kf}),n.d(t,"Host",function(){return Vi}),n.d(t,"HostBinding",function(){return iy}),n.d(t,"HostListener",function(){return ry}),n.d(t,"INJECTOR",function(){return Ds}),n.d(t,"Inject",function(){return Bi}),n.d(t,"InjectFlags",function(){return U}),n.d(t,"Injectable",function(){return hc}),n.d(t,"InjectionToken",function(){return Kn}),n.d(t,"Injector",function(){return Ks}),n.d(t,"Input",function(){return ty}),n.d(t,"IterableDiffers",function(){return Nh}),n.d(t,"KeyValueDiffers",function(){return Vh}),n.d(t,"LOCALE_ID",function(){return ky}),n.d(t,"MissingTranslationStrategy",function(){return Iy}),n.d(t,"ModuleWithComponentFactories",function(){return Dy}),n.d(t,"NO_ERRORS_SCHEMA",function(){return la}),n.d(t,"NgModule",function(){return uy}),n.d(t,"NgModuleFactory",function(){return sm}),n.d(t,"NgModuleFactoryLoader",function(){return Sb}),n.d(t,"NgModuleRef",function(){return om}),n.d(t,"NgProbeToken",function(){return hb}),n.d(t,"NgZone",function(){return Uy}),n.d(t,"Optional",function(){return zi}),n.d(t,"Output",function(){return ny}),n.d(t,"PACKAGE_ROOT_URL",function(){return Sy}),n.d(t,"PLATFORM_ID",function(){return _y}),n.d(t,"PLATFORM_INITIALIZER",function(){return xy}),n.d(t,"Pipe",function(){return ey}),n.d(t,"PlatformRef",function(){return bb}),n.d(t,"Query",function(){return ei}),n.d(t,"QueryList",function(){return Qf}),n.d(t,"ReflectiveInjector",function(){return jc}),n.d(t,"ReflectiveKey",function(){return xc}),n.d(t,"Renderer2",function(){return wh}),n.d(t,"RendererFactory2",function(){return _h}),n.d(t,"RendererStyleFlags2",function(){return Ia}),n.d(t,"ResolvedReflectiveFactory",function(){return Oc}),n.d(t,"Sanitizer",function(){return Oh}),n.d(t,"SecurityContext",function(){return Ur}),n.d(t,"Self",function(){return Ni}),n.d(t,"SimpleChange",function(){return Ne}),n.d(t,"SkipSelf",function(){return Hi}),n.d(t,"SystemJsNgModuleLoader",function(){return Pb}),n.d(t,"SystemJsNgModuleLoaderConfig",function(){return Mb}),n.d(t,"TRANSLATIONS",function(){return Ey}),n.d(t,"TRANSLATIONS_FORMAT",function(){return My}),n.d(t,"TemplateRef",function(){return nm}),n.d(t,"Testability",function(){return Qy}),n.d(t,"TestabilityRegistry",function(){return eb}),n.d(t,"Type",function(){return si}),n.d(t,"VERSION",function(){return Mh}),n.d(t,"Version",function(){return Eh}),n.d(t,"ViewChild",function(){return ri}),n.d(t,"ViewChildren",function(){return ii}),n.d(t,"ViewContainerRef",function(){return dm}),n.d(t,"ViewEncapsulation",function(){return ee}),n.d(t,"ViewRef",function(){return Db}),n.d(t,"WrappedValue",function(){return Tl}),n.d(t,"asNativeElements",function(){return Fb}),n.d(t,"assertPlatform",function(){return fb}),n.d(t,"createPlatform",function(){return mb}),n.d(t,"createPlatformFactory",function(){return gb}),n.d(t,"defineInjectable",function(){return A}),n.d(t,"destroyPlatform",function(){return vb}),n.d(t,"enableProdMode",function(){return sb}),n.d(t,"forwardRef",function(){return E}),n.d(t,"getDebugNode",function(){return Xb}),n.d(t,"getModuleFactory",function(){return Ob}),n.d(t,"getPlatform",function(){return yb}),n.d(t,"inject",function(){return Li}),n.d(t,"isDevMode",function(){return ob}),n.d(t,"platformCore",function(){return nx}),n.d(t,"resolveForwardRef",function(){return M}),n.d(t,"setTestabilityGetter",function(){return tb}),n.d(t,"\u02750",function(){return Fi}),n.d(t,"\u0275ALLOW_MULTIPLE_PLATFORMS",function(){return pb}),n.d(t,"\u0275APP_ID_RANDOM_PROVIDER",function(){return yy}),n.d(t,"\u0275CREATE_ATTRIBUTE_DECORATOR__POST_R3__",function(){return $n}),n.d(t,"\u0275ChangeDetectorStatus",function(){return J}),n.d(t,"\u0275CodegenComponentFactoryResolver",function(){return ph}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsAsync__POST_R3__",function(){return zy}),n.d(t,"\u0275Compiler_compileModuleAndAllComponentsSync__POST_R3__",function(){return Fy}),n.d(t,"\u0275Compiler_compileModuleAsync__POST_R3__",function(){return jy}),n.d(t,"\u0275Compiler_compileModuleSync__POST_R3__",function(){return Ly}),n.d(t,"\u0275ComponentFactory",function(){return sh}),n.d(t,"\u0275Console",function(){return Cy}),n.d(t,"\u0275DEFAULT_LOCALE_ID",function(){return Vu}),n.d(t,"\u0275EMPTY_ARRAY",function(){return pg}),n.d(t,"\u0275EMPTY_MAP",function(){return hg}),n.d(t,"\u0275INJECTOR_IMPL__POST_R3__",function(){return $s}),n.d(t,"\u0275INJECTOR_SCOPE",function(){return Rs}),n.d(t,"\u0275LifecycleHooksFeature",function(){return vl}),n.d(t,"\u0275LocaleDataIndex",function(){return Nu}),n.d(t,"\u0275NG_COMP_DEF",function(){return ce}),n.d(t,"\u0275NG_DIR_DEF",function(){return de}),n.d(t,"\u0275NG_ELEMENT_ID",function(){return ge}),n.d(t,"\u0275NG_INJ_DEF",function(){return Y}),n.d(t,"\u0275NG_MOD_DEF",function(){return pe}),n.d(t,"\u0275NG_PIPE_DEF",function(){return ue}),n.d(t,"\u0275NG_PROV_DEF",function(){return V}),n.d(t,"\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR",function(){return of}),n.d(t,"\u0275NO_CHANGE",function(){return Oo}),n.d(t,"\u0275NgModuleFactory",function(){return kf}),n.d(t,"\u0275NoopNgZone",function(){return Jy}),n.d(t,"\u0275ReflectionCapabilities",function(){return _i}),n.d(t,"\u0275Render3ComponentFactory",function(){return ff}),n.d(t,"\u0275Render3ComponentRef",function(){return vf}),n.d(t,"\u0275Render3NgModuleRef",function(){return Cf}),n.d(t,"\u0275RuntimeError",function(){return P}),n.d(t,"\u0275SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__",function(){return Uh}),n.d(t,"\u0275SWITCH_COMPILE_COMPONENT__POST_R3__",function(){return ay}),n.d(t,"\u0275SWITCH_COMPILE_DIRECTIVE__POST_R3__",function(){return oy}),n.d(t,"\u0275SWITCH_COMPILE_INJECTABLE__POST_R3__",function(){return mc}),n.d(t,"\u0275SWITCH_COMPILE_NGMODULE__POST_R3__",function(){return py}),n.d(t,"\u0275SWITCH_COMPILE_PIPE__POST_R3__",function(){return sy}),n.d(t,"\u0275SWITCH_ELEMENT_REF_FACTORY__POST_R3__",function(){return vh}),n.d(t,"\u0275SWITCH_IVY_ENABLED__POST_R3__",function(){return Py}),n.d(t,"\u0275SWITCH_RENDERER2_FACTORY__POST_R3__",function(){return Sh}),n.d(t,"\u0275SWITCH_TEMPLATE_REF_FACTORY__POST_R3__",function(){return em}),n.d(t,"\u0275SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__",function(){return lm}),n.d(t,"\u0275_sanitizeHtml",function(){return Wr}),n.d(t,"\u0275_sanitizeUrl",function(){return Or}),n.d(t,"\u0275allowSanitizationBypassAndThrow",function(){return mr}),n.d(t,"\u0275and",function(){return dx}),n.d(t,"\u0275angular_packages_core_core_a",function(){return I}),n.d(t,"\u0275angular_packages_core_core_b",function(){return Pi}),n.d(t,"\u0275angular_packages_core_core_ba",function(){return lx}),n.d(t,"\u0275angular_packages_core_core_bb",function(){return Yu}),n.d(t,"\u0275angular_packages_core_core_bc",function(){return Jg}),n.d(t,"\u0275angular_packages_core_core_bd",function(){return Om}),n.d(t,"\u0275angular_packages_core_core_be",function(){return Ve}),n.d(t,"\u0275angular_packages_core_core_bf",function(){return gf}),n.d(t,"\u0275angular_packages_core_core_bg",function(){return On}),n.d(t,"\u0275angular_packages_core_core_bh",function(){return bt}),n.d(t,"\u0275angular_packages_core_core_bi",function(){return Pt}),n.d(t,"\u0275angular_packages_core_core_bj",function(){return Zt}),n.d(t,"\u0275angular_packages_core_core_bl",function(){return Ff}),n.d(t,"\u0275angular_packages_core_core_bm",function(){return Bf}),n.d(t,"\u0275angular_packages_core_core_bn",function(){return zf}),n.d(t,"\u0275angular_packages_core_core_bo",function(){return Nf}),n.d(t,"\u0275angular_packages_core_core_bp",function(){return Hf}),n.d(t,"\u0275angular_packages_core_core_bq",function(){return ea}),n.d(t,"\u0275angular_packages_core_core_br",function(){return Zn}),n.d(t,"\u0275angular_packages_core_core_bs",function(){return qn}),n.d(t,"\u0275angular_packages_core_core_bv",function(){return w}),n.d(t,"\u0275angular_packages_core_core_bw",function(){return Ls}),n.d(t,"\u0275angular_packages_core_core_bx",function(){return q}),n.d(t,"\u0275angular_packages_core_core_bz",function(){return rt}),n.d(t,"\u0275angular_packages_core_core_c",function(){return ji}),n.d(t,"\u0275angular_packages_core_core_cb",function(){return Da}),n.d(t,"\u0275angular_packages_core_core_cc",function(){return Yp}),n.d(t,"\u0275angular_packages_core_core_d",function(){return Ac}),n.d(t,"\u0275angular_packages_core_core_e",function(){return Sc}),n.d(t,"\u0275angular_packages_core_core_f",function(){return Ic}),n.d(t,"\u0275angular_packages_core_core_g",function(){return vy}),n.d(t,"\u0275angular_packages_core_core_h",function(){return kh}),n.d(t,"\u0275angular_packages_core_core_i",function(){return gh}),n.d(t,"\u0275angular_packages_core_core_j",function(){return fh}),n.d(t,"\u0275angular_packages_core_core_k",function(){return Cb}),n.d(t,"\u0275angular_packages_core_core_l",function(){return rm}),n.d(t,"\u0275angular_packages_core_core_m",function(){return am}),n.d(t,"\u0275angular_packages_core_core_n",function(){return um}),n.d(t,"\u0275angular_packages_core_core_o",function(){return jb}),n.d(t,"\u0275angular_packages_core_core_p",function(){return Ab}),n.d(t,"\u0275angular_packages_core_core_q",function(){return Kb}),n.d(t,"\u0275angular_packages_core_core_r",function(){return $h}),n.d(t,"\u0275angular_packages_core_core_s",function(){return Ih}),n.d(t,"\u0275angular_packages_core_core_t",function(){return Ah}),n.d(t,"\u0275angular_packages_core_core_u",function(){return zh}),n.d(t,"\u0275angular_packages_core_core_v",function(){return Hh}),n.d(t,"\u0275angular_packages_core_core_w",function(){return ix}),n.d(t,"\u0275angular_packages_core_core_x",function(){return rx}),n.d(t,"\u0275angular_packages_core_core_y",function(){return ax}),n.d(t,"\u0275angular_packages_core_core_z",function(){return sx}),n.d(t,"\u0275bypassSanitizationTrustHtml",function(){return fr}),n.d(t,"\u0275bypassSanitizationTrustResourceUrl",function(){return xr}),n.d(t,"\u0275bypassSanitizationTrustScript",function(){return yr}),n.d(t,"\u0275bypassSanitizationTrustStyle",function(){return vr}),n.d(t,"\u0275bypassSanitizationTrustUrl",function(){return br}),n.d(t,"\u0275ccf",function(){return Eg}),n.d(t,"\u0275clearOverrides",function(){return z_}),n.d(t,"\u0275clearResolutionOfComponentResourcesQueue",function(){return Qi}),n.d(t,"\u0275cmf",function(){return N_}),n.d(t,"\u0275compileComponent",function(){return Av}),n.d(t,"\u0275compileDirective",function(){return Fv}),n.d(t,"\u0275compileNgModule",function(){return Ev}),n.d(t,"\u0275compileNgModuleDefs",function(){return Mv}),n.d(t,"\u0275compileNgModuleFactory__POST_R3__",function(){return cb}),n.d(t,"\u0275compilePipe",function(){return Xv}),n.d(t,"\u0275createInjector",function(){return Ns}),n.d(t,"\u0275crt",function(){return Rm}),n.d(t,"\u0275defaultIterableDiffers",function(){return Jh}),n.d(t,"\u0275defaultKeyValueDiffers",function(){return Qh}),n.d(t,"\u0275detectChanges",function(){return Ps}),n.d(t,"\u0275devModeEqual",function(){return Pl}),n.d(t,"\u0275did",function(){return $g}),n.d(t,"\u0275eld",function(){return ux}),n.d(t,"\u0275findLocaleData",function(){return ju}),n.d(t,"\u0275flushModuleScopingQueueAsMuchAsPossible",function(){return kv}),n.d(t,"\u0275getComponentViewDefinitionFactory",function(){return Mg}),n.d(t,"\u0275getDebugNodeR2",function(){return Jb}),n.d(t,"\u0275getDebugNode__POST_R3__",function(){return $b}),n.d(t,"\u0275getDirectives",function(){return il}),n.d(t,"\u0275getHostElement",function(){return al}),n.d(t,"\u0275getInjectableDef",function(){return B}),n.d(t,"\u0275getLContext",function(){return ga}),n.d(t,"\u0275getLocaleCurrencyCode",function(){return Au}),n.d(t,"\u0275getLocalePluralCase",function(){return Fu}),n.d(t,"\u0275getModuleFactory__POST_R3__",function(){return kb}),n.d(t,"\u0275getSanitizationBypassType",function(){return gr}),n.d(t,"\u0275global",function(){return ae}),n.d(t,"\u0275initServicesIfNeeded",function(){return Qx}),n.d(t,"\u0275inlineInterpolate",function(){return dg}),n.d(t,"\u0275interpolate",function(){return cg}),n.d(t,"\u0275isBoundToModule__POST_R3__",function(){return ub}),n.d(t,"\u0275isDefaultChangeDetectionStrategy",function(){return Q}),n.d(t,"\u0275isListLikeIterable",function(){return Dl}),n.d(t,"\u0275isObservable",function(){return Xc}),n.d(t,"\u0275isPromise",function(){return Zc}),n.d(t,"\u0275isSubscribable",function(){return $c}),n.d(t,"\u0275ivyEnabled",function(){return Ty}),n.d(t,"\u0275makeDecorator",function(){return Gn}),n.d(t,"\u0275markDirty",function(){return Ts}),n.d(t,"\u0275mod",function(){return bg}),n.d(t,"\u0275mpd",function(){return yg}),n.d(t,"\u0275ncd",function(){return _x}),n.d(t,"\u0275noSideEffects",function(){return X}),n.d(t,"\u0275nov",function(){return zg}),n.d(t,"\u0275overrideComponentView",function(){return B_}),n.d(t,"\u0275overrideProvider",function(){return F_}),n.d(t,"\u0275pad",function(){return Cx}),n.d(t,"\u0275patchComponentDefWithScope",function(){return Tv}),n.d(t,"\u0275pid",function(){return Xg}),n.d(t,"\u0275pod",function(){return kx}),n.d(t,"\u0275ppd",function(){return Sx}),n.d(t,"\u0275prd",function(){return Kg}),n.d(t,"\u0275publishDefaultGlobalUtils",function(){return ul}),n.d(t,"\u0275publishGlobalUtil",function(){return pl}),n.d(t,"\u0275qud",function(){return fx}),n.d(t,"\u0275registerLocaleData",function(){return Ru}),n.d(t,"\u0275registerModuleFactory",function(){return xf}),n.d(t,"\u0275registerNgModuleType",function(){return wf}),n.d(t,"\u0275renderComponent",function(){return hl}),n.d(t,"\u0275resetCompiledComponents",function(){return Iv}),n.d(t,"\u0275resetJitOptions",function(){return xv}),n.d(t,"\u0275resolveComponentResources",function(){return qi}),n.d(t,"\u0275setClassMetadata",function(){return yf}),n.d(t,"\u0275setCurrentInjector",function(){return Ii}),n.d(t,"\u0275setDocument",function(){return Je}),n.d(t,"\u0275setLocaleId",function(){return Zu}),n.d(t,"\u0275store",function(){return oc}),n.d(t,"\u0275stringify",function(){return C}),n.d(t,"\u0275ted",function(){return Ex}),n.d(t,"\u0275transitiveScopesFor",function(){return Dv}),n.d(t,"\u0275unregisterLocaleData",function(){return zu}),n.d(t,"\u0275unv",function(){return Tm}),n.d(t,"\u0275unwrapSafeValue",function(){return hr}),n.d(t,"\u0275vid",function(){return Px}),n.d(t,"\u0275whenRendered",function(){return yl}),n.d(t,"\u0275\u0275CopyDefinitionFeature",function(){return El}),n.d(t,"\u0275\u0275InheritDefinitionFeature",function(){return xl}),n.d(t,"\u0275\u0275NgOnChangesFeature",function(){return He}),n.d(t,"\u0275\u0275ProvidersFeature",function(){return ah}),n.d(t,"\u0275\u0275advance",function(){return Eo}),n.d(t,"\u0275\u0275attribute",function(){return Nl}),n.d(t,"\u0275\u0275attributeInterpolate1",function(){return Xl}),n.d(t,"\u0275\u0275attributeInterpolate2",function(){return Kl}),n.d(t,"\u0275\u0275attributeInterpolate3",function(){return Jl}),n.d(t,"\u0275\u0275attributeInterpolate4",function(){return Ql}),n.d(t,"\u0275\u0275attributeInterpolate5",function(){return ec}),n.d(t,"\u0275\u0275attributeInterpolate6",function(){return tc}),n.d(t,"\u0275\u0275attributeInterpolate7",function(){return nc}),n.d(t,"\u0275\u0275attributeInterpolate8",function(){return ic}),n.d(t,"\u0275\u0275attributeInterpolateV",function(){return rc}),n.d(t,"\u0275\u0275classMap",function(){return Dd}),n.d(t,"\u0275\u0275classMapInterpolate1",function(){return nu}),n.d(t,"\u0275\u0275classMapInterpolate2",function(){return iu}),n.d(t,"\u0275\u0275classMapInterpolate3",function(){return ru}),n.d(t,"\u0275\u0275classMapInterpolate4",function(){return au}),n.d(t,"\u0275\u0275classMapInterpolate5",function(){return ou}),n.d(t,"\u0275\u0275classMapInterpolate6",function(){return su}),n.d(t,"\u0275\u0275classMapInterpolate7",function(){return lu}),n.d(t,"\u0275\u0275classMapInterpolate8",function(){return cu}),n.d(t,"\u0275\u0275classMapInterpolateV",function(){return du}),n.d(t,"\u0275\u0275classProp",function(){return Id}),n.d(t,"\u0275\u0275contentQuery",function(){return uv}),n.d(t,"\u0275\u0275defineComponent",function(){return ve}),n.d(t,"\u0275\u0275defineDirective",function(){return ke}),n.d(t,"\u0275\u0275defineInjectable",function(){return j}),n.d(t,"\u0275\u0275defineInjector",function(){return F}),n.d(t,"\u0275\u0275defineNgModule",function(){return we}),n.d(t,"\u0275\u0275definePipe",function(){return Oe}),n.d(t,"\u0275\u0275directiveInject",function(){return Fc}),n.d(t,"\u0275\u0275disableBindings",function(){return yt}),n.d(t,"\u0275\u0275element",function(){return Yc}),n.d(t,"\u0275\u0275elementContainer",function(){return Uc}),n.d(t,"\u0275\u0275elementContainerEnd",function(){return Gc}),n.d(t,"\u0275\u0275elementContainerStart",function(){return Wc}),n.d(t,"\u0275\u0275elementEnd",function(){return Vc}),n.d(t,"\u0275\u0275elementStart",function(){return Hc}),n.d(t,"\u0275\u0275enableBindings",function(){return vt}),n.d(t,"\u0275\u0275getCurrentView",function(){return qc}),n.d(t,"\u0275\u0275getInheritedFactory",function(){return zn}),n.d(t,"\u0275\u0275hostProperty",function(){return Iu}),n.d(t,"\u0275\u0275i18n",function(){return Up}),n.d(t,"\u0275\u0275i18nApply",function(){return $p}),n.d(t,"\u0275\u0275i18nAttributes",function(){return qp}),n.d(t,"\u0275\u0275i18nEnd",function(){return Gp}),n.d(t,"\u0275\u0275i18nExp",function(){return Zp}),n.d(t,"\u0275\u0275i18nPostprocess",function(){return Xp}),n.d(t,"\u0275\u0275i18nStart",function(){return Wp}),n.d(t,"\u0275\u0275inject",function(){return Ti}),n.d(t,"\u0275\u0275injectAttribute",function(){return Hn}),n.d(t,"\u0275\u0275injectPipeChangeDetectorRef",function(){return vv}),n.d(t,"\u0275\u0275invalidFactory",function(){return Bc}),n.d(t,"\u0275\u0275invalidFactoryDep",function(){return Di}),n.d(t,"\u0275\u0275listener",function(){return Kc}),n.d(t,"\u0275\u0275loadQuery",function(){return pv}),n.d(t,"\u0275\u0275namespaceHTML",function(){return en}),n.d(t,"\u0275\u0275namespaceMathML",function(){return Qt}),n.d(t,"\u0275\u0275namespaceSVG",function(){return Jt}),n.d(t,"\u0275\u0275nextContext",function(){return id}),n.d(t,"\u0275\u0275ngDeclareComponent",function(){return Y_}),n.d(t,"\u0275\u0275ngDeclareDirective",function(){return V_}),n.d(t,"\u0275\u0275ngDeclarePipe",function(){return W_}),n.d(t,"\u0275\u0275pipe",function(){return Vf}),n.d(t,"\u0275\u0275pipeBind1",function(){return Yf}),n.d(t,"\u0275\u0275pipeBind2",function(){return Wf}),n.d(t,"\u0275\u0275pipeBind3",function(){return Gf}),n.d(t,"\u0275\u0275pipeBind4",function(){return Uf}),n.d(t,"\u0275\u0275pipeBindV",function(){return qf}),n.d(t,"\u0275\u0275projection",function(){return od}),n.d(t,"\u0275\u0275projectionDef",function(){return ad}),n.d(t,"\u0275\u0275property",function(){return zc}),n.d(t,"\u0275\u0275propertyInterpolate",function(){return sd}),n.d(t,"\u0275\u0275propertyInterpolate1",function(){return ld}),n.d(t,"\u0275\u0275propertyInterpolate2",function(){return cd}),n.d(t,"\u0275\u0275propertyInterpolate3",function(){return dd}),n.d(t,"\u0275\u0275propertyInterpolate4",function(){return ud}),n.d(t,"\u0275\u0275propertyInterpolate5",function(){return pd}),n.d(t,"\u0275\u0275propertyInterpolate6",function(){return hd}),n.d(t,"\u0275\u0275propertyInterpolate7",function(){return md}),n.d(t,"\u0275\u0275propertyInterpolate8",function(){return gd}),n.d(t,"\u0275\u0275propertyInterpolateV",function(){return fd}),n.d(t,"\u0275\u0275pureFunction0",function(){return Of}),n.d(t,"\u0275\u0275pureFunction1",function(){return Ef}),n.d(t,"\u0275\u0275pureFunction2",function(){return Mf}),n.d(t,"\u0275\u0275pureFunction3",function(){return If}),n.d(t,"\u0275\u0275pureFunction4",function(){return Pf}),n.d(t,"\u0275\u0275pureFunction5",function(){return Tf}),n.d(t,"\u0275\u0275pureFunction6",function(){return Df}),n.d(t,"\u0275\u0275pureFunction7",function(){return Lf}),n.d(t,"\u0275\u0275pureFunction8",function(){return Rf}),n.d(t,"\u0275\u0275pureFunctionV",function(){return jf}),n.d(t,"\u0275\u0275queryRefresh",function(){return cv}),n.d(t,"\u0275\u0275reference",function(){return sc}),n.d(t,"\u0275\u0275resolveBody",function(){return Oa}),n.d(t,"\u0275\u0275resolveDocument",function(){return ka}),n.d(t,"\u0275\u0275resolveWindow",function(){return Ca}),n.d(t,"\u0275\u0275restoreView",function(){return _t}),n.d(t,"\u0275\u0275sanitizeHtml",function(){return qr}),n.d(t,"\u0275\u0275sanitizeResourceUrl",function(){return Xr}),n.d(t,"\u0275\u0275sanitizeScript",function(){return Kr}),n.d(t,"\u0275\u0275sanitizeStyle",function(){return Zr}),n.d(t,"\u0275\u0275sanitizeUrl",function(){return $r}),n.d(t,"\u0275\u0275sanitizeUrlOrResourceUrl",function(){return ta}),n.d(t,"\u0275\u0275setComponentScope",function(){return ye}),n.d(t,"\u0275\u0275setNgModuleScope",function(){return Se}),n.d(t,"\u0275\u0275styleMap",function(){return Pd}),n.d(t,"\u0275\u0275styleMapInterpolate1",function(){return uu}),n.d(t,"\u0275\u0275styleMapInterpolate2",function(){return pu}),n.d(t,"\u0275\u0275styleMapInterpolate3",function(){return hu}),n.d(t,"\u0275\u0275styleMapInterpolate4",function(){return mu}),n.d(t,"\u0275\u0275styleMapInterpolate5",function(){return gu}),n.d(t,"\u0275\u0275styleMapInterpolate6",function(){return fu}),n.d(t,"\u0275\u0275styleMapInterpolate7",function(){return vu}),n.d(t,"\u0275\u0275styleMapInterpolate8",function(){return yu}),n.d(t,"\u0275\u0275styleMapInterpolateV",function(){return bu}),n.d(t,"\u0275\u0275styleProp",function(){return Md}),n.d(t,"\u0275\u0275stylePropInterpolate1",function(){return xu}),n.d(t,"\u0275\u0275stylePropInterpolate2",function(){return _u}),n.d(t,"\u0275\u0275stylePropInterpolate3",function(){return wu}),n.d(t,"\u0275\u0275stylePropInterpolate4",function(){return Su}),n.d(t,"\u0275\u0275stylePropInterpolate5",function(){return Cu}),n.d(t,"\u0275\u0275stylePropInterpolate6",function(){return ku}),n.d(t,"\u0275\u0275stylePropInterpolate7",function(){return Ou}),n.d(t,"\u0275\u0275stylePropInterpolate8",function(){return Eu}),n.d(t,"\u0275\u0275stylePropInterpolateV",function(){return Mu}),n.d(t,"\u0275\u0275syntheticHostListener",function(){return Jc}),n.d(t,"\u0275\u0275syntheticHostProperty",function(){return Pu}),n.d(t,"\u0275\u0275template",function(){return ac}),n.d(t,"\u0275\u0275templateRefExtractor",function(){return fv}),n.d(t,"\u0275\u0275text",function(){return Gd}),n.d(t,"\u0275\u0275textInterpolate",function(){return Ud}),n.d(t,"\u0275\u0275textInterpolate1",function(){return qd}),n.d(t,"\u0275\u0275textInterpolate2",function(){return Zd}),n.d(t,"\u0275\u0275textInterpolate3",function(){return $d}),n.d(t,"\u0275\u0275textInterpolate4",function(){return Xd}),n.d(t,"\u0275\u0275textInterpolate5",function(){return Kd}),n.d(t,"\u0275\u0275textInterpolate6",function(){return Jd}),n.d(t,"\u0275\u0275textInterpolate7",function(){return Qd}),n.d(t,"\u0275\u0275textInterpolate8",function(){return eu}),n.d(t,"\u0275\u0275textInterpolateV",function(){return tu}),n.d(t,"\u0275\u0275trustConstantHtml",function(){return Jr}),n.d(t,"\u0275\u0275trustConstantResourceUrl",function(){return Qr}),n.d(t,"\u0275\u0275viewQuery",function(){return dv});var i=n("ReuC"),r=n("foSv"),a=n("JX7q"),o=n("ODXe"),s=(n("rePB"),n("T5bk"),n("uFwe")),l=n("KQm4"),c=n("s4An"),d=n("2WcH");function u(e,t,n){return(u=Object(d.a)()?Reflect.construct:function(e,t,n){var i=[null];i.push.apply(i,t);var r=new(Function.bind.apply(e,i));return n&&Object(c.a)(r,n.prototype),r}).apply(null,arguments)}var p=n("vuIU"),h=n("1OyB"),m=n("Ji7U"),g=n("LK+K");function f(e){var t="function"==typeof Map?new Map:void 0;return(f=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return u(e,arguments,Object(r.a)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Object(c.a)(n,e)})(e)}var v=n("quSY"),y=n("XNiG"),b=n("HDdC"),x=n("VRyK"),_=n("w1tV");function w(e){for(var t in e)if(e[t]===w)return t;throw Error("Could not find renamed property on target object.")}function S(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function C(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(C).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return"".concat(e.overriddenName);if(e.name)return"".concat(e.name);var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function k(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var O=w({__forward_ref__:w});function E(e){return e.__forward_ref__=E,e.toString=function(){return C(this())},e}function M(e){return I(e)?e():e}function I(e){return"function"==typeof e&&e.hasOwnProperty(O)&&e.__forward_ref__===E}var P=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e,i){var r;return Object(h.a)(this,n),(r=t.call(this,function(e,t){var n=e?"NG0".concat(e,": "):"";return"".concat(n).concat(t)}(e,i))).code=e,r}return Object(p.a)(n)}(f(Error));function T(e){return"string"==typeof e?e:null==e?"":String(e)}function D(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():T(e)}function L(e,t){var n=t?" in ".concat(t):"";throw new P("201","No provider for ".concat(D(e)," found").concat(n))}function R(e,t,n,i){throw new Error("ASSERTION ERROR: ".concat(e)+(null==i?"":" [Expected=> ".concat(n," ").concat(i," ").concat(t," <=Actual]")))}function j(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}var A=j;function F(e){return{providers:e.providers||[],imports:e.imports||[]}}function B(e){return z(e,V)||z(e,W)}function z(e,t){return e.hasOwnProperty(t)?e[t]:null}function N(e){return e&&(e.hasOwnProperty(Y)||e.hasOwnProperty(G))?e[Y]:null}var H,V=w({"\u0275prov":w}),Y=w({"\u0275inj":w}),W=w({ngInjectableDef:w}),G=w({ngInjectorDef:w}),U=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function q(){return H}function Z(e){var t=H;return H=e,t}function $(e,t,n){var i=B(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&U.Optional?null:void 0!==t?t:void L(C(e),"Injector")}function X(e){return{toString:e}.toString()}var K=function(e){return e[e.OnPush=0]="OnPush",e[e.Default=1]="Default",e}({}),J=function(e){return e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed",e}({});function Q(e){return null==e||e===K.Default}var ee=function(e){return e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",e}({}),te="undefined"!=typeof globalThis&&globalThis,ne="undefined"!=typeof window&&window,ie="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,re="undefined"!=typeof global&&global,ae=te||re||ne||ie,oe={},se=[],le=[],ce=w({"\u0275cmp":w}),de=w({"\u0275dir":w}),ue=w({"\u0275pipe":w}),pe=w({"\u0275mod":w}),he=w({"\u0275loc":w}),me=w({"\u0275fac":w}),ge=w({__NG_ELEMENT_ID__:w}),fe=0;function ve(e){return X(function(){var t={},n={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===K.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||le,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ee.Emulated,id:"c",styles:e.styles||le,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,r=e.features,a=e.pipes;return n.id+=fe++,n.inputs=Ce(e.inputs,t),n.outputs=Ce(e.outputs),r&&r.forEach(function(e){return e(n)}),n.directiveDefs=i?function(){return("function"==typeof i?i():i).map(be)}:null,n.pipeDefs=a?function(){return("function"==typeof a?a():a).map(xe)}:null,n})}function ye(e,t,n){var i=e.\u0275cmp;i.directiveDefs=function(){return t.map(be)},i.pipeDefs=function(){return n.map(xe)}}function be(e){return Ee(e)||Me(e)}function xe(e){return Ie(e)}var _e={};function we(e){var t={type:e.type,bootstrap:e.bootstrap||le,declarations:e.declarations||le,imports:e.imports||le,exports:e.exports||le,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&X(function(){_e[e.id]=e.type}),t}function Se(e,t){return X(function(){var n=Pe(e,!0);n.declarations=t.declarations||le,n.imports=t.imports||le,n.exports=t.exports||le})}function Ce(e,t){if(null==e)return oe;var n={};for(var i in e)if(e.hasOwnProperty(i)){var r=e[i],a=r;Array.isArray(r)&&(a=r[1],r=r[0]),n[r]=i,t&&(t[r]=a)}return n}var ke=ve;function Oe(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ee(e){return e[ce]||null}function Me(e){return e[de]||null}function Ie(e){return e[ue]||null}function Pe(e,t){var n=e[pe]||null;if(!n&&!0===t)throw new Error("Type ".concat(C(e)," does not have '\u0275mod' property."));return n}var Te=20,De=10;function Le(e){return Array.isArray(e)&&"object"==typeof e[1]}function Re(e){return Array.isArray(e)&&!0===e[1]}function je(e){return 0!=(8&e.flags)}function Ae(e){return 2==(2&e.flags)}function Fe(e){return 1==(1&e.flags)}function Be(e){return null!==e.template}function ze(e,t){return e.hasOwnProperty(me)?e[me]:null}var Ne=function(){function e(t,n,i){Object(h.a)(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=i}return Object(p.a)(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function He(){return Ve}function Ve(e){return e.type.prototype.ngOnChanges&&(e.setInput=We),Ye}function Ye(){var e=Ge(this),t=null==e?void 0:e.current;if(t){var n=e.previous;if(n===oe)e.previous=t;else for(var i in t)n[i]=t[i];e.current=null,this.ngOnChanges(t)}}function We(e,t,n,i){var r=Ge(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:oe,current:null}),a=r.current||(r.current={}),o=r.previous,s=this.declaredInputs[n],l=o[s];a[s]=new Ne(l&&l.currentValue,t,o===oe),e[i]=t}function Ge(e){return e.__ngSimpleChanges__||null}He.ngInherit=!0;var Ue=null,qe=function(e){Ue=e},Ze=function(e,t,n){null!=Ue&&Ue(e,t,n)},$e="http://www.w3.org/2000/svg",Xe="http://www.w3.org/1998/MathML/",Ke=void 0;function Je(e){Ke=e}function Qe(){return void 0!==Ke?Ke:"undefined"!=typeof document?document:void 0}function et(e){return!!e.listen}var tt={createRenderer:function(e,t){return Qe()}};function nt(e){for(;Array.isArray(e);)e=e[0];return e}function it(e,t){return nt(t[e])}function rt(e,t){return nt(t[e.index])}function at(e,t){return e.data[t]}function ot(e,t){return e[t]}function st(e,t){var n=t[e];return Le(n)?n:n[0]}function lt(e){return e.__ngContext__||null}function ct(e){var t=lt(e);return t?Array.isArray(t)?t:t.lView:null}function dt(e){return 4==(4&e[2])}function ut(e){return 128==(128&e[2])}function pt(e,t){return null==t?null:e[t]}function ht(e){e[18]=0}function mt(e,t){e[5]+=t;for(var n=e,i=e[3];null!==i&&(1===t&&1===n[5]||-1===t&&0===n[5]);)i[5]+=t,n=i,i=i[3]}var gt={lFrame:Wt(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ft(){return gt.bindingsEnabled}function vt(){gt.bindingsEnabled=!0}function yt(){gt.bindingsEnabled=!1}function bt(){return gt.lFrame.lView}function xt(){return gt.lFrame.tView}function _t(e){gt.lFrame.contextLView=e}function wt(){for(var e=St();null!==e&&64===e.type;)e=e.parent;return e}function St(){return gt.lFrame.currentTNode}function Ct(){var e=gt.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function kt(e,t){var n=gt.lFrame;n.currentTNode=e,n.isParent=t}function Ot(){return gt.lFrame.isParent}function Et(){gt.lFrame.isParent=!1}function Mt(){return gt.isInCheckNoChangesMode}function It(e){gt.isInCheckNoChangesMode=e}function Pt(){var e=gt.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Tt(){return gt.lFrame.bindingIndex}function Dt(e){return gt.lFrame.bindingIndex=e}function Lt(){return gt.lFrame.bindingIndex++}function Rt(e){var t=gt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function jt(e){gt.lFrame.inI18n=e}function At(e){gt.lFrame.currentDirectiveIndex=e}function Ft(e){var t=gt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Bt(){return gt.lFrame.currentQueryIndex}function zt(e){gt.lFrame.currentQueryIndex=e}function Nt(e){var t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Ht(e,t,n){if(n&U.SkipSelf){for(var i=t,r=e;!(null!==(i=i.parent)||n&U.Host||null===(i=Nt(r))||(r=r[15],10&i.type)););if(null===i)return!1;t=i,e=r}var a=gt.lFrame=Yt();return a.currentTNode=t,a.lView=e,!0}function Vt(e){var t=Yt(),n=e[1];gt.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function Yt(){var e=gt.lFrame,t=null===e?null:e.child;return null===t?Wt(e):t}function Wt(e){var t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function Gt(){var e=gt.lFrame;return gt.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}var Ut=Gt;function qt(){var e=Gt();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Zt(e){return(gt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,gt.lFrame.contextLView))[8]}function $t(){return gt.lFrame.selectedIndex}function Xt(e){gt.lFrame.selectedIndex=e}function Kt(){var e=gt.lFrame;return at(e.tView,e.selectedIndex)}function Jt(){gt.lFrame.currentNamespace=$e}function Qt(){gt.lFrame.currentNamespace=Xe}function en(){gt.lFrame.currentNamespace=null}function tn(e,t){for(var n=t.directiveStart,i=t.directiveEnd;n<i;n++){var r=e.data[n].type.prototype,a=r.ngAfterContentInit,o=r.ngAfterContentChecked,s=r.ngAfterViewInit,l=r.ngAfterViewChecked,c=r.ngOnDestroy;a&&(e.contentHooks||(e.contentHooks=[])).push(-n,a),o&&((e.contentHooks||(e.contentHooks=[])).push(n,o),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,o)),s&&(e.viewHooks||(e.viewHooks=[])).push(-n,s),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function nn(e,t,n){on(e,t,3,n)}function rn(e,t,n,i){(3&e[2])===n&&on(e,t,n,i)}function an(e,t){var n=e[2];(3&n)===t&&(n&=2047,e[2]=n+=1)}function on(e,t,n,i){for(var r=null!=i?i:-1,a=t.length-1,o=0,s=void 0!==i?65535&e[18]:0;s<a;s++)if("number"==typeof t[s+1]){if(o=t[s],null!=i&&o>=i)break}else t[s]<0&&(e[18]+=65536),(o<r||-1==r)&&(sn(e,n,t,s),e[18]=(4294901760&e[18])+s+2),s++}function sn(e,t,n,i){var r=n[i]<0,a=n[i+1],o=e[r?-n[i]:n[i]];if(r){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,Ze(4,o,a);try{a.call(o)}finally{Ze(5,o,a)}}}else{Ze(4,o,a);try{a.call(o)}finally{Ze(5,o,a)}}}var ln=-1,cn=Object(p.a)(function e(t,n,i){Object(h.a)(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=i});function dn(e,t,n){for(var i=et(e),r=0;r<n.length;){var a=n[r];if("number"==typeof a){if(0!==a)break;r++;var o=n[r++],s=n[r++],l=n[r++];i?e.setAttribute(t,s,l,o):t.setAttributeNS(o,s,l)}else{var c=a,d=n[++r];pn(c)?i&&e.setProperty(t,c,d):i?e.setAttribute(t,c,d):t.setAttribute(c,d),r++}}return r}function un(e){return 3===e||4===e||6===e}function pn(e){return 64===e.charCodeAt(0)}function hn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,i=0;i<t.length;i++){var r=t[i];"number"==typeof r?n=r:0===n||mn(e,n,r,null,-1===n||2===n?t[++i]:null)}return e}function mn(e,t,n,i,r){var a=0,o=e.length;if(-1===t)o=-1;else for(;a<e.length;){var s=e[a++];if("number"==typeof s){if(s===t){o=-1;break}if(s>t){o=a-1;break}}}for(;a<e.length;){var l=e[a];if("number"==typeof l)break;if(l===n){if(null===i)return void(null!==r&&(e[a+1]=r));if(i===e[a+1])return void(e[a+2]=r)}a++,null!==i&&a++,null!==r&&a++}-1!==o&&(e.splice(o,0,t),a=o+1),e.splice(a++,0,n),null!==i&&e.splice(a++,0,i),null!==r&&e.splice(a++,0,r)}function gn(e){return e!==ln}function fn(e){return 32767&e}function vn(e,t){for(var n=e>>16,i=t;n>0;)i=i[15],n--;return i}var yn=!0;function bn(e){var t=yn;return yn=e,t}var xn=0;function _n(e,t){var n=Sn(e,t);if(-1!==n)return n;var i=t[1];i.firstCreatePass&&(e.injectorIndex=t.length,wn(i.data,e),wn(t,null),wn(i.blueprint,null));var r=Cn(e,t),a=e.injectorIndex;if(gn(r))for(var o=fn(r),s=vn(r,t),l=s[1].data,c=0;c<8;c++)t[a+c]=s[o+c]|l[o+c];return t[a+8]=r,a}function wn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Sn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Cn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=0,i=null,r=t;null!==r;){var a=r[1],o=a.type;if(null===(i=2===o?a.declTNode:1===o?r[6]:null))return ln;if(n++,r=r[15],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return ln}function kn(e,t,n){!function(e,t,n){var i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(ge)&&(i=n[ge]),null==i&&(i=n[ge]=xn++);var r=255&i;t.data[e+(r>>5)]|=1<<r}(e,t,n)}function On(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var i=n.length,r=0;r<i;){var a=n[r];if(un(a))break;if(0===a)r+=2;else if("number"==typeof a)for(r++;r<i&&"string"==typeof n[r];)r++;else{if(a===t)return n[r+1];r+=2}}return null}function En(e,t,n){if(n&U.Optional)return e;L(t,"NodeInjector")}function Mn(e,t,n,i){if(n&U.Optional&&void 0===i&&(i=null),0==(n&(U.Self|U.Host))){var r=e[9],a=Z(void 0);try{return r?r.get(t,i,n&U.Optional):$(t,i,n&U.Optional)}finally{Z(a)}}return En(i,t,n)}function In(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:U.Default,r=arguments.length>4?arguments[4]:void 0;if(null!==e){var a=jn(n);if("function"==typeof a){if(!Ht(t,e,i))return i&U.Host?En(r,n,i):Mn(t,n,i,r);try{var o=a();if(null!=o||i&U.Optional)return o;L(n)}finally{Ut()}}else if("number"==typeof a){var s=null,l=Sn(e,t),c=ln,d=i&U.Host?t[16][6]:null;for((-1===l||i&U.SkipSelf)&&((c=-1===l?Cn(e,t):t[l+8])!==ln&&Fn(i,!1)?(s=t[1],l=fn(c),t=vn(c,t)):l=-1);-1!==l;){var u=t[1];if(An(a,l,u.data)){var p=Dn(l,t,n,s,i,d);if(p!==Pn)return p}(c=t[l+8])!==ln&&Fn(i,t[1].data[l+8]===d)&&An(a,l,t)?(s=u,l=fn(c),t=vn(c,t)):l=-1}}}return Mn(t,n,i,r)}var Pn={};function Tn(){return new Bn(wt(),bt())}function Dn(e,t,n,i,r,a){var o=t[1],s=o.data[e+8],l=Ln(s,o,n,null==i?Ae(s)&&yn:i!=o&&0!=(3&s.type),r&U.Host&&a===s);return null!==l?Rn(t,o,l,s):Pn}function Ln(e,t,n,i,r){for(var a=e.providerIndexes,o=t.data,s=1048575&a,l=e.directiveStart,c=a>>20,d=r?s+c:e.directiveEnd,u=i?s:s+c;u<d;u++){var p=o[u];if(u<l&&n===p||u>=l&&p.type===n)return u}if(r){var h=o[l];if(h&&Be(h)&&h.type===n)return l}return null}function Rn(e,t,n,i){var r=e[n],a=t.data;if(r instanceof cn){var o=r;o.resolving&&function(e,t){throw new P("200","Circular dependency in DI detected for ".concat(e).concat(""))}(D(a[n]));var s=bn(o.canSeeViewProviders);o.resolving=!0;var l=o.injectImpl?Z(o.injectImpl):null;Ht(e,i,U.Default);try{r=e[n]=o.factory(void 0,a,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){var i=t.type.prototype,r=i.ngOnInit,a=i.ngDoCheck;if(i.ngOnChanges){var o=Ve(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)}r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a))}(n,a[n],t)}finally{null!==l&&Z(l),bn(s),o.resolving=!1,Ut()}}return r}function jn(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e.hasOwnProperty(ge)?e[ge]:void 0;return"number"==typeof t?t>=0?255&t:Tn:t}function An(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function Fn(e,t){return!(e&U.Self||e&U.Host&&t)}var Bn=function(){function e(t,n){Object(h.a)(this,e),this._tNode=t,this._lView=n}return Object(p.a)(e,[{key:"get",value:function(e,t){return In(this._tNode,this._lView,e,void 0,t)}}]),e}();function zn(e){return X(function(){for(var t=e.prototype.constructor,n=t[me]||Nn(t),i=Object.prototype,r=Object.getPrototypeOf(e.prototype).constructor;r&&r!==i;){var a=r[me]||Nn(r);if(a&&a!==n)return a;r=Object.getPrototypeOf(r)}return function(e){return new e}})}function Nn(e){return I(e)?function(){var t=Nn(M(e));return t&&t()}:ze(e)}function Hn(e){return On(wt(),e)}var Vn="__annotations__",Yn="__parameters__",Wn="__prop__metadata__";function Gn(e,t,n,i,r){return X(function(){var a=Un(t);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof o)return a.call.apply(a,[this].concat(t)),this;var s=u(o,t);return function(e){return r&&r.apply(void 0,[e].concat(t)),(e.hasOwnProperty(Vn)?e[Vn]:Object.defineProperty(e,Vn,{value:[]})[Vn]).push(s),i&&i(e),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}function Un(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}function qn(e,t,n){return X(function(){var i=Un(t);function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof r)return i.apply(this,t),this;var a=u(r,t);return o.annotation=a,o;function o(e,t,n){for(var i=e.hasOwnProperty(Yn)?e[Yn]:Object.defineProperty(e,Yn,{value:[]})[Yn];i.length<=n;)i.push(null);return(i[n]=i[n]||[]).push(a),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}function Zn(e,t,n,i){return X(function(){var r=Un(t);function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof a)return r.apply(this,t),this;var o=u(a,t);function s(e,n){var r=e.constructor,a=r.hasOwnProperty(Wn)?r[Wn]:Object.defineProperty(r,Wn,{value:{}})[Wn];a[n]=a.hasOwnProperty(n)&&a[n]||[],a[n].unshift(o),i&&i.apply(void 0,[e,n].concat(t))}return s}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}function $n(){return qn("Attribute",function(e){return{attributeName:e,__NG_ELEMENT_ID__:function(){return Hn(e)}}})}var Xn=$n(),Kn=function(){function e(t,n){Object(h.a)(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=j({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return Object(p.a)(e,[{key:"toString",value:function(){return"InjectionToken ".concat(this._desc)}}]),e}(),Jn=new Kn("AnalyzeForEntryComponents"),Qn=!1,ei=Object(p.a)(function e(){Object(h.a)(this,e)}),ti=Zn("ContentChildren",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:Qn},t)},ei),ni=Zn("ContentChild",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)},ei),ii=Zn("ViewChildren",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:Qn},t)},ei),ri=Zn("ViewChild",function(e,t){return Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)},ei),ai=function(e){return e[e.Token=0]="Token",e[e.Attribute=1]="Attribute",e[e.ChangeDetectorRef=2]="ChangeDetectorRef",e[e.Invalid=3]="Invalid",e}({});function oi(){var e=ae.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n  - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n  - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n  - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}var si=Function;function li(e){return"function"==typeof e}function ci(e,t){void 0===t&&(t=e);for(var n=0;n<e.length;n++){var i=e[n];Array.isArray(i)?(t===e&&(t=e.slice(0,n)),ci(i,t)):t!==e&&t.push(i)}return t}function di(e,t){e.forEach(function(e){return Array.isArray(e)?di(e,t):t(e)})}function ui(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function pi(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function hi(e,t){for(var n=[],i=0;i<e;i++)n.push(t);return n}function mi(e,t,n){var i=fi(e,t);return i>=0?e[1|i]=n:function(e,t,n,i){var r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=i}}(e,i=~i,t,n),i}function gi(e,t){var n=fi(e,t);if(n>=0)return e[1|n]}function fi(e,t){return function(e,t,n){for(var i=0,r=e.length>>1;r!==i;){var a=i+(r-i>>1),o=e[a<<1];if(t===o)return a<<1;o>t?r=a:i=a+1}return~(r<<1)}(e,t)}var vi=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|[^()]+\(arguments\))\)/,yi=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,bi=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,xi=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/,_i=function(){function e(t){Object(h.a)(this,e),this._reflect=t||ae.Reflect}return Object(p.a)(e,[{key:"isReflectionEnabled",value:function(){return!0}},{key:"factory",value:function(e){return function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return u(e,n)}}},{key:"_zipTypesAndAnnotations",value:function(e,t){var n;n=hi(void 0===e?t.length:e.length);for(var i=0;i<n.length;i++)n[i]=void 0===e?[]:e[i]&&e[i]!=Object?[e[i]]:[],t&&null!=t[i]&&(n[i]=n[i].concat(t[i]));return n}},{key:"_ownParameters",value:function(e,t){if(n=e.toString(),vi.test(n)||xi.test(n)||yi.test(n)&&!bi.test(n))return null;var n;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var i=e.ctorParameters;if(i&&i!==t.ctorParameters){var r="function"==typeof i?i():i,a=r.map(function(e){return e&&e.type}),o=r.map(function(e){return e&&wi(e.decorators)});return this._zipTypesAndAnnotations(a,o)}var s=e.hasOwnProperty(Yn)&&e[Yn],l=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return l||s?this._zipTypesAndAnnotations(l,s):hi(e.length)}},{key:"parameters",value:function(e){if(!li(e))return[];var t=Si(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}},{key:"_ownAnnotations",value:function(e,t){if(e.annotations&&e.annotations!==t.annotations){var n=e.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return e.decorators&&e.decorators!==t.decorators?wi(e.decorators):e.hasOwnProperty(Vn)?e[Vn]:null}},{key:"annotations",value:function(e){if(!li(e))return[];var t=Si(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}},{key:"_ownPropMetadata",value:function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var i=e.propDecorators,r={};return Object.keys(i).forEach(function(e){r[e]=wi(i[e])}),r}return e.hasOwnProperty(Wn)?e[Wn]:null}},{key:"propMetadata",value:function(e){if(!li(e))return{};var t=Si(e),n={};if(t!==Object){var i=this.propMetadata(t);Object.keys(i).forEach(function(e){n[e]=i[e]})}var r=this._ownPropMetadata(e,t);return r&&Object.keys(r).forEach(function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,Object(l.a)(n[e])),t.push.apply(t,Object(l.a)(r[e])),n[e]=t}),n}},{key:"ownPropMetadata",value:function(e){return li(e)&&this._ownPropMetadata(e,Si(e))||{}}},{key:"hasLifecycleHook",value:function(e,t){return e instanceof si&&t in e.prototype}},{key:"guards",value:function(e){return{}}},{key:"getter",value:function(e){return new Function("o","return o."+e+";")}},{key:"setter",value:function(e){return new Function("o","v","return o."+e+" = v;")}},{key:"method",value:function(e){var t="if (!o.".concat(e,") throw new Error('\"").concat(e,"\" is undefined');\n        return o.").concat(e,".apply(o, args);");return new Function("o","args",t)}},{key:"importUri",value:function(e){return"object"==typeof e&&e.filePath?e.filePath:"./".concat(C(e))}},{key:"resourceUri",value:function(e){return"./".concat(C(e))}},{key:"resolveIdentifier",value:function(e,t,n,i){return i}},{key:"resolveEnum",value:function(e,t){return e[t]}}]),e}();function wi(e){return e?e.map(function(e){var t=e.args?e.args:[];return u(e.type.annotationCls,Object(l.a)(t))}):[]}function Si(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}var Ci={},ki=/\n/gm,Oi="__source",Ei=w({provide:String,useValue:w}),Mi=void 0;function Ii(e){var t=Mi;return Mi=e,t}function Pi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U.Default;if(void 0===Mi)throw new Error("inject() must be called from an injection context");return null===Mi?$(e,void 0,t):Mi.get(e,t&U.Optional?null:void 0,t)}function Ti(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U.Default;return(q()||Pi)(M(e),t)}function Di(e){throw new Error("invalid")}var Li=Ti;function Ri(e){for(var t=[],n=0;n<e.length;n++){var i=M(e[n]);if(Array.isArray(i)){if(0===i.length)throw new Error("Arguments array must have arguments.");for(var r=void 0,a=U.Default,o=0;o<i.length;o++){var s=i[o],l=s.__NG_DI_FLAG__;"number"==typeof l?-1===l?r=s.token:a|=l:r=s}t.push(Ti(r,a))}else t.push(Ti(i))}return t}function ji(e,t){return e.__NG_DI_FLAG__=t,e.prototype.__NG_DI_FLAG__=t,e}function Ai(e,t,n,i){var r=e.ngTempTokenPath;throw t[Oi]&&r.unshift(t[Oi]),e.message=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var r=C(t);if(Array.isArray(t))r=t.map(C).join(" -> ");else if("object"==typeof t){var a=[];for(var o in t)if(t.hasOwnProperty(o)){var s=t[o];a.push(o+":"+("string"==typeof s?JSON.stringify(s):C(s)))}r="{".concat(a.join(", "),"}")}return"".concat(n).concat(i?"("+i+")":"","[").concat(r,"]: ").concat(e.replace(ki,"\n  "))}("\n"+e.message,r,n,i),e.ngTokenPath=r,e.ngTempTokenPath=null,e}var Fi=function(e){return{token:e}},Bi=ji(qn("Inject",Fi),-1),zi=ji(qn("Optional"),8),Ni=ji(qn("Self"),2),Hi=ji(qn("SkipSelf"),4),Vi=ji(qn("Host"),1),Yi=null;function Wi(){return Yi=Yi||new _i}function Gi(e){return Ui(Wi().parameters(e))}function Ui(e){var t=oi();return e.map(function(e){return function(e,t){var n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function i(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)&&t.length>0)for(var r=0;r<t.length;r++){var a=t[r];if(void 0!==a){var o=Object.getPrototypeOf(a);if(a instanceof zi||"Optional"===o.ngMetadataName)n.optional=!0;else if(a instanceof Hi||"SkipSelf"===o.ngMetadataName)n.skipSelf=!0;else if(a instanceof Ni||"Self"===o.ngMetadataName)n.self=!0;else if(a instanceof Vi||"Host"===o.ngMetadataName)n.host=!0;else if(a instanceof Bi)n.token=a.token;else if(a instanceof Xn){if(void 0===a.attributeName)throw new Error("Attribute name must be defined.");n.token=a.attributeName,n.resolved=e.R3ResolvedDependencyType.Attribute}else!0===a.__ChangeDetectorRef__?(n.token=a,n.resolved=e.R3ResolvedDependencyType.ChangeDetectorRef):i(a)}}else void 0===t||Array.isArray(t)&&0===t.length?(n.token=void 0,n.resolved=ai.Invalid):i(t);return n}(t,e)})}function qi(e){var t=[],n=new Map;function i(t){var i=n.get(t);if(!i){var r=e(t);n.set(t,i=r.then(er))}return i}return Xi.forEach(function(e,n){var r=[];e.templateUrl&&r.push(i(e.templateUrl).then(function(t){e.template=t}));var a=e.styleUrls,o=e.styles||(e.styles=[]),s=e.styles.length;a&&a.forEach(function(t,n){o.push(""),r.push(i(t).then(function(i){o[s+n]=i,a.splice(a.indexOf(t),1),0==a.length&&(e.styleUrls=void 0)}))});var l=Promise.all(r).then(function(){return function(e){Ki.delete(e)}(n)});t.push(l)}),Qi(),Promise.all(t).then(function(){})}var Zi,$i,Xi=new Map,Ki=new Set;function Ji(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Qi(){var e=Xi;return Xi=new Map,e}function er(e){return"string"==typeof e?e:e.text()}function tr(){if(void 0===Zi&&(Zi=null,ae.trustedTypes))try{Zi=ae.trustedTypes.createPolicy("angular",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(e){}return Zi}function nr(e){var t;return(null===(t=tr())||void 0===t?void 0:t.createHTML(e))||e}function ir(){if(void 0===$i&&($i=null,ae.trustedTypes))try{$i=ae.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:function(e){return e},createScript:function(e){return e},createScriptURL:function(e){return e}})}catch(e){}return $i}function rr(e){var t;return(null===(t=ir())||void 0===t?void 0:t.createHTML(e))||e}function ar(e){var t;return(null===(t=ir())||void 0===t?void 0:t.createScript(e))||e}function or(e){var t;return(null===(t=ir())||void 0===t?void 0:t.createScriptURL(e))||e}var sr=function(){function e(t){Object(h.a)(this,e),this.changingThisBreaksApplicationSecurity=t}return Object(p.a)(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: ".concat(this.changingThisBreaksApplicationSecurity)+" (see https://g.co/ng/security#xss)"}}]),e}(),lr=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(){return Object(h.a)(this,n),t.apply(this,arguments)}return Object(p.a)(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(sr),cr=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(){return Object(h.a)(this,n),t.apply(this,arguments)}return Object(p.a)(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(sr),dr=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(){return Object(h.a)(this,n),t.apply(this,arguments)}return Object(p.a)(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(sr),ur=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(){return Object(h.a)(this,n),t.apply(this,arguments)}return Object(p.a)(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(sr),pr=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(){return Object(h.a)(this,n),t.apply(this,arguments)}return Object(p.a)(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(sr);function hr(e){return e instanceof sr?e.changingThisBreaksApplicationSecurity:e}function mr(e,t){var n=gr(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see https://g.co/ng/security#xss)"))}return n===t}function gr(e){return e instanceof sr&&e.getTypeName()||null}function fr(e){return new lr(e)}function vr(e){return new cr(e)}function yr(e){return new dr(e)}function br(e){return new ur(e)}function xr(e){return new pr(e)}function _r(e){var t=new Sr(e);return function(){try{return!!(new window.DOMParser).parseFromString(nr(""),"text/html")}catch(e){return!1}}()?new wr(t):t}var wr=function(){function e(t){Object(h.a)(this,e),this.inertDocumentHelper=t}return Object(p.a)(e,[{key:"getInertBodyElement",value:function(e){e="<body><remove></remove>"+e;try{var t=(new window.DOMParser).parseFromString(nr(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(n){return null}}}]),e}(),Sr=function(){function e(t){if(Object(h.a)(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);var i=this.inertDocument.createElement("body");n.appendChild(i)}}return Object(p.a)(e,[{key:"getInertBodyElement",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=nr(e),t;var n=this.inertDocument.createElement("body");return n.innerHTML=nr(e),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var i=t.item(n).name;"xmlns:ns1"!==i&&0!==i.indexOf("ns1:")||e.removeAttribute(i)}for(var r=e.firstChild;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}]),e}(),Cr=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,kr=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Or(e){return(e=String(e)).match(Cr)||e.match(kr)?e:"unsafe:"+e}function Er(e){return(e=String(e)).split(",").map(function(e){return Or(e.trim())}).join(", ")}function Mr(e){var t,n={},i=Object(s.a)(e.split(","));try{for(i.s();!(t=i.n()).done;)n[t.value]=!0}catch(r){i.e(r)}finally{i.f()}return n}function Ir(){for(var e={},t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];for(var r=0,a=n;r<a.length;r++){var o=a[r];for(var s in o)o.hasOwnProperty(s)&&(e[s]=!0)}return e}var Pr,Tr=Mr("area,br,col,hr,img,wbr"),Dr=Mr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Lr=Mr("rp,rt"),Rr=Ir(Lr,Dr),jr=Ir(Tr,Ir(Dr,Mr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Ir(Lr,Mr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Rr),Ar=Mr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Fr=Mr("srcset"),Br=Ir(Ar,Fr,Mr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Mr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),zr=Mr("script,style,template"),Nr=function(){function e(){Object(h.a)(this,e),this.sanitizedSomething=!1,this.buf=[]}return Object(p.a)(e,[{key:"sanitizeChildren",value:function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var i=this.checkClobberedElement(t,t.nextSibling);if(i){t=i;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t=e.nodeName.toLowerCase();if(!jr.hasOwnProperty(t))return this.sanitizedSomething=!0,!zr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n=e.attributes,i=0;i<n.length;i++){var r=n.item(i),a=r.name,o=a.toLowerCase();if(Br.hasOwnProperty(o)){var s=r.value;Ar[o]&&(s=Or(s)),Fr[o]&&(s=Er(s)),this.buf.push(" ",a,'="',Yr(s),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();jr.hasOwnProperty(t)&&!Tr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(Yr(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: ".concat(e.outerHTML));return t}}]),e}(),Hr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Vr=/([^\#-~ |!])/g;function Yr(e){return e.replace(/&/g,"&amp;").replace(Hr,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(Vr,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Wr(e,t){var n=null;try{Pr=Pr||_r(e);var i=t?String(t):"";n=Pr.getInertBodyElement(i);var r=5,a=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=a,a=n.innerHTML,n=Pr.getInertBodyElement(i)}while(i!==a);return nr((new Nr).sanitizeChildren(Gr(n)||n))}finally{if(n)for(var o=Gr(n)||n;o.firstChild;)o.removeChild(o.firstChild)}}function Gr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ur=function(e){return e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL",e}({});function qr(e){var t=na();return t?rr(t.sanitize(Ur.HTML,e)||""):mr(e,"HTML")?rr(hr(e)):Wr(Qe(),T(e))}function Zr(e){var t=na();return t?t.sanitize(Ur.STYLE,e)||"":mr(e,"Style")?hr(e):T(e)}function $r(e){var t=na();return t?t.sanitize(Ur.URL,e)||"":mr(e,"URL")?hr(e):Or(T(e))}function Xr(e){var t=na();if(t)return or(t.sanitize(Ur.RESOURCE_URL,e)||"");if(mr(e,"ResourceURL"))return or(hr(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Kr(e){var t=na();if(t)return ar(t.sanitize(Ur.SCRIPT,e)||"");if(mr(e,"Script"))return ar(hr(e));throw new Error("unsafe value used in a script context")}function Jr(e){return nr(e[0])}function Qr(e){return function(e){var t;return(null===(t=tr())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function ea(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?Xr:$r}function ta(e,t,n){return ea(t,n)(e)}function na(){var e=bt();return e&&e[12]}function ia(e){return e.ngDebugContext}function ra(e){return e.ngOriginalError}function aa(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];e.error.apply(e,n)}var oa=function(){function e(){Object(h.a)(this,e),this._console=console}return Object(p.a)(e,[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),i=function(e){return e.ngErrorLogger||aa}(e);i(this._console,"ERROR",e),t&&i(this._console,"ORIGINAL ERROR",t),n&&i(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?ia(e)?ia(e):this._findContext(ra(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=ra(e);t&&ra(t);)t=ra(t);return t}}]),e}(),sa={name:"custom-elements"},la={name:"no-errors-schema"},ca=/^>|^->|<!--|-->|--!>|<!-$/g,da=/(<|>)/;function ua(e){return e.replace(ca,function(e){return e.replace(da,"\u200b$1\u200b")})}function pa(e){var t;return t=e.replace(/[$@]/g,"_"),e=t.replace(ha,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"-"+t[1].toLowerCase()}),"ng-reflect-".concat(e)}var ha=/([A-Z])/g;function ma(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function ga(e){var t,n=lt(e);if(n){if(Array.isArray(n)){var i,r=n,a=void 0,o=void 0;if((t=e)&&t.constructor&&t.constructor.\u0275cmp){if(-1==(i=_a(r,e)))throw new Error("The provided component was not found in the application");a=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(-1==(i=function(e,t){for(var n=e[1].firstChild;n;){for(var i=n.directiveEnd,r=n.directiveStart;r<i;r++)if(e[r]===t)return n.index;n=xa(n)}return-1}(r,e)))throw new Error("The provided directive was not found in the application");o=wa(i,r,!1)}else if(-1==(i=ba(r,e)))return null;var s=nt(r[i]),l=lt(s),c=l&&!Array.isArray(l)?l:fa(r,i,s);if(a&&void 0===c.component&&(c.component=a,ya(c.component,c)),o&&void 0===c.directives){c.directives=o;for(var d=0;d<o.length;d++)ya(o[d],c)}ya(c.native,c),n=c}}else for(var u=e,p=u;p=p.parentNode;){var h=lt(p);if(h){var m;if(!(m=Array.isArray(h)?h:h.lView))return null;var g=ba(m,u);if(g>=0){var f=nt(m[g]),v=fa(m,g,f);ya(f,v),n=v;break}}}return n||null}function fa(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function va(e){var t,n=lt(e);if(Array.isArray(n)){var i=_a(n,e),r=fa(n,i,(t=st(i,n))[0]);r.component=e,ya(e,r),ya(r.native,r)}else t=st(n.nodeIndex,n.lView);return t}function ya(e,t){e.__ngContext__=t}function ba(e,t){for(var n=e[1],i=Te;i<n.bindingStartIndex;i++)if(nt(e[i])===t)return i;return-1}function xa(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function _a(e,t){var n=e[1].components;if(n)for(var i=0;i<n.length;i++){var r=n[i];if(st(r,e)[8]===t)return r}else if(st(Te,e)[8]===t)return Te;return-1}function wa(e,t,n){var i=t[1].data[e],r=i.directiveStart;return 0==r?le:(!n&&2&i.flags&&r++,t.slice(r,i.directiveEnd))}var Sa=function(){return("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ae)}();function Ca(e){return{name:"window",target:e.ownerDocument.defaultView}}function ka(e){return{name:"document",target:e.ownerDocument}}function Oa(e){return{name:"body",target:e.ownerDocument.body}}function Ea(e){return e instanceof Function?e():e}var Ma,Ia=function(e){return e[e.Important=1]="Important",e[e.DashCase=2]="DashCase",e}({});function Pa(e,t){return Ma(e,t)}function Ta(e){var t=e[3];return Re(t)?t[3]:t}function Da(e){return function(e){for(var t=Le(e)?e:ct(e);t&&!(512&t[2]);)t=Ta(t);return t}(e)[8]}function La(e){return ja(e[13])}function Ra(e){return ja(e[4])}function ja(e){for(;null!==e&&!Re(e);)e=e[4];return e}function Aa(e,t,n,i,r){if(null!=i){var a,o=!1;Re(i)?a=i:Le(i)&&(o=!0,i=i[0]);var s=nt(i);0===e&&null!==n?null==r?Za(t,n,s):qa(t,n,s,r||null,!0):1===e&&null!==n?qa(t,n,s,r||null,!0):2===e?oo(t,s,o):3===e&&t.destroyNode(s),null!=a&&function(e,t,n,i,r){var a=n[7];a!==nt(n)&&Aa(t,e,i,a,r);for(var o=De;o<n.length;o++){var s=n[o];lo(s[1],s,e,t,i,a)}}(t,e,a,n,r)}}function Fa(e,t){return et(e)?e.createText(t):e.createTextNode(t)}function Ba(e,t,n){et(e)?e.setValue(t,n):t.textContent=n}function za(e,t){return e.createComment(ua(t))}function Na(e,t,n){return et(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function Ha(e,t){var n=e[9],i=n.indexOf(t),r=t[3];1024&t[2]&&(t[2]&=-1025,mt(r,-1)),n.splice(i,1)}function Va(e,t){if(!(e.length<=De)){var n,i=De+t,r=e[i];if(r){var a=r[17];null!==a&&a!==e&&Ha(a,r),t>0&&(e[i-1][4]=r[4]);var o=pi(e,De+t);lo(r[1],n=r,n[11],2,null,null),n[0]=null,n[6]=null;var s=o[19];null!==s&&s.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Ya(e,t){if(!(256&t[2])){var n=t[11];et(n)&&n.destroyNode&&lo(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Wa(e[1],e);for(;t;){var n=null;if(Le(t))n=t[13];else{var i=t[10];i&&(n=i)}if(!n){for(;t&&!t[4]&&t!==e;)Le(t)&&Wa(t[1],t),t=t[3];null===t&&(t=e),Le(t)&&Wa(t[1],t),n=t&&t[4]}t=n}}(t)}}function Wa(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var i=0;i<n.length;i+=2){var r=t[n[i]];if(!(r instanceof cn)){var a=n[i+1];if(Array.isArray(a))for(var o=0;o<a.length;o+=2){var s=r[a[o]],l=a[o+1];Ze(4,s,l);try{l.call(s)}finally{Ze(5,s,l)}}else{Ze(4,r,a);try{a.call(r)}finally{Ze(5,r,a)}}}}}(e,t),function(e,t){var n=e.cleanup,i=t[7],r=-1;if(null!==n)for(var a=0;a<n.length-1;a+=2)if("string"==typeof n[a]){var o=n[a+1],s="function"==typeof o?o(t):nt(t[o]),l=i[r=n[a+2]],c=n[a+3];"boolean"==typeof c?s.removeEventListener(n[a],l,c):c>=0?i[r=c]():i[r=-c].unsubscribe(),a+=2}else{var d=i[r=n[a+1]];n[a].call(d)}if(null!==i){for(var u=r+1;u<i.length;u++)(0,i[u])();t[7]=null}}(e,t),1===t[1].type&&et(t[11])&&t[11].destroy();var n=t[17];if(null!==n&&Re(t[3])){n!==t[3]&&Ha(n,t);var i=t[19];null!==i&&i.detachView(e)}}}function Ga(e,t,n){return Ua(e,t.parent,n)}function Ua(e,t,n){for(var i=t;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[0];if(2&i.flags){var r=e.data[i.directiveStart].encapsulation;if(r===ee.None||r===ee.Emulated)return null}return rt(i,n)}function qa(e,t,n,i,r){et(e)?e.insertBefore(t,n,i,r):t.insertBefore(n,i,r)}function Za(e,t,n){et(e)?e.appendChild(t,n):t.appendChild(n)}function $a(e,t,n,i,r){null!==i?qa(e,t,n,i,r):Za(e,t,n)}function Xa(e,t){return et(e)?e.parentNode(t):t.parentNode}function Ka(e,t,n){return eo(e,t,n)}function Ja(e,t,n){return 40&e.type?rt(e,n):null}var Qa,eo=Ja;function to(e,t){eo=e,Qa=t}function no(e,t,n,i){var r=Ga(e,i,t),a=t[11],o=Ka(i.parent||t[6],i,t);if(null!=r)if(Array.isArray(n))for(var s=0;s<n.length;s++)$a(a,r,n[s],o,!1);else $a(a,r,n,o,!1);void 0!==Qa&&Qa(a,i,t,n,r)}function io(e,t){if(null!==t){var n=t.type;if(3&n)return rt(t,e);if(4&n)return ao(-1,e[t.index]);if(8&n){var i=t.child;if(null!==i)return io(e,i);var r=e[t.index];return Re(r)?ao(-1,r):nt(r)}if(32&n)return Pa(t,e)()||nt(e[t.index]);var a=ro(e,t);return null!==a?Array.isArray(a)?a[0]:io(Ta(e[16]),a):io(e,t.next)}return null}function ro(e,t){return null!==t?e[16][6].projection[t.projection]:null}function ao(e,t){var n=De+e+1;if(n<t.length){var i=t[n],r=i[1].firstChild;if(null!==r)return io(i,r)}return t[7]}function oo(e,t,n){var i=Xa(e,t);i&&function(e,t,n,i){et(e)?e.removeChild(t,n,i):t.removeChild(n)}(e,i,t,n)}function so(e,t,n,i,r,a,o){for(;null!=n;){var s=i[n.index],l=n.type;if(o&&0===t&&(s&&ya(nt(s),i),n.flags|=4),64!=(64&n.flags))if(8&l)so(e,t,n.child,i,r,a,!1),Aa(t,e,r,s,a);else if(32&l){for(var c=Pa(n,i),d=void 0;d=c();)Aa(t,e,r,d,a);Aa(t,e,r,s,a)}else 16&l?uo(e,t,i,n,r,a):Aa(t,e,r,s,a);n=o?n.projectionNext:n.next}}function lo(e,t,n,i,r,a){so(n,i,e.firstChild,t,r,a,!1)}function co(e,t,n){uo(t[11],0,t,n,Ga(e,n,t),Ka(n.parent||t[6],n,t))}function uo(e,t,n,i,r,a){var o=n[16],s=o[6].projection[i.projection];if(Array.isArray(s))for(var l=0;l<s.length;l++)Aa(t,e,r,s[l],a);else so(e,t,s,o[3],r,a,!0)}function po(e,t,n){et(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function ho(e,t,n){et(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function mo(e,t,n){for(var i=e.length;;){var r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){var a=t.length;if(r+a===i||e.charCodeAt(r+a)<=32)return r}n=r+1}}var go="ng-template";function fo(e,t,n){for(var i=0;i<e.length;){var r=e[i++];if(n&&"class"===r){if(-1!==mo((r=e[i]).toLowerCase(),t,0))return!0}else if(1===r){for(;i<e.length&&"string"==typeof(r=e[i++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function vo(e){return 4===e.type&&e.value!==go}function yo(e,t,n){return t===(4!==e.type||n?e.value:go)}function bo(e,t,n){for(var i=4,r=e.attrs||[],a=function(e){for(var t=0;t<e.length;t++)if(un(e[t]))return t;return e.length}(r),o=!1,s=0;s<t.length;s++){var l=t[s];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!yo(e,l,n)||""===l&&1===t.length){if(xo(i))return!1;o=!0}}else{var c=8&i?l:t[++s];if(8&i&&null!==e.attrs){if(!fo(e.attrs,c,n)){if(xo(i))return!1;o=!0}continue}var d=_o(8&i?"class":l,r,vo(e),n);if(-1===d){if(xo(i))return!1;o=!0;continue}if(""!==c){var u;u=d>a?"":r[d+1].toLowerCase();var p=8&i?u:null;if(p&&-1!==mo(p,c,0)||2&i&&c!==u){if(xo(i))return!1;o=!0}}}}else{if(!o&&!xo(i)&&!xo(l))return!1;if(o&&xo(l))continue;o=!1,i=l|1&i}}return xo(i)||o}function xo(e){return 0==(1&e)}function _o(e,t,n,i){if(null===t)return-1;var r=0;if(i||!n){for(var a=!1;r<t.length;){var o=t[r];if(o===e)return r;if(3===o||6===o)a=!0;else{if(1===o||2===o){for(var s=t[++r];"string"==typeof s;)s=t[++r];continue}if(4===o)break;if(0===o){r+=4;continue}}r+=a?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function wo(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=0;i<t.length;i++)if(bo(e,t[i],n))return!0;return!1}function So(e,t){e:for(var n=0;n<t.length;n++){var i=t[n];if(e.length===i.length){for(var r=0;r<e.length;r++)if(e[r]!==i[r])continue e;return!0}}return!1}function Co(e,t){return e?":not("+t.trim()+")":t}function ko(e){for(var t=e[0],n=1,i=2,r="",a=!1;n<e.length;){var o=e[n];if("string"==typeof o)if(2&i){var s=e[++n];r+="["+o+(s.length>0?'="'+s+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||xo(o)||(t+=Co(a,r),r=""),i=o,a=a||!xo(i);n++}return""!==r&&(t+=Co(a,r)),t}var Oo={};function Eo(e){Mo(xt(),bt(),$t()+e,Mt())}function Mo(e,t,n,i){if(!i)if(3==(3&t[2])){var r=e.preOrderCheckHooks;null!==r&&nn(t,r,n)}else{var a=e.preOrderHooks;null!==a&&rn(t,a,0,n)}Xt(n)}function Io(e,t){return e<<17|t<<2}function Po(e){return e>>17&32767}function To(e){return 2|e}function Do(e){return(131068&e)>>2}function Lo(e,t){return-131069&e|t<<2}function Ro(e){return 1|e}var jo=function(){return Promise.resolve(null)}();function Ao(e,t){var n=e.contentQueries;if(null!==n)for(var i=0;i<n.length;i+=2){var r=n[i+1];if(-1!==r){var a=e.data[r];zt(n[i]),a.contentQueries(2,t[r],r)}}}function Fo(e,t,n,i,r,a,o,s,l,c){var d=t.blueprint.slice();return d[0]=r,d[2]=140|i,ht(d),d[3]=d[15]=e,d[8]=n,d[10]=o||e&&e[10],d[11]=s||e&&e[11],d[12]=l||e&&e[12]||null,d[9]=c||e&&e[9]||null,d[6]=a,d[16]=2==t.type?e[16]:d,d}function Bo(e,t,n,i,r){var a=e.data[t];if(null===a)a=zo(e,t,n,i,r),gt.lFrame.inI18n&&(a.flags|=64);else if(64&a.type){a.type=n,a.value=i,a.attrs=r;var o=Ct();a.injectorIndex=null===o?-1:o.injectorIndex}return kt(a,!0),a}function zo(e,t,n,i,r){var a=St(),o=Ot(),s=e.data[t]=function(e,t,n,i,r,a){return{type:n,index:i,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:r,attrs:a,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,o?a:a&&a.parent,n,t,i,r);return null===e.firstChild&&(e.firstChild=s),null!==a&&(o?null==a.child&&null!==s.parent&&(a.child=s):null===a.next&&(a.next=s)),s}function No(e,t,n,i){if(0===n)return-1;for(var r=t.length,a=0;a<n;a++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function Ho(e,t,n){Vt(t);try{var i=e.viewQuery;null!==i&&_s(1,i,n);var r=e.template;null!==r&&Wo(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ao(e,t),e.staticViewQueries&&_s(2,e.viewQuery,n);var a=e.components;null!==a&&function(e,t){for(var n=0;n<t.length;n++)gs(e,t[n])}(t,a)}catch(o){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),o}finally{t[2]&=-5,qt()}}function Vo(e,t,n,i){var r=t[2];if(256!=(256&r)){Vt(t);var a=Mt();try{ht(t),Dt(e.bindingStartIndex),null!==n&&Wo(e,t,n,2,i);var o=3==(3&r);if(!a)if(o){var s=e.preOrderCheckHooks;null!==s&&nn(t,s,null)}else{var l=e.preOrderHooks;null!==l&&rn(t,l,0,null),an(t,0)}if(function(e){for(var t=La(e);null!==t;t=Ra(t))if(t[2])for(var n=t[9],i=0;i<n.length;i++){var r=n[i];0==(1024&r[2])&&mt(r[3],1),r[2]|=1024}}(t),function(e){for(var t=La(e);null!==t;t=Ra(t))for(var n=De;n<t.length;n++){var i=t[n],r=i[1];ut(i)&&Vo(r,i,r.template,i[8])}}(t),null!==e.contentQueries&&Ao(e,t),!a)if(o){var c=e.contentCheckHooks;null!==c&&nn(t,c)}else{var d=e.contentHooks;null!==d&&rn(t,d,1),an(t,1)}!function(e,t){var n,i,r=e.hostBindingOpCodes;if(null!==r)try{for(var a=0;a<r.length;a++){var o=r[a];if(o<0)Xt(~o);else{var s=o,l=r[++a],c=r[++a];n=s,i=void 0,(i=gt.lFrame).bindingIndex=i.bindingRootIndex=l,At(n),c(2,t[s])}}}finally{Xt(-1)}}(e,t);var u=e.components;null!==u&&function(e,t){for(var n=0;n<t.length;n++)hs(e,t[n])}(t,u);var p=e.viewQuery;if(null!==p&&_s(2,p,i),!a)if(o){var h=e.viewCheckHooks;null!==h&&nn(t,h)}else{var m=e.viewHooks;null!==m&&rn(t,m,2),an(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),a||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,mt(t[3],-1))}finally{qt()}}}function Yo(e,t,n,i){var r=t[10],a=!Mt(),o=dt(t);try{a&&!o&&r.begin&&r.begin(),o&&Ho(e,t,i),Vo(e,t,n,i)}finally{a&&!o&&r.end&&r.end()}}function Wo(e,t,n,i,r){var a=$t(),o=2&i;try{Xt(-1),o&&t.length>Te&&Mo(e,t,Te,Mt()),Ze(o?2:0,r),n(i,r)}finally{Xt(a),Ze(o?3:1,r)}}function Go(e,t,n){if(je(t))for(var i=t.directiveEnd,r=t.directiveStart;r<i;r++){var a=e.data[r];a.contentQueries&&a.contentQueries(1,n[r],r)}}function Uo(e,t,n){ft()&&(function(e,t,n,i){var r=n.directiveStart,a=n.directiveEnd;e.firstCreatePass||_n(n,t),ya(i,t);for(var o=n.initialInputs,s=r;s<a;s++){var l=e.data[s],c=Be(l);c&&ss(t,n,l);var d=Rn(t,e,s,n);ya(d,t),null!==o&&ds(0,s-r,d,l,0,o),c&&(st(n.index,t)[8]=d)}}(e,t,n,rt(n,t)),128==(128&n.flags)&&function(e,t,n){var i=n.directiveStart,r=n.directiveEnd,a=n.index,o=gt.lFrame.currentDirectiveIndex;try{Xt(a);for(var s=i;s<r;s++){var l=e.data[s],c=t[s];At(s),null===l.hostBindings&&0===l.hostVars&&null===l.hostAttrs||ns(l,c)}}finally{Xt(-1),At(o)}}(e,t,n))}function qo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:rt,i=t.localNames;if(null!==i)for(var r=t.index+1,a=0;a<i.length;a+=2){var o=i[a+1],s=-1===o?n(t,e):e[o];e[r++]=s}}function Zo(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=$o(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function $o(e,t,n,i,r,a,o,s,l,c){var d=Te+i,u=d+r,p=function(e,t){for(var n=[],i=0;i<t;i++)n.push(i<e?null:Oo);return n}(d,u),h="function"==typeof c?c():c;return p[1]={type:e,blueprint:p,template:n,queries:null,viewQuery:s,declTNode:t,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:u,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof a?a():a,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:h,incompleteFirstPass:!1}}function Xo(e,t,n){if(et(e))return e.selectRootElement(t,n===ee.ShadowDom);var i="string"==typeof t?e.querySelector(t):t;return i.textContent="",i}function Ko(e,t,n,i){var r=Ss(t);null===n?r.push(i):(r.push(n),e.firstCreatePass&&Cs(e).push(i,r.length-1))}function Jo(e,t,n){for(var i in e)if(e.hasOwnProperty(i)){var r=e[i];(n=null===n?{}:n).hasOwnProperty(i)?n[i].push(t,r):n[i]=[t,r]}return n}function Qo(e,t,n,i,r,a,o,s){var l,c=rt(t,n),d=t.inputs;!s&&null!=d&&(l=d[i])?(Es(e,n,l,i,r),Ae(t)&&function(e,t){var n=st(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(i=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(i),r=null!=o?o(r,t.value||"",i):r,et(a)?a.setProperty(c,i,r):pn(i)||(c.setProperty?c.setProperty(i,r):c[i]=r))}function es(e,t,n,i){var r=!1;if(ft()){var a=function(e,t,n){var i=e.directiveRegistry,r=null;if(i)for(var a=0;a<i.length;a++){var o=i[a];wo(n,o.selectors,!1)&&(r||(r=[]),kn(_n(n,t),e,o.type),Be(o)?(is(e,n),r.unshift(o)):r.push(o))}return r}(e,t,n),o=null===i?null:{"":-1};if(null!==a){r=!0,as(n,e.data.length,a.length);for(var s=0;s<a.length;s++){var l=a[s];l.providersResolver&&l.providersResolver(l)}for(var c=!1,d=!1,u=No(e,t,a.length,null),p=0;p<a.length;p++){var h=a[p];n.mergedAttrs=hn(n.mergedAttrs,h.hostAttrs),os(e,n,t,u,h),rs(u,h,o),null!==h.contentQueries&&(n.flags|=8),null===h.hostBindings&&null===h.hostAttrs&&0===h.hostVars||(n.flags|=128);var m=h.type.prototype;!c&&(m.ngOnChanges||m.ngOnInit||m.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),c=!0),d||!m.ngOnChanges&&!m.ngDoCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),d=!0),u++}!function(e,t){for(var n=t.directiveEnd,i=e.data,r=t.attrs,a=[],o=null,s=null,l=t.directiveStart;l<n;l++){var c=i[l],d=c.inputs,u=null===r||vo(t)?null:us(d,r);a.push(u),o=Jo(d,l,o),s=Jo(c.outputs,l,s)}null!==o&&(o.hasOwnProperty("class")&&(t.flags|=16),o.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=a,t.inputs=o,t.outputs=s}(e,n)}o&&function(e,t,n){if(t)for(var i=e.localNames=[],r=0;r<t.length;r+=2){var a=n[t[r+1]];if(null==a)throw new P("301","Export of name '".concat(t[r+1],"' not found!"));i.push(t[r],a)}}(n,i,o)}return n.mergedAttrs=hn(n.mergedAttrs,n.attrs),r}function ts(e,t,n,i,r,a){var o=a.hostBindings;if(o){var s=e.hostBindingOpCodes;null===s&&(s=e.hostBindingOpCodes=[]);var l=~t.index;(function(e){for(var t=e.length;t>0;){var n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(s)!=l&&s.push(l),s.push(i,r,o)}}function ns(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function is(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function rs(e,t,n){if(n){if(t.exportAs)for(var i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;Be(t)&&(n[""]=e)}}function as(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function os(e,t,n,i,r){e.data[i]=r;var a=r.factory||(r.factory=ze(r.type)),o=new cn(a,Be(r),null);e.blueprint[i]=o,n[i]=o,ts(e,t,0,i,No(e,n,r.hostVars,Oo),r)}function ss(e,t,n){var i=rt(t,e),r=Zo(n),a=e[10],o=fs(e,Fo(e,r,null,n.onPush?64:16,i,t,a,a.createRenderer(i,n),null,null));e[t.index]=o}function ls(e,t,n,i,r,a){var o=rt(e,t);cs(t[11],o,a,e.value,n,i,r)}function cs(e,t,n,i,r,a,o){if(null==a)et(e)?e.removeAttribute(t,r,n):t.removeAttribute(r);else{var s=null==o?T(a):o(a,i||"",r);et(e)?e.setAttribute(t,r,s,n):n?t.setAttributeNS(n,r,s):t.setAttribute(r,s)}}function ds(e,t,n,i,r,a){var o=a[t];if(null!==o)for(var s=i.setInput,l=0;l<o.length;){var c=o[l++],d=o[l++],u=o[l++];null!==s?i.setInput(n,u,c,d):n[d]=u}}function us(e,t){for(var n=null,i=0;i<t.length;){var r=t[i];if(0!==r)if(5!==r){if("number"==typeof r)break;e.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,e[r],t[i+1])),i+=2}else i+=2;else i+=4}return n}function ps(e,t,n,i){return new Array(e,!0,!1,t,null,0,i,n,null,null)}function hs(e,t){var n=st(t,e);if(ut(n)){var i=n[1];80&n[2]?Vo(i,n,i.template,n[8]):n[5]>0&&ms(n)}}function ms(e){for(var t=La(e);null!==t;t=Ra(t))for(var n=De;n<t.length;n++){var i=t[n];if(1024&i[2]){var r=i[1];Vo(r,i,r.template,i[8])}else i[5]>0&&ms(i)}var a=e[1].components;if(null!==a)for(var o=0;o<a.length;o++){var s=st(a[o],e);ut(s)&&s[5]>0&&ms(s)}}function gs(e,t){var n=st(t,e),i=n[1];!function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n),Ho(i,n,n[8])}function fs(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function vs(e){for(;e;){e[2]|=64;var t=Ta(e);if(0!=(512&e[2])&&!t)return e;e=t}return null}function ys(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],i=ct(n),r=i[1];Yo(r,i,r.template,n)}}function bs(e,t,n){var i=t[10];i.begin&&i.begin();try{Vo(e,t,e.template,n)}catch(r){throw Os(t,r),r}finally{i.end&&i.end()}}function xs(e){ys(e[8])}function _s(e,t,n){zt(0),t(e,n)}var ws=jo;function Ss(e){return e[7]||(e[7]=[])}function Cs(e){return e.cleanup||(e.cleanup=[])}function ks(e,t,n){return(null===e||Be(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function Os(e,t){var n=e[9],i=n?n.get(oa,null):null;i&&i.handleError(t)}function Es(e,t,n,i,r){for(var a=0;a<n.length;){var o=n[a++],s=n[a++],l=t[o],c=e.data[o];null!==c.setInput?c.setInput(l,r,i,s):l[s]=r}}function Ms(e,t,n){var i=it(t,e);Ba(e[11],i,n)}function Is(e,t,n){var i=n?e.styles:null,r=n?e.classes:null,a=0;if(null!==t)for(var o=0;o<t.length;o++){var s=t[o];"number"==typeof s?a=s:1==a?r=k(r,s):2==a&&(i=k(i,s+": "+t[++o]+";"))}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}function Ps(e){var t=va(e);bs(t[1],t,e)}function Ts(e){var t,n,i=vs(va(e));0===(t=i[8]).flags&&t.clean==jo&&(t.flags|=1,t.clean=new Promise(function(e){return n=e}),t.scheduler(function(){if(1&t.flags&&(t.flags&=-2,ys(t)),2&t.flags){t.flags&=-3;var e=t.playerHandler;e&&e.flushPlayers()}t.clean=jo,n(null)}))}var Ds=new Kn("INJECTOR",-1),Ls=function(){function e(){Object(h.a)(this,e)}return Object(p.a)(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ci;if(t===Ci){var n=new Error("NullInjectorError: No provider for ".concat(C(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),Rs=new Kn("Set Injector scope."),js={},As={},Fs=[],Bs=void 0;function zs(){return void 0===Bs&&(Bs=new Ls),Bs}function Ns(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0,r=Hs(e,t,n,i);return r._resolveInjectorDefTypes(),r}function Hs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3?arguments[3]:void 0;return new Vs(e,n,t||zs(),i)}var Vs=function(){function e(t,n,i){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;Object(h.a)(this,e),this.parent=i,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];n&&di(n,function(e){return r.processProvider(e,t,n)}),di([t],function(e){return r.processInjectorType(e,[],o)}),this.records.set(Ds,Gs(void 0,this));var s=this.records.get(Rs);this.scope=null!=s?s.value:null,this.source=a||("object"==typeof t?null:C(t))}return Object(p.a)(e,[{key:"destroyed",get:function(){return this._destroyed}},{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ci,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:U.Default;this.assertNotDestroyed();var i=Ii(this);try{if(!(n&U.SkipSelf)){var r=this.records.get(e);if(void 0===r){var a=Zs(e)&&B(e);r=a&&this.injectableDefInScope(a)?Gs(Ys(e),js):null,this.records.set(e,r)}if(null!=r)return this.hydrate(e,r)}var o=n&U.Self?zs():this.parent;return o.get(e,t=n&U.Optional&&t===Ci?null:t)}catch(l){if("NullInjectorError"===l.name){var s=l.ngTempTokenPath=l.ngTempTokenPath||[];if(s.unshift(C(e)),i)throw l;return Ai(l,e,"R3InjectorError",this.source)}throw l}finally{Ii(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach(function(t){return e.get(t)})}},{key:"toString",value:function(){var e=[];return this.records.forEach(function(t,n){return e.push(C(n))}),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var i=this;if(!(e=M(e)))return!1;var r=N(e),a=null==r&&e.ngModule||void 0,o=void 0===a?e:a,s=-1!==n.indexOf(o);if(void 0!==a&&(r=N(a)),null==r)return!1;if(null!=r.imports&&!s){var l;n.push(o);try{di(r.imports,function(e){i.processInjectorType(e,t,n)&&(void 0===l&&(l=[]),l.push(e))})}finally{}if(void 0!==l)for(var c=function(){var e=l[d],t=e.ngModule,n=e.providers;di(n,function(e){return i.processProvider(e,t,n||Fs)})},d=0;d<l.length;d++)c()}this.injectorDefTypes.add(o);var u=ze(o)||function(){return new o};this.records.set(o,Gs(u,js));var p=r.providers;if(null!=p&&!s){var h=e;di(p,function(e){return i.processProvider(e,h,p)})}return void 0!==a&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var i=qs(e=M(e))?e:M(e&&e.provide),r=function(e,t,n){return Us(e)?Gs(void 0,e.useValue):Gs(Ws(e),js)}(e);if(qs(e)||!0!==e.multi)this.records.get(i);else{var a=this.records.get(i);a||((a=Gs(void 0,js,!0)).factory=function(){return Ri(a.multi)},this.records.set(i,a)),i=e,a.multi.push(e)}this.records.set(i,r)}},{key:"hydrate",value:function(e,t){var n;return t.value===js&&(t.value=As,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}},{key:"injectableDefInScope",value:function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}]),e}();function Ys(e){var t=B(e),n=null!==t?t.factory:ze(e);if(null!==n)return n;if(e instanceof Kn)throw new Error("Token ".concat(C(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=hi(t,"?");throw new Error("Can't resolve all parameters for ".concat(C(e),": (").concat(n.join(", "),")."))}var i=function(e){var t=e&&(e[V]||e[W]);if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\n')+'This will become an error in a future version of Angular. Please add @Injectable() to the "'.concat(n,'" class.')),t}return null}(e);return null!==i?function(){return i.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Ws(e,t,n){var i,r=void 0;if(qs(e)){var a=M(e);return ze(a)||Ys(a)}if(Us(e))r=function(){return M(e.useValue)};else if((i=e)&&i.useFactory)r=function(){return e.useFactory.apply(e,Object(l.a)(Ri(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))r=function(){return Ti(M(e.useExisting))};else{var o=M(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return ze(o)||Ys(o);r=function(){return u(o,Object(l.a)(Ri(e.deps)))}}return r}function Gs(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Us(e){return null!==e&&"object"==typeof e&&Ei in e}function qs(e){return"function"==typeof e}function Zs(e){return"function"==typeof e||"object"==typeof e&&e instanceof Kn}function $s(e,t,n){return Ns({name:n},t,e,n)}var Xs=$s,Ks=function(){var e=function(){function e(){Object(h.a)(this,e)}return Object(p.a)(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?Xs(e,t,""):Xs(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=Ci,e.NULL=new Ls,e.\u0275prov=j({token:e,providedIn:"any",factory:function(){return Ti(Ds)}}),e.__NG_ELEMENT_ID__=-1,e}();function Js(e){ll(e);var t,n,i=rl(e,!1);return null===i?null:(void 0===i.component&&(i.component=2&(n=(t=i.lView)[1].data[i.nodeIndex]).flags?t[n.directiveStart]:null),i.component)}function Qs(e){ll(e);var t=rl(e,!1);return null===t?null:t.lView[8]}function el(e){var t=rl(e,!1);if(null===t)return null;for(var n,i=t.lView;2===i[1].type&&(n=Ta(i));)i=n;return 512&i[2]?null:i[8]}function tl(e){return Object(l.a)(Da(e).components)}function nl(e){var t=rl(e,!1);return null===t?Ks.NULL:new Bn(t.lView[1].data[t.nodeIndex],t.lView)}function il(e){var t=rl(e);return void 0===t.directives&&(t.directives=wa(t.nodeIndex,t.lView,!1)),null===t.directives?[]:Object(l.a)(t.directives)}function rl(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=ga(e);if(!n&&t)throw new Error("Invalid ng target");return n}function al(e){return ga(e).native}function ol(e){ll(e);var t=rl(e,!1);if(null===t)return[];var n=t.lView,i=n[7],r=n[1].cleanup,a=[];if(r&&i)for(var o=0;o<r.length;){var s=r[o++],l=r[o++];if("string"==typeof s){var c=s,d=nt(n[l]),u=i[r[o++]],p=r[o++];e==d&&a.push({element:e,name:c,callback:u,useCapture:"boolean"==typeof p&&p,type:"boolean"==typeof p||p>=0?"dom":"output"})}}return a.sort(sl),a}function sl(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function ll(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function cl(e){Ts(e),tl(e).forEach(function(e){return Ps(e)})}var dl=!1;function ul(){dl||(dl=!0,pl("\u0275setProfiler",qe),pl("getComponent",Js),pl("getContext",Qs),pl("getListeners",ol),pl("getOwningComponent",el),pl("getHostElement",al),pl("getInjector",nl),pl("getRootComponents",tl),pl("getDirectives",il),pl("applyChanges",cl))}function pl(e,t){if(("undefined"==typeof COMPILED||!COMPILED)&&ae){var n=ae.ng;n||(n=ae.ng={}),n[e]=t}}function hl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.rendererFactory||tt,i=t.sanitizer||null,r=Ee(e);r.type!=e&&(r.type=e);var a,o=r.selectors[0][0],s=n.createRenderer(null,null),l=Xo(s,t.host||o,r.encapsulation),c=r.onPush?576:528,d=fl(t.scheduler,t.playerHandler),u=n.createRenderer(l,r),p=$o(0,null,null,1,0,null,null,null,null,null),h=Fo(null,p,d,c,null,null,n,u,null,t.injector||null);Vt(h);try{n.begin&&n.begin();var m=ml(l,r,h,n,u,i);a=gl(m,r,h,d,t.hostFeatures||null),Ho(p,h,null),Vo(p,h,null,null)}finally{qt(),n.end&&n.end()}return a}function ml(e,t,n,i,r,a){var o=n[1];n[20]=e;var s=Bo(o,20,2,"#host",null),l=s.mergedAttrs=t.hostAttrs;null!==l&&(Is(s,l,!0),null!==e&&(dn(r,e,l),null!==s.classes&&ho(r,e,s.classes),null!==s.styles&&po(r,e,s.styles)));var c=i.createRenderer(e,t),d=Fo(n,Zo(t),null,t.onPush?64:16,n[20],s,i,c,a||null,null);return o.firstCreatePass&&(kn(_n(s,n),o,t.type),is(o,s),as(s,n.length,1)),fs(n,d),n[20]=d}function gl(e,t,n,i,r){var a=n[1],o=function(e,t,n){var i=wt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),os(e,i,t,No(e,t,1,null),n));var r=Rn(t,e,i.directiveStart,i);ya(r,t);var a=rt(i,t);return a&&ya(a,t),r}(a,n,t);if(i.components.push(o),e[8]=o,r&&r.forEach(function(e){return e(o,t)}),t.contentQueries){var s=wt();t.contentQueries(1,o,s.directiveStart)}var l=wt();return!a.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Xt(l.index),ts(n[1],l,0,l.directiveStart,l.directiveEnd,t),ns(t,o)),o}function fl(e,t){return{components:[],scheduler:e||Sa,clean:ws,playerHandler:t||null,flags:0}}function vl(e,t){tn(ct(e)[1],wt())}function yl(e){return Da(e).clean}function bl(e){return Object.getPrototypeOf(e.prototype).constructor}function xl(e){for(var t=bl(e.type),n=!0,i=[e];t;){var r=void 0;if(Be(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){i.push(r);var a=e;a.inputs=_l(e.inputs),a.declaredInputs=_l(e.declaredInputs),a.outputs=_l(e.outputs);var o=r.hostBindings;o&&Cl(e,o);var s=r.viewQuery,l=r.contentQueries;if(s&&wl(e,s),l&&Sl(e,l),S(e.inputs,r.inputs),S(e.declaredInputs,r.declaredInputs),S(e.outputs,r.outputs),Be(r)&&r.data.animation){var c=e.data;c.animation=(c.animation||[]).concat(r.data.animation)}}var d=r.features;if(d)for(var u=0;u<d.length;u++){var p=d[u];p&&p.ngInherit&&p(e),p===xl&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){for(var t=0,n=null,i=e.length-1;i>=0;i--){var r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=hn(r.hostAttrs,n=hn(n,r.hostAttrs))}}(i)}function _l(e){return e===oe?{}:e===le?[]:e}function wl(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,i){t(e,i),n(e,i)}:t}function Sl(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,i,r){t(e,i,r),n(e,i,r)}:t}function Cl(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,i){t(e,i),n(e,i)}:t}var kl=["providersResolver"],Ol=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function El(e){var t,n=bl(e.type);t=Be(e)?n.\u0275cmp:n.\u0275dir;var i,r=e,a=Object(s.a)(kl);try{for(a.s();!(i=a.n()).done;){var o=i.value;r[o]=t[o]}}catch(u){a.e(u)}finally{a.f()}if(Be(t)){var l,c=Object(s.a)(Ol);try{for(c.s();!(l=c.n()).done;){var d=l.value;r[d]=t[d]}}catch(u){c.e(u)}finally{c.f()}}}var Ml=null;function Il(){if(!Ml){var e=ae.Symbol;if(e&&e.iterator)Ml=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var i=t[n];"entries"!==i&&"size"!==i&&Map.prototype[i]===Map.prototype.entries&&(Ml=i)}}return Ml}function Pl(e,t){var n=Dl(e),i=Dl(t);return n&&i?function(e,t,n){for(var i=e[Il()](),r=t[Il()]();;){var a=i.next(),o=r.next();if(a.done&&o.done)return!0;if(a.done||o.done)return!1;if(!n(a.value,o.value))return!1}}(e,t,Pl):!(n||!e||"object"!=typeof e&&"function"!=typeof e||i||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}var Tl=function(){function e(t){Object(h.a)(this,e),this.wrapped=t}return Object(p.a)(e,null,[{key:"wrap",value:function(t){return new e(t)}},{key:"unwrap",value:function(t){return e.isWrapped(t)?t.wrapped:t}},{key:"isWrapped",value:function(t){return t instanceof e}}]),e}();function Dl(e){return!!Ll(e)&&(Array.isArray(e)||!(e instanceof Map)&&Il()in e)}function Ll(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Rl(e,t,n){return e[t]=n}function jl(e,t){return e[t]}function Al(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Fl(e,t,n,i){var r=Al(e,t,n);return Al(e,t+1,i)||r}function Bl(e,t,n,i,r){var a=Fl(e,t,n,i);return Al(e,t+2,r)||a}function zl(e,t,n,i,r,a){var o=Fl(e,t,n,i);return Fl(e,t+2,r,a)||o}function Nl(e,t,n,i){var r=bt();return Al(r,Lt(),t)&&(xt(),ls(Kt(),r,e,t,n,i)),Nl}function Hl(e,t){for(var n=!1,i=Tt(),r=1;r<t.length;r+=2)n=Al(e,i++,t[r])||n;if(Dt(i),!n)return Oo;for(var a=t[0],o=1;o<t.length;o+=2)a+=T(t[o])+t[o+1];return a}function Vl(e,t,n,i){return Al(e,Lt(),n)?t+T(n)+i:Oo}function Yl(e,t,n,i,r,a){var o=Fl(e,Tt(),n,r);return Rt(2),o?t+T(n)+i+T(r)+a:Oo}function Wl(e,t,n,i,r,a,o,s){var l=Bl(e,Tt(),n,r,o);return Rt(3),l?t+T(n)+i+T(r)+a+T(o)+s:Oo}function Gl(e,t,n,i,r,a,o,s,l,c){var d=zl(e,Tt(),n,r,o,l);return Rt(4),d?t+T(n)+i+T(r)+a+T(o)+s+T(l)+c:Oo}function Ul(e,t,n,i,r,a,o,s,l,c,d,u){var p=Tt(),h=zl(e,p,n,r,o,l);return h=Al(e,p+4,d)||h,Rt(5),h?t+T(n)+i+T(r)+a+T(o)+s+T(l)+c+T(d)+u:Oo}function ql(e,t,n,i,r,a,o,s,l,c,d,u,p,h){var m=Tt(),g=zl(e,m,n,r,o,l);return g=Fl(e,m+4,d,p)||g,Rt(6),g?t+T(n)+i+T(r)+a+T(o)+s+T(l)+c+T(d)+u+T(p)+h:Oo}function Zl(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g){var f=Tt(),v=zl(e,f,n,r,o,l);return v=Bl(e,f+4,d,p,m)||v,Rt(7),v?t+T(n)+i+T(r)+a+T(o)+s+T(l)+c+T(d)+u+T(p)+h+T(m)+g:Oo}function $l(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f,v){var y=Tt(),b=zl(e,y,n,r,o,l);return b=zl(e,y+4,d,p,m,f)||b,Rt(8),b?t+T(n)+i+T(r)+a+T(o)+s+T(l)+c+T(d)+u+T(p)+h+T(m)+g+T(f)+v:Oo}function Xl(e,t,n,i,r,a){var o=bt(),s=Vl(o,t,n,i);return s!==Oo&&ls(Kt(),o,e,s,r,a),Xl}function Kl(e,t,n,i,r,a,o,s){var l=bt(),c=Yl(l,t,n,i,r,a);return c!==Oo&&ls(Kt(),l,e,c,o,s),Kl}function Jl(e,t,n,i,r,a,o,s,l,c){var d=bt(),u=Wl(d,t,n,i,r,a,o,s);return u!==Oo&&ls(Kt(),d,e,u,l,c),Jl}function Ql(e,t,n,i,r,a,o,s,l,c,d,u){var p=bt(),h=Gl(p,t,n,i,r,a,o,s,l,c);return h!==Oo&&ls(Kt(),p,e,h,d,u),Ql}function ec(e,t,n,i,r,a,o,s,l,c,d,u,p,h){var m=bt(),g=Ul(m,t,n,i,r,a,o,s,l,c,d,u);return g!==Oo&&ls(Kt(),m,e,g,p,h),ec}function tc(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g){var f=bt(),v=ql(f,t,n,i,r,a,o,s,l,c,d,u,p,h);return v!==Oo&&ls(Kt(),f,e,v,m,g),tc}function nc(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f,v){var y=bt(),b=Zl(y,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g);return b!==Oo&&ls(Kt(),y,e,b,f,v),nc}function ic(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f,v,y,b){var x=bt(),_=$l(x,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f,v);return _!==Oo&&ls(Kt(),x,e,_,y,b),ic}function rc(e,t,n,i){var r=bt(),a=Hl(r,t);return a!==Oo&&ls(Kt(),r,e,a,n,i),rc}function ac(e,t,n,i,r,a,o,s){var l=bt(),c=xt(),d=e+Te,u=c.firstCreatePass?function(e,t,n,i,r,a,o,s,l){var c=t.consts,d=Bo(t,e,4,o||null,pt(c,s));es(t,n,d,pt(c,l)),tn(t,d);var u=d.tViews=$o(2,d,i,r,a,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c);return null!==t.queries&&(t.queries.template(t,d),u.queries=t.queries.embeddedTView(d)),d}(d,c,l,t,n,i,r,a,o):c.data[d];kt(u,!1);var p=l[11].createComment("");no(c,l,p,u),ya(p,l),fs(l,l[d]=ps(p,l,p,u)),Fe(u)&&Uo(c,l,u),null!=o&&qo(l,u,s)}function oc(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}function sc(e){return ot(gt.lFrame.contextLView,Te+e)}var lc={"\u0275\u0275defineInjectable":j,"\u0275\u0275defineInjector":F,"\u0275\u0275inject":Ti,"\u0275\u0275invalidFactoryDep":Di},cc=w({provide:String,useValue:w});function dc(e){return void 0!==e.useClass}function uc(e){return void 0!==e.useFactory}function pc(e,t){var n=t||{providedIn:null},i={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn,userDeps:void 0};return(dc(n)||uc(n))&&void 0!==n.deps&&(i.userDeps=Ui(n.deps)),dc(n)?i.useClass=M(n.useClass):function(e){return cc in e}(n)?i.useValue=M(n.useValue):uc(n)?i.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(i.useExisting=M(n.useExisting)),i}var hc=Gn("Injectable",void 0,void 0,void 0,function(e,t){return gc(e,t)}),mc=function(e,t){var n=null,i=null;e.hasOwnProperty(V)||Object.defineProperty(e,V,{get:function(){return null===n&&(n=oi().compileInjectable(lc,"ng:///".concat(e.name,"/\u0275prov.js"),pc(e,t))),n}}),e.hasOwnProperty(me)||Object.defineProperty(e,me,{get:function(){if(null===i){var n=pc(e,t),r=oi();i=r.compileFactory(lc,"ng:///".concat(e.name,"/\u0275fac.js"),{name:n.name,type:n.type,typeArgumentCount:n.typeArgumentCount,deps:Gi(e),injectFn:"inject",target:r.R3FactoryTarget.Injectable})}return i},configurable:!0})},gc=mc;function fc(e){return e.length>1?" ("+function(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return C(e.token)}).join(" -> ")+")":""}function vc(e,t,n,i){var r=[t],a=n(r),o=i?function(e,t){var n="".concat(e," caused by: ").concat(t instanceof Error?t.message:t),i=Error(n);return i.ngOriginalError=t,i}(a,i):Error(a);return o.addKey=yc,o.keys=r,o.injectors=[e],o.constructResolvingMessage=n,o.ngOriginalError=i,o}function yc(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function bc(e,t){for(var n=[],i=0,r=t.length;i<r;i++){var a=t[i];n.push(a&&0!=a.length?a.map(C).join(" "):"?")}return Error("Cannot resolve all parameters for '"+C(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+C(e)+"' is decorated with Injectable.")}var xc=function(){function e(t,n){if(Object(h.a)(this,e),this.token=t,this.id=n,!t)throw new Error("Token must be defined!");this.displayName=C(this.token)}return Object(p.a)(e,null,[{key:"get",value:function(e){return _c.get(M(e))}},{key:"numberOfKeys",get:function(){return _c.numberOfKeys}}]),e}(),_c=new(function(){function e(){Object(h.a)(this,e),this._allKeys=new Map}return Object(p.a)(e,[{key:"get",value:function(e){if(e instanceof xc)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new xc(e,xc.numberOfKeys);return this._allKeys.set(e,t),t}},{key:"numberOfKeys",get:function(){return this._allKeys.size}}]),e}()),wc=new(function(){function e(t){Object(h.a)(this,e),this.reflectionCapabilities=t}return Object(p.a)(e,[{key:"updateCapabilities",value:function(e){this.reflectionCapabilities=e}},{key:"factory",value:function(e){return this.reflectionCapabilities.factory(e)}},{key:"parameters",value:function(e){return this.reflectionCapabilities.parameters(e)}},{key:"annotations",value:function(e){return this.reflectionCapabilities.annotations(e)}},{key:"propMetadata",value:function(e){return this.reflectionCapabilities.propMetadata(e)}},{key:"hasLifecycleHook",value:function(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)}},{key:"getter",value:function(e){return this.reflectionCapabilities.getter(e)}},{key:"setter",value:function(e){return this.reflectionCapabilities.setter(e)}},{key:"method",value:function(e){return this.reflectionCapabilities.method(e)}},{key:"importUri",value:function(e){return this.reflectionCapabilities.importUri(e)}},{key:"resourceUri",value:function(e){return this.reflectionCapabilities.resourceUri(e)}},{key:"resolveIdentifier",value:function(e,t,n,i){return this.reflectionCapabilities.resolveIdentifier(e,t,n,i)}},{key:"resolveEnum",value:function(e,t){return this.reflectionCapabilities.resolveEnum(e,t)}}]),e}())(new _i),Sc=function(){function e(t,n,i){Object(h.a)(this,e),this.key=t,this.optional=n,this.visibility=i}return Object(p.a)(e,null,[{key:"fromKey",value:function(t){return new e(t,!1,null)}}]),e}(),Cc=[],kc=Object(p.a)(function e(t,n,i){Object(h.a)(this,e),this.key=t,this.resolvedFactories=n,this.multiProvider=i,this.resolvedFactory=this.resolvedFactories[0]}),Oc=Object(p.a)(function e(t,n){Object(h.a)(this,e),this.factory=t,this.dependencies=n});function Ec(e){var t,n;if(e.useClass){var i=M(e.useClass);t=wc.factory(i),n=Tc(i)}else e.useExisting?(t=function(e){return e},n=[Sc.fromKey(xc.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){var n=t.map(function(e){return[e]});return t.map(function(t){return Dc(e,t,n)})}return Tc(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=Cc);return new Oc(t,n)}function Mc(e){return new kc(xc.get(e.provide),[Ec(e)],e.multi||!1)}function Ic(e){var t=function(e,t){for(var n=0;n<e.length;n++){var i=e[n],r=t.get(i.key.id);if(r){if(i.multiProvider!==r.multiProvider)throw s=i,Error("Cannot mix multi providers and regular providers, got: ".concat(r," ").concat(s));if(i.multiProvider)for(var a=0;a<i.resolvedFactories.length;a++)r.resolvedFactories.push(i.resolvedFactories[a]);else t.set(i.key.id,i)}else{var o;o=i.multiProvider?new kc(i.key,i.resolvedFactories.slice(),i.multiProvider):i,t.set(i.key.id,o)}}var s;return t}(Pc(e,[]).map(Mc),new Map);return Array.from(t.values())}function Pc(e,t){return e.forEach(function(e){if(e instanceof si)t.push({provide:e,useClass:e});else if(e&&"object"==typeof e&&void 0!==e.provide)t.push(e);else{if(!Array.isArray(e))throw Error("Invalid provider - only instances of Provider and Type are allowed, got: ".concat(e));Pc(e,t)}}),t}function Tc(e){var t=wc.parameters(e);if(!t)return[];if(t.some(function(e){return null==e}))throw bc(e,t);return t.map(function(n){return Dc(e,n,t)})}function Dc(e,t,n){var i=null,r=!1;if(!Array.isArray(t))return Lc(t instanceof Bi?t.token:t,r,null);for(var a=null,o=0;o<t.length;++o){var s=t[o];s instanceof si?i=s:s instanceof Bi?i=s.token:s instanceof zi?r=!0:s instanceof Ni||s instanceof Hi?a=s:s instanceof Kn&&(i=s)}if(null!=(i=M(i)))return Lc(i,r,a);throw bc(e,n)}function Lc(e,t,n){return new Sc(xc.get(e),t,n)}var Rc={},jc=function(){function e(){Object(h.a)(this,e)}return Object(p.a)(e,null,[{key:"resolve",value:function(e){return Ic(e)}},{key:"resolveAndCreate",value:function(t,n){var i=e.resolve(t);return e.fromResolvedProviders(i,n)}},{key:"fromResolvedProviders",value:function(e,t){return new Ac(e,t)}}]),e}(),Ac=function(){var e=function(){function e(t,n){Object(h.a)(this,e),this._constructionCounter=0,this._providers=t,this.parent=n||null;var i=t.length;this.keyIds=[],this.objs=[];for(var r=0;r<i;r++)this.keyIds[r]=t[r].key.id,this.objs[r]=Rc}return Object(p.a)(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ci;return this._getByKey(xc.get(e),null,t)}},{key:"resolveAndCreateChild",value:function(e){var t=jc.resolve(e);return this.createChildFromResolved(t)}},{key:"createChildFromResolved",value:function(t){var n=new e(t);return n.parent=this,n}},{key:"resolveAndInstantiate",value:function(e){return this.instantiateResolved(jc.resolve([e])[0])}},{key:"instantiateResolved",value:function(e){return this._instantiateProvider(e)}},{key:"getProviderAtIndex",value:function(e){if(e<0||e>=this._providers.length)throw function(e){return Error("Index ".concat(e," is out-of-bounds."))}(e);return this._providers[e]}},{key:"_new",value:function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw vc(this,e.key,function(e){return"Cannot instantiate cyclic dependency!".concat(fc(e))});return this._instantiateProvider(e)}},{key:"_getMaxNumberOfObjects",value:function(){return this.objs.length}},{key:"_instantiateProvider",value:function(e){if(e.multiProvider){for(var t=[],n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])}},{key:"_instantiate",value:function(e,t){var n,i,r,a=this,o=t.factory;try{n=t.dependencies.map(function(e){return a._getByReflectiveDependency(e)})}catch(s){throw s.addKey&&s.addKey(this,e.key),s}try{i=o.apply(void 0,Object(l.a)(n))}catch(s){throw vc(this,e.key,function(e){var t=C(e[0].token);return"".concat(r.message,": Error during instantiation of ").concat(t,"!").concat(fc(e),".")},r=s)}return i}},{key:"_getByReflectiveDependency",value:function(e){return this._getByKey(e.key,e.visibility,e.optional?null:Ci)}},{key:"_getByKey",value:function(t,n,i){return t===e.INJECTOR_KEY?this:n instanceof Ni?this._getByKeySelf(t,i):this._getByKeyDefault(t,i,n)}},{key:"_getObjByKeyId",value:function(e){for(var t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===Rc&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return Rc}},{key:"_throwOrNull",value:function(e,t){if(t!==Ci)return t;throw function(e,t){return vc(e,t,function(e){var t=C(e[0].token);return"No provider for ".concat(t,"!").concat(fc(e))})}(this,e)}},{key:"_getByKeySelf",value:function(e,t){var n=this._getObjByKeyId(e.id);return n!==Rc?n:this._throwOrNull(e,t)}},{key:"_getByKeyDefault",value:function(t,n,i){var r;for(r=i instanceof Hi?this.parent:this;r instanceof e;){var a=r,o=a._getObjByKeyId(t.id);if(o!==Rc)return o;r=a.parent}return null!==r?r.get(t.token,n):this._throwOrNull(t,n)}},{key:"displayName",get:function(){var e=function(e,t){for(var n=[],i=0;i<e._providers.length;++i)n[i]=' "'+e.getProviderAtIndex(i).key.displayName+'" ';return n}(this).join(", ");return"ReflectiveInjector(providers: [".concat(e,"])")}},{key:"toString",value:function(){return this.displayName}}]),e}();return e.INJECTOR_KEY=xc.get(Ks),e}();function Fc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:U.Default,n=bt();if(null===n)return Ti(e,t);var i=wt();return In(i,n,M(e),t)}function Bc(){throw new Error("invalid")}function zc(e,t,n){var i=bt();return Al(i,Lt(),t)&&Qo(xt(),Kt(),i,e,t,i[11],n,!1),zc}function Nc(e,t,n,i,r){var a=r?"class":"style";Es(e,n,t.inputs[a],a,i)}function Hc(e,t,n,i){var r=bt(),a=xt(),o=Te+e,s=r[11],l=r[o]=Na(s,t,gt.lFrame.currentNamespace),c=a.firstCreatePass?function(e,t,n,i,r,a,o){var s=t.consts,l=Bo(t,e,2,r,pt(s,a));return es(t,n,l,pt(s,o)),null!==l.attrs&&Is(l,l.attrs,!1),null!==l.mergedAttrs&&Is(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(o,a,r,0,t,n,i):a.data[o];kt(c,!0);var d=c.mergedAttrs;null!==d&&dn(s,l,d);var u=c.classes;null!==u&&ho(s,l,u);var p=c.styles;null!==p&&po(s,l,p),64!=(64&c.flags)&&no(a,r,l,c),0===gt.lFrame.elementDepthCount&&ya(l,r),gt.lFrame.elementDepthCount++,Fe(c)&&(Uo(a,r,c),Go(a,c,r)),null!==i&&qo(r,c)}function Vc(){var e=wt();Ot()?Et():kt(e=e.parent,!1);var t=e;gt.lFrame.elementDepthCount--;var n=xt();n.firstCreatePass&&(tn(n,e),je(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Nc(n,t,bt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Nc(n,t,bt(),t.stylesWithoutHost,!1)}function Yc(e,t,n,i){Hc(e,t,n,i),Vc()}function Wc(e,t,n){var i=bt(),r=xt(),a=e+Te,o=r.firstCreatePass?function(e,t,n,i,r){var a=t.consts,o=pt(a,i),s=Bo(t,e,8,"ng-container",o);return null!==o&&Is(s,o,!0),es(t,n,s,pt(a,r)),null!==t.queries&&t.queries.elementStart(t,s),s}(a,r,i,t,n):r.data[a];kt(o,!0);var s=i[a]=i[11].createComment("");no(r,i,s,o),ya(s,i),Fe(o)&&(Uo(r,i,o),Go(r,o,i)),null!=n&&qo(i,o)}function Gc(){var e=wt(),t=xt();Ot()?Et():kt(e=e.parent,!1),t.firstCreatePass&&(tn(t,e),je(e)&&t.queries.elementEnd(e))}function Uc(e,t,n){Wc(e,t,n),Gc()}function qc(){return bt()}function Zc(e){return!!e&&"function"==typeof e.then}function $c(e){return!!e&&"function"==typeof e.subscribe}var Xc=$c;function Kc(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=bt(),a=xt(),o=wt();return ed(a,r,r[11],o,e,t,n,i),Kc}function Jc(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3?arguments[3]:void 0,r=wt(),a=bt(),o=xt(),s=Ft(o.data),l=ks(s,r,a);return ed(o,a,l,r,e,t,n,i),Jc}function Qc(e,t,n,i){var r=e.cleanup;if(null!=r)for(var a=0;a<r.length-1;a+=2){var o=r[a];if(o===n&&r[a+1]===i){var s=t[7],l=r[a+2];return s.length>l?s[l]:null}"string"==typeof o&&(a+=2)}return null}function ed(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,l=Fe(i),c=e.firstCreatePass,d=c&&Cs(e),u=t[8],p=Ss(t),h=!0;if(3&i.type){var m=rt(i,t),g=s?s(m):oe,f=g.target||m,v=p.length,y=s?function(e){return s(nt(e[i.index])).target}:i.index;if(et(n)){var b=null;if(!s&&l&&(b=Qc(e,t,r,i.index)),null!==b){var x=b.__ngLastListenerFn__||b;x.__ngNextListenerFn__=a,b.__ngLastListenerFn__=a,h=!1}else{a=nd(i,t,u,a,!1);var _=n.listen(g.name||f,r,a);p.push(a,_),d&&d.push(r,y,v,v+1)}}else a=nd(i,t,u,a,!0),f.addEventListener(r,a,o),p.push(a),d&&d.push(r,y,v,o)}else a=nd(i,t,u,a,!1);var w,S=i.outputs;if(h&&null!==S&&(w=S[r])){var C=w.length;if(C)for(var k=0;k<C;k+=2){var O=w[k],E=w[k+1],M=t[O],I=M[E],P=I.subscribe(a),T=p.length;p.push(a,P),d&&d.push(r,i.index,T,-(T+1))}}}function td(e,t,n,i){try{return Ze(6,t,n),!1!==n(i)}catch(r){return Os(e,r),!1}finally{Ze(7,t,n)}}function nd(e,t,n,i,r){return function a(o){if(o===Function)return i;var s=2&e.flags?st(e.index,t):t;0==(32&t[2])&&vs(s);for(var l=td(t,n,i,o),c=a.__ngNextListenerFn__;c;)l=td(t,n,c,o)&&l,c=c.__ngNextListenerFn__;return r&&!1===l&&(o.preventDefault(),o.returnValue=!1),l}}function id(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return Zt(e)}function rd(e,t){for(var n=null,i=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),r=0;r<t.length;r++){var a=t[r];if("*"!==a){if(null===i?wo(e,a,!0):So(i,a))return r}else n=r}return n}function ad(e){var t=bt()[16][6];if(!t.projection)for(var n=t.projection=hi(e?e.length:1,null),i=n.slice(),r=t.child;null!==r;){var a=e?rd(r,e):0;null!==a&&(i[a]?i[a].projectionNext=r:n[a]=r,i[a]=r),r=r.next}}function od(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=bt(),r=xt(),a=Bo(r,Te+e,16,null,n||null);null===a.projection&&(a.projection=t),Et(),64!=(64&a.flags)&&co(r,i,a)}function sd(e,t,n){return ld(e,"",t,"",n),sd}function ld(e,t,n,i,r){var a=bt(),o=Vl(a,t,n,i);return o!==Oo&&Qo(xt(),Kt(),a,e,o,a[11],r,!1),ld}function cd(e,t,n,i,r,a,o){var s=bt(),l=Yl(s,t,n,i,r,a);return l!==Oo&&Qo(xt(),Kt(),s,e,l,s[11],o,!1),cd}function dd(e,t,n,i,r,a,o,s,l){var c=bt(),d=Wl(c,t,n,i,r,a,o,s);return d!==Oo&&Qo(xt(),Kt(),c,e,d,c[11],l,!1),dd}function ud(e,t,n,i,r,a,o,s,l,c,d){var u=bt(),p=Gl(u,t,n,i,r,a,o,s,l,c);return p!==Oo&&Qo(xt(),Kt(),u,e,p,u[11],d,!1),ud}function pd(e,t,n,i,r,a,o,s,l,c,d,u,p){var h=bt(),m=Ul(h,t,n,i,r,a,o,s,l,c,d,u);return m!==Oo&&Qo(xt(),Kt(),h,e,m,h[11],p,!1),pd}function hd(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m){var g=bt(),f=ql(g,t,n,i,r,a,o,s,l,c,d,u,p,h);return f!==Oo&&Qo(xt(),Kt(),g,e,f,g[11],m,!1),hd}function md(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f){var v=bt(),y=Zl(v,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g);return y!==Oo&&Qo(xt(),Kt(),v,e,y,v[11],f,!1),md}function gd(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f,v,y){var b=bt(),x=$l(b,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f,v);return x!==Oo&&Qo(xt(),Kt(),b,e,x,b[11],y,!1),gd}function fd(e,t,n){var i=bt(),r=Hl(i,t);return r!==Oo&&Qo(xt(),Kt(),i,e,r,i[11],n,!1),fd}function vd(e,t,n,i,r){for(var a=e[n+1],o=null===t,s=i?Po(a):Do(a),l=!1;0!==s&&(!1===l||o);){var c=e[s+1];yd(e[s],t)&&(l=!0,e[s+1]=i?Ro(c):To(c)),s=i?Po(c):Do(c)}l&&(e[n+1]=i?To(a):Ro(a))}function yd(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&fi(e,t)>=0}var bd={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function xd(e){return e.substring(bd.key,bd.keyEnd)}function _d(e){return e.substring(bd.value,bd.valueEnd)}function wd(e,t){var n=bd.textEnd;return n===t?-1:(t=bd.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,bd.key=t,n),kd(e,t,n))}function Sd(e,t){var n=bd.textEnd,i=bd.key=kd(e,t,n);return n===i?-1:(i=bd.keyEnd=function(e,t,n){for(var i;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=Od(e,i,n),i=bd.value=kd(e,i,n),i=bd.valueEnd=function(e,t,n){for(var i=-1,r=-1,a=-1,o=t,s=o;o<n;){var l=e.charCodeAt(o++);if(59===l)return s;34===l||39===l?s=o=Ed(e,l,o,n):t===o-4&&85===a&&82===r&&76===i&&40===l?s=o=Ed(e,41,o,n):l>32&&(s=o),a=r,r=i,i=-33&l}return s}(e,i,n),Od(e,i,n))}function Cd(e){bd.key=0,bd.keyEnd=0,bd.value=0,bd.valueEnd=0,bd.textEnd=e.length}function kd(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Od(e,t,n,i){return(t=kd(e,t,n))<n&&t++,t}function Ed(e,t,n,i){for(var r=-1,a=n;a<i;){var o=e.charCodeAt(a++);if(o==t&&92!==r)return a;r=92==o&&92===r?0:o}throw new Error}function Md(e,t,n){return Rd(e,t,n,!1),Md}function Id(e,t){return Rd(e,t,null,!0),Id}function Pd(e){jd(Nd,Td,e,!1)}function Td(e,t){for(var n=function(e){return Cd(e),Sd(e,kd(e,0,bd.textEnd))}(t);n>=0;n=Sd(t,n))Nd(e,xd(t),_d(t))}function Dd(e){jd(mi,Ld,e,!0)}function Ld(e,t){for(var n=function(e){return Cd(e),wd(e,kd(e,0,bd.textEnd))}(t);n>=0;n=wd(t,n))mi(e,xd(t),!0)}function Rd(e,t,n,i){var r=bt(),a=xt(),o=Rt(2);a.firstUpdatePass&&Fd(a,e,o,i),t!==Oo&&Al(r,o,t)&&Hd(a,a.data[$t()],r,r[11],e,r[o+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=C(hr(e)))),e}(t,n),i,o)}function jd(e,t,n,i){var r=xt(),a=Rt(2);r.firstUpdatePass&&Fd(r,null,a,i);var o=bt();if(n!==Oo&&Al(o,a,n)){var s=r.data[$t()];if(Wd(s,i)&&!Ad(r,a)){var l=i?s.classesWithoutHost:s.stylesWithoutHost;null!==l&&(n=k(l,n||"")),Nc(r,s,o,n,i)}else!function(e,t,n,i,r,a,o,s){r===Oo&&(r=se);for(var l=0,c=0,d=0<r.length?r[0]:null,u=0<a.length?a[0]:null;null!==d||null!==u;){var p=l<r.length?r[l+1]:void 0,h=c<a.length?a[c+1]:void 0,m=null,g=void 0;d===u?(l+=2,c+=2,p!==h&&(m=u,g=h)):null===u||null!==d&&d<u?(l+=2,m=d):(c+=2,m=u,g=h),null!==m&&Hd(e,t,n,i,m,g,o,s),d=l<r.length?r[l]:null,u=c<a.length?a[c]:null}}(r,s,o,o[11],o[a+1],o[a+1]=function(e,t,n){if(null==n||""===n)return se;var i=[],r=hr(n);if(Array.isArray(r))for(var a=0;a<r.length;a++)e(i,r[a],!0);else if("object"==typeof r)for(var o in r)r.hasOwnProperty(o)&&e(i,o,r[o]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,a)}}function Ad(e,t){return t>=e.expandoStartIndex}function Fd(e,t,n,i){var r=e.data;if(null===r[n+1]){var a=r[$t()],o=Ad(e,n);Wd(a,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){var r=Ft(e),a=i?t.residualClasses:t.residualStyles;if(null===r)0===(i?t.classBindings:t.styleBindings)&&(n=zd(n=Bd(null,e,t,n,i),t.attrs,i),a=null);else{var o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=Bd(r,e,t,n,i),null===a){var s=function(e,t,n){var i=n?t.classBindings:t.styleBindings;if(0!==Do(i))return e[Po(i)]}(e,t,i);void 0!==s&&Array.isArray(s)&&function(e,t,n,i){e[Po(n?t.classBindings:t.styleBindings)]=i}(e,t,i,s=zd(s=Bd(null,e,t,s[1],i),t.attrs,i))}else a=function(e,t,n){for(var i=void 0,r=t.directiveEnd,a=1+t.directiveStylingLast;a<r;a++)i=zd(i,e[a].hostAttrs,n);return zd(i,t.attrs,n)}(e,t,i)}return void 0!==a&&(i?t.residualClasses=a:t.residualStyles=a),n}(r,a,t,i),function(e,t,n,i,r,a){var o=a?t.classBindings:t.styleBindings,s=Po(o),l=Do(o);e[i]=n;var c,d=!1;if(Array.isArray(n)?(null===(c=n[1])||fi(n,c)>0)&&(d=!0):c=n,r)if(0!==l){var u=Po(e[s+1]);e[i+1]=Io(u,s),0!==u&&(e[u+1]=Lo(e[u+1],i)),e[s+1]=131071&e[s+1]|i<<17}else e[i+1]=Io(s,0),0!==s&&(e[s+1]=Lo(e[s+1],i)),s=i;else e[i+1]=Io(l,0),0===s?s=i:e[l+1]=Lo(e[l+1],i),l=i;d&&(e[i+1]=To(e[i+1])),vd(e,c,i,!0),vd(e,c,i,!1),function(e,t,n,i,r){var a=r?e.residualClasses:e.residualStyles;null!=a&&"string"==typeof t&&fi(a,t)>=0&&(n[i+1]=Ro(n[i+1]))}(t,c,e,i,a),o=Io(s,l),a?t.classBindings=o:t.styleBindings=o}(r,a,t,n,o,i)}}function Bd(e,t,n,i,r){var a=null,o=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<o&&(i=zd(i,(a=t[s]).hostAttrs,r),a!==e);)s++;return null!==e&&(n.directiveStylingLast=s),i}function zd(e,t,n){var i=n?1:2,r=-1;if(null!==t)for(var a=0;a<t.length;a++){var o=t[a];"number"==typeof o?r=o:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),mi(e,o,!!n||t[++a]))}return void 0===e?null:e}function Nd(e,t,n){mi(e,t,hr(n))}function Hd(e,t,n,i,r,a,o,s){if(3&t.type){var l=e.data,c=l[s+1];Yd(1==(1&c)?Vd(l,t,n,r,Do(c),o):void 0)||(Yd(a)||2==(2&c)&&(a=Vd(l,null,n,r,s,o)),function(e,t,n,i,r){var a=et(e);if(t)r?a?e.addClass(n,i):n.classList.add(i):a?e.removeClass(n,i):n.classList.remove(i);else{var o=-1===i.indexOf("-")?void 0:Ia.DashCase;if(null==r)a?e.removeStyle(n,i,o):n.style.removeProperty(i);else{var s="string"==typeof r&&r.endsWith("!important");s&&(r=r.slice(0,-10),o|=Ia.Important),a?e.setStyle(n,i,r,o):n.style.setProperty(i,r,s?"important":"")}}}(i,o,it($t(),n),r,a))}}function Vd(e,t,n,i,r,a){for(var o=null===t,s=void 0;r>0;){var l=e[r],c=Array.isArray(l),d=c?l[1]:l,u=null===d,p=n[r+1];p===Oo&&(p=u?se:void 0);var h=u?gi(p,i):d===i?p:void 0;if(c&&!Yd(h)&&(h=gi(l,i)),Yd(h)&&(s=h,o))return s;var m=e[r+1];r=o?Po(m):Do(m)}if(null!==t){var g=a?t.residualClasses:t.residualStyles;null!=g&&(s=gi(g,i))}return s}function Yd(e){return void 0!==e}function Wd(e,t){return 0!=(e.flags&(t?16:32))}function Gd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=bt(),i=xt(),r=e+Te,a=i.firstCreatePass?Bo(i,r,1,t,null):i.data[r],o=n[r]=Fa(n[11],t);no(i,n,o,a),kt(a,!1)}function Ud(e){return qd("",e,""),Ud}function qd(e,t,n){var i=bt(),r=Vl(i,e,t,n);return r!==Oo&&Ms(i,$t(),r),qd}function Zd(e,t,n,i,r){var a=bt(),o=Yl(a,e,t,n,i,r);return o!==Oo&&Ms(a,$t(),o),Zd}function $d(e,t,n,i,r,a,o){var s=bt(),l=Wl(s,e,t,n,i,r,a,o);return l!==Oo&&Ms(s,$t(),l),$d}function Xd(e,t,n,i,r,a,o,s,l){var c=bt(),d=Gl(c,e,t,n,i,r,a,o,s,l);return d!==Oo&&Ms(c,$t(),d),Xd}function Kd(e,t,n,i,r,a,o,s,l,c,d){var u=bt(),p=Ul(u,e,t,n,i,r,a,o,s,l,c,d);return p!==Oo&&Ms(u,$t(),p),Kd}function Jd(e,t,n,i,r,a,o,s,l,c,d,u,p){var h=bt(),m=ql(h,e,t,n,i,r,a,o,s,l,c,d,u,p);return m!==Oo&&Ms(h,$t(),m),Jd}function Qd(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m){var g=bt(),f=Zl(g,e,t,n,i,r,a,o,s,l,c,d,u,p,h,m);return f!==Oo&&Ms(g,$t(),f),Qd}function eu(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f){var v=bt(),y=$l(v,e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f);return y!==Oo&&Ms(v,$t(),y),eu}function tu(e){var t=bt(),n=Hl(t,e);return n!==Oo&&Ms(t,$t(),n),tu}function nu(e,t,n){jd(mi,Ld,Vl(bt(),e,t,n),!0)}function iu(e,t,n,i,r){jd(mi,Ld,Yl(bt(),e,t,n,i,r),!0)}function ru(e,t,n,i,r,a,o){jd(mi,Ld,Wl(bt(),e,t,n,i,r,a,o),!0)}function au(e,t,n,i,r,a,o,s,l){jd(mi,Ld,Gl(bt(),e,t,n,i,r,a,o,s,l),!0)}function ou(e,t,n,i,r,a,o,s,l,c,d){jd(mi,Ld,Ul(bt(),e,t,n,i,r,a,o,s,l,c,d),!0)}function su(e,t,n,i,r,a,o,s,l,c,d,u,p){jd(mi,Ld,ql(bt(),e,t,n,i,r,a,o,s,l,c,d,u,p),!0)}function lu(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m){jd(mi,Ld,Zl(bt(),e,t,n,i,r,a,o,s,l,c,d,u,p,h,m),!0)}function cu(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f){jd(mi,Ld,$l(bt(),e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f),!0)}function du(e){jd(mi,Ld,Hl(bt(),e),!0)}function uu(e,t,n){Pd(Vl(bt(),e,t,n))}function pu(e,t,n,i,r){Pd(Yl(bt(),e,t,n,i,r))}function hu(e,t,n,i,r,a,o){Pd(Wl(bt(),e,t,n,i,r,a,o))}function mu(e,t,n,i,r,a,o,s,l){Pd(Gl(bt(),e,t,n,i,r,a,o,s,l))}function gu(e,t,n,i,r,a,o,s,l,c,d){Pd(Ul(bt(),e,t,n,i,r,a,o,s,l,c,d))}function fu(e,t,n,i,r,a,o,s,l,c,d,u,p){Pd(ql(bt(),e,t,n,i,r,a,o,s,l,c,d,u,p))}function vu(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m){Pd(Zl(bt(),e,t,n,i,r,a,o,s,l,c,d,u,p,h,m))}function yu(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f){Pd($l(bt(),e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f))}function bu(e){Pd(Hl(bt(),e))}function xu(e,t,n,i,r){return Rd(e,Vl(bt(),t,n,i),r,!1),xu}function _u(e,t,n,i,r,a,o){return Rd(e,Yl(bt(),t,n,i,r,a),o,!1),_u}function wu(e,t,n,i,r,a,o,s,l){return Rd(e,Wl(bt(),t,n,i,r,a,o,s),l,!1),wu}function Su(e,t,n,i,r,a,o,s,l,c,d){return Rd(e,Gl(bt(),t,n,i,r,a,o,s,l,c),d,!1),Su}function Cu(e,t,n,i,r,a,o,s,l,c,d,u,p){return Rd(e,Ul(bt(),t,n,i,r,a,o,s,l,c,d,u),p,!1),Cu}function ku(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m){return Rd(e,ql(bt(),t,n,i,r,a,o,s,l,c,d,u,p,h),m,!1),ku}function Ou(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f){return Rd(e,Zl(bt(),t,n,i,r,a,o,s,l,c,d,u,p,h,m,g),f,!1),Ou}function Eu(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f,v,y){return Rd(e,$l(bt(),t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f,v),y,!1),Eu}function Mu(e,t,n){return Rd(e,Hl(bt(),t),n,!1),Mu}function Iu(e,t,n){var i=bt();return Al(i,Lt(),t)&&Qo(xt(),Kt(),i,e,t,i[11],n,!0),Iu}function Pu(e,t,n){var i=bt();if(Al(i,Lt(),t)){var r=xt(),a=Kt();Qo(r,a,i,e,t,ks(Ft(r.data),a,i),n,!0)}return Pu}var Tu=void 0,Du=["en",[["a","p"],["AM","PM"],Tu],[["AM","PM"],Tu,Tu],[["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"]],Tu,[["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"]],Tu,[["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}",Tu,"{1} 'at' {0}",Tu],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Lu={};function Ru(e,t,n){"string"!=typeof t&&(n=t,t=e[Nu.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Lu[t]=e,n&&(Lu[t][Nu.ExtraData]=n)}function ju(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=Bu(t);if(n)return n;var i=t.split("-")[0];if(n=Bu(i))return n;if("en"===i)return Du;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function Au(e){return ju(e)[Nu.CurrencyCode]||null}function Fu(e){return ju(e)[Nu.PluralCase]}function Bu(e){return e in Lu||(Lu[e]=ae.ng&&ae.ng.common&&ae.ng.common.locales&&ae.ng.common.locales[e]),Lu[e]}function zu(){Lu={}}var Nu=function(e){return e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData",e}({}),Hu=["zero","one","two","few","many"],Vu="en-US",Yu="USD",Wu={marker:"element"},Gu={marker:"ICU"},Uu=function(e){return e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT",e}({}),qu=Vu;function Zu(e){var t;null==(t=e)&&R("Expected localeId to be defined",t,null,"!="),"string"==typeof e&&(qu=e.toLowerCase().replace(/_/g,"-"))}function $u(e,t,n){var i=t.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?Ja(e,0,n):nt(n[r])}function Xu(e,t,n,i,r){var a=t.insertBeforeIndex;if(Array.isArray(a)){var o=i,s=null;if(3&t.type||(s=o,o=r),null!==o&&0==(2&t.flags))for(var l=1;l<a.length;l++)qa(e,o,n[a[l]],s,!1)}}function Ku(e,t){if(e.push(t),e.length>1)for(var n=e.length-2;n>=0;n--){var i=e[n];Ju(i)||Qu(i,t)&&null===(r=i.insertBeforeIndex,Array.isArray(r)?r[0]:r)&&ep(i,t.index)}var r}function Ju(e){return!(64&e.type)}function Qu(e,t){return Ju(t)||e.index>t.index}function ep(e,t){var n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(to($u,Xu),e.insertBeforeIndex=t)}function tp(e,t){var n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function np(e,t,n){var i=zo(e,n,64,null,null);return Ku(t,i),i}function ip(e,t){var n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}var rp=0,ap=0;function op(e,t,n,i){for(var r=e[11],a=0;a<t.length;a++){var o=t[a++],s=t[a],l=(o&Uu.APPEND_EAGERLY)===Uu.APPEND_EAGERLY,c=o>>>Uu.SHIFT,d=e[c];null===d&&(d=e[c]=(o&Uu.COMMENT)===Uu.COMMENT?r.createComment(s):Fa(r,s)),l&&null!==n&&qa(r,n,d,i,!1)}}function sp(e,t,n,i){for(var r,a=n[11],o=null,s=0;s<t.length;s++){var l=t[s];if("string"==typeof l){var c=t[++s];null===n[c]&&(n[c]=Fa(a,l))}else if("number"==typeof l)switch(1&l){case 0:var d=l>>>17;null===o&&(o=d,r=Xa(a,i));var u=void 0,p=void 0;if(d===o?(u=i,p=r):(u=null,p=nt(n[d])),null!==p){var h=(131070&l)>>>1;qa(a,p,n[h],u,!1);var m=tp(e,h);if(null!==m&&"object"==typeof m){var g=ip(m,n);null!==g&&sp(e,m.create[g],n,n[m.anchorIdx])}}break;case 1:var f=t[++s],v=t[++s];cs(a,it(l>>>1,n),null,null,f,v,null);break;default:throw new Error('Unable to determine the type of mutate operation for "'.concat(l,'"'))}else switch(l){case Gu:var y=t[++s],b=t[++s];null===n[b]&&ya(n[b]=za(a,y),n);break;case Wu:var x=t[++s],_=t[++s];null===n[_]&&ya(n[_]=Na(a,x,null),n)}}}function lp(e,t,n,i,r){for(var a=0;a<n.length;a++){var o=n[a],s=n[++a];if(o&r)for(var l="",c=a+1;c<=a+s;c++){var d=n[c];if("string"==typeof d)l+=d;else if("number"==typeof d)if(d<0)l+=T(t[i-d]);else{var u=d>>>2;switch(3&d){case 1:var p=n[++c],h=n[++c],m=e.data[u];"string"==typeof m?cs(t[11],t[u],null,m,p,l,h):Qo(e,m,t,p,l,t[11],h,!1);break;case 0:var g=t[u];null!==g&&Ba(t[11],g,l);break;case 2:dp(e,tp(e,u),t,l);break;case 3:cp(e,tp(e,u),i,t)}}}else{var f=n[a+1];if(f>0&&3==(3&f)){var v=tp(e,f>>>2);t[v.currentCaseLViewIndex]<0&&cp(e,v,i,t)}}a+=s}}function cp(e,t,n,i){var r=i[t.currentCaseLViewIndex];if(null!==r){var a=rp;r<0&&(r=i[t.currentCaseLViewIndex]=~r,a=-1),lp(e,i,t.update[r],n,a)}}function dp(e,t,n,i){var r=function(e,t){var n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:var i=function(e,t){var n=Fu(t)(parseInt(e,10)),i=Hu[n];return void 0!==i?i:"other"}(t,qu);-1===(n=e.cases.indexOf(i))&&"other"!==i&&(n=e.cases.indexOf("other"));break;case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,i);if(ip(t,n)!==r&&(up(e,t,n),n[t.currentCaseLViewIndex]=null===r?null:~r,null!==r)){var a=n[t.anchorIdx];a&&sp(e,t.create[r],n,a)}}function up(e,t,n){var i=ip(t,n);if(null!==i)for(var r=t.remove[i],a=0;a<r.length;a++){var o=r[a];if(o>0){var s=it(o,n);null!==s&&oo(n[11],s)}else up(e,tp(e,~o),n)}}var pp=/\ufffd(\d+):?\d*\ufffd/gi,hp=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,mp=/\ufffd(\d+)\ufffd/,gp=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,fp="\ufffd",vp=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,yp=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,bp=/\uE500/g;function xp(e,t,n,i,r,a){for(var o=Ct(),s=[],l=[],c=[[]],d=function(e){return e.replace(bp," ")}(r=function(e,t){if(function(e){return-1===e}(t))return Op(e);var n=e.indexOf(":".concat(t).concat(fp))+2+t.toString().length,i=e.search(new RegExp("".concat(fp,"\\/\\*\\d+:").concat(t).concat(fp)));return Op(e.substring(n,i))}(r,a)).split(yp),u=0;u<d.length;u++){var p=d[u];if(0==(1&u))for(var h=Ip(p),m=0;m<h.length;m++){var g=h[m];if(0==(1&m))""!==g&&wp(e,o,c[0],s,l,n,g);else{var f=g;if("object"!=typeof f)throw new Error('Unable to parse ICU expression in "'.concat(r,'" message.'));Ep(e,n,l,t,f,_p(e,o,c[0],n,s,"",!0).index)}}else{var v=47===p.charCodeAt(0),y=(p.charCodeAt(v?1:0),Te+Number.parseInt(p.substring(v?2:1)));if(v)c.shift(),kt(Ct(),!1);else{var b=np(e,c[0],y);c.unshift([]),kt(b,!0)}}}e.data[i]={create:s,update:l}}function _p(e,t,n,i,r,a,o){var s=No(e,i,1,null),l=s<<Uu.SHIFT,c=Ct();t===c&&(c=null),null===c&&(l|=Uu.APPEND_EAGERLY),o&&(l|=Uu.COMMENT,void 0===Ma&&(Ma=function(){var e,t,n=[],i=-1;function r(e,n){i=0;var r=ip(e,n);t=null!==r?e.remove[r]:le}function a(){if(i<t.length){var o=t[i++];return o>0?e[o]:(n.push(i,t),r(e[1].data[~o],e),a())}return 0===n.length?null:(t=n.pop(),i=n.pop(),a())}return function(t,i){for(e=i;n.length;)n.pop();return r(t.value,i),a}}())),r.push(l,null===a?"":a);var d=zo(e,s,o?32:1,null===a?"":a,null);Ku(n,d);var u=d.index;return kt(d,!1),null!==c&&t!==c&&function(e,t){var n,i=e.insertBeforeIndex;null===i?(to($u,Xu),i=e.insertBeforeIndex=[null,t]):("Expecting array here",(n=Array.isArray(i))!=!0&&R("Expecting array here",n,true,"=="),i.push(t))}(c,u),d}function wp(e,t,n,i,r,a,o){var s=o.match(pp),l=_p(e,t,n,a,i,s?null:o,!1);s&&Sp(r,o,l.index,null,0,null)}function Sp(e,t,n,i,r,a){var o=e.length,s=o+1;e.push(null,null);for(var l=o+2,c=t.split(pp),d=0,u=0;u<c.length;u++){var p=c[u];if(1&u){var h=r+parseInt(p,10);e.push(-1-h),d|=kp(h)}else""!==p&&e.push(p)}return e.push(n<<2|(i?1:0)),i&&e.push(i,a),e[o]=d,e[s]=e.length-l,d}function Cp(e){for(var t=0,n=0;n<e.length;n++){var i=e[n];"number"==typeof i&&i<0&&t++}return t}function kp(e){return 1<<Math.min(e,31)}function Op(e){for(var t,n,i="",r=0,a=!1;null!==(t=vp.exec(e));)a?t[0]==="".concat(fp,"/*").concat(n).concat(fp)&&(r=t.index,a=!1):(i+=e.substring(r,t.index+t[0].length),n=t[1],a=!0);return i+e.substr(r)}function Ep(e,t,n,i,r,a){var o=0,s={type:r.type,currentCaseLViewIndex:No(e,t,1,null),anchorIdx:a,cases:[],create:[],remove:[],update:[]};!function(e,t,n){e.push(kp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}(n,r,a),function(e,t,n){var i=e.data[t];null===i?e.data[t]=n:i.value=n}(e,a,s);for(var l=r.values,c=0;c<l.length;c++){for(var d=l[c],u=[],p=0;p<d.length;p++){var h=d[p];if("string"!=typeof h){var m=u.push(h)-1;d[p]="\x3c!--\ufffd".concat(m,"\ufffd--\x3e")}}o=Pp(e,s,t,n,i,r.cases[c],d.join(""),u)|o}o&&function(e,t,n){e.push(t,1,n<<2|3)}(n,o,a)}function Mp(e){for(var t=[],n=[],i=1,r=0,a=Ip(e=e.replace(gp,function(e,t,n){return i="select"===n?0:1,r=parseInt(t.substr(1),10),""})),o=0;o<a.length;){var s=a[o++].trim();1===i&&(s=s.replace(/\s*(?:=)?(\w+)\s*/,"$1")),s.length&&t.push(s);var l=Ip(a[o++]);t.length>n.length&&n.push(l)}return{type:i,mainBinding:r,cases:t,values:n}}function Ip(e){if(!e)return[];var t,n=0,i=[],r=[],a=/[{}]/g;for(a.lastIndex=0;t=a.exec(e);){var o=t.index;if("}"==t[0]){if(i.pop(),0==i.length){var s=e.substring(n,o);gp.test(s)?r.push(Mp(s)):r.push(s),n=o+1}}else{if(0==i.length){var l=e.substring(n,o);r.push(l),n=o+1}i.push("{")}}var c=e.substring(n);return r.push(c),r}function Pp(e,t,n,i,r,a,o,s){var l=[],c=[],d=[];t.cases.push(a),t.create.push(l),t.remove.push(c),t.update.push(d);var u=_r(Qe()).getInertBodyElement(o),p=Gr(u)||u;return p?Tp(e,t,n,i,l,c,d,p,r,s,0):0}function Tp(e,t,n,i,r,a,o,s,l,c,d){for(var u=0,p=s.firstChild;p;){var h=No(e,n,1,null);switch(p.nodeType){case Node.ELEMENT_NODE:var m=p,g=m.tagName.toLowerCase();if(jr.hasOwnProperty(g)){Rp(r,Wu,g,l,h),e.data[h]=g;for(var f=m.attributes,v=0;v<f.length;v++){var y=f.item(v),b=y.name.toLowerCase();y.value.match(pp)?Br.hasOwnProperty(b)&&Sp(o,y.value,h,y.name,0,Ar[b]?Or:Fr[b]?Er:null):jp(r,h,y)}u=Tp(e,t,n,i,r,a,o,p,h,c,d+1)|u,Dp(a,h,d)}break;case Node.TEXT_NODE:var x=p.textContent||"",_=x.match(pp);Rp(r,null,_?"":x,l,h),Dp(a,h,d),_&&(u=Sp(o,x,h,null,0,null)|u);break;case Node.COMMENT_NODE:var w=mp.exec(p.textContent||"");if(w){var S=c[parseInt(w[1],10)];Rp(r,Gu,"",l,h),Ep(e,n,i,l,S,h),Lp(a,h,d)}}p=p.nextSibling}return u}function Dp(e,t,n){0===n&&e.push(t)}function Lp(e,t,n){0===n&&(e.push(~t),e.push(t))}function Rp(e,t,n,i,r){null!==t&&e.push(t),e.push(n,r,0|i<<17|r<<1)}function jp(e,t,n){e.push(t<<1|1,n.name,n.value)}var Ap=/\[(\ufffd.+?\ufffd?)\]/,Fp=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,Bp=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,zp=/{([A-Z0-9_]+)}/g,Np=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,Hp=/\/\*/,Vp=/\d+\:(\d+)/;function Yp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e;if(Ap.test(e)){var i={},r=[0];n=n.replace(Fp,function(e,t,n){var a=t||n,s=i[a]||[];if(s.length||(a.split("|").forEach(function(e){var t=e.match(Vp),n=t?parseInt(t[1],10):0,i=Hp.test(e);s.push([n,i,e])}),i[a]=s),!s.length)throw new Error("i18n postprocess: unmatched placeholder - ".concat(a));for(var l=r[r.length-1],c=0,d=0;d<s.length;d++)if(s[d][0]===l){c=d;break}var u=Object(o.a)(s[c],3),p=u[0],h=u[2];return u[1]?r.pop():l!==p&&r.push(p),s.splice(c,1),h})}return Object.keys(t).length?n=(n=(n=n.replace(Bp,function(e,n,i,r,a,o){return t.hasOwnProperty(i)?"".concat(n).concat(t[i]).concat(o):e})).replace(zp,function(e,n){return t.hasOwnProperty(n)?t[n]:e})).replace(Np,function(e,n){if(t.hasOwnProperty(n)){var i=t[n];if(!i.length)throw new Error("i18n postprocess: unmatched ICU - ".concat(e," with key: ").concat(n));return i.shift()}return e}):n}function Wp(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1,i=xt(),r=bt(),a=Te+e,o=pt(i.consts,t),s=Ct();i.firstCreatePass&&xp(i,null===s?0:s.index,r,a,o,n);var l=i.data[a],c=s===r[6]?null:s,d=Ua(i,c,r),u=s&&8&s.type?r[s.index]:null;op(r,l.create,d,u),jt(!0)}function Gp(){jt(!1)}function Up(e,t,n){Wp(e,t,n),Gp()}function qp(e,t){var n=xt(),i=pt(n.consts,t);!function(e,t,n){var i=wt().index,r=[];if(e.firstCreatePass&&null===e.data[t]){for(var a=0;a<n.length;a+=2){var o=n[a],s=n[a+1];if(""!==s){if(hp.test(s))throw new Error('ICU expressions are not supported in attributes. Message: "'.concat(s,'".'));Sp(r,s,i,o,Cp(r),null)}}e.data[t]=r}}(n,e+Te,i)}function Zp(e){return Al(bt(),Lt(),e)&&(rp|=1<<Math.min(ap,31)),ap++,Zp}function $p(e){!function(e,t,n){if(ap>0){var i=e.data[n];lp(e,t,Array.isArray(i)?i:i.update,Tt()-ap-1,rp)}rp=0,ap=0}(xt(),bt(),e+Te)}function Xp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Yp(e,t)}function Kp(e,t,n){var i=xt();if(i.firstCreatePass){var r=Be(e);Jp(n,i.data,i.blueprint,r,!0),Jp(t,i.data,i.blueprint,r,!1)}}function Jp(e,t,n,i,r){if(e=M(e),Array.isArray(e))for(var a=0;a<e.length;a++)Jp(e[a],t,n,i,r);else{var o=xt(),s=bt(),l=qs(e)?e:M(e.provide),c=Ws(e),d=wt(),u=1048575&d.providerIndexes,p=d.directiveStart,h=d.providerIndexes>>20;if(qs(e)||!e.multi){var m=new cn(c,r,Fc),g=th(l,t,r?u:u+h,p);-1===g?(kn(_n(d,s),o,l),Qp(o,e,t.length),t.push(l),d.directiveStart++,d.directiveEnd++,r&&(d.providerIndexes+=1048576),n.push(m),s.push(m)):(n[g]=m,s[g]=m)}else{var f=th(l,t,u+h,p),v=th(l,t,u,u+h),y=v>=0&&n[v];if(r&&!y||!r&&!(f>=0&&n[f])){kn(_n(d,s),o,l);var b=function(e,t,n,i,r){var a=new cn(e,n,Fc);return a.multi=[],a.index=t,a.componentProviders=0,eh(a,r,i&&!n),a}(r?ih:nh,n.length,r,i,c);!r&&y&&(n[v].providerFactory=b),Qp(o,e,t.length,0),t.push(l),d.directiveStart++,d.directiveEnd++,r&&(d.providerIndexes+=1048576),n.push(b),s.push(b)}else Qp(o,e,f>-1?f:v,eh(n[r?v:f],c,!r&&i));!r&&i&&y&&n[v].componentProviders++}}}function Qp(e,t,n,i){var r=qs(t);if(r||t.useClass){var a=(t.useClass||t).prototype.ngOnDestroy;if(a){var o=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){var s=o.indexOf(n);-1===s?o.push(n,[i,a]):o[s+1].push(i,a)}else o.push(n,a)}}}function eh(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function th(e,t,n,i){for(var r=n;r<i;r++)if(t[r]===e)return r;return-1}function nh(e,t,n,i){return rh(this.multi,[])}function ih(e,t,n,i){var r,a=this.multi;if(this.providerFactory){var o=this.providerFactory.componentProviders,s=Rn(n,n[1],this.providerFactory.index,i);rh(a,r=s.slice(0,o));for(var l=o;l<s.length;l++)r.push(s[l])}else rh(a,r=[]);return r}function rh(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function ah(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,i){return Kp(n,i?i(e):e,t)}}}var oh=Object(p.a)(function e(){Object(h.a)(this,e)}),sh=Object(p.a)(function e(){Object(h.a)(this,e)});function lh(e){var t=Error("No component factory found for ".concat(C(e),". Did you add it to @NgModule.entryComponents?"));return t[ch]=e,t}var ch="ngComponent",dh=function(){function e(){Object(h.a)(this,e)}return Object(p.a)(e,[{key:"resolveComponentFactory",value:function(e){throw lh(e)}}]),e}(),uh=function(){var e=Object(p.a)(function e(){Object(h.a)(this,e)});return e.NULL=new dh,e}(),ph=function(){function e(t,n,i){Object(h.a)(this,e),this._parent=n,this._ngModule=i,this._factories=new Map;for(var r=0;r<t.length;r++){var a=t[r];this._factories.set(a.componentType,a)}}return Object(p.a)(e,[{key:"resolveComponentFactory",value:function(e){var t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw lh(e);return new hh(t,this._ngModule)}}]),e}(),hh=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e,i){var r;return Object(h.a)(this,n),(r=t.call(this)).factory=e,r.ngModule=i,r.selector=e.selector,r.componentType=e.componentType,r.ngContentSelectors=e.ngContentSelectors,r.inputs=e.inputs,r.outputs=e.outputs,r}return Object(p.a)(n,[{key:"create",value:function(e,t,n,i){return this.factory.create(e,t,n,i||this.ngModule)}}]),n}(sh);function mh(){}function gh(){return fh(wt(),bt())}function fh(e,t){return new bh(rt(e,t))}var vh=gh,yh=vh,bh=function(){var e=Object(p.a)(function e(t){Object(h.a)(this,e),this.nativeElement=t});return e.__NG_ELEMENT_ID__=yh,e}();function xh(e){return e instanceof bh?e.nativeElement:e}var _h=Object(p.a)(function e(){Object(h.a)(this,e)}),wh=function(){var e=Object(p.a)(function e(){Object(h.a)(this,e)});return e.__NG_ELEMENT_ID__=function(){return Ch()},e}(),Sh=kh,Ch=Sh;function kh(){var e=bt(),t=st(wt().index,e);return function(e){return e[11]}(Le(t)?t:e)}var Oh=function(){var e=Object(p.a)(function e(){Object(h.a)(this,e)});return e.\u0275prov=j({token:e,providedIn:"root",factory:function(){return null}}),e}(),Eh=Object(p.a)(function e(t){Object(h.a)(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}),Mh=new Eh("11.2.14"),Ih=function(){function e(){Object(h.a)(this,e)}return Object(p.a)(e,[{key:"supports",value:function(e){return Dl(e)}},{key:"create",value:function(e){return new Th(e)}}]),e}(),Ph=function(e,t){return t},Th=function(){function e(t){Object(h.a)(this,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=t||Ph}return Object(p.a)(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,i=0,r=null;t||n;){var a=!n||t&&t.currentIndex<jh(n,i,r)?t:n,o=jh(a,i,r),s=a.currentIndex;if(a===n)i--,n=n._nextRemoved;else if(t=t._next,null==a.previousIndex)i++;else{r||(r=[]);var l=o-i,c=s-i;if(l!=c){for(var d=0;d<l;d++){var u=d<r.length?r[d]:r[d]=0,p=u+d;c<=p&&p<l&&(r[d]=u+1)}r[a.previousIndex]=c-l}}o!==s&&e(a,o,s)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!Dl(e))throw new Error("Error trying to diff '".concat(C(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n,i,r,a=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)r=this._trackByFn(s,i=e[s]),null!==a&&Object.is(a.trackById,r)?(o&&(a=this._verifyReinsertion(a,i,r,s)),Object.is(a.item,i)||this._addIdentityChange(a,i)):(a=this._mismatch(a,i,r,s),o=!0),a=a._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var i,r=e[Il()]();!(i=r.next()).done;)t(i.value)}(e,function(e){r=t._trackByFn(n,e),null!==a&&Object.is(a.trackById,r)?(o&&(a=t._verifyReinsertion(a,e,r,n)),Object.is(a.item,e)||t._addIdentityChange(a,e)):(a=t._mismatch(a,e,r,n),o=!0),a=a._next,n++}),this.length=n;return this._truncate(a),this.collection=e,this.isDirty}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}},{key:"_reset",value:function(){if(this.isDirty){var e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,i){var r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):e=this._addAfter(new Dh(t,n),r,i),e}},{key:"_verifyReinsertion",value:function(e,t,n,i){var r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}},{key:"_truncate",value:function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_moveAfter",value:function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_addAfter",value:function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value:function(e,t,n){var i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Rh),this._linkedRecords.put(e),e.currentIndex=n,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value:function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}},{key:"_addToMoves",value:function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Rh),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}},{key:"_addIdentityChange",value:function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}]),e}(),Dh=Object(p.a)(function e(t,n){Object(h.a)(this,e),this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}),Lh=function(){function e(){Object(h.a)(this,e),this._head=null,this._tail=null}return Object(p.a)(e,[{key:"add",value:function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}},{key:"remove",value:function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}]),e}(),Rh=function(){function e(){Object(h.a)(this,e),this.map=new Map}return Object(p.a)(e,[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new Lh,this.map.set(t,n)),n.add(e)}},{key:"get",value:function(e,t){var n=this.map.get(e);return n?n.get(e,t):null}},{key:"remove",value:function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}},{key:"isEmpty",get:function(){return 0===this.map.size}},{key:"clear",value:function(){this.map.clear()}}]),e}();function jh(e,t,n){var i=e.previousIndex;if(null===i)return i;var r=0;return n&&i<n.length&&(r=n[i]),i+t+r}var Ah=function(){function e(){Object(h.a)(this,e)}return Object(p.a)(e,[{key:"supports",value:function(e){return e instanceof Map||Ll(e)}},{key:"create",value:function(){return new Fh}}]),e}(),Fh=function(){function e(){Object(h.a)(this,e),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object(p.a)(e,[{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}},{key:"forEachItem",value:function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachChangedItem",value:function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"diff",value:function(e){if(e){if(!(e instanceof Map||Ll(e)))throw new Error("Error trying to diff '".concat(C(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,i){if(n&&n.key===i)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var r=t._getOrCreateRecordForKey(i,e);n=t._insertBeforeOrAppend(n,r)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var i=n;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}},{key:"_getOrCreateRecordForKey",value:function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}var a=new Bh(e);return this._records.set(e,a),a.currentValue=t,this._addToAdditions(a),a}},{key:"_reset",value:function(){if(this.isDirty){var e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})}}]),e}(),Bh=Object(p.a)(function e(t){Object(h.a)(this,e),this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null});function zh(){return new Nh([new Ih])}var Nh=function(){var e=function(){function e(t){Object(h.a)(this,e),this.factories=t}return Object(p.a)(e,[{key:"find",value:function(e){var t,n=this.factories.find(function(t){return t.supports(e)});if(null!=n)return n;throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'"))}}],[{key:"create",value:function(t,n){if(null!=n){var i=n.factories.slice();t=t.concat(i)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){return e.create(t,n||zh())},deps:[[e,new Hi,new zi]]}}}]),e}();return e.\u0275prov=j({token:e,providedIn:"root",factory:zh}),e}();function Hh(){return new Vh([new Ah])}var Vh=function(){var e=function(){function e(t){Object(h.a)(this,e),this.factories=t}return Object(p.a)(e,[{key:"find",value:function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '".concat(e,"'"))}}],[{key:"create",value:function(t,n){if(n){var i=n.factories.slice();t=t.concat(i)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){return e.create(t,n||Hh())},deps:[[e,new Hi,new zi]]}}}]),e}();return e.\u0275prov=j({token:e,providedIn:"root",factory:Hh}),e}();function Yh(e,t,n,i){for(var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==n;){var a=t[n.index];if(null!==a&&i.push(nt(a)),Re(a))for(var o=De;o<a.length;o++){var s=a[o],c=s[1].firstChild;null!==c&&Yh(s[1],s,c,i)}var d=n.type;if(8&d)Yh(e,t,n.child,i);else if(32&d)for(var u=Pa(n,t),p=void 0;p=u();)i.push(p);else if(16&d){var h=ro(t,n);if(Array.isArray(h))i.push.apply(i,Object(l.a)(h));else{var m=Ta(t[16]);Yh(m[1],m,h,i,!0)}}n=r?n.projectionNext:n.next}return i}var Wh=function(){function e(t,n){Object(h.a)(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}return Object(p.a)(e,[{key:"rootNodes",get:function(){var e=this._lView,t=e[1];return Yh(t,e,t.firstChild,[])}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}},{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){var e=this._lView[3];if(Re(e)){var t=e[8],n=t?t.indexOf(this):-1;n>-1&&(Va(e,n),pi(t,n))}this._attachedToViewContainer=!1}Ya(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){Ko(this._lView[1],this._lView,null,e)}},{key:"markForCheck",value:function(){vs(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){bs(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){It(!0);try{bs(e,t,n)}finally{It(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,lo(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}]),e}(),Gh=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e){var i;return Object(h.a)(this,n),(i=t.call(this,e))._view=e,i}return Object(p.a)(n,[{key:"detectChanges",value:function(){xs(this._view)}},{key:"checkNoChanges",value:function(){!function(e){It(!0);try{xs(e)}finally{It(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Wh),Uh=$h,qh=Uh,Zh=function(){var e=Object(p.a)(function e(){Object(h.a)(this,e)});return e.__NG_ELEMENT_ID__=qh,e.__ChangeDetectorRef__=!0,e}();function $h(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Xh(wt(),bt(),e)}function Xh(e,t,n){if(!n&&Ae(e)){var i=st(e.index,t);return new Wh(i,i)}return 47&e.type?new Wh(t[16],t):null}var Kh=[new Ah],Jh=new Nh([new Ih]),Qh=new Vh(Kh),em=rm,tm=em,nm=function(){var e=Object(p.a)(function e(){Object(h.a)(this,e)});return e.__NG_ELEMENT_ID__=tm,e}(),im=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e,i,r){var a;return Object(h.a)(this,n),(a=t.call(this))._declarationLView=e,a._declarationTContainer=i,a.elementRef=r,a}return Object(p.a)(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Fo(this._declarationLView,t,e,16,null,t.declTNode,null,null,null,null);n[17]=this._declarationLView[this._declarationTContainer.index];var i=this._declarationLView[19];return null!==i&&(n[19]=i.createEmbeddedView(t)),Ho(t,n,e),new Wh(n)}}]),n}(nm);function rm(){return am(wt(),bt())}function am(e,t){return 4&e.type?new im(t,e,fh(e,t)):null}var om=Object(p.a)(function e(){Object(h.a)(this,e)}),sm=Object(p.a)(function e(){Object(h.a)(this,e)}),lm=um,cm=lm,dm=function(){var e=Object(p.a)(function e(){Object(h.a)(this,e)});return e.__NG_ELEMENT_ID__=cm,e}();function um(){return gm(wt(),bt())}var pm=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e,i,r){var a;return Object(h.a)(this,n),(a=t.call(this))._lContainer=e,a._hostTNode=i,a._hostLView=r,a}return Object(p.a)(n,[{key:"element",get:function(){return fh(this._hostTNode,this._hostLView)}},{key:"injector",get:function(){return new Bn(this._hostTNode,this._hostLView)}},{key:"parentInjector",get:function(){var e=Cn(this._hostTNode,this._hostLView);if(gn(e)){var t=vn(e,this._hostLView),n=fn(e);return new Bn(t[1].data[n+8],t)}return new Bn(null,this._hostLView)}},{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){var t=hm(this._lContainer);return null!==t&&t[e]||null}},{key:"length",get:function(){return this._lContainer.length-De}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var a=n||this.parentInjector;if(!r&&null==e.ngModule&&a){var o=a.get(om,null);o&&(r=o)}var s=e.create(a,i,void 0,r);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,i=n[1];if(Re(n[3])){var r=this.indexOf(e);if(-1!==r)this.detach(r);else{var a=n[3],o=new pm(a,a[6],a[3]);o.detach(o.indexOf(e))}}var s=this._adjustIndex(t),l=this._lContainer;!function(e,t,n,i){var r=De+i,a=n.length;i>0&&(n[r-1][4]=t),i<a-De?(t[4]=n[r],ui(n,De+i,t)):(n.push(t),t[4]=null),t[3]=n;var o=t[17];null!==o&&n!==o&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(o,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(i,n,l,s);var c=ao(s,l),d=n[11],u=Xa(d,l[7]);return null!==u&&function(e,t,n,i,r,a){i[0]=r,i[6]=t,lo(e,i,n,1,r,a)}(i,l[6],d,n,u,c),e.attachToViewContainerRef(),ui(mm(l),s,e),e}},{key:"move",value:function(e,t){return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=hm(this._lContainer);return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){var t=this._adjustIndex(e,-1),n=Va(this._lContainer,t);n&&(pi(mm(this._lContainer),t),Ya(n[1],n))}},{key:"detach",value:function(e){var t=this._adjustIndex(e,-1),n=Va(this._lContainer,t);return n&&null!=pi(mm(this._lContainer),t)?new Wh(n):null}},{key:"_adjustIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}}]),n}(dm);function hm(e){return e[8]}function mm(e){return e[8]||(e[8]=[])}function gm(e,t){var n,i=t[e.index];if(Re(i))n=i;else{var r;if(8&e.type)r=nt(i);else{var a=t[11];r=a.createComment("");var o=rt(e,t);qa(a,Xa(a,o),r,function(e,t){return et(e)?e.nextSibling(t):t.nextSibling}(a,o),!1)}t[e.index]=n=ps(i,t,r,e),fs(t,n)}return new pm(n,e,t)}function fm(e,t,n,i){var r="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '".concat(t,"'. Current value: '").concat(n,"'.");return i&&(r+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){var n=new Error(e);return vm(n,t),n}(r,e)}function vm(e,t){e.ngDebugContext=t,e.ngErrorLogger=t.logError.bind(t)}function ym(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: ".concat(e))}function bm(e,t,n){var i=e.state,r=1792&i;return r===t?(e.state=-1793&i|n,e.initIndex=-1,!0):r===n}function xm(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function _m(e,t){return e.nodes[t]}function wm(e,t){return e.nodes[t]}function Sm(e,t){return e.nodes[t]}function Cm(e,t){return e.nodes[t]}function km(e,t){return e.nodes[t]}var Om=Object(p.a)(function e(){Object(h.a)(this,e)}),Em={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Mm=function(){},Im=new Map;function Pm(e){var t=Im.get(e);return t||(t=C(e)+"_"+Im.size,Im.set(e,t)),t}function Tm(e,t,n,i){if(Tl.isWrapped(i)){i=Tl.unwrap(i);var r=e.def.nodes[t].bindingIndex+n,a=Tl.unwrap(e.oldValues[r]);e.oldValues[r]=new Tl(a)}return i}var Dm="$$undefined",Lm="$$empty";function Rm(e){return{id:Dm,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}var jm=0;function Am(e){if(e&&e.id===Dm){var t=null!=e.encapsulation&&e.encapsulation!==ee.None||e.styles.length||Object.keys(e.data).length;e.id=t?"c".concat(jm++):Lm}return e&&e.id===Lm&&(e=null),e||null}function Fm(e,t,n,i){return!(!(2&e.state)&&Object.is(e.oldValues[t.bindingIndex+n],i))}function Bm(e,t,n,i){return!!Fm(e,t,n,i)&&(e.oldValues[t.bindingIndex+n]=i,!0)}function zm(e,t,n,i){var r=e.oldValues[t.bindingIndex+n];if(1&e.state||!Pl(r,i)){var a=t.bindings[n].name;throw fm(Em.createDebugContext(e,t.nodeIndex),"".concat(a,": ").concat(r),"".concat(a,": ").concat(i),0!=(1&e.state))}}function Nm(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Hm(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Vm(e,t,n,i){try{return Nm(33554432&e.def.nodes[t].flags?wm(e,t).componentView:e),Em.handleEvent(e,t,n,i)}catch(r){e.root.errorHandler.handleError(r)}}function Ym(e){return e.parent?wm(e.parent,e.parentNodeDef.nodeIndex):null}function Wm(e){return e.parent?e.parentNodeDef.parent:null}function Gm(e,t){switch(201347067&t.flags){case 1:return wm(e,t.nodeIndex).renderElement;case 2:return _m(e,t.nodeIndex).renderText}}function Um(e,t){return e?"".concat(e,":").concat(t):t}function qm(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Zm(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function $m(e){return 1<<e%32}function Xm(e){var t={},n=0,i={};return e&&e.forEach(function(e){var r=Object(o.a)(e,2),a=r[0],s=r[1];"number"==typeof a?(t[a]=s,n|=$m(a)):i[a]=s}),{matchedQueries:t,references:i,matchedQueryIds:n}}function Km(e,t){return e.map(function(e){var n,i;if(Array.isArray(e)){var r=Object(o.a)(e,2);i=r[0],n=r[1]}else i=0,n=e;return n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,Oi,{value:t,configurable:!0}),{flags:i,token:n,tokenKey:Pm(n)}})}function Jm(e,t,n){var i=n.renderParent;return i?0==(1&i.flags)||0==(33554432&i.flags)||i.element.componentRendererType&&(i.element.componentRendererType.encapsulation===ee.ShadowDom||1===i.element.componentRendererType.encapsulation)?wm(e,n.renderParent.nodeIndex).renderElement:void 0:t}var Qm=new WeakMap;function eg(e){var t=Qm.get(e);return t||((t=e(function(){return Mm})).factory=e,Qm.set(e,t)),t}function tg(e,t,n,i,r){3===t&&(n=e.renderer.parentNode(Gm(e,e.def.lastRenderRootNode))),ng(e,t,0,e.def.nodes.length-1,n,i,r)}function ng(e,t,n,i,r,a,o){for(var s=n;s<=i;s++){var l=e.def.nodes[s];11&l.flags&&rg(e,l,t,r,a,o),s+=l.childCount}}function ig(e,t,n,i,r,a){for(var o=e;o&&!qm(o);)o=o.parent;for(var s=o.parent,l=Wm(o),c=l.nodeIndex+l.childCount,d=l.nodeIndex+1;d<=c;d++){var u=s.def.nodes[d];u.ngContentIndex===t&&rg(s,u,n,i,r,a),d+=u.childCount}if(!s.parent){var p=e.root.projectableNodes[t];if(p)for(var h=0;h<p.length;h++)ag(e,p[h],n,i,r,a)}}function rg(e,t,n,i,r,a){if(8&t.flags)ig(e,t.ngContent.index,n,i,r,a);else{var o=Gm(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&ag(e,o,n,i,r,a),32&t.bindingFlags&&ag(wm(e,t.nodeIndex).componentView,o,n,i,r,a)):ag(e,o,n,i,r,a),16777216&t.flags)for(var s=wm(e,t.nodeIndex).viewContainer._embeddedViews,l=0;l<s.length;l++)tg(s[l],n,i,r,a);1&t.flags&&!t.element.name&&ng(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,i,r,a)}}function ag(e,t,n,i,r,a){var o=e.renderer;switch(n){case 1:o.appendChild(i,t);break;case 2:o.insertBefore(i,t,r);break;case 3:o.removeChild(i,t);break;case 0:a.push(t)}}var og=/^:([^:]+):(.+)$/;function sg(e){if(":"===e[0]){var t=e.match(og);return[t[1],t[2]]}return["",e]}function lg(e){for(var t=0,n=0;n<e.length;n++)t|=e[n].flags;return t}function cg(e,t){for(var n="",i=0;i<2*e;i+=2)n=n+t[i]+ug(t[i+1]);return n+t[2*e]}function dg(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f,v,y,b){switch(e){case 1:return t+ug(n)+i;case 2:return t+ug(n)+i+ug(r)+a;case 3:return t+ug(n)+i+ug(r)+a+ug(o)+s;case 4:return t+ug(n)+i+ug(r)+a+ug(o)+s+ug(l)+c;case 5:return t+ug(n)+i+ug(r)+a+ug(o)+s+ug(l)+c+ug(d)+u;case 6:return t+ug(n)+i+ug(r)+a+ug(o)+s+ug(l)+c+ug(d)+u+ug(p)+h;case 7:return t+ug(n)+i+ug(r)+a+ug(o)+s+ug(l)+c+ug(d)+u+ug(p)+h+ug(m)+g;case 8:return t+ug(n)+i+ug(r)+a+ug(o)+s+ug(l)+c+ug(d)+u+ug(p)+h+ug(m)+g+ug(f)+v;case 9:return t+ug(n)+i+ug(r)+a+ug(o)+s+ug(l)+c+ug(d)+u+ug(p)+h+ug(m)+g+ug(f)+v+ug(y)+b;default:throw new Error("Does not support more than 9 expressions")}}function ug(e){return null!=e?e.toString():""}var pg=[],hg={},mg={},gg=Pm(Ks),fg=Pm(Ds),vg=Pm(om);function yg(e,t,n,i){return n=M(n),{index:-1,deps:Km(i,C(t)),flags:e,token:t,value:n}}function bg(e){for(var t={},n=[],i=null,r=0;r<e.length;r++){var a=e[r];a.token===Rs&&(i=a.value),1073741824&a.flags&&n.push(a.token),a.index=r,t[Pm(a.token)]=a}return{factory:null,providersByKey:t,providers:e,modules:n,scope:i}}function xg(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ks.THROW_IF_NOT_FOUND,i=Ii(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var r=t.tokenKey;switch(r){case gg:case fg:case vg:return e}var a,o=e._def.providersByKey[r];if(o){var s=e._providers[o.index];return void 0===s&&(s=e._providers[o.index]=wg(e,o)),s===mg?void 0:s}if((a=B(t.token))&&_g(e,a)){var l=e._providers.length;return e._def.providers[l]=e._def.providersByKey[t.tokenKey]={flags:5120,value:a.factory,deps:[],index:l,token:t.token},e._providers[l]=mg,e._providers[l]=wg(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{Ii(i)}}function _g(e,t){var n=t.providedIn;return null!=n&&("any"===n||n===e._def.scope||function(e,t){return e._def.modules.indexOf(t)>-1}(e,n))}function wg(e,t){var n;switch(201347067&t.flags){case 512:n=function(e,t,n){var i=n.length;switch(i){case 0:return new t;case 1:return new t(xg(e,n[0]));case 2:return new t(xg(e,n[0]),xg(e,n[1]));case 3:return new t(xg(e,n[0]),xg(e,n[1]),xg(e,n[2]));default:for(var r=[],a=0;a<i;a++)r[a]=xg(e,n[a]);return u(t,r)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){var i=n.length;switch(i){case 0:return t();case 1:return t(xg(e,n[0]));case 2:return t(xg(e,n[0]),xg(e,n[1]));case 3:return t(xg(e,n[0]),xg(e,n[1]),xg(e,n[2]));default:for(var r=[],a=0;a<i;a++)r[a]=xg(e,n[a]);return t.apply(void 0,r)}}(e,t.value,t.deps);break;case 2048:n=xg(e,t.deps[0]);break;case 256:n=t.value}return n===mg||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?mg:n}function Sg(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var i=n[t];return i.viewContainerParent=null,pi(n,t),Em.dirtyParentQueries(i),kg(i),i}function Cg(e,t,n){var i=t?Gm(t,t.def.lastRenderRootNode):e.renderElement,r=n.renderer.parentNode(i),a=n.renderer.nextSibling(i);tg(n,2,r,a,void 0)}function kg(e){tg(e,3,null,null,void 0)}var Og={};function Eg(e,t,n,i,r,a){return new Ig(e,t,n,i,r,a)}function Mg(e){return e.viewDefFactory}var Ig=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e,i,r,a,o,s){var l;return Object(h.a)(this,n),(l=t.call(this)).selector=e,l.componentType=i,l._inputs=a,l._outputs=o,l.ngContentSelectors=s,l.viewDefFactory=r,l}return Object(p.a)(n,[{key:"inputs",get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e}},{key:"outputs",get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}},{key:"create",value:function(e,t,n,i){if(!i)throw new Error("ngModule should be provided");var r=eg(this.viewDefFactory),a=r.nodes[0].element.componentProvider.nodeIndex,o=Em.createRootView(e,t||[],n,r,i,Og),s=Sm(o,a).instance;return n&&o.renderer.setAttribute(wm(o,0).renderElement,"ng-version",Mh.full),new Pg(o,new Rg(o),s)}}]),n}(sh),Pg=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e,i,r){var a;return Object(h.a)(this,n),(a=t.call(this))._view=e,a._viewRef=i,a._component=r,a._elDef=a._view.def.nodes[0],a.hostView=i,a.changeDetectorRef=i,a.instance=r,a}return Object(p.a)(n,[{key:"location",get:function(){return new bh(wm(this._view,this._elDef.nodeIndex).renderElement)}},{key:"injector",get:function(){return new Bg(this._view,this._elDef)}},{key:"componentType",get:function(){return this._component.constructor}},{key:"destroy",value:function(){this._viewRef.destroy()}},{key:"onDestroy",value:function(e){this._viewRef.onDestroy(e)}}]),n}(oh);function Tg(e,t,n){return new Dg(e,t,n)}var Dg=function(){function e(t,n,i){Object(h.a)(this,e),this._view=t,this._elDef=n,this._data=i,this._embeddedViews=[]}return Object(p.a)(e,[{key:"element",get:function(){return new bh(this._data.renderElement)}},{key:"injector",get:function(){return new Bg(this._view,this._elDef)}},{key:"parentInjector",get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Wm(e),e=e.parent;return e?new Bg(e,t):new Bg(this._view,null)}},{key:"clear",value:function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=Sg(this._data,e);Em.destroyView(t)}}},{key:"get",value:function(e){var t=this._embeddedViews[e];if(t){var n=new Rg(t);return n.attachToViewContainerRef(this),n}return null}},{key:"length",get:function(){return this._embeddedViews.length}},{key:"createEmbeddedView",value:function(e,t,n){var i=e.createEmbeddedView(t||{});return this.insert(i,n),i}},{key:"createComponent",value:function(e,t,n,i,r){var a=n||this.parentInjector;r||e instanceof hh||(r=a.get(om));var o=e.create(a,i,void 0,r);return this.insert(o.hostView,t),o}},{key:"insert",value:function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n,i,r,a,o=e;return a=(n=this._data).viewContainer._embeddedViews,null==(i=t)&&(i=a.length),(r=o._view).viewContainerParent=this._view,ui(a,i,r),function(e,t){var n=Ym(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var i=n.template._projectedViews;i||(i=n.template._projectedViews=[]),i.push(t),function(e,t){if(!(4&t.flags)){e.nodeFlags|=4,t.flags|=4;for(var n=t.parent;n;)n.childFlags|=4,n=n.parent}}(t.parent.def,t.parentNodeDef)}}(n,r),Em.dirtyParentQueries(r),Cg(n,i>0?a[i-1]:null,r),o.attachToViewContainerRef(this),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n,i,r,a,o,s=this._embeddedViews.indexOf(e._view);return r=t,o=(a=(n=this._data).viewContainer._embeddedViews)[i=s],pi(a,i),null==r&&(r=a.length),ui(a,r,o),Em.dirtyParentQueries(o),kg(o),Cg(n,r>0?a[r-1]:null,o),e}},{key:"indexOf",value:function(e){return this._embeddedViews.indexOf(e._view)}},{key:"remove",value:function(e){var t=Sg(this._data,e);t&&Em.destroyView(t)}},{key:"detach",value:function(e){var t=Sg(this._data,e);return t?new Rg(t):null}}]),e}();function Lg(e){return new Rg(e)}var Rg=function(){function e(t){Object(h.a)(this,e),this._view=t,this._viewContainerRef=null,this._appRef=null}return Object(p.a)(e,[{key:"rootNodes",get:function(){return tg(this._view,0,void 0,void 0,e=[]),e;var e}},{key:"context",get:function(){return this._view.context}},{key:"destroyed",get:function(){return 0!=(128&this._view.state)}},{key:"markForCheck",value:function(){Nm(this._view)}},{key:"detach",value:function(){this._view.state&=-5}},{key:"detectChanges",value:function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Em.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}},{key:"checkNoChanges",value:function(){Em.checkNoChangesView(this._view)}},{key:"reattach",value:function(){this._view.state|=4}},{key:"onDestroy",value:function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}},{key:"destroy",value:function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Em.destroyView(this._view)}},{key:"detachFromAppRef",value:function(){this._appRef=null,kg(this._view),Em.dirtyParentQueries(this._view)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}]),e}();function jg(e,t){return new Ag(e,t)}var Ag=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e,i){var r;return Object(h.a)(this,n),(r=t.call(this))._parentView=e,r._def=i,r}return Object(p.a)(n,[{key:"createEmbeddedView",value:function(e){return new Rg(Em.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}},{key:"elementRef",get:function(){return new bh(wm(this._parentView,this._def.nodeIndex).renderElement)}}]),n}(nm);function Fg(e,t){return new Bg(e,t)}var Bg=function(){function e(t,n){Object(h.a)(this,e),this.view=t,this.elDef=n}return Object(p.a)(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ks.THROW_IF_NOT_FOUND,n=!!this.elDef&&0!=(33554432&this.elDef.flags);return Em.resolveDep(this.view,this.elDef,n,{flags:0,token:e,tokenKey:Pm(e)},t)}}]),e}();function zg(e,t){var n=e.def.nodes[t];if(1&n.flags){var i=wm(e,n.nodeIndex);return n.element.template?i.template:i.renderElement}if(2&n.flags)return _m(e,n.nodeIndex).renderText;if(20240&n.flags)return Sm(e,n.nodeIndex).instance;throw new Error("Illegal state: read nodeValue for node index ".concat(t))}function Ng(e,t,n,i){return new Hg(e,t,n,i)}var Hg=function(){function e(t,n,i,r){Object(h.a)(this,e),this._moduleType=t,this._parent=n,this._bootstrapComponents=i,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){for(var t=e._def,n=e._providers=hi(t.providers.length),i=0;i<t.providers.length;i++){var r=t.providers[i];4096&r.flags||void 0===n[i]&&(n[i]=wg(e,r))}}(this)}return Object(p.a)(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ks.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:U.Default,i=0;return n&U.SkipSelf?i|=1:n&U.Self&&(i|=4),xg(this,{token:e,tokenKey:Pm(e),flags:i},t)}},{key:"instance",get:function(){return this.get(this._moduleType)}},{key:"componentFactoryResolver",get:function(){return this.get(uh)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The ng module ".concat(C(this.instance.constructor)," has already been destroyed."));this._destroyed=!0,function(e,t){for(var n=e._def,i=new Set,r=0;r<n.providers.length;r++)if(131072&n.providers[r].flags){var a=e._providers[r];if(a&&a!==mg){var o=a.ngOnDestroy;"function"!=typeof o||i.has(a)||(o.apply(a),i.add(a))}}}(this),this._destroyListeners.forEach(function(e){return e()})}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}}]),e}(),Vg=Pm(wh),Yg=Pm(bh),Wg=Pm(dm),Gg=Pm(nm),Ug=Pm(Zh),qg=Pm(Ks),Zg=Pm(Ds);function $g(e,t,n,i,r,a,s,l){var c=[];if(s)for(var d in s){var u=Object(o.a)(s[d],2);c[u[0]]={flags:8,name:d,nonMinifiedName:u[1],ns:null,securityContext:null,suffix:null}}var p=[];if(l)for(var h in l)p.push({type:1,propName:h,target:null,eventName:l[h]});return Jg(e,t|=16384,n,i,r,r,a,c,p)}function Xg(e,t,n){return Jg(-1,e|=16,null,0,t,t,n)}function Kg(e,t,n,i,r){return Jg(-1,e,t,0,n,i,r)}function Jg(e,t,n,i,r,a,o,s,l){var c=Xm(n),d=c.matchedQueries,u=c.references,p=c.matchedQueryIds;l||(l=[]),s||(s=[]),a=M(a);var h=Km(o,C(r));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:d,matchedQueryIds:p,references:u,ngContentIndex:-1,childCount:i,bindings:s,bindingFlags:lg(s),outputs:l,element:null,provider:{token:r,value:a,deps:h},text:null,query:null,ngContent:null}}function Qg(e,t){return rf(e,t)}function ef(e,t){for(var n=e;n.parent&&!qm(n);)n=n.parent;return af(n.parent,Wm(n),!0,t.provider.value,t.provider.deps)}function tf(e,t){var n=af(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var i=0;i<t.outputs.length;i++){var r=t.outputs[i],a=n[r.propName];if(!Xc(a))throw new Error("@Output ".concat(r.propName," not initialized in '").concat(n.constructor.name,"'."));var o=a.subscribe(nf(e,t.parent.nodeIndex,r.eventName));e.disposables[t.outputIndex+i]=o.unsubscribe.bind(o)}return n}function nf(e,t,n){return function(i){return Vm(e,t,n,i)}}function rf(e,t){var n=(8192&t.flags)>0,i=t.provider;switch(201347067&t.flags){case 512:return af(e,t.parent,n,i.value,i.deps);case 1024:return function(e,t,n,i,r){var a=r.length;switch(a){case 0:return i();case 1:return i(sf(e,t,n,r[0]));case 2:return i(sf(e,t,n,r[0]),sf(e,t,n,r[1]));case 3:return i(sf(e,t,n,r[0]),sf(e,t,n,r[1]),sf(e,t,n,r[2]));default:for(var o=[],s=0;s<a;s++)o.push(sf(e,t,n,r[s]));return i.apply(void 0,o)}}(e,t.parent,n,i.value,i.deps);case 2048:return sf(e,t.parent,n,i.deps[0]);case 256:return i.value}}function af(e,t,n,i,r){var a=r.length;switch(a){case 0:return new i;case 1:return new i(sf(e,t,n,r[0]));case 2:return new i(sf(e,t,n,r[0]),sf(e,t,n,r[1]));case 3:return new i(sf(e,t,n,r[0]),sf(e,t,n,r[1]),sf(e,t,n,r[2]));default:for(var o=[],s=0;s<a;s++)o.push(sf(e,t,n,r[s]));return u(i,o)}}var of={};function sf(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Ks.THROW_IF_NOT_FOUND;if(8&i.flags)return i.token;var a=e;2&i.flags&&(r=null);var o=i.tokenKey;o===Ug&&(n=!(!t||!t.element.componentView)),t&&1&i.flags&&(n=!1,t=t.parent);for(var s=e;s;){if(t)switch(o){case Vg:var l=lf(s,t,n);return l.renderer;case Yg:return new bh(wm(s,t.nodeIndex).renderElement);case Wg:return wm(s,t.nodeIndex).viewContainer;case Gg:if(t.element.template)return wm(s,t.nodeIndex).template;break;case Ug:var c=lf(s,t,n);return Lg(c);case qg:case Zg:return Fg(s,t);default:var d=(n?t.element.allProviders:t.element.publicProviders)[o];if(d){var u=Sm(s,d.nodeIndex);return u||(u={instance:rf(s,d)},s.nodes[d.nodeIndex]=u),u.instance}}n=qm(s),t=Wm(s),s=s.parent,4&i.flags&&(s=null)}var p=a.root.injector.get(i.token,of);return p!==of||r===of?p:a.root.ngModule.injector.get(i.token,r)}function lf(e,t,n){var i;if(n)i=wm(e,t.nodeIndex).componentView;else for(i=e;i.parent&&!qm(i);)i=i.parent;return i}function cf(e,t,n,i,r,a){if(32768&n.flags){var o=wm(e,n.parent.nodeIndex).componentView;2&o.def.flags&&(o.state|=8)}if(t.instance[n.bindings[i].name]=r,524288&n.flags){a=a||{};var s=Tl.unwrap(e.oldValues[n.bindingIndex+i]);a[n.bindings[i].nonMinifiedName]=new Ne(s,r,0!=(2&e.state))}return e.oldValues[n.bindingIndex+i]=r,a}function df(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,i=0,r=0;r<n.length;r++){var a=n[r],o=a.parent;for(!o&&a.flags&t&&pf(e,r,a.flags&t,i++),0==(a.childFlags&t)&&(r+=a.childCount);o&&1&o.flags&&r===o.nodeIndex+o.childCount;)o.directChildFlags&t&&(i=uf(e,o,t,i)),o=o.parent}}function uf(e,t,n,i){for(var r=t.nodeIndex+1;r<=t.nodeIndex+t.childCount;r++){var a=e.def.nodes[r];a.flags&n&&pf(e,r,a.flags&n,i++),r+=a.childCount}return i}function pf(e,t,n,i){var r=Sm(e,t);if(r){var a=r.instance;a&&(Em.setCurrentNode(e,t),1048576&n&&xm(e,512,i)&&a.ngAfterContentInit(),2097152&n&&a.ngAfterContentChecked(),4194304&n&&xm(e,768,i)&&a.ngAfterViewInit(),8388608&n&&a.ngAfterViewChecked(),131072&n&&a.ngOnDestroy())}}var hf=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e){var i;return Object(h.a)(this,n),(i=t.call(this)).ngModule=e,i}return Object(p.a)(n,[{key:"resolveComponentFactory",value:function(e){var t=Ee(e);return new ff(t,this.ngModule)}}]),n}(uh);function mf(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var gf=new Kn("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Sa}}),ff=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e,i){var r;return Object(h.a)(this,n),(r=t.call(this)).componentDef=e,r.ngModule=i,r.componentType=e.type,r.selector=e.selectors.map(ko).join(","),r.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],r.isBoundToModule=!!i,r}return Object(p.a)(n,[{key:"inputs",get:function(){return mf(this.componentDef.inputs)}},{key:"outputs",get:function(){return mf(this.componentDef.outputs)}},{key:"create",value:function(e,t,n,i){var r,a,o=(i=i||this.ngModule)?function(e,t){return{get:function(n,i,r){var a=e.get(n,of,r);return a!==of||i===of?a:t.get(n,i,r)}}}(e,i.injector):e,s=o.get(_h,tt),l=o.get(Oh,null),c=s.createRenderer(null,this.componentDef),d=this.componentDef.selectors[0][0]||"div",u=n?Xo(c,n,this.componentDef.encapsulation):Na(s.createRenderer(null,this.componentDef),d,function(e){var t=e.toLowerCase();return"svg"===t?$e:"math"===t?Xe:null}(d)),p=this.componentDef.onPush?576:528,h=fl(),m=$o(0,null,null,1,0,null,null,null,null,null),g=Fo(null,m,h,p,null,null,s,c,l,o);Vt(g);try{var f=ml(u,this.componentDef,g,s,c);if(u)if(n)dn(c,u,["ng-version",Mh.full]);else{var v=function(e){for(var t=[],n=[],i=1,r=2;i<e.length;){var a=e[i];if("string"==typeof a)2===r?""!==a&&t.push(a,e[++i]):8===r&&n.push(a);else{if(!xo(r))break;r=a}i++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),y=v.attrs,b=v.classes;y&&dn(c,u,y),b&&b.length>0&&ho(c,u,b.join(" "))}if(a=at(m,Te),void 0!==t)for(var x=a.projection=[],_=0;_<this.ngContentSelectors.length;_++){var w=t[_];x.push(null!=w?Array.from(w):null)}r=gl(f,this.componentDef,g,h,[vl]),Ho(m,g,null)}finally{qt()}return new vf(this.componentType,r,fh(a,g),g,a)}}]),n}(sh),vf=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e,i,r,a,o){var s;return Object(h.a)(this,n),(s=t.call(this)).location=r,s._rootLView=a,s._tNode=o,s.instance=i,s.hostView=s.changeDetectorRef=new Gh(a),s.componentType=e,s}return Object(p.a)(n,[{key:"injector",get:function(){return new Bn(this._tNode,this._rootLView)}},{key:"destroy",value:function(){this.hostView.destroy()}},{key:"onDestroy",value:function(e){this.hostView.onDestroy(e)}}]),n}(oh);function yf(e,t,n,i){return X(function(){var r,a=e;null!==t&&(a.hasOwnProperty("decorators")&&void 0!==a.decorators?(r=a.decorators).push.apply(r,Object(l.a)(t)):a.decorators=t),null!==n&&(a.ctorParameters=n),null!==i&&(a.propDecorators=a.hasOwnProperty("propDecorators")&&void 0!==a.propDecorators?Object.assign(Object.assign({},a.propDecorators),i):i)})}var bf=new Map;function xf(e,t){var n=bf.get(e);_f(e,n&&n.moduleType,t.moduleType),bf.set(e,t)}function _f(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(C(t)," vs ").concat(C(t.name)))}function wf(e){var t=new Set;!function e(n){var i=Pe(n,!0),r=i.id;null!==r&&(_f(r,bf.get(r),n),bf.set(r,n));var a,o=Ea(i.imports),l=Object(s.a)(o);try{for(l.s();!(a=l.n()).done;){var c=a.value;t.has(c)||(t.add(c),e(c))}}catch(d){l.e(d)}finally{l.f()}}(e)}function Sf(e){return bf.get(e)||_e[e]}var Cf=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e,i){var r;Object(h.a)(this,n),(r=t.call(this))._parent=i,r._bootstrapComponents=[],r.injector=Object(a.a)(r),r.destroyCbs=[],r.componentFactoryResolver=new hf(Object(a.a)(r));var o=Pe(e),s=e[he]||null;return s&&Zu(s),r._bootstrapComponents=Ea(o.bootstrap),r._r3Injector=Hs(e,i,[{provide:om,useValue:Object(a.a)(r)},{provide:uh,useValue:r.componentFactoryResolver}],C(e)),r._r3Injector._resolveInjectorDefTypes(),r.instance=r.get(e),r}return Object(p.a)(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ks.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:U.Default;return e===Ks||e===om||e===Ds?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(om),kf=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e){var i;return Object(h.a)(this,n),(i=t.call(this)).moduleType=e,null!==Pe(e)&&wf(e),i}return Object(p.a)(n,[{key:"create",value:function(e){return new Cf(this.moduleType,e)}}]),n}(sm);function Of(e,t,n){var i=Pt()+e,r=bt();return r[i]===Oo?Rl(r,i,n?t.call(n):t()):jl(r,i)}function Ef(e,t,n,i){return Ff(bt(),Pt(),e,t,n,i)}function Mf(e,t,n,i,r){return Bf(bt(),Pt(),e,t,n,i,r)}function If(e,t,n,i,r,a){return zf(bt(),Pt(),e,t,n,i,r,a)}function Pf(e,t,n,i,r,a,o){return Nf(bt(),Pt(),e,t,n,i,r,a,o)}function Tf(e,t,n,i,r,a,o,s){var l=Pt()+e,c=bt(),d=zl(c,l,n,i,r,a);return Al(c,l+4,o)||d?Rl(c,l+5,s?t.call(s,n,i,r,a,o):t(n,i,r,a,o)):jl(c,l+5)}function Df(e,t,n,i,r,a,o,s,l){var c=Pt()+e,d=bt(),u=zl(d,c,n,i,r,a);return Fl(d,c+4,o,s)||u?Rl(d,c+6,l?t.call(l,n,i,r,a,o,s):t(n,i,r,a,o,s)):jl(d,c+6)}function Lf(e,t,n,i,r,a,o,s,l,c){var d=Pt()+e,u=bt(),p=zl(u,d,n,i,r,a);return Bl(u,d+4,o,s,l)||p?Rl(u,d+7,c?t.call(c,n,i,r,a,o,s,l):t(n,i,r,a,o,s,l)):jl(u,d+7)}function Rf(e,t,n,i,r,a,o,s,l,c,d){var u=Pt()+e,p=bt(),h=zl(p,u,n,i,r,a);return zl(p,u+4,o,s,l,c)||h?Rl(p,u+8,d?t.call(d,n,i,r,a,o,s,l,c):t(n,i,r,a,o,s,l,c)):jl(p,u+8)}function jf(e,t,n,i){return Hf(bt(),Pt(),e,t,n,i)}function Af(e,t){var n=e[t];return n===Oo?void 0:n}function Ff(e,t,n,i,r,a){var o=t+n;return Al(e,o,r)?Rl(e,o+1,a?i.call(a,r):i(r)):Af(e,o+1)}function Bf(e,t,n,i,r,a,o){var s=t+n;return Fl(e,s,r,a)?Rl(e,s+2,o?i.call(o,r,a):i(r,a)):Af(e,s+2)}function zf(e,t,n,i,r,a,o,s){var l=t+n;return Bl(e,l,r,a,o)?Rl(e,l+3,s?i.call(s,r,a,o):i(r,a,o)):Af(e,l+3)}function Nf(e,t,n,i,r,a,o,s,l){var c=t+n;return zl(e,c,r,a,o,s)?Rl(e,c+4,l?i.call(l,r,a,o,s):i(r,a,o,s)):Af(e,c+4)}function Hf(e,t,n,i,r,a){for(var o=t+n,s=!1,l=0;l<r.length;l++)Al(e,o++,r[l])&&(s=!0);return s?Rl(e,o,i.apply(a,r)):Af(e,o)}function Vf(e,t){var n,i=xt(),r=e+Te;i.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var i=t[n];if(e===i.name)return i}throw new P("302","The pipe '".concat(e,"' could not be found!"))}(t,i.pipeRegistry),i.data[r]=n,n.onDestroy&&(i.destroyHooks||(i.destroyHooks=[])).push(r,n.onDestroy)):n=i.data[r];var a=n.factory||(n.factory=ze(n.type)),o=Z(Fc);try{var s=bn(!1),l=a();return bn(s),oc(i,bt(),r,l),l}finally{Z(o)}}function Yf(e,t,n){var i=e+Te,r=bt(),a=ot(r,i);return $f(r,Zf(r,i)?Ff(r,Pt(),t,a.transform,n,a):a.transform(n))}function Wf(e,t,n,i){var r=e+Te,a=bt(),o=ot(a,r);return $f(a,Zf(a,r)?Bf(a,Pt(),t,o.transform,n,i,o):o.transform(n,i))}function Gf(e,t,n,i,r){var a=e+Te,o=bt(),s=ot(o,a);return $f(o,Zf(o,a)?zf(o,Pt(),t,s.transform,n,i,r,s):s.transform(n,i,r))}function Uf(e,t,n,i,r,a){var o=e+Te,s=bt(),l=ot(s,o);return $f(s,Zf(s,o)?Nf(s,Pt(),t,l.transform,n,i,r,a,l):l.transform(n,i,r,a))}function qf(e,t,n){var i=e+Te,r=bt(),a=ot(r,i);return $f(r,Zf(r,i)?Hf(r,Pt(),t,a.transform,n,a):a.transform.apply(a,n))}function Zf(e,t){return e[1].data[t].pure}function $f(e,t){return Tl.isWrapped(t)&&(t=Tl.unwrap(t),e[Tt()]=Oo),t}function Xf(e){return function(t){setTimeout(e,void 0,t)}}var Kf=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(h.a)(this,n),(e=t.call(this)).__isAsync=i,e}return Object(p.a)(n,[{key:"emit",value:function(e){Object(i.a)(Object(r.a)(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,a){var o,s,l,c=e,d=t||function(){return null},u=a;if(e&&"object"==typeof e){var p=e;c=null===(o=p.next)||void 0===o?void 0:o.bind(p),d=null===(s=p.error)||void 0===s?void 0:s.bind(p),u=null===(l=p.complete)||void 0===l?void 0:l.bind(p)}this.__isAsync&&(d=Xf(d),c&&(c=Xf(c)),u&&(u=Xf(u)));var h=Object(i.a)(Object(r.a)(n.prototype),"subscribe",this).call(this,{next:c,error:d,complete:u});return e instanceof v.a&&e.add(h),h}}]),n}(y.a);function Jf(){return this._results[Il()]()}var Qf=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];Object(h.a)(this,e),this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;var n=Il(),i=e.prototype;i[n]||(i[n]=Jf)}return Object(p.a)(e,[{key:"changes",get:function(){return this._changes||(this._changes=new Kf)}},{key:"get",value:function(e){return this._results[e]}},{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e,t){var n=this;n.dirty=!1;var i=ci(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(var i=0;i<e.length;i++){var r=e[i],a=t[i];if(n&&(r=n(r),a=n(a)),a!==r)return!1}return!0}(n._results,i,t))&&(n._results=i,n.length=i.length,n.last=i[this.length-1],n.first=i[0])}},{key:"notifyOnChanges",value:function(){!this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),e}(),ev=function(){function e(t){Object(h.a)(this,e),this.queryList=t,this.matches=null}return Object(p.a)(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),tv=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Object(h.a)(this,e),this.queries=t}return Object(p.a)(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var i=null!==t.contentQueries?t.contentQueries[0]:n.length,r=[],a=0;a<i;a++){var o=n.getByIndex(a);r.push(this.queries[o.indexInDeclarationView].clone())}return new e(r)}return null}},{key:"insertView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"detachView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"dirtyQueriesWithMatches",value:function(e){for(var t=0;t<this.queries.length;t++)null!==gv(e,t).matches&&this.queries[t].setDirty()}}]),e}(),nv=Object(p.a)(function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;Object(h.a)(this,e),this.predicate=t,this.flags=n,this.read=i}),iv=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];Object(h.a)(this,e),this.queries=t}return Object(p.a)(e,[{key:"elementStart",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}},{key:"elementEnd",value:function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}},{key:"embeddedTView",value:function(t){for(var n=null,i=0;i<this.length;i++){var r=null!==n?n.length:0,a=this.getByIndex(i).embeddedTView(t,r);a&&(a.indexInDeclarationView=i,null!==n?n.push(a):n=[a])}return null!==n?new e(n):null}},{key:"template",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"length",get:function(){return this.queries.length}},{key:"track",value:function(e){this.queries.push(e)}}]),e}(),rv=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;Object(h.a)(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return Object(p.a)(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){var n=this.metadata.predicate;if(Array.isArray(n))for(var i=0;i<n.length;i++){var r=n[i];this.matchTNodeWithReadOption(e,t,av(t,r)),this.matchTNodeWithReadOption(e,t,Ln(t,e,r,!1,!1))}else n===nm?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Ln(t,e,n,!1,!1))}},{key:"matchTNodeWithReadOption",value:function(e,t,n){if(null!==n){var i=this.metadata.read;if(null!==i)if(i===bh||i===dm||i===nm&&4&t.type)this.addMatch(t.index,-2);else{var r=Ln(t,e,i,!1,!1);null!==r&&this.addMatch(t.index,r)}else this.addMatch(t.index,n)}}},{key:"addMatch",value:function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}]),e}();function av(e,t){var n=e.localNames;if(null!==n)for(var i=0;i<n.length;i+=2)if(n[i]===t)return n[i+1];return null}function ov(e,t,n,i){return-1===n?function(e,t){return 11&e.type?fh(e,t):4&e.type?am(e,t):null}(t,e):-2===n?function(e,t,n){return n===bh?fh(t,e):n===nm?am(t,e):n===dm?gm(t,e):void 0}(e,t,i):Rn(e,e[1],n,t)}function sv(e,t,n,i){var r=t[19].queries[i];if(null===r.matches){for(var a=e.data,o=n.matches,s=[],l=0;l<o.length;l+=2){var c=o[l];s.push(c<0?null:ov(t,a[c],o[l+1],n.metadata.read))}r.matches=s}return r.matches}function lv(e,t,n,i){var r=e.queries.getByIndex(n),a=r.matches;if(null!==a)for(var o=sv(e,t,r,n),s=0;s<a.length;s+=2){var l=a[s];if(l>0)i.push(o[s/2]);else{for(var c=a[s+1],d=t[-l],u=De;u<d.length;u++){var p=d[u];p[17]===p[3]&&lv(p[1],p,c,i)}if(null!==d[9])for(var h=d[9],m=0;m<h.length;m++){var g=h[m];lv(g[1],g,c,i)}}}return i}function cv(e){var t=bt(),n=xt(),i=Bt();zt(i+1);var r=gv(n,i);if(e.dirty&&dt(t)===(2==(2&r.metadata.flags))){if(null===r.matches)e.reset([]);else{var a=r.crossesNgTemplate?lv(n,t,i,[]):sv(n,t,r,i);e.reset(a,xh),e.notifyOnChanges()}return!0}return!1}function dv(e,t,n){var i=xt();i.firstCreatePass&&(mv(i,new nv(e,t,n),-1),2==(2&t)&&(i.staticViewQueries=!0)),hv(i,bt(),t)}function uv(e,t,n,i){var r=xt();if(r.firstCreatePass){var a=wt();mv(r,new nv(t,n,i),a.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(r,e),2==(2&n)&&(r.staticContentQueries=!0)}hv(r,bt(),n)}function pv(){return e=bt(),t=Bt(),e[19].queries[t].queryList;var e,t}function hv(e,t,n){var i=new Qf(4==(4&n));Ko(e,t,i,i.destroy),null===t[19]&&(t[19]=new tv),t[19].queries.push(new ev(i))}function mv(e,t,n){null===e.queries&&(e.queries=new iv),e.queries.track(new rv(t,n))}function gv(e,t){return e.queries.getByIndex(t)}function fv(e,t){return am(e,t)}function vv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U.Default,t=$h(!0);if(null!=t||e&U.Optional)return t;L("ChangeDetectorRef")}var yv=function(){return{"\u0275\u0275attribute":Nl,"\u0275\u0275attributeInterpolate1":Xl,"\u0275\u0275attributeInterpolate2":Kl,"\u0275\u0275attributeInterpolate3":Jl,"\u0275\u0275attributeInterpolate4":Ql,"\u0275\u0275attributeInterpolate5":ec,"\u0275\u0275attributeInterpolate6":tc,"\u0275\u0275attributeInterpolate7":nc,"\u0275\u0275attributeInterpolate8":ic,"\u0275\u0275attributeInterpolateV":rc,"\u0275\u0275defineComponent":ve,"\u0275\u0275defineDirective":ke,"\u0275\u0275defineInjectable":j,"\u0275\u0275defineInjector":F,"\u0275\u0275defineNgModule":we,"\u0275\u0275definePipe":Oe,"\u0275\u0275directiveInject":Fc,"\u0275\u0275getInheritedFactory":zn,"\u0275\u0275inject":Ti,"\u0275\u0275injectAttribute":Hn,"\u0275\u0275invalidFactory":Bc,"\u0275\u0275invalidFactoryDep":Di,"\u0275\u0275injectPipeChangeDetectorRef":vv,"\u0275\u0275templateRefExtractor":fv,"\u0275\u0275NgOnChangesFeature":He,"\u0275\u0275ProvidersFeature":ah,"\u0275\u0275CopyDefinitionFeature":El,"\u0275\u0275InheritDefinitionFeature":xl,"\u0275\u0275nextContext":id,"\u0275\u0275namespaceHTML":en,"\u0275\u0275namespaceMathML":Qt,"\u0275\u0275namespaceSVG":Jt,"\u0275\u0275enableBindings":vt,"\u0275\u0275disableBindings":yt,"\u0275\u0275elementStart":Hc,"\u0275\u0275elementEnd":Vc,"\u0275\u0275element":Yc,"\u0275\u0275elementContainerStart":Wc,"\u0275\u0275elementContainerEnd":Gc,"\u0275\u0275elementContainer":Uc,"\u0275\u0275pureFunction0":Of,"\u0275\u0275pureFunction1":Ef,"\u0275\u0275pureFunction2":Mf,"\u0275\u0275pureFunction3":If,"\u0275\u0275pureFunction4":Pf,"\u0275\u0275pureFunction5":Tf,"\u0275\u0275pureFunction6":Df,"\u0275\u0275pureFunction7":Lf,"\u0275\u0275pureFunction8":Rf,"\u0275\u0275pureFunctionV":jf,"\u0275\u0275getCurrentView":qc,"\u0275\u0275restoreView":_t,"\u0275\u0275listener":Kc,"\u0275\u0275projection":od,"\u0275\u0275syntheticHostProperty":Pu,"\u0275\u0275syntheticHostListener":Jc,"\u0275\u0275pipeBind1":Yf,"\u0275\u0275pipeBind2":Wf,"\u0275\u0275pipeBind3":Gf,"\u0275\u0275pipeBind4":Uf,"\u0275\u0275pipeBindV":qf,"\u0275\u0275projectionDef":ad,"\u0275\u0275hostProperty":Iu,"\u0275\u0275property":zc,"\u0275\u0275propertyInterpolate":sd,"\u0275\u0275propertyInterpolate1":ld,"\u0275\u0275propertyInterpolate2":cd,"\u0275\u0275propertyInterpolate3":dd,"\u0275\u0275propertyInterpolate4":ud,"\u0275\u0275propertyInterpolate5":pd,"\u0275\u0275propertyInterpolate6":hd,"\u0275\u0275propertyInterpolate7":md,"\u0275\u0275propertyInterpolate8":gd,"\u0275\u0275propertyInterpolateV":fd,"\u0275\u0275pipe":Vf,"\u0275\u0275queryRefresh":cv,"\u0275\u0275viewQuery":dv,"\u0275\u0275loadQuery":pv,"\u0275\u0275contentQuery":uv,"\u0275\u0275reference":sc,"\u0275\u0275classMap":Dd,"\u0275\u0275classMapInterpolate1":nu,"\u0275\u0275classMapInterpolate2":iu,"\u0275\u0275classMapInterpolate3":ru,"\u0275\u0275classMapInterpolate4":au,"\u0275\u0275classMapInterpolate5":ou,"\u0275\u0275classMapInterpolate6":su,"\u0275\u0275classMapInterpolate7":lu,"\u0275\u0275classMapInterpolate8":cu,"\u0275\u0275classMapInterpolateV":du,"\u0275\u0275styleMap":Pd,"\u0275\u0275styleMapInterpolate1":uu,"\u0275\u0275styleMapInterpolate2":pu,"\u0275\u0275styleMapInterpolate3":hu,"\u0275\u0275styleMapInterpolate4":mu,"\u0275\u0275styleMapInterpolate5":gu,"\u0275\u0275styleMapInterpolate6":fu,"\u0275\u0275styleMapInterpolate7":vu,"\u0275\u0275styleMapInterpolate8":yu,"\u0275\u0275styleMapInterpolateV":bu,"\u0275\u0275styleProp":Md,"\u0275\u0275stylePropInterpolate1":xu,"\u0275\u0275stylePropInterpolate2":_u,"\u0275\u0275stylePropInterpolate3":wu,"\u0275\u0275stylePropInterpolate4":Su,"\u0275\u0275stylePropInterpolate5":Cu,"\u0275\u0275stylePropInterpolate6":ku,"\u0275\u0275stylePropInterpolate7":Ou,"\u0275\u0275stylePropInterpolate8":Eu,"\u0275\u0275stylePropInterpolateV":Mu,"\u0275\u0275classProp":Id,"\u0275\u0275advance":Eo,"\u0275\u0275template":ac,"\u0275\u0275text":Gd,"\u0275\u0275textInterpolate":Ud,"\u0275\u0275textInterpolate1":qd,"\u0275\u0275textInterpolate2":Zd,"\u0275\u0275textInterpolate3":$d,"\u0275\u0275textInterpolate4":Xd,"\u0275\u0275textInterpolate5":Kd,"\u0275\u0275textInterpolate6":Jd,"\u0275\u0275textInterpolate7":Qd,"\u0275\u0275textInterpolate8":eu,"\u0275\u0275textInterpolateV":tu,"\u0275\u0275i18n":Up,"\u0275\u0275i18nAttributes":qp,"\u0275\u0275i18nExp":Zp,"\u0275\u0275i18nStart":Wp,"\u0275\u0275i18nEnd":Gp,"\u0275\u0275i18nApply":$p,"\u0275\u0275i18nPostprocess":Xp,"\u0275\u0275resolveWindow":Ca,"\u0275\u0275resolveDocument":ka,"\u0275\u0275resolveBody":Oa,"\u0275\u0275setComponentScope":ye,"\u0275\u0275setNgModuleScope":Se,"\u0275\u0275sanitizeHtml":qr,"\u0275\u0275sanitizeStyle":Zr,"\u0275\u0275sanitizeResourceUrl":Xr,"\u0275\u0275sanitizeScript":Kr,"\u0275\u0275sanitizeUrl":$r,"\u0275\u0275sanitizeUrlOrResourceUrl":ta,"\u0275\u0275trustConstantHtml":Jr,"\u0275\u0275trustConstantResourceUrl":Qr,forwardRef:E,resolveForwardRef:M}}(),bv=null;function xv(){bv=null}var _v=[],wv=[];function Sv(e,t){wv.push({moduleType:e,ngModule:t})}var Cv=!1;function kv(){if(!Cv){Cv=!0;try{for(var e=wv.length-1;e>=0;e--){var t=wv[e],n=t.moduleType,i=t.ngModule;i.declarations&&i.declarations.every(Ov)&&(wv.splice(e,1),Pv(n,i))}}finally{Cv=!1}}}function Ov(e){return Array.isArray(e)?e.every(Ov):!!M(e)}function Ev(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Mv(e,t),Sv(e,t)}function Mv(e,t){var n=ci(t.declarations||_v),i=null;Object.defineProperty(e,pe,{configurable:!0,get:function(){return null===i&&((i=oi().compileNgModule(yv,"ng:///".concat(e.name,"/\u0275mod.js"),{type:e,bootstrap:ci(t.bootstrap||_v).map(M),declarations:n.map(M),imports:ci(t.imports||_v).map(M).map(Lv),exports:ci(t.exports||_v).map(M).map(Lv),schemas:t.schemas?ci(t.schemas):null,id:t.id||null})).schemas||(i.schemas=[])),i}});var r=null;Object.defineProperty(e,me,{get:function(){if(null===r){var t=oi();r=t.compileFactory(yv,"ng:///".concat(e.name,"/\u0275fac.js"),{name:e.name,type:e,deps:Gi(e),injectFn:"inject",target:t.R3FactoryTarget.NgModule,typeArgumentCount:0})}return r},configurable:!1});var a=null;Object.defineProperty(e,Y,{get:function(){if(null===a){var n={name:e.name,type:e,providers:t.providers||_v,imports:[(t.imports||_v).map(M),(t.exports||_v).map(M)]};a=oi().compileInjector(yv,"ng:///".concat(e.name,"/\u0275inj.js"),n)}return a},configurable:!1})}function Iv(){new WeakMap,new WeakMap,wv.length=0}function Pv(e,t){var n=ci(t.declarations||_v),i=Dv(e);n.forEach(function(t){t.hasOwnProperty(ce)?Tv(Ee(t),i):t.hasOwnProperty(de)||t.hasOwnProperty(ue)||(t.ngSelectorScope=e)})}function Tv(e,t){e.directiveDefs=function(){return Array.from(t.compilation.directives).map(function(e){return e.hasOwnProperty(ce)?Ee(e):Me(e)}).filter(function(e){return!!e})},e.pipeDefs=function(){return Array.from(t.compilation.pipes).map(function(e){return Ie(e)})},e.schemas=t.schemas,e.tView=null}function Dv(e){if(!Rv(e))throw new Error("".concat(e.name," does not have a module def (\u0275mod property)"));var t=Pe(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;var n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Ea(t.imports).forEach(function(e){var t=e;if(!Rv(t))throw new Error("Importing ".concat(t.name," which does not have a \u0275mod property"));var i=Dv(t);i.exported.directives.forEach(function(e){return n.compilation.directives.add(e)}),i.exported.pipes.forEach(function(e){return n.compilation.pipes.add(e)})}),Ea(t.declarations).forEach(function(e){Ie(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}),Ea(t.exports).forEach(function(e){var t=e;if(Rv(t)){var i=Dv(t);i.exported.directives.forEach(function(e){n.compilation.directives.add(e),n.exported.directives.add(e)}),i.exported.pipes.forEach(function(e){n.compilation.pipes.add(e),n.exported.pipes.add(e)})}else Ie(t)?n.exported.pipes.add(t):n.exported.directives.add(t)}),t.transitiveCompileScopes=n,n}function Lv(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function Rv(e){return!!Pe(e)}var jv=0;function Av(e,t){var n=null;!function(e,t){Ji(t)&&(Xi.set(e,t),Ki.add(e))}(e,t),zv(e,t),Object.defineProperty(e,ce,{get:function(){if(null===n){var i=oi();if(Ji(t)){var r=["Component '".concat(e.name,"' is not resolved:")];throw t.templateUrl&&r.push(" - templateUrl: ".concat(t.templateUrl)),t.styleUrls&&t.styleUrls.length&&r.push(" - styleUrls: ".concat(JSON.stringify(t.styleUrls))),r.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(r.join("\n"))}var a=t.preserveWhitespaces;void 0===a&&(a=null!==bv&&void 0!==bv.preserveWhitespaces&&bv.preserveWhitespaces);var o=t.encapsulation;void 0===o&&(o=null!==bv&&void 0!==bv.defaultEncapsulation?bv.defaultEncapsulation:ee.Emulated);var s=t.templateUrl||"ng:///".concat(e.name,"/template.html"),l=Object.assign(Object.assign({},Hv(e,t)),{typeSourceSpan:i.createParseSourceSpan("Component",e.name,s),template:t.template||"",preserveWhitespaces:a,styles:t.styles||le,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:o,interpolation:t.interpolation,viewProviders:t.viewProviders||null});jv++;try{l.usesInheritance&&Vv(e),n=i.compileComponent(yv,s,l)}finally{jv--}if(0===jv&&kv(),void 0!==e.ngSelectorScope){var c=Dv(e.ngSelectorScope);Tv(n,c)}}return n},configurable:!1})}function Fv(e,t){var n=null;zv(e,t||{}),Object.defineProperty(e,de,{get:function(){if(null===n){var i=Bv(e,t||{});n=oi().compileDirective(yv,i.sourceMapUrl,i.metadata)}return n},configurable:!1})}function Bv(e,t){var n=e&&e.name,i="ng:///".concat(n,"/\u0275dir.js"),r=oi(),a=Hv(e,t);return a.typeSourceSpan=r.createParseSourceSpan("Directive",n,i),a.usesInheritance&&Vv(e),{metadata:a,sourceMapUrl:i}}function zv(e,t){var n=null;Object.defineProperty(e,me,{get:function(){if(null===n){var i=Bv(e,t),r=oi();n=r.compileFactory(yv,"ng:///".concat(e.name,"/\u0275fac.js"),Object.assign(Object.assign({},i.metadata),{injectFn:"directiveInject",target:r.R3FactoryTarget.Directive}))}return n},configurable:!1})}function Nv(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function Hv(e,t){var n,i=Wi(),r=i.ownPropMetadata(e);return{name:e.name,type:e,typeArgumentCount:0,selector:void 0!==t.selector?t.selector:null,deps:Gi(e),host:t.host||oe,propMetadata:r,inputs:t.inputs||le,outputs:t.outputs||le,queries:Yv(e,r,Wv),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!Nv(e),exportAs:(n=t.exportAs,void 0===n?null:qv(n)),providers:t.providers||null,viewQueries:Yv(e,r,Gv)}}function Vv(e){for(var t=Object.prototype,n=Object.getPrototypeOf(e.prototype).constructor;n&&n!==t;)Me(n)||Ee(n)||!$v(n)||Fv(n,null),n=Object.getPrototypeOf(n)}function Yv(e,t,n){var i=[],r=function(r){if(t.hasOwnProperty(r)){var a=t[r];a.forEach(function(t){if(n(t)){if(!t.selector)throw new Error("Can't construct a query for the property \"".concat(r,'" of ')+'"'.concat(D(e),"\" since the query selector wasn't defined."));if(a.some(Uv))throw new Error("Cannot combine @Input decorators with query decorators");i.push(function(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?qv(n):M(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly};var n}(r,t))}})}};for(var a in t)r(a);return i}function Wv(e){var t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function Gv(e){var t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Uv(e){return"Input"===e.ngMetadataName}function qv(e){return e.split(",").map(function(e){return e.trim()})}var Zv=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function $v(e){var t=Wi();if(Zv.some(function(n){return t.hasLifecycleHook(e,n)}))return!0;var n=t.propMetadata(e);for(var i in n)for(var r=n[i],a=0;a<r.length;a++){var o=r[a],s=o.ngMetadataName;if(Uv(o)||Wv(o)||Gv(o)||"Output"===s||"HostBinding"===s||"HostListener"===s)return!0}return!1}function Xv(e,t){var n=null,i=null;Object.defineProperty(e,me,{get:function(){if(null===i){var n=Kv(e,t),r=oi();i=r.compileFactory(yv,"ng:///".concat(n.name,"/\u0275fac.js"),Object.assign(Object.assign({},n),{injectFn:"directiveInject",target:r.R3FactoryTarget.Pipe}))}return i},configurable:!1}),Object.defineProperty(e,ue,{get:function(){if(null===n){var i=Kv(e,t);n=oi().compilePipe(yv,"ng:///".concat(i.name,"/\u0275pipe.js"),i)}return n},configurable:!1})}function Kv(e,t){return{type:e,typeArgumentCount:0,name:e.name,deps:Gi(e),pipeName:t.name,pure:void 0===t.pure||t.pure}}var Jv=Gn("Directive",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e},void 0,void 0,function(e,t){return cy(e,t)}),Qv=Gn("Component",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.assign({changeDetection:K.Default},e)},Jv,void 0,function(e,t){return ly(e,t)}),ey=Gn("Pipe",function(e){return Object.assign({pure:!0},e)},void 0,void 0,function(e,t){return dy(e,t)}),ty=Zn("Input",function(e){return{bindingPropertyName:e}}),ny=Zn("Output",function(e){return{bindingPropertyName:e}}),iy=Zn("HostBinding",function(e){return{hostPropertyName:e}}),ry=Zn("HostListener",function(e,t){return{eventName:e,args:t}}),ay=Av,oy=Fv,sy=Xv,ly=ay,cy=oy,dy=sy,uy=Gn("NgModule",function(e){return e},void 0,void 0,function(e,t){return hy(e,t)}),py=Ev,hy=py,my=new Kn("Application Initializer"),gy=function(){var e=function(){function e(t){var n=this;Object(h.a)(this,e),this.appInits=t,this.resolve=mh,this.reject=mh,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,t){n.resolve=e,n.reject=t})}return Object(p.a)(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var i=0;i<this.appInits.length;i++){var r=this.appInits[i]();Zc(r)&&t.push(r)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ti(my,8))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e}(),fy=new Kn("AppId");function vy(){return"".concat(by()).concat(by()).concat(by())}var yy={provide:fy,useFactory:vy,deps:[]};function by(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var xy=new Kn("Platform Initializer"),_y=new Kn("Platform ID"),wy=new Kn("appBootstrapListener"),Sy=new Kn("Application Packages Root URL"),Cy=function(){var e=function(){function e(){Object(h.a)(this,e)}return Object(p.a)(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e}(),ky=new Kn("LocaleId"),Oy=new Kn("DefaultCurrencyCode"),Ey=new Kn("Translations"),My=new Kn("TranslationsFormat"),Iy=function(e){return e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore",e}({}),Py=!0,Ty=Py,Dy=Object(p.a)(function e(t,n){Object(h.a)(this,e),this.ngModuleFactory=t,this.componentFactories=n}),Ly=function(e){return new kf(e)},Ry=Ly,jy=function(e){return Promise.resolve(Ly(e))},Ay=jy,Fy=function(e){var t=Ly(e),n=Ea(Pe(e).declarations).reduce(function(e,t){var n=Ee(t);return n&&e.push(new ff(n)),e},[]);return new Dy(t,n)},By=Fy,zy=function(e){return Promise.resolve(Fy(e))},Ny=zy,Hy=function(){var e=function(){function e(){Object(h.a)(this,e),this.compileModuleSync=Ry,this.compileModuleAsync=Ay,this.compileModuleAndAllComponentsSync=By,this.compileModuleAndAllComponentsAsync=Ny}return Object(p.a)(e,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e}(),Vy=new Kn("compilerOptions"),Yy=Object(p.a)(function e(){Object(h.a)(this,e)}),Wy=function(){return Promise.resolve(0)}();function Gy(e){"undefined"==typeof Zone?Wy.then(function(){e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Uy=function(){function e(t){var n=t.enableLongStackTrace,i=void 0!==n&&n,r=t.shouldCoalesceEventChangeDetection,a=void 0!==r&&r,o=t.shouldCoalesceRunChangeDetection,s=void 0!==o&&o;if(Object(h.a)(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Kf(!1),this.onMicrotaskEmpty=new Kf(!1),this.onStable=new Kf(!1),this.onError=new Kf(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();var l,c,d=this;d._nesting=0,d._outer=d._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(d._inner=d._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(d._inner=d._inner.fork(Zone.longStackTraceZoneSpec)),d.shouldCoalesceEventChangeDetection=!s&&a,d.shouldCoalesceRunChangeDetection=s,d.lastRequestAnimationFrameId=-1,d.nativeRequestAnimationFrame=function(){var e=ae.requestAnimationFrame,t=ae.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var i=t[Zone.__symbol__("OriginalDelegate")];i&&(t=i)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,c=function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(ae,function(){e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",function(){e.lastRequestAnimationFrameId=-1,$y(e),Zy(e)},void 0,function(){},function(){})),e.fakeTopEventTask.invoke()}),$y(e))}(l)},(l=d)._inner=l._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(e,t,n,i,r,a){try{return Xy(l),e.invokeTask(n,i,r,a)}finally{(l.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||l.shouldCoalesceRunChangeDetection)&&c(),Ky(l)}},onInvoke:function(e,t,n,i,r,a,o){try{return Xy(l),e.invoke(n,i,r,a,o)}finally{l.shouldCoalesceRunChangeDetection&&c(),Ky(l)}},onHasTask:function(e,t,n,i){e.hasTask(n,i),t===n&&("microTask"==i.change?(l._hasPendingMicrotasks=i.microTask,$y(l),Zy(l)):"macroTask"==i.change&&(l.hasPendingMacrotasks=i.macroTask))},onHandleError:function(e,t,n,i){return e.handleError(n,i),l.runOutsideAngular(function(){return l.onError.emit(i)}),!1}})}return Object(p.a)(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,i){var r=this._inner,a=r.scheduleEventTask("NgZoneEvent: "+i,e,qy,mh,mh);try{return r.runTask(a,t,n)}finally{r.cancelTask(a)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),e}(),qy={};function Zy(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function $y(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Xy(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Ky(e){e._nesting--,Zy(e)}var Jy=function(){function e(){Object(h.a)(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Kf,this.onMicrotaskEmpty=new Kf,this.onStable=new Kf,this.onError=new Kf}return Object(p.a)(e,[{key:"run",value:function(e,t,n){return e.apply(t,n)}},{key:"runGuarded",value:function(e,t,n){return e.apply(t,n)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,t,n,i){return e.apply(t,n)}}]),e}(),Qy=function(){var e=function(){function e(t){var n=this;Object(h.a)(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run(function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return Object(p.a)(e,[{key:"_watchAngularEvents",value:function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){Uy.assertNotInAngularZone(),Gy(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var e=this;if(this.isStable())Gy(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]}},{key:"addCallback",value:function(e,t,n){var i=this,r=-1;t&&t>0&&(r=setTimeout(function(){i._callbacks=i._callbacks.filter(function(e){return e.timeoutId!==r}),e(i._didWork,i.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ti(Uy))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e}(),eb=function(){var e=function(){function e(){Object(h.a)(this,e),this._applications=new Map,ib.addToWindow(this)}return Object(p.a)(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return ib.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e}();function tb(e){ib=e}var nb,ib=new(function(){function e(){Object(h.a)(this,e)}return Object(p.a)(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),rb=!0,ab=!1;function ob(){return ab=!0,rb}function sb(){if(ab)throw new Error("Cannot enable prod mode after platform setup.");rb=!1}var lb=cb;function cb(e,t,n){var i=new kf(n);return Promise.resolve(i)}var db=ub;function ub(e){return e.isBoundToModule}var pb=new Kn("AllowMultipleToken"),hb=Object(p.a)(function e(t,n){Object(h.a)(this,e),this.name=t,this.token=n});function mb(e){if(nb&&!nb.destroyed&&!nb.injector.get(pb,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");nb=e.get(bb);var t=e.get(xy,null);return t&&t.forEach(function(e){return e()}),nb}function gb(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i="Platform: ".concat(t),r=new Kn(i);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=yb();if(!a||a.injector.get(pb,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{var o=n.concat(t).concat({provide:r,useValue:!0},{provide:Rs,useValue:"platform"});mb(Ks.create({providers:o,name:i}))}return fb(r)}}function fb(e){var t=yb();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}function vb(){nb&&!nb.destroyed&&nb.destroy()}function yb(){return nb&&!nb.destroyed?nb:null}var bb=function(){var e=function(){function e(t){Object(h.a)(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return Object(p.a)(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,i,r=this,a=(i={ngZoneEventCoalescing:t&&t.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:t&&t.ngZoneRunCoalescing||!1},"noop"===(n=t?t.ngZone:void 0)?new Jy:("zone.js"===n?void 0:n)||new Uy({enableLongStackTrace:ob(),shouldCoalesceEventChangeDetection:!!(null==i?void 0:i.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==i?void 0:i.ngZoneRunCoalescing)})),o=[{provide:Uy,useValue:a}];return a.run(function(){var t=Ks.create({providers:o,parent:r.injector,name:e.moduleType.name}),n=e.create(t),i=n.injector.get(oa,null);if(!i)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.runOutsideAngular(function(){var e=a.onError.subscribe({next:function(e){i.handleError(e)}});n.onDestroy(function(){wb(r._modules,n),e.unsubscribe()})}),function(e,t,i){try{var a=((o=n.injector.get(gy)).runInitializers(),o.donePromise.then(function(){return Ty&&Zu(n.injector.get(ky,Vu)||Vu),r._moduleDoBootstrap(n),n}));return Zc(a)?a.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):a}catch(s){throw t.runOutsideAngular(function(){return e.handleError(s)}),s}var o}(i,a)})}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=xb({},n);return lb(this.injector,i,e).then(function(e){return t.bootstrapModuleFactory(e,i)})}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(_b);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(C(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)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"injector",get:function(){return this._injector}},{key:"destroy",value: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}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ti(Ks))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e}();function xb(e,t){return Array.isArray(t)?t.reduce(xb,e):Object.assign(Object.assign({},e),t)}var _b=function(){var e=function(){function e(t,n,i,r,a){var o=this;Object(h.a)(this,e),this._zone=t,this._injector=n,this._exceptionHandler=i,this._componentFactoryResolver=r,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:function(){o._zone.run(function(){o.tick()})}});var s=new b.a(function(e){o._stable=o._zone.isStable&&!o._zone.hasPendingMacrotasks&&!o._zone.hasPendingMicrotasks,o._zone.runOutsideAngular(function(){e.next(o._stable),e.complete()})}),l=new b.a(function(e){var t;o._zone.runOutsideAngular(function(){t=o._zone.onStable.subscribe(function(){Uy.assertNotInAngularZone(),Gy(function(){o._stable||o._zone.hasPendingMacrotasks||o._zone.hasPendingMicrotasks||(o._stable=!0,e.next(!0))})})});var n=o._zone.onUnstable.subscribe(function(){Uy.assertInAngularZone(),o._stable&&(o._stable=!1,o._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=Object(x.a)(s,l.pipe(Object(_.a)()))}return Object(p.a)(e,[{key:"bootstrap",value:function(e,t){var n,i=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 sh?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var r=db(n)?void 0:this._injector.get(om),a=n.create(Ks.NULL,[],t||n.selector,r),o=a.location.nativeElement,s=a.injector.get(Qy,null),l=s&&a.injector.get(eb);return s&&l&&l.registerApplication(o,s),a.onDestroy(function(){i.detachView(a.hostView),wb(i.components,a),l&&l.unregisterApplication(o)}),this._loadComponent(a),a}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=Object(s.a)(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(i){n.e(i)}finally{n.f()}}catch(r){this._zone.runOutsideAngular(function(){return e._exceptionHandler.handleError(r)})}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;wb(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(wy,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach(function(e){return e.destroy()}),this._onMicrotaskEmptySubscription.unsubscribe()}},{key:"viewCount",get:function(){return this._views.length}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ti(Uy),Ti(Ks),Ti(oa),Ti(uh),Ti(gy))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e}();function wb(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Sb=Object(p.a)(function e(){Object(h.a)(this,e)});function Cb(e){var t=Sf(e);if(!t)throw Eb(e);return t}function kb(e){var t=Sf(e);if(!t)throw Eb(e);return new kf(t)}var Ob=kb;function Eb(e){return new Error("No module with ID ".concat(e," loaded"))}var Mb=Object(p.a)(function e(){Object(h.a)(this,e)}),Ib={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Pb=function(){var e=function(){function e(t,n){Object(h.a)(this,e),this._compiler=t,this._config=n||Ib}return Object(p.a)(e,[{key:"load",value:function(e){return!Ty&&this._compiler instanceof Hy?this.loadFactory(e):this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,i=e.split("#"),r=Object(o.a)(i,2),a=r[0],s=r[1];return void 0===s&&(s="default"),n("zn8P")(a).then(function(e){return e[s]}).then(function(e){return Tb(e,a,s)}).then(function(e){return t._compiler.compileModuleAsync(e)})}},{key:"loadFactory",value:function(e){var t=e.split("#"),i=Object(o.a)(t,2),r=i[0],a=i[1],s="NgFactory";return void 0===a&&(a="default",s=""),n("zn8P")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then(function(e){return e[a+s]}).then(function(e){return Tb(e,r,a)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ti(Hy),Ti(Mb,8))},e.\u0275prov=j({token:e,factory:e.\u0275fac}),e}();function Tb(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var Db=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(){return Object(h.a)(this,n),t.apply(this,arguments)}return Object(p.a)(n)}(Zh),Lb=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(){return Object(h.a)(this,n),t.apply(this,arguments)}return Object(p.a)(n)}(Db),Rb=Object(p.a)(function e(t,n){Object(h.a)(this,e),this.name=t,this.callback=n}),jb=function(){function e(t,n,i){Object(h.a)(this,e),this.listeners=[],this.parent=null,this._debugContext=i,this.nativeNode=t,n&&n instanceof Ab&&n.addChild(this)}return Object(p.a)(e,[{key:"injector",get:function(){return this._debugContext.injector}},{key:"componentInstance",get:function(){return this._debugContext.component}},{key:"context",get:function(){return this._debugContext.context}},{key:"references",get:function(){return this._debugContext.references}},{key:"providerTokens",get:function(){return this._debugContext.providerTokens}}]),e}(),Ab=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e,i,r){var a;return Object(h.a)(this,n),(a=t.call(this,e,i,r)).properties={},a.attributes={},a.classes={},a.styles={},a.childNodes=[],a.nativeElement=e,a}return Object(p.a)(n,[{key:"addChild",value:function(e){e&&(this.childNodes.push(e),e.parent=this)}},{key:"removeChild",value:function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}},{key:"insertChildrenAfter",value:function(e,t){var n,i=this,r=this.childNodes.indexOf(e);-1!==r&&((n=this.childNodes).splice.apply(n,[r+1,0].concat(Object(l.a)(t))),t.forEach(function(t){t.parent&&t.parent.removeChild(t),e.parent=i}))}},{key:"insertBefore",value: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))}},{key:"query",value:function(e){return this.queryAll(e)[0]||null}},{key:"queryAll",value:function(e){var t=[];return Bb(this,e,t),t}},{key:"queryAllNodes",value:function(e){var t=[];return zb(this,e,t),t}},{key:"children",get:function(){return this.childNodes.filter(function(e){return e instanceof n})}},{key:"triggerEventHandler",value:function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})}}]),n}(jb);function Fb(e){return e.map(function(e){return e.nativeElement})}function Bb(e,t,n){e.childNodes.forEach(function(e){e instanceof Ab&&(t(e)&&n.push(e),Bb(e,t,n))})}function zb(e,t,n){e instanceof Ab&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof Ab&&zb(e,t,n)})}var Nb=function(){function e(t){Object(h.a)(this,e),this.nativeNode=t}return Object(p.a)(e,[{key:"parent",get:function(){var e=this.nativeNode.parentNode;return e?new Hb(e):null}},{key:"injector",get:function(){return nl(this.nativeNode)}},{key:"componentInstance",get:function(){var e=this.nativeNode;return e&&(Js(e)||el(e))}},{key:"context",get:function(){return Js(this.nativeNode)||Qs(this.nativeNode)}},{key:"listeners",get:function(){return ol(this.nativeNode).filter(function(e){return"dom"===e.type})}},{key:"references",get:function(){return null===(e=rl(this.nativeNode,!1))?{}:(void 0===e.localRefs&&(e.localRefs=function(e,t){var n=e[1].data[t];if(n&&n.localNames){for(var i={},r=n.index+1,a=0;a<n.localNames.length;a+=2)i[n.localNames[a]]=e[r],r++;return i}return null}(e.lView,e.nodeIndex)),e.localRefs||{});var e}},{key:"providerTokens",get:function(){return function(e){var t=rl(e,!1);if(null===t)return[];for(var n,i=t.lView[1],r=i.data[t.nodeIndex],a=[],o=r.directiveEnd,s=1048575&r.providerIndexes;s<o;s++){var l=i.data[s];void 0!==(n=l).type&&void 0!==n.template&&void 0!==n.declaredInputs&&(l=l.type),a.push(l)}return a}(this.nativeNode)}}]),e}(),Hb=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e){return Object(h.a)(this,n),t.call(this,e)}return Object(p.a)(n,[{key:"nativeElement",get:function(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}},{key:"name",get:function(){try{var e=rl(this.nativeNode);return e.lView[1].data[e.nodeIndex].value}catch(t){return this.nativeNode.nodeName}}},{key:"properties",get:function(){var e=rl(this.nativeNode,!1);if(null==e)return{};var t=e.lView,n=t[1].data,i=n[e.nodeIndex],r={};return function(e,t){if(e)for(var n=Object.getPrototypeOf(e),i=Node.prototype;null!==n&&n!==i;){var r=Object.getOwnPropertyDescriptors(n);for(var a in r)if(!a.startsWith("__")&&!a.startsWith("on")){var o=e[a];Vb(o)&&(t[a]=o)}n=Object.getPrototypeOf(n)}}(this.nativeElement,r),function(e,t,n,i){var r=t.propertyBindings;if(null!==r)for(var a=0;a<r.length;a++){var o=r[a],s=i[o].split("\ufffd"),l=s[0];if(s.length>1){for(var c=s[1],d=1;d<s.length-1;d++)c+=T(n[o+d-1])+s[d+1];e[l]=c}else e[l]=n[o]}}(r,i,t,n),r}},{key:"attributes",get:function(){var e={},t=this.nativeElement;if(!t)return e;var n=rl(t,!1);if(null==n)return{};var i=n.lView[1].data[n.nodeIndex].attrs,r=[];if(i)for(var a=0;a<i.length;){var o=i[a];if("string"!=typeof o)break;e[o]=i[a+1],r.push(o.toLowerCase()),a+=2}for(var s=t.attributes,l=0;l<s.length;l++){var c=s[l],d=c.name.toLowerCase();-1===r.indexOf(d)&&(e[d]=c.value)}return e}},{key:"styles",get:function(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}},{key:"classes",get:function(){var e={},t=this.nativeElement.className;return(t&&"string"!=typeof t?t.baseVal.split(" "):t.split(" ")).forEach(function(t){return e[t]=!0}),e}},{key:"childNodes",get:function(){for(var e=this.nativeNode.childNodes,t=[],n=0;n<e.length;n++)t.push($b(e[n]));return t}},{key:"children",get:function(){var e=this.nativeElement;if(!e)return[];for(var t=e.children,n=[],i=0;i<t.length;i++)n.push($b(t[i]));return n}},{key:"query",value:function(e){return this.queryAll(e)[0]||null}},{key:"queryAll",value:function(e){var t=[];return Yb(this,e,t,!0),t}},{key:"queryAllNodes",value:function(e){var t=[];return Yb(this,e,t,!1),t}},{key:"triggerEventHandler",value:function(e,t){var n=this.nativeNode,i=[];this.listeners.forEach(function(r){if(r.name===e){var a=r.callback;a.call(n,t),i.push(a)}}),"function"==typeof n.eventListeners&&n.eventListeners(e).forEach(function(e){if(-1!==e.toString().indexOf("__ngUnwrap__")){var r=e("__ngUnwrap__");return-1===i.indexOf(r)&&r.call(n,t)}})}}]),n}(Nb);function Vb(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Yb(e,t,n,i){var r=rl(e.nativeNode,!1);null!==r?Wb(r.lView[1].data[r.nodeIndex],r.lView,t,n,i,e.nativeNode):qb(e.nativeNode,t,n,i)}function Wb(e,t,n,i,r,a){var o=function(e,t){var n=null===e?-1:e.index;return-1!==n?nt(t[n]):null}(e,t);if(11&e.type){if(Ub(o,n,i,r,a),Ae(e)){var l=st(e.index,t);l&&l[1].firstChild&&Wb(l[1].firstChild,l,n,i,r,a)}else e.child&&Wb(e.child,t,n,i,r,a),o&&qb(o,n,i,r);var c=t[e.index];Re(c)&&Gb(c,n,i,r,a)}else if(4&e.type){var d=t[e.index];Ub(d[7],n,i,r,a),Gb(d,n,i,r,a)}else if(16&e.type){var u=t[16],p=u[6].projection[e.projection];if(Array.isArray(p)){var h,m=Object(s.a)(p);try{for(m.s();!(h=m.n()).done;)Ub(h.value,n,i,r,a)}catch(v){m.e(v)}finally{m.f()}}else if(p){var g=u[3];Wb(g[1].data[p.index],g,n,i,r,a)}}else e.child&&Wb(e.child,t,n,i,r,a);if(a!==o){var f=4&e.flags?e.projectionNext:e.next;f&&Wb(f,t,n,i,r,a)}}function Gb(e,t,n,i,r){for(var a=De;a<e.length;a++){var o=e[a],s=o[1].firstChild;s&&Wb(s,o,t,n,i,r)}}function Ub(e,t,n,i,r){if(r!==e){var a=Xb(e);if(!a)return;(i&&a instanceof Hb&&t(a)&&-1===n.indexOf(a)||!i&&t(a)&&-1===n.indexOf(a))&&n.push(a)}}function qb(e,t,n,i){for(var r=e.childNodes,a=r.length,o=0;o<a;o++){var s=r[o],l=Xb(s);l&&((i&&l instanceof Hb&&t(l)&&-1===n.indexOf(l)||!i&&t(l)&&-1===n.indexOf(l))&&n.push(l),qb(s,t,n,i))}}var Zb=new Map;function $b(e){return e instanceof Node?(e.hasOwnProperty("__ng_debug__")||(e.__ng_debug__=e.nodeType==Node.ELEMENT_NODE?new Hb(e):new Nb(e)),e.__ng_debug__):null}var Xb=$b;function Kb(e){return function(e){return Zb.get(e)||null}(e)}var Jb=function(e){return null};function Qb(e){Zb.set(e.nativeNode,e)}var ex=Nb,tx=Hb,nx=gb(null,"core",[{provide:_y,useValue:"unknown"},{provide:bb,deps:[Ks]},{provide:eb,deps:[]},{provide:Cy,deps:[]}]);function ix(){return Jh}function rx(){return Qh}function ax(e){return e=e||Ty&&"undefined"!=typeof $localize&&$localize.locale||Vu,Ty&&Zu(e),e}var ox=Yu,sx=[{provide:_b,useClass:_b,deps:[Uy,Ks,oa,uh,gy]},{provide:gf,deps:[Uy],useFactory:lx},{provide:gy,useClass:gy,deps:[[new zi,my]]},{provide:Hy,useClass:Hy,deps:[]},yy,{provide:Nh,useFactory:ix,deps:[]},{provide:Vh,useFactory:rx,deps:[]},{provide:ky,useFactory:ax,deps:[[new Bi(ky),new zi,new Hi]]},{provide:Oy,useValue:ox}];function lx(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}var cx=function(){var e=Object(p.a)(function e(t){Object(h.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)(Ti(_b))},e.\u0275mod=we({type:e}),e.\u0275inj=F({providers:sx}),e}();function dx(e,t,n,i,r,a){e|=1;var o=Xm(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:o.matchedQueries,matchedQueryIds:o.matchedQueryIds,references:o.references,ngContentIndex:n,childCount:i,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:a?eg(a):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:r||Mm},provider:null,text:null,query:null,ngContent:null}}function ux(e,t,n,i,r,a){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:[],l=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0,d=arguments.length>9?arguments[9]:void 0,u=arguments.length>10?arguments[10]:void 0,p=arguments.length>11?arguments[11]:void 0;d||(d=Mm);var h=Xm(n),m=h.matchedQueries,g=h.references,f=h.matchedQueryIds,v=null,y=null;if(a){var b=sg(a),x=Object(o.a)(b,2);v=x[0],y=x[1]}l=l||[];for(var _=[],w=0;w<l.length;w++){var S=Object(o.a)(l[w],3),C=S[0],k=S[1],O=S[2],E=sg(k),M=Object(o.a)(E,2),I=M[0],P=M[1],T=void 0,D=void 0;switch(15&C){case 4:D=O;break;case 1:case 8:T=O}_[w]={flags:C,ns:I,name:P,nonMinifiedName:P,securityContext:T,suffix:D}}c=c||[];for(var L=[],R=0;R<c.length;R++){var j=Object(o.a)(c[R],2),A=j[0],F=j[1];L[R]={type:0,target:A,eventName:F,propName:null}}var B=(s=s||[]).map(function(e){var t=Object(o.a)(e,2),n=t[1],i=sg(t[0]),r=Object(o.a)(i,2);return[r[0],r[1],n]});return p=Am(p),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:m,matchedQueryIds:f,references:g,ngContentIndex:i,childCount:r,bindings:_,bindingFlags:lg(_),outputs:L,element:{ns:v,name:y,attrs:B,template:null,componentProvider:null,componentView:u||null,componentRendererType:p,publicProviders:null,allProviders:null,handleEvent:d||Mm},provider:null,text:null,query:null,ngContent:null}}function px(e,t,n){var i,r=n.element,a=e.root.selectorOrNode,s=e.renderer;if(e.parent||!a){i=r.name?s.createElement(r.name,r.ns):s.createComment("");var l=Jm(e,t,n);l&&s.appendChild(l,i)}else i=s.selectRootElement(a,!!r.componentRendererType&&r.componentRendererType.encapsulation===ee.ShadowDom);if(r.attrs)for(var c=0;c<r.attrs.length;c++){var d=Object(o.a)(r.attrs[c],3);s.setAttribute(i,d[1],d[2],d[0])}return i}function hx(e,t,n,i){for(var r=0;r<n.outputs.length;r++){var a=n.outputs[r],o=mx(e,n.nodeIndex,Um(a.target,a.eventName)),s=a.target,l=e;"component"===a.target&&(s=null,l=t);var c=l.renderer.listen(s||i,a.eventName,o);e.disposables[n.outputIndex+r]=c}}function mx(e,t,n){return function(i){return Vm(e,t,n,i)}}function gx(e,t,n,i){if(!Bm(e,t,n,i))return!1;var r=t.bindings[n],a=wm(e,t.nodeIndex),o=a.renderElement,s=r.name;switch(15&r.flags){case 1:!function(e,t,n,i,r,a){var o=t.securityContext,s=o?e.root.sanitizer.sanitize(o,a):a;s=null!=s?s.toString():null;var l=e.renderer;null!=a?l.setAttribute(n,r,s,i):l.removeAttribute(n,r,i)}(e,r,o,r.ns,s,i);break;case 2:!function(e,t,n,i){var r=e.renderer;i?r.addClass(t,n):r.removeClass(t,n)}(e,o,s,i);break;case 4:!function(e,t,n,i,r){var a=e.root.sanitizer.sanitize(Ur.STYLE,r);if(null!=a){a=a.toString();var o=t.suffix;null!=o&&(a+=o)}else a=null;var s=e.renderer;null!=a?s.setStyle(n,i,a):s.removeStyle(n,i)}(e,r,o,s,i);break;case 8:!function(e,t,n,i,r){var a=t.securityContext,o=a?e.root.sanitizer.sanitize(a,r):r;e.renderer.setProperty(n,i,o)}(33554432&t.flags&&32&r.flags?a.componentView:e,r,o,s,i)}return!0}function fx(e,t,n){var i=[];for(var r in n)i.push({propName:r,bindingType:n[r]});return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,ngContentIndex:-1,matchedQueries:{},matchedQueryIds:0,references:{},childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:{id:t,filterId:$m(t),bindings:i},ngContent:null}}function vx(e){for(var t=e.def.nodeMatchedQueries;e.parent&&Zm(e);){var n=e.parentNodeDef;e=e.parent;for(var i=n.nodeIndex+n.childCount,r=0;r<=i;r++){var a=e.def.nodes[r];67108864&a.flags&&536870912&a.flags&&(a.query.filterId&t)===a.query.filterId&&km(e,r).setDirty(),!(1&a.flags&&r+a.childCount<n.nodeIndex)&&67108864&a.childFlags&&536870912&a.childFlags||(r+=a.childCount)}}if(134217728&e.def.nodeFlags)for(var o=0;o<e.def.nodes.length;o++){var s=e.def.nodes[o];134217728&s.flags&&536870912&s.flags&&km(e,o).setDirty(),o+=s.childCount}}function yx(e,t){var n=km(e,t.nodeIndex);if(n.dirty){var i,r=void 0;if(67108864&t.flags){var a=t.parent.parent;r=bx(e,a.nodeIndex,a.nodeIndex+a.childCount,t.query,[]),i=Sm(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(r=bx(e,0,e.def.nodes.length-1,t.query,[]),i=e.component);n.reset(r,xh);for(var o=t.query.bindings,s=!1,l=0;l<o.length;l++){var c=o[l],d=void 0;switch(c.bindingType){case 0:d=n.first;break;case 1:d=n,s=!0}i[c.propName]=d}s&&n.notifyOnChanges()}}function bx(e,t,n,i,r){for(var a=t;a<=n;a++){var o=e.def.nodes[a],s=o.matchedQueries[i.id];if(null!=s&&r.push(xx(e,o,s)),1&o.flags&&o.element.template&&(o.element.template.nodeMatchedQueries&i.filterId)===i.filterId){var l=wm(e,a);if((o.childMatchedQueries&i.filterId)===i.filterId&&(bx(e,a+1,a+o.childCount,i,r),a+=o.childCount),16777216&o.flags)for(var c=l.viewContainer._embeddedViews,d=0;d<c.length;d++){var u=c[d],p=Ym(u);p&&p===l&&bx(u,0,u.def.nodes.length-1,i,r)}var h=l.template._projectedViews;if(h)for(var m=0;m<h.length;m++){var g=h[m];bx(g,0,g.def.nodes.length-1,i,r)}}(o.childMatchedQueries&i.filterId)!==i.filterId&&(a+=o.childCount)}return r}function xx(e,t,n){if(null!=n)switch(n){case 1:return wm(e,t.nodeIndex).renderElement;case 0:return new bh(wm(e,t.nodeIndex).renderElement);case 2:return wm(e,t.nodeIndex).template;case 3:return wm(e,t.nodeIndex).viewContainer;case 4:return Sm(e,t.nodeIndex).instance}}function _x(e,t){return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:-1,flags:8,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:e,childCount:0,bindings:[],bindingFlags:0,outputs:[],element:null,provider:null,text:null,query:null,ngContent:{index:t}}}function wx(e,t,n){var i=Jm(e,t,n);i&&ig(e,n.ngContent.index,1,i,null,void 0)}function Sx(e,t){return Ox(128,e,hi(t+1))}function Cx(e,t){return Ox(32,e,hi(t))}function kx(e,t){for(var n=Object.keys(t),i=n.length,r=[],a=0;a<i;a++)r.push(n[a]);return Ox(64,e,r)}function Ox(e,t,n){for(var i=[],r=0;r<n.length;r++){var a=n[r];i.push({flags:8,name:a,ns:null,nonMinifiedName:a,securityContext:null,suffix:null})}return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:t,flags:e,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:-1,childCount:0,bindings:i,bindingFlags:lg(i),outputs:[],element:null,provider:null,text:null,query:null,ngContent:null}}function Ex(e,t,n){for(var i=[],r=1;r<n.length;r++)i[r-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[r]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:i,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function Mx(e,t,n){var i,r=e.renderer;i=r.createText(n.text.prefix);var a=Jm(e,t,n);return a&&r.appendChild(a,i),{renderText:i}}function Ix(e,t){return(null!=e?e.toString():"")+t.suffix}function Px(e,t,n,i){for(var r=0,a=0,o=0,s=0,l=0,c=null,d=null,u=!1,p=!1,h=null,m=0;m<t.length;m++){var g=t[m];if(g.nodeIndex=m,g.parent=c,g.bindingIndex=r,g.outputIndex=a,g.renderParent=d,o|=g.flags,l|=g.matchedQueryIds,g.element){var f=g.element;f.publicProviders=c?c.element.publicProviders:Object.create(null),f.allProviders=f.publicProviders,u=!1,p=!1,g.element.template&&(l|=g.element.template.nodeMatchedQueries)}if(Dx(c,g,t.length),r+=g.bindings.length,a+=g.outputs.length,!d&&3&g.flags&&(h=g),20224&g.flags){u||(u=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);var v=0!=(32768&g.flags);0==(8192&g.flags)||v?c.element.publicProviders[Pm(g.provider.token)]=g:(p||(p=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Pm(g.provider.token)]=g),v&&(c.element.componentProvider=g)}if(c?(c.childFlags|=g.flags,c.directChildFlags|=g.flags,c.childMatchedQueries|=g.matchedQueryIds,g.element&&g.element.template&&(c.childMatchedQueries|=g.element.template.nodeMatchedQueries)):s|=g.flags,g.childCount>0)c=g,Tx(g)||(d=g);else for(;c&&m===c.nodeIndex+c.childCount;){var y=c.parent;y&&(y.childFlags|=c.childFlags,y.childMatchedQueries|=c.childMatchedQueries),d=(c=y)&&Tx(c)?c.renderParent:c}}return{factory:null,nodeFlags:o,rootNodeFlags:s,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Mm,updateRenderer:i||Mm,handleEvent:function(e,n,i,r){return t[n].element.handleEvent(e,i,r)},bindingCount:r,outputCount:a,lastRenderRootNode:h}}function Tx(e){return 0!=(1&e.flags)&&null===e.element.name}function Dx(e,t,n){var i=t.element&&t.element.template;if(i){if(!i.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(i.lastRenderRootNode&&16777216&i.lastRenderRootNode.flags)throw new Error("Illegal State: Last root node of a template can't have embedded views, at index ".concat(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 ".concat(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 ".concat(t.nodeIndex,"!"));if(134217728&t.flags&&e)throw new Error("Illegal State: View Query nodes have to be top level nodes, at index ".concat(t.nodeIndex,"!"))}if(t.childCount){var r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error("Illegal State: childCount of node leads outside of parent, at index ".concat(t.nodeIndex,"!"))}}function Lx(e,t,n,i){var r=Ax(e.root,e.renderer,e,t,n);return Fx(r,e.component,i),Bx(r),r}function Rx(e,t,n){var i=Ax(e,e.renderer,null,null,t);return Fx(i,n,n),Bx(i),i}function jx(e,t,n,i){var r,a=t.element.componentRendererType;return r=a?e.root.rendererFactory.createRenderer(i,a):e.root.renderer,Ax(e.root,r,e,t.element.componentProvider,n)}function Ax(e,t,n,i,r){var a=new Array(r.nodes.length),o=r.outputCount?new Array(r.outputCount):null;return{def:r,parent:n,viewContainerParent:null,parentNodeDef:i,context:null,component:null,nodes:a,state:13,root:e,renderer:t,oldValues:new Array(r.bindingCount),disposables:o,initIndex:-1}}function Fx(e,t,n){e.component=t,e.context=n}function Bx(e){var t;qm(e)&&(t=wm(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,i=e.nodes,r=0;r<n.nodes.length;r++){var a=n.nodes[r];Em.setCurrentNode(e,r);var o=void 0;switch(201347067&a.flags){case 1:var s=px(e,t,a),l=void 0;if(33554432&a.flags){var c=eg(a.element.componentView);l=Em.createComponentView(e,a,c,s)}hx(e,l,a,s),o={renderElement:s,componentView:l,viewContainer:null,template:a.element.template?jg(e,a):void 0},16777216&a.flags&&(o.viewContainer=Tg(e,a,o));break;case 2:o=Mx(e,t,a);break;case 512:case 1024:case 2048:case 256:(o=i[r])||4096&a.flags||(o={instance:Qg(e,a)});break;case 16:o={instance:ef(e,a)};break;case 16384:(o=i[r])||(o={instance:tf(e,a)}),32768&a.flags&&Fx(wm(e,a.parent.nodeIndex).componentView,o.instance,o.instance);break;case 32:case 64:case 128:o={value:void 0};break;case 67108864:case 134217728:o=new Qf(-2147483648==(-2147483648&a.flags));break;case 8:wx(e,t,a),o=void 0}i[r]=o}qx(e,Ux.CreateViewNodes),Kx(e,201326592,268435456,0)}function zx(e){Vx(e),Em.updateDirectives(e,1),Zx(e,Ux.CheckNoChanges),Em.updateRenderer(e,1),qx(e,Ux.CheckNoChanges),e.state&=-97}function Nx(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,bm(e,0,256),Vx(e),Em.updateDirectives(e,0),Zx(e,Ux.CheckAndUpdate),Kx(e,67108864,536870912,0);var t=bm(e,256,512);df(e,2097152|(t?1048576:0)),Em.updateRenderer(e,0),qx(e,Ux.CheckAndUpdate),Kx(e,134217728,536870912,0),df(e,8388608|((t=bm(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,bm(e,768,1024)}function Hx(e,t,n,i,r,a,o,s,c,d,u,p,h){return 0===n?function(e,t,n,i,r,a,o,s,l,c,d,u){switch(201347067&t.flags){case 1:return function(e,t,n,i,r,a,o,s,l,c,d,u){var p=t.bindings.length,h=!1;return p>0&&gx(e,t,0,n)&&(h=!0),p>1&&gx(e,t,1,i)&&(h=!0),p>2&&gx(e,t,2,r)&&(h=!0),p>3&&gx(e,t,3,a)&&(h=!0),p>4&&gx(e,t,4,o)&&(h=!0),p>5&&gx(e,t,5,s)&&(h=!0),p>6&&gx(e,t,6,l)&&(h=!0),p>7&&gx(e,t,7,c)&&(h=!0),p>8&&gx(e,t,8,d)&&(h=!0),p>9&&gx(e,t,9,u)&&(h=!0),h}(e,t,n,i,r,a,o,s,l,c,d,u);case 2:return function(e,t,n,i,r,a,o,s,l,c,d,u){var p=!1,h=t.bindings,m=h.length;if(m>0&&Bm(e,t,0,n)&&(p=!0),m>1&&Bm(e,t,1,i)&&(p=!0),m>2&&Bm(e,t,2,r)&&(p=!0),m>3&&Bm(e,t,3,a)&&(p=!0),m>4&&Bm(e,t,4,o)&&(p=!0),m>5&&Bm(e,t,5,s)&&(p=!0),m>6&&Bm(e,t,6,l)&&(p=!0),m>7&&Bm(e,t,7,c)&&(p=!0),m>8&&Bm(e,t,8,d)&&(p=!0),m>9&&Bm(e,t,9,u)&&(p=!0),p){var g=t.text.prefix;m>0&&(g+=Ix(n,h[0])),m>1&&(g+=Ix(i,h[1])),m>2&&(g+=Ix(r,h[2])),m>3&&(g+=Ix(a,h[3])),m>4&&(g+=Ix(o,h[4])),m>5&&(g+=Ix(s,h[5])),m>6&&(g+=Ix(l,h[6])),m>7&&(g+=Ix(c,h[7])),m>8&&(g+=Ix(d,h[8])),m>9&&(g+=Ix(u,h[9]));var f=_m(e,t.nodeIndex).renderText;e.renderer.setValue(f,g)}return p}(e,t,n,i,r,a,o,s,l,c,d,u);case 16384:return function(e,t,n,i,r,a,o,s,l,c,d,u){var p=Sm(e,t.nodeIndex),h=p.instance,m=!1,g=void 0,f=t.bindings.length;return f>0&&Fm(e,t,0,n)&&(m=!0,g=cf(e,p,t,0,n,g)),f>1&&Fm(e,t,1,i)&&(m=!0,g=cf(e,p,t,1,i,g)),f>2&&Fm(e,t,2,r)&&(m=!0,g=cf(e,p,t,2,r,g)),f>3&&Fm(e,t,3,a)&&(m=!0,g=cf(e,p,t,3,a,g)),f>4&&Fm(e,t,4,o)&&(m=!0,g=cf(e,p,t,4,o,g)),f>5&&Fm(e,t,5,s)&&(m=!0,g=cf(e,p,t,5,s,g)),f>6&&Fm(e,t,6,l)&&(m=!0,g=cf(e,p,t,6,l,g)),f>7&&Fm(e,t,7,c)&&(m=!0,g=cf(e,p,t,7,c,g)),f>8&&Fm(e,t,8,d)&&(m=!0,g=cf(e,p,t,8,d,g)),f>9&&Fm(e,t,9,u)&&(m=!0,g=cf(e,p,t,9,u,g)),g&&h.ngOnChanges(g),65536&t.flags&&xm(e,256,t.nodeIndex)&&h.ngOnInit(),262144&t.flags&&h.ngDoCheck(),m}(e,t,n,i,r,a,o,s,l,c,d,u);case 32:case 64:case 128:return function(e,t,n,i,r,a,o,s,l,c,d,u){var p=t.bindings,h=!1,m=p.length;if(m>0&&Bm(e,t,0,n)&&(h=!0),m>1&&Bm(e,t,1,i)&&(h=!0),m>2&&Bm(e,t,2,r)&&(h=!0),m>3&&Bm(e,t,3,a)&&(h=!0),m>4&&Bm(e,t,4,o)&&(h=!0),m>5&&Bm(e,t,5,s)&&(h=!0),m>6&&Bm(e,t,6,l)&&(h=!0),m>7&&Bm(e,t,7,c)&&(h=!0),m>8&&Bm(e,t,8,d)&&(h=!0),m>9&&Bm(e,t,9,u)&&(h=!0),h){var g,f=Cm(e,t.nodeIndex);switch(201347067&t.flags){case 32:g=[],m>0&&g.push(n),m>1&&g.push(i),m>2&&g.push(r),m>3&&g.push(a),m>4&&g.push(o),m>5&&g.push(s),m>6&&g.push(l),m>7&&g.push(c),m>8&&g.push(d),m>9&&g.push(u);break;case 64:g={},m>0&&(g[p[0].name]=n),m>1&&(g[p[1].name]=i),m>2&&(g[p[2].name]=r),m>3&&(g[p[3].name]=a),m>4&&(g[p[4].name]=o),m>5&&(g[p[5].name]=s),m>6&&(g[p[6].name]=l),m>7&&(g[p[7].name]=c),m>8&&(g[p[8].name]=d),m>9&&(g[p[9].name]=u);break;case 128:var v=n;switch(m){case 1:g=v.transform(n);break;case 2:g=v.transform(i);break;case 3:g=v.transform(i,r);break;case 4:g=v.transform(i,r,a);break;case 5:g=v.transform(i,r,a,o);break;case 6:g=v.transform(i,r,a,o,s);break;case 7:g=v.transform(i,r,a,o,s,l);break;case 8:g=v.transform(i,r,a,o,s,l,c);break;case 9:g=v.transform(i,r,a,o,s,l,c,d);break;case 10:g=v.transform(i,r,a,o,s,l,c,d,u)}}f.value=g}return h}(e,t,n,i,r,a,o,s,l,c,d,u);default:throw"unreachable"}}(e,t,i,r,a,o,s,c,d,u,p,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){for(var i=!1,r=0;r<n.length;r++)gx(e,t,r,n[r])&&(i=!0);return i}(e,t,n);case 2:return function(e,t,n){for(var i=t.bindings,r=!1,a=0;a<n.length;a++)Bm(e,t,a,n[a])&&(r=!0);if(r){for(var o="",s=0;s<n.length;s++)o+=Ix(n[s],i[s]);o=t.text.prefix+o;var l=_m(e,t.nodeIndex).renderText;e.renderer.setValue(l,o)}return r}(e,t,n);case 16384:return function(e,t,n){for(var i=Sm(e,t.nodeIndex),r=i.instance,a=!1,o=void 0,s=0;s<n.length;s++)Fm(e,t,s,n[s])&&(a=!0,o=cf(e,i,t,s,n[s],o));return o&&r.ngOnChanges(o),65536&t.flags&&xm(e,256,t.nodeIndex)&&r.ngOnInit(),262144&t.flags&&r.ngDoCheck(),a}(e,t,n);case 32:case 64:case 128:return function(e,t,n){for(var i=t.bindings,r=!1,a=0;a<n.length;a++)Bm(e,t,a,n[a])&&(r=!0);if(r){var o,s=Cm(e,t.nodeIndex);switch(201347067&t.flags){case 32:o=n;break;case 64:o={};for(var c=0;c<n.length;c++)o[i[c].name]=n[c];break;case 128:var d=n[0],u=n.slice(1);o=d.transform.apply(d,Object(l.a)(u))}s.value=o}return r}(e,t,n);default:throw"unreachable"}}(e,t,i)}function Vx(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var i=t.nodes[n];if(4&i.flags){var r=wm(e,n).template._projectedViews;if(r)for(var a=0;a<r.length;a++){var o=r[a];o.state|=32,Hm(o,e)}}else 0==(4&i.childFlags)&&(n+=i.childCount)}}function Yx(e,t,n,i,r,a,o,s,l,c,d,u,p){return 0===n?function(e,t,n,i,r,a,o,s,l,c,d,u){var p=t.bindings.length;p>0&&zm(e,t,0,n),p>1&&zm(e,t,1,i),p>2&&zm(e,t,2,r),p>3&&zm(e,t,3,a),p>4&&zm(e,t,4,o),p>5&&zm(e,t,5,s),p>6&&zm(e,t,6,l),p>7&&zm(e,t,7,c),p>8&&zm(e,t,8,d),p>9&&zm(e,t,9,u)}(e,t,i,r,a,o,s,l,c,d,u,p):function(e,t,n){for(var i=0;i<n.length;i++)zm(e,t,i,n[i])}(e,t,i),!1}function Wx(e,t){if(km(e,t.nodeIndex).dirty)throw fm(Em.createDebugContext(e,t.nodeIndex),"Query ".concat(t.query.id," not dirty"),"Query ".concat(t.query.id," dirty"),0!=(1&e.state))}function Gx(e){if(!(128&e.state)){if(Zx(e,Ux.Destroy),qx(e,Ux.Destroy),df(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(16&e.state){var t=Ym(e);if(t){var n=t.template._projectedViews;n&&(pi(n,n.indexOf(e)),Em.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var i=e.def.nodes[n];1&i.flags?e.renderer.destroyNode(wm(e,n).renderElement):2&i.flags?e.renderer.destroyNode(_m(e,n).renderText):(67108864&i.flags||134217728&i.flags)&&km(e,n).destroy()}}(e),qm(e)&&e.renderer.destroy(),e.state|=128}}var Ux=function(e){return e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy",e}({});function qx(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var i=0;i<n.nodes.length;i++){var r=n.nodes[i];33554432&r.flags?$x(wm(e,i).componentView,t):0==(33554432&r.childFlags)&&(i+=r.childCount)}}function Zx(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var i=0;i<n.nodes.length;i++){var r=n.nodes[i];if(16777216&r.flags)for(var a=wm(e,i).viewContainer._embeddedViews,o=0;o<a.length;o++)$x(a[o],t);else 0==(16777216&r.childFlags)&&(i+=r.childCount)}}function $x(e,t){var n=e.state;switch(t){case Ux.CheckNoChanges:0==(128&n)&&(12==(12&n)?zx(e):64&n&&Xx(e,Ux.CheckNoChangesProjectedViews));break;case Ux.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?zx(e):64&n&&Xx(e,t));break;case Ux.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Nx(e):64&n&&Xx(e,Ux.CheckAndUpdateProjectedViews));break;case Ux.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Nx(e):64&n&&Xx(e,t));break;case Ux.Destroy:Gx(e);break;case Ux.CreateViewNodes:Bx(e)}}function Xx(e,t){Zx(e,t),qx(e,t)}function Kx(e,t,n,i){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var r=e.def.nodes.length,a=0;a<r;a++){var o=e.def.nodes[a];if(o.flags&t&&o.flags&n)switch(Em.setCurrentNode(e,o.nodeIndex),i){case 0:yx(e,o);break;case 1:Wx(e,o)}o.childFlags&t&&o.childFlags&n||(a+=o.childCount)}}var Jx=!1;function Qx(){if(!Jx){Jx=!0;var e=ob()?{setCurrentNode:w_,createRootView:t_,createEmbeddedView:i_,createComponentView:r_,createNgModuleRef:a_,overrideProvider:c_,overrideComponentView:d_,clearOverrides:u_,checkAndUpdateView:g_,checkNoChangesView:f_,destroyView:v_,createDebugContext:function(e,t){return new P_(e,t)},handleEvent:S_,updateDirectives:C_,updateRenderer:k_}:{setCurrentNode:function(){},createRootView:e_,createEmbeddedView:Lx,createComponentView:jx,createNgModuleRef:Ng,overrideProvider:Mm,overrideComponentView:Mm,clearOverrides:Mm,checkAndUpdateView:Nx,checkNoChangesView:zx,destroyView:Gx,createDebugContext:function(e,t){return new P_(e,t)},handleEvent:function(e,t,n,i){return e.def.handleEvent(e,t,n,i)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?h_:m_,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?h_:m_,e)}};Em.setCurrentNode=e.setCurrentNode,Em.createRootView=e.createRootView,Em.createEmbeddedView=e.createEmbeddedView,Em.createComponentView=e.createComponentView,Em.createNgModuleRef=e.createNgModuleRef,Em.overrideProvider=e.overrideProvider,Em.overrideComponentView=e.overrideComponentView,Em.clearOverrides=e.clearOverrides,Em.checkAndUpdateView=e.checkAndUpdateView,Em.checkNoChangesView=e.checkNoChangesView,Em.destroyView=e.destroyView,Em.resolveDep=sf,Em.createDebugContext=e.createDebugContext,Em.handleEvent=e.handleEvent,Em.updateDirectives=e.updateDirectives,Em.updateRenderer=e.updateRenderer,Em.dirtyParentQueries=vx}}function e_(e,t,n,i,r,a){var o=r.injector.get(_h);return Rx(n_(e,r,o,t,n),i,a)}function t_(e,t,n,i,r,a){var o=r.injector.get(_h),s=n_(e,r,new j_(o),t,n),l=p_(i);return L_(__.create,Rx,null,[s,l,a])}function n_(e,t,n,i,r){var a=t.injector.get(Oh),o=t.injector.get(oa),s=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:i,selectorOrNode:r,sanitizer:a,rendererFactory:n,renderer:s,errorHandler:o}}function i_(e,t,n,i){var r=p_(n);return L_(__.create,Lx,null,[e,t,r,i])}function r_(e,t,n,i){return n=l_.get(t.element.componentProvider.provider.token)||p_(n),L_(__.create,jx,null,[e,t,n,i])}function a_(e,t,n,i){return Ng(e,t,n,function(e){var t=function(e){var t=!1,n=!1;return 0===o_.size||(e.providers.forEach(function(e){var i=o_.get(e.token);3840&e.flags&&i&&(t=!0,n=n||i.deprecatedBehavior)}),e.modules.forEach(function(e){s_.forEach(function(i,r){B(r).providedIn===e&&(t=!0,n=n||i.deprecatedBehavior)})})),{hasOverrides:t,hasDeprecatedOverrides:n}}(e),n=t.hasDeprecatedOverrides;return t.hasOverrides?(function(e){for(var t=0;t<e.providers.length;t++){var i=e.providers[t];n&&(i.flags|=4096);var r=o_.get(i.token);r&&(i.flags=-3841&i.flags|r.flags,i.deps=Km(r.deps),i.value=r.value)}if(s_.size>0){var a=new Set(e.modules);s_.forEach(function(t,i){if(a.has(B(i).providedIn)){var r={token:i,flags:t.flags|(n?4096:0),deps:Km(t.deps),value:t.value,index:e.providers.length};e.providers.push(r),e.providersByKey[Pm(i)]=r}})}}(e=e.factory(function(){return Mm})),e):e}(i))}var o_=new Map,s_=new Map,l_=new Map;function c_(e){var t;o_.set(e.token,e),"function"==typeof e.token&&(t=B(e.token))&&"function"==typeof t.providedIn&&s_.set(e.token,e)}function d_(e,t){var n=eg(Mg(t)),i=eg(n.nodes[0].element.componentView);l_.set(e,i)}function u_(){o_.clear(),s_.clear(),l_.clear()}function p_(e){if(0===o_.size)return e;var t=function(e){for(var t=[],n=null,i=0;i<e.nodes.length;i++){var r=e.nodes[i];1&r.flags&&(n=r),n&&3840&r.flags&&o_.has(r.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Mm});for(var n=0;n<t.length;n++)i(e,t[n]);return e;function i(e,t){for(var n=t+1;n<e.nodes.length;n++){var i=e.nodes[n];if(1&i.flags)return;if(3840&i.flags){var r=i.provider,a=o_.get(r.token);a&&(i.flags=-3841&i.flags|a.flags,r.deps=Km(a.deps),r.value=a.value)}}}}function h_(e,t,n,i,r,a,o,s,l,c,d,u,p){var h=e.def.nodes[t];return Hx(e,h,n,i,r,a,o,s,l,c,d,u,p),224&h.flags?Cm(e,t).value:void 0}function m_(e,t,n,i,r,a,o,s,l,c,d,u,p){var h=e.def.nodes[t];return Yx(e,h,n,i,r,a,o,s,l,c,d,u,p),224&h.flags?Cm(e,t).value:void 0}function g_(e){return L_(__.detectChanges,Nx,null,[e])}function f_(e){return L_(__.checkNoChanges,zx,null,[e])}function v_(e){return L_(__.destroy,Gx,null,[e])}var y_,b_,x_,__=function(e){return e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent",e}({});function w_(e,t){b_=e,x_=t}function S_(e,t,n,i){return w_(e,t),L_(__.handleEvent,e.def.handleEvent,null,[e,t,n,i])}function C_(e,t){if(128&e.state)throw ym(__[y_]);return w_(e,M_(e,0)),e.def.updateDirectives(function(e,n,i){for(var r=e.def.nodes[n],a=arguments.length,o=new Array(a>3?a-3:0),s=3;s<a;s++)o[s-3]=arguments[s];return 0===t?O_(e,r,i,o):E_(e,r,i,o),16384&r.flags&&w_(e,M_(e,n)),224&r.flags?Cm(e,r.nodeIndex).value:void 0},e)}function k_(e,t){if(128&e.state)throw ym(__[y_]);return w_(e,I_(e,0)),e.def.updateRenderer(function(e,n,i){for(var r=e.def.nodes[n],a=arguments.length,o=new Array(a>3?a-3:0),s=3;s<a;s++)o[s-3]=arguments[s];return 0===t?O_(e,r,i,o):E_(e,r,i,o),3&r.flags&&w_(e,I_(e,n)),224&r.flags?Cm(e,r.nodeIndex).value:void 0},e)}function O_(e,t,n,i){if(Hx.apply(void 0,[e,t,n].concat(Object(l.a)(i)))){var r=1===n?i[0]:i;if(16384&t.flags){for(var a={},o=0;o<t.bindings.length;o++){var s=t.bindings[o],c=r[o];8&s.flags&&(a[pa(s.nonMinifiedName)]=ma(c))}var d=t.parent,u=wm(e,d.nodeIndex).renderElement;if(d.element.name)for(var p in a){var h=a[p];null!=h?e.renderer.setAttribute(u,p,h):e.renderer.removeAttribute(u,p)}else e.renderer.setValue(u,ua("bindings=".concat(JSON.stringify(a,null,2))))}}}function E_(e,t,n,i){Yx.apply(void 0,[e,t,n].concat(Object(l.a)(i)))}function M_(e,t){for(var n=t;n<e.def.nodes.length;n++){var i=e.def.nodes[n];if(16384&i.flags&&i.bindings&&i.bindings.length)return n}return null}function I_(e,t){for(var n=t;n<e.def.nodes.length;n++){var i=e.def.nodes[n];if(3&i.flags&&i.bindings&&i.bindings.length)return n}return null}var P_=function(){function e(t,n){Object(h.a)(this,e),this.view=t,this.nodeIndex=n,null==n&&(this.nodeIndex=n=0),this.nodeDef=t.def.nodes[n];for(var i=this.nodeDef,r=t;i&&0==(1&i.flags);)i=i.parent;if(!i)for(;!i&&r;)i=Wm(r),r=r.parent;this.elDef=i,this.elView=r}return Object(p.a)(e,[{key:"elOrCompView",get:function(){return wm(this.elView,this.elDef.nodeIndex).componentView||this.view}},{key:"injector",get:function(){return Fg(this.elView,this.elDef)}},{key:"component",get:function(){return this.elOrCompView.component}},{key:"context",get:function(){return this.elOrCompView.context}},{key:"providerTokens",get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}},{key:"references",get:function(){var e={};if(this.elDef){D_(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&D_(this.elView,n,e),t+=n.childCount}}return e}},{key:"componentRenderElement",get:function(){var e=function(e){for(;e&&!qm(e);)e=e.parent;return e.parent?wm(e.parent,Wm(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}},{key:"renderNode",get:function(){return 2&this.nodeDef.flags?Gm(this.view,this.nodeDef):Gm(this.elView,this.elDef)}},{key:"logError",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r,a;2&this.nodeDef.flags?(r=this.view.def,a=this.nodeDef.nodeIndex):(r=this.elView.def,a=this.elDef.nodeIndex);var o=T_(r,a),s=-1,l=function(){var t;return++s===o?(t=e.error).bind.apply(t,[e].concat(n)):Mm};r.factory(l),s<o&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,n))}}]),e}();function T_(e,t){for(var n=-1,i=0;i<=t;i++)3&e.nodes[i].flags&&n++;return n}function D_(e,t,n){for(var i in t.references)n[i]=xx(e,t,t.references[i])}function L_(e,t,n,i){var r,a,o=y_,s=b_,l=x_;try{y_=e;var c=t.apply(n,i);return b_=s,x_=l,y_=o,c}catch(d){if(ia(d)||!b_)throw d;throw r=d,a=R_(),r instanceof Error||(r=new Error(r.toString())),vm(r,a),r}}function R_(){return b_?new P_(b_,x_):null}var j_=function(){function e(t){Object(h.a)(this,e),this.delegate=t}return Object(p.a)(e,[{key:"createRenderer",value:function(e,t){return new A_(this.delegate.createRenderer(e,t))}},{key:"begin",value:function(){this.delegate.begin&&this.delegate.begin()}},{key:"end",value:function(){this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}]),e}(),A_=function(){function e(t){Object(h.a)(this,e),this.delegate=t,this.debugContextFactory=R_,this.data=this.delegate.data}return Object(p.a)(e,[{key:"createDebugContext",value:function(e){return this.debugContextFactory(e)}},{key:"destroyNode",value:function(e){var t=Xb(e);t&&(function(e){Zb.delete(e.nativeNode)}(t),t instanceof jb&&(t.listeners.length=0)),this.delegate.destroyNode&&this.delegate.destroyNode(e)}},{key:"destroy",value:function(){this.delegate.destroy()}},{key:"createElement",value:function(e,t){var n=this.delegate.createElement(e,t),i=this.createDebugContext(n);if(i){var r=new Ab(n,null,i);r.name=e,Qb(r)}return n}},{key:"createComment",value:function(e){var t=this.delegate.createComment(ua(e)),n=this.createDebugContext(t);return n&&Qb(new jb(t,null,n)),t}},{key:"createText",value:function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Qb(new jb(t,null,n)),t}},{key:"appendChild",value:function(e,t){var n=Xb(e),i=Xb(t);n&&i&&n instanceof Ab&&n.addChild(i),this.delegate.appendChild(e,t)}},{key:"insertBefore",value:function(e,t,n,i){var r=Xb(e),a=Xb(t),o=Xb(n);r&&a&&r instanceof Ab&&r.insertBefore(o,a),this.delegate.insertBefore(e,t,n,i)}},{key:"removeChild",value:function(e,t){var n=Xb(e),i=Xb(t);n&&i&&n instanceof Ab&&n.removeChild(i),this.delegate.removeChild(e,t)}},{key:"selectRootElement",value:function(e,t){var n=this.delegate.selectRootElement(e,t),i=R_();return i&&Qb(new Ab(n,null,i)),n}},{key:"setAttribute",value:function(e,t,n,i){var r=Xb(e);r&&r instanceof Ab&&(r.attributes[i?i+":"+t:t]=n),this.delegate.setAttribute(e,t,n,i)}},{key:"removeAttribute",value:function(e,t,n){var i=Xb(e);i&&i instanceof Ab&&(i.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){var n=Xb(e);n&&n instanceof Ab&&(n.classes[t]=!0),this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){var n=Xb(e);n&&n instanceof Ab&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,i){var r=Xb(e);r&&r instanceof Ab&&(r.styles[t]=n),this.delegate.setStyle(e,t,n,i)}},{key:"removeStyle",value:function(e,t,n){var i=Xb(e);i&&i instanceof Ab&&(i.styles[t]=null),this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){var i=Xb(e);i&&i instanceof Ab&&(i.properties[t]=n),this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){if("string"!=typeof e){var i=Xb(e);i&&i.listeners.push(new Rb(t,n))}return this.delegate.listen(e,t,n)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setValue",value:function(e,t){return this.delegate.setValue(e,t)}}]),e}();function F_(e){return Qx(),Em.overrideProvider(e)}function B_(e,t){return Qx(),Em.overrideComponentView(e,t)}function z_(){return Qx(),Em.clearOverrides()}function N_(e,t,n){return new H_(e,t,n)}var H_=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e,i,r){var a;return Object(h.a)(this,n),(a=t.call(this)).moduleType=e,a._bootstrapComponents=i,a._ngModuleDefFactory=r,a}return Object(p.a)(n,[{key:"create",value:function(e){Qx();var t=function(e){var t=Array.from(e.providers),n=Array.from(e.modules),i={};for(var r in e.providersByKey)i[r]=e.providersByKey[r];return{factory:e.factory,scope:e.scope,providers:t,modules:n,providersByKey:i}}(eg(this._ngModuleDefFactory));return Em.createNgModuleRef(this.moduleType,e||Ks.NULL,this._bootstrapComponents,t)}}]),n}(sm);function V_(e){return oi().compileDirectiveDeclaration(yv,"ng:///".concat(e.type.name,"/\u0275fac.js"),e)}function Y_(e){return oi().compileComponentDeclaration(yv,"ng:///".concat(e.type.name,"/\u0275cmp.js"),e)}function W_(e){return oi().compilePipeDeclaration(yv,"ng:///".concat(e.type.name,"/\u0275pipe.js"),e)}},foSv:function(e,t,n){"use strict";function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",function(){return i})},fzPg:function(e,t,n){!function(e){"use strict";e.defineLocale("yo",{months:"S\u1eb9\u0301r\u1eb9\u0301_E\u0300re\u0300le\u0300_\u1eb8r\u1eb9\u0300na\u0300_I\u0300gbe\u0301_E\u0300bibi_O\u0300ku\u0300du_Ag\u1eb9mo_O\u0300gu\u0301n_Owewe_\u1ecc\u0300wa\u0300ra\u0300_Be\u0301lu\u0301_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),monthsShort:"S\u1eb9\u0301r_E\u0300rl_\u1eb8rn_I\u0300gb_E\u0300bi_O\u0300ku\u0300_Ag\u1eb9_O\u0300gu\u0301_Owe_\u1ecc\u0300wa\u0300_Be\u0301l_\u1ecc\u0300p\u1eb9\u0300\u0300".split("_"),weekdays:"A\u0300i\u0300ku\u0301_Aje\u0301_I\u0300s\u1eb9\u0301gun_\u1eccj\u1ecd\u0301ru\u0301_\u1eccj\u1ecd\u0301b\u1ecd_\u1eb8ti\u0300_A\u0300ba\u0301m\u1eb9\u0301ta".split("_"),weekdaysShort:"A\u0300i\u0300k_Aje\u0301_I\u0300s\u1eb9\u0301_\u1eccjr_\u1eccjb_\u1eb8ti\u0300_A\u0300ba\u0301".split("_"),weekdaysMin:"A\u0300i\u0300_Aj_I\u0300s_\u1eccr_\u1eccb_\u1eb8t_A\u0300b".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[O\u0300ni\u0300 ni] LT",nextDay:"[\u1ecc\u0300la ni] LT",nextWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301n'b\u1ecd] [ni] LT",lastDay:"[A\u0300na ni] LT",lastWeek:"dddd [\u1eccs\u1eb9\u0300 to\u0301l\u1ecd\u0301] [ni] LT",sameElse:"L"},relativeTime:{future:"ni\u0301 %s",past:"%s k\u1ecdja\u0301",s:"i\u0300s\u1eb9ju\u0301 aaya\u0301 die",ss:"aaya\u0301 %d",m:"i\u0300s\u1eb9ju\u0301 kan",mm:"i\u0300s\u1eb9ju\u0301 %d",h:"wa\u0301kati kan",hh:"wa\u0301kati %d",d:"\u1ecdj\u1ecd\u0301 kan",dd:"\u1ecdj\u1ecd\u0301 %d",M:"osu\u0300 kan",MM:"osu\u0300 %d",y:"\u1ecddu\u0301n kan",yy:"\u1ecddu\u0301n %d"},dayOfMonthOrdinalParse:/\u1ecdj\u1ecd\u0301\s\d{1,2}/,ordinal:"\u1ecdj\u1ecd\u0301 %d",week:{dow:1,doy:4}})}(n("wd/R"))},gRHU:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("2fFW"),r=n("NJ4a"),a={closed:!0,next:function(e){},error:function(e){if(i.a.useDeprecatedSynchronousErrorHandling)throw e;Object(r.a)(e)},complete:function(){}}},gVVK:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r=e+" ";switch(n){case"s":return t||i?"nekaj sekund":"nekaj sekundami";case"ss":return r+(1===e?t?"sekundo":"sekundi":2===e?t||i?"sekundi":"sekundah":e<5?t||i?"sekunde":"sekundah":"sekund");case"m":return t?"ena minuta":"eno minuto";case"mm":return r+(1===e?t?"minuta":"minuto":2===e?t||i?"minuti":"minutama":e<5?t||i?"minute":"minutami":t||i?"minut":"minutami");case"h":return t?"ena ura":"eno uro";case"hh":return r+(1===e?t?"ura":"uro":2===e?t||i?"uri":"urama":e<5?t||i?"ure":"urami":t||i?"ur":"urami");case"d":return t||i?"en dan":"enim dnem";case"dd":return r+(1===e?t||i?"dan":"dnem":2===e?t||i?"dni":"dnevoma":t||i?"dni":"dnevi");case"M":return t||i?"en mesec":"enim mesecem";case"MM":return r+(1===e?t||i?"mesec":"mesecem":2===e?t||i?"meseca":"mesecema":e<5?t||i?"mesece":"meseci":t||i?"mesecev":"meseci");case"y":return t||i?"eno leto":"enim letom";case"yy":return r+(1===e?t||i?"leto":"letom":2===e?t||i?"leti":"letoma":e<5?t||i?"leta":"leti":t||i?"let":"leti")}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_\u010detrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._\u010det._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_\u010de_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[v\u010deraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prej\u0161njo] [nedeljo] [ob] LT";case 3:return"[prej\u0161njo] [sredo] [ob] LT";case 6:return"[prej\u0161njo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prej\u0161nji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"\u010dez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))},gekB:function(e,t,n){!function(e){"use strict";var t="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),n=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",t[7],t[8],t[9]];function i(e,i,r,a){var o="";switch(r){case"s":return a?"muutaman sekunnin":"muutama sekunti";case"ss":o=a?"sekunnin":"sekuntia";break;case"m":return a?"minuutin":"minuutti";case"mm":o=a?"minuutin":"minuuttia";break;case"h":return a?"tunnin":"tunti";case"hh":o=a?"tunnin":"tuntia";break;case"d":return a?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":o=a?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return a?"kuukauden":"kuukausi";case"MM":o=a?"kuukauden":"kuukautta";break;case"y":return a?"vuoden":"vuosi";case"yy":o=a?"vuoden":"vuotta"}return function(e,i){return e<10?i?n[e]:t[e]:e}(e,a)+" "+o}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kes\xe4kuu_hein\xe4kuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kes\xe4_hein\xe4_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[t\xe4n\xe4\xe4n] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s p\xe4\xe4st\xe4",past:"%s sitten",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},gjCT:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"};e.defineLocale("ar-sa",{months:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),monthsShort:"\u064a\u0646\u0627\u064a\u0631_\u0641\u0628\u0631\u0627\u064a\u0631_\u0645\u0627\u0631\u0633_\u0623\u0628\u0631\u064a\u0644_\u0645\u0627\u064a\u0648_\u064a\u0648\u0646\u064a\u0648_\u064a\u0648\u0644\u064a\u0648_\u0623\u063a\u0633\u0637\u0633_\u0633\u0628\u062a\u0645\u0628\u0631_\u0623\u0643\u062a\u0648\u0628\u0631_\u0646\u0648\u0641\u0645\u0628\u0631_\u062f\u064a\u0633\u0645\u0628\u0631".split("_"),weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u0627 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0644\u0649 \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0641\u064a %s",past:"\u0645\u0646\u0630 %s",s:"\u062b\u0648\u0627\u0646",ss:"%d \u062b\u0627\u0646\u064a\u0629",m:"\u062f\u0642\u064a\u0642\u0629",mm:"%d \u062f\u0642\u0627\u0626\u0642",h:"\u0633\u0627\u0639\u0629",hh:"%d \u0633\u0627\u0639\u0627\u062a",d:"\u064a\u0648\u0645",dd:"%d \u0623\u064a\u0627\u0645",M:"\u0634\u0647\u0631",MM:"%d \u0623\u0634\u0647\u0631",y:"\u0633\u0646\u0629",yy:"%d \u0633\u0646\u0648\u0627\u062a"},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(n("wd/R"))},"h+eY":function(e,t,n){"use strict";n.d(t,"a",function(){return G}),n.d(t,"b",function(){return K}),n.d(t,"c",function(){return Y});var i=n("ODXe"),r=n("rePB"),a=n("1OyB"),o=n("vuIU");function s(e,t,n,i){return new(n||(n=Promise))(function(r,a){function o(e){try{l(i.next(e))}catch(t){a(t)}}function s(e){try{l(i.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((i=i.apply(e,t||[])).next())})}"function"==typeof SuppressedError&&SuppressedError;var l=n("fXoL"),c=n("LRne"),d=n("EY2u"),u=n("ofXK"),p=n("pxpQ"),h=n("eIep"),m=n("lJxs"),g=n("UXun"),f=n("pLZG"),v=n("OQgR"),y=n("5+tZ"),b=n("/uUt"),x=n("JX91"),_=n("Zy1z"),w=n("spgP"),S=n("tyNb"),C=n("XNiG"),k=n("HDdC"),O=n("Cfvw"),E=n("VRyK"),M=n("SxV6");function I(e,t){return t?Object(h.a)(function(){return e},t):Object(h.a)(function(){return e})}var P=n("tf+s"),T=new l.InjectionToken("angularfire2.auth.use-emulator"),D=new l.InjectionToken("angularfire2.auth.settings"),L=new l.InjectionToken("angularfire2.auth.tenant-id"),R=new l.InjectionToken("angularfire2.auth.langugage-code"),j=new l.InjectionToken("angularfire2.auth.use-device-language"),A=new l.InjectionToken("angularfire.auth.persistence"),F=function(){var e=Object(o.a)(function e(t,r,o,s,l,d,v,y,b,x){Object(a.a)(this,e);var _=new w.e(s),S=Object(w.i)(_),T=new C.a,D=Object(c.a)(void 0).pipe(Object(p.b)(_.outsideAngular),Object(h.a)(function(){return s.runOutsideAngular(function(){return n.e(11).then(n.bind(null,"6nsN"))})}),Object(m.a)(function(){return Object(w.h)(t,s,r)}),Object(m.a)(function(e){return s.runOutsideAngular(function(){var t=l,n=d;return Object(w.g)("".concat(e.name,".auth"),"AngularFireAuth",e,function(){var r=s.runOutsideAngular(function(){return e.auth()});if(t&&r.useEmulator("http://".concat(t.join(":"))),v&&(r.tenantId=v),r.languageCode=y,b&&r.useDeviceLanguage(),n)for(var a=0,o=Object.entries(n);a<o.length;a++){var l=Object(i.a)(o[a],2);r.settings[l[0]]=l[1]}return x&&r.setPersistence(x),r},[t,v,y,b,n,x])})}),Object(g.a)({bufferSize:1,refCount:!1}));if(Object(u.isPlatformServer)(o))this.authState=this.user=this.idToken=this.idTokenResult=this.credential=Object(c.a)(null);else{D.pipe(Object(M.a)()).subscribe();var L=D.pipe(Object(h.a)(function(e){return e.getRedirectResult().then(function(e){return e},function(){return null})}),S,Object(g.a)({bufferSize:1,refCount:!1})),R=function(e){return new k.a(function(t){return{unsubscribe:s.runOutsideAngular(function(){return e(t)})}})},j=D.pipe(Object(h.a)(function(e){return R(e.onAuthStateChanged.bind(e))})),A=D.pipe(Object(h.a)(function(e){return R(e.onIdTokenChanged.bind(e))}));this.authState=L.pipe(I(j),Object(P.a)(_.outsideAngular),Object(p.b)(_.insideAngular)),this.user=L.pipe(I(A),Object(P.a)(_.outsideAngular),Object(p.b)(_.insideAngular)),this.idToken=this.user.pipe(Object(h.a)(function(e){return e?Object(O.a)(e.getIdToken()):Object(c.a)(null)})),this.idTokenResult=this.user.pipe(Object(h.a)(function(e){return e?Object(O.a)(e.getIdTokenResult()):Object(c.a)(null)})),this.credential=Object(E.a)(L,T,this.authState.pipe(Object(f.a)(function(e){return!e}))).pipe(Object(m.a)(function(e){return(null==e?void 0:e.user)?e:null}),Object(P.a)(_.outsideAngular),Object(p.b)(_.insideAngular))}return Object(w.j)(this,D,s,{spy:{apply:function(e,t,n){(e.startsWith("signIn")||e.startsWith("createUser"))&&n.then(function(e){return T.next(e)})}}})});return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275inject"](w.c),l["\u0275\u0275inject"](w.b,8),l["\u0275\u0275inject"](l.PLATFORM_ID),l["\u0275\u0275inject"](l.NgZone),l["\u0275\u0275inject"](T,8),l["\u0275\u0275inject"](D,8),l["\u0275\u0275inject"](L,8),l["\u0275\u0275inject"](R,8),l["\u0275\u0275inject"](j,8),l["\u0275\u0275inject"](A,8))},e.\u0275prov=l["\u0275\u0275defineInjectable"]({factory:function(){return new e(l["\u0275\u0275inject"](w.c),l["\u0275\u0275inject"](w.b,8),l["\u0275\u0275inject"](l.PLATFORM_ID),l["\u0275\u0275inject"](l.NgZone),l["\u0275\u0275inject"](T,8),l["\u0275\u0275inject"](D,8),l["\u0275\u0275inject"](L,8),l["\u0275\u0275inject"](R,8),l["\u0275\u0275inject"](j,8),l["\u0275\u0275inject"](A,8))},token:e,providedIn:"any"}),e}();Object(w.f)(F,[{app:null,applyActionCode:null,checkActionCode:null,confirmPasswordReset:null,createUserWithEmailAndPassword:null,currentUser:null,fetchSignInMethodsForEmail:null,isSignInWithEmailLink:null,getRedirectResult:null,languageCode:null,settings:null,onAuthStateChanged:null,onIdTokenChanged:null,sendSignInLinkToEmail:null,sendPasswordResetEmail:null,setPersistence:null,signInAndRetrieveDataWithCredential:null,signInAnonymously:null,signInWithCredential:null,signInWithCustomToken:null,signInWithEmailAndPassword:null,signInWithPhoneNumber:null,signInWithEmailLink:null,signInWithPopup:null,signInWithRedirect:null,signOut:null,tenantId:null,updateCurrentUser:null,useDeviceLanguage:null,useEmulator:null,verifyPasswordResetCode:null}]);var B=n("jhN1");function z(){z=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function d(e,t,n,i){var a=Object.create((t&&t.prototype instanceof f?t:f).prototype),o=new I(i||[]);return r(a,"_invoke",{value:k(e,n,o)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var p="suspendedStart",h="executing",m="completed",g={};function f(){}function v(){}function y(){}var b={};c(b,o,function(){return this});var x=Object.getPrototypeOf,_=x&&x(x(P([])));_&&_!==n&&i.call(_,o)&&(b=_);var w=y.prototype=f.prototype=Object.create(b);function S(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function C(e,t){function n(r,a,o,s){var l=u(e[r],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&i.call(d,"__await")?t.resolve(d.__await).then(function(e){n("next",e,o,s)},function(e){n("throw",e,o,s)}):t.resolve(d).then(function(e){c.value=e,o(c)},function(e){return n("throw",e,o,s)})}s(l.arg)}var a;r(this,"_invoke",{value:function(e,i){function r(){return new t(function(t,r){n(e,i,t,r)})}return a=a?a.then(r,r):r()}})}function k(t,n,i){var r=p;return function(a,o){if(r===h)throw new Error("Generator is already running");if(r===m){if("throw"===a)throw o;return{value:e,done:!0}}for(i.method=a,i.arg=o;;){var s=i.delegate;if(s){var l=O(s,i);if(l){if(l===g)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===p)throw r=m,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=h;var c=u(t,n,i);if("normal"===c.type){if(r=i.done?m:"suspendedYield",c.arg===g)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(r=m,i.method="throw",i.arg=c.arg)}}}function O(t,n){var i=n.method,r=t.iterator[i];if(r===e)return n.delegate=null,"throw"===i&&t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),g;var a=u(r,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function P(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function n(){for(;++r<t.length;)if(i.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}return v.prototype=y,r(w,"constructor",{value:y,configurable:!0}),r(y,"constructor",{value:v,configurable:!0}),v.displayName=c(y,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},S(C.prototype),c(C.prototype,s,function(){return this}),t.AsyncIterator=C,t.async=function(e,n,i,r,a){void 0===a&&(a=Promise);var o=new C(d(e,n,i,r),a);return t.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})},S(w),c(w,l,"Generator"),c(w,o,function(){return this}),c(w,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},t.values=P,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(M),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(i,r){return s.type="throw",s.arg=t,n.next=i,r&&(n.method="next",n.arg=e),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;M(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:P(t),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=e),g}},t}var N=new l.InjectionToken("angularfire2.analytics.analyticsCollectionEnabled"),H=new l.InjectionToken("angularfire2.analytics.appVersion"),V=new l.InjectionToken("angularfire2.analytics.appName"),Y=new l.InjectionToken("angularfire2.analytics.debugMode"),W=new l.InjectionToken("angularfire2.analytics.config"),G=function(){var e=function(){function e(t,i,o,s,l,f,v,y){var b=this;if(Object(a.a)(this,e),this.analyticsInitialized=new Promise(function(){}),Object(u.isPlatformBrowser)(v)){window.dataLayer=window.dataLayer||[];var x=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"config"===t[0]&&"firebase"===t[2].origin&&(b.measurementId=t[1],!0)},_=function(e){window.gtag=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r;e&&e.apply(void 0,n),"event"===n[0]&&n[2].send_to===b.measurementId&&(s&&(n[2].app_name=s),o&&(n[2].app_version=o)),l&&"undefined"!=typeof console&&(r=console).info.apply(r,n),(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];window.dataLayer.push(arguments)}).apply(void 0,n)}};window.dataLayer.some(x)?(this.analyticsInitialized=Promise.resolve(),_()):this.analyticsInitialized=new Promise(function(e){_(function(){x.apply(void 0,arguments)&&e()})}),f&&this.updateConfig(f),l&&this.updateConfig(Object(r.a)({},"debug_mode",1))}else this.analyticsInitialized=Promise.resolve();var S=Object(c.a)(void 0).pipe(Object(p.b)(new w.e(y).outsideAngular),Object(h.a)(function(){return Object(u.isPlatformBrowser)(v)?y.runOutsideAngular(function(){return Promise.all([n.e(6),n.e(10)]).then(n.bind(null,"AAub"))}):d.a}),Object(m.a)(function(){return Object(w.g)("analytics","AngularFireAnalytics",t,function(){var e=t.analytics();return!1===i&&e.setAnalyticsCollectionEnabled(!1),e},[t,i,f,l])}),Object(g.a)({bufferSize:1,refCount:!1}));return Object(w.j)(this,S,y)}return Object(o.a)(e,[{key:"updateConfig",value:function(e){return s(this,void 0,void 0,z().mark(function t(){return z().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.analyticsInitialized;case 2:window.gtag("config",this.measurementId,Object.assign(Object.assign({},e),{update:!0}));case 3:case"end":return t.stop()}},t,this)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275inject"](w.d),l["\u0275\u0275inject"](N,8),l["\u0275\u0275inject"](H,8),l["\u0275\u0275inject"](V,8),l["\u0275\u0275inject"](Y,8),l["\u0275\u0275inject"](W,8),l["\u0275\u0275inject"](l.PLATFORM_ID),l["\u0275\u0275inject"](l.NgZone))},e.\u0275prov=l["\u0275\u0275defineInjectable"]({factory:function(){return new e(l["\u0275\u0275inject"](w.d),l["\u0275\u0275inject"](N,8),l["\u0275\u0275inject"](H,8),l["\u0275\u0275inject"](V,8),l["\u0275\u0275inject"](Y,8),l["\u0275\u0275inject"](W,8),l["\u0275\u0275inject"](l.PLATFORM_ID),l["\u0275\u0275inject"](l.NgZone))},token:e,providedIn:"any"}),e}();Object(w.f)(G,[{app:null,logEvent:null,setCurrentScreen:null,setUserId:null,setUserProperties:null,setAnalyticsCollectionEnabled:null}]);var U=function(){var e=function(){function e(t,n,i,r){var o;Object(a.a)(this,e),this.disposables=[],Object(u.isPlatformServer)(n)?this.initialized=Promise.resolve():(this.initialized=r.runOutsideAngular(function(){return new Promise(function(e){return o=e})}),this.disposables=[i.authState.subscribe(function(e){t.setUserId(null==e?void 0:e.uid),o()}),i.credential.subscribe(function(e){if(e){var n=e.user.isAnonymous?"anonymous":e.additionalUserInfo.providerId;e.additionalUserInfo.isNewUser&&t.logEvent("sign_up",{method:n}),t.logEvent("login",{method:n})}})])}return Object(o.a)(e,[{key:"ngOnDestroy",value:function(){this.disposables.forEach(function(e){return e.unsubscribe()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275inject"](G),l["\u0275\u0275inject"](l.PLATFORM_ID),l["\u0275\u0275inject"](F),l["\u0275\u0275inject"](l.NgZone))},e.\u0275prov=l["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),q="screen_class",Z=Math.floor(Math.random()*(Math.pow(2,32)-1))-Math.pow(2,31),$={},X=function(){var e=function(){function e(t,n,o,l,d,p,g){var w=this;if(Object(a.a)(this,e),!n||!Object(u.isPlatformBrowser)(d))return this;p.runOutsideAngular(function(){var e=n.events.pipe(Object(f.a)(function(e){return e instanceof S.b}));w.disposable=e.pipe(Object(h.a)(function(e){var t,i,a=(null===(i=n.parseUrl(n.url.replace(/(?:\().+(?:\))/g,function(e){return e.replace("://",":///")})).root.children[e.snapshot.outlet])||void 0===i?void 0:i.toString())||"",s=n.routerState.root.children.map(function(e){return e}).find(function(t){return t.outlet===e.snapshot.outlet});if(!s)return Object(c.a)(null);for(var d=s;d.firstChild;)d=d.firstChild;var u=d.pathFromRoot.map(function(e){var t;return null===(t=e.routeConfig)||void 0===t?void 0:t.path}).filter(function(e){return e}).join("/")||"/",p=(t={},Object(r.a)(t,"screen_name",u),Object(r.a)(t,"page_path","/".concat(a)),Object(r.a)(t,"firebase_event_origin","auto"),Object(r.a)(t,"firebase_screen",u),Object(r.a)(t,"outlet",e.snapshot.outlet),t);o&&(p.page_title=o.getTitle());var h=s.component;if(h){if(h===S.i){for(var m=e.snapshot;m.firstChild;)m=m.firstChild;h=m.component}}else h=e.snapshot.component;if("string"==typeof h)return Object(c.a)(Object.assign(Object.assign({},p),Object(r.a)({},q,h)));if(h){var g=l.resolveComponentFactory(h);return Object(c.a)(Object.assign(Object.assign({},p),Object(r.a)({},q,g.selector)))}return Object(c.a)(null)}),Object(f.a)(function(e){return e}),Object(m.a)(function(e){var t;return Object.assign((t={},Object(r.a)(t,"firebase_screen_class",e.screen_class),Object(r.a)(t,"firebase_screen_id",function(e){var t=[e.screen_class,e.outlet].join("#");if($.hasOwnProperty(t))return $[t];var n=Z++;return $[t]=n,n}(e)),t),e)}),Object(v.b)(function(e){return e.outlet}),Object(y.a)(function(e){return e.pipe(Object(b.a)(function(e,t){return JSON.stringify(e)===JSON.stringify(t)}),Object(x.a)(void 0),Object(_.a)(),Object(m.a)(function(e){var t,n=Object(i.a)(e,2),a=n[0],o=n[1];return a?Object.assign((t={},Object(r.a)(t,"firebase_previous_class",a.screen_class),Object(r.a)(t,"firebase_previous_screen",a.screen_name),Object(r.a)(t,"firebase_previous_id",a.firebase_screen_id),t),o):o}),Object(h.a)(function(e){return s(w,void 0,void 0,z().mark(function n(){return z().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(!g){n.next=3;break}return n.next=3,g.initialized;case 3:return n.next=5,t.logEvent("screen_view",e);case 5:return n.abrupt("return",n.sent);case 6:case"end":return n.stop()}},n)}))}))})).subscribe()})}return Object(o.a)(e,[{key:"ngOnDestroy",value:function(){this.disposable&&this.disposable.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275inject"](G),l["\u0275\u0275inject"](S.d,8),l["\u0275\u0275inject"](B.Title,8),l["\u0275\u0275inject"](l.ComponentFactoryResolver),l["\u0275\u0275inject"](l.PLATFORM_ID),l["\u0275\u0275inject"](l.NgZone),l["\u0275\u0275inject"](U,8))},e.\u0275prov=l["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),K=function(){var e=Object(o.a)(function e(t,n,i){Object(a.a)(this,e),t.app.then(function(){})});return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275inject"](G),l["\u0275\u0275inject"](X,8),l["\u0275\u0275inject"](U,8))},e.\u0275mod=l["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=l["\u0275\u0275defineInjector"]({providers:[G]}),e}()},hKrs:function(e,t,n){!function(e){"use strict";e.defineLocale("bg",{months:"\u044f\u043d\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0438\u043b_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043f\u0442\u0435\u043c\u0432\u0440\u0438_\u043e\u043a\u0442\u043e\u043c\u0432\u0440\u0438_\u043d\u043e\u0435\u043c\u0432\u0440\u0438_\u0434\u0435\u043a\u0435\u043c\u0432\u0440\u0438".split("_"),monthsShort:"\u044f\u043d\u0443_\u0444\u0435\u0432_\u043c\u0430\u0440_\u0430\u043f\u0440_\u043c\u0430\u0439_\u044e\u043d\u0438_\u044e\u043b\u0438_\u0430\u0432\u0433_\u0441\u0435\u043f_\u043e\u043a\u0442_\u043d\u043e\u0435_\u0434\u0435\u043a".split("_"),weekdays:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u044f\u0434\u0430_\u0447\u0435\u0442\u0432\u044a\u0440\u0442\u044a\u043a_\u043f\u0435\u0442\u044a\u043a_\u0441\u044a\u0431\u043e\u0442\u0430".split("_"),weekdaysShort:"\u043d\u0435\u0434_\u043f\u043e\u043d_\u0432\u0442\u043e_\u0441\u0440\u044f_\u0447\u0435\u0442_\u043f\u0435\u0442_\u0441\u044a\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[\u0414\u043d\u0435\u0441 \u0432] LT",nextDay:"[\u0423\u0442\u0440\u0435 \u0432] LT",nextWeek:"dddd [\u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430 \u0432] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[\u041c\u0438\u043d\u0430\u043b\u0430\u0442\u0430] dddd [\u0432] LT";case 1:case 2:case 4:case 5:return"[\u041c\u0438\u043d\u0430\u043b\u0438\u044f] dddd [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0441\u043b\u0435\u0434 %s",past:"\u043f\u0440\u0435\u0434\u0438 %s",s:"\u043d\u044f\u043a\u043e\u043b\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434\u0438",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434\u0438",m:"\u043c\u0438\u043d\u0443\u0442\u0430",mm:"%d \u043c\u0438\u043d\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043d",dd:"%d \u0434\u0435\u043d\u0430",w:"\u0441\u0435\u0434\u043c\u0438\u0446\u0430",ww:"%d \u0441\u0435\u0434\u043c\u0438\u0446\u0438",M:"\u043c\u0435\u0441\u0435\u0446",MM:"%d \u043c\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043e\u0434\u0438\u043d\u0430",yy:"%d \u0433\u043e\u0434\u0438\u043d\u0438"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0435\u0432|\u0435\u043d|\u0442\u0438|\u0432\u0438|\u0440\u0438|\u043c\u0438)/,ordinal:function(e){var t=e%10,n=e%100;return 0===e?e+"-\u0435\u0432":0===n?e+"-\u0435\u043d":n>10&&n<20?e+"-\u0442\u0438":1===t?e+"-\u0432\u0438":2===t?e+"-\u0440\u0438":7===t||8===t?e+"-\u043c\u0438":e+"-\u0442\u0438"},week:{dow:1,doy:7}})}(n("wd/R"))},honF:function(e,t,n){!function(e){"use strict";var t={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},n={"\u1041":"1","\u1042":"2","\u1043":"3","\u1044":"4","\u1045":"5","\u1046":"6","\u1047":"7","\u1048":"8","\u1049":"9","\u1040":"0"};e.defineLocale("my",{months:"\u1007\u1014\u103a\u1014\u101d\u102b\u101b\u102e_\u1016\u1031\u1016\u1031\u102c\u103a\u101d\u102b\u101b\u102e_\u1019\u1010\u103a_\u1027\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u1007\u1030\u101c\u102d\u102f\u1004\u103a_\u101e\u103c\u1002\u102f\u1010\u103a_\u1005\u1000\u103a\u1010\u1004\u103a\u1018\u102c_\u1021\u1031\u102c\u1000\u103a\u1010\u102d\u102f\u1018\u102c_\u1014\u102d\u102f\u101d\u1004\u103a\u1018\u102c_\u1012\u102e\u1007\u1004\u103a\u1018\u102c".split("_"),monthsShort:"\u1007\u1014\u103a_\u1016\u1031_\u1019\u1010\u103a_\u1015\u103c\u102e_\u1019\u1031_\u1007\u103d\u1014\u103a_\u101c\u102d\u102f\u1004\u103a_\u101e\u103c_\u1005\u1000\u103a_\u1021\u1031\u102c\u1000\u103a_\u1014\u102d\u102f_\u1012\u102e".split("_"),weekdays:"\u1010\u1014\u1004\u103a\u1039\u1002\u1014\u103d\u1031_\u1010\u1014\u1004\u103a\u1039\u101c\u102c_\u1021\u1004\u103a\u1039\u1002\u102b_\u1017\u102f\u1012\u1039\u1013\u101f\u1030\u1038_\u1000\u103c\u102c\u101e\u1015\u1010\u1031\u1038_\u101e\u1031\u102c\u1000\u103c\u102c_\u1005\u1014\u1031".split("_"),weekdaysShort:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),weekdaysMin:"\u1014\u103d\u1031_\u101c\u102c_\u1002\u102b_\u101f\u1030\u1038_\u1000\u103c\u102c_\u101e\u1031\u102c_\u1014\u1031".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u101a\u1014\u1031.] LT [\u1019\u103e\u102c]",nextDay:"[\u1019\u1014\u1000\u103a\u1016\u103c\u1014\u103a] LT [\u1019\u103e\u102c]",nextWeek:"dddd LT [\u1019\u103e\u102c]",lastDay:"[\u1019\u1014\u1031.\u1000] LT [\u1019\u103e\u102c]",lastWeek:"[\u1015\u103c\u102e\u1038\u1001\u1032\u1037\u101e\u1031\u102c] dddd LT [\u1019\u103e\u102c]",sameElse:"L"},relativeTime:{future:"\u101c\u102c\u1019\u100a\u103a\u1037 %s \u1019\u103e\u102c",past:"\u101c\u103d\u1014\u103a\u1001\u1032\u1037\u101e\u1031\u102c %s \u1000",s:"\u1005\u1000\u1039\u1000\u1014\u103a.\u1021\u1014\u100a\u103a\u1038\u1004\u101a\u103a",ss:"%d \u1005\u1000\u1039\u1000\u1014\u1037\u103a",m:"\u1010\u1005\u103a\u1019\u102d\u1014\u1005\u103a",mm:"%d \u1019\u102d\u1014\u1005\u103a",h:"\u1010\u1005\u103a\u1014\u102c\u101b\u102e",hh:"%d \u1014\u102c\u101b\u102e",d:"\u1010\u1005\u103a\u101b\u1000\u103a",dd:"%d \u101b\u1000\u103a",M:"\u1010\u1005\u103a\u101c",MM:"%d \u101c",y:"\u1010\u1005\u103a\u1014\u103e\u1005\u103a",yy:"%d \u1014\u103e\u1005\u103a"},preparse:function(e){return e.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},week:{dow:1,doy:4}})}(n("wd/R"))},hxEm:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("fXoL"),r=n("3Pt+"),a=function(){return function(e,t,n){this.startDate=e,this.endDate=t,this.timeRangeDays=n}}(),o=n("wd/R"),s=n("b6Qw"),l=function(){function e(e){this.cookieService=e,this.startDate=null,this.endDate=null,this.dateRange=new i.EventEmitter,this.addDays=function(e,t){return t.setDate(t.getDate()+e),t};var t=new Date,n=t.getDate()-t.getDay(),a=n+6;this.firstDate=new Date(0),this.weekStartDate=new Date((new Date).setDate(n)),this.weekEndDate=new Date((new Date).setDate(a)),this.monthStartDate=new Date(t.getFullYear(),t.getMonth(),1),this.monthEndDate=new Date(t.getFullYear(),t.getMonth()+1,0),this.yearStartDate=new Date((new Date).getFullYear(),0,1),this.yearEndDate=new Date((new Date).getFullYear(),11,31),this.startDate=new r.e(this.weekStartDate),this.endDate=new r.e(this.weekEndDate)}return e.prototype.reset=function(e){e&&(this.firstDate=e),this.numberDays=0;var t=new Date;t.setDate((new Date).getDate()-30),this.customStartDate=t,this.customEndDate=new Date,this.getSavedRange()},e.prototype.saveRange=function(){console.log("datepickerValues"),console.log(this.customStartDate);var e=btoa(JSON.stringify({firstDate:this.firstDate,startDate:this.startDate,endDate:this.endDate,weekStartDate:this.weekStartDate,weekEndDate:this.weekEndDate,monthStartDate:this.monthStartDate,monthEndDate:this.monthEndDate,yearStartDate:this.yearStartDate,yearEndDate:this.yearEndDate,numberDays:this.numberDays})),t=new Date;t.setMinutes(t.getMinutes()+10),this.cookieService.set("dateRange",e,t)},e.prototype.getSavedRange=function(){console.log("datepickerValues"),console.log(this.customStartDate);var e=this.cookieService.get("dateRange");if(e){var t=JSON.parse(atob(e));this.firstDate=new Date(t.firstDate),this.startDate=new Date(t.startDate),this.endDate=new Date(t.endDate),this.weekStartDate=new Date(t.weekStartDate),this.weekEndDate=new Date(t.weekEndDate),this.monthStartDate=new Date(t.monthStartDate),this.monthEndDate=new Date(t.monthEndDate),this.yearStartDate=new Date(t.yearStartDate),this.yearEndDate=new Date(t.yearEndDate),this.numberDays=t.numberDays}this.changeTimeRange(this.numberDays)},e.prototype.setFirstdate=function(e){this.firstDate=e},e.prototype.customStartChanged=function(e){this.customStartDate=e,this.customEndDate=this.endDate,this.changeTimeRange(0)},e.prototype.customEndChanged=function(e){this.customEndDate=e,this.customStartDate=this.startDate,this.changeTimeRange(0)},e.prototype.changeTimeRange=function(e){this.numberDays=e,this.selectedRow=-1,7===e?(this.startDate=new Date(this.weekStartDate),this.endDate=new Date(this.weekEndDate)):30===e?(this.startDate=new Date(this.monthStartDate),this.endDate=new Date(this.monthEndDate)):365===e?(this.startDate=new Date(this.yearStartDate),this.endDate=new Date(this.yearEndDate)):0===e?(this.customStartDate&&(this.startDate=new Date(this.customStartDate)),this.customEndDate&&(this.endDate=new Date(this.customEndDate))):1===e&&(this.startDate=new Date(this.firstDate),this.endDate=new Date),this.endDate>new Date&&(this.endDate=new Date),this.saveRange(),this.dateRange.emit(new a(this.startDate,this.endDate,this.numberDays))},e.prototype.arrowClicked=function(e,t){var n=!1,i=0;1!=t&&("left"==e?(0==t&&(i=-o(this.endDate).diff(this.startDate,"day"),n=!0),7==t?(this.weekStartDate=this.addDays(-7,this.weekStartDate),this.weekEndDate=this.addDays(-7,this.weekEndDate)):30==t?(this.monthStartDate.setMonth(this.monthStartDate.getMonth()-1),this.monthEndDate=new Date(this.monthStartDate.getFullYear(),this.monthStartDate.getMonth()+1,0)):365==t&&(this.yearStartDate.setFullYear(this.yearStartDate.getFullYear()-1),this.yearEndDate.setFullYear(this.yearEndDate.getFullYear()-1))):"right"==e&&(0==t&&(i=o(this.endDate).diff(this.startDate,"day"),n=!0),7==t?(this.weekStartDate=this.addDays(7,this.weekStartDate),this.weekEndDate=this.addDays(7,this.weekEndDate)):30==t?(this.monthStartDate.setMonth(this.monthStartDate.getMonth()+1),this.monthEndDate=new Date(this.monthStartDate.getFullYear(),this.monthStartDate.getMonth()+1,0)):365==t&&(this.yearStartDate.setFullYear(this.yearStartDate.getFullYear()+1),this.yearEndDate.setFullYear(this.yearEndDate.getFullYear()+1))),n?(this.numberDays=0,this.startDate=this.addDays(i,this.startDate),this.endDate=this.addDays(i,this.endDate),this.customStartDate=new Date(this.startDate),this.customEndDate=new Date(this.endDate),this.saveRange(),this.dateRange.emit(new a(this.startDate,this.endDate,this.numberDays))):this.changeTimeRange(t))},e.prototype.toDoubleDigitFormat=function(e){return e>=0&&e<=9?"0"+e:e},e.prototype.dateObjToDateString=function(e){e=new Date(e);var t=this.toDoubleDigitFormat(e.getDate()),n=this.toDoubleDigitFormat(e.getMonth()+1),i=this.toDoubleDigitFormat(e.getHours()),r=this.toDoubleDigitFormat(e.getMinutes()),a=this.toDoubleDigitFormat(e.getSeconds());return e.getFullYear()+"-"+n+"-"+t+"T"+i+":"+r+":"+a},e.prototype.ampmToHours=function(e,t){var n=e.split(":")[0],i=e.split(":")[1].split(" ")[0],r=e.split(" ")[1];Number(i)<10&&(i="0"+i);var a=Number(n);return("pm"==r||"PM"==r||"Pm"==r)&&a<12&&(a+=12),n=String(a),(t=new Date(t)).setHours(n),t.setMinutes(i),console.log(t),t},e.prototype.makeDateUTC=function(e){return console.log(e),e=new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),console.log(e),e},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](s.a))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},iEDd:function(e,t,n){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xu\xf1o_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xu\xf1._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_m\xe9rcores_xoves_venres_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._m\xe9r._xov._ven._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_m\xe9_xo_ve_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextDay:function(){return"[ma\xf1\xe1 "+(1!==this.hours()?"\xe1s":"\xe1")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"\xe1s":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"\xe1":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"\xe1s":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4}})}(n("wd/R"))},iYuL:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:1,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},iadO:function(e,t,n){"use strict";n.d(t,"a",function(){return ke}),n.d(t,"b",function(){return Te}),n.d(t,"c",function(){return Re}),n.d(t,"d",function(){return Le}),n.d(t,"e",function(){return De}),n("KQm4");var i=n("JX7q"),r=n("ReuC"),a=n("foSv"),o=n("Ji7U"),s=n("LK+K"),l=n("1OyB"),c=n("vuIU"),d=n("u47x"),u=n("rDax"),p=n("+rOU"),h=n("ofXK"),m=n("fXoL"),g=n("bTqV"),f=n("0IaG"),v=n("vxfF"),y=n("FKr1"),b=n("XNiG"),x=n("quSY"),_=n("VRyK"),w=n("LRne"),S=n("FtGj"),C=n("IzEk"),k=n("JX91"),O=n("pLZG"),E=n("8LU1"),M=n("R0Ic"),I=n("3Pt+"),P=n("kmnG"),T=n("qFsG"),D=n("cH1L"),L=["mat-calendar-body",""];function R(e,t){if(1&e&&(m["\u0275\u0275elementStart"](0,"tr",2),m["\u0275\u0275elementStart"](1,"td",3),m["\u0275\u0275text"](2),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"]()),2&e){var n=m["\u0275\u0275nextContext"]();m["\u0275\u0275advance"](1),m["\u0275\u0275styleProp"]("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),m["\u0275\u0275attribute"]("colspan",n.numCols),m["\u0275\u0275advance"](1),m["\u0275\u0275textInterpolate1"](" ",n.label," ")}}function j(e,t){if(1&e&&(m["\u0275\u0275elementStart"](0,"td",7),m["\u0275\u0275text"](1),m["\u0275\u0275elementEnd"]()),2&e){var n=m["\u0275\u0275nextContext"](2);m["\u0275\u0275styleProp"]("padding-top",n._cellPadding)("padding-bottom",n._cellPadding),m["\u0275\u0275attribute"]("colspan",n._firstRowOffset),m["\u0275\u0275advance"](1),m["\u0275\u0275textInterpolate1"](" ",n._firstRowOffset>=n.labelMinRequiredCells?n.label:""," ")}}function A(e,t){if(1&e){var n=m["\u0275\u0275getCurrentView"]();m["\u0275\u0275elementStart"](0,"td",8),m["\u0275\u0275listener"]("click",function(e){m["\u0275\u0275restoreView"](n);var i=t.$implicit;return m["\u0275\u0275nextContext"](2)._cellClicked(i,e)}),m["\u0275\u0275elementStart"](1,"div",9),m["\u0275\u0275text"](2),m["\u0275\u0275elementEnd"](),m["\u0275\u0275element"](3,"div",10),m["\u0275\u0275elementEnd"]()}if(2&e){var i=t.$implicit,r=t.index,a=m["\u0275\u0275nextContext"]().index,o=m["\u0275\u0275nextContext"]();m["\u0275\u0275styleProp"]("width",o._cellWidth)("padding-top",o._cellPadding)("padding-bottom",o._cellPadding),m["\u0275\u0275classProp"]("mat-calendar-body-disabled",!i.enabled)("mat-calendar-body-active",o._isActiveCell(a,r))("mat-calendar-body-range-start",o._isRangeStart(i.compareValue))("mat-calendar-body-range-end",o._isRangeEnd(i.compareValue))("mat-calendar-body-in-range",o._isInRange(i.compareValue))("mat-calendar-body-comparison-bridge-start",o._isComparisonBridgeStart(i.compareValue,a,r))("mat-calendar-body-comparison-bridge-end",o._isComparisonBridgeEnd(i.compareValue,a,r))("mat-calendar-body-comparison-start",o._isComparisonStart(i.compareValue))("mat-calendar-body-comparison-end",o._isComparisonEnd(i.compareValue))("mat-calendar-body-in-comparison-range",o._isInComparisonRange(i.compareValue))("mat-calendar-body-preview-start",o._isPreviewStart(i.compareValue))("mat-calendar-body-preview-end",o._isPreviewEnd(i.compareValue))("mat-calendar-body-in-preview",o._isInPreview(i.compareValue)),m["\u0275\u0275property"]("ngClass",i.cssClasses)("tabindex",o._isActiveCell(a,r)?0:-1),m["\u0275\u0275attribute"]("data-mat-row",a)("data-mat-col",r)("aria-label",i.ariaLabel)("aria-disabled",!i.enabled||null)("aria-selected",o._isSelected(i.compareValue)),m["\u0275\u0275advance"](1),m["\u0275\u0275classProp"]("mat-calendar-body-selected",o._isSelected(i.compareValue))("mat-calendar-body-comparison-identical",o._isComparisonIdentical(i.compareValue))("mat-calendar-body-today",o.todayValue===i.compareValue),m["\u0275\u0275advance"](1),m["\u0275\u0275textInterpolate1"](" ",i.displayValue," ")}}function F(e,t){if(1&e&&(m["\u0275\u0275elementStart"](0,"tr",4),m["\u0275\u0275template"](1,j,2,6,"td",5),m["\u0275\u0275template"](2,A,4,46,"td",6),m["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,i=t.index,r=m["\u0275\u0275nextContext"]();m["\u0275\u0275advance"](1),m["\u0275\u0275property"]("ngIf",0===i&&r._firstRowOffset),m["\u0275\u0275advance"](1),m["\u0275\u0275property"]("ngForOf",n)}}function B(e,t){if(1&e&&(m["\u0275\u0275elementStart"](0,"th",5),m["\u0275\u0275text"](1),m["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;m["\u0275\u0275attribute"]("aria-label",n.long),m["\u0275\u0275advance"](1),m["\u0275\u0275textInterpolate"](n.narrow)}}var z=["*"];function N(e,t){}function H(e,t){if(1&e){var n=m["\u0275\u0275getCurrentView"]();m["\u0275\u0275elementStart"](0,"mat-month-view",5),m["\u0275\u0275listener"]("activeDateChange",function(e){return m["\u0275\u0275restoreView"](n),m["\u0275\u0275nextContext"]().activeDate=e})("_userSelection",function(e){return m["\u0275\u0275restoreView"](n),m["\u0275\u0275nextContext"]()._dateSelected(e)}),m["\u0275\u0275elementEnd"]()}if(2&e){var i=m["\u0275\u0275nextContext"]();m["\u0275\u0275property"]("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)("comparisonStart",i.comparisonStart)("comparisonEnd",i.comparisonEnd)}}function V(e,t){if(1&e){var n=m["\u0275\u0275getCurrentView"]();m["\u0275\u0275elementStart"](0,"mat-year-view",6),m["\u0275\u0275listener"]("activeDateChange",function(e){return m["\u0275\u0275restoreView"](n),m["\u0275\u0275nextContext"]().activeDate=e})("monthSelected",function(e){return m["\u0275\u0275restoreView"](n),m["\u0275\u0275nextContext"]()._monthSelectedInYearView(e)})("selectedChange",function(e){return m["\u0275\u0275restoreView"](n),m["\u0275\u0275nextContext"]()._goToDateInView(e,"month")}),m["\u0275\u0275elementEnd"]()}if(2&e){var i=m["\u0275\u0275nextContext"]();m["\u0275\u0275property"]("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)}}function Y(e,t){if(1&e){var n=m["\u0275\u0275getCurrentView"]();m["\u0275\u0275elementStart"](0,"mat-multi-year-view",7),m["\u0275\u0275listener"]("activeDateChange",function(e){return m["\u0275\u0275restoreView"](n),m["\u0275\u0275nextContext"]().activeDate=e})("yearSelected",function(e){return m["\u0275\u0275restoreView"](n),m["\u0275\u0275nextContext"]()._yearSelectedInMultiYearView(e)})("selectedChange",function(e){return m["\u0275\u0275restoreView"](n),m["\u0275\u0275nextContext"]()._goToDateInView(e,"year")}),m["\u0275\u0275elementEnd"]()}if(2&e){var i=m["\u0275\u0275nextContext"]();m["\u0275\u0275property"]("activeDate",i.activeDate)("selected",i.selected)("dateFilter",i.dateFilter)("maxDate",i.maxDate)("minDate",i.minDate)("dateClass",i.dateClass)}}function W(e,t){}var G=["button"];function U(e,t){1&e&&(m["\u0275\u0275namespaceSVG"](),m["\u0275\u0275elementStart"](0,"svg",3),m["\u0275\u0275element"](1,"path",4),m["\u0275\u0275elementEnd"]())}var q=[[["","matDatepickerToggleIcon",""]]],Z=["[matDatepickerToggleIcon]"],$=function(){var e=function(){function e(){Object(l.a)(this,e),this.changes=new b.a,this.calendarLabel="Calendar",this.openCalendarLabel="Open calendar",this.closeCalendarLabel="Close calendar",this.prevMonthLabel="Previous month",this.nextMonthLabel="Next month",this.prevYearLabel="Previous year",this.nextYearLabel="Next year",this.prevMultiYearLabel="Previous 20 years",this.nextMultiYearLabel="Next 20 years",this.switchToMonthViewLabel="Choose date",this.switchToMultiYearViewLabel="Choose month and year"}return Object(c.a)(e,[{key:"formatYearRange",value:function(e,t){return"".concat(e," \u2013 ").concat(t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(m["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}(),X=Object(c.a)(function e(t,n,i,r){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,s=arguments.length>6?arguments[6]:void 0;Object(l.a)(this,e),this.value=t,this.displayValue=n,this.ariaLabel=i,this.enabled=r,this.cssClasses=a,this.compareValue=o,this.rawValue=s}),K=function(){var e=function(){function e(t,n){var i=this;Object(l.a)(this,e),this._elementRef=t,this._ngZone=n,this.numCols=7,this.activeCell=0,this.isRange=!1,this.cellAspectRatio=1,this.previewStart=null,this.previewEnd=null,this.selectedValueChange=new m.EventEmitter,this.previewChange=new m.EventEmitter,this._enterHandler=function(e){if(i._skipNextFocus&&"focus"===e.type)i._skipNextFocus=!1;else if(e.target&&i.isRange){var t=i._getCellFromElement(e.target);t&&i._ngZone.run(function(){return i.previewChange.emit({value:t.enabled?t:null,event:e})})}},this._leaveHandler=function(e){null!==i.previewEnd&&i.isRange&&e.target&&J(e.target)&&i._ngZone.run(function(){return i.previewChange.emit({value:null,event:e})})},n.runOutsideAngular(function(){var e=t.nativeElement;e.addEventListener("mouseenter",i._enterHandler,!0),e.addEventListener("focus",i._enterHandler,!0),e.addEventListener("mouseleave",i._leaveHandler,!0),e.addEventListener("blur",i._leaveHandler,!0)})}return Object(c.a)(e,[{key:"_cellClicked",value:function(e,t){e.enabled&&this.selectedValueChange.emit({value:e.value,event:t})}},{key:"_isSelected",value:function(e){return this.startValue===e||this.endValue===e}},{key:"ngOnChanges",value:function(e){var t=e.numCols,n=this.rows,i=this.numCols;(e.rows||t)&&(this._firstRowOffset=n&&n.length&&n[0].length?i-n[0].length:0),(e.cellAspectRatio||t||!this._cellPadding)&&(this._cellPadding="".concat(50*this.cellAspectRatio/i,"%")),!t&&this._cellWidth||(this._cellWidth="".concat(100/i,"%"))}},{key:"ngOnDestroy",value:function(){var e=this._elementRef.nativeElement;e.removeEventListener("mouseenter",this._enterHandler,!0),e.removeEventListener("focus",this._enterHandler,!0),e.removeEventListener("mouseleave",this._leaveHandler,!0),e.removeEventListener("blur",this._leaveHandler,!0)}},{key:"_isActiveCell",value:function(e,t){var n=e*this.numCols+t;return e&&(n-=this._firstRowOffset),n==this.activeCell}},{key:"_focusActiveCell",value:function(){var e=this,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe(Object(C.a)(1)).subscribe(function(){var n=e._elementRef.nativeElement.querySelector(".mat-calendar-body-active");n&&(t||(e._skipNextFocus=!0),n.focus())})})}},{key:"_isRangeStart",value:function(e){return Q(e,this.startValue,this.endValue)}},{key:"_isRangeEnd",value:function(e){return ee(e,this.startValue,this.endValue)}},{key:"_isInRange",value:function(e){return te(e,this.startValue,this.endValue,this.isRange)}},{key:"_isComparisonStart",value:function(e){return Q(e,this.comparisonStart,this.comparisonEnd)}},{key:"_isComparisonBridgeStart",value:function(e,t,n){if(!this._isComparisonStart(e)||this._isRangeStart(e)||!this._isInRange(e))return!1;var i=this.rows[t][n-1];if(!i){var r=this.rows[t-1];i=r&&r[r.length-1]}return i&&!this._isRangeEnd(i.compareValue)}},{key:"_isComparisonBridgeEnd",value:function(e,t,n){if(!this._isComparisonEnd(e)||this._isRangeEnd(e)||!this._isInRange(e))return!1;var i=this.rows[t][n+1];if(!i){var r=this.rows[t+1];i=r&&r[0]}return i&&!this._isRangeStart(i.compareValue)}},{key:"_isComparisonEnd",value:function(e){return ee(e,this.comparisonStart,this.comparisonEnd)}},{key:"_isInComparisonRange",value:function(e){return te(e,this.comparisonStart,this.comparisonEnd,this.isRange)}},{key:"_isComparisonIdentical",value:function(e){return this.comparisonStart===this.comparisonEnd&&e===this.comparisonStart}},{key:"_isPreviewStart",value:function(e){return Q(e,this.previewStart,this.previewEnd)}},{key:"_isPreviewEnd",value:function(e){return ee(e,this.previewStart,this.previewEnd)}},{key:"_isInPreview",value:function(e){return te(e,this.previewStart,this.previewEnd,this.isRange)}},{key:"_getCellFromElement",value:function(e){var t;if(J(e)?t=e:J(e.parentNode)&&(t=e.parentNode),t){var n=t.getAttribute("data-mat-row"),i=t.getAttribute("data-mat-col");if(n&&i)return this.rows[parseInt(n)][parseInt(i)]}return null}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ElementRef),m["\u0275\u0275directiveInject"](m.NgZone))},e.\u0275cmp=m["\u0275\u0275defineComponent"]({type:e,selectors:[["","mat-calendar-body",""]],hostAttrs:["role","grid","aria-readonly","true",1,"mat-calendar-body"],inputs:{numCols:"numCols",activeCell:"activeCell",isRange:"isRange",cellAspectRatio:"cellAspectRatio",previewStart:"previewStart",previewEnd:"previewEnd",label:"label",rows:"rows",todayValue:"todayValue",startValue:"startValue",endValue:"endValue",labelMinRequiredCells:"labelMinRequiredCells",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedValueChange:"selectedValueChange",previewChange:"previewChange"},exportAs:["matCalendarBody"],features:[m["\u0275\u0275NgOnChangesFeature"]],attrs:L,decls:2,vars:2,consts:[["aria-hidden","true",4,"ngIf"],["role","row",4,"ngFor","ngForOf"],["aria-hidden","true"],[1,"mat-calendar-body-label"],["role","row"],["aria-hidden","true","class","mat-calendar-body-label",3,"paddingTop","paddingBottom",4,"ngIf"],["role","gridcell","class","mat-calendar-body-cell",3,"ngClass","tabindex","mat-calendar-body-disabled","mat-calendar-body-active","mat-calendar-body-range-start","mat-calendar-body-range-end","mat-calendar-body-in-range","mat-calendar-body-comparison-bridge-start","mat-calendar-body-comparison-bridge-end","mat-calendar-body-comparison-start","mat-calendar-body-comparison-end","mat-calendar-body-in-comparison-range","mat-calendar-body-preview-start","mat-calendar-body-preview-end","mat-calendar-body-in-preview","width","paddingTop","paddingBottom","click",4,"ngFor","ngForOf"],["aria-hidden","true",1,"mat-calendar-body-label"],["role","gridcell",1,"mat-calendar-body-cell",3,"ngClass","tabindex","click"],[1,"mat-calendar-body-cell-content","mat-focus-indicator"],[1,"mat-calendar-body-cell-preview"]],template:function(e,t){1&e&&(m["\u0275\u0275template"](0,R,3,6,"tr",0),m["\u0275\u0275template"](1,F,3,2,"tr",1)),2&e&&(m["\u0275\u0275property"]("ngIf",t._firstRowOffset<t.labelMinRequiredCells),m["\u0275\u0275advance"](1),m["\u0275\u0275property"]("ngForOf",t.rows))},directives:[h.NgIf,h.NgForOf,h.NgClass],styles:['.mat-calendar-body{min-width:224px}.mat-calendar-body-label{height:0;line-height:0;text-align:left;padding-left:4.7142857143%;padding-right:4.7142857143%}.mat-calendar-body-cell{position:relative;height:0;line-height:0;text-align:center;outline:none;cursor:pointer}.mat-calendar-body-cell::before,.mat-calendar-body-cell::after,.mat-calendar-body-cell-preview{content:"";position:absolute;top:5%;left:0;z-index:0;box-sizing:border-box;height:90%;width:100%}.mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-start::after,.mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,.mat-calendar-body-comparison-start::after,.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:5%;width:95%;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-range-start:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-start:not(.mat-calendar-body-comparison-bridge-start)::before,[dir=rtl] .mat-calendar-body-comparison-start::after,[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{left:0;border-radius:0;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,.mat-calendar-body-comparison-end::after,.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}[dir=rtl] .mat-calendar-body-range-end:not(.mat-calendar-body-in-comparison-range)::before,[dir=rtl] .mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-end:not(.mat-calendar-body-comparison-bridge-end)::before,[dir=rtl] .mat-calendar-body-comparison-end::after,[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{left:5%;border-radius:0;border-top-left-radius:999px;border-bottom-left-radius:999px}[dir=rtl] .mat-calendar-body-comparison-bridge-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-bridge-end.mat-calendar-body-range-start::after{width:95%;border-top-right-radius:999px;border-bottom-right-radius:999px}.mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,[dir=rtl] .mat-calendar-body-comparison-start.mat-calendar-body-range-end::after,.mat-calendar-body-comparison-end.mat-calendar-body-range-start::after,[dir=rtl] .mat-calendar-body-comparison-end.mat-calendar-body-range-start::after{width:90%}.mat-calendar-body-in-preview .mat-calendar-body-cell-preview{border-top:dashed 1px;border-bottom:dashed 1px}.mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:dashed 1px}[dir=rtl] .mat-calendar-body-preview-start .mat-calendar-body-cell-preview{border-left:0;border-right:dashed 1px}.mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:dashed 1px}[dir=rtl] .mat-calendar-body-preview-end .mat-calendar-body-cell-preview{border-right:0;border-left:dashed 1px}.mat-calendar-body-disabled{cursor:default}.cdk-high-contrast-active .mat-calendar-body-disabled{opacity:.5}.mat-calendar-body-cell-content{top:5%;left:5%;z-index:1;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:90%;height:90%;line-height:1;border-width:1px;border-style:solid;border-radius:999px}.mat-calendar-body-cell-content.mat-focus-indicator{position:absolute}.cdk-high-contrast-active .mat-calendar-body-cell-content{border:none}.mat-datepicker-dialog .mat-dialog-container{position:relative;overflow:visible}.cdk-high-contrast-active .mat-datepicker-popup:not(:empty),.cdk-high-contrast-active .mat-calendar-body-selected{outline:solid 1px}.cdk-high-contrast-active .mat-calendar-body-today{outline:dotted 1px}.cdk-high-contrast-active .cdk-keyboard-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected),.cdk-high-contrast-active .cdk-program-focused .mat-calendar-body-active>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){outline:dotted 2px}[dir=rtl] .mat-calendar-body-label{text-align:right}@media(hover: none){.mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected){background-color:transparent}}\n'],encapsulation:2,changeDetection:0}),e}();function J(e){return"TD"===e.nodeName}function Q(e,t,n){return null!==n&&t!==n&&e<n&&e===t}function ee(e,t,n){return null!==t&&t!==n&&e>=t&&e===n}function te(e,t,n,i){return i&&null!==t&&null!==n&&t!==n&&e>=t&&e<=n}var ne=Object(c.a)(function e(t,n){Object(l.a)(this,e),this.start=t,this.end=n}),ie=function(){var e=function(){function e(t,n){Object(l.a)(this,e),this.selection=t,this._adapter=n,this._selectionChanged=new b.a,this.selectionChanged=this._selectionChanged,this.selection=t}return Object(c.a)(e,[{key:"updateSelection",value:function(e,t){var n=this.selection;this.selection=e,this._selectionChanged.next({selection:e,source:t,oldValue:n})}},{key:"ngOnDestroy",value:function(){this._selectionChanged.complete()}},{key:"_isValidDateInstance",value:function(e){return this._adapter.isDateInstance(e)&&this._adapter.isValid(e)}},{key:"clone",value:function(){return null}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275inject"](void 0),m["\u0275\u0275inject"](y.c))},e.\u0275prov=m["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),re=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e){return Object(l.a)(this,n),t.call(this,null,e)}return Object(c.a)(n,[{key:"add",value:function(e){Object(r.a)(Object(a.a)(n.prototype),"updateSelection",this).call(this,e,this)}},{key:"isValid",value:function(){return null!=this.selection&&this._isValidDateInstance(this.selection)}},{key:"isComplete",value:function(){return null!=this.selection}},{key:"clone",value:function(){var e=new n(this._adapter);return e.updateSelection(this.selection,this),e}}]),n}(ie);return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275inject"](y.c))},e.\u0275prov=m["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),ae={provide:ie,deps:[[new m.Optional,new m.SkipSelf,ie],y.c],useFactory:function(e,t){return e||new re(t)}},oe=new m.InjectionToken("MAT_DATE_RANGE_SELECTION_STRATEGY"),se=function(){var e=function(){function e(t,n,i,r,a){Object(l.a)(this,e),this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=i,this._dir=r,this._rangeStrategy=a,this._rerenderSubscription=x.a.EMPTY,this.selectedChange=new m.EventEmitter,this._userSelection=new m.EventEmitter,this.activeDateChange=new m.EventEmitter,this._activeDate=this._dateAdapter.today()}return Object(c.a)(e,[{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._hasSameMonthAndYear(t,this._activeDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e instanceof ne?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setRanges(this._selected)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(k.a)(null)).subscribe(function(){return e._init()})}},{key:"ngOnChanges",value:function(e){var t=e.comparisonStart||e.comparisonEnd;t&&!t.firstChange&&this._setRanges(this.selected)}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_dateSelected",value:function(e){var t,n,i=e.value,r=this._dateAdapter.getYear(this.activeDate),a=this._dateAdapter.getMonth(this.activeDate),o=this._dateAdapter.createDate(r,a,i);this._selected instanceof ne?(t=this._getDateInCurrentMonth(this._selected.start),n=this._getDateInCurrentMonth(this._selected.end)):t=n=this._getDateInCurrentMonth(this._selected),t===i&&n===i||this.selectedChange.emit(o),this._userSelection.emit({value:o,event:e.event}),this._previewStart=this._previewEnd=null,this._changeDetectorRef.markForCheck()}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case S.j:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?1:-1);break;case S.n:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,n?-1:1);break;case S.q:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,-7);break;case S.e:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,7);break;case S.i:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,1-this._dateAdapter.getDate(this._activeDate));break;case S.f:this.activeDate=this._dateAdapter.addCalendarDays(this._activeDate,this._dateAdapter.getNumDaysInMonth(this._activeDate)-this._dateAdapter.getDate(this._activeDate));break;case S.m:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,-1):this._dateAdapter.addCalendarMonths(this._activeDate,-1);break;case S.l:this.activeDate=e.altKey?this._dateAdapter.addCalendarYears(this._activeDate,1):this._dateAdapter.addCalendarMonths(this._activeDate,1);break;case S.g:case S.o:return void(this.dateFilter&&!this.dateFilter(this._activeDate)||(this._dateSelected({value:this._dateAdapter.getDate(this._activeDate),event:e}),e.preventDefault()));case S.h:return void(null==this._previewEnd||Object(S.t)(e)||(this._previewStart=this._previewEnd=null,this.selectedChange.emit(null),this._userSelection.emit({value:null,event:e}),e.preventDefault(),e.stopPropagation()));default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_init",value:function(){this._setRanges(this.selected),this._todayDate=this._getCellCompareValue(this._dateAdapter.today()),this._monthLabel=this._dateFormats.display.monthLabel?this._dateAdapter.format(this.activeDate,this._dateFormats.display.monthLabel):this._dateAdapter.getMonthNames("short")[this._dateAdapter.getMonth(this.activeDate)].toLocaleUpperCase();var e=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),1);this._firstWeekOffset=(7+this._dateAdapter.getDayOfWeek(e)-this._dateAdapter.getFirstDayOfWeek())%7,this._initWeekdays(),this._createWeekCells(),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(e){this._matCalendarBody._focusActiveCell(e)}},{key:"_previewChanged",value:function(e){var t=e.value;if(this._rangeStrategy){var n=this._rangeStrategy.createPreview(t?t.rawValue:null,this.selected,e.event);this._previewStart=this._getCellCompareValue(n.start),this._previewEnd=this._getCellCompareValue(n.end),this._changeDetectorRef.detectChanges()}}},{key:"_initWeekdays",value:function(){var e=this._dateAdapter.getFirstDayOfWeek(),t=this._dateAdapter.getDayOfWeekNames("narrow"),n=this._dateAdapter.getDayOfWeekNames("long").map(function(e,n){return{long:e,narrow:t[n]}});this._weekdays=n.slice(e).concat(n.slice(0,e))}},{key:"_createWeekCells",value:function(){var e=this._dateAdapter.getNumDaysInMonth(this.activeDate),t=this._dateAdapter.getDateNames();this._weeks=[[]];for(var n=0,i=this._firstWeekOffset;n<e;n++,i++){7==i&&(this._weeks.push([]),i=0);var r=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),this._dateAdapter.getMonth(this.activeDate),n+1),a=this._shouldEnableDate(r),o=this._dateAdapter.format(r,this._dateFormats.display.dateA11yLabel),s=this.dateClass?this.dateClass(r,"month"):void 0;this._weeks[this._weeks.length-1].push(new X(n+1,t[n],o,a,s,this._getCellCompareValue(r),r))}}},{key:"_shouldEnableDate",value:function(e){return!!e&&(!this.minDate||this._dateAdapter.compareDate(e,this.minDate)>=0)&&(!this.maxDate||this._dateAdapter.compareDate(e,this.maxDate)<=0)&&(!this.dateFilter||this.dateFilter(e))}},{key:"_getDateInCurrentMonth",value:function(e){return e&&this._hasSameMonthAndYear(e,this.activeDate)?this._dateAdapter.getDate(e):null}},{key:"_hasSameMonthAndYear",value:function(e,t){return!(!e||!t||this._dateAdapter.getMonth(e)!=this._dateAdapter.getMonth(t)||this._dateAdapter.getYear(e)!=this._dateAdapter.getYear(t))}},{key:"_getCellCompareValue",value:function(e){if(e){var t=this._dateAdapter.getYear(e),n=this._dateAdapter.getMonth(e),i=this._dateAdapter.getDate(e);return new Date(t,n,i).getTime()}return null}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setRanges",value:function(e){e instanceof ne?(this._rangeStart=this._getCellCompareValue(e.start),this._rangeEnd=this._getCellCompareValue(e.end),this._isRange=!0):(this._rangeStart=this._rangeEnd=this._getCellCompareValue(e),this._isRange=!1),this._comparisonRangeStart=this._getCellCompareValue(this.comparisonStart),this._comparisonRangeEnd=this._getCellCompareValue(this.comparisonEnd)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ChangeDetectorRef),m["\u0275\u0275directiveInject"](y.e,8),m["\u0275\u0275directiveInject"](y.c,8),m["\u0275\u0275directiveInject"](D.b,8),m["\u0275\u0275directiveInject"](oe,8))},e.\u0275cmp=m["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-month-view"]],viewQuery:function(e,t){var n;1&e&&m["\u0275\u0275viewQuery"](K,1),2&e&&m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",_userSelection:"_userSelection",activeDateChange:"activeDateChange"},exportAs:["matMonthView"],features:[m["\u0275\u0275NgOnChangesFeature"]],decls:7,vars:13,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["scope","col",4,"ngFor","ngForOf"],["colspan","7","aria-hidden","true",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","comparisonStart","comparisonEnd","previewStart","previewEnd","isRange","labelMinRequiredCells","activeCell","selectedValueChange","previewChange","keydown"],["scope","col"]],template:function(e,t){1&e&&(m["\u0275\u0275elementStart"](0,"table",0),m["\u0275\u0275elementStart"](1,"thead",1),m["\u0275\u0275elementStart"](2,"tr"),m["\u0275\u0275template"](3,B,2,2,"th",2),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](4,"tr"),m["\u0275\u0275element"](5,"th",3),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](6,"tbody",4),m["\u0275\u0275listener"]("selectedValueChange",function(e){return t._dateSelected(e)})("previewChange",function(e){return t._previewChanged(e)})("keydown",function(e){return t._handleCalendarBodyKeydown(e)}),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"]()),2&e&&(m["\u0275\u0275advance"](3),m["\u0275\u0275property"]("ngForOf",t._weekdays),m["\u0275\u0275advance"](3),m["\u0275\u0275property"]("label",t._monthLabel)("rows",t._weeks)("todayValue",t._todayDate)("startValue",t._rangeStart)("endValue",t._rangeEnd)("comparisonStart",t._comparisonRangeStart)("comparisonEnd",t._comparisonRangeEnd)("previewStart",t._previewStart)("previewEnd",t._previewEnd)("isRange",t._isRange)("labelMinRequiredCells",3)("activeCell",t._dateAdapter.getDate(t.activeDate)-1))},directives:[h.NgForOf,K],encapsulation:2,changeDetection:0}),e}(),le=24,ce=function(){var e=function(){function e(t,n,i){Object(l.a)(this,e),this._changeDetectorRef=t,this._dateAdapter=n,this._dir=i,this._rerenderSubscription=x.a.EMPTY,this.selectedChange=new m.EventEmitter,this.yearSelected=new m.EventEmitter,this.activeDateChange=new m.EventEmitter,this._activeDate=this._dateAdapter.today()}return Object(c.a)(e,[{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),de(this._dateAdapter,t,this._activeDate,this.minDate,this.maxDate)||this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e instanceof ne?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedYear(e)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(k.a)(null)).subscribe(function(){return e._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_init",value:function(){var e=this;this._todayYear=this._dateAdapter.getYear(this._dateAdapter.today());var t=this._dateAdapter.getYear(this._activeDate)-ue(this._dateAdapter,this.activeDate,this.minDate,this.maxDate);this._years=[];for(var n=0,i=[];n<le;n++)i.push(t+n),4==i.length&&(this._years.push(i.map(function(t){return e._createCellForYear(t)})),i=[]);this._changeDetectorRef.markForCheck()}},{key:"_yearSelected",value:function(e){var t=e.value;this.yearSelected.emit(this._dateAdapter.createDate(t,0,1));var n=this._dateAdapter.getMonth(this.activeDate),i=this._dateAdapter.getNumDaysInMonth(this._dateAdapter.createDate(t,n,1));this.selectedChange.emit(this._dateAdapter.createDate(t,n,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case S.j:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?1:-1);break;case S.n:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,n?-1:1);break;case S.q:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-4);break;case S.e:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,4);break;case S.i:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,-ue(this._dateAdapter,this.activeDate,this.minDate,this.maxDate));break;case S.f:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,le-ue(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)-1);break;case S.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-240:-24);break;case S.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?240:le);break;case S.g:case S.o:this._yearSelected({value:this._dateAdapter.getYear(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_getActiveCell",value:function(){return ue(this._dateAdapter,this.activeDate,this.minDate,this.maxDate)}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_createCellForYear",value:function(e){var t=this._dateAdapter.createDate(e,0,1),n=this._dateAdapter.getYearName(t),i=this.dateClass?this.dateClass(t,"multi-year"):void 0;return new X(e,n,n,this._shouldEnableYear(e),i)}},{key:"_shouldEnableYear",value:function(e){if(null==e||this.maxDate&&e>this._dateAdapter.getYear(this.maxDate)||this.minDate&&e<this._dateAdapter.getYear(this.minDate))return!1;if(!this.dateFilter)return!0;for(var t=this._dateAdapter.createDate(e,0,1);this._dateAdapter.getYear(t)==e;t=this._dateAdapter.addCalendarDays(t,1))if(this.dateFilter(t))return!0;return!1}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setSelectedYear",value:function(e){if(this._selectedYear=null,e instanceof ne){var t=e.start||e.end;t&&(this._selectedYear=this._dateAdapter.getYear(t))}else e&&(this._selectedYear=this._dateAdapter.getYear(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ChangeDetectorRef),m["\u0275\u0275directiveInject"](y.c,8),m["\u0275\u0275directiveInject"](D.b,8))},e.\u0275cmp=m["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-multi-year-view"]],viewQuery:function(e,t){var n;1&e&&m["\u0275\u0275viewQuery"](K,1),2&e&&m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",activeDateChange:"activeDateChange"},exportAs:["matMultiYearView"],decls:5,vars:7,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"rows","todayValue","startValue","endValue","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(e,t){1&e&&(m["\u0275\u0275elementStart"](0,"table",0),m["\u0275\u0275elementStart"](1,"thead",1),m["\u0275\u0275elementStart"](2,"tr"),m["\u0275\u0275element"](3,"th",2),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](4,"tbody",3),m["\u0275\u0275listener"]("selectedValueChange",function(e){return t._yearSelected(e)})("keydown",function(e){return t._handleCalendarBodyKeydown(e)}),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"]()),2&e&&(m["\u0275\u0275advance"](4),m["\u0275\u0275property"]("rows",t._years)("todayValue",t._todayYear)("startValue",t._selectedYear)("endValue",t._selectedYear)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._getActiveCell()))},directives:[K],encapsulation:2,changeDetection:0}),e}();function de(e,t,n,i,r){var a=e.getYear(t),o=e.getYear(n),s=pe(e,i,r);return Math.floor((a-s)/le)===Math.floor((o-s)/le)}function ue(e,t,n,i){return((e.getYear(t)-pe(e,n,i))%le+24)%24}function pe(e,t,n){var i=0;return n?i=e.getYear(n)-le+1:t&&(i=e.getYear(t)),i}var he=function(){var e=function(){function e(t,n,i,r){Object(l.a)(this,e),this._changeDetectorRef=t,this._dateFormats=n,this._dateAdapter=i,this._dir=r,this._rerenderSubscription=x.a.EMPTY,this.selectedChange=new m.EventEmitter,this.monthSelected=new m.EventEmitter,this.activeDateChange=new m.EventEmitter,this._activeDate=this._dateAdapter.today()}return Object(c.a)(e,[{key:"activeDate",get:function(){return this._activeDate},set:function(e){var t=this._activeDate,n=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))||this._dateAdapter.today();this._activeDate=this._dateAdapter.clampDate(n,this.minDate,this.maxDate),this._dateAdapter.getYear(t)!==this._dateAdapter.getYear(this._activeDate)&&this._init()}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e instanceof ne?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e)),this._setSelectedMonth(e)}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"ngAfterContentInit",value:function(){var e=this;this._rerenderSubscription=this._dateAdapter.localeChanges.pipe(Object(k.a)(null)).subscribe(function(){return e._init()})}},{key:"ngOnDestroy",value:function(){this._rerenderSubscription.unsubscribe()}},{key:"_monthSelected",value:function(e){var t=e.value,n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,1);this.monthSelected.emit(n);var i=this._dateAdapter.getNumDaysInMonth(n);this.selectedChange.emit(this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),t,Math.min(this._dateAdapter.getDate(this.activeDate),i)))}},{key:"_handleCalendarBodyKeydown",value:function(e){var t=this._activeDate,n=this._isRtl();switch(e.keyCode){case S.j:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?1:-1);break;case S.n:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,n?-1:1);break;case S.q:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-4);break;case S.e:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,4);break;case S.i:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,-this._dateAdapter.getMonth(this._activeDate));break;case S.f:this.activeDate=this._dateAdapter.addCalendarMonths(this._activeDate,11-this._dateAdapter.getMonth(this._activeDate));break;case S.m:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?-10:-1);break;case S.l:this.activeDate=this._dateAdapter.addCalendarYears(this._activeDate,e.altKey?10:1);break;case S.g:case S.o:this._monthSelected({value:this._dateAdapter.getMonth(this._activeDate),event:e});break;default:return}this._dateAdapter.compareDate(t,this.activeDate)&&this.activeDateChange.emit(this.activeDate),this._focusActiveCell(),e.preventDefault()}},{key:"_init",value:function(){var e=this;this._setSelectedMonth(this.selected),this._todayMonth=this._getMonthInCurrentYear(this._dateAdapter.today()),this._yearLabel=this._dateAdapter.getYearName(this.activeDate);var t=this._dateAdapter.getMonthNames("short");this._months=[[0,1,2,3],[4,5,6,7],[8,9,10,11]].map(function(n){return n.map(function(n){return e._createCellForMonth(n,t[n])})}),this._changeDetectorRef.markForCheck()}},{key:"_focusActiveCell",value:function(){this._matCalendarBody._focusActiveCell()}},{key:"_getMonthInCurrentYear",value:function(e){return e&&this._dateAdapter.getYear(e)==this._dateAdapter.getYear(this.activeDate)?this._dateAdapter.getMonth(e):null}},{key:"_createCellForMonth",value:function(e,t){var n=this._dateAdapter.createDate(this._dateAdapter.getYear(this.activeDate),e,1),i=this._dateAdapter.format(n,this._dateFormats.display.monthYearA11yLabel),r=this.dateClass?this.dateClass(n,"year"):void 0;return new X(e,t.toLocaleUpperCase(),i,this._shouldEnableMonth(e),r)}},{key:"_shouldEnableMonth",value:function(e){var t=this._dateAdapter.getYear(this.activeDate);if(null==e||this._isYearAndMonthAfterMaxDate(t,e)||this._isYearAndMonthBeforeMinDate(t,e))return!1;if(!this.dateFilter)return!0;for(var n=this._dateAdapter.createDate(t,e,1);this._dateAdapter.getMonth(n)==e;n=this._dateAdapter.addCalendarDays(n,1))if(this.dateFilter(n))return!0;return!1}},{key:"_isYearAndMonthAfterMaxDate",value:function(e,t){if(this.maxDate){var n=this._dateAdapter.getYear(this.maxDate),i=this._dateAdapter.getMonth(this.maxDate);return e>n||e===n&&t>i}return!1}},{key:"_isYearAndMonthBeforeMinDate",value:function(e,t){if(this.minDate){var n=this._dateAdapter.getYear(this.minDate),i=this._dateAdapter.getMonth(this.minDate);return e<n||e===n&&t<i}return!1}},{key:"_isRtl",value:function(){return this._dir&&"rtl"===this._dir.value}},{key:"_setSelectedMonth",value:function(e){this._selectedMonth=e instanceof ne?this._getMonthInCurrentYear(e.start)||this._getMonthInCurrentYear(e.end):this._getMonthInCurrentYear(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ChangeDetectorRef),m["\u0275\u0275directiveInject"](y.e,8),m["\u0275\u0275directiveInject"](y.c,8),m["\u0275\u0275directiveInject"](D.b,8))},e.\u0275cmp=m["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-year-view"]],viewQuery:function(e,t){var n;1&e&&m["\u0275\u0275viewQuery"](K,1),2&e&&m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._matCalendarBody=n.first)},inputs:{activeDate:"activeDate",selected:"selected",minDate:"minDate",maxDate:"maxDate",dateFilter:"dateFilter",dateClass:"dateClass"},outputs:{selectedChange:"selectedChange",monthSelected:"monthSelected",activeDateChange:"activeDateChange"},exportAs:["matYearView"],decls:5,vars:9,consts:[["role","presentation",1,"mat-calendar-table"],[1,"mat-calendar-table-header"],["colspan","4",1,"mat-calendar-table-header-divider"],["mat-calendar-body","",3,"label","rows","todayValue","startValue","endValue","labelMinRequiredCells","numCols","cellAspectRatio","activeCell","selectedValueChange","keydown"]],template:function(e,t){1&e&&(m["\u0275\u0275elementStart"](0,"table",0),m["\u0275\u0275elementStart"](1,"thead",1),m["\u0275\u0275elementStart"](2,"tr"),m["\u0275\u0275element"](3,"th",2),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](4,"tbody",3),m["\u0275\u0275listener"]("selectedValueChange",function(e){return t._monthSelected(e)})("keydown",function(e){return t._handleCalendarBodyKeydown(e)}),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"]()),2&e&&(m["\u0275\u0275advance"](4),m["\u0275\u0275property"]("label",t._yearLabel)("rows",t._months)("todayValue",t._todayMonth)("startValue",t._selectedMonth)("endValue",t._selectedMonth)("labelMinRequiredCells",2)("numCols",4)("cellAspectRatio",4/7)("activeCell",t._dateAdapter.getMonth(t.activeDate)))},directives:[K],encapsulation:2,changeDetection:0}),e}(),me=0,ge=function(){var e=function(){function e(t,n,i,r,a){Object(l.a)(this,e),this._intl=t,this.calendar=n,this._dateAdapter=i,this._dateFormats=r,this._buttonDescriptionId="mat-calendar-button-".concat(me++),this.calendar.stateChanges.subscribe(function(){return a.markForCheck()})}return Object(c.a)(e,[{key:"periodButtonText",get:function(){if("month"==this.calendar.currentView)return this._dateAdapter.format(this.calendar.activeDate,this._dateFormats.display.monthYearLabel).toLocaleUpperCase();if("year"==this.calendar.currentView)return this._dateAdapter.getYearName(this.calendar.activeDate);var e=this._dateAdapter.getYear(this.calendar.activeDate)-ue(this._dateAdapter,this.calendar.activeDate,this.calendar.minDate,this.calendar.maxDate),t=e+le-1,n=this._dateAdapter.getYearName(this._dateAdapter.createDate(e,0,1)),i=this._dateAdapter.getYearName(this._dateAdapter.createDate(t,0,1));return this._intl.formatYearRange(n,i)}},{key:"periodButtonLabel",get:function(){return"month"==this.calendar.currentView?this._intl.switchToMultiYearViewLabel:this._intl.switchToMonthViewLabel}},{key:"prevButtonLabel",get:function(){return{month:this._intl.prevMonthLabel,year:this._intl.prevYearLabel,"multi-year":this._intl.prevMultiYearLabel}[this.calendar.currentView]}},{key:"nextButtonLabel",get:function(){return{month:this._intl.nextMonthLabel,year:this._intl.nextYearLabel,"multi-year":this._intl.nextMultiYearLabel}[this.calendar.currentView]}},{key:"currentPeriodClicked",value:function(){this.calendar.currentView="month"==this.calendar.currentView?"multi-year":"month"}},{key:"previousClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,-1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?-1:-24)}},{key:"nextClicked",value:function(){this.calendar.activeDate="month"==this.calendar.currentView?this._dateAdapter.addCalendarMonths(this.calendar.activeDate,1):this._dateAdapter.addCalendarYears(this.calendar.activeDate,"year"==this.calendar.currentView?1:le)}},{key:"previousEnabled",value:function(){return!this.calendar.minDate||!this.calendar.minDate||!this._isSameView(this.calendar.activeDate,this.calendar.minDate)}},{key:"nextEnabled",value:function(){return!this.calendar.maxDate||!this._isSameView(this.calendar.activeDate,this.calendar.maxDate)}},{key:"_isSameView",value:function(e,t){return"month"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t)&&this._dateAdapter.getMonth(e)==this._dateAdapter.getMonth(t):"year"==this.calendar.currentView?this._dateAdapter.getYear(e)==this._dateAdapter.getYear(t):de(this._dateAdapter,e,t,this.calendar.minDate,this.calendar.maxDate)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"]($),m["\u0275\u0275directiveInject"](Object(m.forwardRef)(function(){return fe})),m["\u0275\u0275directiveInject"](y.c,8),m["\u0275\u0275directiveInject"](y.e,8),m["\u0275\u0275directiveInject"](m.ChangeDetectorRef))},e.\u0275cmp=m["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-calendar-header"]],exportAs:["matCalendarHeader"],ngContentSelectors:z,decls:10,vars:10,consts:[[1,"mat-calendar-header"],[1,"mat-calendar-controls"],["mat-button","","type","button","cdkAriaLive","polite",1,"mat-calendar-period-button",3,"click"],[1,"mat-calendar-arrow"],[1,"mat-calendar-spacer"],["mat-icon-button","","type","button",1,"mat-calendar-previous-button",3,"disabled","click"],["mat-icon-button","","type","button",1,"mat-calendar-next-button",3,"disabled","click"]],template:function(e,t){1&e&&(m["\u0275\u0275projectionDef"](),m["\u0275\u0275elementStart"](0,"div",0),m["\u0275\u0275elementStart"](1,"div",1),m["\u0275\u0275elementStart"](2,"button",2),m["\u0275\u0275listener"]("click",function(){return t.currentPeriodClicked()}),m["\u0275\u0275elementStart"](3,"span"),m["\u0275\u0275text"](4),m["\u0275\u0275elementEnd"](),m["\u0275\u0275element"](5,"div",3),m["\u0275\u0275elementEnd"](),m["\u0275\u0275element"](6,"div",4),m["\u0275\u0275projection"](7),m["\u0275\u0275elementStart"](8,"button",5),m["\u0275\u0275listener"]("click",function(){return t.previousClicked()}),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](9,"button",6),m["\u0275\u0275listener"]("click",function(){return t.nextClicked()}),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"]()),2&e&&(m["\u0275\u0275advance"](2),m["\u0275\u0275attribute"]("aria-label",t.periodButtonLabel)("aria-describedby",t._buttonDescriptionId),m["\u0275\u0275advance"](1),m["\u0275\u0275attribute"]("id",t._buttonDescriptionId),m["\u0275\u0275advance"](1),m["\u0275\u0275textInterpolate"](t.periodButtonText),m["\u0275\u0275advance"](1),m["\u0275\u0275classProp"]("mat-calendar-invert","month"!==t.calendar.currentView),m["\u0275\u0275advance"](3),m["\u0275\u0275property"]("disabled",!t.previousEnabled()),m["\u0275\u0275attribute"]("aria-label",t.prevButtonLabel),m["\u0275\u0275advance"](1),m["\u0275\u0275property"]("disabled",!t.nextEnabled()),m["\u0275\u0275attribute"]("aria-label",t.nextButtonLabel))},directives:[g.b,d.d],encapsulation:2,changeDetection:0}),e}(),fe=function(){var e=function(){function e(t,n,i,r){var a=this;Object(l.a)(this,e),this._dateAdapter=n,this._dateFormats=i,this._changeDetectorRef=r,this._moveFocusOnNextTick=!1,this.startView="month",this.selectedChange=new m.EventEmitter,this.yearSelected=new m.EventEmitter,this.monthSelected=new m.EventEmitter,this.viewChanged=new m.EventEmitter(!0),this._userSelection=new m.EventEmitter,this.stateChanges=new b.a,this._intlChanges=t.changes.subscribe(function(){r.markForCheck(),a.stateChanges.next()})}return Object(c.a)(e,[{key:"startAt",get:function(){return this._startAt},set:function(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"selected",get:function(){return this._selected},set:function(e){this._selected=e instanceof ne?e:this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"minDate",get:function(){return this._minDate},set:function(e){this._minDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"maxDate",get:function(){return this._maxDate},set:function(e){this._maxDate=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"activeDate",get:function(){return this._clampedActiveDate},set:function(e){this._clampedActiveDate=this._dateAdapter.clampDate(e,this.minDate,this.maxDate),this.stateChanges.next(),this._changeDetectorRef.markForCheck()}},{key:"currentView",get:function(){return this._currentView},set:function(e){var t=this._currentView!==e?e:null;this._currentView=e,this._moveFocusOnNextTick=!0,this._changeDetectorRef.markForCheck(),t&&this.viewChanged.emit(t)}},{key:"ngAfterContentInit",value:function(){this._calendarHeaderPortal=new p.d(this.headerComponent||ge),this.activeDate=this.startAt||this._dateAdapter.today(),this._currentView=this.startView}},{key:"ngAfterViewChecked",value:function(){this._moveFocusOnNextTick&&(this._moveFocusOnNextTick=!1,this.focusActiveCell())}},{key:"ngOnDestroy",value:function(){this._intlChanges.unsubscribe(),this.stateChanges.complete()}},{key:"ngOnChanges",value:function(e){var t=e.minDate||e.maxDate||e.dateFilter;if(t&&!t.firstChange){var n=this._getCurrentViewComponent();n&&(this._changeDetectorRef.detectChanges(),n._init())}this.stateChanges.next()}},{key:"focusActiveCell",value:function(){this._getCurrentViewComponent()._focusActiveCell(!1)}},{key:"updateTodaysDate",value:function(){var e=this.currentView;("month"===e?this.monthView:"year"===e?this.yearView:this.multiYearView)._init()}},{key:"_dateSelected",value:function(e){var t=e.value;(this.selected instanceof ne||t&&!this._dateAdapter.sameDate(t,this.selected))&&this.selectedChange.emit(t),this._userSelection.emit(e)}},{key:"_yearSelectedInMultiYearView",value:function(e){this.yearSelected.emit(e)}},{key:"_monthSelectedInYearView",value:function(e){this.monthSelected.emit(e)}},{key:"_goToDateInView",value:function(e,t){this.activeDate=e,this.currentView=t}},{key:"_getCurrentViewComponent",value:function(){return this.monthView||this.yearView||this.multiYearView}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"]($),m["\u0275\u0275directiveInject"](y.c,8),m["\u0275\u0275directiveInject"](y.e,8),m["\u0275\u0275directiveInject"](m.ChangeDetectorRef))},e.\u0275cmp=m["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-calendar"]],viewQuery:function(e,t){var n;1&e&&(m["\u0275\u0275viewQuery"](se,1),m["\u0275\u0275viewQuery"](he,1),m["\u0275\u0275viewQuery"](ce,1)),2&e&&(m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t.monthView=n.first),m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t.yearView=n.first),m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t.multiYearView=n.first))},hostAttrs:[1,"mat-calendar"],inputs:{startView:"startView",startAt:"startAt",selected:"selected",minDate:"minDate",maxDate:"maxDate",headerComponent:"headerComponent",dateFilter:"dateFilter",dateClass:"dateClass",comparisonStart:"comparisonStart",comparisonEnd:"comparisonEnd"},outputs:{selectedChange:"selectedChange",yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",_userSelection:"_userSelection"},exportAs:["matCalendar"],features:[m["\u0275\u0275ProvidersFeature"]([ae]),m["\u0275\u0275NgOnChangesFeature"]],decls:5,vars:5,consts:[[3,"cdkPortalOutlet"],["cdkMonitorSubtreeFocus","","tabindex","-1",1,"mat-calendar-content",3,"ngSwitch"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange",4,"ngSwitchCase"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","comparisonStart","comparisonEnd","activeDateChange","_userSelection"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","monthSelected","selectedChange"],[3,"activeDate","selected","dateFilter","maxDate","minDate","dateClass","activeDateChange","yearSelected","selectedChange"]],template:function(e,t){1&e&&(m["\u0275\u0275template"](0,N,0,0,"ng-template",0),m["\u0275\u0275elementStart"](1,"div",1),m["\u0275\u0275template"](2,H,1,8,"mat-month-view",2),m["\u0275\u0275template"](3,V,1,6,"mat-year-view",3),m["\u0275\u0275template"](4,Y,1,6,"mat-multi-year-view",4),m["\u0275\u0275elementEnd"]()),2&e&&(m["\u0275\u0275property"]("cdkPortalOutlet",t._calendarHeaderPortal),m["\u0275\u0275advance"](1),m["\u0275\u0275property"]("ngSwitch",t.currentView),m["\u0275\u0275advance"](1),m["\u0275\u0275property"]("ngSwitchCase","month"),m["\u0275\u0275advance"](1),m["\u0275\u0275property"]("ngSwitchCase","year"),m["\u0275\u0275advance"](1),m["\u0275\u0275property"]("ngSwitchCase","multi-year"))},directives:[p.c,d.e,h.NgSwitch,h.NgSwitchCase,se,he,ce],styles:['.mat-calendar{display:block}.mat-calendar-header{padding:8px 8px 0 8px}.mat-calendar-content{padding:0 8px 8px 8px;outline:none}.mat-calendar-controls{display:flex;margin:5% calc(33% / 7 - 16px)}.mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:.04}.mat-calendar-spacer{flex:1 1 auto}.mat-calendar-period-button{min-width:0}.mat-calendar-arrow{display:inline-block;width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top-width:5px;border-top-style:solid;margin:0 0 0 5px;vertical-align:middle}.mat-calendar-arrow.mat-calendar-invert{transform:rotate(180deg)}[dir=rtl] .mat-calendar-arrow{margin:0 5px 0 0}.mat-calendar-previous-button,.mat-calendar-next-button{position:relative}.mat-calendar-previous-button::after,.mat-calendar-next-button::after{top:0;left:0;right:0;bottom:0;position:absolute;content:"";margin:15.5px;border:0 solid currentColor;border-top-width:2px}[dir=rtl] .mat-calendar-previous-button,[dir=rtl] .mat-calendar-next-button{transform:rotate(180deg)}.mat-calendar-previous-button::after{border-left-width:2px;transform:translateX(2px) rotate(-45deg)}.mat-calendar-next-button::after{border-right-width:2px;transform:translateX(-2px) rotate(45deg)}.mat-calendar-table{border-spacing:0;border-collapse:collapse;width:100%}.mat-calendar-table-header th{text-align:center;padding:0 0 8px 0}.mat-calendar-table-header-divider{position:relative;height:1px}.mat-calendar-table-header-divider::after{content:"";position:absolute;top:0;left:-8px;right:-8px;height:1px}\n'],encapsulation:2,changeDetection:0}),e}(),ve={transformPanel:Object(M.n)("transformPanel",[Object(M.k)("void",Object(M.l)({opacity:0,transform:"scale(1, 0.8)"})),Object(M.m)("void => enter",Object(M.e)("120ms cubic-bezier(0, 0, 0.2, 1)",Object(M.l)({opacity:1,transform:"scale(1, 1)"}))),Object(M.m)("* => void",Object(M.e)("100ms linear",Object(M.l)({opacity:0})))]),fadeInCalendar:Object(M.n)("fadeInCalendar",[Object(M.k)("void",Object(M.l)({opacity:0})),Object(M.k)("enter",Object(M.l)({opacity:1})),Object(M.m)("void => *",Object(M.e)("120ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)"))])},ye=0,be=new m.InjectionToken("mat-datepicker-scroll-strategy"),xe={provide:be,deps:[u.c],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},_e=Object(c.a)(function e(t){Object(l.a)(this,e),this._elementRef=t}),we=Object(y.y)(_e),Se=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r,a,o,s){var c;return Object(l.a)(this,n),(c=t.call(this,e))._changeDetectorRef=i,c._globalModel=r,c._dateAdapter=a,c._rangeSelectionStrategy=o,c._subscriptions=new x.a,c._animationState="enter",c._animationDone=new b.a,c._actionsPortal=null,c._closeButtonText=(null==s?void 0:s.closeCalendarLabel)||"Close calendar",c}return Object(c.a)(n,[{key:"ngOnInit",value:function(){this._model=this._actionsPortal?this._globalModel.clone():this._globalModel}},{key:"ngAfterViewInit",value:function(){var e=this;this._subscriptions.add(this.datepicker.stateChanges.subscribe(function(){e._changeDetectorRef.markForCheck()})),this._calendar.focusActiveCell()}},{key:"ngOnDestroy",value:function(){this._subscriptions.unsubscribe(),this._animationDone.complete()}},{key:"_handleUserSelection",value:function(e){var t=this._model.selection,n=e.value,i=t instanceof ne;if(i&&this._rangeSelectionStrategy){var r=this._rangeSelectionStrategy.selectionFinished(n,t,e.event);this._model.updateSelection(r,this)}else!n||!i&&this._dateAdapter.sameDate(n,t)||this._model.add(n);this._model&&!this._model.isComplete()||this._actionsPortal||this.datepicker.close()}},{key:"_startExitAnimation",value:function(){this._animationState="void",this._changeDetectorRef.markForCheck()}},{key:"_getSelected",value:function(){return this._model.selection}},{key:"_applyPendingSelection",value:function(){this._model!==this._globalModel&&this._globalModel.updateSelection(this._model.selection,this)}}]),n}(we);return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ElementRef),m["\u0275\u0275directiveInject"](m.ChangeDetectorRef),m["\u0275\u0275directiveInject"](ie),m["\u0275\u0275directiveInject"](y.c),m["\u0275\u0275directiveInject"](oe,8),m["\u0275\u0275directiveInject"]($))},e.\u0275cmp=m["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-datepicker-content"]],viewQuery:function(e,t){var n;1&e&&m["\u0275\u0275viewQuery"](fe,1),2&e&&m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._calendar=n.first)},hostAttrs:[1,"mat-datepicker-content"],hostVars:3,hostBindings:function(e,t){1&e&&m["\u0275\u0275syntheticHostListener"]("@transformPanel.done",function(){return t._animationDone.next()}),2&e&&(m["\u0275\u0275syntheticHostProperty"]("@transformPanel",t._animationState),m["\u0275\u0275classProp"]("mat-datepicker-content-touch",t.datepicker.touchUi))},inputs:{color:"color"},exportAs:["matDatepickerContent"],features:[m["\u0275\u0275InheritDefinitionFeature"]],decls:5,vars:20,consts:[["cdkTrapFocus","",1,"mat-datepicker-content-container"],[3,"id","ngClass","startAt","startView","minDate","maxDate","dateFilter","headerComponent","selected","dateClass","comparisonStart","comparisonEnd","yearSelected","monthSelected","viewChanged","_userSelection"],[3,"cdkPortalOutlet"],["type","button","mat-raised-button","",1,"mat-datepicker-close-button",3,"color","focus","blur","click"]],template:function(e,t){1&e&&(m["\u0275\u0275elementStart"](0,"div",0),m["\u0275\u0275elementStart"](1,"mat-calendar",1),m["\u0275\u0275listener"]("yearSelected",function(e){return t.datepicker._selectYear(e)})("monthSelected",function(e){return t.datepicker._selectMonth(e)})("viewChanged",function(e){return t.datepicker._viewChanged(e)})("_userSelection",function(e){return t._handleUserSelection(e)}),m["\u0275\u0275elementEnd"](),m["\u0275\u0275template"](2,W,0,0,"ng-template",2),m["\u0275\u0275elementStart"](3,"button",3),m["\u0275\u0275listener"]("focus",function(){return t._closeButtonFocused=!0})("blur",function(){return t._closeButtonFocused=!1})("click",function(){return t.datepicker.close()}),m["\u0275\u0275text"](4),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"]()),2&e&&(m["\u0275\u0275classProp"]("mat-datepicker-content-container-with-actions",t._actionsPortal),m["\u0275\u0275advance"](1),m["\u0275\u0275property"]("id",t.datepicker.id)("ngClass",t.datepicker.panelClass)("startAt",t.datepicker.startAt)("startView",t.datepicker.startView)("minDate",t.datepicker._getMinDate())("maxDate",t.datepicker._getMaxDate())("dateFilter",t.datepicker._getDateFilter())("headerComponent",t.datepicker.calendarHeaderComponent)("selected",t._getSelected())("dateClass",t.datepicker.dateClass)("comparisonStart",t.comparisonStart)("comparisonEnd",t.comparisonEnd)("@fadeInCalendar","enter"),m["\u0275\u0275advance"](1),m["\u0275\u0275property"]("cdkPortalOutlet",t._actionsPortal),m["\u0275\u0275advance"](1),m["\u0275\u0275classProp"]("cdk-visually-hidden",!t._closeButtonFocused),m["\u0275\u0275property"]("color",t.color||"primary"),m["\u0275\u0275advance"](1),m["\u0275\u0275textInterpolate"](t._closeButtonText))},directives:[d.f,fe,h.NgClass,p.c,g.b],styles:[".mat-datepicker-content{display:block;border-radius:4px}.mat-datepicker-content .mat-calendar{width:296px;height:354px}.mat-datepicker-content .mat-datepicker-close-button{position:absolute;top:100%;left:0;margin-top:8px}.ng-animating .mat-datepicker-content .mat-datepicker-close-button{display:none}.mat-datepicker-content-container{display:flex;flex-direction:column;justify-content:space-between}.mat-datepicker-content-touch{display:block;max-height:80vh;overflow:auto;margin:-24px}.mat-datepicker-content-touch .mat-datepicker-content-container{min-height:312px;max-height:788px;min-width:250px;max-width:750px}.mat-datepicker-content-touch .mat-calendar{width:100%;height:auto}@media all and (orientation: landscape){.mat-datepicker-content-touch .mat-datepicker-content-container{width:64vh;height:80vh}}@media all and (orientation: portrait){.mat-datepicker-content-touch .mat-datepicker-content-container{width:80vw;height:100vw}.mat-datepicker-content-touch .mat-datepicker-content-container-with-actions{height:115vw}}\n"],encapsulation:2,data:{animation:[ve.transformPanel,ve.fadeInCalendar]},changeDetection:0}),e}(),Ce=function(){var e=function(){function e(t,n,i,r,a,o,s,c,d){Object(l.a)(this,e),this._dialog=t,this._overlay=n,this._ngZone=i,this._viewContainerRef=r,this._dateAdapter=o,this._dir=s,this._document=c,this._model=d,this._inputStateChanges=x.a.EMPTY,this.startView="month",this._touchUi=!1,this.xPosition="start",this.yPosition="below",this._restoreFocus=!0,this.yearSelected=new m.EventEmitter,this.monthSelected=new m.EventEmitter,this.viewChanged=new m.EventEmitter(!0),this.openedStream=new m.EventEmitter,this.closedStream=new m.EventEmitter,this._opened=!1,this.id="mat-datepicker-".concat(ye++),this._focusedElementBeforeOpen=null,this._backdropHarnessClass="".concat(this.id,"-backdrop"),this.stateChanges=new b.a,this._scrollStrategy=a}return Object(c.a)(e,[{key:"startAt",get:function(){return this._startAt||(this.datepickerInput?this.datepickerInput.getStartValue():null)},set:function(e){this._startAt=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e))}},{key:"color",get:function(){return this._color||(this.datepickerInput?this.datepickerInput.getThemePalette():void 0)},set:function(e){this._color=e}},{key:"touchUi",get:function(){return this._touchUi},set:function(e){this._touchUi=Object(E.c)(e)}},{key:"disabled",get:function(){return void 0===this._disabled&&this.datepickerInput?this.datepickerInput.disabled:!!this._disabled},set:function(e){var t=Object(E.c)(e);t!==this._disabled&&(this._disabled=t,this.stateChanges.next(void 0))}},{key:"restoreFocus",get:function(){return this._restoreFocus},set:function(e){this._restoreFocus=Object(E.c)(e)}},{key:"panelClass",get:function(){return this._panelClass},set:function(e){this._panelClass=Object(E.g)(e)}},{key:"opened",get:function(){return this._opened},set:function(e){Object(E.c)(e)?this.open():this.close()}},{key:"_getMinDate",value:function(){return this.datepickerInput&&this.datepickerInput.min}},{key:"_getMaxDate",value:function(){return this.datepickerInput&&this.datepickerInput.max}},{key:"_getDateFilter",value:function(){return this.datepickerInput&&this.datepickerInput.dateFilter}},{key:"ngOnChanges",value:function(e){var t=e.xPosition||e.yPosition;t&&!t.firstChange&&this._popupRef&&(this._setConnectedPositions(this._popupRef.getConfig().positionStrategy),this.opened&&this._popupRef.updatePosition()),this.stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this._destroyPopup(),this.close(),this._inputStateChanges.unsubscribe(),this.stateChanges.complete()}},{key:"select",value:function(e){this._model.add(e)}},{key:"_selectYear",value:function(e){this.yearSelected.emit(e)}},{key:"_selectMonth",value:function(e){this.monthSelected.emit(e)}},{key:"_viewChanged",value:function(e){this.viewChanged.emit(e)}},{key:"registerInput",value:function(e){var t=this;return this._inputStateChanges.unsubscribe(),this.datepickerInput=e,this._inputStateChanges=e.stateChanges.subscribe(function(){return t.stateChanges.next(void 0)}),this._model}},{key:"registerActions",value:function(e){this._actionsPortal=e}},{key:"removeActions",value:function(e){e===this._actionsPortal&&(this._actionsPortal=null)}},{key:"open",value:function(){this._opened||this.disabled||(this._document&&(this._focusedElementBeforeOpen=this._document.activeElement),this.touchUi?this._openAsDialog():this._openAsPopup(),this._opened=!0,this.openedStream.emit())}},{key:"close",value:function(){var e=this;if(this._opened){if(this._popupComponentRef&&this._popupRef){var t=this._popupComponentRef.instance;t._startExitAnimation(),t._animationDone.pipe(Object(C.a)(1)).subscribe(function(){return e._destroyPopup()})}this._dialogRef&&(this._dialogRef.close(),this._dialogRef=null);var n=function(){e._opened&&(e._opened=!1,e.closedStream.emit(),e._focusedElementBeforeOpen=null)};this._restoreFocus&&this._focusedElementBeforeOpen&&"function"==typeof this._focusedElementBeforeOpen.focus?(this._focusedElementBeforeOpen.focus(),setTimeout(n)):n()}}},{key:"_applyPendingSelection",value:function(){var e,t,n=(null===(e=this._popupComponentRef)||void 0===e?void 0:e.instance)||(null===(t=this._dialogRef)||void 0===t?void 0:t.componentInstance);null==n||n._applyPendingSelection()}},{key:"_openAsDialog",value:function(){var e=this;this._dialogRef&&this._dialogRef.close(),this._dialogRef=this._dialog.open(Se,{direction:this._dir?this._dir.value:"ltr",viewContainerRef:this._viewContainerRef,panelClass:"mat-datepicker-dialog",hasBackdrop:!0,disableClose:!1,backdropClass:["cdk-overlay-dark-backdrop",this._backdropHarnessClass],width:"",height:"",minWidth:"",minHeight:"",maxWidth:"80vw",maxHeight:"",position:{},autoFocus:!1,restoreFocus:!1}),this._dialogRef.afterClosed().subscribe(function(){return e.close()}),this._forwardContentValues(this._dialogRef.componentInstance)}},{key:"_openAsPopup",value:function(){var e=this,t=new p.d(Se,this._viewContainerRef);this._destroyPopup(),this._createPopup(),this._popupComponentRef=this._popupRef.attach(t),this._forwardContentValues(this._popupComponentRef.instance),this._ngZone.onStable.pipe(Object(C.a)(1)).subscribe(function(){e._popupRef.updatePosition()})}},{key:"_forwardContentValues",value:function(e){e.datepicker=this,e.color=this.color,e._actionsPortal=this._actionsPortal}},{key:"_createPopup",value:function(){var e=this,t=this._overlay.position().flexibleConnectedTo(this.datepickerInput.getConnectedOverlayOrigin()).withTransformOriginOn(".mat-datepicker-content").withFlexibleDimensions(!1).withViewportMargin(8).withLockedPosition(),n=new u.d({positionStrategy:this._setConnectedPositions(t),hasBackdrop:!0,backdropClass:["mat-overlay-transparent-backdrop",this._backdropHarnessClass],direction:this._dir,scrollStrategy:this._scrollStrategy(),panelClass:"mat-datepicker-popup"});this._popupRef=this._overlay.create(n),this._popupRef.overlayElement.setAttribute("role","dialog"),Object(_.a)(this._popupRef.backdropClick(),this._popupRef.detachments(),this._popupRef.keydownEvents().pipe(Object(O.a)(function(t){return t.keyCode===S.h&&!Object(S.t)(t)||e.datepickerInput&&Object(S.t)(t,"altKey")&&t.keyCode===S.q}))).subscribe(function(t){t&&t.preventDefault(),e.close()})}},{key:"_destroyPopup",value:function(){this._popupRef&&(this._popupRef.dispose(),this._popupRef=this._popupComponentRef=null)}},{key:"_setConnectedPositions",value:function(e){var t="end"===this.xPosition?"end":"start",n="start"===t?"end":"start",i="above"===this.yPosition?"bottom":"top",r="top"===i?"bottom":"top";return e.withPositions([{originX:t,originY:r,overlayX:t,overlayY:i},{originX:t,originY:i,overlayX:t,overlayY:r},{originX:n,originY:r,overlayX:n,overlayY:i},{originX:n,originY:i,overlayX:n,overlayY:r}])}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](f.b),m["\u0275\u0275directiveInject"](u.c),m["\u0275\u0275directiveInject"](m.NgZone),m["\u0275\u0275directiveInject"](m.ViewContainerRef),m["\u0275\u0275directiveInject"](be),m["\u0275\u0275directiveInject"](y.c,8),m["\u0275\u0275directiveInject"](D.b,8),m["\u0275\u0275directiveInject"](h.DOCUMENT,8),m["\u0275\u0275directiveInject"](ie))},e.\u0275dir=m["\u0275\u0275defineDirective"]({type:e,inputs:{startView:"startView",xPosition:"xPosition",yPosition:"yPosition",startAt:"startAt",color:"color",touchUi:"touchUi",disabled:"disabled",restoreFocus:"restoreFocus",panelClass:"panelClass",opened:"opened",calendarHeaderComponent:"calendarHeaderComponent",dateClass:"dateClass"},outputs:{yearSelected:"yearSelected",monthSelected:"monthSelected",viewChanged:"viewChanged",openedStream:"opened",closedStream:"closed"},features:[m["\u0275\u0275NgOnChangesFeature"]]}),e}(),ke=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){return Object(l.a)(this,n),t.apply(this,arguments)}return Object(c.a)(n)}(Ce);return e.\u0275fac=function(t){return Oe(t||e)},e.\u0275cmp=m["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-datepicker"]],exportAs:["matDatepicker"],features:[m["\u0275\u0275ProvidersFeature"]([ae,{provide:Ce,useExisting:e}]),m["\u0275\u0275InheritDefinitionFeature"]],decls:0,vars:0,template:function(e,t){},encapsulation:2,changeDetection:0}),e}(),Oe=m["\u0275\u0275getInheritedFactory"](ke),Ee=Object(c.a)(function e(t,n){Object(l.a)(this,e),this.target=t,this.targetElement=n,this.value=this.target.value}),Me=function(){var e=function(){function e(t,n,i){var r=this;Object(l.a)(this,e),this._elementRef=t,this._dateAdapter=n,this._dateFormats=i,this.dateChange=new m.EventEmitter,this.dateInput=new m.EventEmitter,this.stateChanges=new b.a,this._onTouched=function(){},this._validatorOnChange=function(){},this._cvaOnChange=function(){},this._valueChangesSubscription=x.a.EMPTY,this._localeSubscription=x.a.EMPTY,this._parseValidator=function(){return r._lastValueValid?null:{matDatepickerParse:{text:r._elementRef.nativeElement.value}}},this._filterValidator=function(e){var t=r._dateAdapter.getValidDateOrNull(r._dateAdapter.deserialize(e.value));return!t||r._matchesFilter(t)?null:{matDatepickerFilter:!0}},this._minValidator=function(e){var t=r._dateAdapter.getValidDateOrNull(r._dateAdapter.deserialize(e.value)),n=r._getMinDate();return!n||!t||r._dateAdapter.compareDate(n,t)<=0?null:{matDatepickerMin:{min:n,actual:t}}},this._maxValidator=function(e){var t=r._dateAdapter.getValidDateOrNull(r._dateAdapter.deserialize(e.value)),n=r._getMaxDate();return!n||!t||r._dateAdapter.compareDate(n,t)>=0?null:{matDatepickerMax:{max:n,actual:t}}},this._lastValueValid=!1,this._localeSubscription=n.localeChanges.subscribe(function(){r._assignValueProgrammatically(r.value)})}return Object(c.a)(e,[{key:"value",get:function(){return this._model?this._getValueFromModel(this._model.selection):this._pendingValue},set:function(e){this._assignValueProgrammatically(e)}},{key:"disabled",get:function(){return!!this._disabled||this._parentDisabled()},set:function(e){var t=Object(E.c)(e),n=this._elementRef.nativeElement;this._disabled!==t&&(this._disabled=t,this.stateChanges.next(void 0)),t&&this._isInitialized&&n.blur&&n.blur()}},{key:"_getValidators",value:function(){return[this._parseValidator,this._minValidator,this._maxValidator,this._filterValidator]}},{key:"_registerModel",value:function(e){var t=this;this._model=e,this._valueChangesSubscription.unsubscribe(),this._pendingValue&&this._assignValue(this._pendingValue),this._valueChangesSubscription=this._model.selectionChanged.subscribe(function(e){if(t._shouldHandleChangeEvent(e)){var n=t._getValueFromModel(e.selection);t._lastValueValid=t._isValidValue(n),t._cvaOnChange(n),t._onTouched(),t._formatValue(n),t.dateInput.emit(new Ee(t,t._elementRef.nativeElement)),t.dateChange.emit(new Ee(t,t._elementRef.nativeElement))}})}},{key:"ngAfterViewInit",value:function(){this._isInitialized=!0}},{key:"ngOnChanges",value:function(e){(function(e,t){for(var n=0,i=Object.keys(e);n<i.length;n++){var r=e[i[n]],a=r.previousValue,o=r.currentValue;if(!t.isDateInstance(a)||!t.isDateInstance(o))return!0;if(!t.sameDate(a,o))return!0}return!1})(e,this._dateAdapter)&&this.stateChanges.next(void 0)}},{key:"ngOnDestroy",value:function(){this._valueChangesSubscription.unsubscribe(),this._localeSubscription.unsubscribe(),this.stateChanges.complete()}},{key:"registerOnValidatorChange",value:function(e){this._validatorOnChange=e}},{key:"validate",value:function(e){return this._validator?this._validator(e):null}},{key:"writeValue",value:function(e){this._assignValueProgrammatically(e)}},{key:"registerOnChange",value:function(e){this._cvaOnChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"_onKeydown",value:function(e){e.altKey&&e.keyCode===S.e&&!this._elementRef.nativeElement.readOnly&&(this._openPopup(),e.preventDefault())}},{key:"_onInput",value:function(e){var t=this._lastValueValid,n=this._dateAdapter.parse(e,this._dateFormats.parse.dateInput);this._lastValueValid=this._isValidValue(n),n=this._dateAdapter.getValidDateOrNull(n),this._dateAdapter.sameDate(n,this.value)?(e&&!this.value&&this._cvaOnChange(n),t!==this._lastValueValid&&this._validatorOnChange()):(this._assignValue(n),this._cvaOnChange(n),this.dateInput.emit(new Ee(this,this._elementRef.nativeElement)))}},{key:"_onChange",value:function(){this.dateChange.emit(new Ee(this,this._elementRef.nativeElement))}},{key:"_onBlur",value:function(){this.value&&this._formatValue(this.value),this._onTouched()}},{key:"_formatValue",value:function(e){this._elementRef.nativeElement.value=e?this._dateAdapter.format(e,this._dateFormats.display.dateInput):""}},{key:"_assignValue",value:function(e){this._model?(this._assignValueToModel(e),this._pendingValue=null):this._pendingValue=e}},{key:"_isValidValue",value:function(e){return!e||this._dateAdapter.isValid(e)}},{key:"_parentDisabled",value:function(){return!1}},{key:"_assignValueProgrammatically",value:function(e){e=this._dateAdapter.deserialize(e),this._lastValueValid=this._isValidValue(e),e=this._dateAdapter.getValidDateOrNull(e),this._assignValue(e),this._formatValue(e)}},{key:"_matchesFilter",value:function(e){var t=this._getDateFilter();return!t||t(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ElementRef),m["\u0275\u0275directiveInject"](y.c,8),m["\u0275\u0275directiveInject"](y.e,8))},e.\u0275dir=m["\u0275\u0275defineDirective"]({type:e,inputs:{value:"value",disabled:"disabled"},outputs:{dateChange:"dateChange",dateInput:"dateInput"},features:[m["\u0275\u0275NgOnChangesFeature"]]}),e}(),Ie={provide:I.m,useExisting:Object(m.forwardRef)(function(){return Te}),multi:!0},Pe={provide:I.l,useExisting:Object(m.forwardRef)(function(){return Te}),multi:!0},Te=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,o,s,c){var d,u;return Object(l.a)(this,n),(u=t.call(this,e,o,s))._formField=c,u._closedSubscription=x.a.EMPTY,u._validator=I.y.compose(Object(r.a)((d=Object(i.a)(u),Object(a.a)(n.prototype)),"_getValidators",d).call(d)),u}return Object(c.a)(n,[{key:"matDatepicker",set:function(e){var t=this;e&&(this._datepicker=e,this._closedSubscription=e.closedStream.subscribe(function(){return t._onTouched()}),this._registerModel(e.registerInput(this)))}},{key:"min",get:function(){return this._min},set:function(e){var t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._min)||(this._min=t,this._validatorOnChange())}},{key:"max",get:function(){return this._max},set:function(e){var t=this._dateAdapter.getValidDateOrNull(this._dateAdapter.deserialize(e));this._dateAdapter.sameDate(t,this._max)||(this._max=t,this._validatorOnChange())}},{key:"dateFilter",get:function(){return this._dateFilter},set:function(e){var t=this._matchesFilter(this.value);this._dateFilter=e,this._matchesFilter(this.value)!==t&&this._validatorOnChange()}},{key:"getConnectedOverlayOrigin",value:function(){return this._formField?this._formField.getConnectedOverlayOrigin():this._elementRef}},{key:"getThemePalette",value:function(){return this._formField?this._formField.color:void 0}},{key:"getStartValue",value:function(){return this.value}},{key:"ngOnDestroy",value:function(){Object(r.a)(Object(a.a)(n.prototype),"ngOnDestroy",this).call(this),this._closedSubscription.unsubscribe()}},{key:"_openPopup",value:function(){this._datepicker&&this._datepicker.open()}},{key:"_getValueFromModel",value:function(e){return e}},{key:"_assignValueToModel",value:function(e){this._model&&this._model.updateSelection(e,this)}},{key:"_getMinDate",value:function(){return this._min}},{key:"_getMaxDate",value:function(){return this._max}},{key:"_getDateFilter",value:function(){return this._dateFilter}},{key:"_shouldHandleChangeEvent",value:function(e){return e.source!==this}}]),n}(Me);return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ElementRef),m["\u0275\u0275directiveInject"](y.c,8),m["\u0275\u0275directiveInject"](y.e,8),m["\u0275\u0275directiveInject"](P.a,8))},e.\u0275dir=m["\u0275\u0275defineDirective"]({type:e,selectors:[["input","matDatepicker",""]],hostAttrs:[1,"mat-datepicker-input"],hostVars:6,hostBindings:function(e,t){1&e&&m["\u0275\u0275listener"]("input",function(e){return t._onInput(e.target.value)})("change",function(){return t._onChange()})("blur",function(){return t._onBlur()})("keydown",function(e){return t._onKeydown(e)}),2&e&&(m["\u0275\u0275hostProperty"]("disabled",t.disabled),m["\u0275\u0275attribute"]("aria-haspopup",t._datepicker?"dialog":null)("aria-owns",(null==t._datepicker?null:t._datepicker.opened)&&t._datepicker.id||null)("min",t.min?t._dateAdapter.toIso8601(t.min):null)("max",t.max?t._dateAdapter.toIso8601(t.max):null)("data-mat-calendar",t._datepicker?t._datepicker.id:null))},inputs:{matDatepicker:"matDatepicker",min:"min",max:"max",dateFilter:["matDatepickerFilter","dateFilter"]},exportAs:["matDatepickerInput"],features:[m["\u0275\u0275ProvidersFeature"]([Ie,Pe,{provide:T.a,useExisting:e}]),m["\u0275\u0275InheritDefinitionFeature"]]}),e}(),De=function(){var e=Object(c.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=m["\u0275\u0275defineDirective"]({type:e,selectors:[["","matDatepickerToggleIcon",""]]}),e}(),Le=function(){var e=function(){function e(t,n,i){Object(l.a)(this,e),this._intl=t,this._changeDetectorRef=n,this._stateChanges=x.a.EMPTY;var r=Number(i);this.tabIndex=r||0===r?r:null}return Object(c.a)(e,[{key:"disabled",get:function(){return void 0===this._disabled&&this.datepicker?this.datepicker.disabled:!!this._disabled},set:function(e){this._disabled=Object(E.c)(e)}},{key:"ngOnChanges",value:function(e){e.datepicker&&this._watchStateChanges()}},{key:"ngOnDestroy",value:function(){this._stateChanges.unsubscribe()}},{key:"ngAfterContentInit",value:function(){this._watchStateChanges()}},{key:"_open",value:function(e){this.datepicker&&!this.disabled&&(this.datepicker.open(),e.stopPropagation())}},{key:"_watchStateChanges",value:function(){var e=this,t=this.datepicker?this.datepicker.stateChanges:Object(w.a)(),n=this.datepicker&&this.datepicker.datepickerInput?this.datepicker.datepickerInput.stateChanges:Object(w.a)(),i=this.datepicker?Object(_.a)(this.datepicker.openedStream,this.datepicker.closedStream):Object(w.a)();this._stateChanges.unsubscribe(),this._stateChanges=Object(_.a)(this._intl.changes,t,n,i).subscribe(function(){return e._changeDetectorRef.markForCheck()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"]($),m["\u0275\u0275directiveInject"](m.ChangeDetectorRef),m["\u0275\u0275injectAttribute"]("tabindex"))},e.\u0275cmp=m["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-datepicker-toggle"]],contentQueries:function(e,t,n){var i;1&e&&m["\u0275\u0275contentQuery"](n,De,1),2&e&&m["\u0275\u0275queryRefresh"](i=m["\u0275\u0275loadQuery"]())&&(t._customIcon=i.first)},viewQuery:function(e,t){var n;1&e&&m["\u0275\u0275viewQuery"](G,1),2&e&&m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._button=n.first)},hostAttrs:[1,"mat-datepicker-toggle"],hostVars:8,hostBindings:function(e,t){1&e&&m["\u0275\u0275listener"]("click",function(e){return t._open(e)}),2&e&&(m["\u0275\u0275attribute"]("tabindex",null)("data-mat-calendar",t.datepicker?t.datepicker.id:null),m["\u0275\u0275classProp"]("mat-datepicker-toggle-active",t.datepicker&&t.datepicker.opened)("mat-accent",t.datepicker&&"accent"===t.datepicker.color)("mat-warn",t.datepicker&&"warn"===t.datepicker.color))},inputs:{tabIndex:"tabIndex",disabled:"disabled",datepicker:["for","datepicker"],ariaLabel:["aria-label","ariaLabel"],disableRipple:"disableRipple"},exportAs:["matDatepickerToggle"],features:[m["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:Z,decls:4,vars:6,consts:[["mat-icon-button","","type","button",3,"disabled","disableRipple"],["button",""],["class","mat-datepicker-toggle-default-icon","viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",4,"ngIf"],["viewBox","0 0 24 24","width","24px","height","24px","fill","currentColor","focusable","false",1,"mat-datepicker-toggle-default-icon"],["d","M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"]],template:function(e,t){1&e&&(m["\u0275\u0275projectionDef"](q),m["\u0275\u0275elementStart"](0,"button",0,1),m["\u0275\u0275template"](2,U,2,0,"svg",2),m["\u0275\u0275projection"](3),m["\u0275\u0275elementEnd"]()),2&e&&(m["\u0275\u0275property"]("disabled",t.disabled)("disableRipple",t.disableRipple),m["\u0275\u0275attribute"]("aria-haspopup",t.datepicker?"dialog":null)("aria-label",t.ariaLabel||t._intl.openCalendarLabel)("tabindex",t.disabled?-1:t.tabIndex),m["\u0275\u0275advance"](2),m["\u0275\u0275property"]("ngIf",!t._customIcon))},directives:[g.b,h.NgIf],styles:[".mat-form-field-appearance-legacy .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-datepicker-toggle-default-icon{width:1em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-datepicker-toggle-default-icon{display:block;width:1.5em;height:1.5em}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-datepicker-toggle-default-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-datepicker-toggle-default-icon{margin:auto}.cdk-high-contrast-active .mat-datepicker-toggle-default-icon{color:CanvasText}\n"],encapsulation:2,changeDetection:0}),e}(),Re=function(){var e=Object(c.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=m["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=m["\u0275\u0275defineInjector"]({providers:[$,xe],imports:[[h.CommonModule,g.c,f.e,u.f,d.a,p.f,y.j],v.a]}),e}()},ihCf:function(e,t,n){"use strict";n.d(t,"a",function(){return g}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return v});var i=n("1OyB"),r=n("vuIU"),a=n("nLfN"),o=n("fXoL"),s=n("8LU1"),l=n("EY2u"),c=n("XNiG"),d=n("xgIS"),u=n("3UWI"),p=n("1G5W"),h=n("ofXK"),m=Object(a.f)({passive:!0}),g=function(){var e=function(){function e(t,n){Object(i.a)(this,e),this._platform=t,this._ngZone=n,this._monitoredElements=new Map}return Object(r.a)(e,[{key:"monitor",value:function(e){var t=this;if(!this._platform.isBrowser)return l.a;var n=Object(s.e)(e),i=this._monitoredElements.get(n);if(i)return i.subject;var r=new c.a,a="cdk-text-field-autofilled",o=function(e){"cdk-text-field-autofill-start"!==e.animationName||n.classList.contains(a)?"cdk-text-field-autofill-end"===e.animationName&&n.classList.contains(a)&&(n.classList.remove(a),t._ngZone.run(function(){return r.next({target:e.target,isAutofilled:!1})})):(n.classList.add(a),t._ngZone.run(function(){return r.next({target:e.target,isAutofilled:!0})}))};return this._ngZone.runOutsideAngular(function(){n.addEventListener("animationstart",o,m),n.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(n,{subject:r,unlisten:function(){n.removeEventListener("animationstart",o,m)}}),r}},{key:"stopMonitoring",value:function(e){var t=Object(s.e)(e),n=this._monitoredElements.get(t);n&&(n.unlisten(),n.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}},{key:"ngOnDestroy",value:function(){var e=this;this._monitoredElements.forEach(function(t,n){return e.stopMonitoring(n)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](a.a),o["\u0275\u0275inject"](o.NgZone))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(o["\u0275\u0275inject"])(a.a),Object(o["\u0275\u0275inject"])(o.NgZone))},token:e,providedIn:"root"}),e}(),f=function(){var e=function(){function e(t,n,r,a){Object(i.a)(this,e),this._elementRef=t,this._platform=n,this._ngZone=r,this._destroyed=new c.a,this._enabled=!0,this._previousMinRows=-1,this._document=a,this._textareaElement=this._elementRef.nativeElement,this._measuringClass=n.FIREFOX?"cdk-textarea-autosize-measuring-firefox":"cdk-textarea-autosize-measuring"}return Object(r.a)(e,[{key:"minRows",get:function(){return this._minRows},set:function(e){this._minRows=Object(s.f)(e),this._setMinHeight()}},{key:"maxRows",get:function(){return this._maxRows},set:function(e){this._maxRows=Object(s.f)(e),this._setMaxHeight()}},{key:"enabled",get:function(){return this._enabled},set:function(e){e=Object(s.c)(e),this._enabled!==e&&((this._enabled=e)?this.resizeToFitContent(!0):this.reset())}},{key:"_setMinHeight",value:function(){var e=this.minRows&&this._cachedLineHeight?"".concat(this.minRows*this._cachedLineHeight,"px"):null;e&&(this._textareaElement.style.minHeight=e)}},{key:"_setMaxHeight",value:function(){var e=this.maxRows&&this._cachedLineHeight?"".concat(this.maxRows*this._cachedLineHeight,"px"):null;e&&(this._textareaElement.style.maxHeight=e)}},{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&(this._initialHeight=this._textareaElement.style.height,this.resizeToFitContent(),this._ngZone.runOutsideAngular(function(){var t=e._getWindow();Object(d.a)(t,"resize").pipe(Object(u.a)(16),Object(p.a)(e._destroyed)).subscribe(function(){return e.resizeToFitContent(!0)})}))}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_cacheTextareaLineHeight",value:function(){if(!this._cachedLineHeight){var e=this._textareaElement.cloneNode(!1);e.rows=1,e.style.position="absolute",e.style.visibility="hidden",e.style.border="none",e.style.padding="0",e.style.height="",e.style.minHeight="",e.style.maxHeight="",e.style.overflow="hidden",this._textareaElement.parentNode.appendChild(e),this._cachedLineHeight=e.clientHeight,this._textareaElement.parentNode.removeChild(e),this._setMinHeight(),this._setMaxHeight()}}},{key:"ngDoCheck",value:function(){this._platform.isBrowser&&this.resizeToFitContent()}},{key:"resizeToFitContent",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._enabled&&(this._cacheTextareaLineHeight(),this._cachedLineHeight)){var n=this._elementRef.nativeElement,i=n.value;if(t||this._minRows!==this._previousMinRows||i!==this._previousValue){var r=n.placeholder;n.classList.add(this._measuringClass),n.placeholder="";var a=n.scrollHeight-4;n.style.height="".concat(a,"px"),n.classList.remove(this._measuringClass),n.placeholder=r,this._ngZone.runOutsideAngular(function(){"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(function(){return e._scrollToCaretPosition(n)}):setTimeout(function(){return e._scrollToCaretPosition(n)})}),this._previousValue=i,this._previousMinRows=this._minRows}}}},{key:"reset",value:function(){void 0!==this._initialHeight&&(this._textareaElement.style.height=this._initialHeight)}},{key:"_noopInputHandler",value:function(){}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollToCaretPosition",value:function(e){var t=e.selectionStart,n=e.selectionEnd,i=this._getDocument();this._destroyed.isStopped||i.activeElement!==e||e.setSelectionRange(t,n)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275directiveInject"](o.ElementRef),o["\u0275\u0275directiveInject"](a.a),o["\u0275\u0275directiveInject"](o.NgZone),o["\u0275\u0275directiveInject"](h.DOCUMENT,8))},e.\u0275dir=o["\u0275\u0275defineDirective"]({type:e,selectors:[["textarea","cdkTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize"],hostBindings:function(e,t){1&e&&o["\u0275\u0275listener"]("input",function(){return t._noopInputHandler()})},inputs:{minRows:["cdkAutosizeMinRows","minRows"],maxRows:["cdkAutosizeMaxRows","maxRows"],enabled:["cdkTextareaAutosize","enabled"]},exportAs:["cdkTextareaAutosize"]}),e}(),v=function(){var e=Object(r.a)(function e(){Object(i.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({imports:[[a.b]]}),e}()},itXk:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("z+Ro"),l=n("DH7j"),c=n("l7GE"),d=n("ZUHj"),u=n("yCtX"),p={};function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=void 0,r=void 0;return Object(s.a)(t[t.length-1])&&(r=t.pop()),"function"==typeof t[t.length-1]&&(i=t.pop()),1===t.length&&Object(l.a)(t[0])&&(t=t[0]),Object(u.a)(t,r).lift(new m(i))}var m=function(){function e(t){Object(a.a)(this,e),this.resultSelector=t}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new g(e,this.resultSelector))}}]),e}(),g=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i){var r;return Object(a.a)(this,n),(r=t.call(this,e)).resultSelector=i,r.active=0,r.values=[],r.observables=[],r}return Object(o.a)(n,[{key:"_next",value:function(e){this.values.push(p),this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var i=e[n];this.add(Object(d.a)(this,i,void 0,n))}}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n){var i=this.values,r=this.toRespond?i[n]===p?--this.toRespond:this.toRespond:0;i[n]=t,0===r&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(c.a)},jM2W:function(e,t,n){!function(t){if(e.exports)e.exports=t;else try{t(Highcharts)}catch(n){}}(function(e){var t;e.Chart.prototype.firstRender=(t=e.Chart.prototype.firstRender,function(){t.apply(this,arguments);try{$.each(this.axes,function(){$.each(this.plotLinesAndBands,function(){this.label.toFront()})}),this.tooltip.label.toFront(),this.seriesGroup.label.toFront()}catch(e){}})})},jUeY:function(e,t,n){!function(e){"use strict";e.defineLocale("el",{monthsNominativeEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03ac\u03c1\u03b9\u03bf\u03c2_\u039c\u03ac\u03c1\u03c4\u03b9\u03bf\u03c2_\u0391\u03c0\u03c1\u03af\u03bb\u03b9\u03bf\u03c2_\u039c\u03ac\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bd\u03b9\u03bf\u03c2_\u0399\u03bf\u03cd\u03bb\u03b9\u03bf\u03c2_\u0391\u03cd\u03b3\u03bf\u03c5\u03c3\u03c4\u03bf\u03c2_\u03a3\u03b5\u03c0\u03c4\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u039f\u03ba\u03c4\u03ce\u03b2\u03c1\u03b9\u03bf\u03c2_\u039d\u03bf\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2_\u0394\u03b5\u03ba\u03ad\u03bc\u03b2\u03c1\u03b9\u03bf\u03c2".split("_"),monthsGenitiveEl:"\u0399\u03b1\u03bd\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u03a6\u03b5\u03b2\u03c1\u03bf\u03c5\u03b1\u03c1\u03af\u03bf\u03c5_\u039c\u03b1\u03c1\u03c4\u03af\u03bf\u03c5_\u0391\u03c0\u03c1\u03b9\u03bb\u03af\u03bf\u03c5_\u039c\u03b1\u0390\u03bf\u03c5_\u0399\u03bf\u03c5\u03bd\u03af\u03bf\u03c5_\u0399\u03bf\u03c5\u03bb\u03af\u03bf\u03c5_\u0391\u03c5\u03b3\u03bf\u03cd\u03c3\u03c4\u03bf\u03c5_\u03a3\u03b5\u03c0\u03c4\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u039f\u03ba\u03c4\u03c9\u03b2\u03c1\u03af\u03bf\u03c5_\u039d\u03bf\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5_\u0394\u03b5\u03ba\u03b5\u03bc\u03b2\u03c1\u03af\u03bf\u03c5".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"\u0399\u03b1\u03bd_\u03a6\u03b5\u03b2_\u039c\u03b1\u03c1_\u0391\u03c0\u03c1_\u039c\u03b1\u03ca_\u0399\u03bf\u03c5\u03bd_\u0399\u03bf\u03c5\u03bb_\u0391\u03c5\u03b3_\u03a3\u03b5\u03c0_\u039f\u03ba\u03c4_\u039d\u03bf\u03b5_\u0394\u03b5\u03ba".split("_"),weekdays:"\u039a\u03c5\u03c1\u03b9\u03b1\u03ba\u03ae_\u0394\u03b5\u03c5\u03c4\u03ad\u03c1\u03b1_\u03a4\u03c1\u03af\u03c4\u03b7_\u03a4\u03b5\u03c4\u03ac\u03c1\u03c4\u03b7_\u03a0\u03ad\u03bc\u03c0\u03c4\u03b7_\u03a0\u03b1\u03c1\u03b1\u03c3\u03ba\u03b5\u03c5\u03ae_\u03a3\u03ac\u03b2\u03b2\u03b1\u03c4\u03bf".split("_"),weekdaysShort:"\u039a\u03c5\u03c1_\u0394\u03b5\u03c5_\u03a4\u03c1\u03b9_\u03a4\u03b5\u03c4_\u03a0\u03b5\u03bc_\u03a0\u03b1\u03c1_\u03a3\u03b1\u03b2".split("_"),weekdaysMin:"\u039a\u03c5_\u0394\u03b5_\u03a4\u03c1_\u03a4\u03b5_\u03a0\u03b5_\u03a0\u03b1_\u03a3\u03b1".split("_"),meridiem:function(e,t,n){return e>11?n?"\u03bc\u03bc":"\u039c\u039c":n?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(e){return"\u03bc"===(e+"").toLowerCase()[0]},meridiemParse:/[\u03a0\u039c]\.?\u039c?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[\u03a3\u03ae\u03bc\u03b5\u03c1\u03b1 {}] LT",nextDay:"[\u0391\u03cd\u03c1\u03b9\u03bf {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[\u03a7\u03b8\u03b5\u03c2 {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[\u03c4\u03bf \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03bf] dddd [{}] LT";default:return"[\u03c4\u03b7\u03bd \u03c0\u03c1\u03bf\u03b7\u03b3\u03bf\u03cd\u03bc\u03b5\u03bd\u03b7] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,t){var n,i=this._calendarEl[e],r=t&&t.hours();return n=i,("undefined"!=typeof Function&&n instanceof Function||"[object Function]"===Object.prototype.toString.call(n))&&(i=i.apply(t)),i.replace("{}",r%12==1?"\u03c3\u03c4\u03b7":"\u03c3\u03c4\u03b9\u03c2")},relativeTime:{future:"\u03c3\u03b5 %s",past:"%s \u03c0\u03c1\u03b9\u03bd",s:"\u03bb\u03af\u03b3\u03b1 \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",ss:"%d \u03b4\u03b5\u03c5\u03c4\u03b5\u03c1\u03cc\u03bb\u03b5\u03c0\u03c4\u03b1",m:"\u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",mm:"%d \u03bb\u03b5\u03c0\u03c4\u03ac",h:"\u03bc\u03af\u03b1 \u03ce\u03c1\u03b1",hh:"%d \u03ce\u03c1\u03b5\u03c2",d:"\u03bc\u03af\u03b1 \u03bc\u03ad\u03c1\u03b1",dd:"%d \u03bc\u03ad\u03c1\u03b5\u03c2",M:"\u03ad\u03bd\u03b1\u03c2 \u03bc\u03ae\u03bd\u03b1\u03c2",MM:"%d \u03bc\u03ae\u03bd\u03b5\u03c2",y:"\u03ad\u03bd\u03b1\u03c2 \u03c7\u03c1\u03cc\u03bd\u03bf\u03c2",yy:"%d \u03c7\u03c1\u03cc\u03bd\u03b9\u03b1"},dayOfMonthOrdinalParse:/\d{1,2}\u03b7/,ordinal:"%d\u03b7",week:{dow:1,doy:4}})}(n("wd/R"))},jVdC:function(e,t,n){!function(e){"use strict";var t="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),n="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),i=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^pa\u017a/i,/^lis/i,/^gru/i];function r(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function a(e,t,n){var i=e+" ";switch(n){case"ss":return i+(r(e)?"sekundy":"sekund");case"m":return t?"minuta":"minut\u0119";case"mm":return i+(r(e)?"minuty":"minut");case"h":return t?"godzina":"godzin\u0119";case"hh":return i+(r(e)?"godziny":"godzin");case"ww":return i+(r(e)?"tygodnie":"tygodni");case"MM":return i+(r(e)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return i+(r(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,i){return e?/D MMMM/.test(i)?n[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"niedziela_poniedzia\u0142ek_wtorek_\u015broda_czwartek_pi\u0105tek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_\u015br_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_\u015ar_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dzi\u015b o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedziel\u0119 o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W \u015brod\u0119 o] LT";case 6:return"[W sobot\u0119 o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zesz\u0142\u0105 niedziel\u0119 o] LT";case 3:return"[W zesz\u0142\u0105 \u015brod\u0119 o] LT";case 6:return"[W zesz\u0142\u0105 sobot\u0119 o] LT";default:return"[W zesz\u0142y] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:a,m:a,mm:a,h:a,hh:a,d:"1 dzie\u0144",dd:"%d dni",w:"tydzie\u0144",ww:a,M:"miesi\u0105c",MM:a,y:"rok",yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},jZKg:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("HDdC"),r=n("quSY");function a(e,t){return new i.a(function(n){var i=new r.a,a=0;return i.add(t.schedule(function(){a!==e.length?(n.next(e[a++]),n.closed||i.add(this.schedule())):n.complete()})),i})}},jfSC:function(e,t,n){!function(e){"use strict";var t={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},n={"\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u06f0":"0"};e.defineLocale("fa",{months:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),monthsShort:"\u0698\u0627\u0646\u0648\u06cc\u0647_\u0641\u0648\u0631\u06cc\u0647_\u0645\u0627\u0631\u0633_\u0622\u0648\u0631\u06cc\u0644_\u0645\u0647_\u0698\u0648\u0626\u0646_\u0698\u0648\u0626\u06cc\u0647_\u0627\u0648\u062a_\u0633\u067e\u062a\u0627\u0645\u0628\u0631_\u0627\u06a9\u062a\u0628\u0631_\u0646\u0648\u0627\u0645\u0628\u0631_\u062f\u0633\u0627\u0645\u0628\u0631".split("_"),weekdays:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysShort:"\u06cc\u06a9\u200c\u0634\u0646\u0628\u0647_\u062f\u0648\u0634\u0646\u0628\u0647_\u0633\u0647\u200c\u0634\u0646\u0628\u0647_\u0686\u0647\u0627\u0631\u0634\u0646\u0628\u0647_\u067e\u0646\u062c\u200c\u0634\u0646\u0628\u0647_\u062c\u0645\u0639\u0647_\u0634\u0646\u0628\u0647".split("_"),weekdaysMin:"\u06cc_\u062f_\u0633_\u0686_\u067e_\u062c_\u0634".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631|\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/,isPM:function(e){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(e)},meridiem:function(e,t,n){return e<12?"\u0642\u0628\u0644 \u0627\u0632 \u0638\u0647\u0631":"\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631"},calendar:{sameDay:"[\u0627\u0645\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",nextDay:"[\u0641\u0631\u062f\u0627 \u0633\u0627\u0639\u062a] LT",nextWeek:"dddd [\u0633\u0627\u0639\u062a] LT",lastDay:"[\u062f\u06cc\u0631\u0648\u0632 \u0633\u0627\u0639\u062a] LT",lastWeek:"dddd [\u067e\u06cc\u0634] [\u0633\u0627\u0639\u062a] LT",sameElse:"L"},relativeTime:{future:"\u062f\u0631 %s",past:"%s \u067e\u06cc\u0634",s:"\u0686\u0646\u062f \u062b\u0627\u0646\u06cc\u0647",ss:"%d \u062b\u0627\u0646\u06cc\u0647",m:"\u06cc\u06a9 \u062f\u0642\u06cc\u0642\u0647",mm:"%d \u062f\u0642\u06cc\u0642\u0647",h:"\u06cc\u06a9 \u0633\u0627\u0639\u062a",hh:"%d \u0633\u0627\u0639\u062a",d:"\u06cc\u06a9 \u0631\u0648\u0632",dd:"%d \u0631\u0648\u0632",M:"\u06cc\u06a9 \u0645\u0627\u0647",MM:"%d \u0645\u0627\u0647",y:"\u06cc\u06a9 \u0633\u0627\u0644",yy:"%d \u0633\u0627\u0644"},preparse:function(e){return e.replace(/[\u06f0-\u06f9]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(n("wd/R"))},jhN1:function(e,t,n){"use strict";n.r(t),n.d(t,"BrowserModule",function(){return ve}),n.d(t,"BrowserTransferStateModule",function(){return Le}),n.d(t,"By",function(){return Re}),n.d(t,"DomSanitizer",function(){return oe}),n.d(t,"EVENT_MANAGER_PLUGINS",function(){return O}),n.d(t,"EventManager",function(){return E}),n.d(t,"HAMMER_GESTURE_CONFIG",function(){return q}),n.d(t,"HAMMER_LOADER",function(){return Z}),n.d(t,"HammerGestureConfig",function(){return $}),n.d(t,"HammerModule",function(){return ee}),n.d(t,"Meta",function(){return be}),n.d(t,"Title",function(){return we}),n.d(t,"TransferState",function(){return Te}),n.d(t,"VERSION",function(){return je}),n.d(t,"disableDebugTools",function(){return Me}),n.d(t,"enableDebugTools",function(){return Ee}),n.d(t,"makeStateKey",function(){return Pe}),n.d(t,"platformBrowser",function(){return ge}),n.d(t,"\u0275BROWSER_SANITIZATION_PROVIDERS",function(){return me}),n.d(t,"\u0275BROWSER_SANITIZATION_PROVIDERS__POST_R3__",function(){return he}),n.d(t,"\u0275BrowserDomAdapter",function(){return h}),n.d(t,"\u0275BrowserGetTestability",function(){return y}),n.d(t,"\u0275DomEventsPlugin",function(){return G}),n.d(t,"\u0275DomRendererFactory2",function(){return H}),n.d(t,"\u0275DomSanitizerImpl",function(){return le}),n.d(t,"\u0275DomSharedStylesHost",function(){return P}),n.d(t,"\u0275ELEMENT_PROBE_PROVIDERS",function(){return k}),n.d(t,"\u0275ELEMENT_PROBE_PROVIDERS__POST_R3__",function(){return S}),n.d(t,"\u0275HAMMER_PROVIDERS__POST_R3__",function(){return K}),n.d(t,"\u0275HammerGesturesPlugin",function(){return X}),n.d(t,"\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS",function(){return pe}),n.d(t,"\u0275KeyEventsPlugin",function(){return ae}),n.d(t,"\u0275NAMESPACE_URIS",function(){return D}),n.d(t,"\u0275SharedStylesHost",function(){return I}),n.d(t,"\u0275TRANSITION_ID",function(){return g}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_a",function(){return de}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_b",function(){return ue}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_c",function(){return fe}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_d",function(){return ye}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_e",function(){return _e}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_f",function(){return De}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_g",function(){return M}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_h",function(){return J}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_i",function(){return Q}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_j",function(){return se}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_k",function(){return f}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_l",function(){return v}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_m",function(){return w}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_n",function(){return C}),n.d(t,"\u0275angular_packages_platform_browser_platform_browser_o",function(){return p}),n.d(t,"\u0275escapeHtml",function(){return Ie}),n.d(t,"\u0275flattenStyles",function(){return z}),n.d(t,"\u0275initDomAdapter",function(){return ce}),n.d(t,"\u0275shimContentAttribute",function(){return F}),n.d(t,"\u0275shimHostAttribute",function(){return B});var i=n("ReuC"),r=n("foSv"),a=n("1OyB"),o=n("vuIU"),s=n("Ji7U"),l=n("LK+K"),c=n("ofXK"),d=n("fXoL");n.d(t,"\u0275getDOM",function(){return c["\u0275getDOM"]});var u,p=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(a.a)(this,n),t.call(this)}return Object(o.a)(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(c["\u0275DomAdapter"]),h=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(a.a)(this,n),t.apply(this,arguments)}return Object(o.a)(n,[{key:"getProperty",value:function(e,t){return e[t]}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"getValue",value:function(e){return e.value}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,n=m||(m=document.querySelector("base"))?m.getAttribute("href"):null;return null==n?null:(t=n,u||(u=document.createElement("a")),u.setAttribute("href",t),"/"===u.pathname.charAt(0)?u.pathname:"/"+u.pathname)}},{key:"resetBaseElement",value:function(){m=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return Object(c["\u0275parseCookieValue"])(document.cookie,e)}}],[{key:"makeCurrent",value:function(){Object(c["\u0275setRootDomAdapter"])(new n)}}]),n}(p),m=null,g=new d.InjectionToken("TRANSITION_ID");function f(e,t,n){return function(){n.get(d.ApplicationInitStatus).donePromise.then(function(){var n=Object(c["\u0275getDOM"])();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(function(t){return t.getAttribute("ng-transition")===e}).forEach(function(e){return n.remove(e)})})}}var v=[{provide:d.APP_INITIALIZER,useFactory:f,deps:[g,c.DOCUMENT,d.Injector],multi:!0}],y=function(){function e(){Object(a.a)(this,e)}return Object(o.a)(e,[{key:"addToWindow",value:function(e){d["\u0275global"].getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e.findTestabilityInTree(t,n);if(null==i)throw new Error("Could not find testability for element.");return i},d["\u0275global"].getAllAngularTestabilities=function(){return e.getAllTestabilities()},d["\u0275global"].getAllAngularRootElements=function(){return e.getAllRootElements()},d["\u0275global"].frameworkStabilizers||(d["\u0275global"].frameworkStabilizers=[]),d["\u0275global"].frameworkStabilizers.push(function(e){var t=d["\u0275global"].getAllAngularTestabilities(),n=t.length,i=!1,r=function(t){i=i||t,0==--n&&e(i)};t.forEach(function(e){e.whenStable(r)})})}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var i=e.getTestability(t);return null!=i?i:n?Object(c["\u0275getDOM"])().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){Object(d.setTestabilityGetter)(new e)}}]),e}();function b(e,t){"undefined"!=typeof COMPILED&&COMPILED||((d["\u0275global"].ng=d["\u0275global"].ng||{})[e]=t)}var x=function(){return{ApplicationRef:d.ApplicationRef,NgZone:d.NgZone}}();function _(e){return Object(d["\u0275getDebugNodeR2"])(e)}function w(e){return b("probe",_),b("coreTokens",Object.assign(Object.assign({},x),(e||[]).reduce(function(e,t){return e[t.name]=t.token,e},{}))),function(){return _}}var S=[],C=[{provide:d.APP_INITIALIZER,useFactory:w,deps:[[d.NgProbeToken,new d.Optional]],multi:!0}],k=S,O=new d.InjectionToken("EventManagerPlugins"),E=function(){var e=function(){function e(t,n){var i=this;Object(a.a)(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach(function(e){return e.manager=i}),this._plugins=t.slice().reverse()}return Object(o.a)(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,i=0;i<n.length;i++){var r=n[i];if(r.supports(e))return this._eventNameToPlugin.set(e,r),r}throw new Error("No event manager plugin found for event ".concat(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](O),d["\u0275\u0275inject"](d.NgZone))},e.\u0275prov=d["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),M=function(){function e(t){Object(a.a)(this,e),this._doc=t}return Object(o.a)(e,[{key:"addGlobalEventListener",value:function(e,t,n){var i=Object(c["\u0275getDOM"])().getGlobalEventTarget(this._doc,e);if(!i)throw new Error("Unsupported event target ".concat(i," for event ").concat(t));return this.addEventListener(i,t,n)}}]),e}(),I=function(){var e=function(){function e(){Object(a.a)(this,e),this._stylesSet=new Set}return Object(o.a)(e,[{key:"addStyles",value:function(e){var t=this,n=new Set;e.forEach(function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))}),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=d["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),P=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e){var i;return Object(a.a)(this,n),(i=t.call(this))._doc=e,i._hostNodes=new Map,i._hostNodes.set(e.head,[]),i}return Object(o.a)(n,[{key:"_addStylesToHost",value:function(e,t,n){var i=this;e.forEach(function(e){var r=i._doc.createElement("style");r.textContent=e,n.push(t.appendChild(r))})}},{key:"addHost",value:function(e){var t=[];this._addStylesToHost(this._stylesSet,e,t),this._hostNodes.set(e,t)}},{key:"removeHost",value:function(e){var t=this._hostNodes.get(e);t&&t.forEach(T),this._hostNodes.delete(e)}},{key:"onStylesAdded",value:function(e){var t=this;this._hostNodes.forEach(function(n,i){t._addStylesToHost(e,i,n)})}},{key:"ngOnDestroy",value:function(){this._hostNodes.forEach(function(e){return e.forEach(T)})}}]),n}(I);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](c.DOCUMENT))},e.\u0275prov=d["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}();function T(e){Object(c["\u0275getDOM"])().remove(e)}var D={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},L=/%COMP%/g,R="%COMP%",j="_nghost-".concat(R),A="_ngcontent-".concat(R);function F(e){return A.replace(L,e)}function B(e){return j.replace(L,e)}function z(e,t,n){for(var i=0;i<t.length;i++){var r=t[i];Array.isArray(r)?z(e,r,n):(r=r.replace(L,e),n.push(r))}return n}function N(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var H=function(){var e=function(){function e(t,n,i){Object(a.a)(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=i,this.rendererByCompId=new Map,this.defaultRenderer=new V(t)}return Object(o.a)(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case d.ViewEncapsulation.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Y(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case 1:case d.ViewEncapsulation.ShadowDom:return new W(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var i=z(t.id,t.styles,[]);this.sharedStylesHost.addStyles(i),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](E),d["\u0275\u0275inject"](P),d["\u0275\u0275inject"](d.APP_ID))},e.\u0275prov=d["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),V=function(){function e(t){Object(a.a)(this,e),this.eventManager=t,this.data=Object.create(null)}return Object(o.a)(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(D[t]||t,e):document.createElement(e)}},{key:"createComment",value:function(e){return document.createComment(e)}},{key:"createText",value:function(e){return document.createTextNode(e)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"insertBefore",value:function(e,t,n){e&&e.insertBefore(t,n)}},{key:"removeChild",value:function(e,t){e&&e.removeChild(t)}},{key:"selectRootElement",value:function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'.concat(e,'" did not match any elements'));return t||(n.textContent=""),n}},{key:"parentNode",value:function(e){return e.parentNode}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"setAttribute",value:function(e,t,n,i){if(i){t=i+":"+t;var r=D[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var i=D[n];i?e.removeAttributeNS(i,t):e.removeAttribute("".concat(n,":").concat(t))}else e.removeAttribute(t)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"setStyle",value:function(e,t,n,i){i&(d.RendererStyleFlags2.DashCase|d.RendererStyleFlags2.Important)?e.style.setProperty(t,n,i&d.RendererStyleFlags2.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&d.RendererStyleFlags2.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,N(n)):this.eventManager.addEventListener(e,t,N(n))}}]),e}(),Y=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r,o){var s;Object(a.a)(this,n),(s=t.call(this,e)).component=r;var l=z(o+"-"+r.id,r.styles,[]);return i.addStyles(l),s.contentAttr=F(o+"-"+r.id),s.hostAttr=B(o+"-"+r.id),s}return Object(o.a)(n,[{key:"applyToHost",value:function(e){Object(i.a)(Object(r.a)(n.prototype),"setAttribute",this).call(this,e,this.hostAttr,"")}},{key:"createElement",value:function(e,t){var a=Object(i.a)(Object(r.a)(n.prototype),"createElement",this).call(this,e,t);return Object(i.a)(Object(r.a)(n.prototype),"setAttribute",this).call(this,a,this.contentAttr,""),a}}]),n}(V),W=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r,o){var s;Object(a.a)(this,n),(s=t.call(this,e)).sharedStylesHost=i,s.hostEl=r,s.shadowRoot=r.attachShadow({mode:"open"}),s.sharedStylesHost.addHost(s.shadowRoot);for(var l=z(o.id,o.styles,[]),c=0;c<l.length;c++){var d=document.createElement("style");d.textContent=l[c],s.shadowRoot.appendChild(d)}return s}return Object(o.a)(n,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,t){return Object(i.a)(Object(r.a)(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"insertBefore",value:function(e,t,a){return Object(i.a)(Object(r.a)(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(e),t,a)}},{key:"removeChild",value:function(e,t){return Object(i.a)(Object(r.a)(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(Object(i.a)(Object(r.a)(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(e)))}}]),n}(V),G=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e){return Object(a.a)(this,n),t.call(this,e)}return Object(o.a)(n,[{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var i=this;return e.addEventListener(t,n,!1),function(){return i.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){return e.removeEventListener(t,n)}}]),n}(M);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](c.DOCUMENT))},e.\u0275prov=d["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),U={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},q=new d.InjectionToken("HammerGestureConfig"),Z=new d.InjectionToken("HammerLoader"),$=function(){var e=function(){function e(){Object(a.a)(this,e),this.events=[],this.overrides={}}return Object(o.a)(e,[{key:"buildHammer",value:function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=d["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),X=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r,o){var s;return Object(a.a)(this,n),(s=t.call(this,e))._config=i,s.console=r,s.loader=o,s._loaderPromise=null,s}return Object(o.a)(n,[{key:"supports",value:function(e){return!(!U.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader)}},{key:"addEventListener",value:function(e,t,n){var i=this,r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();var a=!1,o=function(){a=!0};return this._loaderPromise.then(function(){window.Hammer?a||(o=i.addEventListener(e,t,n)):o=function(){}}).catch(function(){o=function(){}}),function(){o()}}return r.runOutsideAngular(function(){var a=i._config.buildHammer(e),o=function(e){r.runGuarded(function(){n(e)})};return a.on(t,o),function(){a.off(t,o),"function"==typeof a.destroy&&a.destroy()}})}},{key:"isCustomEvent",value:function(e){return this._config.events.indexOf(e)>-1}}]),n}(M);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](c.DOCUMENT),d["\u0275\u0275inject"](q),d["\u0275\u0275inject"](d["\u0275Console"]),d["\u0275\u0275inject"](Z,8))},e.\u0275prov=d["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),K=[],J=[{provide:O,useClass:X,multi:!0,deps:[c.DOCUMENT,q,d["\u0275Console"],[new d.Optional,Z]]},{provide:q,useClass:$,deps:[]}],Q=K,ee=function(){var e=Object(o.a)(function e(){Object(a.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({providers:J}),e}(),te=["alt","control","meta","shift"],ne={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ie={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},re={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},ae=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e){return Object(a.a)(this,n),t.call(this,e)}return Object(o.a)(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,i){var r=n.parseEventName(t),a=n.eventCallback(r.fullKey,i,this.manager.getZone());return this.manager.getZone().runOutsideAngular(function(){return Object(c["\u0275getDOM"])().onAndCancel(e,r.domEventName,a)})}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),i=t.shift();if(0===t.length||"keydown"!==i&&"keyup"!==i)return null;var r=n._normalizeKey(t.pop()),a="";if(te.forEach(function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),a+=e+".")}),a+=r,0!=t.length||0===r.length)return null;var o={};return o.domEventName=i,o.fullKey=a,o}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&ie.hasOwnProperty(t)&&(t=ie[t]))}return ne[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),te.forEach(function(i){i!=n&&(0,re[i])(e)&&(t+=i+".")}),t+=n}},{key:"eventCallback",value:function(e,t,i){return function(r){n.getEventFullKey(r)===e&&i.runGuarded(function(){return t(r)})}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(M);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](c.DOCUMENT))},e.\u0275prov=d["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),oe=function(){var e=Object(o.a)(function e(){Object(a.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(d["\u0275\u0275defineInjectable"])({factory:function(){return Object(d["\u0275\u0275inject"])(le)},token:e,providedIn:"root"}),e}();function se(e){return new le(e.get(c.DOCUMENT))}var le=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e){var i;return Object(a.a)(this,n),(i=t.call(this))._doc=e,i}return Object(o.a)(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case d.SecurityContext.NONE:return t;case d.SecurityContext.HTML:return Object(d["\u0275allowSanitizationBypassAndThrow"])(t,"HTML")?Object(d["\u0275unwrapSafeValue"])(t):Object(d["\u0275_sanitizeHtml"])(this._doc,String(t)).toString();case d.SecurityContext.STYLE:return Object(d["\u0275allowSanitizationBypassAndThrow"])(t,"Style")?Object(d["\u0275unwrapSafeValue"])(t):t;case d.SecurityContext.SCRIPT:if(Object(d["\u0275allowSanitizationBypassAndThrow"])(t,"Script"))return Object(d["\u0275unwrapSafeValue"])(t);throw new Error("unsafe value used in a script context");case d.SecurityContext.URL:return Object(d["\u0275getSanitizationBypassType"])(t),Object(d["\u0275allowSanitizationBypassAndThrow"])(t,"URL")?Object(d["\u0275unwrapSafeValue"])(t):Object(d["\u0275_sanitizeUrl"])(String(t));case d.SecurityContext.RESOURCE_URL:if(Object(d["\u0275allowSanitizationBypassAndThrow"])(t,"ResourceURL"))return Object(d["\u0275unwrapSafeValue"])(t);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see https://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return Object(d["\u0275bypassSanitizationTrustHtml"])(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return Object(d["\u0275bypassSanitizationTrustStyle"])(e)}},{key:"bypassSecurityTrustScript",value:function(e){return Object(d["\u0275bypassSanitizationTrustScript"])(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return Object(d["\u0275bypassSanitizationTrustUrl"])(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return Object(d["\u0275bypassSanitizationTrustResourceUrl"])(e)}}]),n}(oe);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](c.DOCUMENT))},e.\u0275prov=Object(d["\u0275\u0275defineInjectable"])({factory:function(){return se(Object(d["\u0275\u0275inject"])(d.INJECTOR))},token:e,providedIn:"root"}),e}();function ce(){h.makeCurrent(),y.init()}function de(){return new d.ErrorHandler}function ue(){return Object(d["\u0275setDocument"])(document),document}var pe=[{provide:d.PLATFORM_ID,useValue:c["\u0275PLATFORM_BROWSER_ID"]},{provide:d.PLATFORM_INITIALIZER,useValue:ce,multi:!0},{provide:c.DOCUMENT,useFactory:ue,deps:[]}],he=[],me=he,ge=Object(d.createPlatformFactory)(d.platformCore,"browser",pe),fe=[me,{provide:d["\u0275INJECTOR_SCOPE"],useValue:"root"},{provide:d.ErrorHandler,useFactory:de,deps:[]},{provide:O,useClass:G,multi:!0,deps:[c.DOCUMENT,d.NgZone,d.PLATFORM_ID]},{provide:O,useClass:ae,multi:!0,deps:[c.DOCUMENT]},Q,{provide:H,useClass:H,deps:[E,P,d.APP_ID]},{provide:d.RendererFactory2,useExisting:H},{provide:I,useExisting:P},{provide:P,useClass:P,deps:[c.DOCUMENT]},{provide:d.Testability,useClass:d.Testability,deps:[d.NgZone]},{provide:E,useClass:E,deps:[O,d.NgZone]},k],ve=function(){var e=function(){function e(t){if(Object(a.a)(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return Object(o.a)(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:d.APP_ID,useValue:t.appId},{provide:g,useExisting:d.APP_ID},v]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](e,12))},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({providers:fe,imports:[c.CommonModule,d.ApplicationModule]}),e}();function ye(){return new be(Object(d["\u0275\u0275inject"])(c.DOCUMENT))}var be=function(){var e=function(){function e(t){Object(a.a)(this,e),this._doc=t,this._dom=Object(c["\u0275getDOM"])()}return Object(o.a)(e,[{key:"addTag",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?this._getOrCreateElement(e,t):null}},{key:"addTags",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e?e.reduce(function(e,i){return i&&e.push(t._getOrCreateElement(i,n)),e},[]):[]}},{key:"getTag",value:function(e){return e&&this._doc.querySelector("meta[".concat(e,"]"))||null}},{key:"getTags",value:function(e){if(!e)return[];var t=this._doc.querySelectorAll("meta[".concat(e,"]"));return t?[].slice.call(t):[]}},{key:"updateTag",value:function(e,t){if(!e)return null;t=t||this._parseSelector(e);var n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}},{key:"removeTag",value:function(e){this.removeTagElement(this.getTag(e))}},{key:"removeTagElement",value:function(e){e&&this._dom.remove(e)}},{key:"_getOrCreateElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t){var n=this._parseSelector(e),i=this.getTag(n);if(i&&this._containsAttributes(e,i))return i}var r=this._dom.createElement("meta");this._setMetaElementAttributes(e,r);var a=this._doc.getElementsByTagName("head")[0];return a.appendChild(r),r}},{key:"_setMetaElementAttributes",value:function(e,t){var n=this;return Object.keys(e).forEach(function(i){return t.setAttribute(n._getMetaKeyMap(i),e[i])}),t}},{key:"_parseSelector",value:function(e){var t=e.name?"name":"property";return"".concat(t,'="').concat(e[t],'"')}},{key:"_containsAttributes",value:function(e,t){var n=this;return Object.keys(e).every(function(i){return t.getAttribute(n._getMetaKeyMap(i))===e[i]})}},{key:"_getMetaKeyMap",value:function(e){return xe[e]||e}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](c.DOCUMENT))},e.\u0275prov=Object(d["\u0275\u0275defineInjectable"])({factory:ye,token:e,providedIn:"root"}),e}(),xe={httpEquiv:"http-equiv"};function _e(){return new we(Object(d["\u0275\u0275inject"])(c.DOCUMENT))}var we=function(){var e=function(){function e(t){Object(a.a)(this,e),this._doc=t}return Object(o.a)(e,[{key:"getTitle",value:function(){return this._doc.title}},{key:"setTitle",value:function(e){this._doc.title=e||""}}]),e}();return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275inject"](c.DOCUMENT))},e.\u0275prov=Object(d["\u0275\u0275defineInjectable"])({factory:_e,token:e,providedIn:"root"}),e}(),Se="undefined"!=typeof window&&window||{},Ce=Object(o.a)(function e(t,n){Object(a.a)(this,e),this.msPerTick=t,this.numTicks=n}),ke=function(){function e(t){Object(a.a)(this,e),this.appRef=t.injector.get(d.ApplicationRef)}return Object(o.a)(e,[{key:"timeChangeDetection",value:function(e){var t=e&&e.record,n="Change Detection",i=null!=Se.console.profile;t&&i&&Se.console.profile(n);for(var r=Object(c["\u0275getDOM"])().performanceNow(),a=0;a<5||Object(c["\u0275getDOM"])().performanceNow()-r<500;)this.appRef.tick(),a++;var o=Object(c["\u0275getDOM"])().performanceNow();t&&i&&Se.console.profileEnd(n);var s=(o-r)/a;return Se.console.log("ran ".concat(a," change detection cycles")),Se.console.log("".concat(s.toFixed(2)," ms per check")),new Ce(s,a)}}]),e}(),Oe="profiler";function Ee(e){return b(Oe,new ke(e)),e}function Me(){b(Oe,null)}function Ie(e){var t={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return e.replace(/[&"'<>]/g,function(e){return t[e]})}function Pe(e){return e}var Te=function(){var e=function(){function e(){Object(a.a)(this,e),this.store={},this.onSerializeCallbacks={}}return Object(o.a)(e,[{key:"get",value:function(e,t){return void 0!==this.store[e]?this.store[e]:t}},{key:"set",value:function(e,t){this.store[e]=t}},{key:"remove",value:function(e){delete this.store[e]}},{key:"hasKey",value:function(e){return this.store.hasOwnProperty(e)}},{key:"onSerialize",value:function(e,t){this.onSerializeCallbacks[e]=t}},{key:"toJson",value:function(){for(var e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(t){console.warn("Exception in onSerialize callback: ",t)}return JSON.stringify(this.store)}}],[{key:"init",value:function(t){var n=new e;return n.store=t,n}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=d["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}();function De(e,t){var n,i=e.getElementById(t+"-state"),r={};if(i&&i.textContent)try{r=JSON.parse((n={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"},i.textContent.replace(/&[^;]+;/g,function(e){return n[e]})))}catch(a){console.warn("Exception while restoring TransferState for app "+t,a)}return Te.init(r)}var Le=function(){var e=Object(o.a)(function e(){Object(a.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({providers:[{provide:Te,useFactory:De,deps:[c.DOCUMENT,d.APP_ID]}]}),e}(),Re=function(){function e(){Object(a.a)(this,e)}return Object(o.a)(e,null,[{key:"all",value:function(){return function(){return!0}}},{key:"css",value:function(e){return function(t){return null!=t.nativeElement&&function(e,t){return!!Object(c["\u0275getDOM"])().isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}(t.nativeElement,e)}}},{key:"directive",value:function(e){return function(t){return-1!==t.providerTokens.indexOf(e)}}}]),e}(),je=new d.Version("11.2.14")},jnO4:function(e,t,n){!function(e){"use strict";var t={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},n={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},i=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},r={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},a=function(e){return function(t,n,a,o){var s=i(t),l=r[e][i(t)];return 2===s&&(l=l[n?0:1]),l.replace(/%d/i,t)}},o=["\u064a\u0646\u0627\u064a\u0631","\u0641\u0628\u0631\u0627\u064a\u0631","\u0645\u0627\u0631\u0633","\u0623\u0628\u0631\u064a\u0644","\u0645\u0627\u064a\u0648","\u064a\u0648\u0646\u064a\u0648","\u064a\u0648\u0644\u064a\u0648","\u0623\u063a\u0633\u0637\u0633","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar",{months:o,monthsShort:o,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:a("s"),ss:a("s"),m:a("m"),mm:a("m"),h:a("h"),hh:a("h"),d:a("d"),dd:a("d"),M:a("M"),MM:a("M"),y:a("y"),yy:a("y")},preparse:function(e){return e.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return n[e]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(n("wd/R"))},jtHE:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var i=n("1OyB"),r=n("vuIU"),a=n("ReuC"),o=n("foSv"),s=n("Ji7U"),l=n("LK+K"),c=n("XNiG"),d=n("qgXg"),u=n("quSY"),p=n("pxpQ"),h=n("9ppp"),m=n("Ylt2"),g=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,o=arguments.length>2?arguments[2]:void 0;return Object(i.a)(this,n),(e=t.call(this)).scheduler=o,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=r<1?1:r,e._windowTime=a<1?1:a,a===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return Object(r.a)(n,[{key:"nextInfiniteTimeWindow",value:function(e){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),Object(a.a)(Object(o.a)(n.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this._events.push(new f(this._getNow(),e)),this._trimBufferThenGetEvents(),Object(a.a)(Object(o.a)(n.prototype),"next",this).call(this,e)}},{key:"_subscribe",value:function(e){var t,n=this._infiniteTimeWindow,i=n?this._events:this._trimBufferThenGetEvents(),r=this.scheduler,a=i.length;if(this.closed)throw new h.a;if(this.isStopped||this.hasError?t=u.a.EMPTY:(this.observers.push(e),t=new m.a(this,e)),r&&e.add(e=new p.a(e,r)),n)for(var o=0;o<a&&!e.closed;o++)e.next(i[o]);else for(var s=0;s<a&&!e.closed;s++)e.next(i[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t}},{key:"_getNow",value:function(){return(this.scheduler||d.a).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,i=this._events,r=i.length,a=0;a<r&&!(e-i[a].time<n);)a++;return r>t&&(a=Math.max(a,r-t)),a>0&&i.splice(0,a),i}}]),n}(c.a),f=Object(r.a)(function e(t,n){Object(i.a)(this,e),this.time=t,this.value=n})},kAVD:function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return s});var i=n("1OyB"),r=n("vuIU"),a=n("fXoL"),o=(n("6n/F"),function(){var e=function(){function e(t,n){Object(i.a)(this,e),this.el=t,this._zone=n,this.updateChange=new a.EventEmitter(!0),this.chartInstance=new a.EventEmitter}return Object(r.a)(e,[{key:"ngOnChanges",value:function(e){var t=e.update&&e.update.currentValue;(e.options||t)&&(this.wrappedUpdateOrCreateChart(),t&&this.updateChange.emit(!1))}},{key:"wrappedUpdateOrCreateChart",value:function(){var e=this;this.runOutsideAngular?this._zone.runOutsideAngular(function(){e.updateOrCreateChart()}):this.updateOrCreateChart()}},{key:"updateOrCreateChart",value:function(){this.chart&&this.chart.update?this.chart.update(this.options,!0,this.oneToOne||!1):(this.chart=this.Highcharts[this.constructorType||"chart"](this.el.nativeElement,this.options,this.callbackFunction||null),this.chartInstance.emit(this.chart))}},{key:"ngOnDestroy",value:function(){this.chart&&(this.chart.destroy(),this.chart=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275directiveInject"](a.ElementRef),a["\u0275\u0275directiveInject"](a.NgZone))},e.\u0275cmp=a["\u0275\u0275defineComponent"]({type:e,selectors:[["highcharts-chart"]],inputs:{Highcharts:"Highcharts",constructorType:"constructorType",callbackFunction:"callbackFunction",oneToOne:"oneToOne",runOutsideAngular:"runOutsideAngular",options:"options",update:"update"},outputs:{updateChange:"updateChange",chartInstance:"chartInstance"},features:[a["\u0275\u0275NgOnChangesFeature"]],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e}()),s=function(){var e=Object(r.a)(function e(){Object(i.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=a["\u0275\u0275defineInjector"]({}),e}()},kEOa:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t&&e>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===t&&e<5||"\u09ac\u09bf\u0995\u09be\u09b2"===t?e+12:e},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<10?"\u09b8\u0995\u09be\u09b2":e<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},"kHM/":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("uJc7"),r=n("XNiG"),a=n("fXoL"),o=n("tk/3"),s=n("sYmb"),l=function(){function e(e,t,n){this.http=e,this.accountService=t,this.translate=n,this._activityTypeFilter=new r.a,this._getTypesURL="/api/v2/anon/get_types"}return e.prototype.activityTypeFilter=function(){return this._activityTypeFilter.asObservable()},e.prototype.addActivityTypeFilter=function(e){this._activityTypeFilter.next(e)},Object.defineProperty(e.prototype,"workoutTypes",{get:function(){return this._workoutTypes},set:function(e){this._workoutTypes=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"workoutTypeLocales",{get:function(){return this._workoutTypeLocales},set:function(e){this._workoutTypeLocales=e},enumerable:!1,configurable:!0}),e.prototype.getWorkoutTypeList=function(e){return e||(e="en"),this.workoutTypeLocales[e]},e.prototype.getWorkoutTypeData=function(){var e=[];for(var t in this.workoutTypes)e.push(this.workoutTypes[t]);return e},e.prototype.getAllWorkoutTypes=function(){return this.workoutTypes},e.prototype.getWorkoutType=function(e){try{return this.workoutTypes.hasOwnProperty(e)?this.workoutTypes[e]:this.workoutTypes[0]}catch(t){console.log("Error getting workout types")}},e.prototype.getWorkoutTypeByName=function(e){for(var t in this.workoutTypes){var n=void 0,i=void 0;if(!this.workoutTypes.hasOwnProperty(t))return this.workoutTypes[0];this.workoutTypes[t].title&&(n=this.workoutTypes[t].title.toLowerCase()),this.workoutTypes[t].iconName&&(i=this.workoutTypes[t].iconName.slice(4,-4).toLowerCase());for(var r=0;r<this.workoutTypes[t].otherTypeNames.length;r++)if(this.workoutTypes[t].otherTypeNames[r]===e.toLowerCase()||n==e.toLowerCase()||i==e.toLowerCase())return this.workoutTypes[t]}},e.prototype.getWorkoutTypeIcon=function(e,t){try{return t&&4==this.workoutTypes[e].id?"/static/img/activityicons/DFITSpinWhiteIcon.png":"/static/img/activityicons/"+this.workoutTypes[e].iconName+".png"}catch(n){}},e.prototype.getWorkoutTypeIndoor=function(e){try{return this.workoutTypes[e].supportsOutdoor}catch(t){}},e.prototype.getWorkoutTypeName=function(e,t){return null!=t&&""!=t||(t="en"),0==e||-1==e?this.translate.instant("ROOT.All"):this.workoutTypeLocales[t][e]},e.prototype.getTypes=function(){return this.http.post(this.accountService.getPy3Host()+this._getTypesURL,{},{})},e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275inject"](o.b),a["\u0275\u0275inject"](i.a),a["\u0275\u0275inject"](s.d))},e.\u0275prov=a["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},kIY7:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},kJWO:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){return"function"==typeof Symbol&&Symbol.observable||"@@observable"}()},kOpN:function(e,t,n){!function(e){"use strict";e.defineLocale("zh-tw",{months:"\u4e00\u6708_\u4e8c\u6708_\u4e09\u6708_\u56db\u6708_\u4e94\u6708_\u516d\u6708_\u4e03\u6708_\u516b\u6708_\u4e5d\u6708_\u5341\u6708_\u5341\u4e00\u6708_\u5341\u4e8c\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661f\u671f\u65e5_\u661f\u671f\u4e00_\u661f\u671f\u4e8c_\u661f\u671f\u4e09_\u661f\u671f\u56db_\u661f\u671f\u4e94_\u661f\u671f\u516d".split("_"),weekdaysShort:"\u9031\u65e5_\u9031\u4e00_\u9031\u4e8c_\u9031\u4e09_\u9031\u56db_\u9031\u4e94_\u9031\u516d".split("_"),weekdaysMin:"\u65e5_\u4e00_\u4e8c_\u4e09_\u56db_\u4e94_\u516d".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5e74M\u6708D\u65e5",LLL:"YYYY\u5e74M\u6708D\u65e5 HH:mm",LLLL:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5e74M\u6708D\u65e5",lll:"YYYY\u5e74M\u6708D\u65e5 HH:mm",llll:"YYYY\u5e74M\u6708D\u65e5dddd HH:mm"},meridiemParse:/\u51cc\u6668|\u65e9\u4e0a|\u4e0a\u5348|\u4e2d\u5348|\u4e0b\u5348|\u665a\u4e0a/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u51cc\u6668"===t||"\u65e9\u4e0a"===t||"\u4e0a\u5348"===t?e:"\u4e2d\u5348"===t?e>=11?e:e+12:"\u4e0b\u5348"===t||"\u665a\u4e0a"===t?e+12:void 0},meridiem:function(e,t,n){var i=100*e+t;return i<600?"\u51cc\u6668":i<900?"\u65e9\u4e0a":i<1130?"\u4e0a\u5348":i<1230?"\u4e2d\u5348":i<1800?"\u4e0b\u5348":"\u665a\u4e0a"},calendar:{sameDay:"[\u4eca\u5929] LT",nextDay:"[\u660e\u5929] LT",nextWeek:"[\u4e0b]dddd LT",lastDay:"[\u6628\u5929] LT",lastWeek:"[\u4e0a]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u9031)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"\u65e5";case"M":return e+"\u6708";case"w":case"W":return e+"\u9031";default:return e}},relativeTime:{future:"%s\u5f8c",past:"%s\u524d",s:"\u5e7e\u79d2",ss:"%d \u79d2",m:"1 \u5206\u9418",mm:"%d \u5206\u9418",h:"1 \u5c0f\u6642",hh:"%d \u5c0f\u6642",d:"1 \u5929",dd:"%d \u5929",M:"1 \u500b\u6708",MM:"%d \u500b\u6708",y:"1 \u5e74",yy:"%d \u5e74"}})}(n("wd/R"))},kmnG:function(e,t,n){"use strict";n.d(t,"a",function(){return ie}),n.d(t,"b",function(){return V}),n.d(t,"c",function(){return re}),n.d(t,"d",function(){return W}),n.d(t,"e",function(){return ae}),n.d(t,"f",function(){return q}),n.d(t,"g",function(){return Z}),n.d(t,"h",function(){return J});var i=n("KQm4"),r=n("Ji7U"),a=n("LK+K"),o=n("vuIU"),s=n("1OyB"),l=n("GU7r"),c=n("ofXK"),d=n("fXoL"),u=n("FKr1"),p=n("8LU1"),h=n("XNiG"),m=n("VRyK"),g=n("xgIS"),f=n("JX91"),v=n("1G5W"),y=n("IzEk"),b=n("R0Ic"),x=n("R1ws"),_=n("cH1L"),w=n("nLfN"),S=["underline"],C=["connectionContainer"],k=["inputContainer"],O=["label"];function E(e,t){1&e&&(d["\u0275\u0275elementContainerStart"](0),d["\u0275\u0275elementStart"](1,"div",14),d["\u0275\u0275element"](2,"div",15),d["\u0275\u0275element"](3,"div",16),d["\u0275\u0275element"](4,"div",17),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](5,"div",18),d["\u0275\u0275element"](6,"div",15),d["\u0275\u0275element"](7,"div",16),d["\u0275\u0275element"](8,"div",17),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementContainerEnd"]())}function M(e,t){1&e&&(d["\u0275\u0275elementStart"](0,"div",19),d["\u0275\u0275projection"](1,1),d["\u0275\u0275elementEnd"]())}function I(e,t){if(1&e&&(d["\u0275\u0275elementContainerStart"](0),d["\u0275\u0275projection"](1,2),d["\u0275\u0275elementStart"](2,"span"),d["\u0275\u0275text"](3),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementContainerEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2);d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate"](n._control.placeholder)}}function P(e,t){1&e&&d["\u0275\u0275projection"](0,3,["*ngSwitchCase","true"])}function T(e,t){1&e&&(d["\u0275\u0275elementStart"](0,"span",23),d["\u0275\u0275text"](1," *"),d["\u0275\u0275elementEnd"]())}function D(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"label",20,21),d["\u0275\u0275listener"]("cdkObserveContent",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"]().updateOutlineGap()}),d["\u0275\u0275template"](2,I,4,1,"ng-container",12),d["\u0275\u0275template"](3,P,1,0,"ng-content",12),d["\u0275\u0275template"](4,T,2,0,"span",22),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"]();d["\u0275\u0275classProp"]("mat-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-form-field-empty",i._control.empty&&!i._shouldAlwaysFloat())("mat-accent","accent"==i.color)("mat-warn","warn"==i.color),d["\u0275\u0275property"]("cdkObserveContentDisabled","outline"!=i.appearance)("id",i._labelId)("ngSwitch",i._hasLabel()),d["\u0275\u0275attribute"]("for",i._control.id)("aria-owns",i._control.id),d["\u0275\u0275advance"](2),d["\u0275\u0275property"]("ngSwitchCase",!1),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngSwitchCase",!0),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!i.hideRequiredMarker&&i._control.required&&!i._control.disabled)}}function L(e,t){1&e&&(d["\u0275\u0275elementStart"](0,"div",24),d["\u0275\u0275projection"](1,4),d["\u0275\u0275elementEnd"]())}function R(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",25,26),d["\u0275\u0275element"](2,"span",27),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](2),d["\u0275\u0275classProp"]("mat-accent","accent"==n.color)("mat-warn","warn"==n.color)}}function j(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div"),d["\u0275\u0275projection"](1,5),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275property"]("@transitionMessages",n._subscriptAnimationState)}}function A(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",31),d["\u0275\u0275text"](1),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2);d["\u0275\u0275property"]("id",n._hintLabelId),d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate"](n.hintLabel)}}function F(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",28),d["\u0275\u0275template"](1,A,2,2,"div",29),d["\u0275\u0275projection"](2,6),d["\u0275\u0275element"](3,"div",30),d["\u0275\u0275projection"](4,7),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275property"]("@transitionMessages",n._subscriptAnimationState),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.hintLabel)}}var B=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],z=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],N=0,H=new d.InjectionToken("MatError"),V=function(){var e=Object(o.a)(function e(){Object(s.a)(this,e),this.id="mat-error-".concat(N++)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-error"]],hostAttrs:["role","alert",1,"mat-error"],hostVars:1,hostBindings:function(e,t){2&e&&d["\u0275\u0275attribute"]("id",t.id)},inputs:{id:"id"},features:[d["\u0275\u0275ProvidersFeature"]([{provide:H,useExisting:e}])]}),e}(),Y={transitionMessages:Object(b.n)("transitionMessages",[Object(b.k)("enter",Object(b.l)({opacity:1,transform:"translateY(0%)"})),Object(b.m)("void => enter",[Object(b.l)({opacity:0,transform:"translateY(-5px)"}),Object(b.e)("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},W=function(){var e=Object(o.a)(function e(){Object(s.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e}),e}(),G=0,U=new d.InjectionToken("MatHint"),q=function(){var e=Object(o.a)(function e(){Object(s.a)(this,e),this.align="start",this.id="mat-hint-".concat(G++)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-hint"]],hostAttrs:[1,"mat-hint"],hostVars:4,hostBindings:function(e,t){2&e&&(d["\u0275\u0275attribute"]("id",t.id)("align",null),d["\u0275\u0275classProp"]("mat-form-field-hint-end","end"===t.align))},inputs:{align:"align",id:"id"},features:[d["\u0275\u0275ProvidersFeature"]([{provide:U,useExisting:e}])]}),e}(),Z=function(){var e=Object(o.a)(function e(){Object(s.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-label"]]}),e}(),$=function(){var e=Object(o.a)(function e(){Object(s.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-placeholder"]]}),e}(),X=new d.InjectionToken("MatPrefix"),K=new d.InjectionToken("MatSuffix"),J=function(){var e=Object(o.a)(function e(){Object(s.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=d["\u0275\u0275defineDirective"]({type:e,selectors:[["","matSuffix",""]],features:[d["\u0275\u0275ProvidersFeature"]([{provide:K,useExisting:e}])]}),e}(),Q=0,ee=Object(o.a)(function e(t){Object(s.a)(this,e),this._elementRef=t}),te=Object(u.y)(ee,"primary"),ne=new d.InjectionToken("MAT_FORM_FIELD_DEFAULT_OPTIONS"),ie=new d.InjectionToken("MatFormField"),re=function(){var e=function(e){Object(r.a)(n,e);var t=Object(a.a)(n);function n(e,i,r,a,o,l,c,d){var u;return Object(s.a)(this,n),(u=t.call(this,e))._elementRef=e,u._changeDetectorRef=i,u._dir=a,u._defaults=o,u._platform=l,u._ngZone=c,u._outlineGapCalculationNeededImmediately=!1,u._outlineGapCalculationNeededOnStable=!1,u._destroyed=new h.a,u._showAlwaysAnimate=!1,u._subscriptAnimationState="",u._hintLabel="",u._hintLabelId="mat-hint-".concat(Q++),u._labelId="mat-form-field-label-".concat(Q++),u.floatLabel=u._getDefaultFloatLabelState(),u._animationsEnabled="NoopAnimations"!==d,u.appearance=o&&o.appearance?o.appearance:"legacy",u._hideRequiredMarker=!(!o||null==o.hideRequiredMarker)&&o.hideRequiredMarker,u}return Object(o.a)(n,[{key:"appearance",get:function(){return this._appearance},set:function(e){var t=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&t!==e&&(this._outlineGapCalculationNeededOnStable=!0)}},{key:"hideRequiredMarker",get:function(){return this._hideRequiredMarker},set:function(e){this._hideRequiredMarker=Object(p.c)(e)}},{key:"_shouldAlwaysFloat",value:function(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}},{key:"_canLabelFloat",value:function(){return"never"!==this.floatLabel}},{key:"hintLabel",get:function(){return this._hintLabel},set:function(e){this._hintLabel=e,this._processHints()}},{key:"floatLabel",get:function(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel},set:function(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}},{key:"_control",get:function(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic},set:function(e){this._explicitFormFieldControl=e}},{key:"getLabelId",value:function(){return this._hasFloatingLabel()?this._labelId:null}},{key:"getConnectedOverlayOrigin",value:function(){return this._connectionContainerRef||this._elementRef}},{key:"ngAfterContentInit",value:function(){var e=this;this._validateControlChild();var t=this._control;t.controlType&&this._elementRef.nativeElement.classList.add("mat-form-field-type-".concat(t.controlType)),t.stateChanges.pipe(Object(f.a)(null)).subscribe(function(){e._validatePlaceholders(),e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),t.ngControl&&t.ngControl.valueChanges&&t.ngControl.valueChanges.pipe(Object(v.a)(this._destroyed)).subscribe(function(){return e._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.pipe(Object(v.a)(e._destroyed)).subscribe(function(){e._outlineGapCalculationNeededOnStable&&e.updateOutlineGap()})}),Object(m.a)(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(function(){e._outlineGapCalculationNeededOnStable=!0,e._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(Object(f.a)(null)).subscribe(function(){e._processHints(),e._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(Object(f.a)(null)).subscribe(function(){e._syncDescribedByIds(),e._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(Object(v.a)(this._destroyed)).subscribe(function(){"function"==typeof requestAnimationFrame?e._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return e.updateOutlineGap()})}):e.updateOutlineGap()})}},{key:"ngAfterContentChecked",value:function(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}},{key:"ngAfterViewInit",value:function(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete()}},{key:"_shouldForward",value:function(e){var t=this._control?this._control.ngControl:null;return t&&t[e]}},{key:"_hasPlaceholder",value:function(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}},{key:"_hasLabel",value:function(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}},{key:"_shouldLabelFloat",value:function(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}},{key:"_hideControlPlaceholder",value:function(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}},{key:"_hasFloatingLabel",value:function(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}},{key:"_getDisplayedMessages",value:function(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}},{key:"_animateAndLockLabel",value:function(){var e=this;this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Object(g.a)(this._label.nativeElement,"transitionend").pipe(Object(y.a)(1)).subscribe(function(){e._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}},{key:"_validatePlaceholders",value:function(){}},{key:"_processHints",value:function(){this._validateHints(),this._syncDescribedByIds()}},{key:"_validateHints",value:function(){}},{key:"_getDefaultFloatLabelState",value:function(){return this._defaults&&this._defaults.floatLabel||"auto"}},{key:"_syncDescribedByIds",value:function(){if(this._control){var e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push.apply(e,Object(i.a)(this._control.userAriaDescribedBy.split(" "))),"hint"===this._getDisplayedMessages()){var t=this._hintChildren?this._hintChildren.find(function(e){return"start"===e.align}):null,n=this._hintChildren?this._hintChildren.find(function(e){return"end"===e.align}):null;t?e.push(t.id):this._hintLabel&&e.push(this._hintLabelId),n&&e.push(n.id)}else this._errorChildren&&e.push.apply(e,Object(i.a)(this._errorChildren.map(function(e){return e.id})));this._control.setDescribedByIds(e)}}},{key:"_validateControlChild",value:function(){}},{key:"updateOutlineGap",value:function(){var e=this._label?this._label.nativeElement:null;if("outline"===this.appearance&&e&&e.children.length&&e.textContent.trim()&&this._platform.isBrowser)if(this._isAttachedToDOM()){var t=0,n=0,i=this._connectionContainerRef.nativeElement,r=i.querySelectorAll(".mat-form-field-outline-start"),a=i.querySelectorAll(".mat-form-field-outline-gap");if(this._label&&this._label.nativeElement.children.length){var o=i.getBoundingClientRect();if(0===o.width&&0===o.height)return this._outlineGapCalculationNeededOnStable=!0,void(this._outlineGapCalculationNeededImmediately=!1);for(var s=this._getStartEnd(o),l=e.children,c=this._getStartEnd(l[0].getBoundingClientRect()),d=0,u=0;u<l.length;u++)d+=l[u].offsetWidth;t=Math.abs(c-s)-5,n=d>0?.75*d+10:0}for(var p=0;p<r.length;p++)r[p].style.width="".concat(t,"px");for(var h=0;h<a.length;h++)a[h].style.width="".concat(n,"px");this._outlineGapCalculationNeededOnStable=this._outlineGapCalculationNeededImmediately=!1}else this._outlineGapCalculationNeededImmediately=!0}},{key:"_getStartEnd",value:function(e){return this._dir&&"rtl"===this._dir.value?e.right:e.left}},{key:"_isAttachedToDOM",value:function(){var e=this._elementRef.nativeElement;if(e.getRootNode){var t=e.getRootNode();return t&&t!==e}return document.documentElement.contains(e)}}]),n}(te);return e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](d.ChangeDetectorRef),d["\u0275\u0275directiveInject"](d.ElementRef),d["\u0275\u0275directiveInject"](_.b,8),d["\u0275\u0275directiveInject"](ne,8),d["\u0275\u0275directiveInject"](w.a),d["\u0275\u0275directiveInject"](d.NgZone),d["\u0275\u0275directiveInject"](x.a,8))},e.\u0275cmp=d["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-form-field"]],contentQueries:function(e,t,n){var i;1&e&&(d["\u0275\u0275contentQuery"](n,W,1),d["\u0275\u0275contentQuery"](n,W,3),d["\u0275\u0275contentQuery"](n,Z,1),d["\u0275\u0275contentQuery"](n,Z,3),d["\u0275\u0275contentQuery"](n,$,1),d["\u0275\u0275contentQuery"](n,H,1),d["\u0275\u0275contentQuery"](n,U,1),d["\u0275\u0275contentQuery"](n,X,1),d["\u0275\u0275contentQuery"](n,K,1)),2&e&&(d["\u0275\u0275queryRefresh"](i=d["\u0275\u0275loadQuery"]())&&(t._controlNonStatic=i.first),d["\u0275\u0275queryRefresh"](i=d["\u0275\u0275loadQuery"]())&&(t._controlStatic=i.first),d["\u0275\u0275queryRefresh"](i=d["\u0275\u0275loadQuery"]())&&(t._labelChildNonStatic=i.first),d["\u0275\u0275queryRefresh"](i=d["\u0275\u0275loadQuery"]())&&(t._labelChildStatic=i.first),d["\u0275\u0275queryRefresh"](i=d["\u0275\u0275loadQuery"]())&&(t._placeholderChild=i.first),d["\u0275\u0275queryRefresh"](i=d["\u0275\u0275loadQuery"]())&&(t._errorChildren=i),d["\u0275\u0275queryRefresh"](i=d["\u0275\u0275loadQuery"]())&&(t._hintChildren=i),d["\u0275\u0275queryRefresh"](i=d["\u0275\u0275loadQuery"]())&&(t._prefixChildren=i),d["\u0275\u0275queryRefresh"](i=d["\u0275\u0275loadQuery"]())&&(t._suffixChildren=i))},viewQuery:function(e,t){var n;1&e&&(d["\u0275\u0275viewQuery"](S,1),d["\u0275\u0275viewQuery"](C,3),d["\u0275\u0275viewQuery"](k,1),d["\u0275\u0275viewQuery"](O,1)),2&e&&(d["\u0275\u0275queryRefresh"](n=d["\u0275\u0275loadQuery"]())&&(t.underlineRef=n.first),d["\u0275\u0275queryRefresh"](n=d["\u0275\u0275loadQuery"]())&&(t._connectionContainerRef=n.first),d["\u0275\u0275queryRefresh"](n=d["\u0275\u0275loadQuery"]())&&(t._inputContainerRef=n.first),d["\u0275\u0275queryRefresh"](n=d["\u0275\u0275loadQuery"]())&&(t._label=n.first))},hostAttrs:[1,"mat-form-field"],hostVars:40,hostBindings:function(e,t){2&e&&d["\u0275\u0275classProp"]("mat-form-field-appearance-standard","standard"==t.appearance)("mat-form-field-appearance-fill","fill"==t.appearance)("mat-form-field-appearance-outline","outline"==t.appearance)("mat-form-field-appearance-legacy","legacy"==t.appearance)("mat-form-field-invalid",t._control.errorState)("mat-form-field-can-float",t._canLabelFloat())("mat-form-field-should-float",t._shouldLabelFloat())("mat-form-field-has-label",t._hasFloatingLabel())("mat-form-field-hide-placeholder",t._hideControlPlaceholder())("mat-form-field-disabled",t._control.disabled)("mat-form-field-autofilled",t._control.autofilled)("mat-focused",t._control.focused)("ng-untouched",t._shouldForward("untouched"))("ng-touched",t._shouldForward("touched"))("ng-pristine",t._shouldForward("pristine"))("ng-dirty",t._shouldForward("dirty"))("ng-valid",t._shouldForward("valid"))("ng-invalid",t._shouldForward("invalid"))("ng-pending",t._shouldForward("pending"))("_mat-animation-noopable",!t._animationsEnabled)},inputs:{color:"color",floatLabel:"floatLabel",appearance:"appearance",hideRequiredMarker:"hideRequiredMarker",hintLabel:"hintLabel"},exportAs:["matFormField"],features:[d["\u0275\u0275ProvidersFeature"]([{provide:ie,useExisting:e}]),d["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:z,decls:15,vars:8,consts:[[1,"mat-form-field-wrapper"],[1,"mat-form-field-flex",3,"click"],["connectionContainer",""],[4,"ngIf"],["class","mat-form-field-prefix",4,"ngIf"],[1,"mat-form-field-infix"],["inputContainer",""],[1,"mat-form-field-label-wrapper"],["class","mat-form-field-label",3,"cdkObserveContentDisabled","id","mat-empty","mat-form-field-empty","mat-accent","mat-warn","ngSwitch","cdkObserveContent",4,"ngIf"],["class","mat-form-field-suffix",4,"ngIf"],["class","mat-form-field-underline",4,"ngIf"],[1,"mat-form-field-subscript-wrapper",3,"ngSwitch"],[4,"ngSwitchCase"],["class","mat-form-field-hint-wrapper",4,"ngSwitchCase"],[1,"mat-form-field-outline"],[1,"mat-form-field-outline-start"],[1,"mat-form-field-outline-gap"],[1,"mat-form-field-outline-end"],[1,"mat-form-field-outline","mat-form-field-outline-thick"],[1,"mat-form-field-prefix"],[1,"mat-form-field-label",3,"cdkObserveContentDisabled","id","ngSwitch","cdkObserveContent"],["label",""],["class","mat-placeholder-required mat-form-field-required-marker","aria-hidden","true",4,"ngIf"],["aria-hidden","true",1,"mat-placeholder-required","mat-form-field-required-marker"],[1,"mat-form-field-suffix"],[1,"mat-form-field-underline"],["underline",""],[1,"mat-form-field-ripple"],[1,"mat-form-field-hint-wrapper"],["class","mat-hint",3,"id",4,"ngIf"],[1,"mat-form-field-hint-spacer"],[1,"mat-hint",3,"id"]],template:function(e,t){1&e&&(d["\u0275\u0275projectionDef"](B),d["\u0275\u0275elementStart"](0,"div",0),d["\u0275\u0275elementStart"](1,"div",1,2),d["\u0275\u0275listener"]("click",function(e){return t._control.onContainerClick&&t._control.onContainerClick(e)}),d["\u0275\u0275template"](3,E,9,0,"ng-container",3),d["\u0275\u0275template"](4,M,2,0,"div",4),d["\u0275\u0275elementStart"](5,"div",5,6),d["\u0275\u0275projection"](7),d["\u0275\u0275elementStart"](8,"span",7),d["\u0275\u0275template"](9,D,5,16,"label",8),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275template"](10,L,2,0,"div",9),d["\u0275\u0275elementEnd"](),d["\u0275\u0275template"](11,R,3,4,"div",10),d["\u0275\u0275elementStart"](12,"div",11),d["\u0275\u0275template"](13,j,2,1,"div",12),d["\u0275\u0275template"](14,F,5,2,"div",13),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e&&(d["\u0275\u0275advance"](3),d["\u0275\u0275property"]("ngIf","outline"==t.appearance),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",t._prefixChildren.length),d["\u0275\u0275advance"](5),d["\u0275\u0275property"]("ngIf",t._hasFloatingLabel()),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",t._suffixChildren.length),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf","outline"!=t.appearance),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngSwitch",t._getDisplayedMessages()),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngSwitchCase","error"),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngSwitchCase","hint"))},directives:[c.NgIf,c.NgSwitch,c.NgSwitchCase,l.a],styles:[".mat-form-field{display:inline-block;position:relative;text-align:left}[dir=rtl] .mat-form-field{text-align:right}.mat-form-field-wrapper{position:relative}.mat-form-field-flex{display:inline-flex;align-items:baseline;box-sizing:border-box;width:100%}.mat-form-field-prefix,.mat-form-field-suffix{white-space:nowrap;flex:none;position:relative}.mat-form-field-infix{display:block;position:relative;flex:auto;min-width:0;width:180px}.cdk-high-contrast-active .mat-form-field-infix{border-image:linear-gradient(transparent, transparent)}.mat-form-field-label-wrapper{position:absolute;left:0;box-sizing:content-box;width:100%;height:100%;overflow:hidden;pointer-events:none}[dir=rtl] .mat-form-field-label-wrapper{left:auto;right:0}.mat-form-field-label{position:absolute;left:0;font:inherit;pointer-events:none;width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;transform-origin:0 0;transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1),color 400ms cubic-bezier(0.25, 0.8, 0.25, 1),width 400ms cubic-bezier(0.25, 0.8, 0.25, 1);display:none}[dir=rtl] .mat-form-field-label{transform-origin:100% 0;left:auto;right:0}.mat-form-field-empty.mat-form-field-label,.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-label{display:block}.mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-form-field-autofill-control:-webkit-autofill+.mat-form-field-label-wrapper .mat-form-field-label{display:block;transition:none}.mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:none}.mat-form-field-can-float .mat-input-server:focus+.mat-form-field-label-wrapper .mat-form-field-label,.mat-form-field-can-float .mat-input-server[placeholder]:not(:placeholder-shown)+.mat-form-field-label-wrapper .mat-form-field-label{display:block}.mat-form-field-label:not(.mat-form-field-empty){transition:none}.mat-form-field-underline{position:absolute;width:100%;pointer-events:none;transform:scale3d(1, 1.0001, 1)}.mat-form-field-ripple{position:absolute;left:0;width:100%;transform-origin:50%;transform:scaleX(0.5);opacity:0;transition:background-color 300ms cubic-bezier(0.55, 0, 0.55, 0.2)}.mat-form-field.mat-focused .mat-form-field-ripple,.mat-form-field.mat-form-field-invalid .mat-form-field-ripple{opacity:1;transform:none;transition:transform 300ms cubic-bezier(0.25, 0.8, 0.25, 1),opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1),background-color 300ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-subscript-wrapper{position:absolute;box-sizing:border-box;width:100%;overflow:hidden}.mat-form-field-subscript-wrapper .mat-icon,.mat-form-field-label-wrapper .mat-icon{width:1em;height:1em;font-size:inherit;vertical-align:baseline}.mat-form-field-hint-wrapper{display:flex}.mat-form-field-hint-spacer{flex:1 0 1em}.mat-error{display:block}.mat-form-field-control-wrapper{position:relative}.mat-form-field-hint-end{order:1}.mat-form-field._mat-animation-noopable .mat-form-field-label,.mat-form-field._mat-animation-noopable .mat-form-field-ripple{transition:none}\n",'.mat-form-field-appearance-fill .mat-form-field-flex{border-radius:4px 4px 0 0;padding:.75em .75em 0 .75em}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-flex{outline:solid 1px}.mat-form-field-appearance-fill .mat-form-field-underline::before{content:"";display:block;position:absolute;bottom:0;height:1px;width:100%}.mat-form-field-appearance-fill .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-fill .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-fill:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-fill._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}.mat-form-field-appearance-fill .mat-form-field-subscript-wrapper{padding:0 1em}\n','.mat-input-element{font:inherit;background:transparent;color:currentColor;border:none;outline:none;padding:0;margin:0;width:100%;max-width:100%;vertical-align:bottom;text-align:inherit;box-sizing:content-box}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element::-ms-clear,.mat-input-element::-ms-reveal{display:none}.mat-input-element,.mat-input-element::-webkit-search-cancel-button,.mat-input-element::-webkit-search-decoration,.mat-input-element::-webkit-search-results-button,.mat-input-element::-webkit-search-results-decoration{-webkit-appearance:none}.mat-input-element::-webkit-contacts-auto-fill-button,.mat-input-element::-webkit-caps-lock-indicator,.mat-input-element::-webkit-credentials-auto-fill-button{visibility:hidden}.mat-input-element[type=date],.mat-input-element[type=datetime],.mat-input-element[type=datetime-local],.mat-input-element[type=month],.mat-input-element[type=week],.mat-input-element[type=time]{line-height:1}.mat-input-element[type=date]::after,.mat-input-element[type=datetime]::after,.mat-input-element[type=datetime-local]::after,.mat-input-element[type=month]::after,.mat-input-element[type=week]::after,.mat-input-element[type=time]::after{content:" ";white-space:pre;width:1px}.mat-input-element::-webkit-inner-spin-button,.mat-input-element::-webkit-calendar-picker-indicator,.mat-input-element::-webkit-clear-button{font-size:.75em}.mat-input-element::placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-moz-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-moz-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element::-webkit-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element::-webkit-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-input-element:-ms-input-placeholder{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-input-element:-ms-input-placeholder:-ms-input-placeholder{-ms-user-select:text}.mat-form-field-hide-placeholder .mat-input-element::placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-moz-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element::-webkit-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}.mat-form-field-hide-placeholder .mat-input-element:-ms-input-placeholder{color:transparent !important;-webkit-text-fill-color:transparent;transition:none}textarea.mat-input-element{resize:vertical;overflow:auto}textarea.mat-input-element.cdk-textarea-autosize{resize:none}textarea.mat-input-element{padding:2px 0;margin:-2px 0}select.mat-input-element{-moz-appearance:none;-webkit-appearance:none;position:relative;background-color:transparent;display:inline-flex;box-sizing:border-box;padding-top:1em;top:-1em;margin-bottom:-1em}select.mat-input-element::-ms-expand{display:none}select.mat-input-element::-moz-focus-inner{border:0}select.mat-input-element:not(:disabled){cursor:pointer}select.mat-input-element::-ms-value{color:inherit;background:none}.mat-focused .cdk-high-contrast-active select.mat-input-element::-ms-value{color:inherit}.mat-form-field-type-mat-native-select .mat-form-field-infix::after{content:"";width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;position:absolute;top:50%;right:0;margin-top:-2.5px;pointer-events:none}[dir=rtl] .mat-form-field-type-mat-native-select .mat-form-field-infix::after{right:auto;left:0}.mat-form-field-type-mat-native-select .mat-input-element{padding-right:15px}[dir=rtl] .mat-form-field-type-mat-native-select .mat-input-element{padding-right:0;padding-left:15px}.mat-form-field-type-mat-native-select .mat-form-field-label-wrapper{max-width:calc(100% - 10px)}.mat-form-field-type-mat-native-select.mat-form-field-appearance-outline .mat-form-field-infix::after{margin-top:-5px}.mat-form-field-type-mat-native-select.mat-form-field-appearance-fill .mat-form-field-infix::after{margin-top:-10px}\n',".mat-form-field-appearance-legacy .mat-form-field-label{transform:perspective(100px);-ms-transform:none}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon{width:1em}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button{font:inherit;vertical-align:baseline}.mat-form-field-appearance-legacy .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field-appearance-legacy .mat-form-field-suffix .mat-icon-button .mat-icon{font-size:inherit}.mat-form-field-appearance-legacy .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-legacy .mat-form-field-ripple{top:0;height:2px;overflow:hidden}.cdk-high-contrast-active .mat-form-field-appearance-legacy .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-legacy.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-legacy.mat-form-field-invalid:not(.mat-focused) .mat-form-field-ripple{height:1px}\n",".mat-form-field-appearance-outline .mat-form-field-wrapper{margin:.25em 0}.mat-form-field-appearance-outline .mat-form-field-flex{padding:0 .75em 0 .75em;margin-top:-0.25em;position:relative}.mat-form-field-appearance-outline .mat-form-field-prefix,.mat-form-field-appearance-outline .mat-form-field-suffix{top:.25em}.mat-form-field-appearance-outline .mat-form-field-outline{display:flex;position:absolute;top:.25em;left:0;right:0;bottom:0;pointer-events:none}.mat-form-field-appearance-outline .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-end{border:1px solid currentColor;min-width:5px}.mat-form-field-appearance-outline .mat-form-field-outline-start{border-radius:5px 0 0 5px;border-right-style:none}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-start{border-right-style:solid;border-left-style:none;border-radius:0 5px 5px 0}.mat-form-field-appearance-outline .mat-form-field-outline-end{border-radius:0 5px 5px 0;border-left-style:none;flex-grow:1}[dir=rtl] .mat-form-field-appearance-outline .mat-form-field-outline-end{border-left-style:solid;border-right-style:none;border-radius:5px 0 0 5px}.mat-form-field-appearance-outline .mat-form-field-outline-gap{border-radius:.000001px;border:1px solid currentColor;border-left-style:none;border-right-style:none}.mat-form-field-appearance-outline.mat-form-field-can-float.mat-form-field-should-float .mat-form-field-outline-gap{border-top-color:transparent}.mat-form-field-appearance-outline .mat-form-field-outline-thick{opacity:0}.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-start,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-end,.mat-form-field-appearance-outline .mat-form-field-outline-thick .mat-form-field-outline-gap{border-width:2px}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline{opacity:0;transition:opacity 100ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline.mat-focused .mat-form-field-outline-thick,.mat-form-field-appearance-outline.mat-form-field-invalid .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline{opacity:0;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-outline:not(.mat-form-field-disabled) .mat-form-field-flex:hover .mat-form-field-outline-thick{opacity:1}.mat-form-field-appearance-outline .mat-form-field-subscript-wrapper{padding:0 1em}.mat-form-field-appearance-outline._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-start,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-end,.mat-form-field-appearance-outline._mat-animation-noopable .mat-form-field-outline-gap{transition:none}\n",".mat-form-field-appearance-standard .mat-form-field-flex{padding-top:.75em}.mat-form-field-appearance-standard .mat-form-field-underline{height:1px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-underline{height:0;border-top:solid 1px}.mat-form-field-appearance-standard .mat-form-field-ripple{bottom:0;height:2px}.cdk-high-contrast-active .mat-form-field-appearance-standard .mat-form-field-ripple{height:0;border-top:solid 2px}.mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{background-position:0;background-color:transparent}.cdk-high-contrast-active .mat-form-field-appearance-standard.mat-form-field-disabled .mat-form-field-underline{border-top-style:dotted;border-top-width:2px}.mat-form-field-appearance-standard:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{opacity:1;transform:none;transition:opacity 600ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-form-field-appearance-standard._mat-animation-noopable:not(.mat-form-field-disabled) .mat-form-field-flex:hover~.mat-form-field-underline .mat-form-field-ripple{transition:none}\n"],encapsulation:2,data:{animation:[Y.transitionMessages]},changeDetection:0}),e}(),ae=function(){var e=Object(o.a)(function e(){Object(s.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=d["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=d["\u0275\u0275defineInjector"]({imports:[[c.CommonModule,u.j,l.c],u.j]}),e}()},l5ep:function(e,t,n){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn \xf4l",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(n("wd/R"))},l7GE:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("1OyB"),r=n("vuIU"),a=n("Ji7U"),o=n("LK+K"),s=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"notifyNext",value:function(e,t,n,i,r){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(n("7o/Q").a)},lJxs:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("JX7q"),r=n("Ji7U"),a=n("LK+K"),o=n("1OyB"),s=n("vuIU"),l=n("7o/Q");function c(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new d(e,t))}}var d=function(){function e(t,n){Object(o.a)(this,e),this.project=t,this.thisArg=n}return Object(s.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.project,this.thisArg))}}]),e}(),u=function(e){Object(r.a)(n,e);var t=Object(a.a)(n);function n(e,r,a){var s;return Object(o.a)(this,n),(s=t.call(this,e)).project=r,s.count=0,s.thisArg=a||Object(i.a)(s),s}return Object(s.a)(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(l.a)},lXzo:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u044b_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u043c\u0438\u043d\u0443\u0442\u0430_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442":"\u043c\u0438\u043d\u0443\u0442\u0443_\u043c\u0438\u043d\u0443\u0442\u044b_\u043c\u0438\u043d\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043e\u0432",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u044f_\u0434\u043d\u0435\u0439",ww:"\u043d\u0435\u0434\u0435\u043b\u044f_\u043d\u0435\u0434\u0435\u043b\u0438_\u043d\u0435\u0434\u0435\u043b\u044c",MM:"\u043c\u0435\u0441\u044f\u0446_\u043c\u0435\u0441\u044f\u0446\u0430_\u043c\u0435\u0441\u044f\u0446\u0435\u0432",yy:"\u0433\u043e\u0434_\u0433\u043e\u0434\u0430_\u043b\u0435\u0442"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}var n=[/^\u044f\u043d\u0432/i,/^\u0444\u0435\u0432/i,/^\u043c\u0430\u0440/i,/^\u0430\u043f\u0440/i,/^\u043c\u0430[\u0439\u044f]/i,/^\u0438\u044e\u043d/i,/^\u0438\u044e\u043b/i,/^\u0430\u0432\u0433/i,/^\u0441\u0435\u043d/i,/^\u043e\u043a\u0442/i,/^\u043d\u043e\u044f/i,/^\u0434\u0435\u043a/i];e.defineLocale("ru",{months:{format:"\u044f\u043d\u0432\u0430\u0440\u044f_\u0444\u0435\u0432\u0440\u0430\u043b\u044f_\u043c\u0430\u0440\u0442\u0430_\u0430\u043f\u0440\u0435\u043b\u044f_\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f_\u043e\u043a\u0442\u044f\u0431\u0440\u044f_\u043d\u043e\u044f\u0431\u0440\u044f_\u0434\u0435\u043a\u0430\u0431\u0440\u044f".split("_"),standalone:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_")},monthsShort:{format:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440._\u0430\u043f\u0440._\u043c\u0430\u044f_\u0438\u044e\u043d\u044f_\u0438\u044e\u043b\u044f_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_"),standalone:"\u044f\u043d\u0432._\u0444\u0435\u0432\u0440._\u043c\u0430\u0440\u0442_\u0430\u043f\u0440._\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433._\u0441\u0435\u043d\u0442._\u043e\u043a\u0442._\u043d\u043e\u044f\u0431._\u0434\u0435\u043a.".split("_")},weekdays:{standalone:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043e\u0442\u0430".split("_"),format:"\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435_\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a_\u0432\u0442\u043e\u0440\u043d\u0438\u043a_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043f\u044f\u0442\u043d\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043e\u0442\u0443".split("_"),isFormat:/\[ ?[\u0412\u0432] ?(?:\u043f\u0440\u043e\u0448\u043b\u0443\u044e|\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e|\u044d\u0442\u0443)? ?] ?dddd/},weekdaysShort:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u0432\u0441_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsShortRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044c\u044f]|\u044f\u043d\u0432\.?|\u0444\u0435\u0432\u0440\u0430\u043b[\u044c\u044f]|\u0444\u0435\u0432\u0440?\.?|\u043c\u0430\u0440\u0442\u0430?|\u043c\u0430\u0440\.?|\u0430\u043f\u0440\u0435\u043b[\u044c\u044f]|\u0430\u043f\u0440\.?|\u043c\u0430[\u0439\u044f]|\u0438\u044e\u043d[\u044c\u044f]|\u0438\u044e\u043d\.?|\u0438\u044e\u043b[\u044c\u044f]|\u0438\u044e\u043b\.?|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0430\u0432\u0433\.?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044c\u044f]|\u0441\u0435\u043d\u0442?\.?|\u043e\u043a\u0442\u044f\u0431\u0440[\u044c\u044f]|\u043e\u043a\u0442\.?|\u043d\u043e\u044f\u0431\u0440[\u044c\u044f]|\u043d\u043e\u044f\u0431?\.?|\u0434\u0435\u043a\u0430\u0431\u0440[\u044c\u044f]|\u0434\u0435\u043a\.?)/i,monthsStrictRegex:/^(\u044f\u043d\u0432\u0430\u0440[\u044f\u044c]|\u0444\u0435\u0432\u0440\u0430\u043b[\u044f\u044c]|\u043c\u0430\u0440\u0442\u0430?|\u0430\u043f\u0440\u0435\u043b[\u044f\u044c]|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044f\u044c]|\u0438\u044e\u043b[\u044f\u044c]|\u0430\u0432\u0433\u0443\u0441\u0442\u0430?|\u0441\u0435\u043d\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043e\u043a\u0442\u044f\u0431\u0440[\u044f\u044c]|\u043d\u043e\u044f\u0431\u0440[\u044f\u044c]|\u0434\u0435\u043a\u0430\u0431\u0440[\u044f\u044c])/i,monthsShortStrictRegex:/^(\u044f\u043d\u0432\.|\u0444\u0435\u0432\u0440?\.|\u043c\u0430\u0440[\u0442.]|\u0430\u043f\u0440\.|\u043c\u0430[\u044f\u0439]|\u0438\u044e\u043d[\u044c\u044f.]|\u0438\u044e\u043b[\u044c\u044f.]|\u0430\u0432\u0433\.|\u0441\u0435\u043d\u0442?\.|\u043e\u043a\u0442\.|\u043d\u043e\u044f\u0431?\.|\u0434\u0435\u043a\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},calendar:{sameDay:"[\u0421\u0435\u0433\u043e\u0434\u043d\u044f, \u0432] LT",nextDay:"[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",lastDay:"[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e] dddd, [\u0432] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[\u0412\u043e] dddd, [\u0432] LT":"[\u0412] dddd, [\u0432] LT";switch(this.day()){case 0:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u043e\u0435] dddd, [\u0432] LT";case 1:case 2:case 4:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u044b\u0439] dddd, [\u0432] LT";case 3:case 5:case 6:return"[\u0412 \u043f\u0440\u043e\u0448\u043b\u0443\u044e] dddd, [\u0432] LT"}},sameElse:"L"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043d\u0430\u0437\u0430\u0434",s:"\u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0447\u0430\u0441",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:t,M:"\u043c\u0435\u0441\u044f\u0446",MM:t,y:"\u0433\u043e\u0434",yy:t},meridiemParse:/\u043d\u043e\u0447\u0438|\u0443\u0442\u0440\u0430|\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430/i,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0435\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0438":e<12?"\u0443\u0442\u0440\u0430":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0435\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e|\u044f)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-\u0439";case"D":return e+"-\u0433\u043e";case"w":case"W":return e+"-\u044f";default:return e}},week:{dow:1,doy:4}})}(n("wd/R"))},lYtQ:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){switch(n){case"s":return t?"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434":"\u0445\u044d\u0434\u0445\u044d\u043d \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d";case"ss":return e+(t?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return e+(t?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return e+(t?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return e+(t?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return e+(t?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return e+(t?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return e}}e.defineLocale("mn",{months:"\u041d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0425\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0413\u0443\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u04e9\u0440\u04e9\u0432\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0422\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0417\u0443\u0440\u0433\u0430\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0414\u043e\u043b\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u041d\u0430\u0439\u043c\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0415\u0441\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0430\u0432\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u043d\u044d\u0433\u0434\u04af\u0433\u044d\u044d\u0440 \u0441\u0430\u0440_\u0410\u0440\u0432\u0430\u043d \u0445\u043e\u0451\u0440\u0434\u0443\u0433\u0430\u0430\u0440 \u0441\u0430\u0440".split("_"),monthsShort:"1 \u0441\u0430\u0440_2 \u0441\u0430\u0440_3 \u0441\u0430\u0440_4 \u0441\u0430\u0440_5 \u0441\u0430\u0440_6 \u0441\u0430\u0440_7 \u0441\u0430\u0440_8 \u0441\u0430\u0440_9 \u0441\u0430\u0440_10 \u0441\u0430\u0440_11 \u0441\u0430\u0440_12 \u0441\u0430\u0440".split("_"),monthsParseExact:!0,weekdays:"\u041d\u044f\u043c_\u0414\u0430\u0432\u0430\u0430_\u041c\u044f\u0433\u043c\u0430\u0440_\u041b\u0445\u0430\u0433\u0432\u0430_\u041f\u04af\u0440\u044d\u0432_\u0411\u0430\u0430\u0441\u0430\u043d_\u0411\u044f\u043c\u0431\u0430".split("_"),weekdaysShort:"\u041d\u044f\u043c_\u0414\u0430\u0432_\u041c\u044f\u0433_\u041b\u0445\u0430_\u041f\u04af\u0440_\u0411\u0430\u0430_\u0411\u044f\u043c".split("_"),weekdaysMin:"\u041d\u044f_\u0414\u0430_\u041c\u044f_\u041b\u0445_\u041f\u04af_\u0411\u0430_\u0411\u044f".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D",LLL:"YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm",LLLL:"dddd, YYYY \u043e\u043d\u044b MMMM\u044b\u043d D HH:mm"},meridiemParse:/\u04ae\u04e8|\u04ae\u0425/i,isPM:function(e){return"\u04ae\u0425"===e},meridiem:function(e,t,n){return e<12?"\u04ae\u04e8":"\u04ae\u0425"},calendar:{sameDay:"[\u04e8\u043d\u04e9\u04e9\u0434\u04e9\u0440] LT",nextDay:"[\u041c\u0430\u0440\u0433\u0430\u0430\u0448] LT",nextWeek:"[\u0418\u0440\u044d\u0445] dddd LT",lastDay:"[\u04e8\u0447\u0438\u0433\u0434\u04e9\u0440] LT",lastWeek:"[\u04e8\u043d\u0433\u04e9\u0440\u0441\u04e9\u043d] dddd LT",sameElse:"L"},relativeTime:{future:"%s \u0434\u0430\u0440\u0430\u0430",past:"%s \u04e9\u043c\u043d\u04e9",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} \u04e9\u0434\u04e9\u0440/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" \u04e9\u0434\u04e9\u0440";default:return e}}})}(n("wd/R"))},lgnt:function(e,t,n){!function(e){"use strict";var t={0:"-\u0447\u04af",1:"-\u0447\u0438",2:"-\u0447\u0438",3:"-\u0447\u04af",4:"-\u0447\u04af",5:"-\u0447\u0438",6:"-\u0447\u044b",7:"-\u0447\u0438",8:"-\u0447\u0438",9:"-\u0447\u0443",10:"-\u0447\u0443",20:"-\u0447\u044b",30:"-\u0447\u0443",40:"-\u0447\u044b",50:"-\u0447\u04af",60:"-\u0447\u044b",70:"-\u0447\u0438",80:"-\u0447\u0438",90:"-\u0447\u0443",100:"-\u0447\u04af"};e.defineLocale("ky",{months:"\u044f\u043d\u0432\u0430\u0440\u044c_\u0444\u0435\u0432\u0440\u0430\u043b\u044c_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440\u0435\u043b\u044c_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c_\u043e\u043a\u0442\u044f\u0431\u0440\u044c_\u043d\u043e\u044f\u0431\u0440\u044c_\u0434\u0435\u043a\u0430\u0431\u0440\u044c".split("_"),monthsShort:"\u044f\u043d\u0432_\u0444\u0435\u0432_\u043c\u0430\u0440\u0442_\u0430\u043f\u0440_\u043c\u0430\u0439_\u0438\u044e\u043d\u044c_\u0438\u044e\u043b\u044c_\u0430\u0432\u0433_\u0441\u0435\u043d_\u043e\u043a\u0442_\u043d\u043e\u044f_\u0434\u0435\u043a".split("_"),weekdays:"\u0416\u0435\u043a\u0448\u0435\u043c\u0431\u0438_\u0414\u04af\u0439\u0448\u04e9\u043c\u0431\u04af_\u0428\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0428\u0430\u0440\u0448\u0435\u043c\u0431\u0438_\u0411\u0435\u0439\u0448\u0435\u043c\u0431\u0438_\u0416\u0443\u043c\u0430_\u0418\u0448\u0435\u043c\u0431\u0438".split("_"),weekdaysShort:"\u0416\u0435\u043a_\u0414\u04af\u0439_\u0428\u0435\u0439_\u0428\u0430\u0440_\u0411\u0435\u0439_\u0416\u0443\u043c_\u0418\u0448\u0435".split("_"),weekdaysMin:"\u0416\u043a_\u0414\u0439_\u0428\u0439_\u0428\u0440_\u0411\u0439_\u0416\u043c_\u0418\u0448".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u0411\u04af\u0433\u04af\u043d \u0441\u0430\u0430\u0442] LT",nextDay:"[\u042d\u0440\u0442\u0435\u04a3 \u0441\u0430\u0430\u0442] LT",nextWeek:"dddd [\u0441\u0430\u0430\u0442] LT",lastDay:"[\u041a\u0435\u0447\u044d\u044d \u0441\u0430\u0430\u0442] LT",lastWeek:"[\u04e8\u0442\u043a\u04e9\u043d \u0430\u043f\u0442\u0430\u043d\u044b\u043d] dddd [\u043a\u04af\u043d\u04af] [\u0441\u0430\u0430\u0442] LT",sameElse:"L"},relativeTime:{future:"%s \u0438\u0447\u0438\u043d\u0434\u0435",past:"%s \u043c\u0443\u0440\u0443\u043d",s:"\u0431\u0438\u0440\u043d\u0435\u0447\u0435 \u0441\u0435\u043a\u0443\u043d\u0434",ss:"%d \u0441\u0435\u043a\u0443\u043d\u0434",m:"\u0431\u0438\u0440 \u043c\u04af\u043d\u04e9\u0442",mm:"%d \u043c\u04af\u043d\u04e9\u0442",h:"\u0431\u0438\u0440 \u0441\u0430\u0430\u0442",hh:"%d \u0441\u0430\u0430\u0442",d:"\u0431\u0438\u0440 \u043a\u04af\u043d",dd:"%d \u043a\u04af\u043d",M:"\u0431\u0438\u0440 \u0430\u0439",MM:"%d \u0430\u0439",y:"\u0431\u0438\u0440 \u0436\u044b\u043b",yy:"%d \u0436\u044b\u043b"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0447\u0438|\u0447\u044b|\u0447\u04af|\u0447\u0443)/,ordinal:function(e){return e+(t[e]||t[e%10]||t[e>=100?100:null])},week:{dow:1,doy:7}})}(n("wd/R"))},loYQ:function(e,t,n){!function(e){"use strict";var t={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},n={"\u09e7":"1","\u09e8":"2","\u09e9":"3","\u09ea":"4","\u09eb":"5","\u09ec":"6","\u09ed":"7","\u09ee":"8","\u09ef":"9","\u09e6":"0"};e.defineLocale("bn-bd",{months:"\u099c\u09be\u09a8\u09c1\u09df\u09be\u09b0\u09bf_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1\u09df\u09be\u09b0\u09bf_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f\u09c7\u09ae\u09cd\u09ac\u09b0_\u0985\u0995\u09cd\u099f\u09cb\u09ac\u09b0_\u09a8\u09ad\u09c7\u09ae\u09cd\u09ac\u09b0_\u09a1\u09bf\u09b8\u09c7\u09ae\u09cd\u09ac\u09b0".split("_"),monthsShort:"\u099c\u09be\u09a8\u09c1_\u09ab\u09c7\u09ac\u09cd\u09b0\u09c1_\u09ae\u09be\u09b0\u09cd\u099a_\u098f\u09aa\u09cd\u09b0\u09bf\u09b2_\u09ae\u09c7_\u099c\u09c1\u09a8_\u099c\u09c1\u09b2\u09be\u0987_\u0986\u0997\u09b8\u09cd\u099f_\u09b8\u09c7\u09aa\u09cd\u099f_\u0985\u0995\u09cd\u099f\u09cb_\u09a8\u09ad\u09c7_\u09a1\u09bf\u09b8\u09c7".split("_"),weekdays:"\u09b0\u09ac\u09bf\u09ac\u09be\u09b0_\u09b8\u09cb\u09ae\u09ac\u09be\u09b0_\u09ae\u0999\u09cd\u0997\u09b2\u09ac\u09be\u09b0_\u09ac\u09c1\u09a7\u09ac\u09be\u09b0_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf\u09ac\u09be\u09b0_\u09b6\u09c1\u0995\u09cd\u09b0\u09ac\u09be\u09b0_\u09b6\u09a8\u09bf\u09ac\u09be\u09b0".split("_"),weekdaysShort:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9\u09b8\u09cd\u09aa\u09a4\u09bf_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),weekdaysMin:"\u09b0\u09ac\u09bf_\u09b8\u09cb\u09ae_\u09ae\u0999\u09cd\u0997\u09b2_\u09ac\u09c1\u09a7_\u09ac\u09c3\u09b9_\u09b6\u09c1\u0995\u09cd\u09b0_\u09b6\u09a8\u09bf".split("_"),longDateFormat:{LT:"A h:mm \u09b8\u09ae\u09df",LTS:"A h:mm:ss \u09b8\u09ae\u09df",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm \u09b8\u09ae\u09df",LLLL:"dddd, D MMMM YYYY, A h:mm \u09b8\u09ae\u09df"},calendar:{sameDay:"[\u0986\u099c] LT",nextDay:"[\u0986\u0997\u09be\u09ae\u09c0\u0995\u09be\u09b2] LT",nextWeek:"dddd, LT",lastDay:"[\u0997\u09a4\u0995\u09be\u09b2] LT",lastWeek:"[\u0997\u09a4] dddd, LT",sameElse:"L"},relativeTime:{future:"%s \u09aa\u09b0\u09c7",past:"%s \u0986\u0997\u09c7",s:"\u0995\u09df\u09c7\u0995 \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",ss:"%d \u09b8\u09c7\u0995\u09c7\u09a8\u09cd\u09a1",m:"\u098f\u0995 \u09ae\u09bf\u09a8\u09bf\u099f",mm:"%d \u09ae\u09bf\u09a8\u09bf\u099f",h:"\u098f\u0995 \u0998\u09a8\u09cd\u099f\u09be",hh:"%d \u0998\u09a8\u09cd\u099f\u09be",d:"\u098f\u0995 \u09a6\u09bf\u09a8",dd:"%d \u09a6\u09bf\u09a8",M:"\u098f\u0995 \u09ae\u09be\u09b8",MM:"%d \u09ae\u09be\u09b8",y:"\u098f\u0995 \u09ac\u099b\u09b0",yy:"%d \u09ac\u099b\u09b0"},preparse:function(e){return e.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09ad\u09cb\u09b0|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be|\u09b0\u09be\u09a4/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u09b0\u09be\u09a4"===t?e<4?e:e+12:"\u09ad\u09cb\u09b0"===t||"\u09b8\u0995\u09be\u09b2"===t?e:"\u09a6\u09c1\u09aa\u09c1\u09b0"===t?e>=3?e:e+12:"\u09ac\u09bf\u0995\u09be\u09b2"===t||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u09b0\u09be\u09a4":e<6?"\u09ad\u09cb\u09b0":e<12?"\u09b8\u0995\u09be\u09b2":e<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":e<18?"\u09ac\u09bf\u0995\u09be\u09b2":e<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(n("wd/R"))},lwsE:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},lyxo:function(e,t,n){!function(e){"use strict";function t(e,t,n){var i=" ";return(e%100>=20||e>=100&&e%100==0)&&(i=" de "),e+i+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"s\u0103pt\u0103m\xe2ni",MM:"luni",yy:"ani"}[n]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminic\u0103_luni_mar\u021bi_miercuri_joi_vineri_s\xe2mb\u0103t\u0103".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_S\xe2m".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_S\xe2".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[m\xe2ine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s \xeen urm\u0103",s:"c\xe2teva secunde",ss:t,m:"un minut",mm:t,h:"o or\u0103",hh:t,d:"o zi",dd:t,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:t,M:"o lun\u0103",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(n("wd/R"))},"m+po":function(e,t,n){"use strict";var i=n("Y3SK"),r=n("lwsE"),a=n("W8MJ"),o=(function(e){var t=e.performance;function n(e){t&&t.mark&&t.mark(e)}function i(e,n){t&&t.measure&&t.measure(e,n)}n("Zone");var o=e.__Zone_symbol_prefix||"__zone_symbol__";function s(e){return o+e}var l=!0===e[s("forceDuplicateZoneCheck")];if(e.Zone){if(l||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}var c=function(){function t(e,n){r(this,t),this._parent=e,this._name=n?n.name||"unnamed":"<root>",this._properties=n&&n.properties||{},this._zoneDelegate=new p(this,this._parent&&this._parent._zoneDelegate,n)}return a(t,[{key:"parent",get:function(){return this._parent}},{key:"name",get:function(){return this._name}},{key:"get",value:function(e){var t=this.getZoneWith(e);if(t)return t._properties[e]}},{key:"getZoneWith",value:function(e){for(var t=this;t;){if(t._properties.hasOwnProperty(e))return t;t=t._parent}return null}},{key:"fork",value:function(e){if(!e)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,e)}},{key:"wrap",value:function(e,t){if("function"!=typeof e)throw new Error("Expecting function got: "+e);var n=this._zoneDelegate.intercept(this,e,t),i=this;return function(){return i.runGuarded(n,this,arguments,t)}}},{key:"run",value:function(e,t,n,i){L={parent:L,zone:this};try{return this._zoneDelegate.invoke(this,e,t,n,i)}finally{L=L.parent}}},{key:"runGuarded",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;L={parent:L,zone:this};try{try{return this._zoneDelegate.invoke(this,e,t,n,i)}catch(r){if(this._zoneDelegate.handleError(this,r))throw r}}finally{L=L.parent}}},{key:"runTask",value:function(e,t,n){if(e.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(e.zone||_).name+"; Execution: "+this.name+")");if(e.state!==w||e.type!==P&&e.type!==I){var i=e.state!=k;i&&e._transitionTo(k,C),e.runCount++;var r=R;R=e,L={parent:L,zone:this};try{e.type==I&&e.data&&!e.data.isPeriodic&&(e.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,e,t,n)}catch(a){if(this._zoneDelegate.handleError(this,a))throw a}}finally{e.state!==w&&e.state!==E&&(e.type==P||e.data&&e.data.isPeriodic?i&&e._transitionTo(C,k):(e.runCount=0,this._updateTaskCount(e,-1),i&&e._transitionTo(w,k,w))),L=L.parent,R=r}}}},{key:"scheduleTask",value:function(e){if(e.zone&&e.zone!==this)for(var t=this;t;){if(t===e.zone)throw Error("can not reschedule task to ".concat(this.name," which is descendants of the original zone ").concat(e.zone.name));t=t.parent}e._transitionTo(S,w);var n=[];e._zoneDelegates=n,e._zone=this;try{e=this._zoneDelegate.scheduleTask(this,e)}catch(i){throw e._transitionTo(E,S,w),this._zoneDelegate.handleError(this,i),i}return e._zoneDelegates===n&&this._updateTaskCount(e,1),e.state==S&&e._transitionTo(C,S),e}},{key:"scheduleMicroTask",value:function(e,t,n,i){return this.scheduleTask(new h(M,e,t,n,i,void 0))}},{key:"scheduleMacroTask",value:function(e,t,n,i,r){return this.scheduleTask(new h(I,e,t,n,i,r))}},{key:"scheduleEventTask",value:function(e,t,n,i,r){return this.scheduleTask(new h(P,e,t,n,i,r))}},{key:"cancelTask",value:function(e){if(e.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(e.zone||_).name+"; Execution: "+this.name+")");e._transitionTo(O,C,k);try{this._zoneDelegate.cancelTask(this,e)}catch(t){throw e._transitionTo(E,O),this._zoneDelegate.handleError(this,t),t}return this._updateTaskCount(e,-1),e._transitionTo(w,O),e.runCount=0,e}},{key:"_updateTaskCount",value:function(e,t){var n=e._zoneDelegates;-1==t&&(e._zoneDelegates=null);for(var i=0;i<n.length;i++)n[i]._updateTaskCount(e.type,t)}}],[{key:"assertZonePatched",value:function(){if(e.Promise!==T.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}},{key:"root",get:function(){for(var e=t.current;e.parent;)e=e.parent;return e}},{key:"current",get:function(){return L.zone}},{key:"currentTask",get:function(){return R}},{key:"__load_patch",value:function(r,a){var o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(T.hasOwnProperty(r)){if(!o&&l)throw Error("Already loaded patch: "+r)}else if(!e["__Zone_disable_"+r]){var s="Zone:"+r;n(s),T[r]=a(e,t,D),i(s,s)}}}]),t}();c.__symbol__=s;var d,u={name:"",onHasTask:function(e,t,n,i){return e.hasTask(n,i)},onScheduleTask:function(e,t,n,i){return e.scheduleTask(n,i)},onInvokeTask:function(e,t,n,i,r,a){return e.invokeTask(n,i,r,a)},onCancelTask:function(e,t,n,i){return e.cancelTask(n,i)}},p=function(){function e(t,n,i){r(this,e),this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=t,this._parentDelegate=n,this._forkZS=i&&(i&&i.onFork?i:n._forkZS),this._forkDlgt=i&&(i.onFork?n:n._forkDlgt),this._forkCurrZone=i&&(i.onFork?this.zone:n._forkCurrZone),this._interceptZS=i&&(i.onIntercept?i:n._interceptZS),this._interceptDlgt=i&&(i.onIntercept?n:n._interceptDlgt),this._interceptCurrZone=i&&(i.onIntercept?this.zone:n._interceptCurrZone),this._invokeZS=i&&(i.onInvoke?i:n._invokeZS),this._invokeDlgt=i&&(i.onInvoke?n:n._invokeDlgt),this._invokeCurrZone=i&&(i.onInvoke?this.zone:n._invokeCurrZone),this._handleErrorZS=i&&(i.onHandleError?i:n._handleErrorZS),this._handleErrorDlgt=i&&(i.onHandleError?n:n._handleErrorDlgt),this._handleErrorCurrZone=i&&(i.onHandleError?this.zone:n._handleErrorCurrZone),this._scheduleTaskZS=i&&(i.onScheduleTask?i:n._scheduleTaskZS),this._scheduleTaskDlgt=i&&(i.onScheduleTask?n:n._scheduleTaskDlgt),this._scheduleTaskCurrZone=i&&(i.onScheduleTask?this.zone:n._scheduleTaskCurrZone),this._invokeTaskZS=i&&(i.onInvokeTask?i:n._invokeTaskZS),this._invokeTaskDlgt=i&&(i.onInvokeTask?n:n._invokeTaskDlgt),this._invokeTaskCurrZone=i&&(i.onInvokeTask?this.zone:n._invokeTaskCurrZone),this._cancelTaskZS=i&&(i.onCancelTask?i:n._cancelTaskZS),this._cancelTaskDlgt=i&&(i.onCancelTask?n:n._cancelTaskDlgt),this._cancelTaskCurrZone=i&&(i.onCancelTask?this.zone:n._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;var a=i&&i.onHasTask;(a||n&&n._hasTaskZS)&&(this._hasTaskZS=a?i:u,this._hasTaskDlgt=n,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=t,i.onScheduleTask||(this._scheduleTaskZS=u,this._scheduleTaskDlgt=n,this._scheduleTaskCurrZone=this.zone),i.onInvokeTask||(this._invokeTaskZS=u,this._invokeTaskDlgt=n,this._invokeTaskCurrZone=this.zone),i.onCancelTask||(this._cancelTaskZS=u,this._cancelTaskDlgt=n,this._cancelTaskCurrZone=this.zone))}return a(e,[{key:"fork",value:function(e,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,e,t):new c(e,t)}},{key:"intercept",value:function(e,t,n){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,e,t,n):t}},{key:"invoke",value:function(e,t,n,i,r){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,e,t,n,i,r):t.apply(n,i)}},{key:"handleError",value:function(e,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,e,t)}},{key:"scheduleTask",value:function(e,t){var n=t;if(this._scheduleTaskZS)this._hasTaskZS&&n._zoneDelegates.push(this._hasTaskDlgtOwner),(n=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,e,t))||(n=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=M)throw new Error("Task is missing scheduleFn.");b(t)}return n}},{key:"invokeTask",value:function(e,t,n,i){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,e,t,n,i):t.callback.apply(n,i)}},{key:"cancelTask",value:function(e,t){var n;if(this._cancelTaskZS)n=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,e,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");n=t.cancelFn(t)}return n}},{key:"hasTask",value:function(e,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,e,t)}catch(n){this.handleError(e,n)}}},{key:"_updateTaskCount",value:function(e,t){var n=this._taskCounts,i=n[e],r=n[e]=i+t;if(r<0)throw new Error("More tasks executed then were scheduled.");0!=i&&0!=r||this.hasTask(this.zone,{microTask:n.microTask>0,macroTask:n.macroTask>0,eventTask:n.eventTask>0,change:e})}}]),e}(),h=function(){function t(n,i,a,o,s,l){if(r(this,t),this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=n,this.source=i,this.data=o,this.scheduleFn=s,this.cancelFn=l,!a)throw new Error("callback is not defined");this.callback=a;var c=this;this.invoke=n===P&&o&&o.useG?t.invokeTask:function(){return t.invokeTask.call(e,c,this,arguments)}}return a(t,[{key:"zone",get:function(){return this._zone}},{key:"state",get:function(){return this._state}},{key:"cancelScheduleRequest",value:function(){this._transitionTo(w,S)}},{key:"_transitionTo",value:function(e,t,n){if(this._state!==t&&this._state!==n)throw new Error("".concat(this.type," '").concat(this.source,"': can not transition to '").concat(e,"', expecting state '").concat(t,"'").concat(n?" or '"+n+"'":"",", was '").concat(this._state,"'."));this._state=e,e==w&&(this._zoneDelegates=null)}},{key:"toString",value:function(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}},{key:"toJSON",value:function(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}],[{key:"invokeTask",value:function(e,t,n){e||(e=this),j++;try{return e.runCount++,e.zone.runTask(e,t,n)}finally{1==j&&x(),j--}}}]),t}(),m=s("setTimeout"),g=s("Promise"),f=s("then"),v=[],y=!1;function b(t){if(0===j&&0===v.length)if(d||e[g]&&(d=e[g].resolve(0)),d){var n=d[f];n||(n=d.then),n.call(d,x)}else e[m](x,0);t&&v.push(t)}function x(){if(!y){for(y=!0;v.length;){var e=v;v=[];for(var t=0;t<e.length;t++){var n=e[t];try{n.zone.runTask(n,null,null)}catch(i){D.onUnhandledError(i)}}}D.microtaskDrainDone(),y=!1}}var _={name:"NO ZONE"},w="notScheduled",S="scheduling",C="scheduled",k="running",O="canceling",E="unknown",M="microTask",I="macroTask",P="eventTask",T={},D={symbol:s,currentZoneFrame:function(){return L},onUnhandledError:A,microtaskDrainDone:A,scheduleMicroTask:b,showUncaughtError:function(){return!c[s("ignoreConsoleErrorUncaughtError")]},patchEventTarget:function(){return[]},patchOnProperties:A,patchMethod:function(){return A},bindArguments:function(){return[]},patchThen:function(){return A},patchMacroTask:function(){return A},patchEventPrototype:function(){return A},isIEOrEdge:function(){return!1},getGlobalObjects:function(){},ObjectDefineProperty:function(){return A},ObjectGetOwnPropertyDescriptor:function(){},ObjectCreate:function(){},ArraySlice:function(){return[]},patchClass:function(){return A},wrapWithCurrentZone:function(){return A},filterProperties:function(){return[]},attachOriginToPatched:function(){return A},_redefineProperty:function(){return A},patchCallbacks:function(){return A}},L={parent:null,zone:new c(null,null)},R=null,j=0;function A(){}i("Zone","Zone"),e.Zone=c}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global),Object.getOwnPropertyDescriptor),s=Object.defineProperty,l=Object.getPrototypeOf,c=Object.create,d=Array.prototype.slice,u="addEventListener",p="removeEventListener",h=Zone.__symbol__(u),m=Zone.__symbol__(p),g="true",f="false",v=Zone.__symbol__("");function y(e,t){return Zone.current.wrap(e,t)}function b(e,t,n,i,r){return Zone.current.scheduleMacroTask(e,t,n,i,r)}var x=Zone.__symbol__,_="undefined"!=typeof window,w=_?window:void 0,S=_&&w||"object"==typeof self&&self||global,C=[null];function k(e,t){for(var n=e.length-1;n>=0;n--)"function"==typeof e[n]&&(e[n]=y(e[n],t+"_"+n));return e}function O(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}var E="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,M=!("nw"in S)&&void 0!==S.process&&"[object process]"==={}.toString.call(S.process),I=!M&&!E&&!(!_||!w.HTMLElement),P=void 0!==S.process&&"[object process]"==={}.toString.call(S.process)&&!E&&!(!_||!w.HTMLElement),T={},D=function(e){if(e=e||S.event){var t=T[e.type];t||(t=T[e.type]=x("ON_PROPERTY"+e.type));var n,i=this||e.target||S,r=i[t];if(I&&i===w&&"error"===e.type){var a=e;!0===(n=r&&r.call(this,a.message,a.filename,a.lineno,a.colno,a.error))&&e.preventDefault()}else null==(n=r&&r.apply(this,arguments))||n||e.preventDefault();return n}};function L(e,t,n){var i=o(e,t);if(!i&&n&&o(n,t)&&(i={enumerable:!0,configurable:!0}),i&&i.configurable){var r=x("on"+t+"patched");if(!e.hasOwnProperty(r)||!e[r]){delete i.writable,delete i.value;var a=i.get,l=i.set,c=t.substr(2),d=T[c];d||(d=T[c]=x("ON_PROPERTY"+c)),i.set=function(t){var n=this;n||e!==S||(n=S),n&&(n[d]&&n.removeEventListener(c,D),l&&l.apply(n,C),"function"==typeof t?(n[d]=t,n.addEventListener(c,D,!1)):n[d]=null)},i.get=function(){var n=this;if(n||e!==S||(n=S),!n)return null;var r=n[d];if(r)return r;if(a){var o=a&&a.call(this);if(o)return i.set.call(this,o),"function"==typeof n.removeAttribute&&n.removeAttribute(t),o}return null},s(e,t,i),e[r]=!0}}}function R(e,t,n){if(t)for(var i=0;i<t.length;i++)L(e,"on"+t[i],n);else{var r=[];for(var a in e)"on"==a.substr(0,2)&&r.push(a);for(var o=0;o<r.length;o++)L(e,r[o],n)}}var j=x("originalInstance");function A(e){var t=S[e];if(t){S[x(e)]=t,S[e]=function(){var n=k(arguments,e);switch(n.length){case 0:this[j]=new t;break;case 1:this[j]=new t(n[0]);break;case 2:this[j]=new t(n[0],n[1]);break;case 3:this[j]=new t(n[0],n[1],n[2]);break;case 4:this[j]=new t(n[0],n[1],n[2],n[3]);break;default:throw new Error("Arg list too long.")}},z(S[e],t);var n,i=new t(function(){});for(n in i)"XMLHttpRequest"===e&&"responseBlob"===n||function(t){"function"==typeof i[t]?S[e].prototype[t]=function(){return this[j][t].apply(this[j],arguments)}:s(S[e].prototype,t,{set:function(n){"function"==typeof n?(this[j][t]=y(n,e+"."+t),z(this[j][t],n)):this[j][t]=n},get:function(){return this[j][t]}})}(n);for(n in t)"prototype"!==n&&t.hasOwnProperty(n)&&(S[e][n]=t[n])}}function F(e,t,n){for(var i=e;i&&!i.hasOwnProperty(t);)i=l(i);!i&&e[t]&&(i=e);var r=x(t),a=null;if(i&&(!(a=i[r])||!i.hasOwnProperty(r))&&(a=i[r]=i[t],O(i&&o(i,t)))){var s=n(a,r,t);i[t]=function(){return s(this,arguments)},z(i[t],a)}return a}function B(e,t,n){var i=null;function r(e){var t=e.data;return t.args[t.cbIdx]=function(){e.invoke.apply(this,arguments)},i.apply(t.target,t.args),e}i=F(e,t,function(e){return function(t,i){var a=n(t,i);return a.cbIdx>=0&&"function"==typeof i[a.cbIdx]?b(a.name,i[a.cbIdx],a,r):e.apply(t,i)}})}function z(e,t){e[x("OriginalDelegate")]=t}var N=!1,H=!1;function V(){if(N)return H;N=!0;try{var e=w.navigator.userAgent;-1===e.indexOf("MSIE ")&&-1===e.indexOf("Trident/")&&-1===e.indexOf("Edge/")||(H=!0)}catch(t){}return H}Zone.__load_patch("ZoneAwarePromise",function(e,t,n){var o=Object.getOwnPropertyDescriptor,s=Object.defineProperty,l=n.symbol,c=[],d=!0===e[l("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],u=l("Promise"),p=l("then");n.onUnhandledError=function(e){if(n.showUncaughtError()){var t=e&&e.rejection;t?console.error("Unhandled Promise rejection:",t instanceof Error?t.message:t,"; Zone:",e.zone.name,"; Task:",e.task&&e.task.source,"; Value:",t,t instanceof Error?t.stack:void 0):console.error(e)}},n.microtaskDrainDone=function(){for(var e=function(){var e=c.shift();try{e.zone.runGuarded(function(){if(e.throwOriginal)throw e.rejection;throw e})}catch(i){!function(e){n.onUnhandledError(e);try{var i=t[h];"function"==typeof i&&i.call(this,e)}catch(r){}}(i)}};c.length;)e()};var h=l("unhandledPromiseRejectionHandler");function m(e){return e&&e.then}function g(e){return e}function f(e){return D.reject(e)}var v=l("state"),y=l("value"),b=l("finally"),x=l("parentPromiseValue"),_=l("parentPromiseState"),w=null,S=!0,C=!1;function k(e,t){return function(n){try{E(e,t,n)}catch(i){E(e,!1,i)}}}var O=l("currentTaskTrace");function E(e,i,r){var a,o,l=(a=!1,function(e){return function(){a||(a=!0,e.apply(null,arguments))}});if(e===r)throw new TypeError("Promise resolved with itself");if(e[v]===w){var u=null;try{"object"!=typeof r&&"function"!=typeof r||(u=r&&r.then)}catch(f){return l(function(){E(e,!1,f)})(),e}if(i!==C&&r instanceof D&&r.hasOwnProperty(v)&&r.hasOwnProperty(y)&&r[v]!==w)I(r),E(e,r[v],r[y]);else if(i!==C&&"function"==typeof u)try{u.call(r,l(k(e,i)),l(k(e,!1)))}catch(f){l(function(){E(e,!1,f)})()}else{e[v]=i;var p=e[y];if(e[y]=r,e[b]===b&&i===S&&(e[v]=e[_],e[y]=e[x]),i===C&&r instanceof Error){var h=t.currentTask&&t.currentTask.data&&t.currentTask.data.__creationTrace__;h&&s(r,O,{configurable:!0,enumerable:!1,writable:!0,value:h})}for(var m=0;m<p.length;)P(e,p[m++],p[m++],p[m++],p[m++]);if(0==p.length&&i==C){e[v]=0;var g=r;try{throw new Error("Uncaught (in promise): "+((o=r)&&o.toString===Object.prototype.toString?(o.constructor&&o.constructor.name||"")+": "+JSON.stringify(o):o?o.toString():Object.prototype.toString.call(o))+(r&&r.stack?"\n"+r.stack:""))}catch(f){g=f}d&&(g.throwOriginal=!0),g.rejection=r,g.promise=e,g.zone=t.current,g.task=t.currentTask,c.push(g),n.scheduleMicroTask()}}}return e}var M=l("rejectionHandledHandler");function I(e){if(0===e[v]){try{var n=t[M];n&&"function"==typeof n&&n.call(this,{rejection:e[y],promise:e})}catch(r){}e[v]=C;for(var i=0;i<c.length;i++)e===c[i].promise&&c.splice(i,1)}}function P(e,t,n,i,r){I(e);var a=e[v],o=a?"function"==typeof i?i:g:"function"==typeof r?r:f;t.scheduleMicroTask("Promise.then",function(){try{var i=e[y],r=!!n&&b===n[b];r&&(n[x]=i,n[_]=a);var s=t.run(o,void 0,r&&o!==f&&o!==g?[]:[i]);E(n,!0,s)}catch(l){E(n,!1,l)}},n)}var T=function(){},D=function(e,n){function o(e){r(this,o);var t=this;if(!(t instanceof o))throw new Error("Must be an instanceof Promise.");t[v]=w,t[y]=[];try{e&&e(k(t,S),k(t,C))}catch(n){E(t,!1,n)}}return a(o,[{key:e,get:function(){return"Promise"}},{key:n,get:function(){return o}},{key:"then",value:function(e,n){var i=this.constructor[Symbol.species];i&&"function"==typeof i||(i=this.constructor||o);var r=new i(T),a=t.current;return this[v]==w?this[y].push(a,r,e,n):P(this,a,r,e,n),r}},{key:"catch",value:function(e){return this.then(null,e)}},{key:"finally",value:function(e){var n=this.constructor[Symbol.species];n&&"function"==typeof n||(n=o);var i=new n(T);i[b]=b;var r=t.current;return this[v]==w?this[y].push(r,i,e,e):P(this,r,i,e,e),i}}],[{key:"toString",value:function(){return"function ZoneAwarePromise() { [native code] }"}},{key:"resolve",value:function(e){return E(new this(null),S,e)}},{key:"reject",value:function(e){return E(new this(null),C,e)}},{key:"race",value:function(e){var t,n,r=new this(function(e,i){t=e,n=i});function a(e){t(e)}function o(e){n(e)}var s,l=i(e);try{for(l.s();!(s=l.n()).done;){var c=s.value;m(c)||(c=this.resolve(c)),c.then(a,o)}}catch(d){l.e(d)}finally{l.f()}return r}},{key:"all",value:function(e){return o.allWithCallback(e)}},{key:"allSettled",value:function(e){return(this&&this.prototype instanceof o?this:o).allWithCallback(e,{thenCallback:function(e){return{status:"fulfilled",value:e}},errorCallback:function(e){return{status:"rejected",reason:e}}})}},{key:"allWithCallback",value:function(e,t){var n,r,a,o=this,s=new this(function(e,t){n=e,r=t}),l=2,c=0,d=[],u=i(e);try{var p=function(){var e=a.value;m(e)||(e=o.resolve(e));var i=c;try{e.then(function(e){d[i]=t?t.thenCallback(e):e,0==--l&&n(d)},function(e){t?(d[i]=t.errorCallback(e),0==--l&&n(d)):r(e)})}catch(s){r(s)}l++,c++};for(u.s();!(a=u.n()).done;)p()}catch(h){u.e(h)}finally{u.f()}return 0==(l-=2)&&n(d),s}}]),o}(Symbol.toStringTag,Symbol.species);D.resolve=D.resolve,D.reject=D.reject,D.race=D.race,D.all=D.all;var L=e[u]=e.Promise;e.Promise=D;var R=l("thenPatched");function j(e){var t=e.prototype,n=o(t,"then");if(!n||!1!==n.writable&&n.configurable){var i=t.then;t[p]=i,e.prototype.then=function(e,t){var n=this;return new D(function(e,t){i.call(n,e,t)}).then(e,t)},e[R]=!0}}return n.patchThen=j,L&&(j(L),F(e,"fetch",function(e){return t=e,function(e,n){var i=t.apply(e,n);if(i instanceof D)return i;var r=i.constructor;return r[R]||j(r),i};var t})),Promise[t.__symbol__("uncaughtPromiseErrors")]=c,D}),Zone.__load_patch("toString",function(e){var t=Function.prototype.toString,n=x("OriginalDelegate"),i=x("Promise"),r=x("Error"),a=function(){if("function"==typeof this){var a=this[n];if(a)return"function"==typeof a?t.call(a):Object.prototype.toString.call(a);if(this===Promise){var o=e[i];if(o)return t.call(o)}if(this===Error){var s=e[r];if(s)return t.call(s)}}return t.call(this)};a[n]=t,Function.prototype.toString=a;var o=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":o.call(this)}});var Y=!1;if("undefined"!=typeof window)try{var W=Object.defineProperty({},"passive",{get:function(){Y=!0}});window.addEventListener("test",W,W),window.removeEventListener("test",W,W)}catch(ve){Y=!1}var G={useG:!0},U={},q={},Z=new RegExp("^"+v+"(\\w+)(true|false)$"),$=x("propagationStopped");function X(e,t){var n=(t?t(e):e)+f,i=(t?t(e):e)+g,r=v+n,a=v+i;U[e]={},U[e].false=r,U[e].true=a}function K(e,t,n){var i=n&&n.add||u,r=n&&n.rm||p,a=n&&n.listeners||"eventListeners",o=n&&n.rmAll||"removeAllListeners",s=x(i),c="."+i+":",d=function(e,t,n){if(!e.isRemoved){var i=e.callback;"object"==typeof i&&i.handleEvent&&(e.callback=function(e){return i.handleEvent(e)},e.originalDelegate=i),e.invoke(e,t,[n]);var a=e.options;a&&"object"==typeof a&&a.once&&t[r].call(t,n.type,e.originalDelegate?e.originalDelegate:e.callback,a)}},h=function(t){if(t=t||e.event){var n=this||t.target||e,i=n[U[t.type].false];if(i)if(1===i.length)d(i[0],n,t);else for(var r=i.slice(),a=0;a<r.length&&(!t||!0!==t[$]);a++)d(r[a],n,t)}},m=function(t){if(t=t||e.event){var n=this||t.target||e,i=n[U[t.type].true];if(i)if(1===i.length)d(i[0],n,t);else for(var r=i.slice(),a=0;a<r.length&&(!t||!0!==t[$]);a++)d(r[a],n,t)}};function y(t,n){if(!t)return!1;var d=!0;n&&void 0!==n.useG&&(d=n.useG);var u=n&&n.vh,p=!0;n&&void 0!==n.chkDup&&(p=n.chkDup);var y=!1;n&&void 0!==n.rt&&(y=n.rt);for(var b=t;b&&!b.hasOwnProperty(i);)b=l(b);if(!b&&t[i]&&(b=t),!b)return!1;if(b[s])return!1;var _,w=n&&n.eventNameToString,S={},C=b[s]=b[i],k=b[x(r)]=b[r],O=b[x(a)]=b[a],E=b[x(o)]=b[o];function I(e,t){return!Y&&"object"==typeof e&&e?!!e.capture:Y&&t?"boolean"==typeof e?{capture:e,passive:!0}:e?"object"==typeof e&&!1!==e.passive?Object.assign(Object.assign({},e),{passive:!0}):e:{passive:!0}:e}n&&n.prepend&&(_=b[x(n.prepend)]=b[n.prepend]);var P=d?function(e){if(!S.isExisting)return C.call(S.target,S.eventName,S.capture?m:h,S.options)}:function(e){return C.call(S.target,S.eventName,e.invoke,S.options)},T=d?function(e){if(!e.isRemoved){var t,n=U[e.eventName];n&&(t=n[e.capture?g:f]);var i=t&&e.target[t];if(i)for(var r=0;r<i.length;r++)if(i[r]===e){i.splice(r,1),e.isRemoved=!0,0===i.length&&(e.allRemoved=!0,e.target[t]=null);break}}if(e.allRemoved)return k.call(e.target,e.eventName,e.capture?m:h,e.options)}:function(e){return k.call(e.target,e.eventName,e.invoke,e.options)},D=n&&n.diff?n.diff:function(e,t){var n=typeof t;return"function"===n&&e.callback===t||"object"===n&&e.originalDelegate===t},L=Zone[x("UNPATCHED_EVENTS")],R=e[x("PASSIVE_EVENTS")],j=function(t,i,r,a){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],s=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return function(){var l=this||e,c=arguments[0];n&&n.transferEventName&&(c=n.transferEventName(c));var h=arguments[1];if(!h)return t.apply(this,arguments);if(M&&"uncaughtException"===c)return t.apply(this,arguments);var m=!1;if("function"!=typeof h){if(!h.handleEvent)return t.apply(this,arguments);m=!0}if(!u||u(t,h,l,arguments)){var v=Y&&!!R&&-1!==R.indexOf(c),y=I(arguments[2],v);if(L)for(var b=0;b<L.length;b++)if(c===L[b])return v?t.call(l,c,h,y):t.apply(this,arguments);var x=!!y&&("boolean"==typeof y||y.capture),_=!(!y||"object"!=typeof y)&&y.once,C=Zone.current,k=U[c];k||(X(c,w),k=U[c]);var O,E=k[x?g:f],P=l[E],T=!1;if(P){if(T=!0,p)for(var j=0;j<P.length;j++)if(D(P[j],h))return}else P=l[E]=[];var A=l.constructor.name,F=q[A];F&&(O=F[c]),O||(O=A+i+(w?w(c):c)),S.options=y,_&&(S.options.once=!1),S.target=l,S.capture=x,S.eventName=c,S.isExisting=T;var B=d?G:void 0;B&&(B.taskData=S);var z=C.scheduleEventTask(O,h,B,r,a);return S.target=null,B&&(B.taskData=null),_&&(y.once=!0),(Y||"boolean"!=typeof z.options)&&(z.options=y),z.target=l,z.capture=x,z.eventName=c,m&&(z.originalDelegate=h),s?P.unshift(z):P.push(z),o?l:void 0}}};return b[i]=j(C,c,P,T,y),_&&(b.prependListener=j(_,".prependListener:",function(e){return _.call(S.target,S.eventName,e.invoke,S.options)},T,y,!0)),b[r]=function(){var t=this||e,i=arguments[0];n&&n.transferEventName&&(i=n.transferEventName(i));var r=arguments[2],a=!!r&&("boolean"==typeof r||r.capture),o=arguments[1];if(!o)return k.apply(this,arguments);if(!u||u(k,o,t,arguments)){var s,l=U[i];l&&(s=l[a?g:f]);var c=s&&t[s];if(c)for(var d=0;d<c.length;d++){var p=c[d];if(D(p,o)){if(c.splice(d,1),p.isRemoved=!0,0===c.length&&(p.allRemoved=!0,t[s]=null,"string"==typeof i)){var h=v+"ON_PROPERTY"+i;t[h]=null}return p.zone.cancelTask(p),y?t:void 0}}return k.apply(this,arguments)}},b[a]=function(){var t=this||e,i=arguments[0];n&&n.transferEventName&&(i=n.transferEventName(i));for(var r=[],a=J(t,w?w(i):i),o=0;o<a.length;o++){var s=a[o],l=s.originalDelegate?s.originalDelegate:s.callback;r.push(l)}return r},b[o]=function(){var t=this||e,i=arguments[0];if(i){n&&n.transferEventName&&(i=n.transferEventName(i));var a=U[i];if(a){var s=a.false,l=a.true,c=t[s],d=t[l];if(c)for(var u=c.slice(),p=0;p<u.length;p++){var h=u[p],m=h.originalDelegate?h.originalDelegate:h.callback;this[r].call(this,i,m,h.options)}if(d)for(var g=d.slice(),f=0;f<g.length;f++){var v=g[f],b=v.originalDelegate?v.originalDelegate:v.callback;this[r].call(this,i,b,v.options)}}}else{for(var x=Object.keys(t),_=0;_<x.length;_++){var w=x[_],S=Z.exec(w),C=S&&S[1];C&&"removeListener"!==C&&this[o].call(this,C)}this[o].call(this,"removeListener")}if(y)return this},z(b[i],C),z(b[r],k),E&&z(b[o],E),O&&z(b[a],O),!0}for(var b=[],_=0;_<t.length;_++)b[_]=y(t[_],n);return b}function J(e,t){if(!t){var n=[];for(var i in e){var r=Z.exec(i),a=r&&r[1];if(a&&(!t||a===t)){var o=e[i];if(o)for(var s=0;s<o.length;s++)n.push(o[s])}}return n}var l=U[t];l||(X(t),l=U[t]);var c=e[l.false],d=e[l.true];return c?d?c.concat(d):c.slice():d?d.slice():[]}function Q(e,t){var n=e.Event;n&&n.prototype&&t.patchMethod(n.prototype,"stopImmediatePropagation",function(e){return function(t,n){t[$]=!0,e&&e.apply(t,n)}})}function ee(e,t,n,i,r){var a=Zone.__symbol__(i);if(!t[a]){var o=t[a]=t[i];t[i]=function(a,s,l){return s&&s.prototype&&r.forEach(function(t){var r="".concat(n,".").concat(i,"::")+t,a=s.prototype;if(a.hasOwnProperty(t)){var o=e.ObjectGetOwnPropertyDescriptor(a,t);o&&o.value?(o.value=e.wrapWithCurrentZone(o.value,r),e._redefineProperty(s.prototype,t,o)):a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],r))}else a[t]&&(a[t]=e.wrapWithCurrentZone(a[t],r))}),o.call(t,a,s,l)},e.attachOriginToPatched(t[i],o)}}var te=["absolutedeviceorientation","afterinput","afterprint","appinstalled","beforeinstallprompt","beforeprint","beforeunload","devicelight","devicemotion","deviceorientation","deviceorientationabsolute","deviceproximity","hashchange","languagechange","message","mozbeforepaint","offline","online","paint","pageshow","pagehide","popstate","rejectionhandled","storage","unhandledrejection","unload","userproximity","vrdisplayconnected","vrdisplaydisconnected","vrdisplaypresentchange"],ne=["encrypted","waitingforkey","msneedkey","mozinterruptbegin","mozinterruptend"],ie=["load"],re=["blur","error","focus","load","resize","scroll","messageerror"],ae=["bounce","finish","start"],oe=["loadstart","progress","abort","error","load","progress","timeout","loadend","readystatechange"],se=["upgradeneeded","complete","abort","success","error","blocked","versionchange","close"],le=["close","error","open","message"],ce=["error","message"],de=["abort","animationcancel","animationend","animationiteration","auxclick","beforeinput","blur","cancel","canplay","canplaythrough","change","compositionstart","compositionupdate","compositionend","cuechange","click","close","contextmenu","curechange","dblclick","drag","dragend","dragenter","dragexit","dragleave","dragover","drop","durationchange","emptied","ended","error","focus","focusin","focusout","gotpointercapture","input","invalid","keydown","keypress","keyup","load","loadstart","loadeddata","loadedmetadata","lostpointercapture","mousedown","mouseenter","mouseleave","mousemove","mouseout","mouseover","mouseup","mousewheel","orientationchange","pause","play","playing","pointercancel","pointerdown","pointerenter","pointerleave","pointerlockchange","mozpointerlockchange","webkitpointerlockerchange","pointerlockerror","mozpointerlockerror","webkitpointerlockerror","pointermove","pointout","pointerover","pointerup","progress","ratechange","reset","resize","scroll","seeked","seeking","select","selectionchange","selectstart","show","sort","stalled","submit","suspend","timeupdate","volumechange","touchcancel","touchmove","touchstart","touchend","transitioncancel","transitionend","waiting","wheel"].concat(["webglcontextrestored","webglcontextlost","webglcontextcreationerror"],["autocomplete","autocompleteerror"],["toggle"],["afterscriptexecute","beforescriptexecute","DOMContentLoaded","freeze","fullscreenchange","mozfullscreenchange","webkitfullscreenchange","msfullscreenchange","fullscreenerror","mozfullscreenerror","webkitfullscreenerror","msfullscreenerror","readystatechange","visibilitychange","resume"],te,["beforecopy","beforecut","beforepaste","copy","cut","paste","dragstart","loadend","animationstart","search","transitionrun","transitionstart","webkitanimationend","webkitanimationiteration","webkitanimationstart","webkittransitionend"],["activate","afterupdate","ariarequest","beforeactivate","beforedeactivate","beforeeditfocus","beforeupdate","cellchange","controlselect","dataavailable","datasetchanged","datasetcomplete","errorupdate","filterchange","layoutcomplete","losecapture","move","moveend","movestart","propertychange","resizeend","resizestart","rowenter","rowexit","rowsdelete","rowsinserted","command","compassneedscalibration","deactivate","help","mscontentzoom","msmanipulationstatechanged","msgesturechange","msgesturedoubletap","msgestureend","msgesturehold","msgesturestart","msgesturetap","msgotpointercapture","msinertiastart","mslostpointercapture","mspointercancel","mspointerdown","mspointerenter","mspointerhover","mspointerleave","mspointermove","mspointerout","mspointerover","mspointerup","pointerout","mssitemodejumplistitemremoved","msthumbnailclick","stop","storagecommit"]);function ue(e,t,n){if(!n||0===n.length)return t;var i=n.filter(function(t){return t.target===e});if(!i||0===i.length)return t;var r=i[0].ignoreProperties;return t.filter(function(e){return-1===r.indexOf(e)})}function pe(e,t,n,i){e&&R(e,ue(e,t,n),i)}function he(e,t){if((!M||P)&&!Zone[e.symbol("patchEvents")]){var n="undefined"!=typeof WebSocket,i=t.__Zone_ignore_on_properties;if(I){var r=window,a=function(){try{var e=w.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(t){}return!1}()?[{target:r,ignoreProperties:["error"]}]:[];pe(r,de.concat(["messageerror"]),i?i.concat(a):i,l(r)),pe(Document.prototype,de,i),void 0!==r.SVGElement&&pe(r.SVGElement.prototype,de,i),pe(Element.prototype,de,i),pe(HTMLElement.prototype,de,i),pe(HTMLMediaElement.prototype,ne,i),pe(HTMLFrameSetElement.prototype,te.concat(re),i),pe(HTMLBodyElement.prototype,te.concat(re),i),pe(HTMLFrameElement.prototype,ie,i),pe(HTMLIFrameElement.prototype,ie,i);var o=r.HTMLMarqueeElement;o&&pe(o.prototype,ae,i);var s=r.Worker;s&&pe(s.prototype,ce,i)}var c=t.XMLHttpRequest;c&&pe(c.prototype,oe,i);var d=t.XMLHttpRequestEventTarget;d&&pe(d&&d.prototype,oe,i),"undefined"!=typeof IDBIndex&&(pe(IDBIndex.prototype,se,i),pe(IDBRequest.prototype,se,i),pe(IDBOpenDBRequest.prototype,se,i),pe(IDBDatabase.prototype,se,i),pe(IDBTransaction.prototype,se,i),pe(IDBCursor.prototype,se,i)),n&&pe(WebSocket.prototype,le,i)}}Zone.__load_patch("util",function(e,t,n){n.patchOnProperties=R,n.patchMethod=F,n.bindArguments=k,n.patchMacroTask=B;var i=t.__symbol__("BLACK_LISTED_EVENTS"),r=t.__symbol__("UNPATCHED_EVENTS");e[r]&&(e[i]=e[r]),e[i]&&(t[i]=t[r]=e[i]),n.patchEventPrototype=Q,n.patchEventTarget=K,n.isIEOrEdge=V,n.ObjectDefineProperty=s,n.ObjectGetOwnPropertyDescriptor=o,n.ObjectCreate=c,n.ArraySlice=d,n.patchClass=A,n.wrapWithCurrentZone=y,n.filterProperties=ue,n.attachOriginToPatched=z,n._redefineProperty=Object.defineProperty,n.patchCallbacks=ee,n.getGlobalObjects=function(){return{globalSources:q,zoneSymbolEventNames:U,eventNames:de,isBrowser:I,isMix:P,isNode:M,TRUE_STR:g,FALSE_STR:f,ZONE_SYMBOL_PREFIX:v,ADD_EVENT_LISTENER_STR:u,REMOVE_EVENT_LISTENER_STR:p}}});var me=x("zoneTask");function ge(e,t,n,i){var r=null,a=null;n+=i;var o={};function s(t){var n=t.data;return n.args[0]=function(){return t.invoke.apply(this,arguments)},n.handleId=r.apply(e,n.args),t}function l(t){return a.call(e,t.data.handleId)}r=F(e,t+=i,function(n){return function(r,a){if("function"==typeof a[0]){var c={isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?a[1]||0:void 0,args:a},d=a[0];a[0]=function(){try{return d.apply(this,arguments)}finally{c.isPeriodic||("number"==typeof c.handleId?delete o[c.handleId]:c.handleId&&(c.handleId[me]=null))}};var u=b(t,a[0],c,s,l);if(!u)return u;var p=u.data.handleId;return"number"==typeof p?o[p]=u:p&&(p[me]=u),p&&p.ref&&p.unref&&"function"==typeof p.ref&&"function"==typeof p.unref&&(u.ref=p.ref.bind(p),u.unref=p.unref.bind(p)),"number"==typeof p||p?p:u}return n.apply(e,a)}}),a=F(e,n,function(t){return function(n,i){var r,a=i[0];"number"==typeof a?r=o[a]:(r=a&&a[me])||(r=a),r&&"string"==typeof r.type?"notScheduled"!==r.state&&(r.cancelFn&&r.data.isPeriodic||0===r.runCount)&&("number"==typeof a?delete o[a]:a&&(a[me]=null),r.zone.cancelTask(r)):t.apply(e,i)}})}function fe(e,t){if(!Zone[t.symbol("patchEventTarget")]){for(var n=t.getGlobalObjects(),i=n.eventNames,r=n.zoneSymbolEventNames,a=n.TRUE_STR,o=n.FALSE_STR,s=n.ZONE_SYMBOL_PREFIX,l=0;l<i.length;l++){var c=i[l],d=s+(c+o),u=s+(c+a);r[c]={},r[c][o]=d,r[c][a]=u}var p=e.EventTarget;if(p&&p.prototype)return t.patchEventTarget(e,[p&&p.prototype]),!0}}Zone.__load_patch("legacy",function(e){var t=e[Zone.__symbol__("legacyPatch")];t&&t()}),Zone.__load_patch("queueMicrotask",function(e,t,n){n.patchMethod(e,"queueMicrotask",function(e){return function(e,n){t.current.scheduleMicroTask("queueMicrotask",n[0])}})}),Zone.__load_patch("timers",function(e){var t="set",n="clear";ge(e,t,n,"Timeout"),ge(e,t,n,"Interval"),ge(e,t,n,"Immediate")}),Zone.__load_patch("requestAnimationFrame",function(e){ge(e,"request","cancel","AnimationFrame"),ge(e,"mozRequest","mozCancel","AnimationFrame"),ge(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",function(e,t){for(var n=["alert","prompt","confirm"],i=0;i<n.length;i++)F(e,n[i],function(n,i,r){return function(i,a){return t.current.run(n,e,a,r)}})}),Zone.__load_patch("EventTarget",function(e,t,n){!function(e,t){t.patchEventPrototype(e,t)}(e,n),fe(e,n);var i=e.XMLHttpRequestEventTarget;i&&i.prototype&&n.patchEventTarget(e,[i.prototype])}),Zone.__load_patch("MutationObserver",function(e,t,n){A("MutationObserver"),A("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",function(e,t,n){A("IntersectionObserver")}),Zone.__load_patch("FileReader",function(e,t,n){A("FileReader")}),Zone.__load_patch("on_property",function(e,t,n){he(n,e)}),Zone.__load_patch("customElements",function(e,t,n){!function(e,t){var n=t.getGlobalObjects();(n.isBrowser||n.isMix)&&e.customElements&&"customElements"in e&&t.patchCallbacks(t,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,n)}),Zone.__load_patch("XHR",function(e,t){!function(e){var l=e.XMLHttpRequest;if(l){var c=l.prototype,d=c[h],u=c[m];if(!d){var p=e.XMLHttpRequestEventTarget;if(p){var g=p.prototype;d=g[h],u=g[m]}}var f="readystatechange",v="scheduled",y=F(c,"open",function(){return function(e,t){return e[i]=0==t[2],e[o]=t[1],y.apply(e,t)}}),_=x("fetchTaskAborting"),w=x("fetchTaskScheduling"),S=F(c,"send",function(){return function(e,n){if(!0===t.current[w])return S.apply(e,n);if(e[i])return S.apply(e,n);var r={target:e,url:e[o],isPeriodic:!1,args:n,aborted:!1},a=b("XMLHttpRequest.send",O,r,k,E);e&&!0===e[s]&&!r.aborted&&a.state===v&&a.invoke()}}),C=F(c,"abort",function(){return function(e,i){var r=e[n];if(r&&"string"==typeof r.type){if(null==r.cancelFn||r.data&&r.data.aborted)return;r.zone.cancelTask(r)}else if(!0===t.current[_])return C.apply(e,i)}})}function k(e){var i=e.data,o=i.target;o[a]=!1,o[s]=!1;var l=o[r];d||(d=o[h],u=o[m]),l&&u.call(o,f,l);var c=o[r]=function(){if(o.readyState===o.DONE)if(!i.aborted&&o[a]&&e.state===v){var n=o[t.__symbol__("loadfalse")];if(0!==o.status&&n&&n.length>0){var r=e.invoke;e.invoke=function(){for(var n=o[t.__symbol__("loadfalse")],a=0;a<n.length;a++)n[a]===e&&n.splice(a,1);i.aborted||e.state!==v||r.call(e)},n.push(e)}else e.invoke()}else i.aborted||!1!==o[a]||(o[s]=!0)};return d.call(o,f,c),o[n]||(o[n]=e),S.apply(o,i.args),o[a]=!0,e}function O(){}function E(e){var t=e.data;return t.aborted=!0,C.apply(t.target,t.args)}}(e);var n=x("xhrTask"),i=x("xhrSync"),r=x("xhrListener"),a=x("xhrScheduled"),o=x("xhrURL"),s=x("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",function(e){e.navigator&&e.navigator.geolocation&&function(e,t){for(var n=e.constructor.name,i=function(){var i=t[r],a=e[i];if(a){if(!O(o(e,i)))return 1;e[i]=function(e){var t=function(){return e.apply(this,k(arguments,n+"."+i))};return z(t,e),t}(a)}},r=0;r<t.length;r++)i()}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",function(e,t){function n(t){return function(n){J(e,t).forEach(function(i){var r=e.PromiseRejectionEvent;if(r){var a=new r(t,{promise:n.promise,reason:n.rejection});i.invoke(a)}})}}e.PromiseRejectionEvent&&(t[x("unhandledPromiseRejectionHandler")]=n("unhandledrejection"),t[x("rejectionHandledHandler")]=n("rejectionhandled"))})},m3o8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("b5fp");t.Lightbox=i.Lightbox;var r=n("VlMW");t.LightboxConfig=r.LightboxConfig;var a=n("rhsj");t.LightboxEvent=a.LightboxEvent,t.LIGHTBOX_EVENT=a.LIGHTBOX_EVENT;var o=n("/IoE");t.LightboxModule=o.LightboxModule},mCNh:function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return a});var i=n("SpAZ");function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return a(t)}function a(e){return 0===e.length?i.a:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)}}},mNvP:function(e,t){var n;!function(e){!function(t){var n="object"==typeof global?global:"object"==typeof self?self:"object"==typeof this?this:Function("return this;")(),i=r(e);function r(e,t){return function(n,i){"function"!=typeof e[n]&&Object.defineProperty(e,n,{configurable:!0,writable:!0,value:i}),t&&t(n,i)}}void 0===n.Reflect?n.Reflect=e:i=r(n.Reflect,i),function(e){var t=Object.prototype.hasOwnProperty,n="function"==typeof Symbol,i=n&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",r=n&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",a="function"==typeof Object.create,o={__proto__:[]}instanceof Array,s=!a&&!o,l={create:a?function(){return R(Object.create(null))}:o?function(){return R({__proto__:null})}:function(){return R({})},has:s?function(e,n){return t.call(e,n)}:function(e,t){return t in e},get:s?function(e,n){return t.call(e,n)?e[n]:void 0}:function(e,t){return e[t]}},c=Object.getPrototypeOf(Function),d="object"==typeof process&&process.env&&"true"===process.env.REFLECT_METADATA_USE_MAP_POLYFILL,u=d||"function"!=typeof Map||"function"!=typeof Map.prototype.entries?function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[r]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var i=this._keys.length,r=n+1;r<i;r++)this._keys[r-1]=this._keys[r],this._values[r-1]=this._values[r];return this._keys.length--,this._values.length--,t===this._cacheKey&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,i)},t.prototype.values=function(){return new n(this._keys,this._values,a)},t.prototype.entries=function(){return new n(this._keys,this._values,o)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[r]=function(){return this.entries()},t.prototype._find=function(e,t){return this._cacheKey!==e&&(this._cacheIndex=this._keys.indexOf(this._cacheKey=e)),this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function i(e,t){return e}function a(e,t){return t}function o(e,t){return[e,t]}}():Map,p=d||"function"!=typeof Set||"function"!=typeof Set.prototype.entries?function(){function e(){this._map=new u}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.values()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[r]=function(){return this.keys()},e}():Set,h=new(d||"function"!=typeof WeakMap?function(){var e=l.create(),n=i();return function(){function e(){this._key=i()}return e.prototype.has=function(e){var t=r(e,!1);return void 0!==t&&l.has(t,this._key)},e.prototype.get=function(e){var t=r(e,!1);return void 0!==t?l.get(t,this._key):void 0},e.prototype.set=function(e,t){return r(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=r(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=i()},e}();function i(){var t;do{t="@@WeakMap@@"+o()}while(l.has(e,t));return e[t]=!0,t}function r(e,i){if(!t.call(e,n)){if(!i)return;Object.defineProperty(e,n,{value:l.create()})}return e[n]}function a(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function o(){var e,t=(e=16,"function"==typeof Uint8Array?"undefined"!=typeof crypto?crypto.getRandomValues(new Uint8Array(e)):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(new Uint8Array(e)):a(new Uint8Array(e),e):a(new Array(e),e));t[6]=79&t[6]|64,t[8]=191&t[8]|128;for(var n="",i=0;i<16;++i){var r=t[i];4!==i&&6!==i&&8!==i||(n+="-"),r<16&&(n+="0"),n+=r.toString(16).toLowerCase()}return n}}():WeakMap);function m(e,t,n){var i=h.get(e);if(S(i)){if(!n)return;i=new u,h.set(e,i)}var r=i.get(t);if(S(r)){if(!n)return;r=new u,i.set(t,r)}return r}function g(e,t,n){if(f(e,t,n))return!0;var i=L(t);return!C(i)&&g(e,i,n)}function f(e,t,n){var i=m(t,n,!1);return!S(i)&&!!i.has(e)}function v(e,t,n){if(f(e,t,n))return y(e,t,n);var i=L(t);return C(i)?void 0:v(e,i,n)}function y(e,t,n){var i=m(t,n,!1);if(!S(i))return i.get(e)}function b(e,t,n,i){m(n,i,!0).set(e,t)}function x(e,t){var n=_(e,t),i=L(e);if(null===i)return n;var r=x(i,t);if(r.length<=0)return n;if(n.length<=0)return r;for(var a=new p,o=[],s=0,l=n;s<l.length;s++)a.has(u=l[s])||(a.add(u),o.push(u));for(var c=0,d=r;c<d.length;c++){var u;a.has(u=d[c])||(a.add(u),o.push(u))}return o}function _(e,t){var n=[],i=m(e,t,!1);if(S(i))return n;for(var a=function(e){var t=P(e,r);if(!M(t))throw new TypeError;var n=t.call(e);if(!k(n))throw new TypeError;return n}(i.keys()),o=0;;){var s=T(a);if(!s)return n.length=o,n;var l=s.value;try{n[o]=l}catch(c){try{D(a)}finally{throw c}}o++}}function w(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function S(e){return void 0===e}function C(e){return null===e}function k(e){return"object"==typeof e?null!==e:"function"==typeof e}function O(e){var t=function(e,t){switch(w(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",r=P(e,i);if(void 0!==r){var a=r.call(e,n);if(k(a))throw new TypeError;return a}return function(e,t){if("string"===t){var n=e.toString;if(M(n)&&!k(r=n.call(e)))return r;if(M(i=e.valueOf)&&!k(r=i.call(e)))return r}else{var i;if(M(i=e.valueOf)&&!k(r=i.call(e)))return r;var r,a=e.toString;if(M(a)&&!k(r=a.call(e)))return r}throw new TypeError}(e,"default"===n?"number":n)}(e,3);return"symbol"==typeof t?t:function(e){return""+e}(t)}function E(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function M(e){return"function"==typeof e}function I(e){return"function"==typeof e}function P(e,t){var n=e[t];if(null!=n){if(!M(n))throw new TypeError;return n}}function T(e){var t=e.next();return!t.done&&t}function D(e){var t=e.return;t&&t.call(e)}function L(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===c)return t;if(t!==c)return t;var n=e.prototype,i=n&&Object.getPrototypeOf(n);if(null==i||i===Object.prototype)return t;var r=i.constructor;return"function"!=typeof r||r===e?t:r}function R(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,i){if(S(n)){if(!E(e))throw new TypeError;if(!I(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var i=(0,e[n])(t);if(!S(i)&&!C(i)){if(!I(i))throw new TypeError;t=i}}return t}(e,t)}if(!E(e))throw new TypeError;if(!k(t))throw new TypeError;if(!k(i)&&!S(i)&&!C(i))throw new TypeError;return C(i)&&(i=void 0),function(e,t,n,i){for(var r=e.length-1;r>=0;--r){var a=(0,e[r])(t,n,i);if(!S(a)&&!C(a)){if(!k(a))throw new TypeError;i=a}}return i}(e,t,n=O(n),i)}),e("metadata",function(e,t){return function(n,i){if(!k(n))throw new TypeError;if(!S(i)&&!function(e){switch(w(e)){case 3:case 4:return!0;default:return!1}}(i))throw new TypeError;b(e,t,n,i)}}),e("defineMetadata",function(e,t,n,i){if(!k(n))throw new TypeError;return S(i)||(i=O(i)),b(e,t,n,i)}),e("hasMetadata",function(e,t,n){if(!k(t))throw new TypeError;return S(n)||(n=O(n)),g(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!k(t))throw new TypeError;return S(n)||(n=O(n)),f(e,t,n)}),e("getMetadata",function(e,t,n){if(!k(t))throw new TypeError;return S(n)||(n=O(n)),v(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!k(t))throw new TypeError;return S(n)||(n=O(n)),y(e,t,n)}),e("getMetadataKeys",function(e,t){if(!k(e))throw new TypeError;return S(t)||(t=O(t)),x(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!k(e))throw new TypeError;return S(t)||(t=O(t)),_(e,t)}),e("deleteMetadata",function(e,t,n){if(!k(t))throw new TypeError;S(n)||(n=O(n));var i=m(t,n,!1);if(S(i))return!1;if(!i.delete(e))return!1;if(i.size>0)return!0;var r=h.get(t);return r.delete(n),r.size>0||h.delete(t),!0})}(i)}()}(n||(n={}))},mrSG:function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",function(){return r}),n.d(t,"__assign",function(){return a}),n.d(t,"__rest",function(){return o}),n.d(t,"__decorate",function(){return s}),n.d(t,"__param",function(){return l}),n.d(t,"__metadata",function(){return c}),n.d(t,"__awaiter",function(){return d}),n.d(t,"__generator",function(){return u}),n.d(t,"__createBinding",function(){return p}),n.d(t,"__exportStar",function(){return h}),n.d(t,"__values",function(){return m}),n.d(t,"__read",function(){return g}),n.d(t,"__spread",function(){return f}),n.d(t,"__spreadArrays",function(){return v}),n.d(t,"__await",function(){return y}),n.d(t,"__asyncGenerator",function(){return b}),n.d(t,"__asyncDelegator",function(){return x}),n.d(t,"__asyncValues",function(){return _}),n.d(t,"__makeTemplateObject",function(){return w}),n.d(t,"__importStar",function(){return S}),n.d(t,"__importDefault",function(){return C}),n.d(t,"__classPrivateFieldGet",function(){return k}),n.d(t,"__classPrivateFieldSet",function(){return O});var i=function(e,t){return(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])})(e,t)};function r(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var a=function(){return(a=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function o(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}function s(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o}function l(e,t){return function(n,i){t(n,i,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,t,n,i){return new(n||(n=Promise))(function(r,a){function o(e){try{l(i.next(e))}catch(t){a(t)}}function s(e){try{l(i.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((i=i.apply(e,t||[])).next())})}function u(e,t){var n,i,r,a,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((r=(r=o.trys).length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(s){a=[6,s],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function p(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}function h(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function m(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=a.next()).done;)o.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return o}function f(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,r++)i[r]=a[o];return i}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function b(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),a=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(e){r[e]&&(i[e]=function(t){return new Promise(function(n,i){a.push([e,t,n,i])>1||s(e,t)})})}function s(e,t){try{(n=r[e](t)).value instanceof y?Promise.resolve(n.value.v).then(l,c):d(a[0][2],n)}catch(i){d(a[0][3],i)}var n}function l(e){s("next",e)}function c(e){s("throw",e)}function d(e,t){e(t),a.shift(),a.length&&s(a[0][0],a[0][1])}}function x(e){var t,n;return t={},i("next"),i("throw",function(e){throw e}),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,r){t[i]=e[i]?function(t){return(n=!n)?{value:y(e[i](t)),done:"return"===i}:r?r(t):t}:r}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=m(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise(function(i,r){!function(e,t,n,i){Promise.resolve(i).then(function(t){e({value:t,done:n})},t)}(i,r,(t=e[n](t)).done,t.value)})}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function C(e){return e&&e.__esModule?e:{default:e}}function k(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function O(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},n6bG:function(e,t,n){"use strict";function i(e){return"function"==typeof e}n.d(t,"a",function(){return i})},nLfN:function(e,t,n){"use strict";n.d(t,"a",function(){return h}),n.d(t,"b",function(){return m}),n.d(t,"c",function(){return x}),n.d(t,"d",function(){return b}),n.d(t,"e",function(){return f}),n.d(t,"f",function(){return v}),n.d(t,"g",function(){return y});var i,r=n("vuIU"),a=n("1OyB"),o=n("fXoL"),s=n("ofXK");try{i="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(_){i=!1}var l,c,d,u,p,h=function(){var e=Object(r.a)(function e(t){Object(a.a)(this,e),this._platformId=t,this.isBrowser=this._platformId?Object(s.isPlatformBrowser)(this._platformId):"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&&!i)&&"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)&&!("MSStream"in window),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});return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](o.PLATFORM_ID))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(o["\u0275\u0275inject"])(o.PLATFORM_ID))},token:e,providedIn:"root"}),e}(),m=function(){var e=Object(r.a)(function e(){Object(a.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({}),e}(),g=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function f(){if(l)return l;if("object"!=typeof document||!document)return l=new Set(g);var e=document.createElement("input");return l=new Set(g.filter(function(t){return e.setAttribute("type",t),e.type===t}))}function v(e){return function(){if(null==c&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return c=!0}}))}finally{c=c||!1}return c}()?e:!!e.capture}function y(){if(null==u){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return u=!1;if("scrollBehavior"in document.documentElement.style)u=!0;else{var e=Element.prototype.scrollTo;u=!!e&&!/\{\s*\[native code\]\s*\}/.test(e.toString())}}return u}function b(){if("object"!=typeof document||!document)return 0;if(null==d){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),i=n.style;i.width="2px",i.height="1px",e.appendChild(n),document.body.appendChild(e),d=0,0===e.scrollLeft&&(e.scrollLeft=1,d=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return d}function x(e){if(function(){if(null==p){var e="undefined"!=typeof document?document.head:null;p=!(!e||!e.createShadowRoot&&!e.attachShadow)}return p}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}},nYR2:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("7o/Q"),l=n("quSY");function c(e){return function(t){return t.lift(new d(e))}}var d=function(){function e(t){Object(a.a)(this,e),this.callback=t}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.callback))}}]),e}(),u=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i){var r;return Object(a.a)(this,n),(r=t.call(this,e)).add(new l.a(i)),r}return Object(o.a)(n)}(s.a)},ngJS:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return function(t){for(var n=0,i=e.length;n<i&&!t.closed;n++)t.next(e[n]);t.complete()}}},"nod/":function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("fXoL"),r=n("jhN1"),a=n("tyNb"),o=function(){function e(e,t){this.titleService=e,this.router=t,this.errorRoute=this.router.url}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](r.Title),i["\u0275\u0275directiveInject"](a.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-not-found"]],decls:15,vars:1,consts:[[2,"padding-top","200px","align-content","center"],[2,"text-align","center"],["alt","404 Error","src","/static/img/404-error-emoticon.png",2,"width","100px"],[2,"font-family","'Helvetica Neue', Helvetica, Arial, sans-serif","font-weight","200"],["href","https://my.fitdigits.com/",2,"font-family","Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif","font-weight","200"],["href","https://my.fitdigits.com/support",2,"font-family","Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif","font-weight","200"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"h2",3),i["\u0275\u0275text"](4,"Page not found (404 error)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"h3"),i["\u0275\u0275elementStart"](6,"a",4),i["\u0275\u0275text"](7,"Home"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](8," \u2022 "),i["\u0275\u0275elementStart"](9,"a",5),i["\u0275\u0275text"](10,"Support"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](11," \u2022 "),i["\u0275\u0275elementStart"](12,"a",5),i["\u0275\u0275text"](13,"Manual"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](14),i["\u0275\u0275textInterpolate1"](" ",t.errorRoute," "))},styles:[""]}),e}()},nyYc:function(e,t,n){!function(e){"use strict";var t=/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?|janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,n=[/^janv/i,/^f\xe9vr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^ao\xfbt/i,/^sept/i,/^oct/i,/^nov/i,/^d\xe9c/i];e.defineLocale("fr",{months:"janvier_f\xe9vrier_mars_avril_mai_juin_juillet_ao\xfbt_septembre_octobre_novembre_d\xe9cembre".split("_"),monthsShort:"janv._f\xe9vr._mars_avr._mai_juin_juil._ao\xfbt_sept._oct._nov._d\xe9c.".split("_"),monthsRegex:t,monthsShortRegex:t,monthsStrictRegex:/^(janvier|f\xe9vrier|mars|avril|mai|juin|juillet|ao\xfbt|septembre|octobre|novembre|d\xe9cembre)/i,monthsShortStrictRegex:/(janv\.?|f\xe9vr\.?|mars|avr\.?|mai|juin|juil\.?|ao\xfbt|sept\.?|oct\.?|nov\.?|d\xe9c\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd\u2019hui \xe0] LT",nextDay:"[Demain \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[Hier \xe0] LT",lastWeek:"dddd [dernier \xe0] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n("wd/R"))},o1bE:function(e,t,n){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["\u0623\u0642\u0644 \u0645\u0646 \u062b\u0627\u0646\u064a\u0629","\u062b\u0627\u0646\u064a\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062b\u0627\u0646\u064a\u062a\u0627\u0646","\u062b\u0627\u0646\u064a\u062a\u064a\u0646"],"%d \u062b\u0648\u0627\u0646","%d \u062b\u0627\u0646\u064a\u0629","%d \u062b\u0627\u0646\u064a\u0629"],m:["\u0623\u0642\u0644 \u0645\u0646 \u062f\u0642\u064a\u0642\u0629","\u062f\u0642\u064a\u0642\u0629 \u0648\u0627\u062d\u062f\u0629",["\u062f\u0642\u064a\u0642\u062a\u0627\u0646","\u062f\u0642\u064a\u0642\u062a\u064a\u0646"],"%d \u062f\u0642\u0627\u0626\u0642","%d \u062f\u0642\u064a\u0642\u0629","%d \u062f\u0642\u064a\u0642\u0629"],h:["\u0623\u0642\u0644 \u0645\u0646 \u0633\u0627\u0639\u0629","\u0633\u0627\u0639\u0629 \u0648\u0627\u062d\u062f\u0629",["\u0633\u0627\u0639\u062a\u0627\u0646","\u0633\u0627\u0639\u062a\u064a\u0646"],"%d \u0633\u0627\u0639\u0627\u062a","%d \u0633\u0627\u0639\u0629","%d \u0633\u0627\u0639\u0629"],d:["\u0623\u0642\u0644 \u0645\u0646 \u064a\u0648\u0645","\u064a\u0648\u0645 \u0648\u0627\u062d\u062f",["\u064a\u0648\u0645\u0627\u0646","\u064a\u0648\u0645\u064a\u0646"],"%d \u0623\u064a\u0627\u0645","%d \u064a\u0648\u0645\u064b\u0627","%d \u064a\u0648\u0645"],M:["\u0623\u0642\u0644 \u0645\u0646 \u0634\u0647\u0631","\u0634\u0647\u0631 \u0648\u0627\u062d\u062f",["\u0634\u0647\u0631\u0627\u0646","\u0634\u0647\u0631\u064a\u0646"],"%d \u0623\u0634\u0647\u0631","%d \u0634\u0647\u0631\u0627","%d \u0634\u0647\u0631"],y:["\u0623\u0642\u0644 \u0645\u0646 \u0639\u0627\u0645","\u0639\u0627\u0645 \u0648\u0627\u062d\u062f",["\u0639\u0627\u0645\u0627\u0646","\u0639\u0627\u0645\u064a\u0646"],"%d \u0623\u0639\u0648\u0627\u0645","%d \u0639\u0627\u0645\u064b\u0627","%d \u0639\u0627\u0645"]},i=function(e){return function(i,r,a,o){var s=t(i),l=n[e][t(i)];return 2===s&&(l=l[r?0:1]),l.replace(/%d/i,i)}},r=["\u062c\u0627\u0646\u0641\u064a","\u0641\u064a\u0641\u0631\u064a","\u0645\u0627\u0631\u0633","\u0623\u0641\u0631\u064a\u0644","\u0645\u0627\u064a","\u062c\u0648\u0627\u0646","\u062c\u0648\u064a\u0644\u064a\u0629","\u0623\u0648\u062a","\u0633\u0628\u062a\u0645\u0628\u0631","\u0623\u0643\u062a\u0648\u0628\u0631","\u0646\u0648\u0641\u0645\u0628\u0631","\u062f\u064a\u0633\u0645\u0628\u0631"];e.defineLocale("ar-dz",{months:r,monthsShort:r,weekdays:"\u0627\u0644\u0623\u062d\u062f_\u0627\u0644\u0625\u062b\u0646\u064a\u0646_\u0627\u0644\u062b\u0644\u0627\u062b\u0627\u0621_\u0627\u0644\u0623\u0631\u0628\u0639\u0627\u0621_\u0627\u0644\u062e\u0645\u064a\u0633_\u0627\u0644\u062c\u0645\u0639\u0629_\u0627\u0644\u0633\u0628\u062a".split("_"),weekdaysShort:"\u0623\u062d\u062f_\u0625\u062b\u0646\u064a\u0646_\u062b\u0644\u0627\u062b\u0627\u0621_\u0623\u0631\u0628\u0639\u0627\u0621_\u062e\u0645\u064a\u0633_\u062c\u0645\u0639\u0629_\u0633\u0628\u062a".split("_"),weekdaysMin:"\u062d_\u0646_\u062b_\u0631_\u062e_\u062c_\u0633".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/\u200fM/\u200fYYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0635|\u0645/,isPM:function(e){return"\u0645"===e},meridiem:function(e,t,n){return e<12?"\u0635":"\u0645"},calendar:{sameDay:"[\u0627\u0644\u064a\u0648\u0645 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextDay:"[\u063a\u062f\u064b\u0627 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",nextWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastDay:"[\u0623\u0645\u0633 \u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",lastWeek:"dddd [\u0639\u0646\u062f \u0627\u0644\u0633\u0627\u0639\u0629] LT",sameElse:"L"},relativeTime:{future:"\u0628\u0639\u062f %s",past:"\u0645\u0646\u0630 %s",s:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},postformat:function(e){return e.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(n("wd/R"))},ofXK:function(e,t,n){"use strict";n.r(t),n.d(t,"APP_BASE_HREF",function(){return O}),n.d(t,"AsyncPipe",function(){return xt}),n.d(t,"CommonModule",function(){return Nt}),n.d(t,"CurrencyPipe",function(){return jt}),n.d(t,"DOCUMENT",function(){return m}),n.d(t,"DatePipe",function(){return kt}),n.d(t,"DecimalPipe",function(){return Lt}),n.d(t,"FormStyle",function(){return j}),n.d(t,"FormatWidth",function(){return F}),n.d(t,"HashLocationStrategy",function(){return M}),n.d(t,"I18nPluralPipe",function(){return Et}),n.d(t,"I18nSelectPipe",function(){return Mt}),n.d(t,"JsonPipe",function(){return It}),n.d(t,"KeyValuePipe",function(){return Tt}),n.d(t,"LOCATION_INITIALIZED",function(){return v}),n.d(t,"Location",function(){return I}),n.d(t,"LocationStrategy",function(){return C}),n.d(t,"LowerCasePipe",function(){return _t}),n.d(t,"NgClass",function(){return Qe}),n.d(t,"NgComponentOutlet",function(){return et}),n.d(t,"NgForOf",function(){return nt}),n.d(t,"NgForOfContext",function(){return tt}),n.d(t,"NgIf",function(){return rt}),n.d(t,"NgIfContext",function(){return at}),n.d(t,"NgLocaleLocalization",function(){return Xe}),n.d(t,"NgLocalization",function(){return Ze}),n.d(t,"NgPlural",function(){return ut}),n.d(t,"NgPluralCase",function(){return pt}),n.d(t,"NgStyle",function(){return ht}),n.d(t,"NgSwitch",function(){return lt}),n.d(t,"NgSwitchCase",function(){return ct}),n.d(t,"NgSwitchDefault",function(){return dt}),n.d(t,"NgTemplateOutlet",function(){return mt}),n.d(t,"NumberFormatStyle",function(){return L}),n.d(t,"NumberSymbol",function(){return B}),n.d(t,"PathLocationStrategy",function(){return E}),n.d(t,"PercentPipe",function(){return Rt}),n.d(t,"PlatformLocation",function(){return g}),n.d(t,"Plural",function(){return R}),n.d(t,"SlicePipe",function(){return Bt}),n.d(t,"TitleCasePipe",function(){return St}),n.d(t,"TranslationWidth",function(){return A}),n.d(t,"UpperCasePipe",function(){return Ct}),n.d(t,"VERSION",function(){return $t}),n.d(t,"ViewportScroller",function(){return Xt}),n.d(t,"WeekDay",function(){return z}),n.d(t,"formatCurrency",function(){return Ne}),n.d(t,"formatDate",function(){return ve}),n.d(t,"formatNumber",function(){return Ve}),n.d(t,"formatPercent",function(){return He}),n.d(t,"getCurrencySymbol",function(){return ce}),n.d(t,"getLocaleCurrencyCode",function(){return ee}),n.d(t,"getLocaleCurrencyName",function(){return Q}),n.d(t,"getLocaleCurrencySymbol",function(){return J}),n.d(t,"getLocaleDateFormat",function(){return q}),n.d(t,"getLocaleDateTimeFormat",function(){return $}),n.d(t,"getLocaleDayNames",function(){return V}),n.d(t,"getLocaleDayPeriods",function(){return H}),n.d(t,"getLocaleDirection",function(){return oe}),n.d(t,"getLocaleEraNames",function(){return W}),n.d(t,"getLocaleExtraDayPeriodRules",function(){return re}),n.d(t,"getLocaleExtraDayPeriods",function(){return ae}),n.d(t,"getLocaleFirstDayOfWeek",function(){return G}),n.d(t,"getLocaleId",function(){return N}),n.d(t,"getLocaleMonthNames",function(){return Y}),n.d(t,"getLocaleNumberFormat",function(){return K}),n.d(t,"getLocaleNumberSymbol",function(){return X}),n.d(t,"getLocalePluralCase",function(){return ne}),n.d(t,"getLocaleTimeFormat",function(){return Z}),n.d(t,"getLocaleWeekEndRange",function(){return U}),n.d(t,"getNumberOfCurrencyDigits",function(){return de}),n.d(t,"isPlatformBrowser",function(){return Gt}),n.d(t,"isPlatformServer",function(){return Ut}),n.d(t,"isPlatformWorkerApp",function(){return qt}),n.d(t,"isPlatformWorkerUi",function(){return Zt}),n.d(t,"registerLocaleData",function(){return Ke}),n.d(t,"\u0275BrowserPlatformLocation",function(){return y}),n.d(t,"\u0275DomAdapter",function(){return h}),n.d(t,"\u0275NullViewportScroller",function(){return Qt}),n.d(t,"\u0275PLATFORM_BROWSER_ID",function(){return Ht}),n.d(t,"\u0275PLATFORM_SERVER_ID",function(){return Vt}),n.d(t,"\u0275PLATFORM_WORKER_APP_ID",function(){return Yt}),n.d(t,"\u0275PLATFORM_WORKER_UI_ID",function(){return Wt}),n.d(t,"\u0275angular_packages_common_common_a",function(){return f}),n.d(t,"\u0275angular_packages_common_common_b",function(){return x}),n.d(t,"\u0275angular_packages_common_common_c",function(){return P}),n.d(t,"\u0275angular_packages_common_common_d",function(){return k}),n.d(t,"\u0275angular_packages_common_common_e",function(){return gt}),n.d(t,"\u0275angular_packages_common_common_f",function(){return zt}),n.d(t,"\u0275getDOM",function(){return u}),n.d(t,"\u0275parseCookieValue",function(){return Je}),n.d(t,"\u0275setRootDomAdapter",function(){return p});var i=n("uFwe"),r=n("ODXe"),a=n("Ji7U"),o=n("LK+K"),s=n("vuIU"),l=n("1OyB"),c=n("fXoL"),d=null;function u(){return d}function p(e){d||(d=e)}var h=Object(s.a)(function e(){Object(l.a)(this,e)}),m=new c.InjectionToken("DocumentToken"),g=function(){var e=Object(s.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:f,token:e,providedIn:"platform"}),e}();function f(){return Object(c["\u0275\u0275inject"])(y)}var v=new c.InjectionToken("Location Initialized"),y=function(){var e=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e){var i;return Object(l.a)(this,n),(i=t.call(this))._doc=e,i._init(),i}return Object(s.a)(n,[{key:"_init",value:function(){this.location=u().getLocation(),this._history=u().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return u().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){u().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){u().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}},{key:"pushState",value:function(e,t,n){b()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){b()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}}]),n}(g);return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](m))},e.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:x,token:e,providedIn:"platform"}),e}();function b(){return!!window.history.pushState}function x(){return new y(Object(c["\u0275\u0275inject"])(m))}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}function w(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function S(e){return e&&"?"!==e[0]?"?"+e:e}var C=function(){var e=Object(s.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:k,token:e,providedIn:"root"}),e}();function k(e){var t=Object(c["\u0275\u0275inject"])(m).location;return new E(Object(c["\u0275\u0275inject"])(g),t&&t.origin||"")}var O=new c.InjectionToken("appBaseHref"),E=function(){var e=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,i){var r;if(Object(l.a)(this,n),(r=t.call(this))._platformLocation=e,null==i&&(i=r._platformLocation.getBaseHrefFromDOM()),null==i)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=i,r}return Object(s.a)(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return _(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+S(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+S(i));this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+S(i));this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](g),c["\u0275\u0275inject"](O,8))},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),M=function(){var e=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,i){var r;return Object(l.a)(this,n),(r=t.call(this))._platformLocation=e,r._baseHref="",null!=i&&(r._baseHref=i),r}return Object(s.a)(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=_(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+S(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}},{key:"replaceState",value:function(e,t,n,i){var r=this.prepareExternalUrl(n+S(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(C);return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](g),c["\u0275\u0275inject"](O,8))},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),I=function(){var e=function(){function e(t,n){var i=this;Object(l.a)(this,e),this._subject=new c.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=t;var r=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=w(T(r)),this._platformStrategy.onPopState(function(e){i._subject.emit({url:i.path(!0),pop:!0,state:e.state,type:e.type})})}return Object(s.a)(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+S(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,T(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+S(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+S(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach(function(n){return n(e,t)})}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](C),c["\u0275\u0275inject"](g))},e.normalizeQueryParams=S,e.joinWithSlash=_,e.stripTrailingSlash=w,e.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({factory:P,token:e,providedIn:"root"}),e}();function P(){return new I(Object(c["\u0275\u0275inject"])(C),Object(c["\u0275\u0275inject"])(g))}function T(e){return e.replace(/\/index.html$/,"")}var D={ADP:[void 0,void 0,0],AFN:[void 0,void 0,0],ALL:[void 0,void 0,0],AMD:[void 0,void 0,2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:[void 0,"\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]},L=function(e){return e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific",e}({}),R=function(e){return e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other",e}({}),j=function(e){return e[e.Format=0]="Format",e[e.Standalone=1]="Standalone",e}({}),A=function(e){return e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short",e}({}),F=function(e){return e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full",e}({}),B=function(e){return e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup",e}({}),z=function(e){return e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday",e}({});function N(e){return Object(c["\u0275findLocaleData"])(e)[c["\u0275LocaleDataIndex"].LocaleId]}function H(e,t,n){var i=Object(c["\u0275findLocaleData"])(e),r=se([i[c["\u0275LocaleDataIndex"].DayPeriodsFormat],i[c["\u0275LocaleDataIndex"].DayPeriodsStandalone]],t);return se(r,n)}function V(e,t,n){var i=Object(c["\u0275findLocaleData"])(e),r=se([i[c["\u0275LocaleDataIndex"].DaysFormat],i[c["\u0275LocaleDataIndex"].DaysStandalone]],t);return se(r,n)}function Y(e,t,n){var i=Object(c["\u0275findLocaleData"])(e),r=se([i[c["\u0275LocaleDataIndex"].MonthsFormat],i[c["\u0275LocaleDataIndex"].MonthsStandalone]],t);return se(r,n)}function W(e,t){return se(Object(c["\u0275findLocaleData"])(e)[c["\u0275LocaleDataIndex"].Eras],t)}function G(e){return Object(c["\u0275findLocaleData"])(e)[c["\u0275LocaleDataIndex"].FirstDayOfWeek]}function U(e){return Object(c["\u0275findLocaleData"])(e)[c["\u0275LocaleDataIndex"].WeekendRange]}function q(e,t){return se(Object(c["\u0275findLocaleData"])(e)[c["\u0275LocaleDataIndex"].DateFormat],t)}function Z(e,t){return se(Object(c["\u0275findLocaleData"])(e)[c["\u0275LocaleDataIndex"].TimeFormat],t)}function $(e,t){return se(Object(c["\u0275findLocaleData"])(e)[c["\u0275LocaleDataIndex"].DateTimeFormat],t)}function X(e,t){var n=Object(c["\u0275findLocaleData"])(e),i=n[c["\u0275LocaleDataIndex"].NumberSymbols][t];if(void 0===i){if(t===B.CurrencyDecimal)return n[c["\u0275LocaleDataIndex"].NumberSymbols][B.Decimal];if(t===B.CurrencyGroup)return n[c["\u0275LocaleDataIndex"].NumberSymbols][B.Group]}return i}function K(e,t){return Object(c["\u0275findLocaleData"])(e)[c["\u0275LocaleDataIndex"].NumberFormats][t]}function J(e){return Object(c["\u0275findLocaleData"])(e)[c["\u0275LocaleDataIndex"].CurrencySymbol]||null}function Q(e){return Object(c["\u0275findLocaleData"])(e)[c["\u0275LocaleDataIndex"].CurrencyName]||null}function ee(e){return Object(c["\u0275getLocaleCurrencyCode"])(e)}function te(e){return Object(c["\u0275findLocaleData"])(e)[c["\u0275LocaleDataIndex"].Currencies]}var ne=c["\u0275getLocalePluralCase"];function ie(e){if(!e[c["\u0275LocaleDataIndex"].ExtraData])throw new Error('Missing extra locale data for the locale "'.concat(e[c["\u0275LocaleDataIndex"].LocaleId],'". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.'))}function re(e){var t=Object(c["\u0275findLocaleData"])(e);return ie(t),(t[c["\u0275LocaleDataIndex"].ExtraData][2]||[]).map(function(e){return"string"==typeof e?le(e):[le(e[0]),le(e[1])]})}function ae(e,t,n){var i=Object(c["\u0275findLocaleData"])(e);ie(i);var r=se([i[c["\u0275LocaleDataIndex"].ExtraData][0],i[c["\u0275LocaleDataIndex"].ExtraData][1]],t)||[];return se(r,n)||[]}function oe(e){return Object(c["\u0275findLocaleData"])(e)[c["\u0275LocaleDataIndex"].Directionality]}function se(e,t){for(var n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function le(e){var t=e.split(":"),n=Object(r.a)(t,2);return{hours:+n[0],minutes:+n[1]}}function ce(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"en",i=te(n)[e]||D[e]||[],r=i[1];return"narrow"===t&&"string"==typeof r?r:i[0]||e}function de(e){var t,n=D[e];return n&&(t=n[2]),"number"==typeof t?t:2}var ue=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,pe={},he=/((?:[^GyYMLwWdEabBhHmsSzZO']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/,me=function(e){return e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended",e}({}),ge=function(e){return e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day",e}({}),fe=function(e){return e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras",e}({});function ve(e,t,n,i){var a=function(e){if(Re(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){var t=e.split("-").map(function(e){return+e}),n=Object(r.a)(t,3),i=n[1],a=n[2];return ye(n[0],(void 0===i?1:i)-1,void 0===a?1:a)}var o,s=parseFloat(e);if(!isNaN(e-s))return new Date(s);if(o=e.match(ue))return function(e){var t=new Date(0),n=0,i=0,r=e[8]?t.setUTCFullYear:t.setFullYear,a=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11])),r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));var o=Number(e[4]||0)-n,s=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return a.call(t,o,s,l,c),t}(o)}var l=new Date(e);if(!Re(l))throw new Error('Unable to convert "'.concat(e,'" into a date'));return l}(e);t=be(n,t)||t;for(var o,s=[];t;){if(!(o=he.exec(t))){s.push(t);break}var l=(s=s.concat(o.slice(1))).pop();if(!l)break;t=l}var c=a.getTimezoneOffset();i&&(c=Le(i,c),a=function(e,t,n){var i=e.getTimezoneOffset();return function(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}(e,-1*(Le(t,i)-i))}(a,i));var d="";return s.forEach(function(e){var t=function(e){if(De[e])return De[e];var t;switch(e){case"G":case"GG":case"GGG":t=ke(fe.Eras,A.Abbreviated);break;case"GGGG":t=ke(fe.Eras,A.Wide);break;case"GGGGG":t=ke(fe.Eras,A.Narrow);break;case"y":t=Se(ge.FullYear,1,0,!1,!0);break;case"yy":t=Se(ge.FullYear,2,0,!0,!0);break;case"yyy":t=Se(ge.FullYear,3,0,!1,!0);break;case"yyyy":t=Se(ge.FullYear,4,0,!1,!0);break;case"Y":t=Te(1);break;case"YY":t=Te(2,!0);break;case"YYY":t=Te(3);break;case"YYYY":t=Te(4);break;case"M":case"L":t=Se(ge.Month,1,1);break;case"MM":case"LL":t=Se(ge.Month,2,1);break;case"MMM":t=ke(fe.Months,A.Abbreviated);break;case"MMMM":t=ke(fe.Months,A.Wide);break;case"MMMMM":t=ke(fe.Months,A.Narrow);break;case"LLL":t=ke(fe.Months,A.Abbreviated,j.Standalone);break;case"LLLL":t=ke(fe.Months,A.Wide,j.Standalone);break;case"LLLLL":t=ke(fe.Months,A.Narrow,j.Standalone);break;case"w":t=Pe(1);break;case"ww":t=Pe(2);break;case"W":t=Pe(1,!0);break;case"d":t=Se(ge.Date,1);break;case"dd":t=Se(ge.Date,2);break;case"E":case"EE":case"EEE":t=ke(fe.Days,A.Abbreviated);break;case"EEEE":t=ke(fe.Days,A.Wide);break;case"EEEEE":t=ke(fe.Days,A.Narrow);break;case"EEEEEE":t=ke(fe.Days,A.Short);break;case"a":case"aa":case"aaa":t=ke(fe.DayPeriods,A.Abbreviated);break;case"aaaa":t=ke(fe.DayPeriods,A.Wide);break;case"aaaaa":t=ke(fe.DayPeriods,A.Narrow);break;case"b":case"bb":case"bbb":t=ke(fe.DayPeriods,A.Abbreviated,j.Standalone,!0);break;case"bbbb":t=ke(fe.DayPeriods,A.Wide,j.Standalone,!0);break;case"bbbbb":t=ke(fe.DayPeriods,A.Narrow,j.Standalone,!0);break;case"B":case"BB":case"BBB":t=ke(fe.DayPeriods,A.Abbreviated,j.Format,!0);break;case"BBBB":t=ke(fe.DayPeriods,A.Wide,j.Format,!0);break;case"BBBBB":t=ke(fe.DayPeriods,A.Narrow,j.Format,!0);break;case"h":t=Se(ge.Hours,1,-12);break;case"hh":t=Se(ge.Hours,2,-12);break;case"H":t=Se(ge.Hours,1);break;case"HH":t=Se(ge.Hours,2);break;case"m":t=Se(ge.Minutes,1);break;case"mm":t=Se(ge.Minutes,2);break;case"s":t=Se(ge.Seconds,1);break;case"ss":t=Se(ge.Seconds,2);break;case"S":t=Se(ge.FractionalSeconds,1);break;case"SS":t=Se(ge.FractionalSeconds,2);break;case"SSS":t=Se(ge.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=Ee(me.Short);break;case"ZZZZZ":t=Ee(me.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=Ee(me.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=Ee(me.Long);break;default:return null}return De[e]=t,t}(e);d+=t?t(a,n,c):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),d}function ye(e,t,n){var i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function be(e,t){var n=N(e);if(pe[n]=pe[n]||{},pe[n][t])return pe[n][t];var i="";switch(t){case"shortDate":i=q(e,F.Short);break;case"mediumDate":i=q(e,F.Medium);break;case"longDate":i=q(e,F.Long);break;case"fullDate":i=q(e,F.Full);break;case"shortTime":i=Z(e,F.Short);break;case"mediumTime":i=Z(e,F.Medium);break;case"longTime":i=Z(e,F.Long);break;case"fullTime":i=Z(e,F.Full);break;case"short":var r=be(e,"shortTime"),a=be(e,"shortDate");i=xe($(e,F.Short),[r,a]);break;case"medium":var o=be(e,"mediumTime"),s=be(e,"mediumDate");i=xe($(e,F.Medium),[o,s]);break;case"long":var l=be(e,"longTime"),c=be(e,"longDate");i=xe($(e,F.Long),[l,c]);break;case"full":var d=be(e,"fullTime"),u=be(e,"fullDate");i=xe($(e,F.Full),[d,u])}return i&&(pe[n][t]=i),i}function xe(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,function(e,n){return null!=t&&n in t?t[n]:e})),e}function _e(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-",i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0,a="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,a=n));for(var o=String(e);o.length<t;)o="0"+o;return i&&(o=o.substr(o.length-t)),a+o}function we(e,t){return _e(e,3).substr(0,t)}function Se(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(a,o){var s=Ce(e,a);if((n>0||s>-n)&&(s+=n),e===ge.Hours)0===s&&-12===n&&(s=12);else if(e===ge.FractionalSeconds)return we(s,t);var l=X(o,B.MinusSign);return _e(s,t,l,i,r)}}function Ce(e,t){switch(e){case ge.FullYear:return t.getFullYear();case ge.Month:return t.getMonth();case ge.Date:return t.getDate();case ge.Hours:return t.getHours();case ge.Minutes:return t.getMinutes();case ge.Seconds:return t.getSeconds();case ge.FractionalSeconds:return t.getMilliseconds();case ge.Day:return t.getDay();default:throw new Error('Unknown DateType value "'.concat(e,'".'))}}function ke(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:j.Format,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return function(r,a){return Oe(r,a,e,t,n,i)}}function Oe(e,t,n,i,a,o){switch(n){case fe.Months:return Y(t,a,i)[e.getMonth()];case fe.Days:return V(t,a,i)[e.getDay()];case fe.DayPeriods:var s=e.getHours(),l=e.getMinutes();if(o){var c=re(t),d=ae(t,a,i),u=c.findIndex(function(e){if(Array.isArray(e)){var t=Object(r.a)(e,2),n=t[0],i=t[1],a=s>=n.hours&&l>=n.minutes,o=s<i.hours||s===i.hours&&l<i.minutes;if(n.hours<i.hours){if(a&&o)return!0}else if(a||o)return!0}else if(e.hours===s&&e.minutes===l)return!0;return!1});if(-1!==u)return d[u]}return H(t,a,i)[s<12?0:1];case fe.Eras:return W(t,i)[e.getFullYear()<=0?0:1];default:throw new Error("unexpected translation type ".concat(n))}}function Ee(e){return function(t,n,i){var r=-1*i,a=X(n,B.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case me.Short:return(r>=0?"+":"")+_e(o,2,a)+_e(Math.abs(r%60),2,a);case me.ShortGMT:return"GMT"+(r>=0?"+":"")+_e(o,1,a);case me.Long:return"GMT"+(r>=0?"+":"")+_e(o,2,a)+":"+_e(Math.abs(r%60),2,a);case me.Extended:return 0===i?"Z":(r>=0?"+":"")+_e(o,2,a)+":"+_e(Math.abs(r%60),2,a);default:throw new Error('Unknown zone width "'.concat(e,'"'))}}}function Me(e){var t=ye(e,0,1).getDay();return ye(e,0,1+(t<=4?4:11)-t)}function Ie(e){return ye(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Pe(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){var r;if(t){var a=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,o=n.getDate();r=1+Math.floor((o+a)/7)}else{var s=Ie(n),l=Me(s.getFullYear()),c=s.getTime()-l.getTime();r=1+Math.round(c/6048e5)}return _e(r,e,X(i,B.MinusSign))}}function Te(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n,i){return _e(Ie(n).getFullYear(),e,X(i,B.MinusSign),t)}}var De={};function Le(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Re(e){return e instanceof Date&&!isNaN(e.valueOf())}var je=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ae=".",Fe="0",Be="#";function ze(e,t,n,i,r,a){var o=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s="",l=!1;if(isFinite(e)){var c=Ge(e);o&&(c=We(c));var d=t.minInt,u=t.minFrac,p=t.maxFrac;if(a){var h=a.match(je);if(null===h)throw new Error("".concat(a," is not a valid digit info"));var m=h[1],g=h[3],f=h[5];null!=m&&(d=qe(m)),null!=g&&(u=qe(g)),null!=f?p=qe(f):null!=g&&u>p&&(p=u)}Ue(c,u,p);var v=c.digits,y=c.integerLen,b=c.exponent,x=[];for(l=v.every(function(e){return!e});y<d;y++)v.unshift(0);for(;y<0;y++)v.unshift(0);y>0?x=v.splice(y,v.length):(x=v,v=[0]);var _=[];for(v.length>=t.lgSize&&_.unshift(v.splice(-t.lgSize,v.length).join(""));v.length>t.gSize;)_.unshift(v.splice(-t.gSize,v.length).join(""));v.length&&_.unshift(v.join("")),s=_.join(X(n,i)),x.length&&(s+=X(n,r)+x.join("")),b&&(s+=X(n,B.Exponential)+"+"+b)}else s=X(n,B.Infinity);return e<0&&!l?t.negPre+s+t.negSuf:t.posPre+s+t.posSuf}function Ne(e,t,n,i,r){var a=Ye(K(t,L.Currency),X(t,B.MinusSign));return a.minFrac=de(i),a.maxFrac=a.minFrac,ze(e,a,t,B.CurrencyGroup,B.CurrencyDecimal,r).replace("\xa4",n).replace("\xa4","").trim()}function He(e,t,n){return ze(e,Ye(K(t,L.Percent),X(t,B.MinusSign)),t,B.Group,B.Decimal,n,!0).replace(new RegExp("%","g"),X(t,B.PercentSign))}function Ve(e,t,n){return ze(e,Ye(K(t,L.Decimal),X(t,B.MinusSign)),t,B.Group,B.Decimal,n)}function Ye(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(";"),r=i[0],a=i[1],o=-1!==r.indexOf(Ae)?r.split(Ae):[r.substring(0,r.lastIndexOf(Fe)+1),r.substring(r.lastIndexOf(Fe)+1)],s=o[0],l=o[1]||"";n.posPre=s.substr(0,s.indexOf(Be));for(var c=0;c<l.length;c++){var d=l.charAt(c);d===Fe?n.minFrac=n.maxFrac=c+1:d===Be?n.maxFrac=c+1:n.posSuf+=d}var u=s.split(",");if(n.gSize=u[1]?u[1].length:0,n.lgSize=u[2]||u[1]?(u[2]||u[1]).length:0,a){var p=r.length-n.posPre.length-n.posSuf.length,h=a.indexOf(Be);n.negPre=a.substr(0,h).replace(/'/g,""),n.negSuf=a.substr(h+p).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function We(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}function Ge(e){var t,n,i,r,a,o=Math.abs(e)+"",s=0;for((n=o.indexOf(Ae))>-1&&(o=o.replace(Ae,"")),(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length),i=0;o.charAt(i)===Fe;i++);if(i===(a=o.length))t=[0],n=1;else{for(a--;o.charAt(a)===Fe;)a--;for(n-=i,t=[],r=0;i<=a;i++,r++)t[r]=Number(o.charAt(i))}return n>22&&(t=t.splice(0,21),s=n-1,n=1),{digits:t,exponent:s,integerLen:n}}function Ue(e,t,n){if(t>n)throw new Error("The minimum number of digits after fraction (".concat(t,") is higher than the maximum (").concat(n,")."));var i=e.digits,r=i.length-e.integerLen,a=Math.min(Math.max(t,r),n),o=a+e.integerLen,s=i[o];if(o>0){i.splice(Math.max(e.integerLen,o));for(var l=o;l<i.length;l++)i[l]=0}else{r=Math.max(0,r),e.integerLen=1,i.length=Math.max(1,o=a+1),i[0]=0;for(var c=1;c<o;c++)i[c]=0}if(s>=5)if(o-1<0){for(var d=0;d>o;d--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[o-1]++;for(;r<Math.max(0,a);r++)i.push(0);var u=0!==a,p=t+e.integerLen,h=i.reduceRight(function(e,t,n,i){return i[n]=(t+=e)<10?t:t-10,u&&(0===i[n]&&n>=p?i.pop():u=!1),t>=10?1:0},0);h&&(i.unshift(h),e.integerLen++)}function qe(e){var t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}var Ze=Object(s.a)(function e(){Object(l.a)(this,e)});function $e(e,t,n,i){var r="=".concat(e);if(t.indexOf(r)>-1)return r;if(r=n.getPluralCategory(e,i),t.indexOf(r)>-1)return r;if(t.indexOf("other")>-1)return"other";throw new Error('No plural message found for value "'.concat(e,'"'))}var Xe=function(){var e=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e){var i;return Object(l.a)(this,n),(i=t.call(this)).locale=e,i}return Object(s.a)(n,[{key:"getPluralCategory",value:function(e,t){switch(ne(t||this.locale)(e)){case R.Zero:return"zero";case R.One:return"one";case R.Two:return"two";case R.Few:return"few";case R.Many:return"many";default:return"other"}}}]),n}(Ze);return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](c.LOCALE_ID))},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}();function Ke(e,t,n){return Object(c["\u0275registerLocaleData"])(e,t,n)}function Je(e,t){t=encodeURIComponent(t);var n,a=Object(i.a)(e.split(";"));try{for(a.s();!(n=a.n()).done;){var o=n.value,s=o.indexOf("="),l=-1==s?[o,""]:[o.slice(0,s),o.slice(s+1)],c=Object(r.a)(l,2),d=c[1];if(c[0].trim()===t)return decodeURIComponent(d)}}catch(u){a.e(u)}finally{a.f()}return null}var Qe=function(){var e=function(){function e(t,n,i,r){Object(l.a)(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=i,this._renderer=r,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return Object(s.a)(e,[{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(c["\u0275isListLikeIterable"])(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}},{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._toggleClass(e.key,e.currentValue)}),e.forEachRemovedItem(function(e){e.previousValue&&t._toggleClass(e.key,!1)})}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem(function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got ".concat(Object(c["\u0275stringify"])(e.item)));t._toggleClass(e.item,!0)}),e.forEachRemovedItem(function(e){return t._toggleClass(e.item,!1)})}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!0)}):Object.keys(e).forEach(function(n){return t._toggleClass(n,!!e[n])}))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach(function(e){return t._toggleClass(e,!1)}):Object.keys(e).forEach(function(e){return t._toggleClass(e,!1)}))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach(function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.IterableDiffers),c["\u0275\u0275directiveInject"](c.KeyValueDiffers),c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](c.Renderer2))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),et=function(){var e=function(){function e(t){Object(l.a)(this,e),this._viewContainerRef=t,this._componentRef=null,this._moduleRef=null}return Object(s.a)(e,[{key:"ngOnChanges",value:function(e){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){var t=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(e.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){var n=t.get(c.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(n.injector)}else this._moduleRef=null;var i=(this._moduleRef?this._moduleRef.componentFactoryResolver:t.get(c.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(i,this._viewContainerRef.length,t,this.ngComponentOutletContent)}}},{key:"ngOnDestroy",value:function(){this._moduleRef&&this._moduleRef.destroy()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ViewContainerRef))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[c["\u0275\u0275NgOnChangesFeature"]]}),e}(),tt=function(){function e(t,n,i,r){Object(l.a)(this,e),this.$implicit=t,this.ngForOf=n,this.index=i,this.count=r}return Object(s.a)(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),nt=function(){var e=function(){function e(t,n,i){Object(l.a)(this,e),this._viewContainer=t,this._template=n,this._differs=i,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return Object(s.a)(e,[{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",get:function(){return this._trackByFn},set:function(e){this._trackByFn=e}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}},{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(i){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation(function(e,i,r){if(null==e.previousIndex){var a=t._viewContainer.createEmbeddedView(t._template,new tt(null,t._ngForOf,-1,-1),null===r?void 0:r),o=new it(e,a);n.push(o)}else if(null==r)t._viewContainer.remove(null===i?void 0:i);else if(null!==i){var s=t._viewContainer.get(i);t._viewContainer.move(s,r);var l=new it(e,s);n.push(l)}});for(var i=0;i<n.length;i++)this._perViewChange(n[i].view,n[i].record);for(var r=0,a=this._viewContainer.length;r<a;r++){var o=this._viewContainer.get(r);o.context.index=r,o.context.count=a,o.context.ngForOf=this._ngForOf}e.forEachIdentityChange(function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item})}},{key:"_perViewChange",value:function(e,t){e.context.$implicit=t.item}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ViewContainerRef),c["\u0275\u0275directiveInject"](c.TemplateRef),c["\u0275\u0275directiveInject"](c.IterableDiffers))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e}(),it=Object(s.a)(function e(t,n){Object(l.a)(this,e),this.record=t,this.view=n}),rt=function(){var e=function(){function e(t,n){Object(l.a)(this,e),this._viewContainer=t,this._context=new at,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return Object(s.a)(e,[{key:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){ot("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){ot("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}},{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ViewContainerRef),c["\u0275\u0275directiveInject"](c.TemplateRef))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e}(),at=Object(s.a)(function e(){Object(l.a)(this,e),this.$implicit=null,this.ngIf=null});function ot(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(Object(c["\u0275stringify"])(t),"'."))}var st=function(){function e(t,n){Object(l.a)(this,e),this._viewContainerRef=t,this._templateRef=n,this._created=!1}return Object(s.a)(e,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}]),e}(),lt=function(){var e=function(){function e(){Object(l.a)(this,e),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return Object(s.a)(e,[{key:"ngSwitch",set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}},{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}},{key:"_matchCase",value:function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}},{key:"_updateDefaultCases",value:function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e}(),ct=function(){var e=function(){function e(t,n,i){Object(l.a)(this,e),this.ngSwitch=i,i._addCase(),this._view=new st(t,n)}return Object(s.a)(e,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ViewContainerRef),c["\u0275\u0275directiveInject"](c.TemplateRef),c["\u0275\u0275directiveInject"](lt,9))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e}(),dt=function(){var e=Object(s.a)(function e(t,n,i){Object(l.a)(this,e),i._addDefault(new st(t,n))});return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ViewContainerRef),c["\u0275\u0275directiveInject"](c.TemplateRef),c["\u0275\u0275directiveInject"](lt,9))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngSwitchDefault",""]]}),e}(),ut=function(){var e=function(){function e(t){Object(l.a)(this,e),this._localization=t,this._caseViews={}}return Object(s.a)(e,[{key:"ngPlural",set:function(e){this._switchValue=e,this._updateView()}},{key:"addCase",value:function(e,t){this._caseViews[e]=t}},{key:"_updateView",value:function(){this._clearViews();var e=Object.keys(this._caseViews),t=$e(this._switchValue,e,this._localization);this._activateView(this._caseViews[t])}},{key:"_clearViews",value:function(){this._activeView&&this._activeView.destroy()}},{key:"_activateView",value:function(e){e&&(this._activeView=e,this._activeView.create())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](Ze))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),e}(),pt=function(){var e=Object(s.a)(function e(t,n,i,r){Object(l.a)(this,e),this.value=t;var a=!isNaN(Number(t));r.addCase(a?"=".concat(t):t,new st(i,n))});return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275injectAttribute"]("ngPluralCase"),c["\u0275\u0275directiveInject"](c.TemplateRef),c["\u0275\u0275directiveInject"](c.ViewContainerRef),c["\u0275\u0275directiveInject"](ut,1))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngPluralCase",""]]}),e}(),ht=function(){var e=function(){function e(t,n,i){Object(l.a)(this,e),this._ngEl=t,this._differs=n,this._renderer=i,this._ngStyle=null,this._differ=null}return Object(s.a)(e,[{key:"ngStyle",set:function(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}},{key:"ngDoCheck",value:function(){if(this._differ){var e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}},{key:"_setStyle",value:function(e,t){var n=e.split("."),i=Object(r.a)(n,2),a=i[0],o=i[1];null!=(t=null!=t&&o?"".concat(t).concat(o):t)?this._renderer.setStyle(this._ngEl.nativeElement,a,t):this._renderer.removeStyle(this._ngEl.nativeElement,a)}},{key:"_applyChanges",value:function(e){var t=this;e.forEachRemovedItem(function(e){return t._setStyle(e.key,null)}),e.forEachAddedItem(function(e){return t._setStyle(e.key,e.currentValue)}),e.forEachChangedItem(function(e){return t._setStyle(e.key,e.currentValue)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](c.KeyValueDiffers),c["\u0275\u0275directiveInject"](c.Renderer2))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),e}(),mt=function(){var e=function(){function e(t){Object(l.a)(this,e),this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return Object(s.a)(e,[{key:"ngOnChanges",value:function(e){if(this._shouldRecreateView(e)){var t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}},{key:"_shouldRecreateView",value:function(e){var t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}},{key:"_hasContextShapeChanged",value:function(e){var t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){var r,a=Object(i.a)(n);try{for(a.s();!(r=a.n()).done;)if(-1===t.indexOf(r.value))return!0}catch(o){a.e(o)}finally{a.f()}return!1}return!0}},{key:"_updateExistingContext",value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var i=n[t];this._viewRef.context[i]=this.ngTemplateOutletContext[i]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ViewContainerRef))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[c["\u0275\u0275NgOnChangesFeature"]]}),e}(),gt=[Qe,et,nt,rt,mt,ht,lt,ct,dt,ut,pt];function ft(e,t){return Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat(Object(c["\u0275stringify"])(e),"'"))}var vt=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,[{key:"createSubscription",value:function(e,t){return e.subscribe({next:t,error:function(e){throw e}})}},{key:"dispose",value:function(e){e.unsubscribe()}},{key:"onDestroy",value:function(e){e.unsubscribe()}}]),e}(),yt=new(function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,[{key:"createSubscription",value:function(e,t){return e.then(t,function(e){throw e})}},{key:"dispose",value:function(e){}},{key:"onDestroy",value:function(e){}}]),e}()),bt=new vt,xt=function(){var e=function(){function e(t){Object(l.a)(this,e),this._ref=t,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}return Object(s.a)(e,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}},{key:"_subscribe",value: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)})}},{key:"_selectStrategy",value:function(t){if(Object(c["\u0275isPromise"])(t))return yt;if(Object(c["\u0275isSubscribable"])(t))return bt;throw ft(e,t)}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275injectPipeChangeDetectorRef"]())},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"async",type:e,pure:!1}),e}(),_t=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,[{key:"transform",value:function(t){if(null==t)return null;if("string"!=typeof t)throw ft(e,t);return t.toLowerCase()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"lowercase",type:e,pure:!0}),e}(),wt=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D])\S*/g,St=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,[{key:"transform",value:function(t){if(null==t)return null;if("string"!=typeof t)throw ft(e,t);return t.replace(wt,function(e){return e[0].toUpperCase()+e.substr(1).toLowerCase()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"titlecase",type:e,pure:!0}),e}(),Ct=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,[{key:"transform",value:function(t){if(null==t)return null;if("string"!=typeof t)throw ft(e,t);return t.toUpperCase()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"uppercase",type:e,pure:!0}),e}(),kt=function(){var e=function(){function e(t){Object(l.a)(this,e),this.locale=t}return Object(s.a)(e,[{key:"transform",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mediumDate",i=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0;if(null==t||""===t||t!=t)return null;try{return ve(t,n,r||this.locale,i)}catch(a){throw ft(e,a.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.LOCALE_ID))},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"date",type:e,pure:!0}),e}(),Ot=/#/g,Et=function(){var e=function(){function e(t){Object(l.a)(this,e),this._localization=t}return Object(s.a)(e,[{key:"transform",value:function(t,n,i){if(null==t)return"";if("object"!=typeof n||null===n)throw ft(e,n);return n[$e(t,Object.keys(n),this._localization,i)].replace(Ot,t.toString())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](Ze))},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"i18nPlural",type:e,pure:!0}),e}(),Mt=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,[{key:"transform",value:function(t,n){if(null==t)return"";if("object"!=typeof n||"string"!=typeof t)throw ft(e,n);return n.hasOwnProperty(t)?n[t]:n.hasOwnProperty("other")?n.other:""}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"i18nSelect",type:e,pure:!0}),e}(),It=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,[{key:"transform",value:function(e){return JSON.stringify(e,null,2)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"json",type:e,pure:!1}),e}();function Pt(e,t){return{key:e,value:t}}var Tt=function(){var e=function(){function e(t){Object(l.a)(this,e),this.differs=t,this.keyValues=[]}return Object(s.a)(e,[{key:"transform",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dt;if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;this.differ||(this.differ=this.differs.find(e).create());var i=this.differ.diff(e);return i&&(this.keyValues=[],i.forEachItem(function(e){t.keyValues.push(Pt(e.key,e.currentValue))}),this.keyValues.sort(n)),this.keyValues}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.KeyValueDiffers))},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"keyvalue",type:e,pure:!1}),e}();function Dt(e,t){var n=e.key,i=t.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;var r=String(n),a=String(i);return r==a?0:r<a?-1:1}var Lt=function(){var e=function(){function e(t){Object(l.a)(this,e),this._locale=t}return Object(s.a)(e,[{key:"transform",value:function(t,n,i){if(!At(t))return null;i=i||this._locale;try{return Ve(Ft(t),i,n)}catch(r){throw ft(e,r.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.LOCALE_ID))},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"number",type:e,pure:!0}),e}(),Rt=function(){var e=function(){function e(t){Object(l.a)(this,e),this._locale=t}return Object(s.a)(e,[{key:"transform",value:function(t,n,i){if(!At(t))return null;i=i||this._locale;try{return He(Ft(t),i,n)}catch(r){throw ft(e,r.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.LOCALE_ID))},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"percent",type:e,pure:!0}),e}(),jt=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD";Object(l.a)(this,e),this._locale=t,this._defaultCurrencyCode=n}return Object(s.a)(e,[{key:"transform",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"symbol",r=arguments.length>3?arguments[3]:void 0,a=arguments.length>4?arguments[4]:void 0;if(!At(t))return null;a=a||this._locale,"boolean"==typeof i&&(i=i?"symbol":"code");var o=n||this._defaultCurrencyCode;"code"!==i&&(o="symbol"===i||"symbol-narrow"===i?ce(o,"symbol"===i?"wide":"narrow",a):i);try{var s=Ft(t);return Ne(s,a,o,n,r)}catch(l){throw ft(e,l.message)}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.LOCALE_ID),c["\u0275\u0275directiveInject"](c.DEFAULT_CURRENCY_CODE))},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"currency",type:e,pure:!0}),e}();function At(e){return!(null==e||""===e||e!=e)}function Ft(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error("".concat(e," is not a number"));return e}var Bt=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,[{key:"transform",value:function(t,n,i){if(null==t)return null;if(!this.supports(t))throw ft(e,t);return t.slice(n,i)}},{key:"supports",value:function(e){return"string"==typeof e||Array.isArray(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"slice",type:e,pure:!1}),e}(),zt=[xt,Ct,_t,It,Bt,Lt,Rt,St,jt,kt,Et,Mt,Tt],Nt=function(){var e=Object(s.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=c["\u0275\u0275defineInjector"]({providers:[{provide:Ze,useClass:Xe}]}),e}(),Ht="browser",Vt="server",Yt="browserWorkerApp",Wt="browserWorkerUi";function Gt(e){return e===Ht}function Ut(e){return e===Vt}function qt(e){return e===Yt}function Zt(e){return e===Wt}var $t=new c.Version("11.2.14"),Xt=function(){var e=Object(s.a)(function e(){Object(l.a)(this,e)});return e.\u0275prov=Object(c["\u0275\u0275defineInjectable"])({token:e,providedIn:"root",factory:function(){return new Kt(Object(c["\u0275\u0275inject"])(m),window)}}),e}(),Kt=function(){function e(t,n){Object(l.a)(this,e),this.document=t,this.window=n,this.offset=function(){return[0,0]}}return Object(s.a)(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportsScrolling()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportsScrolling()){var t=function(e,t){var n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&(e.body.createShadowRoot||e.body.attachShadow))for(var i=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT),r=i.currentNode;r;){var a=r.shadowRoot;if(a){var o=a.getElementById(t)||a.querySelector('[name="'.concat(t,'"]'));if(o)return o}r=i.nextNode()}return null}(this.document,e);t&&(this.scrollToElement(t),this.attemptFocus(t))}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}},{key:"attemptFocus",value:function(e){return e.focus(),this.document.activeElement===e}},{key:"supportScrollRestoration",value:function(){try{if(!this.supportsScrolling())return!1;var e=Jt(this.window.history)||Jt(Object.getPrototypeOf(this.window.history));return!(!e||!e.writable&&!e.set)}catch(t){return!1}}},{key:"supportsScrolling",value:function(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(e){return!1}}}]),e}();function Jt(e){return Object.getOwnPropertyDescriptor(e,"scrollRestoration")}var Qt=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,[{key:"setOffset",value:function(e){}},{key:"getScrollPosition",value:function(){return[0,0]}},{key:"scrollToPosition",value:function(e){}},{key:"scrollToAnchor",value:function(e){}},{key:"setHistoryScrollRestoration",value:function(e){}}]),e}()},oirt:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("fXoL"),r=n("Bu+s"),a=n("zgtG"),o=n("deNa"),s=(n("ePeK"),n("6awz")),l=["map"],c=function(){function e(e,t){this.ThemeService=e,this.MapService=t,this.isMetric=!1,this.multipleWorkouts=!1,this.updateChange=new i.EventEmitter,this.isDarkTheme=!1,this.allMarkersList=[],this.hoverMarkersList=[],this.allLatLngCoordList=[],this.initLoad=!0}return Object.defineProperty(e.prototype,"tabEvent",{set:function(e){this.handleChange(e)},enumerable:!1,configurable:!0}),e.prototype.getSmoothedPath=function(e){for(var t=[],n=0;n<e.length-1;n++)for(var i=e[n-1]||e[n],r=e[n],a=e[n+1]||e[n],o=e[n+2]||a,s=0;s<1;s+=.1){var l=.5*((-i.lat()+3*r.lat()-3*a.lat()+o.lat())*s*s*s+(2*i.lat()-5*r.lat()+4*a.lat()-o.lat())*s*s+(-i.lat()+a.lat())*s+2*r.lat()),c=.5*((-i.lng()+3*r.lng()-3*a.lng()+o.lng())*s*s*s+(2*i.lng()-5*r.lng()+4*a.lng()-o.lng())*s*s+(-i.lng()+a.lng())*s+2*r.lng());t.push(new google.maps.LatLng(l,c))}return t},Object.defineProperty(e.prototype,"mapElement",{get:function(){return this._mapElement},set:function(e){this._mapElement!==e&&(this._mapElement=e)},enumerable:!1,configurable:!0}),e.prototype.handleChange=function(e){this.setZoomAndCenter()},e.prototype.clearMap=function(){for(var e=0;e<this.allMarkersList.length;e++)this.allMarkersList[e].setMap(null);this.allMarkersList=[],this.allLatLngCoordList=[]},e.prototype.clearHovers=function(){for(var e=0;e<this.hoverMarkersList.length;e++)this.hoverMarkersList[e].setMap(null);this.hoverMarkersList=[]},e.prototype.drawMap=function(e){if(0!==e.gps.length){try{if(this.workout.ghostSnapshots){for(var t=[],n=0;n<this.workout.ghostSnapshots.length;n++)t.push(new google.maps.LatLng(this.workout.ghostSnapshots[n].latitude,this.workout.ghostSnapshots[n].longitude));this.addPolyLine(t,"#4597CB",!0)}}catch(f){}var i,r=e.gps.map(function(e){return new google.maps.LatLng(e[0],e[1])});if(this.multipleWorkouts?this.allLatLngCoordList=this.allLatLngCoordList.concat(r):(this.allLatLngCoordList=this.allLatLngCoordList.concat(r),i=new google.maps.Polyline({path:[new google.maps.LatLng(e.gps[0][0],e.gps[e.gps.length-1][1])],strokeColor:"#FF0000",strokeOpacity:1,strokeWeight:5})),!this.multipleWorkouts&&this.workout.getDistance()>.2&&4!=this.workout.ecomodule)for(var a=0,o=void(t=[]);void 0!==e.indexedSnapshots[a];){var s=e.indexedSnapshots[a],l=s.bpm,c=void 0;if(void 0===o&&(o=e.getBPMZoneNum(l)),null!=s.latitude&&null!=s.longitude){c=new google.maps.LatLng(s.latitude,s.longitude);var d=e.getBPMZoneNum(l);o!=d?(t.push(c),this.addPolyLine(t,this.getZoneColor(o),!1),o=d,(t=[]).push(c)):t.push(c),a++,void 0===e.indexedSnapshots[a]&&this.addPolyLine(t,this.getZoneColor(o),!1)}else a++,void 0===e.indexedSnapshots[a]&&this.addPolyLine(t,this.getZoneColor(o),!1)}if(!this.multipleWorkouts&&this.workout.getDistance()>.2&&(i.setMap(this.map),this.allMarkersList.push(i)),!this.multipleWorkouts&&this.workout.getDistance()>.2&&4!=this.workout.ecomodule){var u=r[0],p=r[r.length-1];this.multipleWorkouts&&(u=new google.maps.LatLng(parseFloat(this.workout.gps[0][0]),parseFloat(this.workout.gps[0][1])),p=new google.maps.LatLng(parseFloat(this.workout.gps[this.workout.gps.length-1][0]),parseFloat(this.workout.gps[this.workout.gps.length-1][1])));var h=new google.maps.Marker({position:u,map:this.map,icon:"/static/img/map/marker_start.png",title:"Start"}),m=new google.maps.Marker({position:p,map:this.map,icon:"/static/img/map/marker_finish.png",title:"Finish"});this.allMarkersList.push(h),this.allMarkersList.push(m)}else{var g=new google.maps.Marker({position:new google.maps.LatLng(e.gps[0][0],e.gps[0][1]),map:this.map});this.allMarkersList.push(g)}google.maps.event.trigger(this.map,"resize")}},e.prototype.ngOnInit=function(){this.isDarkTheme=this.ThemeService.isDarkTheme},e.prototype.ngAfterViewInit=function(){var e=this;if(this.map=new a.b(this.mapElement.nativeElement,this.isDarkTheme).map,this.workout)this.drawMap(this.workout),this.setZoomAndCenter(),this.MapService.updateMapHover.subscribe(function(t){e.mapHoverData=t,e.clearHovers();var n=new google.maps.Marker({position:new google.maps.LatLng(t[0],t[1]),map:e.map,icon:"/static/img/map/marker_finish.png",title:"Marker"});e.hoverMarkersList.push(n)});else if(this.workouts){for(var t=0;t<this.workouts.length;t++)try{this.drawMap(this.workouts[t])}catch(n){console.log(n)}this.setZoomAndCenter()}this.setZoomAndCenter(),google.maps.event.trigger(this.map,"resize"),this.updateChange.emit(!1)},e.prototype.addPolyLine=function(e,t,n){this.isDarkTheme&&"#000000"==t&&(t="#FCB424");var i=this.getSmoothedPath(e),a=new google.maps.Polyline({path:i,strokeColor:t,strokeOpacity:1,strokeWeight:5});n&&(a=new google.maps.Polyline({path:i,strokeColor:t,strokeOpacity:0,strokeWeight:5,icons:[{icon:r.L,offset:"0",repeat:"15px"}]})),a.setMap(this.map),this.allMarkersList.push(a)},e.prototype.getZoneColor=function(e){return null==e?"#000000":r.i.FITDIGITS.zone[e].tizColor},e.prototype.setZoomAndCenter=function(){google.maps.event.trigger(this.map,"resize");for(var e=new google.maps.LatLngBounds,t=0;t<this.allLatLngCoordList.length;t++)e.extend(this.allLatLngCoordList[t]);this.map.setCenter(e.getCenter()),this.map.fitBounds(e);var n=this;n.zoomSet=!1,google.maps.event.addListenerOnce(this.map,"idle",function(){n.zoomSet||(!n.multipleWorkouts&&(n.workout.isIndoor||n.workout.getDistance()<.2)?n.map.setZoom(15):!n.multipleWorkouts&&n.workout.getDistance()>.2&&n.setZoomAndCenter(),n.zoomSet=!0)})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](o.a),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-workout-map"]],viewQuery:function(e,t){var n;1&e&&i["\u0275\u0275viewQuery"](l,1),2&e&&i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.mapElement=n.first)},inputs:{workout:"workout",workouts:"workouts",isMetric:"isMetric",currPosLatLng:"currPosLatLng",multipleWorkouts:"multipleWorkouts",width:"width",height:"height",update:"update",tabEvent:"tabEvent"},outputs:{updateChange:"updateChange"},decls:2,vars:0,consts:[[1,"workout_map",2,"height","100%"],["map",""]],template:function(e,t){1&e&&i["\u0275\u0275element"](0,"div",0,1)},styles:[""]}),e}()},ojxP:function(e,t,n){var i,r,a;a=function(){var e,t,n=document,i=n.getElementsByTagName("head")[0],r={},a={},o={},s={};function l(e,t){for(var n=0,i=e.length;n<i;++n)if(!t(e[n]))return!1;return 1}function c(e,t){l(e,function(e){return t(e),1})}function d(t,n,i){t=t.push?t:[t];var p=n&&n.call,h=p?n:i,m=p?t.join(""):n,g=t.length;function f(e){return e.call?e():r[e]}function v(){if(!--g)for(var e in r[m]=1,h&&h(),o)l(e.split("|"),f)&&!c(o[e],f)&&(o[e]=[])}return setTimeout(function(){c(t,function t(n,i){return null===n?v():(i||/^https?:\/\//.test(n)||!e||(n=-1===n.indexOf(".js")?e+n+".js":e+n),s[n]?(m&&(a[m]=1),2==s[n]?v():setTimeout(function(){t(n,!0)},0)):(s[n]=1,m&&(a[m]=1),void u(n,v)))})},0),d}function u(e,r){var a,o=n.createElement("script");o.onload=o.onerror=o.onreadystatechange=function(){o.readyState&&!/^c|loade/.test(o.readyState)||a||(o.onload=o.onreadystatechange=null,a=1,s[e]=2,r())},o.async=1,o.src=t?e+(-1===e.indexOf("?")?"?":"&")+t:e,i.insertBefore(o,i.lastChild)}return d.get=u,d.order=function(e,t,n){!function i(r){r=e.shift(),e.length?d(r,i):d(r,t,n)}()},d.path=function(t){e=t},d.urlArgs=function(e){t=e},d.ready=function(e,t,n){var i,a=[];return!c(e=e.push?e:[e],function(e){r[e]||a.push(e)})&&l(e,function(e){return r[e]})?t():(i=e.join("|"),o[i]=o[i]||[],o[i].push(t),n&&n(a)),d},d.done=function(e){d([null],e)},d},e.exports?e.exports=a():void 0===(r="function"==typeof(i=a)?i.call(t,n,t,e):i)||(e.exports=r)},ov3D:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("1zuJ"),r=n("uJc7"),a=n("fXoL"),o=n("tk/3"),s=n("b6Qw"),l=n("tyNb"),c=function(){function e(e,t,n,i,r){this.http=e,this.AccountService=t,this.cookieService=n,this.route=i,this.window=r,this._selectedVideo="",this._getById=this.AccountService.getPy3Host()+"/api/v2/videos/get_by_id",this._search=this.AccountService.getPy3Host()+"/api/v2/videos/search"}return Object.defineProperty(e.prototype,"selectedVideo",{get:function(){return this._selectedVideo},set:function(e){this._selectedVideo=e},enumerable:!1,configurable:!0}),e.prototype.getById=function(e){return this.http.post(this._getById,{videoId:e})},e.prototype.search=function(e){return this.http.post(this._search,{search:e})},e.\u0275fac=function(t){return new(t||e)(a["\u0275\u0275inject"](o.b),a["\u0275\u0275inject"](r.a),a["\u0275\u0275inject"](s.a),a["\u0275\u0275inject"](l.d),a["\u0275\u0275inject"](i.a))},e.\u0275prov=a["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},"p/rL":function(e,t,n){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_M\u025bkalo_Zuw\u025bnkalo_Zuluyekalo_Utikalo_S\u025btanburukalo_\u0254kut\u0254burukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_M\u025b_Zuw_Zul_Uti_S\u025bt_\u0254ku_Now_Des".split("_"),weekdays:"Kari_Nt\u025bn\u025bn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Nt\u025b_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [l\u025br\u025b] HH:mm"},calendar:{sameDay:"[Bi l\u025br\u025b] LT",nextDay:"[Sini l\u025br\u025b] LT",nextWeek:"dddd [don l\u025br\u025b] LT",lastDay:"[Kunu l\u025br\u025b] LT",lastWeek:"dddd [t\u025bm\u025bnen l\u025br\u025b] LT",sameElse:"L"},relativeTime:{future:"%s k\u0254n\u0254",past:"a b\u025b %s b\u0254",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"l\u025br\u025b kelen",hh:"l\u025br\u025b %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(n("wd/R"))},pLPA:function(e,t,n){"use strict";n.r(t),n("mNvP"),n("m+po"),n("yLV6");var i=n("fXoL"),r={apiKey:"AIzaSyCvEWkn-eRdLpAJbMC4RFrkow3ePJQkojo",authDomain:"activity-tracking.firebaseapp.com",databaseURL:"https://activity-tracking.firebaseio.com",projectId:"activity-tracking",storageBucket:"activity-tracking.appspot.com",messagingSenderId:"272844751291",appId:"1:272844751291:web:e2dfff561c989fbff6049e",measurementId:"G-2Q91T12T08"},a=n("jhN1"),o=n("LsDc"),s=n("uJc7"),l=n("XNiG"),c=n("tk/3"),d=n("b6Qw"),u=function(){function e(e,t,n){this.http=e,this.cookieService=t,this.AccountService=n,this._listTrackersUrl=this.AccountService.getPy3Host()+"/api/v2/tracker/list_rituals",this._trackerDetailUrl=this.AccountService.getPy3Host()+"/api/v2/tracker/get_tracker",this._trackerDeleteUrl=this.AccountService.getPy3Host()+"/api/v2/tracker/remove_tracker",this._trackerCreateUrl=this.AccountService.getPy3Host()+"/api/v2/tracker/create_tracker",this._listRitualRatingsUrl=this.AccountService.getPy3Host()+"/api/v2/tracker/get_ritual_ratings",this._rateRitualUrl=this.AccountService.getPy3Host()+"/api/v2/tracker/rate_ritual",this._favoriteTrackersUrl=this.AccountService.getPy3Host()+"/api/v2/tracker/set_favorite_goal",this.updateFavoriteTrackerSubject=new l.a,this.updateFavoriteTracker=this.updateFavoriteTrackerSubject}return e.prototype.getTrackers=function(){return this.http.post(this._listTrackersUrl,{params:{account_id:this.AccountService.account.accountId}},{})},e.prototype.getTrackerDetails=function(e){return this.http.post(this._trackerDetailUrl,{params:{tracker_id:e}},{})},e.prototype.deleteTracker=function(e){return this.http.post(this._trackerDeleteUrl,{params:{tracker_id:e}},{})},e.prototype.createTracker=function(e){return this.http.post(this._trackerCreateUrl,{params:e},{})},e.prototype.listRitualRatings=function(e){return this.http.post(this._listRitualRatingsUrl,{params:{tracker_id:e}},{})},e.prototype.rateRitual=function(e){return this.http.post(this._rateRitualUrl,{params:e})},e.prototype.favoriteTrackers=function(e){return this.http.post(this._favoriteTrackersUrl,{params:{trackerID:e}})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](c.b),i["\u0275\u0275inject"](d.a),i["\u0275\u0275inject"](s.a))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),p=n("1zuJ"),h=function(){function e(e){this.cookieService=e}return e.prototype.intercept=function(e,t){return e=e.clone({withCredentials:!0}),t.handle(e)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](d.a))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),m=n("FKr1"),g=n("0IaG"),f=n("R1ws"),v=n("BwfH"),y=n("ofXK"),b=n("deNa"),x=n("RcdG"),_=n("wd/R"),w=n.n(_),S=n("tyNb"),C=n("/t3+"),k=n("bTqV"),O=n("NFeN"),E=n("Xa2L"),M=n("sYmb");function I(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",4),i["\u0275\u0275elementStart"](1,"div",5),i["\u0275\u0275elementStart"](2,"h2",6),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",7),i["\u0275\u0275elementStart"](9,"a",8),i["\u0275\u0275element"](10,"img",9),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div"),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275element"](17,"br"),i["\u0275\u0275elementStart"](18,"a",10),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](21,"br"),i["\u0275\u0275elementStart"](22,"a",10),i["\u0275\u0275text"](23),i["\u0275\u0275pipe"](24,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](25,"br"),i["\u0275\u0275elementStart"](26,"a",11),i["\u0275\u0275text"](27),i["\u0275\u0275pipe"](28,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](29,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"p"),i["\u0275\u0275elementStart"](31,"strong"),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"div",12),i["\u0275\u0275elementStart"](35,"ul",13),i["\u0275\u0275elementStart"](36,"li"),i["\u0275\u0275text"](37),i["\u0275\u0275pipe"](38,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"li"),i["\u0275\u0275text"](40),i["\u0275\u0275pipe"](41,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"li"),i["\u0275\u0275text"](43),i["\u0275\u0275pipe"](44,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"ul",13),i["\u0275\u0275elementStart"](46,"li"),i["\u0275\u0275text"](47),i["\u0275\u0275pipe"](48,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"li"),i["\u0275\u0275text"](50),i["\u0275\u0275pipe"](51,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"li"),i["\u0275\u0275elementStart"](53,"a",14),i["\u0275\u0275text"](54),i["\u0275\u0275pipe"](55,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,14,"ROOT.Everyone needs personalized zones.")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,16,"ROOT.Don\u2019t be a default!"),""),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](12,18,"ROOT.See how to create and edit your zones on the app"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](16,20,"ROOT.We are on a mission to help you:")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("\u2022 ",i["\u0275\u0275pipeBind1"](20,22,"ROOT.Think beyond the defaults"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("\u2022 ",i["\u0275\u0275pipeBind1"](24,24,"ROOT.Develop better training methods"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("\u2022 ",i["\u0275\u0275pipeBind1"](28,26,"ROOT.Try a fitness assessment"),""),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](33,28,"ROOT.We pre-packaged the top scientific zone calculations from the experts:")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](38,30,"ROOT.Karvonen Modified")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](41,32,"ROOT.Heart Rate Training")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](44,34,"ROOT.Lactate Threshold")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](48,36,"ROOT.ABCC/BCF Cycling")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](51,38,"ROOT.Fitdigits Simplified (aka Big Green)")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](55,40,"ROOT.Learn More"),""))}function P(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"app-zoneset-listing",2),i["\u0275\u0275template"](2,I,56,42,"div",3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("zonesetsInput",n.zonesets)("series",n.series)("zonesetType","heart"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isMobileEmbedded)}}function T(e,t){1&e&&i["\u0275\u0275element"](0,"mat-spinner",13),2&e&&i["\u0275\u0275property"]("diameter",20)}function D(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"ul"),i["\u0275\u0275elementStart"](1,"li",14),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementStart"](4,"span",15),i["\u0275\u0275text"](5," *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li",16),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementStart"](9,"span",15),i["\u0275\u0275text"](10," **"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li",17),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](3,10,"ROOT.Maximum Heart Rate"),": ",n.mhr," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!n.innaccurateMHR),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](8,12,"ROOT.Resting Heart Rate"),": ",n.rhr," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!n.innaccurateRHR),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](13,14,"ROOT.Age"),": ",n.age," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](16,16,"ROOT.Gender"),": ",n.gender," ")}}function L(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",18),i["\u0275\u0275elementStart"](1,"span",19),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.error," ")}}function R(e,t){1&e&&i["\u0275\u0275element"](0,"mat-progress-spinner",20),2&e&&i["\u0275\u0275property"]("mode","indeterminate")("diameter",20)("color","primary")}function j(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"p",21),i["\u0275\u0275elementStart"](2,"span",22),i["\u0275\u0275text"](3,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementStart"](6,"a",23),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p",24),i["\u0275\u0275elementStart"](10,"span",22),i["\u0275\u0275text"](11,"**"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!n.innaccurateMHR),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,5,"ROOT.Using 220-Age to determine MHR. We encourage you to run one of the")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,7,"ROOT.Fitness Assessments"),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!n.innaccurateRHR),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](13,9,"ROOT.70 bpm used as default. We encourage you to record your RHR for accuracy.")," ")}}var A=function(){function e(e,t,n,i,r){this.workoutsService=e,this.ThemeService=t,this.accountService=n,this.window=i,this.dialog=r,this.zonesets=[],this.series=x.g,this.loading=!1,this.mhr=null,this.rhr=0,this.debug=!0,this.innaccurateMHR=!1,this.bpEntries=[],this.rhrEntries=[],this.start=null,this.end=null,this.errorMsg=""}return e.prototype.getZonesets=function(){var e=this;this.workoutsService.getZonesets(this.filteredType).subscribe(function(t){e.zonesets=[];for(var n=0;n<t.response.customZoneSets.length;n++){var i=new x.d(t.response.customZoneSets[n],"U");e.zonesets.push(i)}e.loading=!1})},e.prototype.ngOnInit=function(){var e;this.loading=!0,e=this.accountService.account.birthDate,this.age=_().diff(e,"years"),this.gender=this.accountService.account.gender,this.mhr=Number(this.accountService.account.mhr),(isNaN(this.mhr)||this.mhr<100)&&(this.innaccurateMHR=!0,this.mhr=220-Number(this.age)),Number(this.accountService.account.rhr)>10&&(this.rhr=Number(this.accountService.account.rhr));var t=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});this.filteredType=t.get("activity_type"),this.updateNumber="NaN"!=t.get("update")?Number(t.get("update")):0,this.getZonesets()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](g.b))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["heart-zones"]],decls:2,vars:2,consts:[[1,"loading-overlay",3,"hidden"],[4,"ngIf"],[3,"zonesetsInput","series","zonesetType"],["class","contentListItem hrZonesCreate",4,"ngIf"],[1,"contentListItem","hrZonesCreate"],[1,"heartzonespromo2"],[2,"text-align","center","font-size","32px","margin-bottom","30px"],[1,"hrzones-andy"],["routerLink","/zones/overview","target","_blank"],["src","/static/img/andy-howto-custom-zones.png",2,"margin","0px 0px 20px 0px"],["href","http://www.fitdigits.com/personalized-heart-rate-zones.html","target","_blank",2,"text-decoration","none","color","#4597cb"],["href","http://www.fitdigits.com/fitness-assessments.html","target","_blank",2,"text-decoration","none","color","#4597cb"],[1,"hrzones-info",2,"display","flex","padding-left","15px"],[2,"list-style-type","disc","flex-grow","2"],["href","http://www.fitdigits.com/personalized-heart-rate-zones.html",2,"text-decoration","none","color","#4597cb"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275template"](1,P,3,4,"div",1)),2&e&&(i["\u0275\u0275property"]("hidden",!t.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.loading))},styles:[".mat-tab-labels[_ngcontent-%COMP%]{justify-content:center!important}.header-less-tabs[_ngcontent-%COMP%]   .mat-tab-header[_ngcontent-%COMP%]{display:none}.zoneWrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-content:center;margin:0 auto 40px;font-size:16px}.bpmSlider1   [_nghost-%COMP%]     .mat-accent .mat-slider-track-fill{background-color:red!important}.bpmSlider2   [_nghost-%COMP%]     .mat-accent .mat-slider-track-fill{background-color:#00f!important}.create-zone-icon[_ngcontent-%COMP%]{height:24px}#container-3[_ngcontent-%COMP%]     .mat-accent .mat-slider-track-fill{background:green!important}#container-4[_ngcontent-%COMP%]     .mat-accent .mat-slider-track-fill{background:#ff0!important}#container-5[_ngcontent-%COMP%]     .mat-accent .mat-slider-track-fill{background:purple!important}.heartRateZonesGraphSampleContainer[_ngcontent-%COMP%], .paceZonesGraphSampleContainer[_ngcontent-%COMP%]{float:right;max-width:50%;margin-top:20px;overflow-x:hidden}.hrzones-andy[_ngcontent-%COMP%]{float:right;width:200px;text-align:center}.hrZonesCreate[_ngcontent-%COMP%]{display:flex;margin:20px 30px 30px 40px}.heartzonespromo2[_ngcontent-%COMP%]{width:100%}@media (max-width:901px){.heartRateZonesGraphSampleContainer[_ngcontent-%COMP%], .paceZonesGraphSampleContainer[_ngcontent-%COMP%]{float:right;margin:20px 30px 10px 0;overflow:hidden;width:243px;max-width:none}}@media (max-width:769px){.hrzones-andy[_ngcontent-%COMP%]{visibility:hidden;width:0}.heartRateZonesGraphSampleContainer[_ngcontent-%COMP%], .paceZonesGraphSampleContainer[_ngcontent-%COMP%]{float:left}}.zoneSliderWrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:25%}#heartRateZonesNewBtn[_ngcontent-%COMP%]{display:none;float:right;margin-top:30px;margin-right:40px}.heartRateZone[_ngcontent-%COMP%], .paceZone[_ngcontent-%COMP%]{color:#fff;font-weight:700;text-align:center;font-size:16px;padding:5px 0;line-height:35px;white-space:nowrap;overflow:hidden;border:1px solid;margin-bottom:2px}.heartRateZoneSet[_ngcontent-%COMP%]{padding-left:44px}.heartRateZoneSet[_ngcontent-%COMP%], .paceZoneSet[_ngcontent-%COMP%]{height:225px;border-color:#e1e1e1;border-style:none solid;border-width:2px}.heartRateLimits[_ngcontent-%COMP%], .paceLimits[_ngcontent-%COMP%]{float:left;font-size:16px;padding:0 10px;margin-top:5px}.heartRateZone[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .paceZone[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:16px}.zone1[_ngcontent-%COMP%]{border-color:#2077ae;background-color:#4c98c9}.zone2[_ngcontent-%COMP%]{border-color:#018e84;background-color:#00aa9f}.zone3[_ngcontent-%COMP%]{border-color:#339b6b;background-color:#03b061}.zone4[_ngcontent-%COMP%]{border-color:#dca634;background-color:#feb51a}.zone5[_ngcontent-%COMP%]{border-color:#ef5511;background-color:#ff5f19}.powerZone1[_ngcontent-%COMP%]{border-color:#5477ce;background-color:#5477ce}.powerZone2[_ngcontent-%COMP%]{border-color:#44afe3;background-color:#44afe3}.powerZone3[_ngcontent-%COMP%]{border-color:#f9eb4d;background-color:#f9eb4d}.powerZone4[_ngcontent-%COMP%]{border-color:#a8b4d9;background-color:#a8b4d9}.powerZone5[_ngcontent-%COMP%]{border-color:#f0844f;background-color:#f0844f}.zoneInput[_ngcontent-%COMP%]{color:#000;height:24px}#zoneSetNew[_ngcontent-%COMP%]{margin:25px 25px 0;font-size:16px}.heartRateZones[_ngcontent-%COMP%]{float:left;width:calc(100% - 130px);margin-top:20px}.paceZones[_ngcontent-%COMP%]{float:left;width:550px;margin-top:20px}.heartRateLimit[_ngcontent-%COMP%], .paceLimit[_ngcontent-%COMP%]{width:100px;height:30px;line-height:45px;text-align:center;margin-bottom:16px}.zone-container[_ngcontent-%COMP%]{display:inline-block;max-width:800px;width:100%;margin:auto}.zone-container-full[_ngcontent-%COMP%]{margin:auto;width:100%;text-align:center}@media (max-width:480px){.hrZonesCreate[_ngcontent-%COMP%]{display:flex;margin:20px 10px 30px}}",""]}),e}(),F=function(){function e(e,t,n,i,r,a){this.data=e,this.dialogRef=t,this.accountService=n,this.workoutsService=i,this.ThemeService=r,this.route=a,this.error=!1,this.loading=!1,this.rhr=70,this.innaccurateMHR=!1,this.innaccurateRHR=!1,this.bpEntries=[],this.rhrEntries=[],this.start=null,this.end=null,this.gettingHealthData=!1,console.log("RHR:",e.rhr,"MHR:",e.mhr),this.rhr=e.rhr,this.mhr=e.mhr}return e.prototype.createZones=function(){var e=this;this.loading=!0,this.workoutsService.updateDefaultZonesets(this.rhr,this.mhr).subscribe(function(){e.loading=!1,e.dialogRef.close(!0),1==e.ThemeService.isMobileEmbedded?e.route.navigate(["/zones/complete"]):"zones"==window.location.href.slice(-5)||"again"==window.location.href.slice(-5)?e.route.navigate(["/zones/heart"],{queryParams:{mhr:e.mhr,rhr:e.rhr,update:"complete"}}):e.route.navigate(["/zones/"],{queryParams:{mhr:e.mhr,rhr:e.rhr,update:"complete_again"}})})},e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.ngOnInit=function(){var e=new _(this.accountService.account.birthDate);this.age=_().diff(e,"years"),this.gender=this.accountService.account.gender},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](S.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["create-default-zonesets"]],decls:28,vars:15,consts:[[1,"mat-primary"],["flex",""],[1,"modalClose"],["mat-button","",2,"float","right",3,"click"],[2,"margin","20px"],["id","zoneUpdateTableDiv"],["class","spinner",3,"diameter",4,"ngIf"],[4,"ngIf"],[2,"clear","both"],["class","healthPopupError",4,"ngIf"],[2,"justify-content","flex-end","display","flex","margin-bottom","20px"],["aria-label","Submit",1,"themed-clear-button","create-button",3,"disabled","click"],["style","display: inline-flex;",3,"mode","diameter","color",4,"ngIf"],[1,"spinner",3,"diameter"],["id","mhr",2,"cursor","unset !important"],[2,"color","#EE3123",3,"hidden"],["id","rhr",2,"cursor","unset !important"],[2,"cursor","unset !important"],[1,"healthPopupError"],[1,"error"],[2,"display","inline-flex",3,"mode","diameter","color"],["id","mhr_text",3,"hidden"],[2,"color","#EE3123"],["href","http://www.fitdigits.com/fitness-assessments.html","target","_blank"],["id","rhr_text",3,"hidden"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-toolbar",0),i["\u0275\u0275elementStart"](1,"mat-toolbar-row"),i["\u0275\u0275elementStart"](2,"h2"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"span",1),i["\u0275\u0275elementStart"](6,"div",2),i["\u0275\u0275elementStart"](7,"button",3),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275elementStart"](8,"mat-icon"),i["\u0275\u0275text"](9,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"mat-dialog-content"),i["\u0275\u0275elementStart"](11,"div",4),i["\u0275\u0275elementStart"](12,"div",5),i["\u0275\u0275elementStart"](13,"div"),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](17,T,1,1,"mat-spinner",6),i["\u0275\u0275template"](18,D,17,18,"ul",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](19,"div",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"mat-dialog-actions"),i["\u0275\u0275template"](21,L,3,1,"div",9),i["\u0275\u0275elementStart"](22,"div",10),i["\u0275\u0275elementStart"](23,"button",11),i["\u0275\u0275listener"]("click",function(){return t.createZones()}),i["\u0275\u0275text"](24),i["\u0275\u0275pipe"](25,"translate"),i["\u0275\u0275template"](26,R,1,3,"mat-progress-spinner",12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](27,j,14,11,"div",7),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,9,"ROOT.Calculate Zones")),i["\u0275\u0275advance"](12),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](16,11,"ROOT.This will create new zones for you if"),": "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.gettingHealthData),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.gettingHealthData),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.error),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",t.loading||t.gettingHealthData),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](25,13,"ROOT.Calculate Zones")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.gettingHealthData))},directives:[C.a,C.c,k.b,O.a,g.d,y.NgIf,g.c,E.c,E.a],pipes:[M.c],encapsulation:2}),e}(),B=n("Bu+s");function z(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"app-zoneset-listing",2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("zonesetsInput",n.zonesets)("series",null)("zonesetType","pace")}}var N=function(){function e(e,t,n,i){this.workoutsService=e,this.floatToPace=t,this.window=n,this.dialog=i,this.loading=!0,this.zonesets=[]}return e.prototype.ngOnInit=function(){var e=this;new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""}),this.workoutsService.getPaceZonesets().subscribe(function(t){for(var n=0;n<t.response.customPaceZoneSets.length;n++){var i=new x.a(t.response.customPaceZoneSets[n],"U",e.floatToPace);e.zonesets.push(i)}e.loading=!1})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](B.B),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](g.b))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["pace-zones"]],decls:2,vars:2,consts:[[1,"loading-overlay",3,"hidden"],[4,"ngIf"],[3,"zonesetsInput","series","zonesetType"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275template"](1,z,2,3,"div",1)),2&e&&(i["\u0275\u0275property"]("hidden",!t.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.loading))},styles:[".mat-tab-labels[_ngcontent-%COMP%]{justify-content:center!important}.header-less-tabs[_ngcontent-%COMP%]   .mat-tab-header[_ngcontent-%COMP%]{display:none}.zoneWrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-content:center;margin:0 auto 40px;font-size:16px}.bpmSlider1   [_nghost-%COMP%]     .mat-accent .mat-slider-track-fill{background-color:red!important}.bpmSlider2   [_nghost-%COMP%]     .mat-accent .mat-slider-track-fill{background-color:#00f!important}.create-zone-icon[_ngcontent-%COMP%]{height:24px}#container-3[_ngcontent-%COMP%]     .mat-accent .mat-slider-track-fill{background:green!important}#container-4[_ngcontent-%COMP%]     .mat-accent .mat-slider-track-fill{background:#ff0!important}#container-5[_ngcontent-%COMP%]     .mat-accent .mat-slider-track-fill{background:purple!important}.heartRateZonesGraphSampleContainer[_ngcontent-%COMP%], .paceZonesGraphSampleContainer[_ngcontent-%COMP%]{float:right;max-width:50%;margin-top:20px;overflow-x:hidden}.hrzones-andy[_ngcontent-%COMP%]{float:right;width:200px;text-align:center}.hrZonesCreate[_ngcontent-%COMP%]{display:flex;margin:20px 30px 30px 40px}.heartzonespromo2[_ngcontent-%COMP%]{width:100%}@media (max-width:901px){.heartRateZonesGraphSampleContainer[_ngcontent-%COMP%], .paceZonesGraphSampleContainer[_ngcontent-%COMP%]{float:right;margin:20px 30px 10px 0;overflow:hidden;width:243px;max-width:none}}@media (max-width:769px){.hrzones-andy[_ngcontent-%COMP%]{visibility:hidden;width:0}.heartRateZonesGraphSampleContainer[_ngcontent-%COMP%], .paceZonesGraphSampleContainer[_ngcontent-%COMP%]{float:left}}.zoneSliderWrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:25%}#heartRateZonesNewBtn[_ngcontent-%COMP%]{display:none;float:right;margin-top:30px;margin-right:40px}.heartRateZone[_ngcontent-%COMP%], .paceZone[_ngcontent-%COMP%]{color:#fff;font-weight:700;text-align:center;font-size:16px;padding:5px 0;line-height:35px;white-space:nowrap;overflow:hidden;border:1px solid;margin-bottom:2px}.heartRateZoneSet[_ngcontent-%COMP%]{padding-left:44px}.heartRateZoneSet[_ngcontent-%COMP%], .paceZoneSet[_ngcontent-%COMP%]{height:225px;border-color:#e1e1e1;border-style:none solid;border-width:2px}.heartRateLimits[_ngcontent-%COMP%], .paceLimits[_ngcontent-%COMP%]{float:left;font-size:16px;padding:0 10px;margin-top:5px}.heartRateZone[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .paceZone[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:16px}.zone1[_ngcontent-%COMP%]{border-color:#2077ae;background-color:#4c98c9}.zone2[_ngcontent-%COMP%]{border-color:#018e84;background-color:#00aa9f}.zone3[_ngcontent-%COMP%]{border-color:#339b6b;background-color:#03b061}.zone4[_ngcontent-%COMP%]{border-color:#dca634;background-color:#feb51a}.zone5[_ngcontent-%COMP%]{border-color:#ef5511;background-color:#ff5f19}.powerZone1[_ngcontent-%COMP%]{border-color:#5477ce;background-color:#5477ce}.powerZone2[_ngcontent-%COMP%]{border-color:#44afe3;background-color:#44afe3}.powerZone3[_ngcontent-%COMP%]{border-color:#f9eb4d;background-color:#f9eb4d}.powerZone4[_ngcontent-%COMP%]{border-color:#a8b4d9;background-color:#a8b4d9}.powerZone5[_ngcontent-%COMP%]{border-color:#f0844f;background-color:#f0844f}.zoneInput[_ngcontent-%COMP%]{color:#000;height:24px}#zoneSetNew[_ngcontent-%COMP%]{margin:25px 25px 0;font-size:16px}.heartRateZones[_ngcontent-%COMP%]{float:left;width:calc(100% - 130px);margin-top:20px}.paceZones[_ngcontent-%COMP%]{float:left;width:550px;margin-top:20px}.heartRateLimit[_ngcontent-%COMP%], .paceLimit[_ngcontent-%COMP%]{width:100px;height:30px;line-height:45px;text-align:center;margin-bottom:16px}.zone-container[_ngcontent-%COMP%]{display:inline-block;max-width:800px;width:100%;margin:auto}.zone-container-full[_ngcontent-%COMP%]{margin:auto;width:100%;text-align:center}@media (max-width:480px){.hrZonesCreate[_ngcontent-%COMP%]{display:flex;margin:20px 10px 30px}}",""]}),e}();function H(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"app-zoneset-listing",2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("zonesetsInput",n.zonesets)("series",n.series)("zonesetType","power")}}var V=function(){function e(e,t,n){this.titleService=e,this.workoutsService=t,this.window=n,this.series=x.h,this.zonesets=[],this.loading=!1}return e.prototype.getZonesets=function(){var e=this;new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""}),this.workoutsService.getPowerZonesets().subscribe(function(t){for(var n=0;n<t.response.customPowerZoneSets.length;n++){var i=new x.b(t.response.customPowerZoneSets[n],"U");e.zonesets.push(i)}e.loading=!1})},e.prototype.ngOnInit=function(){this.loading=!0,this.getZonesets()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](p.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["power-zones"]],decls:2,vars:2,consts:[[1,"loading-overlay",3,"hidden"],[4,"ngIf"],[3,"zonesetsInput","series","zonesetType"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275template"](1,H,2,3,"div",1)),2&e&&(i["\u0275\u0275property"]("hidden",!t.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.loading))},styles:[".mat-tab-labels[_ngcontent-%COMP%]{justify-content:center!important}.header-less-tabs[_ngcontent-%COMP%]   .mat-tab-header[_ngcontent-%COMP%]{display:none}.zoneWrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-content:center;margin:0 auto 40px;font-size:16px}.bpmSlider1   [_nghost-%COMP%]     .mat-accent .mat-slider-track-fill{background-color:red!important}.bpmSlider2   [_nghost-%COMP%]     .mat-accent .mat-slider-track-fill{background-color:#00f!important}.create-zone-icon[_ngcontent-%COMP%]{height:24px}#container-3[_ngcontent-%COMP%]     .mat-accent .mat-slider-track-fill{background:green!important}#container-4[_ngcontent-%COMP%]     .mat-accent .mat-slider-track-fill{background:#ff0!important}#container-5[_ngcontent-%COMP%]     .mat-accent .mat-slider-track-fill{background:purple!important}.heartRateZonesGraphSampleContainer[_ngcontent-%COMP%], .paceZonesGraphSampleContainer[_ngcontent-%COMP%]{float:right;max-width:50%;margin-top:20px;overflow-x:hidden}.hrzones-andy[_ngcontent-%COMP%]{float:right;width:200px;text-align:center}.hrZonesCreate[_ngcontent-%COMP%]{display:flex;margin:20px 30px 30px 40px}.heartzonespromo2[_ngcontent-%COMP%]{width:100%}@media (max-width:901px){.heartRateZonesGraphSampleContainer[_ngcontent-%COMP%], .paceZonesGraphSampleContainer[_ngcontent-%COMP%]{float:right;margin:20px 30px 10px 0;overflow:hidden;width:243px;max-width:none}}@media (max-width:769px){.hrzones-andy[_ngcontent-%COMP%]{visibility:hidden;width:0}.heartRateZonesGraphSampleContainer[_ngcontent-%COMP%], .paceZonesGraphSampleContainer[_ngcontent-%COMP%]{float:left}}.zoneSliderWrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:25%}#heartRateZonesNewBtn[_ngcontent-%COMP%]{display:none;float:right;margin-top:30px;margin-right:40px}.heartRateZone[_ngcontent-%COMP%], .paceZone[_ngcontent-%COMP%]{color:#fff;font-weight:700;text-align:center;font-size:16px;padding:5px 0;line-height:35px;white-space:nowrap;overflow:hidden;border:1px solid;margin-bottom:2px}.heartRateZoneSet[_ngcontent-%COMP%]{padding-left:44px}.heartRateZoneSet[_ngcontent-%COMP%], .paceZoneSet[_ngcontent-%COMP%]{height:225px;border-color:#e1e1e1;border-style:none solid;border-width:2px}.heartRateLimits[_ngcontent-%COMP%], .paceLimits[_ngcontent-%COMP%]{float:left;font-size:16px;padding:0 10px;margin-top:5px}.heartRateZone[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .paceZone[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:16px}.zone1[_ngcontent-%COMP%]{border-color:#2077ae;background-color:#4c98c9}.zone2[_ngcontent-%COMP%]{border-color:#018e84;background-color:#00aa9f}.zone3[_ngcontent-%COMP%]{border-color:#339b6b;background-color:#03b061}.zone4[_ngcontent-%COMP%]{border-color:#dca634;background-color:#feb51a}.zone5[_ngcontent-%COMP%]{border-color:#ef5511;background-color:#ff5f19}.powerZone1[_ngcontent-%COMP%]{border-color:#5477ce;background-color:#5477ce}.powerZone2[_ngcontent-%COMP%]{border-color:#44afe3;background-color:#44afe3}.powerZone3[_ngcontent-%COMP%]{border-color:#f9eb4d;background-color:#f9eb4d}.powerZone4[_ngcontent-%COMP%]{border-color:#a8b4d9;background-color:#a8b4d9}.powerZone5[_ngcontent-%COMP%]{border-color:#f0844f;background-color:#f0844f}.zoneInput[_ngcontent-%COMP%]{color:#000;height:24px}#zoneSetNew[_ngcontent-%COMP%]{margin:25px 25px 0;font-size:16px}.heartRateZones[_ngcontent-%COMP%]{float:left;width:calc(100% - 130px);margin-top:20px}.paceZones[_ngcontent-%COMP%]{float:left;width:550px;margin-top:20px}.heartRateLimit[_ngcontent-%COMP%], .paceLimit[_ngcontent-%COMP%]{width:100px;height:30px;line-height:45px;text-align:center;margin-bottom:16px}.zone-container[_ngcontent-%COMP%]{display:inline-block;max-width:800px;width:100%;margin:auto}.zone-container-full[_ngcontent-%COMP%]{margin:auto;width:100%;text-align:center}@media (max-width:480px){.hrZonesCreate[_ngcontent-%COMP%]{display:flex;margin:20px 10px 30px}}",""]}),e}(),Y=n("HDdC"),W=function(){function e(e,t,n){this.http=e,this.cookieService=t,this.AccountService=n,this._getDailyActivityAchievementsUrl=this.AccountService.getPy3Host()+"/api/v2/achievements/get_best_daily_activities",this._updateStepsAchievementsUrl=this.AccountService.getPy3Host()+"/api/v2/achievements/tasks/update_steps_achievements",this._achievementsUrl=this.AccountService.getPy3Host()+"/api/v2/workout/my_best"}return e.prototype._getDailyActivityAchievements=function(){return this.http.post(this._getDailyActivityAchievementsUrl,{},{})},e.prototype.getDailyActivityAchievements=function(){var e=this;return Y.a.create(function(t){e._getDailyActivityAchievements().subscribe(function(n){void 0===n.response.steps&&e.updateStepsAchievements(),t.next(n.response),t.complete()},function(e){return t.error(e)})})},e.prototype.updateStepsAchievements=function(){return this.http.post(this._updateStepsAchievementsUrl,{},{})},e.prototype.getAchievements=function(e,t){return this.http.post(this._achievementsUrl,{params:{dateFrom:e,dateTo:t}},{})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](c.b),i["\u0275\u0275inject"](d.a),i["\u0275\u0275inject"](s.a))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),G=n("2Yyj"),U=n.n(G),q=n("Hfs6"),Z=n.n(q),$=n("1IWC"),X=n.n($),K=n("VLs4"),J=n.n(K),Q=n("m3o8"),ee=n("dNgK"),te=n("mrSG"),ne=n("kHM/"),ie=n("cp0P"),re=n("6n/F"),ae=n("yjSS"),oe=n("eXdc"),se=n("TlQw"),le=n("R0Ic"),ce=n("vtpD"),de=n("3Pt+"),ue=(n("yi8o"),function(){function e(e,t,n){this.titleService=e,this.http=t,this.AccountService=n,this._getSendableURL=this.AccountService.getPy3Host()+"/api/v2/follow/get_sendable"}return e.prototype.getSendable=function(){return this.http.post(this._getSendableURL,{},{})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](a.Title),i["\u0275\u0275inject"](c.b),i["\u0275\u0275inject"](s.a))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()),pe=n("JX91"),he=n("lJxs"),me=n("FtGj"),ge=n("VJli"),fe=n("kmnG"),ve=n("A5z7"),ye=n("/1cH"),be=n("qFsG"),xe=["recipientInput"];function _e(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",7),i["\u0275\u0275elementStart"](1,"a",8),i["\u0275\u0275element"](2,"img",9),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",10),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,1,"ROOT.Send")))}function we(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-chip",30),i["\u0275\u0275listener"]("removed",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](3).remove(e)}),i["\u0275\u0275text"](1),i["\u0275\u0275elementStart"](2,"mat-icon",31),i["\u0275\u0275text"](3,"cancel"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",r.name," ")}}function Se(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1," | "),i["\u0275\u0275elementStart"](2,"small"),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("@",n.mentionable,"")}}function Ce(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",32),i["\u0275\u0275element"](1,"img",33),i["\u0275\u0275elementStart"](2,"span"),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,Se,4,1,"span",28),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n)("id",n),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",n.profile_image,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.name),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mentionable)}}function ke(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.error)}}function Oe(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"form",14),i["\u0275\u0275listener"]("ngSubmit",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.submit(e.composeForm.value)}),i["\u0275\u0275elementStart"](1,"mat-form-field",15),i["\u0275\u0275elementStart"](2,"mat-chip-list",16,17),i["\u0275\u0275template"](4,we,4,1,"mat-chip",18),i["\u0275\u0275elementStart"](5,"input",19,20),i["\u0275\u0275listener"]("matChipInputTokenEnd",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).add(e)}),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-autocomplete",21,22),i["\u0275\u0275listener"]("optionSelected",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).selectedRecipient(e)}),i["\u0275\u0275template"](10,Ce,5,5,"mat-option",23),i["\u0275\u0275pipe"](11,"async"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"mat-form-field",24),i["\u0275\u0275elementStart"](13,"mat-label",25),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](16,"input",26),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](17,"br"),i["\u0275\u0275elementStart"](18,"mat-form-field",24),i["\u0275\u0275elementStart"](19,"mat-label"),i["\u0275\u0275text"](20),i["\u0275\u0275pipe"](21,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](22,"textarea",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](23,ke,2,1,"mat-error",28),i["\u0275\u0275elementStart"](24,"button",29),i["\u0275\u0275pipe"](25,"translate"),i["\u0275\u0275text"](26),i["\u0275\u0275pipe"](27,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275reference"](3),a=i["\u0275\u0275reference"](9),o=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("formGroup",o.composeForm),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngForOf",o.recipients),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("placeholder","",i["\u0275\u0275pipeBind1"](7,14,"ROOT.Send_To"),"..."),i["\u0275\u0275property"]("formControl",o.sendToAuto)("matAutocomplete",a)("matChipInputFor",r)("matChipInputSeparatorKeyCodes",o.separatorKeysCodes),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind1"](11,16,o.filteredOptions)),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](15,18,"ROOT.Subject")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](21,20,"ROOT.Message")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",o.error),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",o.sending||o.composeForm.invalid),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](25,22,"ROOT.Send")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](27,24,"ROOT.Send")," ")}}function Ee(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",34),i["\u0275\u0275elementStart"](1,"h3"),i["\u0275\u0275text"](2,"You are not a member of any groups yet."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"button",35),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).joinTeam()}),i["\u0275\u0275text"](4,"Join a Team"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"button",35),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).startTeam()}),i["\u0275\u0275text"](6,"Start a Team"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function Me(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",11),i["\u0275\u0275template"](1,Oe,28,26,"form",12),i["\u0275\u0275template"](2,Ee,7,0,"div",13),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.noGroups),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.noGroups)}}var Ie=function(e){return{"dark-theme":e}},Pe=function(){function e(e,t,n,i,r,a,o,s){var l=this;this.formBuilder=e,this.socialService=t,this.contactsService=n,this.inboxService=i,this.route=r,this.ThemeService=a,this.router=o,this.translate=s,this.accounts=[],this.recipients=[],this.showLoadingOverlay=!0,this.sending=!1,this.sendTo=[],this.sendToAuto=new de.e,this.isDarkTheme=!1,this.separatorKeysCodes=[me.g,me.c],this.noGroups=!1,this.route.queryParams.subscribe(function(e){l.recipient=e.recipient}),this.composeForm=this.formBuilder.group({subject:["",de.y.required],message:["",de.y.required]})}return e.prototype.displayFn=function(e){return e&&e.accountDetail.name?e.accountDetail.name:""},e.prototype.add=function(e){},e.prototype.remove=function(e){var t=this.sendTo.indexOf(e);t>=0&&this.sendTo.splice(t,1);var n=this.recipients.indexOf(e);n>=0&&this.recipients.splice(n,1)},e.prototype.selectedRecipient=function(e){this.sendTo.includes(e.option.id)||(this.recipients.push(e.option.id),this.sendTo.push(e.option.id)),this.recipientInput.nativeElement.value="",this.sendToAuto.setValue("")},e.prototype.close=function(){this.router.navigate(["/inbox"])},e.prototype.joinTeam=function(){this.router.navigate(["/join-team"])},e.prototype.startTeam=function(){this.router.navigate(["/create-team"])},e.prototype.submit=function(e){var t=this;if(0==this.sendTo.length)this.error="No recipient selected";else{this.error=null,this.sending=!0;for(var n=[],i=0;i<this.sendTo.length;i++)n.push(this.sendTo[i].accountID);this.inboxService.createConversation(n,e.subject,e.message).subscribe(function(e){t.sending=!1,t.router.navigate(["/inbox"])})}},e.prototype.ngOnInit=function(){var e=this;this.isDarkTheme=this.ThemeService.isDarkTheme,this.contactsService.getSendable().subscribe(function(t){var n=[];console.log("Sendable");for(var i=0;i<t.response.records.length;i++)""!=t.response.records[i].name&&"Your Name"!=t.response.records[i].name&&n.push(t.response.records[i]);if(e.accounts=Object(B.jb)(["name"],n),e.recipient)for(i=0;i<e.accounts.length;i++)e.accounts[i].accountID==e.recipient&&(e.recipients.push(e.accounts[i]),e.sendTo.push(e.accounts[i]));e.showLoadingOverlay=!1}),this.filteredOptions=this.sendToAuto.valueChanges.pipe(Object(pe.a)(""),Object(he.a)(function(t){return e._filter(t)}))},e.prototype._filter=function(e){var t;return t="string"==typeof e?e.toLowerCase():e.name.toLowerCase(),this.accounts.filter(function(e){var n=e.name.toLowerCase().includes(t),i=!1;try{i=e.mentionable.toLowerCase().includes(t)}catch(r){}return n||i})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](de.d),i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](ue),i["\u0275\u0275directiveInject"](se.a),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](M.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-inbox-compose"]],viewQuery:function(e,t){var n;1&e&&i["\u0275\u0275viewQuery"](xe,1),2&e&&i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.recipientInput=n.first)},inputs:{recipient:"recipient"},decls:8,vars:6,consts:[[1,"loading-overlay",3,"hidden"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[1,"sectionStructure"],[2,"float","right","cursor","pointer",3,"click"],[1,"material-icons"],["class","direct-message-container",4,"ngIf"],[1,"main-menu-section-heading"],["routerLink","/inbox"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"direct-message-container"],["style","width: 100%;padding-left: 10px",3,"formGroup","ngSubmit",4,"ngIf"],["class","noGroupsCompose",4,"ngIf"],[2,"width","100%","padding-left","10px",3,"formGroup","ngSubmit"],[2,"text-align","left !important","width","50%"],["aria-label","Select person to message"],["chipList",""],[3,"removed",4,"ngFor","ngForOf"],[3,"placeholder","formControl","matAutocomplete","matChipInputFor","matChipInputSeparatorKeyCodes","matChipInputTokenEnd"],["recipientInput",""],[3,"optionSelected"],["auto","matAutocomplete"],[3,"value","id",4,"ngFor","ngForOf"],[2,"width","100%","text-align","left !important"],[2,"text-align","left"],["matInput","","formControlName","subject"],["matInput","","formControlName","message"],[4,"ngIf"],["type","submit",1,"themedRoundButton",3,"disabled"],[3,"removed"],["matChipRemove",""],[3,"value","id"],["height","25",2,"margin-right","10px",3,"src"],[1,"noGroupsCompose"],["mat-stroked-button","",3,"click"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,_e,7,3,"div",2),i["\u0275\u0275elementStart"](3,"div",3),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275listener"]("click",function(){return t.close()}),i["\u0275\u0275elementStart"](5,"i",5),i["\u0275\u0275text"](6,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,Me,3,2,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](4,Ie,t.isDarkTheme)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!t.showLoadingOverlay))},directives:[y.NgClass,y.NgIf,S.f,de.z,de.p,de.i,fe.c,ve.c,y.NgForOf,de.c,ye.c,ve.b,de.o,de.f,ye.a,fe.g,be.b,de.g,ve.a,O.a,ve.d,m.o,fe.b,k.b],pipes:[M.c,y.AsyncPipe],styles:[".noGroupsCompose[_ngcontent-%COMP%]{display:flex;justify-content:center;flex-direction:column;max-width:400px;margin:0 auto}.direct-message-container[_ngcontent-%COMP%]{margin:30px 10px}"]}),e}(),Te=n("ePeK"),De=n("zgtG"),Le=n("Ew8h"),Re=n("Kj3r"),je=n("/uUt"),Ae=n("d3UM");function Fe(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",2),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().facebookConnect()}),i["\u0275\u0275element"](1,"img",3),i["\u0275\u0275elementStart"](2,"div",4),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](r.displayText)}}function Be(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",2),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().unlinkFacebook()}),i["\u0275\u0275element"](1,"img",3),i["\u0275\u0275elementStart"](2,"div",4),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](r.displayText)}}function ze(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",5),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.error)}}var Ne=function(){function e(e,t,n,r,a){var o=this;this.accountService=e,this.router=t,this.ThemeService=n,this.PermissionsService=r,this.translate=a,this.allowUnlink=!1,this.connecting=!1,this.Link_Facebook_txt="Link Facebook",this.rerequest=!1,this.callbackEvent=new i.EventEmitter,this.hideButton=!1,this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){o.localize(e.lang)})}return e.prototype.localize=function(e){"es"===e?this.Link_Facebook_txt="Enlace de Facebook":"fr"===e?this.Link_Facebook_txt="Lien Facebook":"it"===e?this.Link_Facebook_txt="Link Facebook":"de"===e&&(this.Link_Facebook_txt="Facebook-Link")},e.prototype.storeAccount=function(){var e=this;Object(ie.a)([this.accountService.getAccount(),this.PermissionsService.purchasingStatus()]).subscribe(function(t){e.accountService.account=t[0],e.accountService.messageProfileImage=t[0].auditor&&t[0].auditor.has_image?e.accountService.cloudBuckets.IMAGE_BUCKET+"profile_image/"+t[0].auditor.auditorId+"/"+t[0].auditor.image_filename:!0===t[0].hasImage?e.accountService.cloudBuckets.IMAGE_BUCKET+"profile_image/"+t[0].accountId+"/"+t[0].imageFilename:e.accountService.getPy3Host()+"/api/v2/profileimage?"+(new Date).getTime(),e.PermissionsService.starTrainerAccess="star_trainer"==t[1].response.highest_tier,e.PermissionsService.starAccess="star"==t[1].response.highest_tier||1==e.PermissionsService.starTrainerAccess,e.PermissionsService.proPlusAccess="pro_plus"==t[1].response.highest_tier||1==e.PermissionsService.starAccess})},e.prototype.connectAccount=function(e,t){var n=this;console.log("Now in connectAccount"),this.connecting=!0,t?this.accountService.logInWithFacebook(e,t).subscribe(function(e){console.log(e),e.response.error&&(n.error="1115"==e.response.error.code?"Error connecting Facebook, account already exists.":e.response.error.message)}):this.accountService.connectFacebook(e).subscribe(function(t){null==t||(t.response.error&&("1112"===t.response.error.code&&n.accountService.authenticateSocial(e,"FACEBOOK","web_site").subscribe(function(){n.storeAccount(),n.router.navigate(["/home"])}),n.error="An account using the same email address as your Facebook account already exists. Please contact support."),t.response.success&&console.log("Facebook link success"))})},e.prototype.facebookConnect=function(){var e=this;console.log("Start"),console.log(this.rerequest),this.rerequest?FB.login(function(t){console.log(t),t.authResponse&&(e.connectAccount(t.authResponse.accessToken,e.groupId),e.callbackEvent.emit(!0))},{scope:"email,user_birthday,user_friends,user_location,user_gender",auth_type:"rerequest"}):FB.getLoginStatus(function(t){"connected"===t.status?(e.connectAccount(t.authResponse.accessToken,e.groupId),e.callbackEvent.emit(!0)):FB.login(function(t){t.authResponse&&(e.connectAccount(t.authResponse.accessToken,e.groupId),e.callbackEvent.emit(!0))},{scope:"email,user_birthday,user_friends,user_location,user_gender"})})},e.prototype.unlinkFacebook=function(){this.router.navigate(["/changepassword"],{queryParams:{action:"facebookUnlink"}})},e.prototype.ngOnInit=function(){var e=this;this.ThemeService.isMobileEmbedded?this.hideButton=!0:this.accountService.account.facebookLogin&&FB.getLoginStatus(function(t){"connected"===t.status&&(e.hideButton=0==e.rerequest,e.displayText="Unlink Facebook",e.allowUnlink=!0)})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](M.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["facebookConnect"]],inputs:{groupId:"groupId",displayText:"displayText",rerequest:"rerequest"},outputs:{callbackEvent:"callbackEvent"},decls:3,vars:3,consts:[["class","facebook-login-button",3,"click",4,"ngIf"],["style","width: 20em;margin:auto;",4,"ngIf"],[1,"facebook-login-button",3,"click"],["src","/static/img/btn/facebook_icon.png",1,"facebook-login-button-icon"],[1,"facebook-login-button-inside"],[2,"width","20em","margin","auto"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,Fe,4,1,"div",0),i["\u0275\u0275template"](1,Be,4,1,"div",0),i["\u0275\u0275template"](2,ze,2,1,"div",1)),2&e&&(i["\u0275\u0275property"]("ngIf",!t.hideButton),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.accountService.account.facebookLogin),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.error))},directives:[y.NgIf],styles:[".loginFacebookButton[_ngcontent-%COMP%]{width:200px;float:none;margin:auto;border:1px solid #b2b2b2!important}.button-icon[_ngcontent-%COMP%]{margin-right:8px}"]}),e}(),He=n("Wp6s"),Ve=n("Qu3c");function Ye(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275elementStart"](1,"div",24),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",26),i["\u0275\u0275elementStart"](5,"facebookConnect",27),i["\u0275\u0275listener"]("callbackEvent",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().rerequestCallback(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,3,"ROOT.Facebook_permissions not enabled")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("displayText","Re-link Facebook")("rerequest",!0))}function We(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",28),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.label," ")}}function Ge(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",28),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.label," ")}}function Ue(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-optgroup"),i["\u0275\u0275template"](1,Ge,2,2,"mat-option",17),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.groups)}}function qe(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",41),i["\u0275\u0275text"](1,"block"),i["\u0275\u0275elementEnd"]())}function Ze(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}var $e=function(e){return{follow:e}};function Xe(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",42),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](4,$e,!n.blocking)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Follow")," ")}}function Ke(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",43),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Pending")," "))}function Je(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1,"\xa0\u2022\xa0"),i["\u0275\u0275elementEnd"]())}function Qe(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",43),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Following")," "))}var et=function(e){return{cursor:e}},tt=function(e){return{background:e}},nt=function(e,t){return{follow:e,pending:t}};function it(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-card",30),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"]().goToUser(e)}),i["\u0275\u0275elementStart"](1,"mat-card-header",31),i["\u0275\u0275elementStart"](2,"mat-card-title",32),i["\u0275\u0275template"](3,qe,2,0,"span",33),i["\u0275\u0275text"](4),i["\u0275\u0275template"](5,Ze,2,0,"span",18),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275elementStart"](7,"span",34),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"span",34),i["\u0275\u0275text"](10,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](11,"div",35),i["\u0275\u0275elementStart"](12,"mat-card-actions",36),i["\u0275\u0275elementStart"](13,"button",37),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"]().follow(t),e.stopPropagation()}),i["\u0275\u0275elementStart"](14,"i",38),i["\u0275\u0275text"](15,"person_add"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](16,Xe,3,6,"div",39),i["\u0275\u0275template"](17,Ke,3,3,"div",40),i["\u0275\u0275template"](18,Je,2,0,"div",18),i["\u0275\u0275template"](19,Qe,3,3,"div",40),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](14,et,r.mentionable?"pointer":"unset")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.blocking),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \xa0",r.name,"\xa0"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Your Name"==r.name||null===r.name),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!r.mentionable),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("@",r.mentionable,""),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",r.mentionable),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](16,tt,"url("+r.profile_image+") no-repeat")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",r.pending||r.following||r.blocking),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](18,nt,0==r.pending&&!r.blocking,1==r.pending)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0==r.pending&&1!=r.following),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==r.pending),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==r.pending&&1==r.following),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==r.following)}}function rt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,it,20,21,"mat-card",29),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",""!=n.name&&"Your Name"!=n.name)}}function at(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",44),i["\u0275\u0275element"](1,"span",45),i["\u0275\u0275elementStart"](2,"facebookConnect",46),i["\u0275\u0275listener"]("callbackEvent",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().rerequestCallback(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"span",45),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("displayText","Link Facebook"))}function ot(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",47),i["\u0275\u0275text"](1,"Facebook linked"),i["\u0275\u0275elementEnd"]())}var st=function(e){return{background:e}};function lt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Request")))}function ct(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Follow")))}var dt=".friendsListWrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.friendNode[_ngcontent-%COMP%]{margin:15px}.follow[_ngcontent-%COMP%]{color:#58585b}.pending[_ngcontent-%COMP%]{color:#b2b2b2}.findFriendsCard[_ngcontent-%COMP%]{margin:15px;width:175px;height:200px;padding:0;cursor:pointer;border:1px solid #efefef;border-radius:15px}.thumbnail-img[_ngcontent-%COMP%]{justify-content:center;display:flex;height:80px;max-width:80px;background-position:50%!important;margin:auto;flex-wrap:wrap;background-size:80px auto!important;border-radius:15px}.invite-div[_ngcontent-%COMP%]{text-align:left;margin-top:20px;float:left;margin-bottom:0}.facebook-div[_ngcontent-%COMP%]{text-align:left;margin:20px 0;float:right}.sub-mentionable[_ngcontent-%COMP%]{font-size:12px;padding-top:5px;text-align:center}.popup-close-x[_ngcontent-%COMP%]{float:right;text-align:right;width:100%;background:none!important;margin:-60px -40px 0 0!important}.friend-button[_ngcontent-%COMP%]{width:200px;border-color:#b2b2b2!important;border-radius:19px}.invite[_ngcontent-%COMP%]{width:212px;margin-right:20px}.search-filter[_ngcontent-%COMP%]{margin-top:20px}.filter[_ngcontent-%COMP%]{float:right;margin-right:20px;width:30%}.search[_ngcontent-%COMP%]{margin-left:20px;margin-top:5px;width:30%}@media (max-width:767px){.findFriendsCard[_ngcontent-%COMP%]{width:135px}h2[_ngcontent-%COMP%]{font-size:20px}.filter[_ngcontent-%COMP%], .search[_ngcontent-%COMP%]{width:45%}}@media (max-width:500px){.facebook-div[_ngcontent-%COMP%], .invite-div[_ngcontent-%COMP%]{float:left;width:100%;text-align:center}.invite-div[_ngcontent-%COMP%]{margin-right:20px;margin-bottom:20px}.loginFacebookButton[_ngcontent-%COMP%]{float:none!important}.filter[_ngcontent-%COMP%]{width:80%;margin:20px;float:left}.search[_ngcontent-%COMP%]{width:80%;margin:0 20px}}";function ut(e,t){1&e&&i["\u0275\u0275element"](0,"mat-spinner",11),2&e&&i["\u0275\u0275property"]("diameter",20)}var pt=function(){function e(e,t,n,i,r,a,o,s){this.titleService=e,this.socialService=t,this.groupService=n,this.ThemeService=i,this.translate=r,this.accountService=a,this.dialog=o,this.router=s,this.users=[],this.showLoadingOverlay=!0,this.filterSelection="all",this.isDarkTheme=!1,this.noGroups=!0,this.searchInput="",this.completedFbRequest=!1,this.facebookConnected=!1,this.searchChanged=new l.a,this.friendsPermission=!1,this.groups=[],this.filterOptions=[{id:"all",label:"All"}],this.isMobileEmbedded=!1}return e.prototype.follow=function(e){e.blocking||(e.mentionable?this.socialService.follow(null,e.accountID).subscribe(function(){e.following=!0}):(this.ThemeService.isMobileEmbedded?(this.popupMinWidth="100vw",this.popupMinHeight="100vh"):(this.popupMinWidth="60vw",this.popupMinHeight="60vh"),console.log(this.ThemeService.isMobileEmbedded),console.log(this.popupMinHeight),this.dialog.open(ht,{data:e,panelClass:this.isDarkTheme?"dark-theme":"",minWidth:this.popupMinWidth,minHeight:this.popupMinHeight,maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(t){!0===t&&(e.pending=!0)})))},e.prototype.inviteFriend=function(){this.ThemeService.isMobileEmbedded?(this.popupMinWidth="100vw",this.popupMinHeight="100vh"):(this.popupMinWidth="60vw",this.popupMinHeight="60vh"),this.dialog.open(mt,{panelClass:this.isDarkTheme?"dark-theme":"",minWidth:this.popupMinWidth,minHeight:this.popupMinHeight,maxHeight:"100vh"}).afterClosed().subscribe(function(e){})},e.prototype.goToUser=function(e){e.mentionable&&this.router.navigate(["/member",e.mentionable])},e.prototype.getSuggested=function(e,t,n){var i=this;this.showLoadingOverlay=!0,this.socialService.getSuggested(e,t,n).subscribe(function(e){console.log(e);var t=e.response;i.users=Object(B.jb)(["following"],t),i.showLoadingOverlay=!1})},e.prototype.filter=function(e){"all"==e.value?this.getSuggested(null,null,null):"facebook"==e.value?this.getSuggested("facebook",null,null):this.getSuggested("group",e.value,null)},e.prototype.fbPermissions=function(){var e=this;FB.api("/me/permissions","GET",{access_token:this.accountService.account.tokenFB},function(t){if(t.error)e.accountService.account.facebookConnected=!1;else{for(var n=0;n<t.data.length;n++)"user_friends"==t.data[n].permission&&"granted"==t.data[n].status&&(e.friendsPermission=!0);e.completedFbRequest=!0,console.log("Permission success")}})},e.prototype.rerequestCallback=function(e){var t=this;1==e&&(this.friendsPermission=!0,this.showLoadingOverlay=!0,this.socialService.getSuggested().subscribe(function(e){console.log(e),t.users=e.response,t.showLoadingOverlay=!1}))},e.prototype.ngOnInit=function(){var e=this;this.accountService.isMobileEmbedded().subscribe(function(t){e.isMobileEmbedded=t}),this.searchSubscription=this.searchChanged.pipe(Object(Re.a)(1e3),Object(je.a)()).subscribe(function(t){e.searchInput=t,console.log(t),e.filterSelection="all",e.getSuggested("search",null,t)}),this.fbPermissions(),null!=this.accountService.account.facebookConnected&&(this.facebookConnected=this.accountService.account.facebookConnected),this.facebookConnected&&this.filterOptions.push({id:"facebook",label:"Facebook Friends"}),this.showLoadingOverlay=!0,this.groupService.listGroups().subscribe(function(t){t.response.records.length>0&&(e.noGroups=!1);for(var n=0;n<t.response.records.length;n++){var i=t.response.records[n].id;9592177!=i&&9595181!=i&&9605139!=i&&e.groups.push({id:i,label:t.response.records[n].name})}}),this.socialService.getSuggested().subscribe(function(t){var n=t.response;e.users=Object(B.jb)(["following"],n),e.showLoadingOverlay=!1}),this.isDarkTheme=this.ThemeService.isDarkTheme},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](Le.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](S.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-find-friends"]],decls:40,vars:32,consts:[[2,"display","flex","flex-direction","column","margin-bottom","50px",3,"ngClass"],[1,"loading-overlay",3,"hidden"],[1,"main-menu-section-heading",3,"ngStyle"],["routerLink","/member"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"invite-div"],[1,"themed-clear-button","invite","float-right",3,"click"],[1,"material-icons","primary-color","float-left",2,"margin-left","30px"],[2,"margin-left","20px","float","left"],["style","display: flex; flex-direction: column;",4,"ngIf"],[1,"search-filter"],[1,"search"],["matInput","",3,"ngModel","ngModelChange"],[1,"filter"],[3,"ngModel","ngClass","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[2,"display","flex","flex-wrap","wrap"],[4,"ngFor","ngForOf"],[1,"center-block",2,"text-align","center"],["class","facebook-div",4,"ngIf"],["href","https://www.facebook.com/",4,"ngIf"],[2,"margin","20px"],[2,"display","flex","flex-direction","column"],[1,"linkFacebookDiv",2,"text-align","center"],[3,"displayText","rerequest","callbackEvent"],[3,"value"],["class","findFriendsCard","style","",3,"ngStyle","click",4,"ngIf"],[1,"findFriendsCard",3,"ngStyle","click"],[2,"justify-content","center"],[2,"font-size","16px","padding-top","5px","white-space","nowrap","overflow","hidden","text-overflow","ellipsis"],["style","float:left;color:red","matTooltip","User is blocked.","class","material-icons",4,"ngIf"],[1,"sub-mentionable",3,"hidden"],[1,"thumbnail-img",2,"justify-content","center",3,"ngStyle"],[2,"justify-content","center","display","flex"],[2,"margin","10px 5px","border","0px solid #b2b2b2","border-radius","18px",3,"disabled","click"],[1,"material-icons",2,"float","left",3,"ngClass"],["style","margin:2px 10px; float:left;",3,"ngClass",4,"ngIf"],["class","primary-color pending float-left",4,"ngIf"],["matTooltip","User is blocked.",1,"material-icons",2,"float","left","color","red"],[2,"margin","2px 10px","float","left",3,"ngClass"],[1,"primary-color","pending","float-left"],[1,"facebook-div"],[1,"flex-span"],[2,"float","right","margin-right","20px",3,"displayText","callbackEvent"],["href","https://www.facebook.com/"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275element"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"a",3),i["\u0275\u0275element"](4,"img",4),i["\u0275\u0275elementStart"](5,"strong"),i["\u0275\u0275elementStart"](6,"h4",5),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",6),i["\u0275\u0275elementStart"](10,"div",7),i["\u0275\u0275elementStart"](11,"button",8),i["\u0275\u0275listener"]("click",function(){return t.inviteFriend()}),i["\u0275\u0275elementStart"](12,"i",9),i["\u0275\u0275text"](13,"contact_mail"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",10),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](17,Ye,6,5,"div",11),i["\u0275\u0275elementStart"](18,"div",12),i["\u0275\u0275elementStart"](19,"mat-form-field",13),i["\u0275\u0275elementStart"](20,"mat-label"),i["\u0275\u0275text"](21),i["\u0275\u0275pipe"](22,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"input",14),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.searchInput=e})("ngModelChange",function(e){return t.searchChanged.next(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"mat-form-field",15),i["\u0275\u0275elementStart"](25,"mat-label"),i["\u0275\u0275text"](26),i["\u0275\u0275pipe"](27,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"mat-select",16),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.filterSelection=e})("selectionChange",function(e){return t.filter(e)}),i["\u0275\u0275template"](29,We,2,2,"mat-option",17),i["\u0275\u0275template"](30,Ue,2,1,"mat-optgroup",18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"div",19),i["\u0275\u0275template"](32,rt,2,1,"div",20),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"div",21),i["\u0275\u0275template"](34,at,4,1,"div",22),i["\u0275\u0275template"](35,ot,2,0,"a",23),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"h4",24),i["\u0275\u0275text"](37),i["\u0275\u0275pipe"](38,"translate"),i["\u0275\u0275pipe"](39,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](30,st,t.ThemeService.isMobileEmbedded?"":"transparent")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](8,18,"ROOT.Find Friends")),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](16,20,"ROOT.Invite")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.completedFbRequest&&0==t.friendsPermission&&t.facebookConnected),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](22,22,"ROOT.search")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",t.searchInput),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](27,24,"ROOT.Filter")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",t.filterSelection)("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t.filterOptions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.noGroups),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.users),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0==t.facebookConnected&&0==t.completedFbRequest),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.facebookConnected),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](38,26,"ROOT.Get motivated and fit with friends.")," ",i["\u0275\u0275pipeBind1"](39,28,"ROOT.If you are linked to Facebook"),""))},directives:[y.NgClass,y.NgStyle,S.f,y.NgIf,fe.c,fe.g,be.b,de.c,de.o,de.r,Ae.a,y.NgForOf,Ne,m.o,m.n,He.a,He.d,He.g,He.b,Ve.a],pipes:[M.c],styles:[dt]}),e}(),ht=function(){function e(e,t,n,i,r){var a=this;this.socialService=e,this.dialogRef=t,this.translate=n,this.data=i,this.ThemeService=r,this.pronoun="their",this.requesting=!1,this.isDarkTheme=!1,this.Invite_txt="Invite",this.Cancel_txt="Cancel",this.his_txt="his",this.her_txt="her",this.their_txt="their",this.Follow_txt="Follow",this.Request_to_follow_txt="Request to follow",this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){a.localize(e.lang)})}return e.prototype.localize=function(e){"es"===e?(this.Invite_txt="Invitaci\xf3n",this.Cancel_txt="Cancelar",this.his_txt="su",this.her_txt="su",this.their_txt="su",this.Follow_txt="Seguir",this.Request_to_follow_txt="Solicitud para seguir"):"fr"===e?(this.Invite_txt="Inviter",this.Cancel_txt="Annuler",this.his_txt="son",this.her_txt="son",this.their_txt="leur",this.Follow_txt="Suivre",this.Request_to_follow_txt="Demande \xe0 suivre"):"it"===e?(this.Invite_txt="Invitare",this.Cancel_txt="Annulla",this.his_txt="le sua",this.her_txt="la sua",this.their_txt="la loro",this.Follow_txt="Seguire",this.Request_to_follow_txt="Richiesta da seguire"):"de"===e&&(this.Invite_txt="Einladen",this.Cancel_txt="Stornieren",this.his_txt="sein",this.her_txt="ihr",this.their_txt="ihr",this.Follow_txt="Folgen",this.Request_to_follow_txt="Bitte folgen")},e.prototype.follow=function(){var e=this;this.requesting=!0,this.data.mentionable?this.socialService.follow(null,this.data.accountID).subscribe(function(){e.dialogRef.close(!0)}):this.socialService.requestFollow(this.data.accountID).subscribe(function(){e.dialogRef.close(!0)})},e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.ngOnInit=function(){this.isDarkTheme=this.ThemeService.isDarkTheme,this.user=this.data,"Male"==this.data.gender&&(this.pronoun=this.his_txt),this.pronoun="Female"==this.data.gender?this.her_txt:this.their_txt},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["request-follow"]],decls:19,vars:16,consts:[[1,"mat-primary"],[1,"flex-span"],["mat-button","",1,"mat-icon-button",3,"click"],["src","/static/img/icons/deleteXIconWhite.png"],[1,"thumbnail-img",2,"justify-content","center","margin-bottom","10px","margin-top","40px",3,"ngStyle"],[2,"text-align","center","margin-bottom","10px"],[1,"create-button",2,"min-width","150px",3,"disabled","click"],[4,"ngIf"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-toolbar",0),i["\u0275\u0275elementStart"](1,"h2"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"span",1),i["\u0275\u0275elementStart"](5,"button",2),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275element"](7,"img",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-dialog-content"),i["\u0275\u0275element"](9,"div",4),i["\u0275\u0275elementStart"](10,"div",5),i["\u0275\u0275text"](11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"mat-dialog-actions"),i["\u0275\u0275element"](13,"span",1),i["\u0275\u0275elementStart"](14,"button",6),i["\u0275\u0275listener"]("click",function(){return t.follow()}),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275template"](16,lt,3,3,"span",7),i["\u0275\u0275template"](17,ct,3,3,"span",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](18,"span",1),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,8,"ROOT.Follow")),i["\u0275\u0275advance"](3),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](6,10,"ROOT.Cancel")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](14,tt,"url("+t.user.profile_image+") no-repeat")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",t.user.name," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("disabled",t.requesting),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](15,12,"ROOT.Yes")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.user.mentionable),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.user.mentionable))},directives:[C.a,k.b,g.d,y.NgStyle,g.c,y.NgIf],pipes:[M.c],styles:[dt]}),e}(),mt=function(){function e(e,t,n,i,r){var a=this;this.socialService=e,this.dialogRef=t,this.translate=n,this.data=i,this.ThemeService=r,this.isDarkTheme=!1,this.sending=!1,this.emails="",this.Invite_txt="Invite",this.Invite_friends_to_follow_txt="Invite friends to follow you. Enter email addresses below separated by a comma",this.Email_Addresses_txt="Email Addresses",this.Send_Invites_txt="Send Invites",this.Cancel_txt="Cancel",this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){a.localize(e.lang)})}return e.prototype.sendInvite=function(){return Object(te.__awaiter)(this,void 0,void 0,function(){var e=this;return Object(te.__generator)(this,function(t){return this.sending=!0,this.socialService.emailInvite(this.emails).subscribe(function(t){e.sending=!1,e.dialogRef.close()}),[2]})})},e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.localize=function(e){"es"===e?(this.Invite_txt="Invitaci\xf3n",this.Invite_friends_to_follow_txt="Invita a tus amigos a seguirte. Ingrese las direcciones de correo electr\xf3nico a continuaci\xf3n separadas por una coma",this.Email_Addresses_txt="Correos electr\xf3nicos",this.Send_Invites_txt="Enviar invitaciones",this.Cancel_txt="Cancelar"):"fr"===e?(this.Invite_txt="Inviter",this.Invite_friends_to_follow_txt="Invitez des amis \xe0 vous suivre. Entrez les adresses e-mail ci-dessous s\xe9par\xe9es par une virgule",this.Email_Addresses_txt="Adresses mail",this.Send_Invites_txt="Envoie des invitations",this.Cancel_txt="Annuler"):"it"===e?(this.Invite_txt="Invitare",this.Invite_friends_to_follow_txt="Invita gli amici a seguirti. Inserisci gli indirizzi email di seguito separati da una virgola",this.Email_Addresses_txt="Indirizzi email",this.Send_Invites_txt="Invia inviti",this.Cancel_txt="Annulla"):"de"===e&&(this.Invite_txt="Einladen",this.Invite_friends_to_follow_txt="Laden Sie Freunde ein, Ihnen zu folgen. Geben Sie die unten stehenden E-Mail-Adressen durch Komma getrennt ein",this.Email_Addresses_txt="mailadressen",this.Send_Invites_txt="Sende Einladungen",this.Cancel_txt="Stornieren")},e.prototype.ngOnInit=function(){this.isDarkTheme=this.ThemeService.isDarkTheme},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["friend-invite"]],decls:21,vars:10,consts:[[1,"mat-primary"],[1,"flex-span"],["mat-button","",1,"mat-icon-button",3,"click"],["src","/static/img/icons/deleteXIconWhite.png"],[2,"margin","10px 5px 5px"],[2,"margin-top","25px","width","300px"],["matInput","",2,"width","100%","min-height","70px",3,"ngModel","ngModelChange"],["layout","row"],[1,"create-button","float-right",3,"disabled","click"],[2,"margin-right","10px"],["style","display: inline-flex;",3,"diameter",4,"ngIf"],[2,"display","inline-flex",3,"diameter"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-toolbar",0),i["\u0275\u0275elementStart"](1,"mat-toolbar-row"),i["\u0275\u0275elementStart"](2,"h2"),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"span",1),i["\u0275\u0275elementStart"](5,"button",2),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275element"](7,"img",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-dialog-content"),i["\u0275\u0275elementStart"](9,"div",4),i["\u0275\u0275text"](10),i["\u0275\u0275element"](11,"br"),i["\u0275\u0275elementStart"](12,"mat-form-field",5),i["\u0275\u0275elementStart"](13,"mat-label"),i["\u0275\u0275text"](14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"textarea",6),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.emails=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"mat-dialog-actions",7),i["\u0275\u0275elementStart"](17,"button",8),i["\u0275\u0275listener"]("click",function(){return t.sendInvite()}),i["\u0275\u0275elementStart"](18,"span",9),i["\u0275\u0275text"](19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](20,ut,1,1,"mat-spinner",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](t.Invite_txt),i["\u0275\u0275advance"](2),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](6,8,"ROOT.Cancel")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",t.Invite_friends_to_follow_txt,""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](t.Email_Addresses_txt),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",t.emails),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",t.sending),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](t.Send_Invites_txt),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.sending))},directives:[C.a,C.c,k.b,g.d,fe.c,fe.g,be.b,de.c,de.o,de.r,g.c,y.NgIf,E.c],pipes:[M.c],encapsulation:2}),e}(),gt=n("STbY"),ft=n("wZkO");function vt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}function yt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",11),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Pending")," "))}var bt=function(e){return{background:e}};function xt(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"a",4),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"]().navigateMember(e.mentionable)}),i["\u0275\u0275elementStart"](2,"mat-card",5),i["\u0275\u0275elementStart"](3,"mat-card-header",6),i["\u0275\u0275elementStart"](4,"mat-card-title",7),i["\u0275\u0275text"](5),i["\u0275\u0275template"](6,vt,2,0,"span",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"div",9),i["\u0275\u0275template"](8,yt,3,3,"div",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("routerLink","/member/",r.mentionable,""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",r.name,"\xa0 "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Your Name"==r.name||null===r.name),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,bt,"url("+r.profile_image+") no-repeat")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.mentionable)}}var _t=function(){function e(e,t,n){var i=this;this.socialService=e,this.translate=t,this.ThemeService=n,this.followers=[],this.isDarkTheme=!1,this.Pending_txt="Pending",this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){i.localize(e.lang)})}return e.prototype.navigateMember=function(e){this.socialService.profileSwitcher.emit(e)},e.prototype.localize=function(e){"es"===e?this.Pending_txt="Pendiente":"fr"===e?this.Pending_txt="En attente":"it"===e?this.Pending_txt="In sospeso":"de"===e&&(this.Pending_txt="Steht aus")},Object.defineProperty(e.prototype,"tabEvent",{set:function(e){this.handleChange(e)},enumerable:!1,configurable:!0}),e.prototype.handleChange=function(e){},e.prototype.ngOnInit=function(){var e=this;this.socialService.getFollowers(this.customUri,this.cursor).subscribe(function(t){e.cursor=t.response.cursor,e.followers=t.response.followers}),this.isDarkTheme=this.ThemeService.isDarkTheme},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-list-followers"]],inputs:{customUri:["customuri","customUri"],tabEvent:"tabEvent"},decls:4,vars:2,consts:[[3,"ngClass"],[2,"display","flex","flex-direction","column"],[2,"display","flex","flex-wrap","wrap"],[4,"ngFor","ngForOf"],[2,"text-decoration","none !important",3,"routerLink","click"],[1,"followCard"],[1,"user-card-header"],[1,"user-card-user-name"],[4,"ngIf"],[1,"thumbnail-img",3,"ngStyle"],["class","clear-both center",4,"ngIf"],[1,"clear-both","center"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275template"](3,xt,9,7,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",t.followers))},directives:[y.NgClass,y.NgForOf,S.f,He.a,He.d,He.g,y.NgIf,y.NgStyle],pipes:[M.c],styles:[".mat-card-header-text[_ngcontent-%COMP%]{margin:0!important}.thumbnail-img[_ngcontent-%COMP%]{justify-content:center;display:flex;height:80px;max-width:80px;background-position:50%!important;margin:auto;flex-wrap:wrap;background-size:80px auto!important;border-radius:15px}.followCard[_ngcontent-%COMP%]{margin:15px;width:140px;height:160px;padding:0;cursor:pointer;border:1px solid #efefef;border-radius:15px}@media (max-width:330px){.followCard[_ngcontent-%COMP%]{margin:5px}}"]}),e}();function wt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}function St(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",11),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Pending")," "))}var Ct=function(e){return{background:e}};function kt(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"a",4),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"]().navigateMember(e)}),i["\u0275\u0275elementStart"](2,"mat-card",5),i["\u0275\u0275elementStart"](3,"mat-card-header",6),i["\u0275\u0275elementStart"](4,"mat-card-title",7),i["\u0275\u0275text"](5),i["\u0275\u0275template"](6,wt,2,0,"span",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"div",9),i["\u0275\u0275template"](8,St,3,3,"div",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",r.name,"\xa0 "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Your Name"==r.name||null===r.name),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Ct,"url("+r.profile_image+") no-repeat")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.mentionable)}}var Ot=function(e){return{value:e}},Et=function(){function e(e,t,n,i){var r=this;this.socialService=e,this.translate=t,this.dialog=n,this.ThemeService=i,this.followings=[],this.isDarkTheme=!1,this.Pending_txt="Pending",this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){r.localize(e.lang)})}return Object.defineProperty(e.prototype,"tabEvent",{set:function(e){this.handleChange(e)},enumerable:!1,configurable:!0}),e.prototype.handleChange=function(e){},e.prototype.navigateMember=function(e){var t=this;e.mentionable?this.socialService.profileSwitcher.emit(e.mentionable):this.isSelf&&this.dialog.open(Mt,{maxWidth:"100vw",maxHeight:"100vh",data:e}).afterClosed().subscribe(function(e){console.log(e),e&&t.getFollowings(t.customUri,null)})},e.prototype.localize=function(e){"es"===e?this.Pending_txt="Pendiente":"fr"===e?this.Pending_txt="En attente":"it"===e?this.Pending_txt="In sospeso":"de"===e&&(this.Pending_txt="Steht aus")},e.prototype.getFollowings=function(e,t){var n=this;this.socialService.getFollowings(e,t).subscribe(function(e){n.cursor=e.response.cursor,n.followings=e.response.followings})},e.prototype.ngOnInit=function(){this.getFollowings(this.customUri,null),this.isDarkTheme=this.ThemeService.isDarkTheme},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-list-following"]],inputs:{customUri:["customuri","customUri"],isSelf:"isSelf",tabEvent:"tabEvent"},decls:4,vars:2,consts:[[3,"ngClass"],[2,"display","flex","flex-direction","column"],[2,"display","flex","flex-wrap","wrap"],[4,"ngFor","ngForOf"],[2,"text-decoration","none !important",3,"click"],[1,"followCard"],[1,"user-card-header"],[1,"user-card-user-name"],[4,"ngIf"],[1,"thumbnail-img",3,"ngStyle"],["class","clear-both center",4,"ngIf"],[1,"clear-both","center"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275template"](3,kt,9,6,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",t.followings))},directives:[y.NgClass,y.NgForOf,He.a,He.d,He.g,y.NgIf,y.NgStyle],pipes:[M.c],styles:[".thumbnail-img[_ngcontent-%COMP%]{justify-content:center;display:flex;height:80px;max-width:80px;background-position:50%!important;margin:auto;flex-wrap:wrap;background-size:80px auto!important;border-radius:15px}.followCard[_ngcontent-%COMP%]{margin:15px;width:140px;height:160px;padding:0;cursor:pointer;border:1px solid #efefef;border-radius:15px}.mentionable[_ngcontent-%COMP%]{font-size:12px;padding-top:5px;color:grey;text-align:center;white-space:nowrap}@media (max-width:330px){.followCard[_ngcontent-%COMP%]{margin:5px}}"]}),e}(),Mt=function(){function e(e,t,n,i){this.dialogRef=e,this.data=t,this.translate=n,this.socialService=i,this.following=this.data,this.displayName="",this.displayName=this.data.name||this.translate.instant("ROOT.Member")}return e.prototype.resend=function(){var e=this;this.socialService.resendInvite(this.data.accountID).subscribe(function(t){e.dialogRef.close(!1)})},e.prototype.remove=function(){var e=this;this.socialService.cancelInvite(this.data.accountKey).subscribe(function(){e.dialogRef.close(!0)})},e.prototype.cancel=function(){this.dialogRef.close(!1)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](ge.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["pending-follow"]],decls:25,vars:19,consts:[[1,"md-primary"],[2,"display","inline","padding-top","10px"],[2,"float","right","width","50px","text-align","right","margin-bottom","40px"],["mat-button","",1,"md-icon-button",2,"float","right",3,"click"],["mat-dialog-content",""],[2,"margin","20px"],["mat-dialog-actions","","layout","row",2,"margin-left","20px"],["mat-raised-button","",3,"color","click"],["mat-raised-button","","color","warn",3,"click"],["mat-raised-button","",3,"click"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-toolbar",0),i["\u0275\u0275elementStart"](1,"mat-toolbar-row",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"button",3),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275text"](4," X "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"h2"),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",4),i["\u0275\u0275elementStart"](9,"div",5),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"div",6),i["\u0275\u0275elementStart"](13,"button",7),i["\u0275\u0275listener"]("click",function(){return t.resend()}),i["\u0275\u0275elementStart"](14,"span"),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"button",8),i["\u0275\u0275listener"]("click",function(){return t.remove()}),i["\u0275\u0275elementStart"](18,"span"),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"button",9),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275elementStart"](22,"span"),i["\u0275\u0275text"](23),i["\u0275\u0275pipe"](24,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](7,6,"ROOT.Friend Invite Pending")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](11,8,"ROOT.still pending confirmation",i["\u0275\u0275pureFunction1"](17,Ot,t.displayName))," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](16,11,"ROOT.Resend Invite")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](20,13,"ROOT.Remove Request")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](24,15,"ROOT.Cancel")))},directives:[C.a,C.c,k.b,g.d,g.c],pipes:[M.c],encapsulation:2}),e}(),It=n("bv9b");function Pt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"km"),i["\u0275\u0275elementEnd"]())}function Tt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"mi"),i["\u0275\u0275elementEnd"]())}function Dt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"milesToKm"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind3"](2,1,n.distance,r.AccountService.account.isMetric(),1)," ")}}function Lt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1," \xa0 "),i["\u0275\u0275elementEnd"]())}function Rt(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",25),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](2).likeActivity(t),e.stopPropagation()}),i["\u0275\u0275elementStart"](1,"span",26),i["\u0275\u0275text"](2,"thumb_up"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function jt(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",25),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](2).unlikeActivity(t),e.stopPropagation()}),i["\u0275\u0275elementStart"](1,"span",27),i["\u0275\u0275text"](2,"thumb_up"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function At(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tr",13),i["\u0275\u0275elementStart"](1,"td",14),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](2).navigateToProfile(e,r.account)}),i["\u0275\u0275element"](2,"img",15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"td",14),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](2).goToActivity(e,r.shareId)}),i["\u0275\u0275element"](4,"img",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"td",17),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](2).goToActivity(e,r.shareId)}),i["\u0275\u0275text"](6),i["\u0275\u0275element"](7,"br"),i["\u0275\u0275elementStart"](8,"span",18),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"td",19),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](2).goToActivity(e,r.shareId)}),i["\u0275\u0275elementStart"](12,"div",20),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](2).goToActivity(e,r.shareId)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"td",21),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](2).goToActivity(e,r.shareId)}),i["\u0275\u0275template"](14,Dt,3,5,"div",2),i["\u0275\u0275template"](15,Lt,2,0,"div",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"td",22),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](2).goToActivity(e,r.shareId)}),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"secondsToH"),i["\u0275\u0275elementStart"](19,"small",23),i["\u0275\u0275pipe"](20,"secondsToH"),i["\u0275\u0275text"](21,"h"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"secondsToM"),i["\u0275\u0275elementStart"](24,"small",23),i["\u0275\u0275pipe"](25,"secondsToM"),i["\u0275\u0275text"](26,"m"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"td",11),i["\u0275\u0275template"](28,Rt,3,0,"button",24),i["\u0275\u0275template"](29,jt,3,0,"button",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("src",r.account.profile_photo,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("src",a.WorkoutTypes.getWorkoutTypeIcon(r.ecomodule,a.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.account.name,""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](10,13,r.date,"MMM d, y")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("innerHTML",r.displayTitle,i["\u0275\u0275sanitizeHtml"]),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.distance>.4),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.distance<=.4),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](18,16,r.elapsedSeconds),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!i["\u0275\u0275pipeBind1"](20,18,r.elapsedSeconds)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](23,20,r.elapsedSeconds),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!i["\u0275\u0275pipeBind1"](25,22,r.elapsedSeconds)),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!r.liked),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.liked)}}function Ft(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"table",3),i["\u0275\u0275elementStart"](1,"thead"),i["\u0275\u0275element"](2,"th",4),i["\u0275\u0275element"](3,"th",4),i["\u0275\u0275element"](4,"th",5),i["\u0275\u0275element"](5,"th",6),i["\u0275\u0275elementStart"](6,"th",7),i["\u0275\u0275element"](7,"img",8),i["\u0275\u0275template"](8,Pt,2,0,"span",2),i["\u0275\u0275template"](9,Tt,2,0,"span",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"th",9),i["\u0275\u0275element"](11,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](12,"th",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"tbody"),i["\u0275\u0275template"](14,At,30,24,"tr",12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngIf",n.AccountService.account.isMetric()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.AccountService.account.isMetric()),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngForOf",n.activitiesList)}}function Bt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"mat-progress-bar",28),i["\u0275\u0275elementEnd"]())}var zt=function(){function e(e,t,n,i,r,a,o){this.AccountService=e,this.socialService=t,this.router=n,this.WorkoutTypes=i,this.ThemeService=r,this.window=a,this.translate=o,this.activitiesList=[],this.loading=!0,this.task={name:"Include Groups",completed:!1,subtasks:[{name:"Group 1",completed:!1},{name:"Group 2",completed:!1},{name:"Group 3",completed:!1}]},this.allGroups=!1,this.hideGroupSelection=!0,this.showGroups=!1}return Object.defineProperty(e.prototype,"tabEvent",{set:function(e){this.handleChange(e)},enumerable:!1,configurable:!0}),e.prototype.handleChange=function(e){},e.prototype.ngOnInit=function(){var e=this,t=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});this.navFrom=t.get("navFrom"),this.socialService.getFeed().subscribe(function(t){e.activitiesList=[];for(var n=t.response.accounts,i=0;i<t.response.workouts.length;i++){for(var r=null,a=0;a<n.length;a++)if(t.response.workouts[i].account_id==n[a].account_id){r=n[a];break}var o=new Te.a(t.response.workouts[i],e.WorkoutTypes,e.translate.currentLang);o.account=r,e.activitiesList.push(o)}e.loading=!1})},e.prototype.someComplete=function(){return null!=this.task.subtasks&&this.task.subtasks.filter(function(e){return e.completed}).length>0&&!this.allGroups},e.prototype.navigateToProfile=function(e,t){this.router.navigate(["/member/"+t.custom_uri],{queryParams:{navFrom:"friendsFeed"},replaceUrl:!0}),this.socialService.profileSwitcher.emit(t.custom_uri)},e.prototype.setAll=function(e){this.allGroups=e,null!=this.task.subtasks&&this.task.subtasks.forEach(function(t){return t.completed=e})},e.prototype.updateAllComplete=function(){this.allGroups=null!=this.task.subtasks&&this.task.subtasks.every(function(e){return e.completed})},e.prototype.goToActivity=function(e,t){if(!0===e.ctrlKey){var n=this.router.createUrlTree(["activity-share",t]);window.open(this.router.serializeUrl(n),"_blank")}else this.router.navigate(["/activity-share/"+t],{queryParams:{navFrom:"friendsFeed"},replaceUrl:!0})},e.prototype.likeActivity=function(e){e.liked=!0,this.socialService.setLike(e.workout_key).subscribe(function(e){})},e.prototype.unlikeActivity=function(e){e.liked=!1,this.socialService.unsetLike(e.workout_key).subscribe(function(e){})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](M.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-friend-feed"]],inputs:{tabEvent:"tabEvent"},decls:3,vars:2,consts:[[1,"home-listing"],["class","full-width",4,"ngIf"],[4,"ngIf"],[1,"full-width"],[2,"padding-bottom","0px"],[1,"tdDate",2,"padding-bottom","0px"],[1,"tdTitle",2,"padding-bottom","0px"],[1,"tdDistance",2,"font-weight","normal","padding-bottom","0px"],["src","/static/img/icons/squareDistanceIcon.png","width","20px"],[1,"tdDuration",2,"padding-bottom","0px"],["src","/static/img/icons/squareDurationIcon.png","width","20px"],[1,"tdLike"],["class","feedRow",4,"ngFor","ngForOf"],[1,"feedRow"],[1,"tdIcon",3,"click"],[1,"workoutDetailsProfieImg","feedProfilePhoto",3,"src"],[1,"feedWorkoutTypeIcon",3,"src"],[1,"tdDate",3,"click"],[1,"feedDate"],[1,"tdTitle",3,"click"],[1,"tdTitle",2,"float","left",3,"innerHTML","click"],[1,"tdDistance",3,"click"],[1,"tdDuration",3,"click"],[3,"hidden"],["class","tdLike","mat-button","",3,"click",4,"ngIf"],["mat-button","",1,"tdLike",3,"click"],[1,"material-icons-outlined"],[1,"material-icons",2,"color","#4597CB"],["mode","indeterminate"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275template"](1,Ft,15,3,"table",1),i["\u0275\u0275template"](2,Bt,2,0,"div",2),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.loading))},directives:[y.NgIf,y.NgForOf,k.b,It.a],pipes:[y.DatePipe,B.cb,B.ib,B.Q],styles:[".accountIcon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.groupSelection[_ngcontent-%COMP%]{position:absolute;margin-left:10px;background-color:#fff;border:1px solid grey;padding:10px;border-radius:5px}.home-listing[_ngcontent-%COMP%]{width:100%;max-height:70vh;float:left;overflow:scroll;margin-bottom:40px}.feedRow[_ngcontent-%COMP%]{cursor:pointer;font-size:16px}.feedProfilePhoto[_ngcontent-%COMP%]{margin:15px 0}.tdDistance[_ngcontent-%COMP%]{padding-right:8px}.tdDistance[_ngcontent-%COMP%], .tdDuration[_ngcontent-%COMP%]{text-align:right}.feedDate[_ngcontent-%COMP%]{font-size:12px}.feedWorkoutTypeIcon[_ngcontent-%COMP%]{width:30px}.tdLike[_ngcontent-%COMP%]{padding-bottom:0}[_ngcontent-%COMP%]::-webkit-scrollbar{width:14px}[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:#b2b2b2}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#888}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#555}@media (max-width:460px){.tdTitle[_ngcontent-%COMP%]{width:0;overflow:hidden}.feedWorkoutTypeIcon[_ngcontent-%COMP%]{width:20px}}@media (max-width:340px){.tdLike[_ngcontent-%COMP%]{width:0;overflow:hidden;visibility:hidden;margin:-30px}}"]}),e}(),Nt=function(e){return{background:e}};function Ht(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",7),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).navigateBack()}),i["\u0275\u0275elementStart"](1,"div",8),i["\u0275\u0275element"](2,"img",9),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",10),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"strong"),i["\u0275\u0275elementStart"](8,"h4",10),i["\u0275\u0275text"](9,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Nt,r.ThemeService.isMobileEmbedded?"transparent":"")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,2,"ROOT.Friends"))}}function Vt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",11),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",10),i["\u0275\u0275text"](3,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](1,Nt,n.ThemeService.isMobileEmbedded?"transparent":""))}}function Yt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"button",22),i["\u0275\u0275elementStart"](1,"mat-icon"),i["\u0275\u0275text"](2,"more_vert"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){i["\u0275\u0275nextContext"]();var n=i["\u0275\u0275reference"](3);i["\u0275\u0275property"]("matMenuTriggerFor",n)}}function Wt(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",23),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).message()}),i["\u0275\u0275elementStart"](1,"i",24),i["\u0275\u0275text"](2,"mail_outline"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",25),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,1,"ROOT.Message")))}function Gt(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",23),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).block()}),i["\u0275\u0275elementStart"](1,"i",24),i["\u0275\u0275text"](2,"block"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",25),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,1,"ROOT.Block")))}function Ut(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",23),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).unblock()}),i["\u0275\u0275elementStart"](1,"i",24),i["\u0275\u0275text"](2,"person_outline"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",25),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,1,"ROOT.Unblock")))}function qt(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",23),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).unfollow()}),i["\u0275\u0275elementStart"](1,"i",24),i["\u0275\u0275text"](2,"person_outline"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",25),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,1,"ROOT.Unfollow")))}function Zt(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",18),i["\u0275\u0275template"](1,Yt,3,1,"button",19),i["\u0275\u0275elementStart"](2,"mat-menu",null,20),i["\u0275\u0275template"](4,Wt,6,3,"button",21),i["\u0275\u0275template"](5,Gt,6,3,"button",21),i["\u0275\u0275template"](6,Ut,6,3,"button",21),i["\u0275\u0275template"](7,qt,6,3,"button",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isSelf),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.isFollower),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isBlocking),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isBlocking),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isFollowing)}}function $t(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("@",n.customUri,"")}}function Xt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Pending")))}function Kt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"button",26),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275elementStart"](2,"i",27),i["\u0275\u0275text"](3,"search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"i",28),i["\u0275\u0275text"](5,"person_outline"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,1,"ROOT.Find Friends"))}function Jt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",48),i["\u0275\u0275element"](1,"img",49),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,1,"ROOT.Feed")," "))}function Qt(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"km"),i["\u0275\u0275elementEnd"]())}function en(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"mi"),i["\u0275\u0275elementEnd"]())}function tn(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",69),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](7).likeActivity(t),e.stopPropagation()}),i["\u0275\u0275elementStart"](1,"i",70),i["\u0275\u0275text"](2,"thumb_up"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function nn(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",69),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](7).unlikeActivity(t),e.stopPropagation()}),i["\u0275\u0275elementStart"](1,"i",70),i["\u0275\u0275text"](2,"thumb_up"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function rn(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tr",59),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](7).goToActivity(e,r.shareId)}),i["\u0275\u0275elementStart"](1,"td"),i["\u0275\u0275element"](2,"img",60),i["\u0275\u0275element"](3,"div",61),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275element"](5,"img",62),i["\u0275\u0275elementStart"](6,"div",63),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"td",64),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"milesToKm"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"td",65),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"secondsToH"),i["\u0275\u0275elementStart"](15,"small",66),i["\u0275\u0275pipe"](16,"secondsToH"),i["\u0275\u0275text"](17,"h"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18),i["\u0275\u0275pipe"](19,"secondsToM"),i["\u0275\u0275elementStart"](20,"small",66),i["\u0275\u0275pipe"](21,"secondsToM"),i["\u0275\u0275text"](22,"m"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"div",67),i["\u0275\u0275template"](24,tn,3,0,"button",68),i["\u0275\u0275template"](25,nn,3,0,"button",68),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](7);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("src",a.WorkoutTypes.getWorkoutTypeIcon(r.ecomodule,a.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("innerHTML",r.displayTitle,i["\u0275\u0275sanitizeHtml"]),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("src","https://my.fitdigits.com/api/v2/seo/thumbnail?key="+r.workout_key,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](8,11,r.date,"MMM d, y")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind3"](11,14,r.distance,a.isMetric,2)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](14,18,r.elapsedSeconds),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!i["\u0275\u0275pipeBind1"](16,20,r.elapsedSeconds)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](19,22,r.elapsedSeconds),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!i["\u0275\u0275pipeBind1"](21,24,r.elapsedSeconds)),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!r.liked),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.liked)}}function an(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"div",50),i["\u0275\u0275elementStart"](2,"div",51),i["\u0275\u0275elementStart"](3,"table",52),i["\u0275\u0275elementStart"](4,"thead"),i["\u0275\u0275element"](5,"th",53),i["\u0275\u0275elementStart"](6,"th",54),i["\u0275\u0275element"](7,"img",55),i["\u0275\u0275template"](8,Qt,2,0,"span",2),i["\u0275\u0275template"](9,en,2,0,"span",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"th",56),i["\u0275\u0275element"](11,"img",57),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"tbody"),i["\u0275\u0275template"](13,rn,26,26,"tr",58),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngIf",n.isMetric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isMetric),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngForOf",n.activitiesList)}}function on(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-tab"),i["\u0275\u0275template"](1,Jt,4,3,"ng-template",47),i["\u0275\u0275template"](2,an,14,3,"div",2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.isBlocked)}}function sn(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",48),i["\u0275\u0275element"](1,"img",49),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,1,"ROOT.Feed")," "))}function ln(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-tab"),i["\u0275\u0275template"](1,sn,4,3,"ng-template",44),i["\u0275\u0275element"](2,"app-friend-feed",71),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("tabEvent",n.tabEvent)}}function cn(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",48),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Followers")))}function dn(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",48),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Following")))}function un(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",42),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275elementStart"](2,"mat-tab-group",43),i["\u0275\u0275listener"]("selectedTabChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).handleChange(e)}),i["\u0275\u0275template"](3,on,3,1,"mat-tab",2),i["\u0275\u0275template"](4,ln,3,1,"mat-tab",2),i["\u0275\u0275elementStart"](5,"mat-tab"),i["\u0275\u0275template"](6,cn,3,3,"ng-template",44),i["\u0275\u0275element"](7,"app-list-followers",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-tab"),i["\u0275\u0275template"](9,dn,3,3,"ng-template",44),i["\u0275\u0275element"](10,"app-list-following",46),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!r.isSelf),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isSelf),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("customuri",r.customUri)("tabEvent",r.tabEvent),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("customuri",r.customUri)("isSelf",r.isSelf)("tabEvent",r.tabEvent)}}function pn(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",72),i["\u0275\u0275element"](1,"img",73),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",n.profileImage,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275propertyInterpolate"]("alt",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Profile Photo"))}}function hn(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"h3",74),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.name)}}function mn(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",75),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).message()}),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275elementStart"](2,"i",76),i["\u0275\u0275text"](3,"mail_outline"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,1,"ROOT.Message"))}function gn(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",77),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).follow()}),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275elementStart"](2,"i",78),i["\u0275\u0275text"](3,"person_add"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("disabled",r.isSelf||r.isBlocking||r.isBlocked||!r.hasMemberURL),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,2,"ROOT.Follow"))}}var fn=function(e){return["/livetracking/",e]};function vn(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"a",15),i["\u0275\u0275elementStart"](2,"button",79),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275element"](4,"img",80),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction1"](4,fn,n.ltSession)),i["\u0275\u0275advance"](1),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](3,2,"ROOT.Livetracking"))}}function yn(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",29),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Member Not Found")))}function bn(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"h3"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Pending")))}function xn(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",81),i["\u0275\u0275template"](1,bn,3,3,"h3",2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.customUri)}}function _n(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",82),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Check your Following list for an updated url if one exists.")," "))}function wn(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",83),i["\u0275\u0275text"](1,"block"),i["\u0275\u0275elementEnd"]())}function Sn(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"button",86),i["\u0275\u0275element"](1,"img",87),i["\u0275\u0275elementStart"](2,"span"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",n.ltActiveCount," ",i["\u0275\u0275pipeBind1"](4,2,"ROOT.Active"),"")}}var Cn=function(){return["/livetracking"]};function kn(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",84),i["\u0275\u0275elementStart"](1,"a",15),i["\u0275\u0275template"](2,Sn,5,4,"button",85),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](2,Cn)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isSelf)}}var On=function(){return["/member"]};function En(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",29),i["\u0275\u0275elementStart"](5,"a",15),i["\u0275\u0275elementStart"](6,"button",88),i["\u0275\u0275elementStart"](7,"strong"),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"span",89),i["\u0275\u0275text"](11,"add_circle"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,3,"ROOT.You must create your own personal Member URL to follow another member.")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](7,On)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,5,"ROOT.Create your Member URL")))}function Mn(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",29),i["\u0275\u0275template"](1,un,11,7,"div",30),i["\u0275\u0275elementStart"](2,"div",31),i["\u0275\u0275template"](3,pn,3,4,"div",32),i["\u0275\u0275template"](4,hn,2,1,"h3",33),i["\u0275\u0275element"](5,"div",34),i["\u0275\u0275template"](6,mn,4,3,"button",35),i["\u0275\u0275template"](7,gn,4,4,"button",36),i["\u0275\u0275template"](8,vn,5,6,"div",2),i["\u0275\u0275template"](9,yn,3,3,"div",17),i["\u0275\u0275template"](10,xn,2,1,"div",37),i["\u0275\u0275template"](11,_n,3,3,"div",38),i["\u0275\u0275template"](12,wn,2,0,"span",39),i["\u0275\u0275template"](13,kn,3,3,"div",40),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",41),i["\u0275\u0275template"](15,En,12,8,"div",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.notFound),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.isSelf),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isSelf&&!n.notFound),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.isFollower),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isFollowing&&!n.isSelf&&!n.notFound&&n.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ltSession),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.notFound),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.notFound),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.notFound),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isBlocking),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isSelf&&n.ltActiveCount),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.hasMemberURL)}}function In(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"div",50),i["\u0275\u0275element"](2,"app-list-following",90),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("customuri",n.customUri)("isSelf",n.isSelf)}}function Pn(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"div",50),i["\u0275\u0275elementEnd"]())}function Tn(e,t){1&e&&i["\u0275\u0275element"](0,"div")}function Dn(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,In,3,2,"div",2),i["\u0275\u0275template"](2,Pn,2,0,"div",2),i["\u0275\u0275template"](3,Tn,1,0,"div",2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showFollowing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showFollowers),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showFeed&&n.isSelf)}}var Ln=function(){return["/find_friends"]};function Rn(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275template"](1,Zt,8,5,"div",13),i["\u0275\u0275elementStart"](2,"strong"),i["\u0275\u0275elementStart"](3,"h4",14),i["\u0275\u0275template"](4,$t,2,1,"span",2),i["\u0275\u0275template"](5,Xt,3,3,"span",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"a",15),i["\u0275\u0275template"](7,Kt,6,3,"button",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](8,Mn,16,12,"div",17),i["\u0275\u0275template"](9,Dn,4,3,"div",2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.notFound),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.customUri&&!n.notFound),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.customUri&&!n.notFound),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](7,Ln)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isSelf),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.notFound)}}function jn(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](2,2,"ROOT.to get fit and stay healthy with")," ",n.appName,"!")}}function An(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](2,2,"ROOT.to follow")," ",n.name," ")}}var Fn=function(){return["/login"]},Bn=function(){return["/registration"]};function zn(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",91),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementStart"](4,"a",15),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementStart"](9,"a",15),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](12,"\xa0 "),i["\u0275\u0275template"](13,jn,3,4,"span",2),i["\u0275\u0275template"](14,An,3,4,"span",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](3,8,"ROOT.Please")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](16,Fn)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,10,"ROOT.Sign In")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,12,"ROOT.Or")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](17,Bn)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](11,14,"ROOT.Create an account")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.notFound),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.notFound)}}function Nn(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275template"](2,Ht,10,6,"div",3),i["\u0275\u0275template"](3,Vt,4,3,"div",4),i["\u0275\u0275template"](4,Rn,10,8,"div",5),i["\u0275\u0275template"](5,zn,15,18,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.isSelf),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isSelf),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.AccountService.isLoggedIn)}}var Hn=function(){function e(e,t,n,i,r,a,o,s,l,c,d,u){var p=this;this.titleService=e,this.socialService=t,this.livetrackingService=n,this.AccountService=i,this.dialog=r,this.router=a,this.translate=o,this.WorkoutTypes=s,this.route=l,this.CookieService=c,this.window=d,this.ThemeService=u,this.customUri=this.route.snapshot.paramMap.get("custom_uri"),this.isSelf=!1,this.isMetric=!1,this.notFound=!1,this.isFollowing=!1,this.isBlocking=!1,this.isBlocked=!1,this.isFollower=!1,this.appName="Fitdigits",this.showLoadingOverlay=!1,this.hasUserBlocked=!1,this.hasMemberURL=!0,this.isDarkTheme=!1,this.view="following",this.showActivities=!0,this.showFeed=!0,this.showFollowers=!1,this.showFollowing=!1,this.activitiesList=[],this.isMobileEmbedded=!1,this.profileSwitcher=this.socialService.profileSwitcher.subscribe(function(e){p.customUri=e,p.ngOnInit()})}return e.prototype.handleChange=function(e){this.tabEvent=e},e.prototype.showFeedSegment=function(){this.showFeed=!0,this.showFollowers=!1,this.showFollowing=!1,this.showActivities=!1},e.prototype.showFollowersSegment=function(){this.showFeed=!1,this.showFollowers=!0,this.showFollowing=!1,this.showActivities=!1},e.prototype.showFollowingSegment=function(){this.showFeed=!1,this.showFollowers=!1,this.showFollowing=!0,this.showActivities=!1},e.prototype.showActivitiesSegment=function(){this.showFeed=!1,this.showFollowers=!1,this.showFollowing=!1,this.showActivities=!0},e.prototype.follow=function(){this.isFollowing=!0,this.followerCount+=1,this.socialService.follow(this.accountKey).subscribe(function(){})},e.prototype.unfollow=function(){this.isFollowing=!1,this.followerCount-=1,this.socialService.unfollow(this.accountKey).subscribe(function(){})},e.prototype.likeActivity=function(e){e.liked=!0,this.socialService.setLike(e.workout_key).subscribe(function(e){})},e.prototype.unlikeActivity=function(e){e.liked=!1,this.socialService.unsetLike(e.workout_key).subscribe(function(e){})},e.prototype.block=function(){var e=this;this.dialog.open(Vn,{data:{name:this.name,accountID:this.accountID}}).afterClosed().subscribe(function(t){e.isFollowing=!1,e.isBlocking=!0})},e.prototype.unblock=function(){var e=this;this.socialService.unblock(this.accountKey).subscribe(function(){e.isBlocking=!1})},e.prototype.message=function(){this.router.navigate(["/inboxcompose"],{queryParams:{recipient:this.accountID}})},e.prototype.navigateBack=function(){"friendsFeed"==this.navFrom&&this.router.navigate(["/member"],{queryParams:{navFrom:"friendsFeed"}}),this.router.navigate(["/member"])},e.prototype.goToActivity=function(e,t){!0===e.ctrlKey?window.open("activity-share/"+t,"_blank"):this.isSelf?this.router.navigate(["/activity-share",t]):this.router.navigate(["/activity-share",t],{queryParams:{navFrom:"friendProfile",friendProfile:this.customUri}})},e.prototype.ngOnInit=function(){var e=this;this.AccountService.isMobileEmbedded().subscribe(function(t){e.isMobileEmbedded=t});var t=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});this.navFrom=t.get("navFrom"),console.log(this.AccountService.isLoggedIn),this.isDarkTheme=this.ThemeService.isDarkTheme,this.AccountService.isLoggedIn&&(this.isMetric=this.AccountService.account.isMetric(),this.showLoadingOverlay=!0,this.CookieService.get("newFacebookFriend")&&this.socialService.getDetailsById(this.CookieService.get("newFacebookFriend")).subscribe(function(t){t.response.records[0].mentionable?e.router.navigate(["/member",t.response.records[0].mentionable]):e.dialog.open(ht,{data:t.response.records[0],panelClass:e.isDarkTheme?"dark-theme":"",maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(t){e.CookieService.delete("newFacebookFriend")})}),this.livetrackingService.getLiveCount().subscribe(function(t){e.ltActiveCount=t.response.total_live}),this.socialService.getProfile(this.customUri,this.AccountService.isLoggedIn).subscribe(function(t){0===Object.keys(t.response).length?(e.notFound=!0,e.profileImage="https://my.fitdigits.com/static/img/default.profile.png",e.showLoadingOverlay=!1):(e.name=t.response.name,e.ltSession=t.response.livetracking,e.accountKey=t.response.account_key,e.isSelf=t.response.is_self,e.hasMemberURL=t.response.has_member_url,e.isBlocking=t.response.is_blocking,e.isBlocked=t.response.is_blocked,e.accountID=t.response.account_id,e.view="recent_activities",e.isSelf&&(e.view="feed"),e.isFollowing=t.response.is_following,e.isFollower=t.response.is_follower,e.isBlocked?(e.profileImage="https://my.fitdigits.com/static/img//",e.showLoadingOverlay=!1):(e.profileImage=t.response.has_image?"https://storage.googleapis.com/image_manager/profile_image/"+t.response.account_id+"/"+t.response.image_filename:"https://my.fitdigits.com/api/v2/group_member_photo/"+t.response.account_id,e.socialService.getFollowCounts(e.customUri,e.AccountService.isLoggedIn).subscribe(function(t){e.followerCount=t.response.followers,e.followingCount=t.response.following,e.showLoadingOverlay=!1}),e.socialService.getWorkouts(e.customUri).subscribe(function(t){e.activitiesList=[];for(var n=0;n<t.response.workouts.length;n++)e.activitiesList.push(new Te.a(t.response.workouts[n],e.WorkoutTypes,e.translate.currentLang))})))}))},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](De.d),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](d.a),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-public-profile"]],decls:3,vars:3,consts:[[3,"ngClass"],[1,"loading-overlay",3,"hidden"],[4,"ngIf"],["class","main-menu-section-heading",3,"ngStyle","click",4,"ngIf"],["class","main-menu-section-heading",3,"ngStyle",4,"ngIf"],["class","sectionStructure",4,"ngIf"],["style","display: flex;justify-content: center;margin-top:20px;",4,"ngIf"],[1,"main-menu-section-heading",3,"ngStyle","click"],[2,"float","left"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"main-menu-section-heading",3,"ngStyle"],[1,"sectionStructure"],["class","blockMenu",4,"ngIf"],[1,"nameTitle"],[3,"routerLink"],["mat-fab","","class","find-friends-button",4,"ngIf"],["class","centeredText",4,"ngIf"],[1,"blockMenu"],["mat-icon-button","",3,"matMenuTriggerFor",4,"ngIf"],["menu","matMenu"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-icon-button","",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],[1,"material-icons","button-icon"],[1,"menu-button-icon"],["mat-fab","",1,"find-friends-button"],[1,"material-icons","primary-color"],[1,"material-icons","primary-color","find-friends-button-icon"],[1,"centeredText"],["class","topSegment",4,"ngIf"],[1,"memberSegment"],["class","profileImage",4,"ngIf"],["class","memberName",4,"ngIf"],[2,"clear","right"],["class","messageMember","mat-mini-fab","",3,"click",4,"ngIf"],["class","followMember","mat-mini-fab","",3,"disabled","click",4,"ngIf"],["class","memberURLat",4,"ngIf"],["class","notFoundMsg",4,"ngIf"],["class","blockedIcon","matTooltip","User is blocked.","class","material-icons",4,"ngIf"],["style","text-align:center; margin:auto; width:100%;",4,"ngIf"],[1,"create-member-url-container"],[1,"topSegment"],["dynamicHeight","","mat-align-tabs","center",3,"selectedTabChange"],["mat-tab-label",""],[3,"customuri","tabEvent"],[3,"customuri","isSelf","tabEvent"],["mat-tab-label","","style","border-top-left-radius: 20px !important;"],[1,"routineSegmentx"],["src","/static/img/routes-icon.png",1,"tab_menu_icons"],[2,"clear","both"],[1,"home-listing"],[1,"full-width"],[2,"padding-bottom","0px"],[1,"tdDistance",2,"font-weight","normal","padding-bottom","0px"],["src","/static/img/icons/squareDistanceIcon.png","width","20px"],[1,"tdDuration",2,"padding-bottom","0px"],["src","/static/img/icons/squareDurationIcon.png","width","20px"],["class","activityRow",3,"click",4,"ngFor","ngForOf"],[1,"activityRow",3,"click"],[1,"feedWorkoutTypeIcon",3,"src"],[1,"activityTitle",3,"innerHTML"],[1,"workoutGraph",3,"src"],[1,"feedDate"],[1,"tdDistance"],[1,"tdDuration"],[3,"hidden"],[1,"thumbsUp"],["class","tdLike","mat-button","",3,"click",4,"ngIf"],["mat-button","",1,"tdLike",3,"click"],[1,"material-icons","thumbsUpIcon"],[3,"tabEvent"],[1,"profileImage"],[1,"memberProfilePhoto",3,"src","alt"],[1,"memberName"],["mat-mini-fab","",1,"messageMember",3,"click"],[1,"material-icons",2,"margin-top","-4px"],["mat-mini-fab","",1,"followMember",3,"disabled","click"],[1,"material-icons"],["mat-fab","",1,"liveTrackingNowButton"],["src","/static/img/Asset-1livetracking.png",1,"memberLivetracking"],[1,"memberURLat"],[1,"notFoundMsg"],["matTooltip","User is blocked.",1,"material-icons"],[2,"text-align","center","margin","auto","width","100%"],["mat-stroked-button","","class","livetracking-button",4,"ngIf"],["mat-stroked-button","",1,"livetracking-button"],["src","/static/img/Asset-1livetracking.png",1,"livetrackingIcon"],["mat-stroked-button","",1,"create-member-url-button"],[1,"material-icons",2,"color","#3FAE48"],[3,"customuri","isSelf"],[2,"display","flex","justify-content","center","margin-top","20px"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275element"](1,"div",1),i["\u0275\u0275template"](2,Nn,6,4,"div",2),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.showLoadingOverlay))},directives:[y.NgClass,y.NgIf,y.NgStyle,S.f,gt.a,k.b,gt.d,O.a,gt.b,ft.b,ft.a,ft.c,_t,Et,y.NgForOf,zt,Ve.a],pipes:[M.c,y.DatePipe,B.Q,B.cb,B.ib],styles:[".home-listing[_ngcontent-%COMP%]{margin-bottom:40px}.linkFacebookDiv[_ngcontent-%COMP%]{text-align:center;clear:both;margin:20px auto;width:100%!important}.thumbnail-img[_ngcontent-%COMP%]{justify-content:center;display:flex;height:150px;max-width:150px;background-position:50%!important;margin:auto;border-radius:15px}.memberURLat[_ngcontent-%COMP%]{padding-bottom:10px;width:100%;clear:both;text-align:center}.profileImage[_ngcontent-%COMP%]{width:96px;height:96px;overflow:hidden;float:left}.centeredText[_ngcontent-%COMP%]{text-align:center}.notFoundMsg[_ngcontent-%COMP%]{padding-bottom:10px}.blockedIcon[_ngcontent-%COMP%]{float:left;color:#f58967}.buttons[_ngcontent-%COMP%]{margin-bottom:10px}.livetrackingIcon[_ngcontent-%COMP%]{width:16px;margin:0 5px 0 -5px}.follower-text[_ngcontent-%COMP%]{padding:10px;cursor:pointer}.follow-button[_ngcontent-%COMP%]{border:1px solid #b2b2b2!important;width:200px;clear:both}.find-friends-button[_ngcontent-%COMP%]{border:1px solid #b2b2b2!important;background-color:transparent!important;float:right;margin-bottom:20px}.find-friends-button-icon[_ngcontent-%COMP%]{margin-left:-10px}.nameTitle[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:20px;float:left}.blockMenu[_ngcontent-%COMP%]{float:right;margin-top:0;clear:both}.livetracking-button[_ngcontent-%COMP%]{border:1px solid #b2b2b2!important;width:200px;margin:5px auto 10px}.closeIcon[_ngcontent-%COMP%]{cursor:pointer;float:right;margin:10px 10px 0 0}.create-member-url-button[_ngcontent-%COMP%]{color:#4597cb;text-decoration:none;border:1px solid #b2b2b2!important;max-width:215px;margin-bottom:20px}.routineSegment[_ngcontent-%COMP%]{width:33.33%;background:#4597cb}  .mat-tab-labels{border:1px solid;border-radius:8px!important;overflow:hidden!important;margin-bottom:20px!important}  .mat-tab-body-wrapper{min-height:550px}[_nghost-%COMP%]     .mat-tab-label{width:33.33%!important;display:block!important;height:58px!important;border-right:1px solid!important;justify-content:center;align-items:center;padding:20px}[_nghost-%COMP%]     .mat-tab-label-active{background:#4597cb!important;opacity:1!important}[_nghost-%COMP%]     .mat-ink-bar{background-color:unset!important}.routineSegment[_ngcontent-%COMP%]{background:transparent}.routineSegment[_ngcontent-%COMP%],   .routineSegment mat-tab{display:block;height:60px;float:left;padding:20px;text-align:center;border:1px solid;cursor:pointer;margin-bottom:5px;border-top-left-radius:5px;border-bottom-left-radius:5px}  .routineSegment mat-tab{width:33.33%;background:#4597cb}.transparent[_ngcontent-%COMP%]{background:transparent}.routineSegment[_ngcontent-%COMP%]:hover{background-color:rgba(69,151,203,.3)!important}.tab_menu_icons[_ngcontent-%COMP%]{max-width:20px;max-height:20px;margin-top:0;vertical-align:middle;margin-left:-20px}.topSegment[_ngcontent-%COMP%]{text-align:center;clear:both;float:left;width:100%;margin:0 auto}.button-icon[_ngcontent-%COMP%]{margin-right:8px}.menu-button-icon[_ngcontent-%COMP%]{vertical-align:super}.friends_icons[_ngcontent-%COMP%]{width:30px;margin-top:0;margin-right:0;vertical-align:middle;float:left}.listingHeader[_ngcontent-%COMP%]{color:#808284;border-bottom:4px solid #4597cb;font-size:18px;padding:8px;margin-top:10px;-webkit-user-select:none;user-select:none;-moz-user-select:none}.listingHeader[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{font-weight:400}.activityRow[_ngcontent-%COMP%]{background-image:none;cursor:pointer;font-size:16px}td[_ngcontent-%COMP%]{border:0 solid}.tdIcon[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{padding:10px}.tdIcon[_ngcontent-%COMP%]{width:50px;border:0 solid}.tdDate[_ngcontent-%COMP%]{width:200px}.tdDuration[_ngcontent-%COMP%]{margin-right:30px}.tdCalories[_ngcontent-%COMP%], .tdDistance[_ngcontent-%COMP%], .tdDuration[_ngcontent-%COMP%]{text-align:right;vertical-align:top}.titleRow[_ngcontent-%COMP%]{background-color:rgba(69,151,203,.3);padding-top:0;width:100%;float:right;margin-top:10px}.workoutGraph[_ngcontent-%COMP%]{width:75px;height:75px;float:left;clear:left}.create-member-url-container[_ngcontent-%COMP%]{text-align:center;clear:both;width:100%;float:left;margin:30px 0 0}.feedDate[_ngcontent-%COMP%]{font-size:12px;margin-left:10px;float:left}.activityTitle[_ngcontent-%COMP%]{float:left;margin-left:15px}.feedWorkoutTypeIcon[_ngcontent-%COMP%]{width:30px;float:left}.thumbsUpIcon[_ngcontent-%COMP%]{font-size:16px;margin-top:7px;z-index:10}.followMember[_ngcontent-%COMP%], .messageMember[_ngcontent-%COMP%]{float:right}.memberLivetracking[_ngcontent-%COMP%]{width:40px;margin-top:-10px}.memberProfilePhoto[_ngcontent-%COMP%]{max-width:96px;max-height:96px;margin-right:10px;float:left;border-radius:5px}.memberName[_ngcontent-%COMP%]{margin-top:0;float:right}.memberSegment[_ngcontent-%COMP%]{margin-top:20px;width:100%;float:left}.liveTrackingNowButton[_ngcontent-%COMP%]{background-color:transparent!important;float:right}@media (max-width:769px){.follow-button[_ngcontent-%COMP%]{margin-right:5px}.find-friends-button[_ngcontent-%COMP%]{margin-right:5px;margin-top:10px}.nameTitle[_ngcontent-%COMP%]{margin-top:20px}}@media(max-width:479px){.routineSegment[_ngcontent-%COMP%]{padding:10px 0 0;height:40px}}@media (max-width:460px){.workoutGraph[_ngcontent-%COMP%]{width:40px;height:40px}.tdDuration[_ngcontent-%COMP%]{min-width:0;margin-left:0}}@media (max-width:340px){.activityTitle[_ngcontent-%COMP%]{visibility:hidden;width:0;overflow:hidden;margin:0}.workoutGraph[_ngcontent-%COMP%]{width:0;height:0;visibility:hidden}.feedDate[_ngcontent-%COMP%]{clear:left;margin-left:0}}"]}),e}(),Vn=function(){function e(e,t,n){this.dialogRef=e,this.user=t,this.socialService=n,this.error=!1,this.loading=!1,this.block_txt="Block",this.Are_you_sure_txt="Are you sure?",this.cancel_txt="Cancel"}return e.prototype.block=function(){var e=this;this.socialService.block(null,this.user.accountID).subscribe(function(){e.dialogRef.close(!0)})},e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](ge.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["block-user"]],decls:18,vars:6,consts:[[1,"md-primary"],[2,"display","inline","padding-top","10px"],[2,"float","right","width","50px","text-align","right","margin-bottom","40px"],["mat-button","",1,"md-icon-button",2,"float","right",3,"click"],["mat-dialog-content",""],[2,"margin","20px"],[2,"margin","10px"],["mat-dialog-actions","","layout","row"],["mat-raised-button","","color","warn",3,"color","click"],["mat-raised-button","",3,"color","click"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-toolbar",0),i["\u0275\u0275elementStart"](1,"mat-toolbar-row",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"button",3),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275text"](4," X "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"h2"),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275elementStart"](8,"div",5),i["\u0275\u0275elementStart"](9,"div",6),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",7),i["\u0275\u0275elementStart"](12,"button",8),i["\u0275\u0275listener"]("click",function(){return t.block()}),i["\u0275\u0275elementStart"](13,"span"),i["\u0275\u0275text"](14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"button",9),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275elementStart"](16,"span"),i["\u0275\u0275text"](17),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](t.block_txt),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](t.Are_you_sure_txt),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","warn"),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](t.block_txt),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](t.cancel_txt))},directives:[C.a,C.c,k.b,g.d,g.c],encapsulation:2}),e}(),Yn=n("+ic2"),Wn=n("LvDl"),Gn=function(){function e(e){var t=this;this.eventType=void 0,this.handlers={},this.startX=0,this.startY=0,this.lastTap=0,this.doubleTapMinTimeout=300,this.tapMinTimeout=200,this.touchstartTime=0,this.i=0,this.isMousedown=!1,this._touchListeners={touchstart:"handleTouchstart",touchmove:"handleTouchmove",touchend:"handleTouchend"},this._mouseListeners={mousedown:"handleMousedown",mousemove:"handleMousemove",mouseup:"handleMouseup",wheel:"handleWheel"},this._otherListeners={resize:"handleResize"},this.handleTouchstart=function(e){t.elementPosition=t.getElementPosition(),t.touchstartTime=(new Date).getTime(),void 0===t.eventType&&t.getTouchstartPosition(e),t.runHandler("touchstart",e)},this.handleTouchmove=function(e){switch(t.detectPan(e.touches)&&t.runHandler("pan",e),t.detectPinch(e)&&t.runHandler("pinch",e),t.detectLinearSwipe(e)){case"horizontal-swipe":e.swipeType="horizontal-swipe",t.runHandler("horizontal-swipe",e);break;case"vertical-swipe":e.swipeType="vertical-swipe",t.runHandler("vertical-swipe",e)}(t.detectLinearSwipe(e)||"horizontal-swipe"===t.eventType||"vertical-swipe"===t.eventType)&&t.handleLinearSwipe(e)},this.handleTouchend=function(e){var n=e.touches;t.detectDoubleTap()&&t.runHandler("double-tap",e),t.detectTap(),t.runHandler("touchend",e),t.eventType="touchend",n&&0===n.length&&(t.eventType=void 0,t.i=0)},this.handleMousedown=function(e){t.isMousedown=!0,t.elementPosition=t.getElementPosition(),t.touchstartTime=(new Date).getTime(),void 0===t.eventType&&t.getMousedownPosition(e),t.runHandler("mousedown",e)},this.handleMousemove=function(e){if(t.isMousedown){switch(t.runHandler("pan",e),t.detectLinearSwipe(e)){case"horizontal-swipe":e.swipeType="horizontal-swipe",t.runHandler("horizontal-swipe",e);break;case"vertical-swipe":e.swipeType="vertical-swipe",t.runHandler("vertical-swipe",e)}(t.detectLinearSwipe(e)||"horizontal-swipe"===t.eventType||"vertical-swipe"===t.eventType)&&t.handleLinearSwipe(e)}},this.handleMouseup=function(e){t.detectTap(),t.isMousedown=!1,t.runHandler("mouseup",e),t.eventType=void 0,t.i=0},this.handleWheel=function(e){t.runHandler("wheel",e)},this.handleResize=function(e){t.runHandler("resize",e)},this.properties=e,this.element=this.properties.element,this.elementPosition=this.getElementPosition(),this.toggleEventListeners("addEventListener")}return Object.defineProperty(e.prototype,"touchListeners",{get:function(){return this.properties.touchListeners?this.properties.touchListeners:this._touchListeners},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"mouseListeners",{get:function(){return this.properties.mouseListeners?this.properties.mouseListeners:this._mouseListeners},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"otherListeners",{get:function(){return this.properties.otherListeners?this.properties.otherListeners:this._otherListeners},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){this.toggleEventListeners("removeEventListener")},e.prototype.toggleEventListeners=function(e){var t;for(var n in t="mouse and touch"===this.properties.listeners?Object.assign(this.touchListeners,this.mouseListeners):this.detectTouchScreen()?this.touchListeners:this.mouseListeners,this.properties.resize&&(t=Object.assign(t,this.otherListeners)),t){var i=t[n];"resize"===n?("addEventListener"===e&&window.addEventListener(n,this[i],!1),"removeEventListener"===e&&window.removeEventListener(n,this[i],!1)):"mouseup"===n||"mousemove"===n?("addEventListener"===e&&document.addEventListener(n,this[i],!1),"removeEventListener"===e&&document.removeEventListener(n,this[i],!1)):("addEventListener"===e&&this.element.addEventListener(n,this[i],!1),"removeEventListener"===e&&this.element.removeEventListener(n,this[i],!1))}},e.prototype.addEventListeners=function(e,t){window.addEventListener(e,this[t],!1)},e.prototype.removeEventListeners=function(e,t){window.removeEventListener(e,this[t],!1)},e.prototype.handleLinearSwipe=function(e){this.i++,this.i>3&&(this.eventType=this.getLinearSwipeType(e)),"horizontal-swipe"===this.eventType&&this.runHandler("horizontal-swipe",e),"vertical-swipe"===this.eventType&&this.runHandler("vertical-swipe",e)},e.prototype.runHandler=function(e,t){this.handlers[e]&&this.handlers[e](t)},e.prototype.detectPan=function(e){return 1===e.length&&!this.eventType||"pan"===this.eventType},e.prototype.detectDoubleTap=function(){var e=this;if(null==this.eventType){var t=(new Date).getTime(),n=t-this.lastTap;if(clearTimeout(this.doubleTapTimeout),n<this.doubleTapMinTimeout&&n>0)return!0;this.doubleTapTimeout=setTimeout(function(){clearTimeout(e.doubleTapTimeout)},this.doubleTapMinTimeout),this.lastTap=t}},e.prototype.detectTap=function(){if(null==this.eventType){var e=(new Date).getTime()-this.touchstartTime;e>0&&this.runHandler(e<this.tapMinTimeout?"tap":"longtap",event)}},e.prototype.detectPinch=function(e){return 2===e.touches.length&&void 0===this.eventType||"pinch"===this.eventType},e.prototype.detectLinearSwipe=function(e){var t=e.touches;if(t){if(1===t.length&&!this.eventType||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)return this.getLinearSwipeType(e)}else if(!this.eventType||"horizontal-swipe"===this.eventType||"vertical-swipe"===this.eventType)return this.getLinearSwipeType(e)},e.prototype.getLinearSwipeType=function(e){if("horizontal-swipe"!==this.eventType&&"vertical-swipe"!==this.eventType){var t=Math.abs(this.moveLeft(0,e)-this.startX);return 3*Math.abs(this.moveTop(0,e)-this.startY)>t?"vertical-swipe":"horizontal-swipe"}return this.eventType},e.prototype.getElementPosition=function(){return this.element.getBoundingClientRect()},e.prototype.getTouchstartPosition=function(e){this.startX=e.touches[0].clientX-this.elementPosition.left,this.startY=e.touches[0].clientY-this.elementPosition.top},e.prototype.getMousedownPosition=function(e){this.startX=e.clientX-this.elementPosition.left,this.startY=e.clientY-this.elementPosition.top},e.prototype.moveLeft=function(e,t){var n=t.touches;return n?n[e].clientX-this.elementPosition.left:t.clientX-this.elementPosition.left},e.prototype.moveTop=function(e,t){var n=t.touches;return n?n[e].clientY-this.elementPosition.top:t.clientY-this.elementPosition.top},e.prototype.detectTouchScreen=function(){var e,t=" -webkit- -moz- -o- -ms- ".split(" ");return"ontouchstart"in window||(e=["(",t.join("touch-enabled),("),"heartz",")"].join(""),window.matchMedia(e).matches)},e.prototype.on=function(e,t){e&&(this.handlers[e]=t)},e}(),Un=function(){function e(e,t,n,i,r){var a=this;this.properties=e,this.utils=t,this.cells=n,this.container=i,this.slide=r,this.isContentImages=!0,this.isLazyLoad=!0,this.isContainerLocked=!0,this.alignCells="left",this.initialContainerPosition=0,this.containerPullLimit=100,this.handleTouchstart=function(e){a.container.handleTouchstart(),a.slide.handleTouchstart(e)},this.handleHorizontalSwipe=function(e){a.container.handleHorizontalSwipe()},this.handleTouchend=function(e){a.properties.freeScroll?a.container.handleTouchend():(a.container.handleTouchend(!0),a.slide.handleTouchend(e))},this.isNextArrowDisabled=function(){return a.slide.isNextArrowDisabled()},this.isPrevArrowDisabled=function(){return a.slide.isPrevArrowDisabled()},this.init()}return Object.defineProperty(e.prototype,"cellLength",{get:function(){return this.cells.cellLength},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cellLengthInLightDOMMode",{get:function(){if(this.images){var e=this.visibleCellsCount+2*this.overflowCellsLimit;return e>this.images.length&&(e=this.images.length),e}return this.cellLength},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastCellIndex",{get:function(){return this.images.length?this.images.length-1:this.cells.cellLength-1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overflowCellsLimit",{get:function(){return this.images&&this.isImagesLessCellLimit?Math.floor((this.images.length-this.visibleCellsCount)/2):this.properties.overflowCellsLimit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isImagesLessCellLimit",{get:function(){return 2*this.properties.overflowCellsLimit+this.visibleCellsCount>this.images.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cellLimit",{get:function(){return this.isLightDOM?this.visibleCellsCount+2*this.overflowCellsLimit:this.properties.images.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isLightDOM",{get:function(){return this.properties.lightDOM||this.properties.loop},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"images",{get:function(){return this.properties.images},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"margin",{get:function(){return this.properties.margin},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minSwipeDistance",{get:function(){return this.properties.minSwipeDistance},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitionDuration",{get:function(){return this.properties.transitionDuration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitionTimingFunction",{get:function(){return this.properties.transitionTimingFunction},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fullCellWidth",{get:function(){return this.properties.cellWidth+this.margin},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visibleCellsCount",{get:function(){return Math.ceil(this.visibleWidth/this.fullCellWidth)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lapCounter",{get:function(){return Math.floor(this.slide.counter/this.cellLengthInLightDOMMode)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slideCounter",{get:function(){return this.slide.counter},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.cellsElement=this.properties.cellsElement,this.visibleWidth=this.properties.visibleWidth||this.cellsElement.parentElement.clientWidth},e.prototype.lineUpCells=function(){this.cells.lineUp()},e.prototype.handleTransitionend=function(){this.slide.handleTransitionend()},e.prototype.getImage=function(e){return this.cells.getImage(e)},e.prototype.next=function(e){void 0===e&&(e=1),this.isNextArrowDisabled()||this.slide.next(e)},e.prototype.prev=function(e){void 0===e&&(e=1),this.slide.prev(e)},e.prototype.select=function(e){this.slide.select(e)},e.prototype.autoplay=function(){var e=this;this.autoplayId=setInterval(function(){e.next()},this.properties.autoplayInterval)},e.prototype.stopAutoplay=function(){this.autoplayId&&clearInterval(this.autoplayId)},e}(),qn=function(){function e(e,t,n){this.carouselProperties=e,this.utils=t,this.cells=n,this.newPositionIndex=0,this.initialPositionX=0,this.initialElementPositionX=0,this.isLocked=!0,this.pullLimit=100,this.init()}return Object.defineProperty(e.prototype,"visibleWidth",{get:function(){return this.utils.visibleWidth},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overflowCellsLimit",{get:function(){return this.utils.overflowCellsLimit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"images",{get:function(){return this.carouselProperties.images},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this.carouselProperties.cellsElement},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"freeScroll",{get:function(){return this.carouselProperties.freeScroll},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fullCellWidth",{get:function(){return this.carouselProperties.cellWidth+this.carouselProperties.margin},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visibleCellsCount",{get:function(){return Math.ceil(this.visibleWidth/this.fullCellWidth)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitionDuration",{get:function(){return this.carouselProperties.transitionDuration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitionTimingFunction",{get:function(){return this.carouselProperties.transitionTimingFunction},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cellLength",{get:function(){return this.images?this.images.length:this.cells.cellLength},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cellLengthInLightDOMMode",{get:function(){if(this.images){var e=this.visibleCellsCount+2*this.overflowCellsLimit;return e>this.images.length&&(e=this.images.length),e}return this.cellLength},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"tooFewCells",{get:function(){return this.visibleCellsCount>this.cellLength},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.tooFewCells},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"margin",{get:function(){return this.carouselProperties.margin},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isLightDOM",{get:function(){return this.carouselProperties.lightDOM||this.carouselProperties.loop},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.setWidth()},e.prototype.handleTouchstart=function(){this.startX=this.utils.getStartX(event),this.startTime=(new Date).getTime(),this.initialElementPositionX=this.getInitialElementPositionX()},e.prototype.handleHorizontalSwipe=function(){this.disabled||(this.isSwipeInProgress||(this.startX=this.utils.getStartX(event),this.startTime=(new Date).getTime(),this.initialElementPositionX=this.getInitialElementPositionX()),this.isSwipeInProgress=!0,this.moveX=this.utils.getMoveX(event),this.move())},e.prototype.handleTouchend=function(e){void 0===e&&(e=!1),this.disabled||(e?this.isSwipeInProgress=!1:(this.isSwipeInProgress=!1,this.finishMoving(),this.clearInitialValues()))},e.prototype.move=function(){var e=this.getMovePositionX(),t=this.detectPulled(),n=this.getDirection();t&&("left"===t.edge&&"right"===n||"right"===t.edge&&"left"===n)&&(e=this.slowdownOnPull(e)),this.transformPositionX(e,0),this.freeScroll&&(this.initialPositionX=e),t&&("left"===t.edge&&t.overflowX>this.pullLimit&&(this.initialPositionX=0),"right"===t.edge&&t.overflowX>this.pullLimit&&(this.initialPositionX=e))},e.prototype.getMovePositionX=function(){var e=this.getDistance();return this.initialElementPositionX-e},e.prototype.getDistance=function(){return this.startX-this.moveX},e.prototype.detectPulled=function(){var e=this.getCurrentPositionX();return e>0?{edge:"left",positionX:e,overflowX:Math.abs(e)}:e<this.getEndPosition()?{edge:"right",positionX:e,overflowX:Math.abs(e-this.getEndPosition())}:void 0},e.prototype.slowdownOnPull=function(e){var t,n=Math.abs(this.getDistance()),i=this.getEndPosition(),r=this.detectPulled(),a=3+r.overflowX/50;if("left"===r.edge&&(this.initialElementPositionX<0&&(n-=Math.abs(this.initialElementPositionX)),t=o=n/a,this.initialElementPositionX>0&&(t=this.initialElementPositionX+o),t>this.pullLimit&&(t=this.pullLimit)),"right"===r.edge){var o=i+(this.initialElementPositionX-n-i)/a,s=this.getWidth();t=o,this.initialElementPositionX<-(s-this.visibleWidth)&&(t=s-this.visibleWidth+this.initialElementPositionX+o),t<i-this.pullLimit&&(t=i-this.pullLimit)}return t},e.prototype.finishMoving=function(){var e,t=this.getMovePositionX();this.freeScroll&&(e=this.getInertia()),e=this.getAlignedPositionOnPull(e),this.transformPositionX(e),this.setInitialPosition(t)},e.prototype.getInertia=function(){var e=this.getDistance(),t=(new Date).getTime();return this.initialPositionX-e/(t-this.startTime)*100},e.prototype.getAlignedPositionOnPull=function(e){var t=this.getDirection();if("left"===t){var n=this.getEndPosition();if(e<n)return n}return"right"===t&&e>0?0:e},e.prototype.getCurrentPositionX=function(){var e=this.element.parentElement.getBoundingClientRect();return this.element.getBoundingClientRect().left-e.left},e.prototype.getEndPosition=function(){if(this.isLightDOM)return-(this.cells.imageUtils.getImages().length*this.fullCellWidth-this.visibleWidth-this.margin);var e=this.getWidth();return this.element.parentElement.clientWidth-e},e.prototype.transformPositionX=function(e,t){void 0===t&&(t=this.transitionDuration),void 0!==e&&(this.element.style.transition="transform "+t+"ms "+this.transitionTimingFunction,this.element.style.transform="translateX("+e+"px)")},e.prototype.getWidth=function(){var e=this.cellLengthInLightDOMMode*this.fullCellWidth,t=this.cellLength*this.fullCellWidth;return t<e&&(e=t),this.isLightDOM?e:t},e.prototype.setWidth=function(){var e=this.getWidth();this.element.style.width=e+"px"},e.prototype.setInitialPosition=function(e){this.initialPositionX=e},e.prototype.getElementPosition=function(){return this.element.getBoundingClientRect()},e.prototype.getInitialElementPositionX=function(){var e=this.utils.getCarouselElementPosition().left;return this.getElementPosition().left-e},e.prototype.clearInitialValues=function(){this.startX=this.moveX=void 0},e.prototype.getDirection=function(){var e=Math.sign(this.startX-this.moveX);return-1===e?"right":1===e?"left":void 0},e}(),Zn=function(){function e(e){this.element=e}return e.prototype.getImages=function(){return this.cellStack.filter(this.filter)},e.prototype.comparePositions=function(e,t){return e.positionX<t.positionX?-1:e.positionX>t.positionX?1:0},e.prototype.filter=function(e){return void 0!==e.img},e}(),$n=function(){function e(e,t){this.carouselProperties=e,this.utils=t,this.counter=0,this.imageUtils=new Zn(this.element),this.init(e)}return Object.defineProperty(e.prototype,"images",{get:function(){return this.carouselProperties.images},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cellLength",{get:function(){return this.cells.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fullCellWidth",{get:function(){return this.carouselProperties.cellWidth+this.carouselProperties.margin},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cellLengthInLightDOMMode",{get:function(){if(this.images){var e=this.visibleCellsCount+2*this.utils.overflowCellsLimit;return e>this.images.length&&(e=this.images.length),e}return this.cellLength},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visibleCellsCount",{get:function(){return Math.ceil(this.visibleWidth/this.fullCellWidth)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overflowCellsLimit",{get:function(){return this.carouselProperties.overflowCellsLimit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isLightDOM",{get:function(){return this.carouselProperties.lightDOM||this.carouselProperties.loop},enumerable:!1,configurable:!0}),e.prototype.lineUp=function(){var e=this.element.children;this.imageUtils.cellStack=[];for(var t=0;t<e.length;t++){var n=e[t],i=this.getCellPositionInContainer(t);n.style.transform="translateX("+i+"px)",n.style.width=this.carouselProperties.cellWidth+"px",this.getImage(t)&&this.imageUtils.cellStack.push({index:t,positionX:i,img:this.getImage(t).image})}},e.prototype.ifSequenceOfCellsIsChanged=function(){return"translateX(0px)"!==this.element.children[0].style.transform},e.prototype.getCellPositionInContainer=function(e){return this.getCellIndexInContainer(e)*this.fullCellWidth},e.prototype.getCellIndexInContainer=function(e){var t;if(!this.isLightDOM)return e;var n=this.cellLengthInLightDOMMode,i=this.counter-this.carouselProperties.overflowCellsLimit;return i>n&&(i%=n),i<0?e:((t=e-i)<0&&(t=n+t),t)},e.prototype.getImage=function(e){if(this.images){var t=this.getImageIndex(e),n=this.images[t];return n&&!n.type&&(n.type="image"),{image:this.images[t],imageIndex:t}}},e.prototype.getImageIndex=function(e){var t,n=this.getCellIndexInContainer(e),i=this.carouselProperties.overflowCellsLimit;return this.counter>i?(t=n+(this.counter-i),this.images&&this.carouselProperties.loop&&(t%=this.images.length)):t=e,t},e.prototype.setCounter=function(e){this.counter=e},e.prototype.init=function(e){this.element=this.carouselProperties.cellsElement,this.cells=this.element.children,this.visibleWidth=this.carouselProperties.visibleWidth||this.element.parentElement.clientWidth},e}(),Xn=function(){function e(e,t,n,i){this.carouselProperties=e,this.utils=t,this.cells=n,this.container=i,this.counter=0,this._counter=0,this.initialPositionX=0,this.currentPositionX=0,this.init()}return Object.defineProperty(e.prototype,"fullCellWidth",{get:function(){return this.carouselProperties.cellWidth+this.carouselProperties.margin},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"margin",{get:function(){return this.carouselProperties.margin},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"minSwipeDistance",{get:function(){return this.carouselProperties.minSwipeDistance},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visibleCellsCount",{get:function(){return Math.ceil(this.visibleWidth/this.fullCellWidth)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visibleCellsOverflowContainer",{get:function(){return this.visibleCellsCount*this.fullCellWidth-this.margin>this.visibleWidth},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fixedContainerPosition",{get:function(){return-this.overflowCellsLimit*this.fullCellWidth},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overflowCellsLimit",{get:function(){return this.carouselProperties.overflowCellsLimit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"images",{get:function(){return this.carouselProperties.images},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cellLength",{get:function(){return this.isLightDOM?this.cells.cellLengthInLightDOMMode:this.images?this.images.length:this.cells.cellLength},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isLightDOM",{get:function(){return this.carouselProperties.lightDOM||this.carouselProperties.loop},enumerable:!1,configurable:!0}),e.prototype.init=function(){this.visibleWidth=this.carouselProperties.visibleWidth||this.carouselProperties.hostElement.clientWidth},e.prototype.handleTouchstart=function(e){this.isNotClickOnArrow=!0,this.isSlideLengthLimited=void 0,this.isSlideInProgress||(this.initialPositionX=this.container.getCurrentPositionX())},e.prototype.handleTouchend=function(e){this.isNotClickOnArrow&&(this.currentPositionX=this.container.getCurrentPositionX(),this.distanceAbs=Math.abs(this.initialPositionX-this.currentPositionX),this.distance=this.initialPositionX-this.currentPositionX,this.direction=this.getDirection(),this.isNotClickOnArrow=void 0,this.handleSlide())},e.prototype.handleTransitionend=function(){this.setCounter(),this.isSlideInProgress=!1,this.isLightDOM&&this.alignContainerFast()},e.prototype.detectClickOnArrow=function(e){return e.target.classList.contains("carousel-arrow")},e.prototype.handleSlide=function(e){var t;if(void 0===e&&(e=void 0),!(e&&this.isSlideInProgress||!this.direction)){if(e?(this.slideLength=this.limitSlideLength(e),this.isSlideInProgress||(this.initialPositionX=this.container.getCurrentPositionX())):this.slideLength=this.getSlideLength(this.distanceAbs),this._counter=this.getPreliminaryCounter(),"left"===this.direction){e||(this.slideLength=this.limitSlideLength(this.getSlideLength(this.distanceAbs))),this._counter=this.getPreliminaryCounter();var n=this.isSlidesEnd(this._counter);t=this.getPositionByIndex(this._counter),n&&(this._counter=this.counter,t=this.getPositionByIndex(this.counter),this.slideLength=0)}"right"===this.direction&&(e||(this.slideLength=this.getSlideLength(this.distanceAbs)),this._counter<0&&(this._counter=this.counter,this.slideLength=this.counter),t=this.getPositionByIndex(this.counter-this.slideLength)),this.container.getCurrentPositionX()!==t&&(this.isSlideInProgress=!0,this.container.transformPositionX(t))}},e.prototype.next=function(e){void 0===e&&(e=1),this.direction="left",this.handleSlide(e)},e.prototype.prev=function(e){void 0===e&&(e=1),this.direction="right",this.handleSlide(e)},e.prototype.select=function(e){e>this.cellLength-1||(e>this.counter&&this.next(e-this.counter),e<this.counter&&this.prev(this.counter-e))},e.prototype.getPreliminaryCounter=function(){return"left"===this.direction?this.counter+this.slideLength:"right"===this.direction?this.counter-this.slideLength:void 0},e.prototype.limitSlideLength=function(e){if(e>1)for(var t=0;t<e;t++)if(!this.isSlidesEnd(this.counter+(e-t))){e-=t,this.isSlideLengthLimited=t>0;break}return e},e.prototype.getPositionCorrection=function(e){var t=0,n=this.isLastSlide(e);return this.carouselProperties.loop||"right"===this.direction?0:((this.isSlideLengthLimited||n)&&(this.visibleWidth<this.cells.cellLengthInLightDOMMode*this.fullCellWidth&&(t=-(this.visibleCellsCount*this.fullCellWidth-this.visibleWidth-this.margin)),t>=-this.margin&&(t=0)),t)},e.prototype.getSlideLength=function(e){this.isLastSlide(this.counter)&&"right"===this.direction&&(e+=this.visibleWidth%this.fullCellWidth);var t=Math.floor(e/this.fullCellWidth);return e%this.fullCellWidth>=this.minSwipeDistance&&t++,t},e.prototype.getDistanceAbs=function(){return Math.abs(this.initialPositionX-this.currentPositionX)},e.prototype.getDirection=function(){var e=Math.sign(this.initialPositionX-this.currentPositionX);return-1===e?"right":1===e?"left":void 0},e.prototype.isSlidesEnd=function(e){return!this.carouselProperties.loop&&(this.images?this.images.length:this.cells.cellLength)-e+(this.visibleCellsOverflowContainer?1:0)<this.visibleCellsCount},e.prototype.isLastSlide=function(e){return this.isSlidesEnd(e+1)},e.prototype.setCounter=function(){"left"===this.direction&&(this.counter=this.counter+this.slideLength),"right"===this.direction&&(this.counter=this.counter-this.slideLength)},e.prototype.getPositionByIndex=function(e){var t,n=this.getPositionCorrection(this.counter+this.slideLength);return 0!==n&&(n+=this.fullCellWidth),"right"===this.direction&&(n=0),t=this.isLightDOM&&this.isLightDOMMode(e)||this.isLightDOM&&this.ifLeftDOMModeAtEnd(e)?this.getPositionWithoutCorrection(this.initialPositionX)-((e-this.counter)*this.fullCellWidth-n):-(e*this.fullCellWidth-n),this.provideSafePosition(t)},e.prototype.provideSafePosition=function(e){var t=this.container.getEndPosition();return"left"===this.direction&&e>0&&(e=0),"right"===this.direction&&e<t&&(e=t),e},e.prototype.getPositionWithoutCorrection=function(e){var t=e%this.fullCellWidth;return 0!==t?e-(this.fullCellWidth+t):e},e.prototype.isNextArrowDisabled=function(){return this.isLastSlide(this.counter)},e.prototype.isPrevArrowDisabled=function(){return 0===this.counter},e.prototype.alignContainerFast=function(){if(this.isLightDOMMode(this.counter))this.container.transformPositionX(this.fixedContainerPosition,0),this.cells.setCounter(this.counter),this.cells.lineUp();else if(this.ifLeftDOMModeToBeginning(this.counter))this.cells.ifSequenceOfCellsIsChanged()&&(this.container.transformPositionX(-this.counter*this.fullCellWidth,0),this.cells.setCounter(this.counter),this.cells.lineUp());else if(this.ifLeftDOMModeAtEnd(this.counter)){var e=this.container.getCurrentPositionX(),t=this.container.getWidth();if(this.isLastSlide(this.counter)&&t+e>=this.visibleWidth)return;var n=this.getPositionCorrection(this.counter);0!==n&&(n+=this.fullCellWidth),"right"===this.direction&&(n=0),this.container.transformPositionX(this.fixedContainerPosition+n,0),this.cells.setCounter(this.counter),this.cells.lineUp()}},e.prototype.isLightDOMMode=function(e){var t,n=this.images.length-this.overflowCellsLimit-this.visibleCellsCount;return!!this.isLightDOM&&(e>this.overflowCellsLimit&&"left"===this.direction&&e<=n&&(t=!0),e>=this.overflowCellsLimit&&"right"===this.direction&&e<n&&(t=!0),this.counter>this.overflowCellsLimit&&"left"===this.direction&&this.counter<=n&&(t=!0),this.counter>=this.overflowCellsLimit&&"right"===this.direction&&this.counter<n&&(t=!0),t)},e.prototype.ifLeftDOMModeAtEnd=function(e){var t,n=this.images.length-this.overflowCellsLimit-this.visibleCellsCount;return e>=n&&(t=!0),this.counter>=n&&(t=!0),t},e.prototype.ifLeftDOMModeToBeginning=function(e){var t;return e<=this.overflowCellsLimit&&(t=!0),this.counter<=this.overflowCellsLimit&&(t=!0),t},e}(),Kn=function(){function e(e){this.carouselProperties=e}return Object.defineProperty(e.prototype,"images",{get:function(){return this.carouselProperties.images},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overflowCellsLimit",{get:function(){return this.images&&this.isImagesLessCellLimit?Math.floor((this.images.length-this.visibleCellsCount)/2):this.carouselProperties.overflowCellsLimit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isImagesLessCellLimit",{get:function(){return 2*this.carouselProperties.overflowCellsLimit+this.visibleCellsCount>this.images.length},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visibleCellsCount",{get:function(){return Math.ceil(this.visibleWidth/this.fullCellWidth)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fullCellWidth",{get:function(){return this.carouselProperties.cellWidth+this.carouselProperties.margin},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"visibleWidth",{get:function(){return this.carouselProperties.visibleWidth||this.carouselProperties.cellsElement.parentElement.clientWidth},enumerable:!1,configurable:!0}),e.prototype.getStartX=function(e){var t=e.touches,n=this.getCarouselElementPosition().left;return t?t[0].clientX-n:e.clientX-n},e.prototype.getMoveX=function(e){var t=e.touches,n=this.getCarouselElementPosition().left;return t?t[0].clientX-n:e.clientX-n},e.prototype.getCarouselElementPosition=function(){return this.carouselProperties.hostElement.getBoundingClientRect()},e}();function Jn(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",7),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.counter)}}function Qn(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",11),2&e){var n=i["\u0275\u0275nextContext"](2).index,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275styleProp"]("object-fit",r.objectFit),i["\u0275\u0275property"]("src",r.getImage(n).image.path,i["\u0275\u0275sanitizeUrl"])}}function ei(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",9),i["\u0275\u0275template"](1,Qn,1,3,"img",10),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().index,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275styleProp"]("width",r.getCellWidth()+"px")("border-radius",r.borderRadius+"px"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.getImage(n)&&r.getImage(n).image)}}function ti(e,t){if(1&e&&i["\u0275\u0275template"](0,ei,2,5,"div",8),2&e){var n=t.index,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngIf",n<r.cellLimit)}}function ni(e,t){if(1&e&&i["\u0275\u0275element"](0,"div",14),2&e){var n=t.index,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275classProp"]("carousel-dot-active",n===r.activeDotIndex)}}function ii(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275template"](1,ni,1,2,"div",13),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.dotsArr)}}function ri(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275elementStart"](1,"div",16),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().prev()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](2,"div",17),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().next()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275classProp"]("carousel-arrows-outside",r.arrowsOutside)("carousel-dark-arrows","dark"===r.arrowsTheme),i["\u0275\u0275advance"](1),i["\u0275\u0275classProp"]("carousel-arrow-disabled",r.isPrevArrowDisabled()),i["\u0275\u0275advance"](1),i["\u0275\u0275classProp"]("carousel-arrow-disabled",r.isNextArrowDisabled())}}var ai=["*"],oi=function(){function e(e,t){var n=this;this.elementRef=e,this.ref=t,this.minTimeout=30,this._cellWidth=200,this._loop=!1,this._lightDOM=!1,this.events=new i.EventEmitter,this.height=200,this.autoplay=!1,this.autoplayInterval=5e3,this.pauseOnHover=!0,this.dots=!1,this.margin=10,this.objectFit="cover",this.minSwipeDistance=10,this.transitionDuration=200,this.transitionTimingFunction="ease-out",this.counterSeparator=" / ",this.overflowCellsLimit=3,this.listeners="mouse and touch",this.cellsToScroll=1,this.freeScroll=!1,this.arrows=!0,this.arrowsTheme="light",this.hostClassCarousel=!0,this.handleTouchstart=function(e){n.touches.addEventListeners("mousemove","handleMousemove"),n.carousel.handleTouchstart(e),n.isMoving=!0,n.events.emit({name:"touchstart",event:e})},this.handleHorizontalSwipe=function(e){e.preventDefault(),n.carousel.handleHorizontalSwipe(e),n.events.emit({name:"move",event:e})},this.handleTouchend=function(e){n.carousel.handleTouchend(e),n.touches.removeEventListeners("mousemove","handleMousemove"),n.isMoving=!1,n.events.emit({name:"touchend",event:e})},this.handleTap=function(e){var t={name:"click"},i=Array.prototype.slice.call(n.cellsElement.children),r=e.srcElement.closest(".carousel-cell"),a=(i.indexOf(r),i.indexOf(r));n.images||(t.cellIndex=a),n.events.emit(t)}}return Object.defineProperty(e.prototype,"isContainerLocked",{get:function(){return this.carousel.isContainerLocked},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slideCounter",{get:function(){return this.carousel.slideCounter},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lapCounter",{get:function(){return this.carousel.lapCounter},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isLandscape",{get:function(){return window.innerWidth>window.innerHeight},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSafari",{get:function(){var e=navigator.userAgent.toLowerCase();if(-1!==e.indexOf("safari"))return!(e.indexOf("chrome")>-1)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"counter",{get:function(){return(this.loop?this.slideCounter%this.cellLength:this.slideCounter)+1+this.counterSeparator+this.cellLength},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cellsElement",{get:function(){return this.elementRef.nativeElement.querySelector(".carousel-cells")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isArrows",{get:function(){return this.arrows&&!this.freeScroll},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isCounter",{get:function(){return this._isCounter&&this.cellLength>1},set:function(e){e&&(this._isCounter=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeDotIndex",{get:function(){return this.slideCounter%this.cellLength},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cellLimit",{get:function(){if(this.carousel)return this.carousel.cellLimit},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"images",{get:function(){return this._images},set:function(e){this._images=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cellWidth",{set:function(e){e&&(this._cellWidth=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"loop",{get:function(){return!!this.images&&this._loop},set:function(e){e&&(this._loop=e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lightDOM",{get:function(){return!!this.images&&this._lightDOM},set:function(e){e&&(this._lightDOM=e)},enumerable:!1,configurable:!0}),e.prototype.onWindowResize=function(e){this.landscapeMode=this.isLandscape,this.ref.detectChanges(),this.initCarousel(),this.carousel.lineUpCells()},e.prototype.onMousemove=function(e){this.autoplay&&this.pauseOnHover&&this.carousel.stopAutoplay()},e.prototype.onMouseleave=function(e){this.autoplay&&this.pauseOnHover&&this.carousel.autoplay()},e.prototype.ngOnInit=function(){this.isNgContent=this.cellsElement.children.length>0,this.touches=new Gn({element:this.cellsElement,listeners:this.listeners,mouseListeners:{mousedown:"handleMousedown",mouseup:"handleMouseup"}}),this.touches.on("touchstart",this.handleTouchstart),this.touches.on("horizontal-swipe",this.handleHorizontalSwipe),this.touches.on("touchend",this.handleTouchend),this.touches.on("mousedown",this.handleTouchstart),this.touches.on("mouseup",this.handleTouchend),this.touches.on("tap",this.handleTap),this.setDimensions()},e.prototype.ngAfterViewInit=function(){this.initCarousel(),this.autoplay&&this.carousel.autoplay(),this.cellLength=this.getCellLength(),this.dotsArr=Array(this.cellLength).fill(1),this.ref.detectChanges(),this.carousel.lineUpCells(),this.events.emit({name:"ready"}),this.detectDomChanges()},e.prototype.ngOnChanges=function(e){(e.width||e.height||e.images)&&(this.setDimensions(),this.initCarousel(),this.carousel.lineUpCells(),this.ref.detectChanges())},e.prototype.ngOnDestroy=function(){this.touches.destroy()},e.prototype.initCarousel=function(){var e={id:this.id,cellsElement:this.elementRef.nativeElement.querySelector(".carousel-cells"),hostElement:this.elementRef.nativeElement,images:this.images,cellWidth:this.getCellWidth(),loop:this.loop,autoplayInterval:this.autoplayInterval,overflowCellsLimit:this.overflowCellsLimit,visibleWidth:this.width,margin:this.margin,minSwipeDistance:this.minSwipeDistance,transitionDuration:this.transitionDuration,transitionTimingFunction:this.transitionTimingFunction,videoProperties:this.videoProperties,eventHandler:this.events,freeScroll:this.freeScroll,lightDOM:this.lightDOM};this.utils=new Kn(e),this.cells=new $n(e,this.utils),this.container=new qn(e,this.utils,this.cells),this.slide=new Xn(e,this.utils,this.cells,this.container),this.carousel=new Un(e,this.utils,this.cells,this.container,this.slide)},e.prototype.detectDomChanges=function(){var e=this;new MutationObserver(function(t){e.onDomChanges()}).observe(this.elementRef.nativeElement,{attributes:!0,childList:!0,characterData:!0})},e.prototype.onDomChanges=function(){this.cellLength=this.getCellLength(),this.carousel.lineUpCells(),this.ref.detectChanges()},e.prototype.setDimensions=function(){this.hostStyleHeight=this.height+"px",this.hostStyleWidth=this.width+"px"},e.prototype.getImage=function(e){return this.carousel.getImage(e)},e.prototype.handleTransitionendCellContainer=function(e){this.carousel.handleTransitionend(),this.events.emit({name:"transitionend"})},e.prototype.toggleVideo=function(e){event.preventDefault(),this.videoProperties.noPlay||(e.paused?(e.play(),this.isVideoPlaying=!0):(e.pause(),this.isVideoPlaying=!1),this.ref.detectChanges())},e.prototype.getCellWidth=function(){var e=this.elementRef.nativeElement.clientWidth;return this.cellsToShow?(e-(this.cellsToShow>1?this.margin:0)*(this.cellsToShow-1))/this.cellsToShow:"100%"===this._cellWidth?e:this._cellWidth},e.prototype.next=function(){this.carousel.next(this.cellsToScroll),this.carousel.stopAutoplay(),this.events.emit({name:"next"})},e.prototype.prev=function(){this.carousel.prev(this.cellsToScroll),this.carousel.stopAutoplay(),this.events.emit({name:"previous"})},e.prototype.select=function(e){this.carousel.select(e)},e.prototype.play=function(){this.carousel.autoplay()},e.prototype.stop=function(){this.carousel.stopAutoplay()},e.prototype.isNextArrowDisabled=function(){if(this.carousel)return this.carousel.isNextArrowDisabled()},e.prototype.isPrevArrowDisabled=function(){if(this.carousel)return this.carousel.isPrevArrowDisabled()},e.prototype.getCellLength=function(){return this.images?this.images.length:this.cellsElement.children.length},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["carousel"],["","carousel",""]],hostVars:6,hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("resize",function(e){return t.onWindowResize(e)},!1,i["\u0275\u0275resolveWindow"])("mousemove",function(e){return t.onMousemove(e)})("mouseleave",function(e){return t.onMouseleave(e)}),2&e&&(i["\u0275\u0275styleProp"]("height",t.hostStyleHeight)("width",t.hostStyleWidth),i["\u0275\u0275classProp"]("carousel",t.hostClassCarousel))},inputs:{id:"id",height:"height",width:"width",autoplay:"autoplay",autoplayInterval:"autoplayInterval",pauseOnHover:"pauseOnHover",dots:"dots",borderRadius:"borderRadius",margin:"margin",objectFit:"objectFit",minSwipeDistance:"minSwipeDistance",transitionDuration:"transitionDuration",transitionTimingFunction:"transitionTimingFunction",videoProperties:"videoProperties",counterSeparator:"counterSeparator",overflowCellsLimit:"overflowCellsLimit",listeners:"listeners",cellsToShow:"cellsToShow",cellsToScroll:"cellsToScroll",freeScroll:"freeScroll",arrows:"arrows",arrowsOutside:"arrowsOutside",arrowsTheme:"arrowsTheme",images:"images",cellWidth:"cellWidth",isCounter:["counter","isCounter"],loop:"loop",lightDOM:"lightDOM"},outputs:{events:"events"},exportAs:["carousel"],features:[i["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:ai,decls:8,vars:6,consts:[["class","carousel-counter",4,"ngIf"],[1,"carousel-container"],[1,"carousel-cells",3,"transitionend"],["cells",""],["ngFor","",3,"ngForOf"],["class","carousel-dots",4,"ngIf"],["class","carousel-arrows",3,"carousel-arrows-outside","carousel-dark-arrows",4,"ngIf"],[1,"carousel-counter"],["class","carousel-cell",3,"width","border-radius",4,"ngIf"],[1,"carousel-cell"],["draggable","false",3,"src","object-fit",4,"ngIf"],["draggable","false",3,"src"],[1,"carousel-dots"],["class","carousel-dot",3,"carousel-dot-active",4,"ngFor","ngForOf"],[1,"carousel-dot"],[1,"carousel-arrows"],[1,"carousel-arrow","carousel-arrow-prev",3,"click"],[1,"carousel-arrow","carousel-arrow-next",3,"click"]],template:function(e,t){1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275template"](0,Jn,2,1,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2,3),i["\u0275\u0275listener"]("transitionend",function(e){return t.handleTransitionendCellContainer(e)}),i["\u0275\u0275projection"](4),i["\u0275\u0275template"](5,ti,1,1,"ng-template",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,ii,2,1,"div",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,ri,3,8,"div",6)),2&e&&(i["\u0275\u0275property"]("ngIf",t.isCounter),i["\u0275\u0275advance"](1),i["\u0275\u0275classProp"]("carousel-moving",t.isMoving),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngForOf",t.images),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.dots),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.isArrows))},directives:[y.NgIf,y.NgForOf],styles:["[_nghost-%COMP%]{position:relative;display:block;top:0;left:0;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:10000;transform-origin:top left;box-sizing:border-box}[_nghost-%COMP%]   .carousel-container[_ngcontent-%COMP%]{overflow:hidden;width:100%;height:100%;cursor:grab}[_nghost-%COMP%]   .carousel-container.carousel-moving[_ngcontent-%COMP%]{cursor:grabbing}[_nghost-%COMP%]   .carousel-counter[_ngcontent-%COMP%]{text-align:right;position:absolute;z-index:30;transition:opacity .2s;top:8px;right:24px;border-radius:13px;background-color:rgba(23,37,68,.3);font-size:11px;color:#fff;padding:5px 7px;line-height:normal}[_nghost-%COMP%]     .carousel-cells{transition:transform .2s;width:100%;height:100%;display:block;will-change:transform}[_nghost-%COMP%]     .carousel-cells .carousel-cell.swiper-prev-image{transform:translate3d(-100%,0,0)}[_nghost-%COMP%]     .carousel-cells .carousel-cell.swiper-next-image{transform:translate3d(100%,0,0)}[_nghost-%COMP%]     .carousel-cells .carousel-cell{width:100%;height:100%;position:absolute;overflow:hidden}[_nghost-%COMP%]     .carousel-cells .carousel-cell img, [_nghost-%COMP%]     .carousel-cells .carousel-cell video{width:100%;height:100%;position:relative;-o-object-fit:contain;object-fit:contain}[_nghost-%COMP%]     .carousel-cells .carousel-cell img.swiper-hide{display:none}[_nghost-%COMP%]     .carousel-cells .carousel-cell .carousel-play{position:absolute;top:0;left:0;bottom:0;right:0;z-index:1}[_nghost-%COMP%]   .carousel-arrow[_ngcontent-%COMP%]{width:40px;height:40px;background-color:#fff;background-repeat:no-repeat;background-size:31px;background-position:50%;border-radius:100px;position:absolute;top:50%;margin-top:-20px;z-index:10;cursor:pointer;box-shadow:0 0 5px rgba(0,0,0,.15)}[_nghost-%COMP%]   .carousel-arrow-prev[_ngcontent-%COMP%]{left:10px;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0Ij48cGF0aCBkPSJNMTUuNDEgMTYuNTlMMTAuODMgMTJsNC41OC00LjU5TDE0IDZsLTYgNiA2IDYgMS40MS0xLjQxeiIvPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMFYweiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==)}[_nghost-%COMP%]   .carousel-arrow-next[_ngcontent-%COMP%]{right:10px;background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0Ij48cGF0aCBkPSJNOC41OSAxNi41OUwxMy4xNyAxMiA4LjU5IDcuNDEgMTAgNmw2IDYtNiA2LTEuNDEtMS40MXoiLz48cGF0aCBkPSJNMCAwaDI0djI0SDBWMHoiIGZpbGw9Im5vbmUiLz48L3N2Zz4=)}[_nghost-%COMP%]   .carousel-arrows-outside[_ngcontent-%COMP%]   .carousel-arrow-prev[_ngcontent-%COMP%]{left:-60px}[_nghost-%COMP%]   .carousel-arrows-outside[_ngcontent-%COMP%]   .carousel-arrow-next[_ngcontent-%COMP%]{right:-60px}[_nghost-%COMP%]   .carousel-dark-arrows[_ngcontent-%COMP%]   .carousel-arrow[_ngcontent-%COMP%]{filter:invert(1)}[_nghost-%COMP%]   .carousel-arrow-disabled[_ngcontent-%COMP%]{cursor:default;opacity:.5}[_nghost-%COMP%]   .carousel-dots[_ngcontent-%COMP%]{position:absolute;left:0;right:0;bottom:0;z-index:10;text-align:center}[_nghost-%COMP%]   .carousel-dots[_ngcontent-%COMP%]   .carousel-dot[_ngcontent-%COMP%]{display:inline-block;border:2px solid #fff;border-radius:100px;margin:4px;width:8px;height:8px}[_nghost-%COMP%]   .carousel-dots[_ngcontent-%COMP%]   .carousel-dot-active[_ngcontent-%COMP%]{background-color:#fff}"]}),e}(),si=n("kAVD");function li(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",9),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).router.navigate(["/video_search"])}),i["\u0275\u0275elementStart"](1,"div",17),i["\u0275\u0275text"](2,"add_circle"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",11),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,1,"ROOT.Create YouTube Workout")))}function ci(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",9),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).router.navigate(["/myroutines/create"])}),i["\u0275\u0275elementStart"](1,"div",17),i["\u0275\u0275text"](2,"add_circle"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",11),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,1,"ROOT.Create Routine")))}function di(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",11),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Table View")))}function ui(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",11),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Carousel View")))}function pi(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",18),i["\u0275\u0275element"](1,"img",19),i["\u0275\u0275elementStart"](2,"strong"),i["\u0275\u0275elementStart"](3,"h4",20),i["\u0275\u0275text"](4,"Browse Workouts"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function hi(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",21),i["\u0275\u0275element"](1,"img",19),i["\u0275\u0275elementStart"](2,"strong"),i["\u0275\u0275elementStart"](3,"h4",20),i["\u0275\u0275text"](4,"Browse Workouts"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function mi(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",3),i["\u0275\u0275elementStart"](1,"div",4),i["\u0275\u0275elementStart"](2,"button",5),i["\u0275\u0275listener"]("click",function(e){return e.stopPropagation()}),i["\u0275\u0275elementStart"](3,"mat-icon",6),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275text"](5,"more_horiz"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"mat-menu",7,8),i["\u0275\u0275elementStart"](8,"button",9),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().router.navigate(["/routines_search"])}),i["\u0275\u0275elementStart"](9,"div",10),i["\u0275\u0275text"](10,"search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"span",11),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,li,6,3,"button",12),i["\u0275\u0275template"](15,ci,6,3,"button",12),i["\u0275\u0275elementStart"](16,"button",9),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.tableView=!e.tableView}),i["\u0275\u0275elementStart"](17,"div",10),i["\u0275\u0275text"](18,"view_list"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](19,di,3,3,"span",13),i["\u0275\u0275template"](20,ui,3,3,"span",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"button",9),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().router.navigate(["/routes"])}),i["\u0275\u0275elementStart"](22,"div",14),i["\u0275\u0275text"](23,"info"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"span",11),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](27,pi,5,0,"a",15),i["\u0275\u0275template"](28,hi,5,0,"a",16),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275reference"](7),a=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("matMenuTriggerFor",r),i["\u0275\u0275advance"](1),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](4,10,"ROOT.Menu")),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](13,12,"ROOT.Library")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",a.showYouTube),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!a.showYouTube),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!a.tableView),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.tableView),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](26,14,"ROOT.More Info")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!a.showYouTube),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.showYouTube)}}function gi(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",44),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showSearch=!e.showSearch}),i["\u0275\u0275elementStart"](1,"span",45),i["\u0275\u0275text"](2,"search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function fi(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",46),i["\u0275\u0275elementStart"](1,"button",47),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showSearch=!e.showSearch}),i["\u0275\u0275elementStart"](2,"span",45),i["\u0275\u0275text"](3,"search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"input",48),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).searchParams=e})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).searchChanged.next(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngModel",r.searchParams)}}function vi(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",51),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",r.WorkoutTypes.getWorkoutTypeName(n.id,r.translate.currentLang)," ")}}function yi(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",49),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"mat-select",50),i["\u0275\u0275listener"]("selectionChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).searchByFilters()})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).workoutTypeSelection=e}),i["\u0275\u0275template"](5,vi,2,2,"mat-option",40),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,3,"ROOT.Activity")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.workoutTypeSelection),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.availableWorkoutTypes)}}function bi(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",51),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT."+n),"")}}function xi(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",51),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.name)}}function _i(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",58),i["\u0275\u0275text"](1," Spinning "),i["\u0275\u0275elementEnd"]())}function wi(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",52),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"mat-select",50),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).localSearch(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).routinesRoutes=e}),i["\u0275\u0275elementStart"](5,"mat-option",53),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-option",54),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"mat-option",55),i["\u0275\u0275text"](12," YouTube "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](13,_i,2,0,"mat-option",56),i["\u0275\u0275elementStart"](14,"mat-option",57),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,6,"ROOT.Type")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routinesRoutes),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,8,"ROOT.Routines")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](10,10,"ROOT.Routes")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.isStarTrainer),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](16,12,"ROOT.All")," ")}}function Si(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",51),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.name)}}function Ci(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",31),i["\u0275\u0275elementStart"](1,"div",32),i["\u0275\u0275elementStart"](2,"div",33),i["\u0275\u0275template"](3,gi,3,0,"button",34),i["\u0275\u0275template"](4,fi,5,1,"div",35),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",32),i["\u0275\u0275template"](6,yi,6,5,"mat-form-field",36),i["\u0275\u0275element"](7,"div",37),i["\u0275\u0275elementStart"](8,"mat-form-field",38),i["\u0275\u0275elementStart"](9,"mat-label"),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"mat-select",39),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).selectedCategories=e})("selectionChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).searchByFilters()}),i["\u0275\u0275template"](13,bi,3,4,"mat-option",40),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"mat-form-field",41),i["\u0275\u0275elementStart"](15,"mat-label"),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"mat-select",42),i["\u0275\u0275listener"]("selectionChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).searchByFilters(null)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).lengthSearch=e}),i["\u0275\u0275template"](19,xi,2,2,"mat-option",40),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](20,wi,17,14,"mat-form-field",43),i["\u0275\u0275elementStart"](21,"mat-form-field",41),i["\u0275\u0275elementStart"](22,"mat-label"),i["\u0275\u0275text"](23),i["\u0275\u0275pipe"](24,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"mat-select",42),i["\u0275\u0275listener"]("selectionChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).searchByFilters(null)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).classTypeSearch=e}),i["\u0275\u0275template"](26,Si,2,2,"mat-option",40),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!r.showSearch),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showSearch),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.hideActivityType&&!r.showSearch),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](11,17,"ROOT.Categories")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.selectedCategories),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.searchableCategories),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](17,19,"ROOT.Length")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.lengthSearch)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.lengthSearchOptions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.hideActivityType&&!r.showSearch),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](24,21,"ROOT.Class Type")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.classTypeSearch)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.classTypeSearchOptions)}}function ki(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",64),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",n.videoDetails.thumbnailURL,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function Oi(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",64),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/seo/map_only?key=",n.ghostWorkout,"&size=200,150",i["\u0275\u0275sanitizeUrl"])}}function Ei(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"highcharts-chart",71),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).chartsUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("Highcharts",a.Highcharts)("options",r.graph)("update",a.chartsUpdated)("oneToOne",!0)}}function Mi(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",72),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"secondsToHrsMin"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,n.durationDisplay))}}function Ii(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",72),i["\u0275\u0275text"](1,"\xa0"),i["\u0275\u0275elementEnd"]())}function Pi(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",72),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"milesToKm"),i["\u0275\u0275elementStart"](3,"span",73),i["\u0275\u0275text"](4,"km"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind3"](2,1,n.totalDistance,!0,1)," ")}}function Ti(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",72),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementStart"](3,"span",73),i["\u0275\u0275text"](4,"mi"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.totalDistance,"1.0-2")," ")}}function Di(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,Pi,5,5,"span",69),i["\u0275\u0275template"](2,Ti,5,4,"span",69),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Metric"==n.metric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Imperial"==n.metric)}}function Li(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",72),i["\u0275\u0275text"](1,"\xa0"),i["\u0275\u0275elementEnd"]())}function Ri(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,Oi,1,1,"img",65),i["\u0275\u0275template"](2,Ei,1,4,"highcharts-chart",66),i["\u0275\u0275element"](3,"img",67),i["\u0275\u0275elementStart"](4,"div",68),i["\u0275\u0275template"](5,Mi,3,3,"span",69),i["\u0275\u0275template"](6,Ii,2,0,"span",69),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",70),i["\u0275\u0275template"](8,Di,3,2,"span",27),i["\u0275\u0275template"](9,Li,2,0,"span",69),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div"),i["\u0275\u0275text"](11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]().$implicit,a=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ghostWorkout),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.graph&&!n.ghostWorkout),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",a.WorkoutTypes.getWorkoutTypeIcon(n.workoutType,a.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0!=n.totalDuration&&"Assessment"!=r.key),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==n.totalDuration),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0!=n.totalDistance&&"Assessment"!=r.key),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==n.totalDistance),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function ji(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",63),i["\u0275\u0275template"](1,ki,3,2,"div",27),i["\u0275\u0275template"](2,Ri,12,8,"div",27),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.hasVideo)}}function Ai(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",60),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"carousel",61),i["\u0275\u0275listener"]("events",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](3).handleCarouselEvents(e,r)}),i["\u0275\u0275template"](5,ji,3,2,"div",62),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275property"]("hidden",0==r.value.length),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,3,"ROOT."+r.key)),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",r.value)}}function Fi(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,Ai,6,5,"div",59),i["\u0275\u0275pipe"](2,"keyvalue"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind1"](2,1,n.selectedRoutines))}}function Bi(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",90),i["\u0275\u0275text"](1,"arrow_drop_up"),i["\u0275\u0275elementEnd"]())}function zi(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",90),i["\u0275\u0275text"](1,"arrow_drop_down"),i["\u0275\u0275elementEnd"]())}function Ni(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",91),i["\u0275\u0275text"](1,"arrow_drop_up"),i["\u0275\u0275elementEnd"]())}function Hi(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",91),i["\u0275\u0275text"](1,"arrow_drop_down"),i["\u0275\u0275elementEnd"]())}function Vi(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",92),i["\u0275\u0275text"](1,"arrow_drop_up"),i["\u0275\u0275elementEnd"]())}function Yi(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",92),i["\u0275\u0275text"](1,"arrow_drop_down"),i["\u0275\u0275elementEnd"]())}function Wi(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"secondsToHrsMin"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,n.durationDisplay))}}function Gi(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"\xa0"),i["\u0275\u0275elementEnd"]())}var Ui=function(e){return{color:e}};function qi(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"i",112),i["\u0275\u0275text"](1,"save"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](1,Ui,n.creator==r.AccountService.account.accountId?"#3FAE48":"#b2b2b2"))}}function Zi(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"i",113),i["\u0275\u0275text"](1,"save"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](1,Ui,1==n.downloaded?"#3FAE48":"#b2b2b2"))}}function $i(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"i",92),i["\u0275\u0275text"](1,"save"),i["\u0275\u0275elementEnd"]())}function Xi(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",108),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](4).addRoutine(t),e.stopPropagation()}),i["\u0275\u0275template"](1,qi,2,3,"i",109),i["\u0275\u0275template"](2,Zi,2,3,"i",110),i["\u0275\u0275template"](3,$i,2,0,"i",111),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit,a=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("disabled",r.creator==a.AccountService.account.accountId||r.downloaded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.creator==a.AccountService.account.accountId),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==r.downloaded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.creator!=a.AccountService.account.accountId&&0==r.downloaded)}}function Ki(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",114),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275propertyInterpolate"]("src",n.videoDetails.thumbnailURL,i["\u0275\u0275sanitizeUrl"])}}function Ji(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",117),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/seo/map_only?key=",n.ghostWorkout,"&size=200,150",i["\u0275\u0275sanitizeUrl"])}}function Qi(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"highcharts-chart",118),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).chartsUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("Highcharts",a.Highcharts)("options",r.graph)("update",a.chartsUpdated)("oneToOne",!0)}}function er(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,Ji,1,1,"img",115),i["\u0275\u0275template"](2,Qi,1,4,"highcharts-chart",116),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ghostWorkout),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.graph&&!n.ghostDetail)}}function tr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275elementStart"](2,"ul"),i["\u0275\u0275elementStart"](3,"li"),i["\u0275\u0275elementStart"](4,"a",119),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",120),i["\u0275\u0275element"](9,"iframe",121),i["\u0275\u0275pipe"](10,"safe"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](n.videoDetails.author),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.videoDetails.description),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("src",i["\u0275\u0275pipeBind2"](10,3,"https://www.youtube.com/embed/"+n.videoDetails.id+"?&origin=https://my.fitdigits.com","url"),i["\u0275\u0275sanitizeResourceUrl"])}}function nr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",122),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n)}}function ir(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1,"Shared: Public"),i["\u0275\u0275elementEnd"]())}function rr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2),r=n.index,a=n.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"]("Series ",r+1," | ",a.repeats>1?a.repeats+" Repeats":"One Time","")}}function ar(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"BPM"),i["\u0275\u0275elementEnd"]())}function or(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"PACE"),i["\u0275\u0275elementEnd"]())}function sr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"secondsToHMS"),i["\u0275\u0275template"](3,ar,2,0,"span",27),i["\u0275\u0275template"](4,or,2,0,"span",27),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("Duration: ",i["\u0275\u0275pipeBind1"](2,4,n.duration)," | "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==n.zoneRef[0].type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",2==n.zoneRef[0].type),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" | Zone ",n.zoneRef[0].zonePos+1," ")}}function lr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"milesToKm"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,1,i["\u0275\u0275pipeBind3"](3,4,n.totalDistance,!0,1),"1.2-2"),"")}}function cr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,1,n.duration,"1.0-2"),"")}}function dr(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"BPM"),i["\u0275\u0275elementEnd"]())}function ur(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"PACE"),i["\u0275\u0275elementEnd"]())}function pr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("| ",n.desc,"")}}function hr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"Distance: "),i["\u0275\u0275template"](2,lr,4,8,"span",27),i["\u0275\u0275template"](3,cr,3,4,"span",27),i["\u0275\u0275text"](4," | "),i["\u0275\u0275template"](5,dr,2,0,"span",27),i["\u0275\u0275template"](6,ur,2,0,"span",27),i["\u0275\u0275text"](7),i["\u0275\u0275template"](8,pr,2,1,"span",27),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](7);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","Metric"==r.metric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Imperial"==r.metric),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==n.zoneRef[0].type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",2==n.zoneRef[0].type),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" | Zone ",n.zoneRef[0].zonePos+1," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.desc)}}function mr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.notes)}}function gr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"ul",128),i["\u0275\u0275elementStart"](1,"li",129),i["\u0275\u0275template"](2,rr,2,2,"span",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"li",130),i["\u0275\u0275template"](4,sr,6,6,"span",27),i["\u0275\u0275template"](5,hr,9,6,"span",27),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275template"](7,mr,2,1,"p",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=t.index,a=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0==r),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==n.durationUnits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",2==n.durationUnits),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",a.notes)}}function fr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"ul"),i["\u0275\u0275template"](1,gr,8,4,"ul",127),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.intervalDef)}}function vr(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",131),i["\u0275\u0275listener"]("click",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).confirm=!0,e.stopPropagation()}),i["\u0275\u0275elementStart"](1,"i",92),i["\u0275\u0275text"](2,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function yr(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"Are you sure? "),i["\u0275\u0275elementStart"](2,"button",132),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2).$implicit;return i["\u0275\u0275nextContext"](4).deleteRoutine(e)}),i["\u0275\u0275text"](3,"Yes"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"button",132),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).confirm=!1}),i["\u0275\u0275text"](5,"No"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function br(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",123),i["\u0275\u0275template"](1,ir,2,0,"div",27),i["\u0275\u0275elementStart"](2,"p",124),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,fr,2,1,"ul",89),i["\u0275\u0275elementStart"](5,"div",125),i["\u0275\u0275template"](6,vr,3,0,"button",126),i["\u0275\u0275template"](7,yr,6,0,"span",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.shared),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"](" Total: ",n.routineDef.segmentDef.length," Series \u2022 ",n.totalRepeats," Repeats "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.routineDef.segmentDef),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showDelete),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.confirm)}}function xr(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tbody"),i["\u0275\u0275elementStart"](1,"tr",93),i["\u0275\u0275listener"]("click",function(){var e=t.$implicit;return e.hidden=!e.hidden}),i["\u0275\u0275elementStart"](2,"td",94),i["\u0275\u0275element"](3,"img",95),i["\u0275\u0275elementStart"](4,"span",96),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"td",97),i["\u0275\u0275template"](7,Wi,3,3,"span",27),i["\u0275\u0275template"](8,Gi,2,0,"span",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"td",97),i["\u0275\u0275text"](10," \xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"tr",98),i["\u0275\u0275listener"]("click",function(){var e=t.$implicit;return e.hidden=!e.hidden}),i["\u0275\u0275elementStart"](12,"td",99),i["\u0275\u0275template"](13,Xi,4,4,"button",100),i["\u0275\u0275template"](14,Ki,1,1,"img",101),i["\u0275\u0275template"](15,er,3,2,"span",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"tr"),i["\u0275\u0275elementStart"](17,"td",102),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"div"),i["\u0275\u0275elementStart"](22,"p",103),i["\u0275\u0275text"](23),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](24,tr,11,6,"div",27),i["\u0275\u0275template"](25,nr,2,1,"div",104),i["\u0275\u0275elementStart"](26,"div",105),i["\u0275\u0275elementStart"](27,"div",106),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.showRoutineIntervals=!e.showRoutineIntervals}),i["\u0275\u0275text"](28),i["\u0275\u0275pipe"](29,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"div",106),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](4).router.navigate(["/routines_search/"+e.hhc+"/detail"])}),i["\u0275\u0275text"](31),i["\u0275\u0275pipe"](32,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](33,br,8,6,"div",107),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"]().$implicit,o=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate"]("src",o.WorkoutTypes.getWorkoutTypeIcon(r.workoutType,o.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.name),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0!=r.totalDuration&&"Assessment"!=a.key),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==r.totalDuration),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!r.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.hasVideo),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!r.hidden),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](20,15,r.creationDate,"short")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](r.description),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.categories),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](29,18,"ROOT.Details")," \xa0 "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](32,20,"ROOT.View")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",o.showRoutineIntervals)}}function _r(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"table",76),i["\u0275\u0275elementStart"](1,"thead",77),i["\u0275\u0275elementStart"](2,"tr",78),i["\u0275\u0275elementStart"](3,"th",79),i["\u0275\u0275elementStart"](4,"span",80),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sort("name")}),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275template"](7,Bi,2,0,"span",81),i["\u0275\u0275template"](8,zi,2,0,"span",81),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"th",82),i["\u0275\u0275elementStart"](10,"span",83),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sort("totalDuration")}),i["\u0275\u0275template"](11,Ni,2,0,"span",84),i["\u0275\u0275template"](12,Hi,2,0,"span",84),i["\u0275\u0275element"](13,"img",85),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"th",86),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sort("totalDistance")}),i["\u0275\u0275template"](15,Vi,2,0,"span",87),i["\u0275\u0275template"](16,Yi,2,0,"span",87),i["\u0275\u0275element"](17,"img",88),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](18,xr,34,22,"tbody",89),i["\u0275\u0275pipe"](19,"orderBy"),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("hidden",0==r.value.length),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,9,"ROOT."+r.key)," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","name"==a.sortedType&&"asc"==a.sortDirection),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","name"==a.sortedType&&"desc"==a.sortDirection),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","totalDuration"==a.sortedType&&"asc"==a.sortDirection),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","totalDuration"==a.sortedType&&"desc"==a.sortDirection),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","totalDistance"==a.sortedType&&"asc"==a.sortDirection),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","totalDistance"==a.sortedType&&"desc"==a.sortDirection),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind3"](19,11,r.value,a.sortedType,a.sortDirection))}}function wr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",74),i["\u0275\u0275template"](1,_r,20,15,"table",75),i["\u0275\u0275pipe"](2,"keyvalue"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind1"](2,1,n.selectedRoutines))}}function Sr(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",133),i["\u0275\u0275text"](1," No Structured Workouts matching filters "),i["\u0275\u0275elementEnd"]())}function Cr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",51),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function kr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",51),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function Or(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",31),i["\u0275\u0275elementStart"](1,"mat-form-field",136),i["\u0275\u0275elementStart"](2,"mat-label"),i["\u0275\u0275text"](3,"Heart Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"mat-select",50),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).changeZone(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).zoneSelected=e}),i["\u0275\u0275template"](5,Cr,2,2,"mat-option",40),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"mat-form-field",136),i["\u0275\u0275elementStart"](7,"mat-label"),i["\u0275\u0275text"](8,"Pace Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"mat-select",137),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).changePaceZone(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).paceZoneSelected=e}),i["\u0275\u0275template"](10,kr,2,2,"mat-option",40),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngModel",r.zoneSelected),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.zones),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngModel",r.paceZoneSelected)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.paceZones)}}function Er(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",134),i["\u0275\u0275elementStart"](1,"button",135),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showViewOptions=!e.showViewOptions}),i["\u0275\u0275elementStart"](2,"span",45),i["\u0275\u0275text"](3,"settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,Or,11,5,"div",26),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.showViewOptions)}}function Mr(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275elementStart"](1,"div",23),i["\u0275\u0275elementStart"](2,"button",24),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showFilters=!e.showFilters}),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementStart"](4,"span",25),i["\u0275\u0275text"](5,"filter_list"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,Ci,27,23,"div",26),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,Fi,3,3,"div",27),i["\u0275\u0275template"](8,wr,3,3,"div",28),i["\u0275\u0275template"](9,Sr,2,0,"div",29),i["\u0275\u0275template"](10,Er,5,1,"div",30),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](3,6,"ROOT.Filters")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.showFilters),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.tableView),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.tableView),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.noResults&&!r.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.groupByCategory)}}var Ir=function(){function e(e,t,n,i,r,a,o,s,c,d,u,p){this.routineService=e,this.AccountService=t,this.ThemeService=n,this.PermissionsService=i,this.translate=r,this.floatToPace=a,this.dialog=o,this.WorkoutTypes=s,this.WorkoutsService=c,this.window=d,this.route=u,this.router=p,this.showLoadingOverlay=!1,this.confirm=!1,this.Highcharts=re,this.sortedType="totalDuration",this.sortOptions=[{name:"Duration",value:"totalDuration"},{name:"Distance",value:"totalDistance"}],this.preSortDirectionDesc=!0,this.sortDirection="desc",this.showDelete=!1,this.searchChanged=new l.a,this.categoryChanged=new l.a,this.selectedCategories=[],this.showFilters=!1,this.showVideos=!1,this.showRoutineIntervals=!1,this.showViewOptions=!1,this.metric="Imperial",this.metricSearch=null,this.lengthSearch=null,this.classTypeSearch="all",this.metricSearchOptions=[{name:"All",value:null},{name:"Imperial",value:"US"},{name:"Metric",value:"metric"}],this.lengthSearchOptions=[{name:"All",value:null},{name:"46m to 60m",value:"60"},{name:"31m to 45m",value:"45"},{name:"21m to 30m",value:"30"},{name:"6m to 20m",value:"20"},{name:"0m to 5m",value:"5"}],this.classTypeSearchOptions=[{name:"All",value:"all"},{name:"Advanced",value:"Advanced"},{name:"Beginner",value:"Beginner"},{name:"Tutorial",value:"Tutorial"}],this.paceZones=[],this.routineTypeSelection="heartRate",this.routinesRoutes="youtube",this.selectedRoutines={Ungrouped:[]},this.routines=[],this.availableWorkoutTypes=[],this.availableRoutineTypes=[{id:"heartRate",name:"Heart Rate"},{id:"pace",name:"Pace"}],this.searchableCategories=Object(Wn.cloneDeep)(Yn.o),this.searchTypes={length:this.lengthSearch},this.isStarTrainer=!1,this.hideActivityType=!1,this.initialSearch=!0,this.showSearch=!1,this.groupByCategory=!0,this.tableView=!0,this.showYouTube=!1,this.noResults=!1,this.hasGhost=!1}return e.prototype.deleteRoutine=function(e){var t=this;this.routineService.deleteSharedRoutine(e.key).subscribe(function(e){t.searchRoutines("")})},e.prototype.ngOnInit=function(){var e=this;if(console.log("metric "+this.metric),1==this.AccountService.account.isMetric()&&(this.metric="Metric"),console.log("metric "+this.metric),this.categoriesSearch=this.route.snapshot.paramMap.get("categories"),this.PermissionsService.starTrainerAccess&&Yn.o.push("Featured"),this.searchableCategories.sort(),this.categoriesSearch)for(var t=this.categoriesSearch.split(","),n=0;n<t.length;n++)for(var i=0;i<this.searchableCategories.length;i++)t[n]==this.searchableCategories[i].replace(/[^A-Z0-9]+/gi,"").toLowerCase()&&this.selectedCategories.push(this.searchableCategories[i]);this.routinesRoutes=this.routineService.routinesRoutesFilter,this.isStarTrainer=this.PermissionsService.starTrainerAccess,this.queryParams=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""}),this.showYouTube="true"==this.queryParams.get("showyoutube"),1==this.showYouTube&&(this.routinesRoutes="youtube"),console.log("Filter "+this.routinesRoutes),2990100==this.AccountService.account.accountId&&(this.showDelete=!0);var r=_(this.AccountService.account.birthDate),a=_().diff(r,"years");this.baseZoneset=Object(x.f)(a),1==this.ThemeService.isDevMode&&(this.showVideos=!0,this.tableView=!0),this.workoutTypes=this.WorkoutTypes.getWorkoutTypeData(),this.workoutTypes.shift(),this.workoutTypeSelection=-1,this.zone=new x.d(this.baseZoneset,null),this.WorkoutsService.getZonesets().subscribe(function(t){e.zones=t.response.customZoneSets,e.zones.unshift(Object(x.e)(a)),e.zones.unshift(e.baseZoneset),e.zoneSelected="1"}),this.searchSubscription=this.searchChanged.pipe(Object(Re.a)(1e3),Object(je.a)()).subscribe(function(t){e.searchParams=t,e.searchRoutines(t)}),this.categorySubscription=this.categoryChanged.pipe(Object(Re.a)(1e3),Object(je.a)()).subscribe(function(t){e.searchRoutinesCategories(t)}),this.WorkoutsService.getPaceZonesets().subscribe(function(t){for(var n=0;n<t.response.customPaceZoneSets.length;n++)e.paceZones.push(new x.a(t.response.customPaceZoneSets[n],"U",e.floatToPace));try{e.paceZoneSelected=e.paceZones[0].id}catch(i){}e.queryParams.get("workouttype")&&(e.hideActivityType=!0,e.workoutTypeSelection=Number(e.queryParams.get("workouttype"))),e.showVideos="false"==e.queryParams.get("showvideos"),e.brandFilter=e.queryParams.get("brand");try{e.selectedCategories=e.queryParams.get("categories").split(",")}catch(i){}e.classTypeSearch=e.queryParams.get("class"),"spinning"==e.brandFilter&&(e.showYouTube=!1,e.showVideos=!0,e.tableView=!1),e.searchByFilters()})},e.prototype.handleCarouselEvents=function(e,t){if("click"==e.name){var n=t.value[e.cellIndex];this.router.navigate("RoutineShare"==n.model?["/routines_search/",n.hhc,"detail"]:["/myroutines/",n.id,"detail"])}},e.prototype.sort=function(e){"object"==typeof e&&(e=e.value),this.sortedType=e,this.preSortDirectionDesc=!this.preSortDirectionDesc,this.sortDirection=this.preSortDirectionDesc?"desc":"asc"},e.prototype.localSearch=function(e){var t={Ungrouped:[]};this.groupByCategory&&(t={Uncategorized:[]});var n=!1;null!==this.metricSearch&&(n=!0),console.log("Filter "+this.routinesRoutes),"routines"==this.routinesRoutes?(this.showVideos=!1,this.showYouTube=!1):"youtube"==this.routinesRoutes?(this.showVideos=!0,this.showYouTube=!0):"spinning"==this.routinesRoutes?(this.showVideos=!0,this.showYouTube=!1):"routes"==this.routinesRoutes&&(this.showVideos=!1,this.showYouTube=!1);for(var i=0;i<this.routines.length;i++){var r=!0;if(this.routines[i].hasVideo?(0==this.showVideos||this.ThemeService.isDevMode&&(0==this.showYouTube&&"youtube"==this.routines[i].videoDetails.videoType||1==this.showYouTube&&"direct_url"==this.routines[i].videoDetails.videoType))&&(r=!1):1!=this.showVideos||this.routines[i].hasVideo||(r=!1),"all"!=this.routinesRoutes&&("routines"==this.routinesRoutes&&this.routines[i].ghostWorkout||"routes"==this.routinesRoutes&&null==this.routines[i].ghostWorkout||"videos"==this.routinesRoutes&&0==this.routines[i].hasVideo?r=!1:"assessments"!=this.routinesRoutes||this.routines[i].isAssessment||(r=!1)),n&&("time"==this.routines[i].unitOfMeasure||this.routines[i].unitOfMeasure!=this.metricSearch&&(r=!1)),r)if(this.groupByCategory)if(0==this.routines[i].categories.length)t.Uncategorized.push(this.routines[i]);else for(var a=0;a<this.routines[i].categories.length;a++){var o=!1;if(0==this.selectedCategories.length)o=!0;else for(var s=0;s<this.selectedCategories.length;s++)this.routines[i].categories[a]==this.selectedCategories[s]&&(o=!0);if(o)try{t[this.routines[i].categories[a]].push(this.routines[i])}catch(l){t[this.routines[i].categories[a]]=[],t[this.routines[i].categories[a]].push(this.routines[i])}}else t.Ungrouped.push(this.routines[i])}this.selectedRoutines=t},e.prototype.changePaceZone=function(e){var t=[];this.paceZoneSelected=e.value;for(var n=0;n<this.paceZones.length;n++)this.paceZones[n].id==e.value&&(this.paceZone=this.paceZones[n]);for(n=0;n<this.routines.length;n++)this.routines[n].updatePaceZoneset(this.paceZone),t.push(this.routines[n]);this.routines=t},e.prototype.delay=function(e){return Object(te.__awaiter)(this,void 0,void 0,function(){return Object(te.__generator)(this,function(t){switch(t.label){case 0:return[4,new Promise(function(t){return setTimeout(function(){return t()},e)}).then(function(){})];case 1:return t.sent(),[2]}})})},e.prototype.changeZone=function(e){var t=this;this.showLoadingOverlay=!0,this.delay(300).then(function(){t.zoneSelected=e.value;for(var n=0;n<t.zones.length;n++)t.zones[n].id==e.value&&(t.zone=new x.d(t.zones[n],null));for(n=0;n<t.routines.length;n++)t.routines[n].graph=!1,t.routines[n].graph=t.plotRoutineChart(t.routines[n]);for(n=0;n<t.routines.length;n++)t.routines[n].graph=!1,t.routines[n].graph=t.plotRoutineChart(t.routines[n]);t.chartsUpdated=!0,t.showLoadingOverlay=!1})},e.prototype.addRoutine=function(e){var t=this;e.downloaded=!0,this.showLoadingOverlay=!0,this.routineService.downloadRoutine(e.key).subscribe(function(e){t.routineService.fetchNewRoutines(!0),t.showLoadingOverlay=!1})},e.prototype.plotRoutineChart=function(e){for(var t=[],n=0;n<e.routineDef.segmentDef.length;n++)for(var i=Number(e.routineDef.segmentDef[n].repeats),r=0;r<i;r++)for(var a=0;a<e.routineDef.segmentDef[n].intervalDef.length;a++)t.push(e.routineDef.segmentDef[n].intervalDef[a]);var o=this.zone.zoneHigh,s=this.zone.zoneLow,l=B.i.FITDIGITS,c=[],d=[],u=0,p=0;for(a=0;a<t.length;a++){var h=s[t[a].zoneRef[0].zonePos+1],m=o[t[a].zoneRef[0].zonePos+1];if(p+=t[a].duration,t[a].zoneRef[0].zonePos<0||t[a].zoneRef[0].zonePos>4);else{var g=[{x:u,y:h,id:"1"},{x:u,y:m,id:"2"},{x:p,y:m,id:"3"},{x:p,y:h,id:"4"}],f=l.zone[Number(t[a].zoneRef[0].zonePos)+1].tizColor;c.push(g),d.push(f)}u=p}for(var v={chart:{type:"spline",margin:[0,0,0,0],spacingTop:0},credits:{enabled:!1},title:{text:null},xAxis:{title:{},labels:{enabled:!0},minorTickLength:0,tickLength:0},yAxis:{title:{},labels:{enabled:!1,zIndex:999},endOnTick:!1,maxPadding:0,minorTickLength:0,tickLength:0,min:this.zone.zone0.bpmMax,max:this.zone.zone6.bpmMin,minorGridLineWidth:0,gridLineWidth:0,alternateGridColor:null,plotBands:[{from:this.zone.zone0.bpmMin,to:this.zone.zone1.bpmMin,color:l.zone[0].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone1.bpmMin),to:Number(this.zone.zone1.bpmMax),color:l.zone[1].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone2.bpmMin),to:Number(this.zone.zone2.bpmMax),color:l.zone[2].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone3.bpmMin),to:Number(this.zone.zone3.bpmMax),color:l.zone[3].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone4.bpmMin),to:Number(this.zone.zone4.bpmMax),color:l.zone[4].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone5.bpmMin),to:Number(this.zone.zone5.bpmMax),color:l.zone[5].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone6.bpmMin),to:Number(this.zone.zone6.bpmMin),color:l.zone[6].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}}]},plotOptions:{spline:{lineWidth:4,states:{hover:{lineWidth:5}},marker:{enabled:!1}}},legend:{enabled:!1},series:[{type:"line",data:[],color:"#FFFFFF",yAxis:0}],navigation:{menuItemStyle:{fontSize:"10px"}}},y=0;y<c.length;y++)v.series.push({name:"Target",type:"polygon",data:c[y],color:new re.Color(d[y]).setOpacity(1).get(),enableMouseTracking:!1});return v},e.prototype.processRoutineSearch=function(e){if(0==e.response.routines.length)this.noResults=!0;else{this.noResults=!1;for(var t=0;t<e.response.routines.length;t++){var n=new Yn.a(e.response.routines[t],null,"RoutineShare",this);if(this.initialSearch)for(var i=0;i<this.workoutTypes.length;i++)this.workoutTypes[i].id==n.workoutType&&-1==this.availableWorkoutTypes.indexOf(this.workoutTypes[i])&&-1!=this.workoutTypes[i].id&&this.availableWorkoutTypes.push(this.workoutTypes[i]);n.graph=this.plotRoutineChart(n),this.routines.push(n)}this.initialSearch&&(this.initialSearch=!1,this.availableWorkoutTypes=this.availableWorkoutTypes.sort(function(e,t){return e.title.toLowerCase().localeCompare(t.title.toLowerCase())}),this.availableWorkoutTypes.unshift({title:"All",id:-1}),this.workoutTypeSelection=-1)}this.localSearch(null),this.showLoadingOverlay=!1},e.prototype.searchByFilters=function(e){var t=this;this.showLoadingOverlay=!0,this.routines=[];for(var n=0;n<this.selectedCategories.length;n++)if("All"==this.selectedCategories[n]){this.selectedCategories=[];break}var i=this.workoutTypeSelection;this.queryParams.get("workouttype")&&(i=this.queryParams.get("workouttype")),-1==i&&(i=null),"routes"==this.routinesRoutes&&(this.hasGhost=!0),this.routineService.searchByFilters(e,this.lengthSearch,this.selectedCategories,this.metricSearch,this.classTypeSearch,i,this.brandFilter,this.hasGhost).subscribe(function(e){t.processRoutineSearch(e),t.showLoadingOverlay=!1})},e.prototype.searchRoutines=function(e){var t=this;this.routines=[],this.routineService.searchRoutines(e).subscribe(function(e){t.processRoutineSearch(e)})},e.prototype.searchRoutinesCategories=function(e){var t=this;this.routines=[],this.routineService.searchRoutinesCategories(e).subscribe(function(e){t.processRoutineSearch(e)})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](Yn.b),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](B.B),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](S.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["routine-search"]],decls:3,vars:3,consts:[[1,"loading-overlay",3,"hidden"],["class","main-menu-section-heading",4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"main-menu-section-heading"],[1,"float-right"],["mat-icon-button","",1,"routineMenuButton",3,"matMenuTriggerFor","click"],[1,"routineSearchMenu"],["yPosition","below"],["menu","matMenu"],["mat-menu-item","",1,"material-icon-text",3,"click"],[1,"material-icons","menu-icons"],[1,"menu-text"],["mat-menu-item","","class","material-icon-text",3,"click",4,"ngIf"],["class","menu-text",4,"ngIf"],[1,"material-icons","menu-icons","blue"],["routerLink","/myroutines",4,"ngIf"],["routerLink","/youtube",4,"ngIf"],[1,"material-icons","menu-icons","green"],["routerLink","/myroutines"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],["routerLink","/youtube"],[1,"sectionStructure"],[1,"routineFilters"],["mat-fab","",1,"routineFilterButton",3,"click"],[1,"material-icons","greenFilter"],["class","routineSelectors",4,"ngIf"],[4,"ngIf"],["class","routineTableDiv",4,"ngIf"],["class","noRoutines",4,"ngIf"],["class","routineViewOptions",4,"ngIf"],[1,"routineSelectors"],[1,"filterContainer"],[1,"searchSection"],["mat-stroked-button","","class","searchByText",3,"click",4,"ngIf"],["class","searchSectionExpanded",4,"ngIf"],["class","activityFilterOption",4,"ngIf"],[1,"clear-both"],[1,"search-selection"],["multiple","",3,"ngModel","ngModelChange","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[1,"search-selection",3,"ngClass"],[3,"ngModel","ngClass","selectionChange","ngModelChange"],["class","formType",4,"ngIf"],["mat-stroked-button","",1,"searchByText",3,"click"],[1,"material-icons","green"],[1,"searchSectionExpanded"],["mat-stroked-button","",1,"float-left",3,"click"],["id","searchBox","placeholder","Search...",1,"routineSearchBox",3,"ngModel","ngModelChange"],[1,"activityFilterOption"],[1,"zoneset-selection",3,"ngModel","selectionChange","ngModelChange"],[3,"value"],[1,"formType"],["value","routines"],["value","routes"],["value","youtube"],["value","spinning",4,"ngIf"],["value","all"],["value","spinning"],["class","routineTableDiv",3,"hidden",4,"ngFor","ngForOf"],[1,"routineTableDiv",3,"hidden"],[1,"carouselRow",3,"events"],["class","carousel-cell",4,"ngFor","ngForOf"],[1,"carousel-cell"],[3,"src"],[3,"src",4,"ngIf"],["class","routineGraphCarousel",3,"Highcharts","options","update","oneToOne","updateChange",4,"ngIf"],[1,"carousel-type-icon",3,"src"],[1,"durationCarousel"],["class","routineMetric",4,"ngIf"],[1,"distanceCarousel"],[1,"routineGraphCarousel",3,"Highcharts","options","update","oneToOne","updateChange"],[1,"routineMetric"],[1,"metricLabel"],[1,"routineTableDiv"],["class","table table-responsive member-status routineTable",3,"hidden",4,"ngFor","ngForOf"],[1,"table","table-responsive","member-status","routineTable",3,"hidden"],[1,"categoryHead"],[1,"categoryHeader"],[1,"th-health","categoryName"],[1,"float-left",3,"click"],["class","material-icons float-left",4,"ngIf"],[1,"th-health","durationHead"],[1,"right-align",3,"click"],["class","material-icons float-right",4,"ngIf"],["src","/static/img/icons/squareDurationIcon.png","width","24px",1,"durationIcon2"],[1,"th-health","right-align","distanceHead",3,"click"],["class","float-right;","class","material-icons",4,"ngIf"],["src","/static/img/icons/squareDistanceIcon.png","width","24px",1,"myRoutineDistanceIcon"],[4,"ngFor","ngForOf"],[1,"material-icons","float-left"],[1,"material-icons","float-right"],[1,"material-icons"],[1,"cursor-pointer",3,"click"],[1,"routineTitleRow"],[1,"actvityIcon",3,"src"],[1,"routineTitle"],[1,"routineTitle","left-align"],[3,"click"],["colspan","3",1,"thumbnailContainer"],["mat-stroked-button","","class","themedButton float-right shareIcon",3,"disabled","click",4,"ngIf"],["class","videoThumbnail",3,"src",4,"ngIf"],["colspan","3",1,"structuredDetails",3,"hidden"],[1,"routineDescriptionText"],["class","categoryDisplay",4,"ngFor","ngForOf"],[1,"seriesRepeats"],[1,"showStructuredDetail",3,"click"],["class","routineIntervals",4,"ngIf"],["mat-stroked-button","",1,"themedButton","float-right","shareIcon",3,"disabled","click"],["class","material-icons","matTooltip","You shared this",3,"ngStyle",4,"ngIf"],["class","material-icons","matTooltip","Saved",3,"ngStyle",4,"ngIf"],["class","material-icons",4,"ngIf"],["matTooltip","You shared this",1,"material-icons",3,"ngStyle"],["matTooltip","Saved",1,"material-icons",3,"ngStyle"],[1,"videoThumbnail",3,"src"],["class","float-right",3,"src",4,"ngIf"],["class","routineGraph",3,"Highcharts","options","update","oneToOne","updateChange",4,"ngIf"],[1,"float-right",3,"src"],[1,"routineGraph",3,"Highcharts","options","update","oneToOne","updateChange"],["href","#"],[1,"video-player-container"],["frameborder","0",1,"responsive-iframe",3,"src"],[1,"categoryDisplay"],[1,"routineIntervals"],[1,"structruedDetailTitles"],[1,"float-right","right-align"],["mat-button","","class","deleteBtn2",3,"click",4,"ngIf"],["class","seriesContainer",4,"ngFor","ngForOf"],[1,"seriesContainer"],[1,"routineDetailsTableCell","routineSeriesHeader"],[1,"routineDetailsTableCell","routineDetailSection"],["mat-button","",1,"deleteBtn2",3,"click"],["mat-button","",3,"click"],[1,"noRoutines"],[1,"routineViewOptions"],["mat-stroked-button","",1,"routineOptionsButton",3,"click"],[1,"routineFilterOption"],[1,"zoneset-selection",3,"ngModel","ngClass","selectionChange","ngModelChange"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275template"](1,mi,29,16,"div",1),i["\u0275\u0275template"](2,Mr,11,8,"div",2)),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn))},directives:[y.NgIf,k.b,gt.d,O.a,gt.a,gt.b,S.f,fe.c,fe.g,Ae.a,de.o,de.r,y.NgForOf,y.NgClass,de.c,m.o,oi,si.a,Ve.a,y.NgStyle],pipes:[M.c,y.KeyValuePipe,B.hb,B.Q,y.DecimalPipe,B.f,y.DatePipe,B.h,B.db],styles:[".routineGraph[_ngcontent-%COMP%]{width:120px;height:90px;display:block}.routineGraphSm[_ngcontent-%COMP%]{width:60px;height:45px;float:left}.routineGraphCarousel[_ngcontent-%COMP%]{width:200px;height:150px;display:block}.routineTable[_ngcontent-%COMP%]{border:none;float:left;margin-top:5px;margin-bottom:5px;font-family:Helvetica neue,Helvetica,sans-serif!important}.routineSelectors[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-bottom:20px;float:left}.routineFilterOption[_ngcontent-%COMP%], .routineSelectors[_ngcontent-%COMP%], .routineViewOptions[_ngcontent-%COMP%]{margin-left:0;width:100%}.routineViewOptions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-bottom:25px;float:left}.routineDetailSection[_ngcontent-%COMP%]{margin-left:20px;margin-bottom:5px;margin-top:5px}.structuredDetails[_ngcontent-%COMP%]{border-top:none}.thumbnailContainer[_ngcontent-%COMP%]{border:none!important;padding:0;visibility:hidden}.thumbnailContainerRow[_ngcontent-%COMP%]{visibility:hidden;height:0}.thumbnailSmall[_ngcontent-%COMP%]{visibility:visible}.activityFilterOption[_ngcontent-%COMP%]{margin:10px 0 0;max-width:220px}.multiActivityFilterOption[_ngcontent-%COMP%]{margin:10px 0 0 10px;max-width:220px;clear:none}.seriesRepeats[_ngcontent-%COMP%]{font-weight:700;margin:10px 0;clear:both}.carousel-type-icon[_ngcontent-%COMP%]{width:40px!important;float:left;margin-top:-40px;z-index:10}.showStructuredDetail[_ngcontent-%COMP%]{color:#4597cb;float:right;cursor:pointer;font-weight:400;width:100px;text-align:right;margin-bottom:20px}.categoryDisplay[_ngcontent-%COMP%]{border:1px solid #b2b2b2;padding:3px;float:left;margin-right:5px;margin-top:5px}.structruedDetailTitles[_ngcontent-%COMP%]{font-weight:700}.seriesContainer[_ngcontent-%COMP%]{border-top:1px solid #b2b2b2;padding-top:5px}.healthTableDiv[_ngcontent-%COMP%]{width:100%;padding-left:20px;padding-right:20px;float:left}.routineSeriesHeader[_ngcontent-%COMP%]{padding-bottom:0;font-weight:500}.noRoutines[_ngcontent-%COMP%]{width:100%;display:flex;margin-bottom:30px}.PrivacyGroup[_ngcontent-%COMP%]{display:flex;flex-direction:column}.categoryInputWrap[_ngcontent-%COMP%]{max-width:400px}.categoryInput[_ngcontent-%COMP%]{border-bottom:1px solid #b2b0b0;border-radius:0;height:30px}.routineShareInput[_ngcontent-%COMP%]{display:flex;flex-direction:column}.th-health[_ngcontent-%COMP%]{padding:8px!important;font-size:18px;font-weight:400!important;border:none!important}.routineTitle[_ngcontent-%COMP%], .th-health[_ngcontent-%COMP%]{font-family:Helvetica neue,Helvetica,sans-serif!important}.routineTitle[_ngcontent-%COMP%]{font-size:14px;font-weight:400;padding:10px 0 0}.routineTitle[_ngcontent-%COMP%], .routineTitleRow[_ngcontent-%COMP%]{vertical-align:middle!important}.myRoutineTitleRow[_ngcontent-%COMP%]{cursor:pointer;border-top:1px solid #efefef}.menuTH[_ngcontent-%COMP%]{width:20px}.menuBtn[_ngcontent-%COMP%]{padding:0 10px}.routineTitleSmThumb[_ngcontent-%COMP%]{width:80px;vertical-align:middle!important;padding:10px 0;margin-bottom:10px}.hideWhenLarge[_ngcontent-%COMP%]{visibility:hidden;padding:0;width:0!important;height:0;margin:0!important}.videoThumbnail2[_ngcontent-%COMP%]{float:left;width:60px}.routineFilters[_ngcontent-%COMP%]{margin-bottom:20px;float:left;width:100%}.routesPicker[_ngcontent-%COMP%]{border-top-left-radius:5px;border-bottom-left-radius:5px}.assessmentPicker[_ngcontent-%COMP%]{border-top-right-radius:5px;border-bottom-right-radius:5px}.findWorkoutBtn[_ngcontent-%COMP%]{float:left;position:absolute;left:30px}.settingsBtn[_ngcontent-%COMP%]{float:right;position:absolute;right:30px;margin-top:-20px}.zoneOptions[_ngcontent-%COMP%]{clear:both;margin-top:54px}.searchContainer[_ngcontent-%COMP%]{margin-top:5px;float:right}.searchBtn[_ngcontent-%COMP%]{float:left;margin-left:5px}.favoriteCarousel[_ngcontent-%COMP%]{z-index:0;height:210px}.thumbnailContainer3[_ngcontent-%COMP%]{width:200px}.stackInFront[_ngcontent-%COMP%]{z-index:1}.categoryHeader[_ngcontent-%COMP%]{border-bottom:1px solid #4597cb;margin-bottom:8px;background:rgba(226,227,228,.2)}.titleHeaderText[_ngcontent-%COMP%]{text-align:left;min-width:100px;font-weight:400;margin-bottom:10px}.panel-container[_ngcontent-%COMP%], .routineTableList[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .routineTableList[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{border:none}.sharedText[_ngcontent-%COMP%]{float:right;text-align:right;color:#3fae48;font-weight:700}.shareButton[_ngcontent-%COMP%]{margin:0 0 0 10px;float:right}.mat-radio-label[_ngcontent-%COMP%], label[_ngcontent-%COMP%]{font-weight:400!important}.actvityIcon[_ngcontent-%COMP%]{width:24px;margin-right:10px;margin-top:4px}.routineDescription[_ngcontent-%COMP%]{margin-top:10px}.distanceIcon[_ngcontent-%COMP%]{float:right;margin:0 0 0 40px;width:24px}.durationIcon[_ngcontent-%COMP%]{float:right;width:20px;margin:0 0 10px 80px}.previewVideo[_ngcontent-%COMP%]{margin:auto;width:640px;height:480px;text-align:center}.routineSegment[_ngcontent-%COMP%]{display:block;height:60px;width:33.33%;float:left;padding:20px;text-align:center;border:1px solid;cursor:pointer;margin-bottom:5px}.routineSegment[_ngcontent-%COMP%]:hover{background-color:rgba(69,151,203,.3)!important}.tab_menu_icons[_ngcontent-%COMP%]{max-width:20px;max-height:20px;margin-top:0;vertical-align:middle;margin-left:-20px}.routineFilterButton[_ngcontent-%COMP%]{float:right;margin-top:10px;clear:both;z-index:10}.routineFavoriteButton[_ngcontent-%COMP%]{float:left;margin-top:10px;margin-bottom:20px}.favCarousel[_ngcontent-%COMP%]{clear:both}.routineTableButton[_ngcontent-%COMP%]{float:left;margin:10px 0 20px}.save-icon[_ngcontent-%COMP%]{margin-left:-15px}.save-icon[_ngcontent-%COMP%], .save-icon-carousel[_ngcontent-%COMP%]{font-size:14px;z-index:10;position:relative;color:#236231}.save-icon-carousel[_ngcontent-%COMP%]{margin-top:-15px;float:right}.durationCarousel[_ngcontent-%COMP%]{width:49%;float:right;text-align:right}.distanceCarousel[_ngcontent-%COMP%]{width:49%;float:left}.betaNotice[_ngcontent-%COMP%]{width:100%;float:left;text-align:center;border:1px solid rgba(226,227,228,.3);border-radius:5px;padding:10px;margin:5px 0}.menu-text[_ngcontent-%COMP%]{margin-left:10px}.menu-icons[_ngcontent-%COMP%]{margin-top:13px;float:left}.filterContainer[_ngcontent-%COMP%]{margin-top:5px;width:100%;clear:both}.searchByText[_ngcontent-%COMP%]{float:left;margin-left:5px}.routineSearchMenu[_ngcontent-%COMP%]{font-size:35px;margin-left:-10px}.routineMenuButton[_ngcontent-%COMP%]{margin-top:-8px}.routineMetric[_ngcontent-%COMP%]{padding-right:5px}.green[_ngcontent-%COMP%]{color:#3fae48}.blue[_ngcontent-%COMP%]{color:#4597cb}.greenFilter[_ngcontent-%COMP%]{color:#3fae48}@media(max-width:767px){.healthTableDiv[_ngcontent-%COMP%]{padding-left:5px;padding-right:5px}.routineSelectors[_ngcontent-%COMP%]{margin-left:5px}.routineTitle[_ngcontent-%COMP%]{font-size:18px}.noDistanceLabel[_ngcontent-%COMP%]{padding-right:5px}}@media(max-width:620px){.shareButton[_ngcontent-%COMP%]{margin-right:0}.thumbnailContainer[_ngcontent-%COMP%]{padding:0 0 10px 10px;visibility:visible}.thumbnailContainerRow[_ngcontent-%COMP%]{visibility:visible;height:auto}.hideWhenSmall[_ngcontent-%COMP%]{visibility:hidden;padding:0;width:0;height:0}.hideWhenLarge[_ngcontent-%COMP%]{visibility:visible;padding:inherit;width:auto!important;height:inherit}}@media(max-width:479px){.shareButton[_ngcontent-%COMP%]{clear:both}.distanceIcon[_ngcontent-%COMP%]{float:right;margin-right:10px}.moreVertBtn[_ngcontent-%COMP%]{padding:0 10px}.myRoutineDistanceIcon[_ngcontent-%COMP%]{float:right;margin-right:10px;width:24px}.previewVideo[_ngcontent-%COMP%]{margin:auto;width:100%;height:auto}.tab_menu_icons[_ngcontent-%COMP%]{margin-left:0}.routineSegment[_ngcontent-%COMP%]{padding:10px 0 0;height:40px}}",".routineTable[_ngcontent-%COMP%]{border:none;float:left;margin-top:30px;margin-bottom:50px}.routineTable[_ngcontent-%COMP%], .th-health[_ngcontent-%COMP%]{font-family:Helvetica neue,Helvetica,sans-serif!important}.th-health[_ngcontent-%COMP%]{padding:8px!important;font-size:18px;font-weight:400!important;border:none!important}.routineSelectors[_ngcontent-%COMP%]{margin-left:0;display:flex;flex-wrap:wrap;margin-top:0;float:left;width:100%}.structuredDetails[_ngcontent-%COMP%]{border-top:none}.thumbnailContainer[_ngcontent-%COMP%]{border:none!important;padding:0 0 10px 10px;visibility:visible}.seriesRepeats[_ngcontent-%COMP%]{margin:10px 0;clear:both;float:left;width:100%;border:1px solid #b2b2b2;border-radius:5px;padding:10px}.showStructuredDetail[_ngcontent-%COMP%]{color:#4597cb;cursor:pointer;font-weight:400;width:100%;text-align:right;float:right;width:80px;padding:10px 0}.categoryDisplay[_ngcontent-%COMP%]{border:1px solid #b2b2b2;padding:3px;float:left;margin-right:5px}.structruedDetailTitles[_ngcontent-%COMP%]{font-weight:400;font-size:14px;float:right;width:100%;text-align:right;max-width:45%}.seriesContainer[_ngcontent-%COMP%]{padding-inline-start:0;list-style-type:none}.search-selection[_ngcontent-%COMP%]{margin:0 10px 0 0}.videoShareButton[_ngcontent-%COMP%]{background:none;border:none;float:right;position:absolute;z-index:999999;bottom:48px;right:0}.videoButtons[_ngcontent-%COMP%]{clear:both;float:left;width:100%;margin-top:-10px;margin-bottom:20px}.routineTableDiv[_ngcontent-%COMP%]{margin-top:20px;clear:both}.routineViewOptions[_ngcontent-%COMP%]{margin-left:0;display:flex;flex-wrap:wrap;margin-bottom:25px;float:left;width:100%}.activityFilterOption[_ngcontent-%COMP%]{margin:10px 0 0;max-width:220px;clear:left;float:left}.noText[_ngcontent-%COMP%]{float:left}.searchSection[_ngcontent-%COMP%]{float:left;margin:0 0 10px -5px;border:0 solid}.searchSectionExpanded[_ngcontent-%COMP%]{min-width:240px}.routineSearchBox[_ngcontent-%COMP%]{height:35px;background-color:transparent;border-top:none;border-left:none;border-right:none;margin-bottom:20px;clear:left}.formType[_ngcontent-%COMP%]{clear:none;margin-right:10px}.carouselRow[_ngcontent-%COMP%]{z-index:0;height:210px}.durationIcon2[_ngcontent-%COMP%]{float:left;margin-right:3px}.noRoutines[_ngcontent-%COMP%]{width:100%;float:left;clear:both;margin:30px auto;text-align:center}.availableWorkouts[_ngcontent-%COMP%]{float:left;margin-top:6px;cursor:pointer}.actvityIcon[_ngcontent-%COMP%]{width:24px;margin-right:10px}.routineTitle[_ngcontent-%COMP%]{font-size:14px;font-family:Helvetica neue,Helvetica,sans-serif!important;font-weight:400}.routineTitleRow[_ngcontent-%COMP%]{vertical-align:baseline!important}.routineSeriesRepeats[_ngcontent-%COMP%]{float:right;margin-right:8px}.routineGraph[_ngcontent-%COMP%]{width:100px;height:75px;display:block}.distanceIcon[_ngcontent-%COMP%]{float:left;margin-right:3px}.routineGraphCarousel[_ngcontent-%COMP%]{width:200px;height:150px;display:block}.routineDescriptionText[_ngcontent-%COMP%]{margin-top:10px}.routineIntervals[_ngcontent-%COMP%]{clear:both;width:100%;float:left}.deleteBtn2[_ngcontent-%COMP%]{margin-top:-8px;float:right}.categoryHead[_ngcontent-%COMP%]{width:100%}.categoryName[_ngcontent-%COMP%]{text-align:right;min-width:100px}.metricLabel[_ngcontent-%COMP%]{font-size:14px}.durationHead[_ngcontent-%COMP%]{text-align:right;width:90px}.distanceHead[_ngcontent-%COMP%]{width:90px}.videoThumbnail[_ngcontent-%COMP%]{float:left;width:200px}.shareIcon[_ngcontent-%COMP%]{margin-top:0}.routineOptionsButton[_ngcontent-%COMP%]{float:right;clear:right;margin-top:20px}.video-player-container[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:100%;padding-top:56.25%}.responsive-iframe[_ngcontent-%COMP%]{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.routineFilterButton[_ngcontent-%COMP%]{float:right;margin:10px 10px 0 -2px;clear:both;z-index:10}@media(max-width:767px){.setGoalHeaderTextMain[_ngcontent-%COMP%]{font-size:20px}.routineTitle[_ngcontent-%COMP%]{font-size:18px}.routineSelectors[_ngcontent-%COMP%]{margin-left:5px}}@media(max-width:520px){.backarrow[_ngcontent-%COMP%]{padding-left:0}.seriesRepeats[_ngcontent-%COMP%]{padding:20px 10px}}@media(max-width:320px){.noText[_ngcontent-%COMP%]{visibility:hidden;width:0;float:left}.activityFilterOption[_ngcontent-%COMP%]{max-width:150px}.searchSectionExpanded[_ngcontent-%COMP%]{min-width:auto;max-width:220px}}"]}),e}(),Pr=n("oirt"),Tr=n("NWG2");function Dr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.workoutTypeName," ")}}function Lr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",34),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",n.workout.icon,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.workout.workoutTitle()," ")}}var Rr=function(e,t){return[e,t]};function jr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",32),i["\u0275\u0275template"](1,Dr,2,1,"span",33),i["\u0275\u0275template"](2,Lr,3,2,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](3,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function Ar(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.dateDisplay," ")}}function Fr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",37),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"date"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,1,n.workout.date,"short")," ")}}function Br(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"td",35),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"]().navigateToActivity(e)}),i["\u0275\u0275template"](1,Ar,2,1,"span",33),i["\u0275\u0275template"](2,Fr,3,4,"span",36),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](3,Rr,r.isMainWorkout?"mainWorkout":"",r.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isHeader)}}function zr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.map," ")}}var Nr=function(e,t){return{"height.px":e,"width.px":t}};function Hr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",39),i["\u0275\u0275element"](1,"ng-workout-map",40),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction2"](2,Nr,r.compareWidth,r.compareWidth)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("workout",n.workout)}}function Vr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",32),i["\u0275\u0275template"](1,zr,2,1,"span",33),i["\u0275\u0275template"](2,Hr,2,5,"div",38),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](3,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function Yr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.duration," ")}}function Wr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.duration," ")}}var Gr=function(e){return{color:e}};function Ur(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",42),i["\u0275\u0275elementStart"](1,"span",39),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,Gr,n.durationDiffColor)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate4"](" ",n.durationDiffSymbol,"",n.durationDiffValue," (",n.durationDiffSymbol,"",n.durationDiffPercent,"%) ")}}function qr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",32),i["\u0275\u0275template"](1,Yr,2,1,"span",33),i["\u0275\u0275template"](2,Wr,2,1,"span",33),i["\u0275\u0275template"](3,Ur,3,7,"span",41),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](4,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader&&!n.isMainWorkout)}}function Zr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.distance," ")}}function $r(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.distance," ")}}function Xr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",42),i["\u0275\u0275elementStart"](1,"span",39),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,Gr,n.distanceDiffColor)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate4"](" ",n.distanceDiffSymbol,"",n.distanceDiffValue," (",n.distanceDiffSymbol,"",n.distanceDiffPercent,"%) ")}}var Kr=function(e){return{"width.px":e}};function Jr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,Zr,2,1,"span",33),i["\u0275\u0275template"](2,$r,2,1,"span",33),i["\u0275\u0275template"](3,Xr,3,7,"span",41),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](7,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader&&!n.isMainWorkout)}}function Qr(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.avgPace," ")}}function ea(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.avgPace," ")}}function ta(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",42),i["\u0275\u0275elementStart"](1,"span",39),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,Gr,n.avgPaceDiffColor)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate4"](" ",n.avgPaceDiffSymbol,"",n.avgPaceDiffValue," (",n.avgPaceDiffSymbol,"",n.avgPaceDiffPercent,"%) ")}}function na(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,Qr,2,1,"span",33),i["\u0275\u0275template"](2,ea,2,1,"span",33),i["\u0275\u0275template"](3,ta,3,7,"span",41),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](7,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader&&!n.isMainWorkout)}}function ia(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"milesToKm"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,1,n.avgSpeed,r.isMetric)," ")}}function ra(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"KPH"),i["\u0275\u0275elementEnd"]())}function aa(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"MPH"),i["\u0275\u0275elementEnd"]())}function oa(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"milesToKm"),i["\u0275\u0275template"](3,ra,2,0,"span",33),i["\u0275\u0275template"](4,aa,2,0,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,3,n.avgSpeed,r.isMetric)," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.isMetric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isMetric)}}function sa(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",42),i["\u0275\u0275elementStart"](1,"span",39),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,Gr,n.avgSpeedDiffColor)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate4"](" ",n.avgSpeedDiffSymbol,"",n.avgSpeedDiffValue," (",n.avgSpeedDiffSymbol,"",n.avgSpeedDiffPercent,"%) ")}}function la(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,ia,3,4,"span",33),i["\u0275\u0275template"](2,oa,5,6,"span",33),i["\u0275\u0275template"](3,sa,3,7,"span",41),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](7,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader&&!n.isMainWorkout)}}function ca(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",42),i["\u0275\u0275elementStart"](1,"span",39),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,Gr,n.caloriesDiffColor)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate4"](" ",n.caloriesDiffSymbol,"",n.caloriesDiffValue," (",n.caloriesDiffSymbol,"",n.caloriesDiffPercent,"%) ")}}function da(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275text"](1),i["\u0275\u0275template"](2,ca,3,7,"span",41),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.calories," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader&&!n.isMainWorkout&&n.caloriesDiffValue)}}function ua(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",42),i["\u0275\u0275elementStart"](1,"span",39),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,Gr,n.fatCaloriesDiffColor)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate4"](" ",n.fatCaloriesDiffSymbol,"",n.fatCaloriesDiffValue," (",n.fatCaloriesDiffSymbol,"",n.fatCaloriesDiffPercent,"%) ")}}function pa(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275text"](1),i["\u0275\u0275template"](2,ua,3,7,"span",41),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.fatCalories," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader&&!n.isMainWorkout&&n.fatCaloriesDiffValue)}}function ha(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",42),i["\u0275\u0275elementStart"](1,"span",39),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,Gr,n.carbCaloriesDiffColor)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate4"](" ",n.carbCaloriesDiffSymbol,"",n.carbCaloriesDiffValue," (",n.carbCaloriesDiffSymbol,"",n.carbCaloriesDiffPercent,"%) ")}}function ma(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275text"](1),i["\u0275\u0275template"](2,ha,3,7,"span",41),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.carbCalories," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader&&!n.isMainWorkout&&n.carbCaloriesDiffValue)}}function ga(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",42),i["\u0275\u0275elementStart"](1,"span",39),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,Gr,n.maxBPMDiffColor)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate4"](" ",n.maxBPMDiffSymbol,"",n.maxBPMDiffValue," (",n.maxBPMDiffSymbol,"",n.maxBPMDiffPercent,"%) ")}}function fa(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275text"](1),i["\u0275\u0275template"](2,ga,3,7,"span",41),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.maxHR," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader&&!n.isMainWorkout&&n.maxBPMDiffValue)}}function va(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",42),i["\u0275\u0275elementStart"](1,"span",39),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,Gr,n.avgBPMDiffColor)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate4"](" ",n.avgBPMDiffSymbol,"",n.avgBPMDiffValue," (",n.avgBPMDiffSymbol,"",n.avgBPMDiffPercent,"%) ")}}function ya(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275text"](1),i["\u0275\u0275template"](2,va,3,7,"span",41),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.avgHR," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader&&!n.isMainWorkout&&n.avgBPMDiffValue)}}function ba(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.heartRate," ")}}function xa(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"ng-workout-hr",44),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("workout",n.workout)("showLabels",!1)("width",r.compareWidth)("height",100)}}function _a(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,ba,2,1,"span",33),i["\u0275\u0275template"](2,xa,2,4,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function wa(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.rating," ")}}function Sa(e,t){1&e&&i["\u0275\u0275element"](0,"img",47)}function Ca(e,t){1&e&&i["\u0275\u0275element"](0,"img",47)}function ka(e,t){1&e&&i["\u0275\u0275element"](0,"img",47)}function Oa(e,t){1&e&&i["\u0275\u0275element"](0,"img",47)}function Ea(e,t){1&e&&i["\u0275\u0275element"](0,"img",47)}function Ma(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"div",45),i["\u0275\u0275template"](2,Sa,1,0,"img",46),i["\u0275\u0275template"](3,Ca,1,0,"img",46),i["\u0275\u0275template"](4,ka,1,0,"img",46),i["\u0275\u0275template"](5,Oa,1,0,"img",46),i["\u0275\u0275template"](6,Ea,1,0,"img",46),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.workout.rating>=1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.workout.rating>=2),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.workout.rating>=3),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.workout.rating>=4),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.workout.rating>=5)}}function Ia(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,wa,2,1,"span",33),i["\u0275\u0275template"](2,Ma,7,5,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function Pa(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.intensity," ")}}function Ta(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",50),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3,"Easy"),i["\u0275\u0275elementEnd"]())}function Da(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",51),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3,"Moderate"),i["\u0275\u0275elementEnd"]())}function La(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",52),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3,"Medium"),i["\u0275\u0275elementEnd"]())}function Ra(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",53),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3,"Hard"),i["\u0275\u0275elementEnd"]())}function ja(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",54),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3,"Intense"),i["\u0275\u0275elementEnd"]())}function Aa(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"div",48),i["\u0275\u0275elementStart"](2,"span",49),i["\u0275\u0275template"](3,Ta,4,0,"span",33),i["\u0275\u0275template"](4,Da,4,0,"span",33),i["\u0275\u0275template"](5,La,4,0,"span",33),i["\u0275\u0275template"](6,Ra,4,0,"span",33),i["\u0275\u0275template"](7,ja,4,0,"span",33),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",1==n.workout.intensity),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",2==n.workout.intensity),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",3==n.workout.intensity),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",4==n.workout.intensity),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",5==n.workout.intensity)}}function Fa(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,Pa,2,1,"span",33),i["\u0275\u0275template"](2,Aa,8,5,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function Ba(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.mood," ")}}function za(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",56),i["\u0275\u0275elementEnd"]())}function Na(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",57),i["\u0275\u0275elementEnd"]())}function Ha(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",58),i["\u0275\u0275elementEnd"]())}function Va(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",59),i["\u0275\u0275elementEnd"]())}function Ya(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",60),i["\u0275\u0275elementEnd"]())}function Wa(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"div",55),i["\u0275\u0275template"](2,za,2,0,"span",33),i["\u0275\u0275template"](3,Na,2,0,"span",33),i["\u0275\u0275template"](4,Ha,2,0,"span",33),i["\u0275\u0275template"](5,Va,2,0,"span",33),i["\u0275\u0275template"](6,Ya,2,0,"span",33),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==n.workout.mood),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",2==n.workout.mood),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",3==n.workout.mood),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",4==n.workout.mood),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",5==n.workout.mood)}}function Ga(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,Ba,2,1,"span",33),i["\u0275\u0275template"](2,Wa,7,5,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function Ua(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.weather," ")}}function qa(e,t){1&e&&i["\u0275\u0275element"](0,"img",69)}function Za(e,t){1&e&&i["\u0275\u0275element"](0,"img",70)}function $a(e,t){1&e&&i["\u0275\u0275element"](0,"img",71)}function Xa(e,t){1&e&&i["\u0275\u0275element"](0,"img",72)}function Ka(e,t){1&e&&i["\u0275\u0275element"](0,"img",73)}function Ja(e,t){1&e&&i["\u0275\u0275element"](0,"img",74)}function Qa(e,t){1&e&&i["\u0275\u0275element"](0,"img",75)}function eo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"div",61),i["\u0275\u0275template"](2,qa,1,0,"img",62),i["\u0275\u0275template"](3,Za,1,0,"img",63),i["\u0275\u0275template"](4,$a,1,0,"img",64),i["\u0275\u0275template"](5,Xa,1,0,"img",65),i["\u0275\u0275template"](6,Ka,1,0,"img",66),i["\u0275\u0275template"](7,Ja,1,0,"img",67),i["\u0275\u0275template"](8,Qa,1,0,"img",68),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==n.workout.weather),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",2==n.workout.weather),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",3==n.workout.weather),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",4==n.workout.weather),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",5==n.workout.weather),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",6==n.workout.weather),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",7==n.workout.weather)}}function to(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,Ua,2,1,"span",33),i["\u0275\u0275template"](2,eo,9,7,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function no(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.description," ")}}function io(e,t){if(1&e&&i["\u0275\u0275element"](0,"span",77),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275property"]("innerHTML",n.workout.description.comments,i["\u0275\u0275sanitizeHtml"])}}function ro(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,no,2,1,"span",33),i["\u0275\u0275template"](2,io,1,1,"span",76),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function ao(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.tags," ")}}function oo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n)}}function so(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,oo,2,1,"span",78),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.workout.tags)}}function lo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,ao,2,1,"span",33),i["\u0275\u0275template"](2,so,2,1,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function co(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.heartRateZones," ")}}function uo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"ng-workout-hr",79),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("workout",n.workout)("type","pie")("showLabels",!1)("width",r.compareWidth)("height",100)}}function po(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,co,2,1,"span",33),i["\u0275\u0275template"](2,uo,2,5,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function ho(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.strides," ")}}function mo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.strides," ")}}function go(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,ho,2,1,"span",33),i["\u0275\u0275template"](2,mo,2,1,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function fo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.steps," ")}}function vo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.steps," ")}}function yo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,fo,2,1,"span",33),i["\u0275\u0275template"](2,vo,2,1,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function bo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.avgRPM," ")}}function xo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.avgRPM," ")}}function _o(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,bo,2,1,"span",33),i["\u0275\u0275template"](2,xo,2,1,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function wo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.maxRPM," ")}}function So(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.maxRPM," ")}}function Co(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,wo,2,1,"span",33),i["\u0275\u0275template"](2,So,2,1,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function ko(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.elevationAsc," ")}}function Oo(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"m"),i["\u0275\u0275elementEnd"]())}function Eo(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"ft"),i["\u0275\u0275elementEnd"]())}function Mo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"ftToMeter"),i["\u0275\u0275template"](3,Oo,2,0,"span",33),i["\u0275\u0275template"](4,Eo,2,0,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,3,n.elevationAsc,r.isMetric)," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.isMetric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isMetric)}}function Io(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,ko,2,1,"span",33),i["\u0275\u0275template"](2,Mo,5,6,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}function Po(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.elevationDesc," ")}}function To(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"m"),i["\u0275\u0275elementEnd"]())}function Do(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"ft"),i["\u0275\u0275elementEnd"]())}function Lo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"ftToMeter"),i["\u0275\u0275template"](3,To,2,0,"span",33),i["\u0275\u0275template"](4,Do,2,0,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,3,n.elevationDesc,r.isMetric)," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.isMetric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isMetric)}}function Ro(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",43),i["\u0275\u0275template"](1,Po,2,1,"span",33),i["\u0275\u0275template"](2,Lo,5,6,"span",33),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Kr,n.isHeader?"114":r.compareWidth))("ngClass",i["\u0275\u0275pureFunction2"](6,Rr,n.isMainWorkout?"mainWorkout":"",n.isHeader?"statsNameCell":"statsCell")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isHeader),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isHeader)}}var jo=function(){function e(e,t,n,i,r,a,o,s){this.titleService=e,this.workoutService=t,this.WorkoutTypes=n,this.router=i,this.route=r,this.translate=a,this.numberPipe=o,this.AccountService=s,this.activityIdsInput=this.route.snapshot.paramMap.get("activityIds"),this.activityIds=[],this.activities=[],this.isMetric=!1,this.compareWidth=313.3,this.workoutCountColumnWidthMapping={2:"313.3",3:"235",4:"188"}}return e.prototype.compareValues=function(e,t,n){var i=Number(t)-Number(e),r=Number((i/e*100).toFixed());return[Number(i.toFixed(n)),r]},e.prototype.trackByFnc=function(e,t){return t},e.prototype.navigateToActivity=function(e){console.log(e),this.router.navigate(["/activity",e.workout.hhc,"detail"])},e.prototype.ngOnInit=function(){var e=this;this.activityIdsInput=this.activityIdsInput.split(",");for(var t=0;t<this.activityIdsInput.length;t++)this.activityIds.push(Number(this.activityIdsInput[t]));this.compareWidth=Number(this.workoutCountColumnWidthMapping[this.activityIds.length]),this.isMetric=this.AccountService.account.isMetric(),this.workoutService.getWorkoutDetails(this.activityIds).subscribe(function(t){var n;e.activities.push({workoutTypeName:"",isMainWorkout:!1,dateDisplay:"Date",map:"",workout:"",rating:"Rating",steps:"Steps",strides:"Strides",intensity:"Intensity",heartRateZones:"Heart Rate Zones",maxHR:"Max Heart Rate",avgHR:"Avg Heart Rate",revolutions:"Revolutions",mood:"Mood",weather:"Weather",duration:"Time",distance:"Distance",description:"Description",tags:"Tags",avgPace:"Avg Pace",avgSpeed:"Avg Speed",avgRPM:"Avg RPM",maxRPM:"Max RPM",calories:"Calories",fatCalories:"Fat Calories",carbCalories:"Carb Calories",elevationAsc:"Elev ASC",elevationDesc:"Elev DESC",isHeader:!0});for(var i=0;i<t.response.workouts.length;i++){var r=!1,a=void 0,o=void 0,s={};0===i?(r=!0,s.isMainWorkout=!0):(n=new Te.a(t.response.workouts[0],e.WorkoutTypes,e.translate.currentLang),a=Object(Te.b)(n.getDistance(),n.getElapsedSeconds()),o=Object(Te.c)(n.getDistance(),n.getElapsedSeconds()));var l=new Te.a(t.response.workouts[i],e.WorkoutTypes,e.translate.currentLang);s.workout=l;var c=Object(Te.b)(l.getDistance(),l.getElapsedSeconds()),d=Object(Te.c)(l.getDistance(),l.getElapsedSeconds());if(s.duration=l.getElapsedSeconds()>0?Object(B.gb)(l.getElapsedSeconds()):"N/A",s.dateDisplay="",s.distance=l.getDistance()>0?l.getDistance():"N/A",s.avgPace=c>0?Object(B.gb)(c):"N/A",s.avgSpeed=d>0?d:"N/A",s.calories=l.calories>0?e.numberPipe.transform(l.calories)+" cal":"N/A",s.fatCalories=l.summary.fatCalories>0?e.numberPipe.transform(l.summary.fatCalories)+" cal":"N/A",s.carbCalories=l.getCarbCalories()>0?e.numberPipe.transform(l.getCarbCalories())+" cal":"N/A",s.steps=l.getStepCount()>0?e.numberPipe.transform(l.getStepCount()):"N/A",s.strides=l.getStrideCount()>0?e.numberPipe.transform(l.getStrideCount()):"N/A",s.revolutions=l.getTotalRevolutions()>0?e.numberPipe.transform(l.getTotalRevolutions()):"N/A",s.avgRPM=l.getAvgRpm()>0?l.getAvgRpm():"N/A",s.maxRPM=l.getMaxRpm()>0?l.getMaxRpm():"N/A",s.elevationAsc=l.getAltitudeAscent()>0?l.getAltitudeAscent():"N/A",s.elevationDesc=l.getAltitudeDescent()>0?l.getAltitudeDescent():"N/A",s.maxHR=l.summary.maxHeartRate>0?l.summary.maxHeartRate:"N/A",s.avgHR=l.summary.avgHeartRate>0?l.summary.avgHeartRate:"N/A",!r){var u=e.compareValues(n.getElapsedSeconds(),l.getElapsedSeconds(),0),p=e.compareValues(n.getDistance(),l.getDistance(),2),h=e.compareValues(a,c,0),m=e.compareValues(o,d,1),g=e.compareValues(n.calories,l.calories,0),f=e.compareValues(n.summary.fatCalories,l.summary.fatCalories,0),v=e.compareValues(n.getCarbCalories(),l.getCarbCalories(),0),y=e.compareValues(n.getStepCount(),l.getStepCount(),0),b=e.compareValues(n.getStrideCount(),l.getStrideCount(),0),x=(e.compareValues(n.getTotalRevolutions(),l.getTotalRevolutions(),0),e.compareValues(n.summary.maxHeartRate,l.summary.maxHeartRate,0)),_=e.compareValues(n.summary.avgHeartRate,l.summary.avgHeartRate,0);s.durationDiffValue=Object(B.gb)(u[0]),s.durationDiffPercent=Math.abs(u[1]),s.durationDiffColor=u[0]>0?"green":u[0]<0?"red":"black",s.durationDiffSymbol=u[0]<0?"-":u[0]>0?"+":"",s.distanceDiffValue=Math.abs(p[0]),s.distanceDiffPercent=Math.abs(p[1]),s.distanceDiffColor=p[0]>0?"green":p[0]<0?"red":"black",s.distanceDiffSymbol=p[0]<0?"-":p[0]>0?"+":"",s.avgPaceDiffValue=Object(B.gb)(h[0]),s.avgPaceDiffPercent=Math.abs(h[1]),s.avgPaceDiffColor=h[0]>0?"red":h[0]<0?"green":"black",s.avgPaceDiffSymbol=h[0]<0?"-":h[0]>0?"+":"",s.avgSpeedDiffValue=Math.abs(m[0]),s.avgSpeedDiffPercent=Math.abs(m[1]),s.avgSpeedDiffColor=m[0]>0?"green":m[0]<0?"red":"black",s.avgSpeedDiffSymbol=m[0]>0?"+":"",s.maxBPMDiffValue=Math.abs(x[0]),s.maxBPMDiffPercent=Math.abs(x[1]),s.maxBPMDiffColor=x[0]>0?"red":x[0]<0?"green":"black",s.maxBPMDiffSymbol=x[0]>0?"+":"",s.avgBPMDiffValue=Math.abs(_[0]),s.avgBPMDiffPercent=Math.abs(_[1]),s.avgBPMDiffColor=_[0]>0?"red":_[0]<0?"green":"black",s.avgBPMDiffSymbol=_[0]>0?"+":"",g[0]>0&&(s.caloriesDiffValue=Math.abs(g[0]),s.caloriesDiffPercent=Math.abs(g[1]),s.caloriesDiffColor=g[0]>0?"green":g[0]<0?"red":"black",s.caloriesDiffSymbol=g[0]<0?"-":g[0]>0?"+":""),f[0]>0&&(s.fatCaloriesDiffValue=Math.abs(f[0]),s.fatCaloriesDiffPercent=Math.abs(f[1]),s.fatCaloriesDiffColor=f[0]>0?"green":f[0]<0?"red":"black",s.fatCaloriesDiffSymbol=f[0]<0?"-":f[0]>0?"+":""),v[0]>0&&(s.carbCaloriesDiffValue=Math.abs(v[0]),s.carbCaloriesDiffPercent=Math.abs(v[1]),s.carbCaloriesDiffColor=v[0]>0?"green":v[0]<0?"red":"black",s.carbCaloriesDiffSymbol=v[0]<0?"-":v[0]>0?"+":""),s.stepsDiffValue=Math.abs(y[0]),s.stepsDiffPercent=Math.abs(y[1]),s.stepsDiffColor=y[0]>0?"green":y[0]<0?"red":"black",s.stepsDiffSymbol=y[0]<0?"-":y[0]>0?"+":"",s.stridesDiffValue=Math.abs(b[0]),s.stridesDiffPercent=Math.abs(b[1]),s.stridesDiffColor=b[0]>0?"green":b[0]<0?"red":"black",s.stridesDiffSymbol=b[0]<0?"-":b[0]>0?"+":"",s.revolutionsDiffValue=Math.abs(b[0]),s.revolutionsDiffPercent=Math.abs(b[1]),s.revolutionsDiffColor=b[0]>0?"green":b[0]<0?"red":"black",s.revolutionsDiffSymbol=b[0]<0?"-":b[0]>0?"+":""}e.activities.push(s)}}),console.log(this.activityIdsInput)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](y.DecimalPipe),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-compare"]],decls:55,vars:52,consts:[["id","workoutCompareTableEl"],["id","workoutCompareTableHead"],["id","workoutCompareWorkoutTypeRow"],[3,"ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["id","workoutCompareTableBody"],["id","workoutCompareDateRow"],["class","statNameCell",3,"ngClass","click",4,"ngFor","ngForOf","ngForTrackBy"],["id","workoutCompareMapRow"],["id","workoutCompareDurationRow"],["id","workoutCompareDistanceRow"],[3,"ngStyle","ngClass",4,"ngFor","ngForOf","ngForTrackBy"],["id","workoutComparePaceRow"],["id","workoutCompareSpeedRow"],["id","workoutCompareCaloriesRow"],["id","workoutCompareFatCaloriesRow"],["id","workoutCompareCarbCaloriesRow"],["id","workoutCompareMaxHRRow"],["id","workoutCompareAvgHRRow"],["id","workoutCompareHRChartRow"],["id","workoutCompareRatingRow"],["id","workoutCompareIntensityRow"],["id","workoutCompareMoodRow"],["id","workoutCompareWeatherRow"],["id","workoutCompareDescriptionRow"],["id","workoutCompareTagsRow"],["id","workoutCompareHRPieRow"],["id","workoutCompareStridesRow"],["id","workoutCompareStepsRow"],["id","workoutCompareAvgRPMRow"],["id","workoutCompareMaxRPMRow"],["id","workoutCompareElevationAscRow"],["id","workoutCompareElevationDescRow"],[3,"ngClass"],[4,"ngIf"],[2,"width","26px",3,"src"],[1,"statNameCell",3,"ngClass","click"],["style","color: #4597CB;cursor:pointer;",4,"ngIf"],[2,"color","#4597CB","cursor","pointer"],[3,"ngStyle",4,"ngIf"],[3,"ngStyle"],["is-metric","isMetric",3,"workout"],["class","valuePercentage",4,"ngIf"],[1,"valuePercentage"],[3,"ngStyle","ngClass"],[3,"workout","showLabels","width","height"],["id","workoutDetailsRatingDisplay",1,"detailsRatingDisplaySection","detailsRatingDisplay"],["width","16","height","16","src","/static/img/icons/star_on_icon.png",4,"ngIf"],["width","16","height","16","src","/static/img/icons/star_on_icon.png"],["id","workoutDetailsIntensityDisplay",1,"detailsRatingDisplaySection","detailsIntensityDisplay"],["id","intensityDisplay"],["src","/static/img/icons/indicatorBlue.png"],["src","/static/img/icons/indicatorGreen.png"],["src","/static/img/icons/indicatorYellow.png"],["src","/static/img/icons/indicatorOrange.png"],["src","/static/img/icons/indicatorRed.png"],["id","workoutDetailsMoodDisplay",1,"detailsRatingDisplaySection","detailsMoodDisplay"],["src","/static/img/icons/mood1_on_icon.png"],["src","/static/img/icons/mood2_on_icon.png"],["src","/static/img/icons/mood3_on_icon.png"],["src","/static/img/icons/mood4_on_icon.png"],["src","/static/img/icons/mood5_on_icon.png"],["id","workoutDetailsWeatherDisplay",1,"detailsRatingDisplaySection","detailsWeatherDisplay"],["src","/static/img/icons/weather1_on_icon.png",4,"ngIf"],["src","/static/img/icons/weather2_on_icon.png",4,"ngIf"],["src","/static/img/icons/weather3_on_icon.png",4,"ngIf"],["src","/static/img/icons/weather4_on_icon.png",4,"ngIf"],["src","/static/img/icons/weather5_on_icon.png",4,"ngIf"],["src","/static/img/icons/weather6_on_icon.png",4,"ngIf"],["src","/static/img/icons/weather7_on_icon.png",4,"ngIf"],["src","/static/img/icons/weather1_on_icon.png"],["src","/static/img/icons/weather2_on_icon.png"],["src","/static/img/icons/weather3_on_icon.png"],["src","/static/img/icons/weather4_on_icon.png"],["src","/static/img/icons/weather5_on_icon.png"],["src","/static/img/icons/weather6_on_icon.png"],["src","/static/img/icons/weather7_on_icon.png"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"],[4,"ngFor","ngForOf"],[3,"workout","type","showLabels","width","height"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"table",0),i["\u0275\u0275elementStart"](1,"thead",1),i["\u0275\u0275elementStart"](2,"tr",2),i["\u0275\u0275template"](3,jr,3,6,"td",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"tbody",4),i["\u0275\u0275elementStart"](5,"tr",5),i["\u0275\u0275template"](6,Br,3,6,"td",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"tr",7),i["\u0275\u0275template"](8,Vr,3,6,"td",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"tr",8),i["\u0275\u0275template"](10,qr,4,7,"td",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"tr",9),i["\u0275\u0275template"](12,Jr,4,10,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"tr",11),i["\u0275\u0275template"](14,na,4,10,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"tr",12),i["\u0275\u0275template"](16,la,4,10,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"tr",13),i["\u0275\u0275template"](18,da,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"tr",14),i["\u0275\u0275template"](20,pa,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"tr",15),i["\u0275\u0275template"](22,ma,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"tr",16),i["\u0275\u0275template"](24,fa,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"tr",17),i["\u0275\u0275template"](26,ya,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"tr",18),i["\u0275\u0275template"](28,_a,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"tr",19),i["\u0275\u0275template"](30,Ia,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"tr",20),i["\u0275\u0275template"](32,Fa,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"tr",21),i["\u0275\u0275template"](34,Ga,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"tr",22),i["\u0275\u0275template"](36,to,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"tr",23),i["\u0275\u0275template"](38,ro,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"tr",24),i["\u0275\u0275template"](40,lo,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"tr",25),i["\u0275\u0275template"](42,po,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"tr",26),i["\u0275\u0275template"](44,go,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"tr",27),i["\u0275\u0275template"](46,yo,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"tr",28),i["\u0275\u0275template"](48,_o,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"tr",29),i["\u0275\u0275template"](50,Co,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](51,"tr",30),i["\u0275\u0275template"](52,Io,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"tr",31),i["\u0275\u0275template"](54,Ro,3,9,"td",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.activities)("ngForTrackBy",t.trackByFnc))},directives:[y.NgForOf,y.NgClass,y.NgIf,y.NgStyle,Pr.a,Tr.a],pipes:[y.DatePipe,B.Q,B.D],styles:[".valuePercentage[_ngcontent-%COMP%]{float:right}#workoutCompareTableEl[_ngcontent-%COMP%]{color:#808284;font-size:14px;margin:0 auto 100px}.mainWorkout[_ngcontent-%COMP%]{background-color:#d8e6ff}.statsCell[_ngcontent-%COMP%]{padding:6px 16px}.statsNameCell[_ngcontent-%COMP%]{background-color:#fff;padding-left:5px;border-left:none!important;border-right:none!important}#workoutCompareTableEl[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{border-left:1px solid #c6c6c4;border-bottom:1px dotted #c6c6c4}#workoutCompareTableEl[_ngcontent-%COMP%] > tbody[_ngcontent-%COMP%] > tr[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]:last-child{border-right:1px solid #c6c6c4}"]}),e}(),Ao=n("FoCD"),Fo=n("Sh3t");function Bo(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275elementStart"](1,"a",16),i["\u0275\u0275element"](2,"img",17),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",18),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,1,"ROOT.join_a_group")))}function zo(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",19),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().joinGroupUsingPassword()}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Next")," "))}function No(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275elementStart"](1,"span"),i["\u0275\u0275text"](2),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.errorMessage)}}function Ho(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",19),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().joinGroupUsingInvite()}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Next")," "))}var Vo=function(){function e(e,t,n,i,r,a,o){this.titleService=e,this.formBuilder=t,this.groupService=n,this.ThemeService=i,this.translate=r,this.router=a,this.dialog=o,this.groupJoinStepNumber=0,this.processing=!1,this.joinGroupForm=this.formBuilder.group({groupName1:["",[de.y.required]],groupP1:["",[de.y.required]],groupInvitationCode:["",[de.y.required]]})}return e.prototype.openSharePerms=function(e){var t=this;this.dialog.open(Ao.a,{data:e,maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(n){!0===n&&t.router.navigate(["/groups/"+e.id])})},e.prototype.joinGroupUsingPassword=function(){var e=this;this.errorMessage=null,this.error=null,this.processing=!0,this.groupService.joinGroupUsingPassword(this.joinGroupForm.value.groupName1,this.joinGroupForm.value.groupP1).subscribe(function(t){e.openSharePerms(new Fo.a(t.response.result))},function(t){console.log(t),e.errorMessage=t.error.response.error.message}),this.processing=!1},e.prototype.joinGroupUsingInvite=function(){var e=this;this.errorMessage=null,this.processing=!0,this.groupService.joinGroupUsingInvite(this.joinGroupForm.value.groupInvitationCode).subscribe(function(t){e.openSharePerms(new Fo.a(t.response.result))},function(t){console.log(t),e.errorMessage=t.error.response.error.message}),this.processing=!1},e.prototype.ngOnInit=function(){this.joinGroupForm=this.formBuilder.group({groupName1:[null,de.y.required],groupP1:[null,de.y.required],groupInvitationCode:[null,de.y.required]})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](de.d),i["\u0275\u0275directiveInject"](Le.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](g.b))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-group-join"]],decls:29,vars:18,consts:[[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[1,"sectionStructure"],[3,"formGroup"],[2,"width","0px  !important","height","0px !important"],["matInput","","type","password","placeholder","Password","autocomplete","off"],[2,"width","100%","margin-top","30px"],["matInput","","type","text","placeholder","Team Name","formControlName","groupName1","autocomplete","off"],[2,"width","100%"],["matInput","","type","password","placeholder","Password","formControlName","groupP1","autocomplete","off"],["class","create-button float-right",3,"click",4,"ngIf"],[1,"full-width","clear-both"],["class","error-msg",4,"ngIf"],[1,"invitation"],["matInput","","type","text","placeholder","Enter Invitation Code","formControlName","groupInvitationCode"],[1,"main-menu-section-heading"],["routerLink","/groups"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"create-button","float-right",3,"click"],[1,"error-msg"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275template"](1,Bo,7,3,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"form",3),i["\u0275\u0275elementStart"](4,"mat-form-field",4),i["\u0275\u0275element"](5,"input",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"mat-form-field",6),i["\u0275\u0275elementStart"](7,"mat-label"),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](10,"input",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"mat-form-field",8),i["\u0275\u0275elementStart"](12,"mat-label"),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"input",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](16,zo,3,3,"button",10),i["\u0275\u0275elementStart"](17,"div",11),i["\u0275\u0275template"](18,No,4,1,"div",12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div",13),i["\u0275\u0275elementStart"](20,"b"),i["\u0275\u0275text"](21),i["\u0275\u0275pipe"](22,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"mat-form-field",8),i["\u0275\u0275elementStart"](24,"mat-label"),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](27,"input",14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](28,Ho,3,3,"button",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("formGroup",t.joinGroupForm),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,10,"ROOT.team_name")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](14,12,"ROOT.password")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!t.processing),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.errorMessage),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](22,14,"ROOT.have_an_invite_code")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](26,16,"ROOT.invite_code")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!t.processing))},directives:[y.NgClass,y.NgIf,de.z,de.p,de.i,fe.c,be.b,fe.g,de.c,de.o,de.g,S.f],pipes:[M.c],styles:[".join-group-button[_ngcontent-%COMP%]{font-size:16px;border-radius:18px;width:100%;padding:8px 0}.join-group-button[disabled][_ngcontent-%COMP%]{opacity:.5;color:#fff!important}.invitation[_ngcontent-%COMP%]{float:left;width:100%;clear:both;margin:20px 0}"]}),e}(),Yo=n("S7dM"),Wo=n("7EHt");function Go(e,t){1&e&&i["\u0275\u0275element"](0,"mat-progress-bar",12)}function Uo(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",24),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"]().navigateToMember(e.sender_member_url)}),i["\u0275\u0275element"](1,"img",25),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate2"]("src","https://storage.googleapis.com/image_manager/profile_image/",r.sender_id,"/",r.sender_image_filename,"",i["\u0275\u0275sanitizeUrl"])}}function qo(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",24),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"]().navigateToMember(e.sender_member_url)}),i["\u0275\u0275element"](1,"img",25),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/group_member_photo/",r.sender_id,"",i["\u0275\u0275sanitizeUrl"])}}var Zo=function(e){return[e]};function $o(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",29),i["\u0275\u0275elementStart"](1,"i",30),i["\u0275\u0275text"](2,"person"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction1"](4,Zo,n.content)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,2,"ROOT.View"),"")}}var Xo=function(e){return{embed:e}};function Ko(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",31),i["\u0275\u0275elementStart"](1,"i",30),i["\u0275\u0275text"](2,"person"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction1"](5,Zo,n.content))("queryParams",i["\u0275\u0275pureFunction1"](7,Xo,r.isMobileEmbedded)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,3,"ROOT.View"),"")}}function Jo(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",26),i["\u0275\u0275text"](1),i["\u0275\u0275template"](2,$o,5,6,"a",27),i["\u0275\u0275template"](3,Ko,5,9,"a",28),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.inboxMessage.preview," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isMobileEmbedded)}}function Qo(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",36),i["\u0275\u0275element"](1,"img",37),i["\u0275\u0275elementEnd"]())}function es(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",36),i["\u0275\u0275element"](1,"img",38),i["\u0275\u0275elementEnd"]())}function ts(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",36),i["\u0275\u0275element"](1,"img",39),i["\u0275\u0275elementEnd"]())}function ns(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",36),i["\u0275\u0275element"](1,"img",40),i["\u0275\u0275elementEnd"]())}function is(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate3"](" ",i["\u0275\u0275pipeBind1"](2,3,"ROOT.Completed")," ",n.messageCount," ",i["\u0275\u0275pipeBind1"](3,5,"ROOT.times"),"! ")}}function rs(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate4"](" ",n.messageCount," ",i["\u0275\u0275pipeBind1"](2,4,"ROOT.Completed")," ",n.messageCount," ",i["\u0275\u0275pipeBind1"](3,6,"ROOT.times"),"! ")}}function as(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",26),i["\u0275\u0275elementStart"](1,"div",32),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"dateMoment"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",33),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",34),i["\u0275\u0275template"](7,Qo,2,0,"div",35),i["\u0275\u0275template"](8,es,2,0,"div",35),i["\u0275\u0275template"](9,ts,2,0,"div",35),i["\u0275\u0275template"](10,ns,2,0,"div",35),i["\u0275\u0275text"](11),i["\u0275\u0275template"](12,is,4,7,"span",7),i["\u0275\u0275template"](13,rs,4,8,"span",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](3,9,n.creation_date,"short")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](n.sender_name),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","emoji"==n.cheer_type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","applause"==n.cheer_type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","andy"==n.cheer_type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","confetti"==n.cheer_type),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.content," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","goal"==r.inboxMessage.inbox_type&&"de"!=r.AccountService.account.language),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","goal"==r.inboxMessage.inbox_type&&"de"==r.AccountService.account.language)}}function os(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",42),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2).$implicit;return i["\u0275\u0275nextContext"]().unlikeMessage(e)}),i["\u0275\u0275elementStart"](1,"i",43),i["\u0275\u0275text"](2,"thumb_up"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function ss(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275template"](1,os,3,0,"a",21),i["\u0275\u0275elementStart"](2,"div",41),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.has_liked),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.likes)}}function ls(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275elementStart"](1,"a",42),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"]().likeMessage(e)}),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,"ROOT.Like")))}function cs(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",42),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().$implicit.addReply=!0}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Comment")))}function ds(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",42),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().$implicit.addReply=!0}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Reply")))}var us=function(){return["/member"]};function ps(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"button",44),i["\u0275\u0275elementStart"](2,"span",45),i["\u0275\u0275text"](3," add_circle "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",46),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](4,us)),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,2,"ROOT.Create your member name")," "))}function hs(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"a",42),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.followBack(e.inboxMessage)}),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,"ROOT.Follow_back")))}function ms(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275template"](1,ps,7,5,"div",7),i["\u0275\u0275template"](2,hs,4,3,"span",7),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.hasMemberURL),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.hasMemberURL&&0==n.inboxMessage.follows_sender)}}function gs(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",47),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.You_follow_them"),"! "))}function fs(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",48),i["\u0275\u0275elementStart"](1,"div",49),i["\u0275\u0275element"](2,"img",50),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"input",51),i["\u0275\u0275listener"]("keypress",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();return 13==e.keyCode?r.sendReply(t):null})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().$implicit.newReply=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"button",52),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"]().sendReply(e)}),i["\u0275\u0275elementStart"](5,"span"),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("src",a.AccountService.account.profilePhoto,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",r.newReply)("disabled",a.sendingReply),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",a.sendingReply),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](7,5,"ROOT.Add"))}}function vs(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",58),i["\u0275\u0275elementStart"](1,"button",59),i["\u0275\u0275elementStart"](2,"i",60),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit,t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"]().deleteSingleMessage(e.key,t)}),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"lowercase"),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,1,i["\u0275\u0275pipeBind1"](5,3,"ROOT.delete"))))}function ys(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",42),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2).$implicit;return i["\u0275\u0275nextContext"](2).unlikeMessage(e)}),i["\u0275\u0275elementStart"](1,"i",43),i["\u0275\u0275text"](2,"thumb_up"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function bs(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275template"](1,ys,3,0,"a",21),i["\u0275\u0275elementStart"](2,"div",41),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.has_liked),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.likes)}}function xs(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275elementStart"](1,"a",42),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](2).likeMessage(e)}),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,"ROOT.Like")))}function _s(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",53),i["\u0275\u0275elementStart"](2,"div",15),i["\u0275\u0275elementStart"](3,"div",54),i["\u0275\u0275element"](4,"img",55),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",26),i["\u0275\u0275elementStart"](6,"div",32),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"dateMoment"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",33),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](11,vs,6,5,"div",56),i["\u0275\u0275elementStart"](12,"div",34),i["\u0275\u0275text"](13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",57),i["\u0275\u0275template"](15,bs,4,2,"div",19),i["\u0275\u0275template"](16,xs,4,3,"div",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate2"]("src","https://storage.googleapis.com/image_manager/profile_image/",n.sender_id,"/",n.sender_image_filename,"",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275property"]("hidden",!n.sender_has_image),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](8,9,n.creation_date,"short")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",n.sender_name," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.canDelete),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.content),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.likes>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.has_liked)}}function ws(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",13),i["\u0275\u0275elementStart"](2,"div",14),i["\u0275\u0275elementStart"](3,"div",15),i["\u0275\u0275template"](4,Uo,2,2,"div",16),i["\u0275\u0275template"](5,qo,2,1,"div",16),i["\u0275\u0275template"](6,Jo,4,3,"div",17),i["\u0275\u0275template"](7,as,14,12,"div",17),i["\u0275\u0275elementStart"](8,"div",18),i["\u0275\u0275template"](9,ss,4,2,"div",19),i["\u0275\u0275template"](10,ls,4,3,"div",19),i["\u0275\u0275elementStart"](11,"div",20),i["\u0275\u0275text"](12," \xa0\u2022\xa0 "),i["\u0275\u0275template"](13,cs,3,3,"a",21),i["\u0275\u0275template"](14,ds,3,3,"a",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](15,ms,3,2,"div",19),i["\u0275\u0275template"](16,gs,3,3,"div",22),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](17,fs,8,7,"div",23),i["\u0275\u0275template"](18,_s,17,12,"div",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",n.sender_has_image),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.sender_has_image),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","useractivity"==r.inboxMessage.inbox_type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","useractivity"!=r.inboxMessage.inbox_type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",r.hideReactions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.likes>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.has_liked),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","goal"==r.inboxMessage.inbox_type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","goal"!=r.inboxMessage.inbox_type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","followers"==r.inboxMessage.inbox_type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","followers"==r.inboxMessage.inbox_type&&1==r.inboxMessage.follows_sender),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.addReply),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.replies)}}var Ss=function(e){return["/activity",e,"detail"]};function Cs(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",61),i["\u0275\u0275element"](1,"img",62),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction1"](4,Ss,n.inboxMessage.source_id)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,2,"ROOT.View"),"")}}var ks=function(e){return["/activity-share",e]};function Os(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",61),i["\u0275\u0275element"](1,"img",62),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction1"](4,ks,n.inboxMessage.share_id)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,2,"ROOT.View"),"")}}function Es(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",61),i["\u0275\u0275element"](1,"img",62),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction1"](4,Ss,n.inboxMessage.workout_id)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,2,"ROOT.View"),"")}}function Ms(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",61),i["\u0275\u0275element"](1,"img",62),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction1"](4,ks,n.inboxMessage.share_id)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,2,"ROOT.View"),"")}}function Is(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,Es,4,6,"a",6),i["\u0275\u0275template"](2,Ms,4,6,"a",6),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.inboxMessage.source_owner),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.inboxMessage.source_owner)}}var Ps=function(e){return["/livetracking",e]};function Ts(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"a",61),i["\u0275\u0275element"](2,"img",62),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction1"](4,Ps,n.inboxMessage.live_activity_session_id)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,2,"ROOT.View")," ")}}function Ds(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,Is,3,2,"span",7),i["\u0275\u0275template"](2,Ts,5,6,"span",7),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.inboxMessage.workout_id),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.inboxMessage.workout_id)}}var Ls=function(){return["/calendar"]},Rs=function(e,t){return{type:e,date:t}};function js(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",63),i["\u0275\u0275element"](1,"img",64),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](5,Ls))("queryParams",i["\u0275\u0275pureFunction2"](6,Rs,n.inboxMessage.calendar_type,n.inboxMessage.calendar_date)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,3,"ROOT.View"),"")}}var As=function(e){return["/groups",e,"admin"]};function Fs(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",61),i["\u0275\u0275element"](1,"img",65),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction1"](4,As,n.inboxMessage.group_id)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,2,"ROOT.View"),"")}}var Bs=function(e){return["/goals",e]};function zs(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",61),i["\u0275\u0275element"](1,"img",66),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction1"](4,Bs,n.inboxMessage.source_id)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,2,"ROOT.View"),"")}}var Ns=function(e){return["/member",e]};function Hs(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",61),i["\u0275\u0275elementStart"](1,"i",30),i["\u0275\u0275text"](2,"person"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction1"](4,Ns,n.inboxMessage.sender_member_url)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,2,"ROOT.View"),"")}}var Vs=function(e){return{facebook_friend:e}};function Ys(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",63),i["\u0275\u0275elementStart"](1,"i",30),i["\u0275\u0275text"](2,"person"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](5,us))("queryParams",i["\u0275\u0275pureFunction1"](6,Vs,n.inboxMessage.source_id)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,3,"ROOT.View"),"")}}function Ws(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",67),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.joinGroup(e.inboxMessage.group_id)}),i["\u0275\u0275element"](1,"img",68),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,1,"ROOT.join_team"),""))}function Gs(e,t){1&e&&i["\u0275\u0275element"](0,"mat-spinner",76),2&e&&i["\u0275\u0275property"]("diameter",20)}function Us(e,t){1&e&&i["\u0275\u0275element"](0,"mat-progress-spinner",77),2&e&&i["\u0275\u0275property"]("diameter",25)("mode","indeterminate")}function qs(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",69),i["\u0275\u0275elementStart"](1,"textarea",70),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().newMessage=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](2,"div",71),i["\u0275\u0275elementStart"](3,"div",72),i["\u0275\u0275template"](4,Gs,1,1,"mat-spinner",73),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"button",74),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().sendMessage()}),i["\u0275\u0275elementStart"](6,"span"),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,Us,1,2,"mat-progress-spinner",75),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",r.newMessage)("disabled",r.sendingMessage),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.sendingMessage),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",r.sendingMessage),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](8,6,"ROOT.Reply")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.sendingMessage)}}function Zs(e,t){1&e&&i["\u0275\u0275element"](0,"mat-spinner",76),2&e&&i["\u0275\u0275property"]("diameter",20)}function $s(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",69),i["\u0275\u0275element"](1,"img",78),i["\u0275\u0275elementStart"](2,"textarea",70),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().newMessage=e}),i["\u0275\u0275text"](3,"\t\t\t\t"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",71),i["\u0275\u0275elementStart"](5,"div",72),i["\u0275\u0275template"](6,Zs,1,1,"mat-spinner",73),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"button",79),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().sendMessage()}),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",r.AccountService.account.profilePhoto,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",r.newMessage)("disabled",r.sendingMessage),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.sendingMessage),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",r.sendingMessage),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](9,6,"ROOT.Reply")," ")}}var Xs=function(e){return{"dark-theme":e}},Ks=function(e){return{"max-height.px":e,width:"95%",margin:"0px 10px 10px auto",display:"flex","flex-direction":"column","overflow-y":"scroll"}},Js=function(){function e(e,t,n,i,r,a,o,s,l){this.titleService=e,this.inboxService=t,this.socialService=n,this.AccountService=i,this.groupService=r,this.router=a,this.iterableDiffers=o,this.ThemeService=s,this.translate=l,this.canDelete=!1,this.sendingReply=!1,this.loading=!0,this.replyable=!1,this.messages=[],this.recipients=[],this.backToInbox=null,this.sendMessage=null,this.hasMemberURL=!1,this.messageLimit=3,this.messageCount=3,this.sendingMessage=!1,this.hideReactions=!1,this.newMessage="",this.isDarkTheme=!1,this.isMobileEmbedded=!1,this.messageListHeight=Number(window.innerHeight/(100/30)),this.iterableDiffer=this.iterableDiffers.find([]).create(null)}return e.prototype.navigateToMember=function(e){e&&this.router.navigate(["/member",e])},e.prototype.onResize=function(e){this.messageListHeight=Number(window.innerHeight/(100/30))},e.prototype.likeMessage=function(e){e.likes+=1,e.has_liked=!0,this.inboxService.likeMessage(e.key).subscribe(function(e){console.log(e)})},e.prototype.unlikeMessage=function(e){e.likes-=1,e.has_liked=!1,this.inboxService.unlikeMessage(e.key).subscribe(function(e){console.log(e)})},e.prototype.followBack=function(e){e.follows_sender=!0,this.socialService.follow(null,e.sender_id).subscribe(function(){})},e.prototype.deleteSingleMessage=function(e,t){var n=this;this.canDelete&&this.inboxService.deleteSingleMessage(e).subscribe(function(i){if(t){for(var r=Object(Wn.cloneDeep)(t.replies),a=0;a<r.length;a++)r[a].key===e&&r.splice(a,1);t.replies=r}else{var o=Object(Wn.cloneDeep)(n.messages);for(a=0;a<o.length;a++)o[a].key===e&&o.splice(a,1);n.messages=o}})},e.prototype.sendReply=function(e){this.inboxService.sendMessage(e.key,e.newReply).subscribe(function(t){e.replies.unshift(t.response.message),e.newReply="",e.addReply=!1})},e.prototype.joinGroup=function(e){var t=this;this.groupService.joinGroup(e).subscribe(function(){t.router.navigate(["/groups",e])})},e.prototype.ngOnInit=function(){var e=this;this.AccountService.isMobileEmbedded().subscribe(function(t){e.isMobileEmbedded=t}),this.isDarkTheme=this.ThemeService.isDarkTheme,this.hasMemberURL=null!=this.AccountService.account.custom_uri&&""!=this.AccountService.account.custom_uri;var t=this;"workoutj"!=this.inboxMessage.inbox_type&&"conversation"!=this.inboxMessage.inbox_type||(this.replyable=!0),this.inboxMessage.is_invite&&(this.replyable=!1,this.hideReactions=!0),"followers"==this.inboxMessage.inbox_type&&(this.replyable=!1,this.hideReactions=!0),"useractivity"!=this.inboxMessage.inbox_type&&"account"!=this.inboxMessage.inbox_type&&"goal"!=this.inboxMessage.inbox_type||(this.hideReactions=!0);var n=[];this.inboxService.getMessages(this.inboxMessage.source_key).subscribe(function(e){return n=e.response.messages},null,function(){t.messageLimit=3,"goal"!=e.inboxMessage.inbox_type&&"useractivity"!=e.inboxMessage.inbox_type||(t.messageLimit=1),t.messageCount=n.length,t.messages=n.reverse().slice(0,t.messageLimit),"followers"==e.inboxMessage.inbox_type&&e.hasMemberURL?e.socialService.getFollowings(e.AccountService.account.custom_uri,null).subscribe(function(n){e.inboxMessage.follows_sender=!1;for(var i=0;i<n.response.followings.length;i++)n.response.followings[i].accountID==e.inboxMessage.sender_id&&(e.inboxMessage.follows_sender=!0);t.loading=!1}):t.loading=!1}),this.backToInbox=function(){window.location.href="/inbox"},this.sendMessage=function(){var e=[];t.sendingMessage=!0,t.inboxService.sendMessage(t.inboxMessage.source_key,t.newMessage).subscribe(function(t){return e=t.response.message},null,function(){return t.messages.unshift(e),t.newMessage="",void(t.sendingMessage=!1)})}},e.prototype.ngDoCheck=function(){this.iterableDiffer.diff(this.messages)&&(this.numberOfMessagesChanged=!0)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](se.a),i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](Le.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](i.IterableDiffers),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](M.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-conversation"]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("resize",function(e){return t.onResize(e)},!1,i["\u0275\u0275resolveWindow"])},inputs:{inboxMessage:"inboxMessage",canDelete:"canDelete"},decls:18,vars:19,consts:[[1,"inboxWrap",2,"display","flex",3,"ngClass"],[2,"flex-grow","10"],[3,"ngStyle"],["scrollable",""],["mode","indeterminate","class","conversation-loading",4,"ngIf"],[4,"ngFor","ngForOf"],["class","viewButton","mat-raised-button","",3,"routerLink",4,"ngIf"],[4,"ngIf"],["class","viewButton","mat-raised-button","",3,"routerLink","queryParams",4,"ngIf"],["class","viewButton","mat-raised-button","",3,"click",4,"ngIf"],[1,"sendMessageWrap"],["class","newCommentArea",4,"ngIf"],["mode","indeterminate",1,"conversation-loading"],[1,"messageContainer"],[1,"messageContainerCenter"],[1,"messageBody"],["class","guestImageContainer",3,"click",4,"ngIf"],["class","messageBodyTop",4,"ngIf"],[1,"likeReply",3,"hidden"],["class","thumbsUp",4,"ngIf"],[1,"thumbsUp"],[3,"click",4,"ngIf"],["class","thumbsUp","style","margin-left:60px; font-style: italic;",4,"ngIf"],["class","newReplyArea",4,"ngIf"],[1,"guestImageContainer",3,"click"],[1,"guestImage",3,"src"],[1,"messageBodyTop"],["class","viewButton","target","_blank","mat-raised-button","",3,"routerLink",4,"ngIf"],["class","viewButton","target","_blank","mat-raised-button","",3,"routerLink","queryParams",4,"ngIf"],["target","_blank","mat-raised-button","",1,"viewButton",3,"routerLink"],[1,"material-icons"],["target","_blank","mat-raised-button","",1,"viewButton",3,"routerLink","queryParams"],[1,"messageDate"],[1,"messageSenderName"],[1,"messageContent"],["class","cheerIcon",4,"ngIf"],[1,"cheerIcon"],["src","/static/img/thumbsup_icon.png"],["src","/static/img/cheers_icon.png"],["src","/static/img/andycheers_icon.png"],["src","/static/img/party_icon.png"],[1,"numLikes"],[3,"click"],[1,"material-icons","thumbsUpIcon"],[1,"create-member-btn",3,"routerLink"],[1,"material-icons","add-circle"],[1,"create-member-btn-txt"],[1,"thumbsUp",2,"margin-left","60px","font-style","italic"],[1,"newReplyArea"],[1,"guestImageContainerReply"],[1,"senderImage",3,"src"],["placeholder","Reply...","type","text",1,"replyInput",3,"ngModel","disabled","keypress","ngModelChange"],[1,"md-raised","md-primary","replyAddBtn",3,"disabled","click"],[1,"messageContainerCenter",2,"padding-left","15px"],[1,"guestImageContainer"],[1,"guestImage","senderImage",3,"hidden","src"],["class","deleteReply",4,"ngIf"],[1,"likeReply","messageReply"],[1,"deleteReply"],["mat-button",""],[1,"material-icons",2,"font-size","24px",3,"click"],["mat-raised-button","",1,"viewButton",3,"routerLink"],["src","/static/img/workout-icon.png",1,"linkImg","workout"],["mat-raised-button","",1,"viewButton",3,"routerLink","queryParams"],["src","/static/img/calendar-icon-color.png",1,"linkImg","workout"],["src","/static/img/groups-icon-color.png",1,"linkImg","workout"],["src","/static/img/goals-icon-color.png",1,"linkImg"],["mat-raised-button","",1,"viewButton",3,"click"],["src","/static/img/groups-icon-color.png",2,"width","30px"],[1,"newCommentArea"],[1,"commentInput",2,"resize","vertical","text-align","left","font-weight","400",3,"ngModel","disabled","ngModelChange"],[2,"float","right","width","200px","border","0px solid"],[1,"spinnerDiv"],["class","spinner",3,"diameter",4,"ngIf"],[1,"sendMessageButton","mat-primary","themedRoundButton",2,"padding","0px",3,"disabled","click"],["style","margin-top: 15px;margin-left: 15px;",3,"diameter","mode",4,"ngIf"],[1,"spinner",3,"diameter"],[2,"margin-top","15px","margin-left","15px",3,"diameter","mode"],[1,"selfImage",3,"src"],[1,"themedRoundButton","float-right",2,"margin-right","40px","padding-top","4px",3,"disabled","click"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2,3),i["\u0275\u0275template"](4,Go,1,0,"mat-progress-bar",4),i["\u0275\u0275template"](5,ws,19,13,"div",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,Cs,4,6,"a",6),i["\u0275\u0275template"](7,Os,4,6,"a",6),i["\u0275\u0275template"](8,Ds,3,2,"span",7),i["\u0275\u0275template"](9,js,4,9,"a",8),i["\u0275\u0275template"](10,Fs,4,6,"a",6),i["\u0275\u0275template"](11,zs,4,6,"a",6),i["\u0275\u0275template"](12,Hs,5,6,"a",6),i["\u0275\u0275template"](13,Ys,5,8,"a",8),i["\u0275\u0275template"](14,Ws,4,3,"a",9),i["\u0275\u0275elementStart"](15,"div",10),i["\u0275\u0275template"](16,qs,10,8,"div",11),i["\u0275\u0275template"](17,$s,10,8,"div",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](15,Xs,t.isDarkTheme)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](17,Ks,t.messageListHeight)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t.messages),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","workoutj"==t.inboxMessage.inbox_type&&1==t.inboxMessage.source_owner&&0==t.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","workoutj"==t.inboxMessage.inbox_type&&0==t.inboxMessage.source_owner&&0==t.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","livetracking"==t.inboxMessage.inbox_type&&0==t.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","calendar"==t.inboxMessage.inbox_type&&0==t.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",("memberJoinEvent"==t.inboxMessage.category||"memberLeaveEvent"==t.inboxMessage.category)&&0==t.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","goal"==t.inboxMessage.inbox_type&&0==t.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","followers"==t.inboxMessage.inbox_type&&0==t.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","account"==t.inboxMessage.inbox_type&&0==t.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.inboxMessage.is_invite&&0==t.isMobileEmbedded),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","workoutj"==t.inboxMessage.inbox_type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","conversation"==t.inboxMessage.inbox_type))},directives:[y.NgClass,y.NgStyle,y.NgIf,y.NgForOf,It.a,k.a,S.f,S.e,de.c,de.o,de.r,k.b,E.c,E.a],pipes:[M.c,B.s,y.LowerCasePipe],styles:[".conversationWrap[_ngcontent-%COMP%]{border:none;webkit-box-shadow:none;box-shadow:none}.conversation-loading[_ngcontent-%COMP%]{width:100%;float:left;margin:0 auto;clear:both}.sendMessageWrap[_ngcontent-%COMP%]{margin:0 10px 10px auto;text-align:center}.newReplyArea[_ngcontent-%COMP%]{display:flex;padding-left:20px;margin:20px 20px 20px 0}.sendMessageButton[_ngcontent-%COMP%]{cursor:pointer;margin-top:10px;margin-right:70px;float:right}.senderImage[_ngcontent-%COMP%]{height:38px;min-width:100%;border-radius:5px;float:left;overflow:hidden}.messageAvater[_ngcontent-%COMP%]{flex-grow:0}.mat-progress-spinner[_ngcontent-%COMP%]   circle[_ngcontent-%COMP%], .mat-spinner[_ngcontent-%COMP%]   circle[_ngcontent-%COMP%]{stroke:#fff!important}.guestImageContainer[_ngcontent-%COMP%]{cursor:pointer;width:36px}.guestImageContainer[_ngcontent-%COMP%], .guestImageContainerReply[_ngcontent-%COMP%]{height:36px;margin:3px 10px 0 5px;padding:0;float:left;overflow:hidden}.guestImageContainerReply[_ngcontent-%COMP%]{width:48px}.guestImage[_ngcontent-%COMP%]{min-width:100%;min-height:100%;border-radius:5px;margin:0;float:left}.selfImage[_ngcontent-%COMP%]{height:36px;margin:5px;float:left;border-radius:3px}.messageContainer[_ngcontent-%COMP%]{border:0 solid;text-align:left;margin-bottom:0}.messageContainerCenter[_ngcontent-%COMP%]{text-align:center;margin:auto;display:inline-block;width:100%}.messageBody[_ngcontent-%COMP%]{display:inline;float:left;margin:0 auto;width:95%;background-color:rgba(234,235,236,.2)}.messageBodyTop[_ngcontent-%COMP%]{margin-left:50px}.messageDate[_ngcontent-%COMP%]{max-width:150px;text-overflow:ellipsis;overflow:hidden;float:right;white-space:nowrap;font-size:.8em;color:unset;margin-right:5px;clear:none}.messageSenderName[_ngcontent-%COMP%]{font-weight:600;float:left;margin-right:5px}.messageContent[_ngcontent-%COMP%]{font-weight:400;float:unset;text-align:left;margin-left:10px;clear:left;line-height:1.2em}.commentInput[_ngcontent-%COMP%]{margin:5px;display:inline-block;width:86%;float:left}.commentInput[_ngcontent-%COMP%], .replyInput[_ngcontent-%COMP%]{text-align:left;background-color:rgba(234,235,236,.3)}.replyInput[_ngcontent-%COMP%]{resize:vertical;width:100%}.newCommentArea[_ngcontent-%COMP%]{width:100%;text-align:center;margin-left:40px}.replyAddBtn[_ngcontent-%COMP%]{margin:0 40px 0 10px;padding:0 18px;border-radius:3px;border:1px solid;background-color:transparent}.linkImg[_ngcontent-%COMP%]{width:24px;float:right;margin-top:4px}.workout[_ngcontent-%COMP%]{margin-top:8px}.cheerIcon[_ngcontent-%COMP%]{float:left;margin:-5px 10px 5px 0}.viewButton[_ngcontent-%COMP%]{float:right;margin-right:50px;border-radius:18px}.numLikes[_ngcontent-%COMP%]{float:inherit;margin-top:0}.deleteReply[_ngcontent-%COMP%]{float:right;width:50px;clear:right}.inboxWrap[_ngcontent-%COMP%]{margin-right:-24px;line-height:30px}.spinnerDiv[_ngcontent-%COMP%]{width:20px;height:20px;position:relative;top:30px;left:130px;margin-top:5px}.spinner[_ngcontent-%COMP%]{float:right}.add-circle[_ngcontent-%COMP%]{color:#3fae48;float:left;margin-right:10px}.create-member-btn-txt[_ngcontent-%COMP%]{margin-top:-3px;float:left;padding-right:20px}.create-member-btn[_ngcontent-%COMP%]{text-align:left;margin:20px 0 0 50px;border-radius:18px;height:36px}@media (max-width:760px){.newCommentArea[_ngcontent-%COMP%]{margin-left:0}.selfImage[_ngcontent-%COMP%]{margin:5px 0 0 5px;float:left}.commentInput[_ngcontent-%COMP%]{width:100%;text-align:left}.replyAddBtn[_ngcontent-%COMP%]{margin:0 10px}.newReplyArea[_ngcontent-%COMP%]{margin:20px 0;padding:0}}"]}),e}();function Qs(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",5),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",6),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,1,"ROOT.Messages")))}function el(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}function tl(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",13),i["\u0275\u0275elementStart"](1,"h2"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementStart"](6,"a",14),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](9,". "),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,3,"ROOT.You_are_a_beautiful")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,5,"ROOT.Let_your_light_shine")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](8,7,"ROOT.goals")))}function nl(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275elementStart"](1,"span"),i["\u0275\u0275elementStart"](2,"button",16),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).filterUnread()}),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"button",17),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).markAsRead()}),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"span"),i["\u0275\u0275elementStart"](8,"button",18),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).composeMessage()}),i["\u0275\u0275elementStart"](9,"i",19),i["\u0275\u0275text"](10,"add_circle"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",0==r.unreadCount&&!r.filtered),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](r.filterText),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",0==r.unreadCount),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,4,"ROOT.Mark_all_as_read"))}}function il(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",32),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](2).navigateToMember(e.sender_member_url)}),i["\u0275\u0275element"](1,"img",33),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate2"]("src","https://storage.googleapis.com/image_manager/profile_image/",r.sender_id,"/",r.sender_image_filename,"",i["\u0275\u0275sanitizeUrl"])}}function rl(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",32),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](2).navigateToMember(e.sender_member_url)}),i["\u0275\u0275element"](1,"img",33),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/group_member_photo/",r.sender_id,"",i["\u0275\u0275sanitizeUrl"])}}function al(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",34),i["\u0275\u0275element"](1,"img",35),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275propertyInterpolate1"]("routerLink","/goals/",n.source_id,"")}}function ol(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",34),i["\u0275\u0275element"](1,"img",36),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275propertyInterpolate1"]("routerLink","/activity/",n.source_id,"/detail")}}var sl=function(e){return["/activity-share",e]};function ll(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",34),i["\u0275\u0275element"](1,"img",36),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction1"](1,sl,n.share_id))}}function cl(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",37),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"fromNow"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,n.edited_date))}}function dl(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",38),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"fromNow"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,n.edited_date))}}function ul(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"date"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](2,1,n.creation_date,"shortDate"))}}function pl(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",41),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.preview)}}function hl(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",39),i["\u0275\u0275text"](1),i["\u0275\u0275template"](2,ul,3,4,"span",3),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275template"](4,pl,2,1,"span",40),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.subject," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","livetracking"===n.inbox_type),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.preview&&n.showPreview)}}function ml(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"date"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](2,1,n.creation_date,"shortDate"))}}function gl(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",41),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.preview)}}function fl(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",42),i["\u0275\u0275text"](1),i["\u0275\u0275template"](2,ml,3,4,"span",3),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275template"](4,gl,2,1,"span",40),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.subject," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","livetracking"===n.inbox_type),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.preview&&n.showPreview)}}function vl(e,t){if(1&e&&i["\u0275\u0275element"](0,"app-conversation",43),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275property"]("inboxMessage",n)("canDelete",1==n.source_owner)}}function yl(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-expansion-panel"),i["\u0275\u0275elementStart"](1,"mat-expansion-panel-header",20),i["\u0275\u0275elementStart"](2,"mat-panel-description",21),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](2).readMessage(e.id),e.showPreview=!e.showPreview}),i["\u0275\u0275elementStart"](3,"div",22),i["\u0275\u0275elementStart"](4,"div",23),i["\u0275\u0275template"](5,il,2,2,"div",24),i["\u0275\u0275template"](6,rl,2,1,"div",24),i["\u0275\u0275template"](7,al,2,1,"a",25),i["\u0275\u0275template"](8,ol,2,1,"a",25),i["\u0275\u0275template"](9,ll,2,3,"a",25),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](10,cl,3,3,"div",26),i["\u0275\u0275template"](11,dl,3,3,"div",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](12,hl,5,3,"span",28),i["\u0275\u0275template"](13,fl,5,3,"span",29),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"button",30),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](2).deleteInbox(r.key),e.stopPropagation()}),i["\u0275\u0275elementStart"](15,"mat-icon"),i["\u0275\u0275text"](16,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](17,vl,1,2,"ng-template",31),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",r.sender_has_image),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.sender_has_image),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","goal"==r.inbox_type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","workoutj"==r.inbox_type&&1==r.source_owner),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","workoutj"==r.inbox_type&&0==r.source_owner),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.is_read),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.is_read),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.is_read),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.is_read)}}function bl(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",44),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).getInbox()}),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](r.show_more_txt)}}function xl(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",50),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).openConfirm=!0}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Clear_All")," "))}function _l(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",45),i["\u0275\u0275elementStart"](1,"span"),i["\u0275\u0275template"](2,xl,3,3,"button",46),i["\u0275\u0275elementStart"](3,"span",47),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275elementStart"](7,"button",48),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.deleteAllInbox(),e.openConfirm=!1}),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"button",49),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).openConfirm=!1}),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0==r.openConfirm),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",0==r.openConfirm),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](5,5,"ROOT.This_will_delete_all")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](9,7,"ROOT.Yes")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](12,9,"ROOT.Cancel")," ")}}function wl(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",7),i["\u0275\u0275template"](1,tl,10,9,"div",8),i["\u0275\u0275template"](2,nl,11,6,"div",9),i["\u0275\u0275elementStart"](3,"mat-accordion"),i["\u0275\u0275template"](4,yl,18,9,"mat-expansion-panel",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,bl,2,1,"button",11),i["\u0275\u0275template"](6,_l,13,11,"div",12),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==n.inboxMessages.length&&0==n.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.inboxMessages.length>0),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",n.availableInboxMessages)("ngForTrackBy",n.trackItem),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.more),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.inboxMessages.length>0)}}var Sl=function(e){return{"dark-theme":e}},Cl=function(){function e(e,t,n,i,r,a,o){this.titleService=e,this.inboxService=t,this.dialog=n,this.ThemeService=i,this.AccountService=r,this.router=a,this.translate=o,this.inboxMessages=[],this.availableInboxMessages=[],this.messages=[],this.showLoadingOverlay=!1,this.filtered=!1,this.openConfirm=!1,this.unreadCount=0,this.rowLimit=15,this.more=!1,this.show_more_txt="Show More",this.isDarkTheme=!1,this.loading=!0,this.isMobileEmbedded=!1,o.addLangs(["en","es","fr","it","de"]),o.setDefaultLang("en")}return e.prototype.trackItem=function(e,t){return t||!1},e.prototype.composeMessage=function(){this.router.navigate(["/inboxcompose"])},e.prototype.localize=function(e){"es"==e?this.show_more_txt="Mostrar m\xe1s":"it"==e?this.show_more_txt="Mostra di pi\xf9":"de"==e?this.show_more_txt="Zeig mehr":"fr"==e&&(this.show_more_txt="Montre plus")},e.prototype.navigateToMember=function(e){e&&this.router.navigate(["/member",e])},e.prototype.filterUnread=function(){if(console.log(this.filtered),this.filtered)this.filterText="("+String(this.unreadCount)+") "+this.translate.instant("ROOT.Unread"),this.availableInboxMessages=this.inboxMessages;else{this.filterText=this.translate.instant("ROOT.Show All"),this.availableInboxMessages=[];for(var e=0;e<this.inboxMessages.length;e++)0==this.inboxMessages[e].is_read&&this.availableInboxMessages.push(this.inboxMessages[e])}this.filtered=!this.filtered},e.prototype.deleteAllInbox=function(){var e=this;this.inboxService.deleteAllInbox().subscribe(function(){e.inboxMessages=[],e.availableInboxMessages=[]})},e.prototype.readMessage=function(e){for(var t=0;t<this.inboxMessages.length;t++)this.inboxMessages[t].id==e&&!1===this.inboxMessages[t].is_read&&(this.inboxMessages[t].is_read=!0,this.inboxService.unreadMessageCount-=1,this.unreadCount-=1)},e.prototype.markAsRead=function(){var e=this;this.inboxService.markAsRead().subscribe(function(){e.inboxService.unreadMessageCount=0,e.unreadCount=0,e.filterText="("+String(e.unreadCount)+") "+e.translate.instant("ROOT.Unread");for(var t=Object(te.__spread)(e.inboxMessages),n=0;n<t.length;n++)t[n].unread=!1,t[n].is_read=!0;var i=Object(te.__spread)(e.availableInboxMessages);for(n=0;n<i.length;n++)i[n].unread=!1,i[n].is_read=!0;e.inboxMessages=t,e.availableInboxMessages=i})},e.prototype.deleteInbox=function(e){var t=this;this.inboxService.deleteInbox(e).subscribe(function(e){return e},null,function(){for(var n=Object(te.__spread)(t.inboxMessages),i=0;i<n.length;i++)n[i].key==e&&(1==n[i].unread&&(t.unreadCount-=1),n.splice(i,1));var r=Object(te.__spread)(t.availableInboxMessages);for(i=0;i<r.length;i++)r[i].key==e&&(1==r[i].unread&&(t.unreadCount-=1),r.splice(i,1));t.inboxMessages=n,t.availableInboxMessages=r})},e.prototype.getInbox=function(){var e=this;this.AccountService.isLoggedIn&&(this.showLoadingOverlay=!0),this.inboxService.getInbox(!0,this.rowLimit,this.cursor).subscribe(function(t){var n=t.response.inbox;e.cursor=t.response.cursor,e.more=t.response.more,e.unreadCount=t.response.total_unread,e.filterText="("+String(e.unreadCount)+") "+e.translate.instant("ROOT.Unread"),e.inboxService.unreadMessageCount=e.unreadCount;for(var i=0;i<n.length;i++)n[i].displayName=n[i].sender_name,n[i].showPreview=!0,n[i].group_name&&(n[i].displayName=n[i].group_name),n[i].backgroundImg="https://storage.googleapis.com/image_manager/profile_image/"+n[i].sender_id+"/"+n[i].sender_image_filename,e.inboxMessages.push(n[i]),e.availableInboxMessages.push(n[i]);e.loading=!1,e.showLoadingOverlay=!1})},e.prototype.ngOnInit=function(){var e=this;this.AccountService.isMobileEmbedded().subscribe(function(t){e.isMobileEmbedded=t}),this.isDarkTheme=this.ThemeService.isDarkTheme,this.getInbox()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](se.a),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](M.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-inbox"]],decls:5,vars:7,consts:[[1,"loading-overlay",3,"hidden"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],["class","noMessages",4,"ngIf"],["style","margin: 10px; justify-content: space-between; display: flex;",4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],["mat-stroked-button","","class","full-width",3,"click",4,"ngIf"],["class","deleteMessage",4,"ngIf"],[1,"noMessages"],["routerLink","/goals"],[2,"margin","10px","justify-content","space-between","display","flex"],["mat-stroked-button","",1,"unreadFilter",3,"disabled","click"],["mat-stroked-button","",3,"disabled","click"],["mat-button","",1,"green",3,"click"],[1,"material-icons","addCircle"],[1,"inboxListing"],[1,"inboxContent",3,"click"],[1,"inboxContainer"],[1,"float-left"],["class","guestImageContainer",3,"click",4,"ngIf"],[3,"routerLink",4,"ngIf"],["class","messageNotRead inboxDate",4,"ngIf"],["class","inboxDate",4,"ngIf"],["class","inboxContentSubject",4,"ngIf"],["class","messageNotRead inboxContentSubject",4,"ngIf"],["mat-button","",1,"deleteInbox",3,"click"],["matExpansionPanelContent",""],[1,"guestImageContainer",3,"click"],[1,"guestImage",3,"src"],[3,"routerLink"],["src","/static/img/goals-icon-color.png",1,"linkImg"],["src","/static/img/workout-icon.png",1,"linkImg"],[1,"messageNotRead","inboxDate"],[1,"inboxDate"],[1,"inboxContentSubject"],["class","inboxPreview",4,"ngIf"],[1,"inboxPreview"],[1,"messageNotRead","inboxContentSubject"],[3,"inboxMessage","canDelete"],["mat-stroked-button","",1,"full-width",3,"click"],[1,"deleteMessage"],["class","themed-clear-button",3,"click",4,"ngIf"],[3,"hidden"],[1,"create-button","float-right",3,"click"],[1,"delete-cancel","float-left","margin-top-20",3,"click"],[1,"themed-clear-button",3,"click"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,Qs,5,3,"div",2),i["\u0275\u0275template"](3,el,1,0,"app-login-notify",3),i["\u0275\u0275template"](4,wl,7,6,"div",4),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](5,Sl,t.isDarkTheme)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn))},directives:[y.NgClass,y.NgIf,Yo.a,Wo.a,y.NgForOf,S.f,k.b,Wo.c,Wo.f,Wo.e,O.a,Wo.d,Js],pipes:[M.c,B.C,y.DatePipe],styles:["mat-expansion-panel[_ngcontent-%COMP%]   mat-expansion-panel-header[_ngcontent-%COMP%]{height:auto!important}.inboxListing[_ngcontent-%COMP%]{font-weight:400;font-align:left}.inboxListing[_ngcontent-%COMP%], .messageNotRead[_ngcontent-%COMP%]{font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.messageNotRead[_ngcontent-%COMP%]{font-weight:600}.addCircle[_ngcontent-%COMP%]{font-size:35px}.green[_ngcontent-%COMP%]{color:#95cd81}.inboxContainer[_ngcontent-%COMP%]{width:82px;float:left}.deleteInbox[_ngcontent-%COMP%]{margin-right:10px}.deleteMessage[_ngcontent-%COMP%]{margin:10px;justify-content:space-between;display:flex}.unreadFilter[_ngcontent-%COMP%]{margin-right:5px}.inboxPreview[_ngcontent-%COMP%]{font-style:italic;color:#b2b2b2}.inboxDate[_ngcontent-%COMP%]{text-align:left;font-size:.8em;margin:5px;float:left;text-overflow:ellipsis;max-width:64px;clear:both}.inboxContent[_ngcontent-%COMP%]{margin:8px 0}.inboxContentFrom[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.inboxContentSubject[_ngcontent-%COMP%]{width:100%;line-height:30px}.linkImg[_ngcontent-%COMP%]{width:24px;margin-top:24px;margin-left:-2px;float:left}.inboxImage[_ngcontent-%COMP%]{max-width:36px;max-height:36px;float:left;margin:5px}.fromContainer[_ngcontent-%COMP%]{float:left;width:36px;height:36px;overflow:hidden}.inboxWrap[_ngcontent-%COMP%]{margin-bottom:50px}.guestImageContainer[_ngcontent-%COMP%]{height:36px;width:36px;margin:0;padding:0;float:left;overflow:hidden}.guestImage[_ngcontent-%COMP%]{min-width:100%;min-height:100%;border-radius:5px;margin:0;float:left}@media (max-width:760px){.inboxContentFrom[_ngcontent-%COMP%]{margin-right:5px}.mat-expansion-panel-header[_ngcontent-%COMP%]{padding-left:5px;padding-right:5px;margin-right:-15px}}.noMessages[_ngcontent-%COMP%]{text-align:center}"]}),e}(),kl=n("QibW"),Ol=n("iadO"),El=n("bSwM");function Ml(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",28),i["\u0275\u0275element"](1,"img",29),i["\u0275\u0275elementEnd"]())}function Il(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",28),i["\u0275\u0275element"](1,"img",30),i["\u0275\u0275elementEnd"]())}function Pl(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"h2",31),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Welcome to")," ",n.group.name," ")}}function Tl(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"h2",31),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Sign Up")," "))}function Dl(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementStart"](3,"a",32),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().groupLogin=!0}),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Have an existing Fitdigits account?")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,4,"ROOT.Login")))}function Ll(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"h3",33),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Login")," "))}function Rl(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",17),i["\u0275\u0275element"](1,"i",20),i["\u0275\u0275element"](2,"input",34),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("placeholder",i["\u0275\u0275pipeBind1"](3,1,"ROOT.Confirm Password")))}function jl(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Passwords do not match")," "))}function Al(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-radio-button",52),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.text," ")}}function Fl(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",53),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.text," ")}}function Bl(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",53),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.text," ")}}function zl(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"span",35),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",17),i["\u0275\u0275element"](7,"i",36),i["\u0275\u0275element"](8,"input",37),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",17),i["\u0275\u0275elementStart"](11,"mat-radio-group",38),i["\u0275\u0275template"](12,Al,2,2,"mat-radio-button",39),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",17),i["\u0275\u0275elementStart"](14,"mat-form-field",40),i["\u0275\u0275elementStart"](15,"input",41),i["\u0275\u0275listener"]("focus",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275reference"](19).open()}),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](17,"mat-datepicker-toggle",42),i["\u0275\u0275element"](18,"mat-datepicker",43,44),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"div",45),i["\u0275\u0275elementStart"](21,"div",46),i["\u0275\u0275elementStart"](22,"div",47),i["\u0275\u0275elementStart"](23,"mat-form-field",40),i["\u0275\u0275elementStart"](24,"mat-label"),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"mat-select",48),i["\u0275\u0275template"](28,Fl,2,2,"mat-option",49),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"div",45),i["\u0275\u0275elementStart"](30,"div",46),i["\u0275\u0275elementStart"](31,"div",50),i["\u0275\u0275elementStart"](32,"mat-form-field",40),i["\u0275\u0275elementStart"](33,"mat-label"),i["\u0275\u0275text"](34),i["\u0275\u0275pipe"](35,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"mat-select",51),i["\u0275\u0275template"](37,Bl,2,2,"mat-option",49),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275reference"](19),a=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,10,"ROOT.For accurate calorie count")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275propertyInterpolate"]("placeholder",i["\u0275\u0275pipeBind1"](9,12,"ROOT.Weight (lbs)")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngForOf",a.genders),i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate"]("placeholder",i["\u0275\u0275pipeBind1"](16,14,"ROOT.Birthday")),i["\u0275\u0275property"]("matDatepicker",r),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("for",r),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](26,16,"ROOT.Height")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",a.heights),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](35,18,"ROOT.Fitness Level")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",a.fitnessLevels)}}function Nl(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",54),i["\u0275\u0275elementStart"](2,"div",55),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",56),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",57),i["\u0275\u0275text"](7),i["\u0275\u0275element"](8,"br"),i["\u0275\u0275element"](9,"br"),i["\u0275\u0275elementStart"](10,"div",58),i["\u0275\u0275elementStart"](11,"mat-checkbox",59),i["\u0275\u0275text"](12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",58),i["\u0275\u0275elementStart"](14,"mat-checkbox",60),i["\u0275\u0275text"](15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"div",58),i["\u0275\u0275elementStart"](17,"mat-checkbox",61),i["\u0275\u0275text"](18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div",58),i["\u0275\u0275elementStart"](20,"mat-checkbox",62),i["\u0275\u0275text"](21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"div",58),i["\u0275\u0275elementStart"](23,"mat-checkbox",63),i["\u0275\u0275text"](24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"div",58),i["\u0275\u0275elementStart"](26,"mat-checkbox",64),i["\u0275\u0275text"](27),i["\u0275\u0275pipe"](28,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](n.share_permissions_txt),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.set_your_personal_share_txt,""),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.profile_photo_txt," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.your_name_txt," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.email_txt," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.workout_details_txt," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.livetracking_txt," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](28,14,"ROOT.Allow Coaching Views & Auditing")," ")}}function Hl(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Email already exists")," "))}function Vl(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.error," ")}}function Yl(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",65),i["\u0275\u0275elementStart"](1,"button",66),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled","INVALID"===n.regForm.status),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,2,"ROOT.Sign Up"))}}function Wl(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",65),i["\u0275\u0275elementStart"](1,"button",67),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,"ROOT.Sign In")))}function Gl(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",68),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Terms of Service"),""))}var Ul=function(){function e(e,t,n,i,r,a,o,s,l,c,d){var u=this;this.titleService=e,this.formBuilder=t,this.window=n,this.ThemeService=i,this.GroupService=r,this.AccountService=a,this.router=o,this.PermissionsService=s,this.translate=l,this.renderer=c,this.el=d,this.hasGroupInvite=!1,this.groupLogin=!1,this.heights=[],this.emailExists=!1,this.set_your_personal_share_txt="Set your personal share permissions for the group",this.share_permissions_txt="Share Permissions",this.profile_photo_txt="Profile Photo",this.your_name_txt="Your Name",this.email_txt="Email",this.Male_txt="Male",this.Female_txt="Female",this.languages=[{value:"en",text:"English"},{value:"es",text:"Espa\xf1ol"},{value:"fr",text:"Fran\xe7ais"},{value:"it",text:"Italiano"},{value:"de",text:"Deutsche"}],this.workout_details_txt="Workout Details",this.livetracking_txt="LiveTracking",this.fitnessLevels=[{value:"1 Poor",text:"1 Poor"},{value:"2 Poor to Moderate",text:"2 Poor to Moderate"},{value:"3 Moderate",text:"3 Moderate"},{value:"4 Moderate to Average",text:"4 Moderate to Average"},{value:"5 Average",text:"5 Average"},{value:"6 Average to Good",text:"6 Average to Good"},{value:"7 Good",text:"7 Good"},{value:"8 Good to Excellent",text:"8 Good to Excellent"},{value:"9 Excellent",text:"9 Excellent"},{value:"10 Superior",text:"1 0 Superior"}],this.genders=[{value:"Male",text:this.Male_txt},{value:"Female",text:this.Female_txt}],this.AccountService.setLoginView(!0);for(var p=4;p<7;p++)for(var h=0;h<12;h++)this.heights.push({value:String(12*p+h),text:p+"' "+h+'"'});this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){u.localize(e.lang)}),this.regForm=this.formBuilder.group({email:["",[de.y.required,de.y.email]],password:["",de.y.required],confirmPassword:["",de.y.required],weight:["",[de.y.min(50),de.y.max(600)]],birthDate:[""],height:[""],fitnessLevel:[""],share_photo:[!0],share_name:[!0],share_email_address:[!0],share_workout_info:[!0],share_livetracking:[!0],allow_audit_navigation:[!0]},{validator:B.p})}return e.prototype.login=function(e,t){var n=this;this.AccountService.authenticate(e.email,e.password,t).subscribe(function(t){t.response.error?n.error=t.response.error.message:n.AccountService.getAccount().subscribe(function(t){n.AccountService.account=t,n.AccountService.isLoggedIn=!0,n.AccountService.setLoginView(!1),n.hasGroupInvite?n.AccountService.updateMemberPermissions(n.groupId,e).subscribe(function(e){n.window.location.href="/groups/"+n.groupId}):n.router.navigate(["/home"])})})},e.prototype.localize=function(e){"es"===e?(this.Male_txt="Masculino",this.Female_txt="Hembra"):"fr"===e?(this.Male_txt="M\xe2le",this.Female_txt="Femme"):"it"===e?(this.Male_txt="Maschio",this.Female_txt="Femmina"):"de"===e&&(this.Male_txt="M\xe4nnlich",this.Female_txt="Weiblich"),this.genders=[{value:"Male",text:this.Male_txt},{value:"Female",text:this.Female_txt}]},e.prototype.submit=function(e){var t=this;this.emailExists=!1,this.AccountService.verifyEmail(e.email).subscribe(function(n){if(t.groupLogin)t.login(e,t.groupId);else{var i=n.response.account.code;"0"!==i&&"1"!==i||(t.emailExists=!0),!1===t.emailExists&&(e.login=e.email,t.AccountService.createAccount(e,t.groupId).subscribe(function(n){n.response.account&&t.login(e)}))}})},e.prototype.storeAccount=function(){var e=this;this.AccountService.getAccount().subscribe(function(t){console.log(t),"dark"===t.colorTheme&&(e.ThemeService.isDarkTheme=!0),e.translate.use(t.language||"en"),e.AccountService.account=t,e.AccountService.isLoggedIn=!0,e.AccountService.setLoginView(!1),e.PermissionsService.purchasingStatus().subscribe(function(t){e.PermissionsService.starTrainerAccess="star_trainer"==t.response.highest_tier,e.PermissionsService.starAccess="star"==t.response.highest_tier||1==e.PermissionsService.starTrainerAccess,e.PermissionsService.proPlusAccess="pro_plus"==t.response.highest_tier||1==e.PermissionsService.starAccess,e.PermissionsService.noAds=e.PermissionsService.hasProPlusMin(),e.router.navigate(["/home"])})})},e.prototype.facebookLogin=function(){var e,t=this;FB.getLoginStatus(function(n){"connected"===n.status?e=n.authResponse.accessToken:FB.login(function(n){n.authResponse&&t.AccountService.authenticateSocial(e=n.authResponse.accessToken,"FACEBOOK","web_site").subscribe(function(e){t.storeAccount()})},{scope:"email,user_birthday,user_friends,user_location,user_gender"}),e&&t.AccountService.authenticateSocial(e,"FACEBOOK","web_site").subscribe(function(e){t.storeAccount()})})},e.prototype.ngOnInit=function(){var e=this;this.inviteCode&&this.GroupService.getGroupByInviteCode(this.inviteCode).subscribe(function(t){var n=t.response;Object.keys(n).length>0&&(e.hasGroupInvite=!0,e.group=n,e.groupId=n.id)}),this.ThemeService.isThemeFitdigits&&(this.renderer.setStyle(this.el.nativeElement.ownerDocument.body,"background-image","none"),this.renderer.setStyle(this.el.nativeElement.ownerDocument.body,"background-position","bottom"))},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](de.d),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](Le.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ElementRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-registration"]],inputs:{inviteCode:["invitecode","inviteCode"]},decls:53,vars:32,consts:[[1,"loading-overlay",3,"hidden"],["id","new-user-registration",1,"carousel-img","top300"],[1,"header-container"],["routerLink","/support",1,"supportHeader"],["src","/static/img/support_icon.png",1,"supportHeaderIcon",2,"right","40px"],["routerLink","/welcome",4,"ngIf"],[1,"col-sm-8","col-sm-offset-2","margin-bottom-50","loginInner"],["id","form-container"],[2,"clear","both"],[1,"page-header"],["class","signupTitle",4,"ngIf"],[4,"ngIf"],["id","loginFacebook",1,"facebook-login-div",3,"click"],["src","/static/img/btn/facebook_icon.png",1,"small-facebook-icon"],[2,"margin-top","10px"],["class","signupTitle","md-colors","{'color' : 'primary-A100'}",4,"ngIf"],["name","loginForm","novalidate","",1,"form-horizontal","loginForm",3,"formGroup","ngSubmit"],[1,"form-group"],[1,"fa","fa-envelope-o","fa-fw","form-icon"],["formControlName","email","required","","type","email",1,"form-control","input-lg","text-center",3,"placeholder"],[1,"fa","fa-key","fa-fw","form-icon"],["formControlName","password","required","","type","password",1,"form-control","input-lg","text-center",3,"placeholder"],["class","form-group",4,"ngIf"],["class","form-group loginForm","style","position: unset",4,"ngIf"],[1,"header-band",2,"height","0px"],[1,"rightFooter"],["routerLink","/privacy-policy.html"],["class","ng-scope","routerLink","/terms-and-conditions.html",4,"ngIf"],["routerLink","/welcome"],["src","/static/img/fitdigits-header-logo.png",1,"welcomeLogo"],["src","/static/img/theme/move/move_header_logo_mountains_new.png",1,"welcomeLogo",2,"height","34px"],[1,"signupTitle"],[3,"click"],["md-colors","{'color' : 'primary-A100'}",1,"signupTitle"],["formControlName","confirmPassword","required","","type","password",1,"form-control","input-lg","text-center",3,"placeholder"],[2,"font-style","italic"],[1,"fa","fa-tachometer","form-icon"],["type","text","name","weight","formControlName","weight","pattern","^\\d+(\\.\\d+)?$","required","",1,"form-control","input-lg","text-center",3,"placeholder"],["formControlName","gender"],["style","padding-right: 15px;font-weight: 100;",3,"value",4,"ngFor","ngForOf"],[2,"width","100%"],["matInput","","formControlName","birthDate","required","",3,"matDatepicker","placeholder","focus"],["matSuffix","",3,"for"],["startView","multi-year"],["birthDate",""],[1,"form-group",2,"margin-top","-15px"],[1,"form-inline"],[1,"form-group","height","form-column"],["formControlName","height"],[3,"value",4,"ngFor","ngForOf"],[1,"form-group","fitnesslevel","form-column"],["formControlName","fitnessLevel"],[2,"padding-right","15px","font-weight","100",3,"value"],[3,"value"],[1,"panel","panel-default","panel-dark",2,"box-shadow","none","border","none","background","transparent","font-size","16px","line-height","1.7em"],[1,"panel-heading"],[1,"title"],[2,"padding-bottom","20px","margin-left","36px","padding-top","10px"],[1,"form-group","checkbox","share-permission"],["formControlName","share_photo",3,"color"],["formControlName","share_name",3,"color"],["formControlName","share_email_address",3,"color"],["formControlName","share_workout_info",3,"color"],["formControlName","share_livetracking",3,"color"],["formControlName","allow_audit_navigation",3,"color"],[1,"form-group","loginForm",2,"position","unset"],["type","submit",1,"btn","btn-primary","btn-lg","btn-block","text-center","bold","loginFormButton",3,"disabled"],["type","submit",1,"btn","btn-primary","btn-lg","btn-block","text-center","bold","loginFormButton"],["routerLink","/terms-and-conditions.html",1,"ng-scope"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"a",3),i["\u0275\u0275element"](4,"img",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,Ml,2,0,"a",5),i["\u0275\u0275template"](6,Il,2,0,"a",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div"),i["\u0275\u0275elementStart"](8,"div",6),i["\u0275\u0275elementStart"](9,"div",7),i["\u0275\u0275element"](10,"div",8),i["\u0275\u0275elementStart"](11,"div",9),i["\u0275\u0275template"](12,Pl,3,4,"h2",10),i["\u0275\u0275template"](13,Tl,3,3,"h2",10),i["\u0275\u0275template"](14,Dl,6,6,"p",11),i["\u0275\u0275elementStart"](15,"div",12),i["\u0275\u0275listener"]("click",function(){return t.facebookLogin()}),i["\u0275\u0275element"](16,"img",13),i["\u0275\u0275elementStart"](17,"div",14),i["\u0275\u0275text"](18),i["\u0275\u0275pipe"](19,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](20,Ll,3,3,"h3",15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](21,"div",8),i["\u0275\u0275elementStart"](22,"form",16),i["\u0275\u0275listener"]("ngSubmit",function(){return t.submit(t.regForm.value)}),i["\u0275\u0275elementStart"](23,"fieldset"),i["\u0275\u0275elementStart"](24,"div",17),i["\u0275\u0275element"](25,"i",18),i["\u0275\u0275element"](26,"input",19),i["\u0275\u0275pipe"](27,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"div",17),i["\u0275\u0275element"](29,"i",20),i["\u0275\u0275element"](30,"input",21),i["\u0275\u0275pipe"](31,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](32,Rl,4,3,"div",22),i["\u0275\u0275template"](33,jl,3,3,"mat-error",11),i["\u0275\u0275element"](34,"br"),i["\u0275\u0275template"](35,zl,38,20,"div",11),i["\u0275\u0275template"](36,Nl,29,16,"div",11),i["\u0275\u0275template"](37,Hl,3,3,"mat-error",11),i["\u0275\u0275template"](38,Vl,2,1,"mat-error",11),i["\u0275\u0275template"](39,Yl,4,4,"div",23),i["\u0275\u0275template"](40,Wl,4,3,"div",23),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](41,"div",8),i["\u0275\u0275elementStart"](42,"div",2),i["\u0275\u0275elementStart"](43,"div",24),i["\u0275\u0275elementStart"](44,"div",25),i["\u0275\u0275elementStart"](45,"a",26),i["\u0275\u0275text"](46),i["\u0275\u0275pipe"](47,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](48," \u2022 "),i["\u0275\u0275template"](49,Gl,3,3,"a",27),i["\u0275\u0275element"](50,"br"),i["\u0275\u0275text"](51),i["\u0275\u0275pipe"](52,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeFitdigits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",t.hasGroupInvite),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.hasGroupInvite),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.hasGroupInvite&&!t.groupLogin),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](19,22,"ROOT.Login with Facebook")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.hasGroupInvite&&t.groupLogin),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("formGroup",t.regForm),i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate1"]("placeholder","",i["\u0275\u0275pipeBind1"](27,24,"ROOT.Email")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate1"]("placeholder","",i["\u0275\u0275pipeBind1"](31,26,"ROOT.password")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.groupLogin),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.regForm.hasError("notSame")&&!t.groupLogin),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.groupLogin),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.hasGroupInvite),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.emailExists),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.error),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.groupLogin),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.groupLogin),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](47,28,"ROOT.Privacy Policy")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeFitdigits),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" \xa9 Fitdigits, Inc. ",i["\u0275\u0275pipeBind1"](52,30,"ROOT.All rights reserved worldwide")," "))},directives:[S.f,y.NgIf,de.z,de.p,de.i,de.c,de.o,de.g,de.w,fe.b,de.u,kl.b,y.NgForOf,fe.c,be.b,Ol.b,Ol.d,fe.h,Ol.a,fe.g,Ae.a,kl.a,m.o,El.a],pipes:[M.c],styles:[".form-group[_ngcontent-%COMP%] > .form-icon[_ngcontent-%COMP%]{position:absolute;top:16px;left:12px;color:#999}.loginFormButton[_ngcontent-%COMP%]{border-radius:20px}.small-facebook-icon[_ngcontent-%COMP%]{float:left;border-radius:15px;height:30px;margin-left:10px}.facebook-login-div[_ngcontent-%COMP%]{float:left;width:210px;border-radius:20px!important;height:40px!important;margin-top:10px!important;margin-bottom:10px!important}"]}),e}(),ql=n("PqYM"),Zl=n("eIep"),$l=function(e){var t={target:"confetti-holder",max:80,size:1,animate:!0,respawn:!0,props:["circle","square","triangle","line"],colors:[[165,104,246],[230,61,135],[0,199,228],[253,214,126]],clock:25,interval:null,rotate:!1,start_from_edge:!1,width:window.innerWidth,height:window.innerHeight};if(e&&(e.target&&(t.target=e.target),e.max&&(t.max=e.max),e.size&&(t.size=e.size),null!=e.animate&&(t.animate=e.animate),null!=e.respawn&&(t.respawn=e.respawn),e.props&&(t.props=e.props),e.colors&&(t.colors=e.colors),e.clock&&(t.clock=e.clock),null!=e.start_from_edge&&(t.start_from_edge=e.start_from_edge),e.width&&(t.width=e.width),e.height&&(t.height=e.height),null!=e.rotate&&(t.rotate=e.rotate)),"object"!=typeof t.target&&"string"!=typeof t.target)throw new TypeError("The target parameter should be a node or string");if("object"==typeof t.target&&(null===t.target||!t.target instanceof HTMLCanvasElement)||"string"==typeof t.target&&(null===document.getElementById(t.target)||!document.getElementById(t.target)instanceof HTMLCanvasElement))throw new ReferenceError("The target element does not exist or is not a canvas element");var n="object"==typeof t.target?t.target:document.getElementById(t.target),i=n.getContext("2d"),r=[];function a(e,t){e||(e=1);var n=Math.random()*e;return t?Math.floor(n):n}var o=t.props.reduce(function(e,t){return e+(t.weight||1)},0);function s(e){if(e)switch(i.fillStyle=i.strokeStyle="rgba("+e.color+", "+(e.radius<=3?.4:.8)+")",i.beginPath(),e.prop){case"circle":i.moveTo(e.x,e.y),i.arc(e.x,e.y,e.radius*t.size,0,2*Math.PI,!0),i.fill();break;case"triangle":i.moveTo(e.x,e.y),i.lineTo(e.x+e.angles[0]*t.size,e.y+e.angles[1]*t.size),i.lineTo(e.x+e.angles[2]*t.size,e.y+e.angles[3]*t.size),i.closePath(),i.fill();break;case"line":i.moveTo(e.x,e.y),i.lineTo(e.x+e.line*t.size,e.y+5*e.radius),i.lineWidth=2*t.size,i.stroke();break;case"square":i.save(),i.translate(e.x+15,e.y+5),i.rotate(e.rotation),i.fillRect(-15*t.size,-5*t.size,15*t.size,5*t.size),i.restore();break;case"svg":i.save();var n=new window.Image;n.src=e.src;var r=e.size||15;i.translate(e.x+r/2,e.y+r/2),e.rotate&&i.rotate(e.rotation),i.drawImage(n,-r/2*t.size,-r/2*t.size,r*t.size,r*t.size),i.restore()}}var l=function(){t.animate=!1,clearInterval(t.interval),requestAnimationFrame(function(){i.clearRect(0,0,n.width,n.height);var e=n.width;n.width=1,n.width=e})};return{render:function(){n.width=t.width,n.height=t.height,r=[];for(var e=0;e<t.max;e++)r.push((void 0,{prop:(c=t.props[function(){for(var e=Math.random()*o,n=0;n<t.props.length;++n){var i=t.props[n].weight||1;if(e<i)return n;e-=i}}()]).type?c.type:c,x:a(t.width),y:t.start_from_edge?t.clock>=0?-10:parseFloat(t.height)+10:a(t.height),src:c.src,radius:a(4)+1,size:c.size,rotate:t.rotate,line:Math.floor(a(65)-30),angles:[a(10,!0)+2,a(10,!0)+2,a(10,!0)+2,a(10,!0)+2],color:t.colors[a(t.colors.length,!0)],rotation:a(360,!0)*Math.PI/180,speed:a(t.clock/7)+t.clock/30}));var c;return requestAnimationFrame(function e(){for(var n in i.clearRect(0,0,t.width,t.height),r)s(r[n]);!function(){for(var e=0;e<t.max;e++){var n=r[e];n&&(t.animate&&(n.y+=n.speed),n.rotate&&(n.rotation+=n.speed/35),(n.speed>=0&&n.y>t.height||n.speed<0&&n.y<0)&&(t.respawn?(r[e]=n,r[e].x=a(t.width,!0),r[e].y=n.speed>=0?-10:parseFloat(t.height)):r[e]=void 0))}r.every(function(e){return void 0===e})&&l()}(),t.animate&&requestAnimationFrame(e)})},clear:l}},Xl=n("h+eY");function Kl(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",2),i["\u0275\u0275text"](1,"No Data Available"),i["\u0275\u0275elementEnd"]())}function Jl(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"highcharts-chart",3),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().chartsUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("Highcharts",r.Highcharts)("options",r.heartChartOpts)("update",r.chartsUpdated)("callbackFunction",r.chartCallback)}}var Ql=function(){function e(){this.Highcharts=re}return e.prototype.ngOnChanges=function(e){try{this.heartChartOpts.series[0]={data:this.SessionData.chartSnapshots,color:"#FFFFFF",yAxis:0},this.chartsUpdated=!0}catch(t){}},e.prototype.ngOnInit=function(){var e=Object.keys(this.SessionData.zones[0][0])[0],t=Object.keys(this.SessionData.zones[0][4])[0],n=this.SessionData.zoneChartLow,i=this.SessionData.zoneChartMax,r=B.i.FITDIGITS,a={chart:{type:"spline",margin:[0,0,0,0],spacingTop:0},credits:{enabled:!1},title:{text:null},xAxis:{title:!1,labels:{enabled:!1},minorTickLength:0,tickLength:0},tooltip:{shared:!0,crosshairs:!0,enabled:!0,borderColor:"#666666",formatter:function(){return console.log("tooltip"),'<span style="font-weight: bold;">Heart Rate: </span>'+this.y+" bpm<br/>"}},yAxis:{title:!1,labels:{enabled:!1},endOnTick:!1,maxPadding:0,minorTickLength:0,tickLength:0,min:this.SessionData.zones[0][0][e][0],max:this.SessionData.zones[0][4][t][1],minorGridLineWidth:0,gridLineWidth:0,alternateGridColor:null,plotBands:[{from:Number(n[0]),to:Number(n[1]),color:r.zone[0].tizColor,label:{style:{color:"#606060"}}},{from:Number(n[1]),to:Number(i[0]),color:r.zone[1].tizColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(n[2]),to:Number(i[1]),color:r.zone[2].tizColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(n[3]),to:Number(i[2]),color:r.zone[3].tizColor,label:{style:{color:"#606060"}}},{from:Number(n[4]),to:Number(i[3]),color:r.zone[4].tizColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(n[5]),to:Number(i[4]),color:r.zone[5].tizColor,label:{style:{color:"#606060"}}},{from:Number(n[6]),to:Number(i[5]),color:r.zone[6].tizColor,label:{style:{color:"#606060"}}}]},plotOptions:{spline:{lineWidth:4,states:{hover:{lineWidth:5}},marker:{enabled:!1}}},legend:{enabled:!1},series:[],navigation:{menuItemStyle:{fontSize:"10px"}}};a.series.push({data:this.SessionData.chartSnapshots,color:"#FFFFFF",yAxis:0}),this.heartChartOpts=a,this.hasData=!0},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-livetracking-heart-chart"]],inputs:{SessionData:"SessionData",snapshots:"snapshots"},features:[i["\u0275\u0275NgOnChangesFeature"]],decls:2,vars:2,consts:[["style","text-align: center;height: 300px",4,"ngIf"],["style","display: flex;height: 300px",3,"Highcharts","options","update","callbackFunction","updateChange",4,"ngIf"],[2,"text-align","center","height","300px"],[2,"display","flex","height","300px",3,"Highcharts","options","update","callbackFunction","updateChange"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,Kl,2,0,"div",0),i["\u0275\u0275template"](1,Jl,1,4,"highcharts-chart",1)),2&e&&(i["\u0275\u0275property"]("ngIf",!t.hasData),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.hasData))},directives:[y.NgIf,si.a],styles:[""]}),e}(),ec=["ltmap"];function tc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",29),i["\u0275\u0275text"](1,"expand_less"),i["\u0275\u0275elementEnd"]())}function nc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",29),i["\u0275\u0275text"](1,"expand_more"),i["\u0275\u0275elementEnd"]())}var ic=function(e){return{"background-color":e}};function rc(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",58),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2).$implicit,t=i["\u0275\u0275nextContext"]();return e.hidden=!0,t.hasHidden=!0}),i["\u0275\u0275text"](1,"X"),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("hidden",r.hidden)("ngStyle",i["\u0275\u0275pureFunction1"](2,ic,r.color))}}function ac(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"br"),i["\u0275\u0275elementStart"](2,"span",59),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",n.routine.name," ")}}function oc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p",67),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.weather.f,"\xb0F")}}function sc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p",67),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.weather.c,"\xb0C")}}function lc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",64),i["\u0275\u0275elementStart"](1,"span"),i["\u0275\u0275element"](2,"img",65),i["\u0275\u0275template"](3,oc,2,1,"p",66),i["\u0275\u0275template"](4,sc,2,1,"p",66),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("src",n.weather.weather_image_url,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","imperial"==r.distanceType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","metric"==r.distanceType)}}function cc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](2,1,n.mostRecent.speed,"1.0-2"))}}function dc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"--"),i["\u0275\u0275elementEnd"]())}function uc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p",69),i["\u0275\u0275text"](1,"mph"),i["\u0275\u0275elementEnd"]())}function pc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,cc,3,4,"span",11),i["\u0275\u0275template"](2,dc,2,0,"span",11),i["\u0275\u0275template"](3,uc,2,0,"p",68),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.speed>=.1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.mostRecent.speed||n.mostRecent.speed<.1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","imperial"==r.distanceType&&"speed"==r.speedType)}}function hc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](2,1,n.mostRecent.currKPH,"1.0-2"))}}function mc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"--"),i["\u0275\u0275elementEnd"]())}function gc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p",69),i["\u0275\u0275text"](1,"kph"),i["\u0275\u0275elementEnd"]())}function fc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,hc,3,4,"span",11),i["\u0275\u0275template"](2,mc,2,0,"span",11),i["\u0275\u0275template"](3,gc,2,0,"p",68),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.currKPH>=.1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.mostRecent.currKPH||n.mostRecent.currKPH<.1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","metric"==r.distanceType&&"speed"==r.speedType)}}function vc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.mostRecent.pace_imperial)}}function yc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"--"),i["\u0275\u0275elementEnd"]())}function bc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p",69),i["\u0275\u0275text"](1,"m/mi"),i["\u0275\u0275elementEnd"]())}function xc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,vc,2,1,"span",11),i["\u0275\u0275template"](2,yc,2,0,"span",11),i["\u0275\u0275template"](3,bc,2,0,"p",68),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.speed>=.1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.mostRecent.pace_imperial||n.mostRecent.speed<.1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","imperial"==r.distanceType&&"pace"==r.speedType)}}function _c(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.mostRecent.pace_metric)}}function wc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"--"),i["\u0275\u0275elementEnd"]())}function Sc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p",69),i["\u0275\u0275text"](1,"m/km"),i["\u0275\u0275elementEnd"]())}function Cc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,_c,2,1,"span",11),i["\u0275\u0275template"](2,wc,2,0,"span",11),i["\u0275\u0275template"](3,Sc,2,0,"p",68),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.currKPH>=.1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.mostRecent.pace_metric||n.mostRecent.currKPH<.1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","metric"==r.distanceType&&"pace"==r.speedType)}}function kc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](2,1,n.mostRecent.avgSpeed,"1.0-2"))}}function Oc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"--"),i["\u0275\u0275elementEnd"]())}function Ec(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,kc,3,4,"span",11),i["\u0275\u0275template"](2,Oc,2,0,"span",11),i["\u0275\u0275elementStart"](3,"p",69),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.dist>=.1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.dist<.1),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,3,"ROOT.Avg Speed"))}}function Mc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](2,1,n.mostRecent.avgSpeedKm,"1.0-2"))}}function Ic(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"--"),i["\u0275\u0275elementEnd"]())}function Pc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,Mc,3,4,"span",11),i["\u0275\u0275template"](2,Ic,2,0,"span",11),i["\u0275\u0275elementStart"](3,"p",69),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.dist>=.1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.dist<.1),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,3,"ROOT.Avg Speed"))}}function Tc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"secondsToHMSNoZero"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,n.mostRecent.avgPace))}}function Dc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"--"),i["\u0275\u0275elementEnd"]())}function Lc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,Tc,3,3,"span",11),i["\u0275\u0275template"](2,Dc,2,0,"span",11),i["\u0275\u0275elementStart"](3,"p",69),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.avgPace>=.1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.avgPace<.1),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,3,"ROOT.Avg Pace"))}}function Rc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"secondsToHMSNoZero"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,n.mostRecent.avgPaceKm))}}function jc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"--"),i["\u0275\u0275elementEnd"]())}function Ac(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,Rc,3,3,"span",11),i["\u0275\u0275template"](2,jc,2,0,"span",11),i["\u0275\u0275elementStart"](3,"p",69),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.avgPace>=.1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.avgPace<.1),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,3,"ROOT.Avg Pace"))}}function Fc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"--"),i["\u0275\u0275elementEnd"]())}function Bc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p",69),i["\u0275\u0275text"](1,"mi"),i["\u0275\u0275elementEnd"]())}function zc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"span"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,Fc,2,0,"span",11),i["\u0275\u0275template"](5,Bc,2,0,"p",68),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](3,3,n.mostRecent.dist,"1.0-2")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.mostRecent.dist&&n.mostRecent.dist<.01),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","imperial"==r.distanceType)}}function Nc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"--"),i["\u0275\u0275elementEnd"]())}function Hc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p",69),i["\u0275\u0275text"](1,"km"),i["\u0275\u0275elementEnd"]())}function Vc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"span"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,Nc,2,0,"span",11),i["\u0275\u0275template"](5,Hc,2,0,"p",68),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](3,3,n.mostRecent.distance_km,"1.0-2")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.mostRecent.distance_km&&n.mostRecent.distance_km<.01),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","metric"==r.distanceType)}}function Yc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",60),i["\u0275\u0275template"](1,lc,5,3,"div",61),i["\u0275\u0275elementStart"](2,"div",62),i["\u0275\u0275template"](3,pc,4,3,"span",11),i["\u0275\u0275template"](4,fc,4,3,"span",11),i["\u0275\u0275template"](5,xc,4,3,"span",11),i["\u0275\u0275template"](6,Cc,4,3,"span",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",62),i["\u0275\u0275template"](8,Ec,6,5,"span",11),i["\u0275\u0275template"](9,Pc,6,5,"span",11),i["\u0275\u0275template"](10,Lc,6,5,"span",11),i["\u0275\u0275template"](11,Ac,6,5,"span",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"div",63),i["\u0275\u0275template"](13,zc,6,6,"span",11),i["\u0275\u0275template"](14,Vc,6,6,"span",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.weather.f),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",2==n.status),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","imperial"==r.distanceType&&"speed"==r.speedType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","metric"==r.distanceType&&"speed"==r.speedType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","imperial"==r.distanceType&&"pace"==r.speedType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","metric"==r.distanceType&&"pace"==r.speedType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",0==n.status||1==n.status||4==n.status),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","imperial"==r.distanceType&&"speed"==r.speedType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","metric"==r.distanceType&&"speed"==r.speedType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","imperial"==r.distanceType&&"pace"==r.speedType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","metric"==r.distanceType&&"pace"==r.speedType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","imperial"==r.distanceType&&n.mostRecent.dist>=.01),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","metric"==r.distanceType&&n.mostRecent.distance_km>=.01)}}function Wc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}var Gc=function(e){return{color:e}};function Uc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",76),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](2,Gc,n.mostRecent.zone[2])),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.mostRecent.mhr,"%")}}function qc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}function Zc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",76),i["\u0275\u0275text"](1),i["\u0275\u0275element"](2,"img",77),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](2,Gc,n.mostRecent.zone[2])),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.mostRecent.bpm," ")}}function $c(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",71),i["\u0275\u0275template"](1,qc,2,0,"span",11),i["\u0275\u0275template"](2,Zc,3,4,"span",72),i["\u0275\u0275elementStart"](3,"p",73),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.bpm<=0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.bpm>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Gc,n.mostRecent.zone[2])),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.mostRecent.zone[1])}}function Xc(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}function Kc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",76),i["\u0275\u0275text"](1),i["\u0275\u0275element"](2,"img",77),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](2,Gc,n.mostRecent.zone[2])),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.mostRecent.bpm," ")}}function Jc(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",78),i["\u0275\u0275template"](1,Xc,2,0,"span",11),i["\u0275\u0275template"](2,Kc,3,4,"span",72),i["\u0275\u0275elementStart"](3,"p",73),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.bpm<=0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.bpm>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Gc,n.mostRecent.zone[2])),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.mostRecent.zone[1])}}function Qc(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",70),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2).$implicit;return e.showHRChart=!e.showHRChart}),i["\u0275\u0275elementStart"](1,"div",71),i["\u0275\u0275template"](2,Wc,2,0,"span",11),i["\u0275\u0275template"](3,Uc,2,4,"span",72),i["\u0275\u0275elementStart"](4,"p",73),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,$c,5,6,"div",74),i["\u0275\u0275template"](8,Jc,5,6,"div",75),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("hidden",2==r.status),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.mostRecent.mhr<=0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.mostRecent.mhr>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](9,Gc,r.mostRecent.zone[2])),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,7,"ROOT.mhr")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.mostRecent.rpm||r.hasPower),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.mostRecent.rpm&&!r.hasPower)}}function ed(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}function td(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",76),i["\u0275\u0275text"](1),i["\u0275\u0275element"](2,"img",77),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](2,Gc,n.mostRecent.zone[2])),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.mostRecent.avgBPM," ")}}function nd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",71),i["\u0275\u0275template"](1,ed,2,0,"span",11),i["\u0275\u0275template"](2,td,3,4,"span",72),i["\u0275\u0275elementStart"](3,"p",80),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.avgBPM<=0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.avgBPM>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](6,Gc,n.mostRecent.zone[2])),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,4,"ROOT.Avg BPM"))}}function id(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}function rd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.mostRecent.calories)}}function ad(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",79),i["\u0275\u0275template"](1,nd,6,8,"div",74),i["\u0275\u0275elementStart"](2,"div",78),i["\u0275\u0275template"](3,id,2,0,"span",11),i["\u0275\u0275template"](4,rd,2,1,"span",11),i["\u0275\u0275elementStart"](5,"p",69),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("hidden",0==n.status||4==n.status),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.avgBPM),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.mostRecent.calories<=0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.calories>0),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](7,5,"ROOT.Calories"))}}function od(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}function sd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",76),i["\u0275\u0275text"](1),i["\u0275\u0275element"](2,"img",83),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](2,Gc,n.powerColor)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.mostRecent.watts," ")}}function ld(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",71),i["\u0275\u0275template"](1,od,2,0,"span",11),i["\u0275\u0275template"](2,sd,3,4,"span",72),i["\u0275\u0275elementStart"](3,"p",80),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.watts<=0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.watts>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](6,Gc,n.powerColor)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,4,"ROOT.Watts"))}}function cd(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}function dd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.mostRecent.rpm,"")}}function ud(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",78),i["\u0275\u0275template"](1,cd,2,0,"span",11),i["\u0275\u0275template"](2,dd,2,1,"span",11),i["\u0275\u0275elementStart"](3,"p",69),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.rpm<=0||!n.mostRecent.rpm),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.rpm>0),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,3,"ROOT.RPM"))}}function pd(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}function hd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",76),i["\u0275\u0275text"](1),i["\u0275\u0275element"](2,"img",83),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](2,Gc,n.powerColor)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.mostRecent.avgWatts," ")}}function md(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",71),i["\u0275\u0275template"](1,pd,2,0,"span",11),i["\u0275\u0275template"](2,hd,3,4,"span",72),i["\u0275\u0275elementStart"](3,"p",80),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.avgWatts<=0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.avgWatts>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](6,Gc,n.powerColor)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,4,"ROOT.Avg Watts"))}}function gd(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}function fd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.mostRecent.avgRPM,"")}}function vd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",81),i["\u0275\u0275elementStart"](1,"div",82),i["\u0275\u0275template"](2,ld,6,8,"div",74),i["\u0275\u0275template"](3,ud,6,5,"div",75),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",82),i["\u0275\u0275template"](5,md,6,8,"div",74),i["\u0275\u0275elementStart"](6,"div",78),i["\u0275\u0275template"](7,gd,2,0,"span",11),i["\u0275\u0275template"](8,fd,2,1,"span",11),i["\u0275\u0275elementStart"](9,"p",69),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",2==n.status),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.hasPower),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.hasPower),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",0==n.status||1==n.status||4==n.status),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.hasPower),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.mostRecent.avgRPM<=0||!n.mostRecent.avgRPM),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.avgRPM>0),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](11,8,"ROOT.Avg RPM"))}}function yd(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}function bd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.mostRecent.rpm,"")}}function xd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",86),i["\u0275\u0275template"](1,yd,2,0,"span",11),i["\u0275\u0275template"](2,bd,2,1,"span",11),i["\u0275\u0275elementStart"](3,"p",69),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.rpm<=0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.rpm>0),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,3,"ROOT.RPM"))}}function _d(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",84),i["\u0275\u0275template"](1,xd,6,5,"div",85),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("hidden",2==n.status),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.hasPower)}}function wd(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"-"),i["\u0275\u0275elementEnd"]())}function Sd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.mostRecent.avgRPM,"")}}function Cd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",84),i["\u0275\u0275elementStart"](1,"div",86),i["\u0275\u0275template"](2,wd,2,0,"span",11),i["\u0275\u0275template"](3,Sd,2,1,"span",11),i["\u0275\u0275elementStart"](4,"p",69),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("hidden",0==n.status||4==n.status),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.mostRecent.avgRPM<=0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.mostRecent.avgRPM>0),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,4,"ROOT.Avg RPM"))}}function kd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",87),i["\u0275\u0275element"](1,"app-livetracking-heart-chart",88),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("SessionData",n)("snapshots",n.snapshots)}}function Od(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",89),i["\u0275\u0275elementStart"](1,"button",90),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2).$implicit;return e.openCustomCheer=!e.openCustomCheer}),i["\u0275\u0275elementStart"](2,"div",91),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementStart"](5,"sup"),i["\u0275\u0275text"](6,"\u2122"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7,"\xa0\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](8,"img",92),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"button",93),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2).$implicit;return i["\u0275\u0275nextContext"]().sendCheer(e,"andy",null)}),i["\u0275\u0275element"](10,"img",94),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"button",93),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2).$implicit;return i["\u0275\u0275nextContext"]().sendCheer(e,"applause",null)}),i["\u0275\u0275element"](12,"img",95),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"button",93),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2).$implicit;return i["\u0275\u0275nextContext"]().sendCheer(e,"confetti",null)}),i["\u0275\u0275element"](14,"img",96),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"button",93),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2).$implicit;return i["\u0275\u0275nextContext"]().sendCheer(e,"emoji",null)}),i["\u0275\u0275element"](16,"img",97),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,ic,r.color)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](4,2,"ROOT.LiveCheers")," ")}}function Ed(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",102),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/group_member_photo/",n.sender_id,"",i["\u0275\u0275sanitizeUrl"])}}function Md(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",102),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275propertyInterpolate2"]("src","https://storage.googleapis.com/image_manager/profile_image/",n.sender_id,"/",n.sender_image_filename,"",i["\u0275\u0275sanitizeUrl"])}}function Id(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",105),i["\u0275\u0275elementStart"](1,"img",106),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](4).likeCheer(e),e.has_liked=!0}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function Pd(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"img",108),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2).$implicit;return i["\u0275\u0275nextContext"](4).likeCheer(e),e.has_liked=!1}),i["\u0275\u0275elementEnd"]()}}function Td(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"button",105),i["\u0275\u0275template"](1,Pd,1,0,"img",107),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.has_liked)}}function Dd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",100),i["\u0275\u0275template"](2,Ed,1,1,"img",101),i["\u0275\u0275template"](3,Md,1,2,"img",101),i["\u0275\u0275element"](4,"img",102),i["\u0275\u0275elementStart"](5,"span",103),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,Id,2,0,"button",104),i["\u0275\u0275template"](8,Td,2,1,"button",104),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.sender_has_image),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.sender_has_image),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",r.cheerIcons[n.cheer_type],i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.message),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.has_liked),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.has_liked)}}var Ld=function(e,t){return{"height.px":e,"overflow-y":t}};function Rd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",98),i["\u0275\u0275template"](1,Dd,9,6,"div",99),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction2"](2,Ld,r.ltSessions.length>1?82:"unset",r.ltSessions.length>1?"scroll":"unset")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.cheers)}}function jd(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",109),i["\u0275\u0275text"](2,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"textarea",110),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).cheerReplyText=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"button",53),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2).$implicit;return i["\u0275\u0275nextContext"]().replyToCheers(e)}),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275element"](7,"img",54),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngModel",r.cheerReplyText),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",0==r.cheerReplyText.length),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,3,"ROOT.Send")," ")}}var Ad=function(e){return{"background-color":e,color:"#fff","border-top":"1px solid #000"}};function Fd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",111),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](2,Ad,n.color)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.lastUpdatedText," ")}}function Bd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"a",113),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("routerLink","/activity-share/",n.shareId,""),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,2,"ROOT.View Results"),"")}}var zd=function(e){return{"background-color":e,color:"#fff","border-top":"1px solid #000","font-size":"18px"}};function Nd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",112),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275template"](3,Bd,4,4,"span",11),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](6,zd,n.color)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](2,4,"ROOT.Session")," ",n.statusText," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.shareId)}}var Hd=function(e){return{"border-color":e}};function Vd(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275elementStart"](2,"div",31),i["\u0275\u0275element"](3,"canvas",32),i["\u0275\u0275elementStart"](4,"div",33),i["\u0275\u0275elementStart"](5,"div",34),i["\u0275\u0275elementStart"](6,"div",35),i["\u0275\u0275elementStart"](7,"a",36),i["\u0275\u0275element"](8,"img",37),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"a",38),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"]().trackingUser=e.id}),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](11,rc,2,4,"div",39),i["\u0275\u0275elementStart"](12,"div",40),i["\u0275\u0275element"](13,"img",41),i["\u0275\u0275elementStart"](14,"div",42),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"secondsToHMSNoZero"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](17,ac,4,1,"span",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](18,Yc,15,13,"div",43),i["\u0275\u0275elementStart"](19,"div",44),i["\u0275\u0275template"](20,Qc,9,11,"div",45),i["\u0275\u0275template"](21,ad,8,7,"div",46),i["\u0275\u0275template"](22,vd,12,10,"div",47),i["\u0275\u0275template"](23,_d,2,2,"div",48),i["\u0275\u0275template"](24,Cd,7,6,"div",48),i["\u0275\u0275element"](25,"div",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](26,kd,2,2,"div",49),i["\u0275\u0275template"](27,Od,17,6,"div",50),i["\u0275\u0275elementStart"](28,"div",51),i["\u0275\u0275elementStart"](29,"textarea",52),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).messageText=e}),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"button",53),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"]().sendCustomCheer(e)}),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"translate"),i["\u0275\u0275element"](34,"img",54),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](35,Rd,2,5,"div",55),i["\u0275\u0275template"](36,jd,8,5,"div",11),i["\u0275\u0275element"](37,"div",13),i["\u0275\u0275template"](38,Fd,2,4,"div",56),i["\u0275\u0275template"](39,Nd,4,8,"div",57),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate1"]("id","lt-user-",r.accountId,""),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](36,Hd,r.color))("hidden",r.hidden),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("id",r.id),i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate1"]("routerLink","/livetracking/",r.id,""),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",r.profileImageURL,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](38,Gc,1==a.isDarkTheme?"#E2E3E3":"#58585B")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",r.name," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.lastUpdateAsNumber>20||2==r.status),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate1"]("src","/static/img/theme/site/workout_type_icons/",r.workoutTypeURL,"_icon.png",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](40,Gc,1==a.isDarkTheme?"#E2E3E4":"#58585B")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](16,30,r.mostRecent.elapsed)," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.routine),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.mostRecent.speed||r.mostRecent.dist),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.mostRecent.bpm),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.mostRecent.avgBPM),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.hasPower),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.mostRecent.rpm&&!r.hasPower),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.mostRecent.rpm&&!r.hasPower),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showHRChart),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.isProPlus&&2!==r.status&&4!==r.status&&"audit"!==a.user.authType&&null===a.user.auditor&&r.accountId!=a.AccountService.account.accountId),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!r.openCustomCheer),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("placeholder","LiveCheers ",i["\u0275\u0275pipeBind1"](30,32,"ROOT.Message"),""),i["\u0275\u0275property"]("ngModel",a.messageText),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",0==a.messageText.length),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](33,34,"ROOT.Send")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",a.isProPlus&&2!==r.status&&"audit"!==a.user.authType&&null===a.user.auditor&&r.cheers),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.accountId==a.AccountService.account.accountId&&r.cheers&&2!==r.status),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.lastUpdatedText),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0!=r.status)}}function Yd(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",30),i["\u0275\u0275template"](1,Vd,40,42,"span",11),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.hasFirstData)}}function Wd(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",114),i["\u0275\u0275elementStart"](1,"p",115),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",13),i["\u0275\u0275elementStart"](5,"a",116),i["\u0275\u0275element"](6,"img",117),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"img",118),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,"ROOT.No Current Livetracking Sessions")))}function Gd(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"mat-progress-bar",119),i["\u0275\u0275elementEnd"]())}function Ud(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",29),i["\u0275\u0275text"](1,"expand_less"),i["\u0275\u0275elementEnd"]())}function qd(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",29),i["\u0275\u0275text"](1,"expand_more"),i["\u0275\u0275elementEnd"]())}function Zd(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",2),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.collapseMap=!e.collapseMap}),i["\u0275\u0275elementStart"](1,"h3",3),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,Ud,2,0,"span",4),i["\u0275\u0275template"](5,qd,2,0,"span",4),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,3,"ROOT.Map")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==r.collapseMap),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==r.collapseMap)}}function $d(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",51),i["\u0275\u0275element"](1,"div",120,121),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("hidden",1==n.collapseMap)}}var Xd=function(e){return{"dark-theme":e}},Kd=".optionsPanel[_ngcontent-%COMP%]   .mat-expansion-panel-header-description[_ngcontent-%COMP%], .optionsPanel[_ngcontent-%COMP%]   .mat-expansion-panel-header-title[_ngcontent-%COMP%]{flex-basis:0}.optionsPanel[_ngcontent-%COMP%]   .mat-expansion-panel-header-description[_ngcontent-%COMP%]{justify-content:space-between;align-items:center}.optionsPanel[_ngcontent-%COMP%]   .mat-form-field[_ngcontent-%COMP%] + .mat-form-field[_ngcontent-%COMP%]{margin-left:8px}.cheersNoticeContainer[_ngcontent-%COMP%]{text-align:left;margin-left:5px;margin-top:5px;clear:both;color:#b2b2b2}.cheersNotice[_ngcontent-%COMP%]{clear:both;padding:10px 0;border-bottom:1px solid #b2b2b2;float:left;width:100%}.inCheers[_ngcontent-%COMP%]{width:26px;margin-right:10px}.liveSessionStatus[_ngcontent-%COMP%]{padding:10px}.cheersButtonContainer[_ngcontent-%COMP%]{font-size:18px}.liveUserContainer[_ngcontent-%COMP%]{border:4px solid;margin:-5px auto 20px;width:100%}.liveTopNav[_ngcontent-%COMP%], .liveTopTabs[_ngcontent-%COMP%]{margin:0 auto!important;width:100%}.liveTopTabs[_ngcontent-%COMP%]{text-align:center;font-size:18px;height:52px;border:1px solid #4597cb!important}.liveTab[_ngcontent-%COMP%]{float:left!important;width:50%!important;height:50px!important;padding-top:10px!important}.liveMapCanvas[_ngcontent-%COMP%]{height:500px;width:90%;margin:0 auto}.liveStatsContainer[_ngcontent-%COMP%]{width:100%;margin:0 auto}.liveMobileList[_ngcontent-%COMP%]{padding-top:0;clear:both}.show_all_btn_wrap[_ngcontent-%COMP%]{width:90%;margin:0 auto;text-align:right}.show_all_btn_wrap_mobile[_ngcontent-%COMP%]{float:left;left:10px;margin-top:5px}.liveHzLine[_ngcontent-%COMP%]{border-top:1px solid #b2b2b2}.liveCheersPopup[_ngcontent-%COMP%]{min-width:460px}.cheersCustom[_ngcontent-%COMP%]{float:left;padding-top:40px;margin-left:25px}.liveUserInfoContainer[_ngcontent-%COMP%]{float:left;width:100%;overflow:hidden;line-height:normal}.liveUserTop[_ngcontent-%COMP%]{background-color:rgba(226,227,228,.2);height:60px;padding:5px;border-bottom:0 solid #b2b2b2}.liveUserClose[_ngcontent-%COMP%]{float:right;padding:5px 10px;font-size:18px;color:#fff;margin:-5px 0 0;cursor:pointer}.liveActivityIcon[_ngcontent-%COMP%]{float:right;margin:0 15px 0 -40px}.liveTimeandIcon[_ngcontent-%COMP%]{width:50%;float:right;text-align:center;margin-right:0}.liveUserName[_ngcontent-%COMP%]{float:left;padding-top:5px;font-size:24px;font-weight:400;margin-top:0;margin-bottom:5px;white-space:nowrap;margin-left:5px;width:100%}.liveUserName[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:inherit}.liveUserName[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#4597cb;text-decoration:none}.liveElapsedTime[_ngcontent-%COMP%]{font-size:24px;font-weight:500;margin:0}.groupTime[_ngcontent-%COMP%]{padding-top:2px}.liveTimerIcon[_ngcontent-%COMP%]{padding:0 20px 0 0;margin-top:-3px;height:22px}.liveProfileImg[_ngcontent-%COMP%]{border-left:0 solid;width:10%;max-width:70px;max-height:70px;padding-left:0;margin-right:0;margin-left:0;float:left;clear:left}.liveUserMiddle[_ngcontent-%COMP%]{height:70px;padding:0;font-size:24px;width:100%;clear:both;margin-left:0!important;margin-right:0!important}.liveTimeandIcon[_ngcontent-%COMP%]{width:33%}.liveMidCol[_ngcontent-%COMP%]{text-align:center;width:33%;float:right;padding-top:7px}.liveLabel[_ngcontent-%COMP%]{font-size:14px;padding-top:0;text-shadow:none;width:80%;margin:auto}.liveLabelrev[_ngcontent-%COMP%]{color:#fff}.liveHRicon[_ngcontent-%COMP%], .liveWattsicon[_ngcontent-%COMP%]{margin-right:-18px}.radioButtonField[_ngcontent-%COMP%]{width:150px}.lt_options_popover[_ngcontent-%COMP%]{opacity:1;color:#b2b2b2!important;background-color:#b2b2b2!important;border:none!important;padding-top:15px!important}.lt_options_popover_btn[_ngcontent-%COMP%]{background-color:transparent!important}.user_inbox_popover[_ngcontent-%COMP%]{opacity:1;min-width:50%;color:#b2b2b2!important;border:none!important;padding-top:15px!important}.ltoptionsradiobtn[_ngcontent-%COMP%]{float:left}.ltoptionsradiobtnlabel[_ngcontent-%COMP%]{float:left;padding:3px 0 20px 10px;font-weight:200}.liveUserBottom[_ngcontent-%COMP%]{cursor:pointer;height:70px;padding:0;font-size:24px;margin-right:0!important;margin-left:0!important;border-top:1px solid #b2b2b2}.hrSection[_ngcontent-%COMP%]{margin:auto;width:100%}.hrSection[_ngcontent-%COMP%], .liveHRCol[_ngcontent-%COMP%]{text-align:center;float:left}.liveHRCol[_ngcontent-%COMP%]{width:50%;padding-top:10px;height:50px;margin:0!important}.liveHRCol2[_ngcontent-%COMP%]{float:right}.liveRPMCol[_ngcontent-%COMP%]{width:inherit}.liveHRZonesCol[_ngcontent-%COMP%], .liveRPMCol[_ngcontent-%COMP%]{padding-top:10px;text-align:center}.liveHRZonesCol[_ngcontent-%COMP%]{float:right;margin:0!important}.liveHRIcon[_ngcontent-%COMP%]{float:left;padding:20px 0 0;width:10%;margin:auto}.liveWeather[_ngcontent-%COMP%]{float:left!important}@media (max-width:769px){.liveMidCol[_ngcontent-%COMP%]{width:30%}}@media (max-width:560px){.liveWeather[_ngcontent-%COMP%]{width:0!important;height:0;margin:0;visibility:hidden}.liveMobileSessionStateLabel[_ngcontent-%COMP%]{font-size:.5em}.liveMidCol[_ngcontent-%COMP%]{float:right;width:50%}.liveStatsContainer[_ngcontent-%COMP%]{width:100%}.liveTopNav[_ngcontent-%COMP%]{margin-bottom:0}.liveMapCanvas[_ngcontent-%COMP%]{height:100%}.liveTimerIcon[_ngcontent-%COMP%]{padding:0 15px 0 0}}.cheersContainer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-left:0;margin-top:0;clear:both;color:#fff;cursor:pointer}.cheersButtonContainer[_ngcontent-%COMP%]{margin-top:0;padding-top:12px;padding-left:10px;padding-bottom:5px;float:left}.cheersButton[_ngcontent-%COMP%]{margin-bottom:0;padding-left:5px}.cheersIconContainer[_ngcontent-%COMP%]{padding:0;overflow:hidden;margin:0 10px;font-size:.8em}.cheersTextInput[_ngcontent-%COMP%]{float:left;width:65%;background-color:transparent;margin:0 0 10px;border:none!important;border-bottom:1px solid #4597cb!important;border-radius:0;font-size:24px;width:100%}.cheersSend[_ngcontent-%COMP%]{margin-top:10px;clear:both;float:right;width:200px}.livetracking-send-cheers-button[_ngcontent-%COMP%]{float:right;margin:20px 20px 20px 0;width:160px}.cheersChoiceList[_ngcontent-%COMP%]{border:0 solid;text-align:center;margin:10px auto 0;max-width:768px}.cheersIcon[_ngcontent-%COMP%]{width:52px;height:52px;padding:10px;border:0 solid #000;margin-right:3px;margin-left:3px}.cheersToTextContainer[_ngcontent-%COMP%]{margin-bottom:10px;float:left;width:100%;clear:both}.livetracking-profile-photo[_ngcontent-%COMP%]{width:48px;height:48px;margin-right:10px;float:left}.liveUserNameLink[_ngcontent-%COMP%]{cursor:pointer;float:left}.liveSessionUpdated[_ngcontent-%COMP%]{padding-left:10px;margin-bottom:-1px}.liveSessionStatus[_ngcontent-%COMP%]{padding-left:10px}.liveLabel[_ngcontent-%COMP%]{line-height:15px;font-weight:400}.optionsWrap[_ngcontent-%COMP%]{height:80px;padding-top:5px}.optionsSection[_ngcontent-%COMP%]{border-top:2px solid #b2b2b2;width:90%;margin:0 auto;height:80px}.mobileOptionsButton[_ngcontent-%COMP%]{float:right;right:0;z-index:99999999}.liveMobileOptionsButton[_ngcontent-%COMP%]{background-image:url(/static/img/btn/options_open_button.png);height:35px;width:140px;float:right;background-repeat:no-repeat;background-position:100%}.leftTableOptions[_ngcontent-%COMP%], .rightTableOptions[_ngcontent-%COMP%]{float:left;margin:10px 50px 0}.noLiveSessionsDesktopLabel[_ngcontent-%COMP%]{font-size:20px}.liveIcon1[_ngcontent-%COMP%]{width:75px;opacity:.5}.liveWeatherImg[_ngcontent-%COMP%]{margin-top:-8px}.liveWeatherDegree[_ngcontent-%COMP%]{margin-top:-6px}.liveCheersText[_ngcontent-%COMP%]{float:left;font-size:18px}@media (max-width:600px){.cheersIconContainer[_ngcontent-%COMP%]{margin:0}.liveCheersText[_ngcontent-%COMP%]{visibility:hidden;width:0;overflow:hidden;float:left}}@media (max-width:420px){.liveProfileImg[_ngcontent-%COMP%]{margin-right:0;width:20%}.cheersSend[_ngcontent-%COMP%]{float:none;margin-top:10px}.liveActivityIcon[_ngcontent-%COMP%]{float:left;margin:0}}",Jd=function(){function e(e,t,n,i,r,a,o,s,l,c,d,u){var p=this;this.titleService=e,this.livetrackingService=t,this.route=n,this.ThemeService=i,this.inboxService=r,this.cookieService=a,this.AccountService=o,this.translate=s,this.SocialService=l,this.snackBar=c,this.analytics=d,this.dialog=u,this.cheerIcons={speak:"/static/img/text_to_speech_cheers_icon.png",confetti:"/static/img/party_icon.png",emoji:"/static/img/thumbsup_icon.png",applause:"/static/img/cheers_icon.png",andy:"/static/img/andycheers_icon.png"},this.isAnonymous=!1,this.showLoadingOverlay=!0,this.running=!1,this.noSessions=!1,this.isGroupLT=!1,this.isProPlus=!0,this.isDarkTheme=!1,this.collapseList=!1,this.collapseMap=!1,this.hasHidden=!1,this.openCustomCheer=!1,this.messageText="",this.cheerReplyText="",this.ltSessionsIds=[],this.activeSessions=[],this.ltSessions=[],this.distanceType="imperial",this.speedType="speed",this.metaData=[],this.zoom=15,this.polylineColors=[{color:"#4597CB",in_use:!1},{color:"#03A89E",in_use:!1},{color:"#3FAE48",in_use:!1},{color:"#FCB424",in_use:!1},{color:"#F16124",in_use:!1},{color:"#EE3123",in_use:!1},{color:"#5E2772",in_use:!1},{color:"#1E597E",in_use:!1},{color:"#0B5D57",in_use:!1}],this.Thumbs_up_txt="Thumbs Up",this.Liked_txt="Liked",this.Confetti_txt="Confetti",this.Applause_txt="Applause",this.Dancing_txt="Dancing",this.Cheer_txt="Cheer",this.Send_a_custom_message_txt="Send a custom message",this.Send_txt="Send",this.Applause_sent_to_txt="Applause sent to ",this.You_rained_Thumbs_Up_on_txt="You sent likes to ",this.You_rained_confetti_on_txt="You threw confetti on ",this.You_cheered_on_txt="You cheered on ",this.sent_to_txt=" sent to ",this.message_suffix_applause_txt="",this.message_suffix_thumbs_txt="",this.message_suffix_confetti_txt="",this.message_suffix_cheer_txt="",this.message_suffix_message_sent_txt="",this.Stats_txt="Stats",this.Map_txt="Map",this.Options_txt="Options",this.BPM_txt="BPM",this.RPM_txt="RPM",this.Calories_txt="Calories",this.Avg_BPM_txt="Avg BPM",this.Avg_RPM_txt="Avg RPM",this.Avg_Watts_txt="Avg Watts",this.Avg_Speed_txt="Avg Speed",this.Speed_txt="Speed",this.Avg_Pace_txt="Avg Pace",this.Session_has_ended_txt="Session has ended.",this.View_Results_txt="View Results",this.Watts_txt="Watts",this.Pace_txt="Pace",this.Metric_txt="Metric",this.Send_LiveCheers_txt="LiveCheers",this.Session_txt="Session",this.is_paused_txt="is paused",this.has_ended_txt="has ended",this.is_in_recovery_txt="is in recovery",this.No_current_livetracking_txt="No Current LiveTracking Sessions",this.Learn_more_about_lt_txt="Learn more about LiveTracking",this.Show_All_txt="Show All",this.US_Imperial_txt="US (Imperial)",this.mhr_txt="mhr",this.Message_txt="Message",this.statusTextOptions={0:"",1:"is paused",2:"has ended",3:"is in recovery",4:"has ended"},this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){p.localize(e.lang)})}return e.prototype.localize=function(e){"es"===e?(this.Stats_txt="Estad\xedsticas",this.Map_txt="Mapa",this.Options_txt="Opciones",this.BPM_txt="BPM",this.RPM_txt="RPM",this.Calories_txt="Calor\xedas",this.Avg_BPM_txt="Promedio BPM",this.Avg_RPM_txt="RPM promedio",this.Avg_Watts_txt="Vatios promedio",this.Avg_Speed_txt="La velocidad promedio",this.Speed_txt="Velocidad",this.Avg_Pace_txt="Ritmo medio",this.Session_has_ended_txt="La sesi\xf3n ha terminado.",this.View_Results_txt="Ver resultados",this.Watts_txt="Vatios",this.Pace_txt="Paso",this.Metric_txt="M\xe9trico",this.Send_LiveCheers_txt="LiveCheers",this.Session_txt="Sesi\xf3n",this.is_paused_txt="est\xe1 en pausa",this.has_ended_txt="ha terminado",this.is_in_recovery_txt="est\xe1 en recuperaci\xf3n",this.No_current_livetracking_txt="No hay sesiones actuales de LiveTracking",this.Learn_more_about_lt_txt="Obtenga m\xe1s informaci\xf3n sobre LiveTracking",this.Show_All_txt="Mostrar todo",this.US_Imperial_txt="EE. UU. (Imperial)",this.mhr_txt="mhr",this.Thumbs_up_txt="Pulgares hacia arriba",this.Liked_txt="Gust\xf3",this.Confetti_txt="Papel picado",this.Applause_txt="Aplausos",this.Dancing_txt="Bailando",this.Cheer_txt="Animar",this.Send_a_custom_message_txt="Enviar un mensaje personalizado",this.Send_txt="Enviar",this.Applause_sent_to_txt="Aplausos enviados a ",this.You_rained_Thumbs_Up_on_txt="Enviaste me gusta a ",this.You_rained_confetti_on_txt="Le arrojaste confeti a ",this.You_cheered_on_txt="Animaste a ",this.sent_to_txt=" enviado a ",this.Message_txt="Mensaje"):"fr"===e?(this.Stats_txt="Statistiques",this.Map_txt="Carte",this.Options_txt="Les options",this.BPM_txt="BPM",this.RPM_txt="RPM",this.Calories_txt="Calories",this.Avg_BPM_txt="BPM moyen",this.Avg_RPM_txt="RPM moyen",this.Avg_Watts_txt="Watts moyens",this.Avg_Speed_txt="Vitesse moyenne",this.Speed_txt="La vitesse",this.Avg_Pace_txt="Allure moyenne",this.Session_has_ended_txt="La session est termin\xe9e.",this.View_Results_txt="Voir les r\xe9sultats",this.Watts_txt="Watts",this.Pace_txt="Rythme",this.Metric_txt="M\xe9trique",this.Send_LiveCheers_txt="LiveCheers",this.Session_txt="Session",this.is_paused_txt="est en pause",this.has_ended_txt="a fini",this.is_in_recovery_txt="est en convalescence",this.No_current_livetracking_txt="Aucune session LiveTracking en cours",this.Learn_more_about_lt_txt="En savoir plus sur LiveTracking",this.Show_All_txt="Afficher tout",this.US_Imperial_txt="\xc9tats-Unis (imp\xe9rial)",this.mhr_txt="mhr",this.Thumbs_up_txt="Pouces vers le haut",this.Liked_txt="Aim\xe9e",this.Confetti_txt="Confettis",this.Applause_txt="Applaudissements",this.Dancing_txt="Dansant",this.Cheer_txt="Acclamation",this.Send_a_custom_message_txt="Envoyer un message personnalis\xe9",this.Send_txt="Envoyer",this.Applause_sent_to_txt="Applaudissements envoy\xe9s \xe0 ",this.You_rained_Thumbs_Up_on_txt="Vous avez envoy\xe9 des likes \xe0 ",this.You_rained_confetti_on_txt="Tu as jet\xe9 des confettis sur ",this.You_cheered_on_txt="Tu as encourag\xe9 ",this.sent_to_txt=" envoy\xe9 \xe0 ",this.Message_txt="Un message"):"it"===e?(this.Stats_txt="Statistiche",this.Map_txt="Carta geografica",this.Options_txt="Opzioni",this.BPM_txt="BPM",this.RPM_txt="RPM",this.Calories_txt="calorie",this.Avg_BPM_txt="BPM medi",this.Avg_RPM_txt="RPM medio",this.Avg_Watts_txt="Watt medi",this.Avg_Speed_txt="Velocit\xe0 media",this.Speed_txt="Velocit\xe0",this.Avg_Pace_txt="Passo medio",this.Session_has_ended_txt="La sessione \xe8 terminata.",this.View_Results_txt="Vedi i risultati",this.Watts_txt="Watts",this.Pace_txt="Ritmo",this.Metric_txt="metrico",this.Send_LiveCheers_txt="LiveCheers",this.Session_txt="Sessione",this.is_paused_txt="\xe8 in pausa",this.has_ended_txt="ha finito",this.is_in_recovery_txt="\xe8 in fase di recupero",this.No_current_livetracking_txt="Nessuna sessione di LiveTracking corrente",this.Learn_more_about_lt_txt="Ulteriori informazioni su LiveTracking",this.Show_All_txt="Mostra tutto",this.US_Imperial_txt="Stati Uniti (imperiale)",this.mhr_txt="mhr",this.Thumbs_up_txt="Pollice su",this.Liked_txt="\xc8 piaciuto",this.Confetti_txt="Coriandoli",this.Applause_txt="Applausi",this.Dancing_txt="danza",this.Cheer_txt="rallegrare",this.Send_a_custom_message_txt="Invia un messaggio personalizzato",this.Send_txt="Spedire",this.Applause_sent_to_txt="Applausi inviati a ",this.You_rained_Thumbs_Up_on_txt="Hai inviato Mi piace a ",this.You_rained_confetti_on_txt="Hai lanciato coriandoli su ",this.You_cheered_on_txt="Hai incoraggiato ",this.sent_to_txt=" inviato a ",this.Message_txt="Messaggio"):"de"===e&&(this.Stats_txt="Statistiken",this.Map_txt="Karte",this.Options_txt="Optionen",this.BPM_txt="BPM",this.RPM_txt="U / min",this.Calories_txt="Kalorien",this.Avg_BPM_txt="i.D. BPM",this.Avg_RPM_txt="i.D. U / min",this.Avg_Watts_txt="i.D. Watt",this.Avg_Speed_txt="i.D. Geschwindigkeit",this.Speed_txt="Geschwindigkeit",this.Avg_Pace_txt="i.D. Tempo",this.Session_has_ended_txt="Sitzung ist beendet.",this.View_Results_txt="Ergebnisse anzeigen",this.Watts_txt="Watt",this.Pace_txt="Tempo",this.Metric_txt="Metrisch",this.Send_LiveCheers_txt="LiveCheers",this.Session_txt="Session",this.is_paused_txt="ist angehalten",this.has_ended_txt="ist beendet",this.is_in_recovery_txt="ist in Genesung",this.No_current_livetracking_txt="Keine aktuellen LiveTracking-Sitzungen",this.Learn_more_about_lt_txt="Erfahren Sie mehr \xfcber LiveTracking",this.Show_All_txt="Zeige alles",this.US_Imperial_txt="US (Imperial)",this.mhr_txt="mhr",this.Thumbs_up_txt="Daumen hoch",this.Liked_txt="Gefallen",this.Confetti_txt="Konfetti",this.Applause_txt="Beifall",this.Dancing_txt="Tanzen",this.Cheer_txt="Jubeln",this.Send_a_custom_message_txt="Senden Sie eine benutzerdefinierte Nachricht",this.Send_txt="Senden",this.Applause_sent_to_txt="Applaus an ",this.You_rained_Thumbs_Up_on_txt="Du hast Likes an geschickt ",this.You_rained_confetti_on_txt="Du hast Konfetti auf ",this.You_cheered_on_txt="Du hast ",this.sent_to_txt=" an ",this.message_suffix_applause_txt=" geschickt",this.message_suffix_thumbs_txt=" geregnet",this.message_suffix_confetti_txt=" geworfen",this.message_suffix_cheer_txt=" angefeuert",this.message_suffix_message_sent_txt=" gesendet",this.Message_txt="Botschaft"),this.statusTextOptions={0:"",1:this.is_paused_txt,2:this.has_ended_txt,3:this.is_in_recovery_txt,4:this.has_ended_txt}},e.prototype.showAll=function(){this.hasHidden=!1;for(var e=0;e<this.ltSessions.length;e++)this.ltSessions[e].hidden=!1},e.prototype.updateShareID=function(e){var t=this;this.livetrackingService.getShareID(e,this.isAnonymous).subscribe(function(n){if(n.response.share_id)for(var i=0;i<t.ltSessions.length;i++)t.ltSessions[i].id==e&&(t.ltSessions[i].shareId=n.response.share_id)})},e.prototype.removeSession=function(e,t){for(var n=this.ltSessionsIds,i=this.ltSessions,r=0;r<this.ltSessionsIds.length;r++)this.ltSessionsIds[r]==e&&n.splice(r,1);if(this.ltSessionsIds=n,t){for(r=0;r<this.ltSessions.length;r++)this.ltSessions[r].id==e&&i.splice(r,1);this.ltSessions=i}},e.prototype.getNewSessions=function(){var e=this;this.newSessionInterval=Object(ql.a)(18e4,18e4).pipe(Object(Zl.a)(function(){return e.livetrackingService.getNewSessions(e.groupId,e.isAnonymous)})).subscribe(function(t){for(var n=0;n<t.response.livetrack_ids.length;n++)e.ltSessionsIds.includes(t.response.livetrack_ids[n])||e.livetrackingService.getSessionMetaData([t.response.livetrack_ids[n]],e.groupId,e.isAnonymous).subscribe(function(t){for(var n=0;n<t.response.livetracking_data.length;n++){for(var i=void 0,r=0;r<e.polylineColors.length;r++)if(0==e.polylineColors[r].in_use){e.polylineColors[r].in_use=!0,i=e.polylineColors[r].color;break}t.response.livetracking_data[n].color=i;var a=new De.c(t.response.livetracking_data[n]);e.ltSessions.push(a),e.ltSessionsIds.push(a.id)}});0==e.ltSessionsIds.length&&(e.noSessions=!0),0==e.running&&e.getSessions(),e.showLoadingOverlay=!1})},e.prototype.getSessions=function(){var e=this;if(this.running=!0,0==this.ltSessionsIds.length){this.noSessions=!0,console.log("Kill interval");try{this.stop()}catch(t){return}}else this.sessionInterval=Object(ql.a)(0,5e3).pipe(Object(Zl.a)(function(){return e.livetrackingService.getSessionData(e.ltSessionsIds,e.groupId,e.isAnonymous)})).subscribe(function(t){if(0==e.ltSessionsIds.length)return e.noSessions=!0,void e.stop();var n=t.response.livetracks;0==t.response.livetracks.length?(e.noSessions=!0,e.stop()):(e.constructSessionData(n),e.drawMap())})},e.prototype.constructSessionData=function(e){for(var t=this,n=0;n<e.length;n++)for(var i=Object.keys(e[n])[0],r=e[n][i],a=function(a){if(o.ltSessions[a].id==i){2===r.status&&null===o.ltSessions[a].shareId&&o.updateShareID(o.ltSessions[a].id),o.ltSessions[a].lastUpdate=r.last_update,o.ltSessions[a].status=r.status,o.ltSessions[a].cheers=r.cheers,o.ltSessions[a].statusText=o.statusTextOptions[o.ltSessions[a].status];var s=_(r.last_update),l=(new Date).getTime()-s.toDate().getTime();if(o.ltSessions[a].lastUpdateAsNumber=Math.round(l/6e4),2==o.ltSessions[a].status){var c=e[n].workout_detail;if(0==Object.keys(c).length)o.ltSessions[a].statusText=o.statusTextOptions[4],o.ltSessions[a].status=4;else{try{o.ltSessions[a].mostRecent.elapsed=c.elapsedSeconds}catch(d){o.ltSessions[a].mostRecent={elapsed:c.elapsedSeconds}}o.ltSessions[a].mostRecent.calories=Math.round(c.calories),o.ltSessions[a].mostRecent.dist=c.gps_distance,o.ltSessions[a].mostRecent.distance_km=Object(B.P)(o.ltSessions[a].mostRecent.dist),o.ltSessions[a].mostRecent.avgPace=c.elapsedSeconds/c.gps_distance,o.ltSessions[a].mostRecent.avgPaceKm=c.elapsedSeconds/o.ltSessions[a].mostRecent.distance_km,o.ltSessions[a].mostRecent.avgSpeed=Object(Te.c)(c.gps_distance,c.elapsedSeconds),o.ltSessions[a].mostRecent.avgSpeedKm=Object(Te.c)(o.ltSessions[a].mostRecent.distance_km,c.elapsedSeconds),o.ltSessions[a].mostRecent.avgWatts=Math.round(c.wattsAvg),o.ltSessions[a].mostRecent.avgRPM=Number((Number(c.totalRPM)/Number(c.readCountRPM)).toFixed()),o.ltSessions[a].mostRecent.avgBPM=Math.round(c.totalBeats/Number(c.readCountBPM)),o.ltSessions[a].mostRecent.bpm=o.ltSessions[a].mostRecent.avgBPM,o.ltSessions[a].mostRecent.zone=o.check_zone(o.ltSessions[a].zones[0],o.ltSessions[a].mostRecent.bpm),o.ltSessions[a].closed=!0,o.ltSessions[a].hasFirstData=!0}}if(o.ltSessions[a].lastUpdateAsNumber>=20&&0==o.ltSessions[a].status)o.ltSessions[a].lastUpdatedText="This session has timed out after 20 minutes",0==o.ltSessions[a].snapshots.length&&0==o.ltSessions[a].ended&&o.livetrackingService.endRogueSession(o.ltSessions[a].id,o.isAnonymous).subscribe(function(e){console.warn("REMOVED STALE SESSION"),t.ltSessions[a].ended=!0,t.removeSession(t.ltSessions[a].id,!0)});else{if(0==r.snapshots.length&&0==o.ltSessions[a].totalSnapshots)return console.warn("REMOVED STALE SESSION"),o.removeSession(o.ltSessions[a].id,!0),"continue";o.ltSessions[a].lastUpdateAsNumber>0&&0==o.ltSessions[a].status&&(o.ltSessions[a].lastUpdatedText="Last reading "+o.ltSessions[a].lastUpdateAsNumber+" minute"+(o.ltSessions[a].lastUpdateAsNumber>1?"s":"")+" ago...")}o.ltSessions[a].lastUpdateAsNumber<1&&(o.ltSessions[a].lastUpdatedText=""),r.snapshots.length>o.ltSessions[a].totalSnapshots&&(o.ltSessions[a].accountId=r.account_id,o.ltSessions[a].profileImageURL=o.ltSessions[a].hasImage?"https://storage.googleapis.com/image_manager/profile_image/"+o.ltSessions[a].accountId+"/"+o.ltSessions[a].profileImage:"https://my.fitdigits.com/api/v2/group_member_photo/"+o.ltSessions[a].accountId,o.ltSessions[a].update(r.snapshots),o.ltSessions[a].mostRecent=r.most_recent,o.ltSessions[a].mostRecent.distance_km=Object(B.P)(o.ltSessions[a].mostRecent.dist),o.ltSessions[a].mostRecent.currKPH=Object(B.P)(o.ltSessions[a].mostRecent.speed),o.ltSessions[a].mostRecent.pace_imperial=Object(B.T)(o.ltSessions[a].mostRecent.speed),o.ltSessions[a].mostRecent.pace_metric=Object(B.T)(Object(B.P)(o.ltSessions[a].mostRecent.speed)),o.ltSessions[a].mostRecent.zone=o.check_zone(o.ltSessions[a].zones[0],o.ltSessions[a].mostRecent.bpm),null!==o.ltSessions[a].powerzones&&(o.ltSessions[a].mostRecent.powerZone=o.check_power_zone(o.ltSessions[a].powerzones[0],o.ltSessions[a].mostRecent.watts)),o.ltSessions[a].mostRecent.mhr=Math.floor(o.ltSessions[a].mostRecent.bpm/o.ltSessions[a].maxHR*100),o.ltSessions[a].powerColor=o.ltSessions[a].hasPower?"#3FAE48":o.ltSessions[a].color,o.ltSessions[a].weather=r.weather)}},o=this,s=0;s<this.ltSessions.length;s++)a(s)},e.prototype.check_power_zone=function(e,t){for(var n={1:"#4597CB",2:"#03A89E",3:"#3FAE48",4:"#FCB424",5:"#F16124",above:"#EE3123",below:"#98BFDE"},i=0;i<e.length;i++)for(var r in e[i]){var a=Object.keys(e[0])[0],o=Object.keys(e[e.length-1])[0];if(t>=e[i][r][0]&&t<=e[i][r][1])return[i+1,r,n[i+1]];if(t>e[e.length-1][o][1])return[null,"Above Max",null];if(t<e[0][a][0])return[null,"Below Min",null]}},e.prototype.check_zone=function(e,t){for(var n={1:"#4597CB",2:"#03A89E",3:"#3FAE48",4:"#FCB424",5:"#F16124",above:"#EE3123",below:"#98BFDE"},i=0;i<e.length;i++)for(var r in e[i]){var a=Object.keys(e[0])[0],o=Object.keys(e[e.length-1])[0];if(t>=e[i][r][0]&&t<=e[i][r][1])return[i+1,r,n[i+1]];if(t>e[e.length-1][o][1])return[null,"Above Max",n.above];if(t<e[0][a][0])return[null,"Below Min",n.below]}},e.prototype.openCheersDialog=function(e,t){this.dialog.open(Qd,{data:t,maxWidth:"100%",maxHeight:"100vh",panelClass:this.isDarkTheme?"dark-theme":"",autoFocus:!1}).afterClosed().subscribe(function(e){})},e.prototype.likeCheer=function(e){console.log(e),this.SocialService.setLike(e.message_key).subscribe(function(e){console.log(e)})},e.prototype.drawMap=function(){this.livetrackingMap.removeAllMarkers();for(var e=[],t=0;t<this.ltSessions.length;t++){var n=this.ltSessions[t].path[this.ltSessions[t].path.length-1];if(n){try{this.livetrackingMap.markPositionCustom(n.lat,n.lng,this.ltSessions[t].profileImageURL,this.ltSessions[t].color)}catch(r){}this.ltSessions[t].ghostSnapshots.length>0&&this.livetrackingMap.addPolyLine(this.ltSessions[t].ghostSnapshots,this.ltSessions[t].color,!0),this.livetrackingMap.addPolyLine(this.ltSessions[t].path,this.ltSessions[t].color),e.push(new google.maps.LatLng(n.lat,n.lng));for(var i=0;i<e.length;i++)this.livetrackingMap.latlngbounds.extend(e[i])}}"((1, 180), (-1, -180))"!==this.livetrackingMap.latlngbounds.toString()&&!0!==this.livetrackingMap.init_center&&(this.livetrackingMap.map.fitBounds(this.livetrackingMap.latlngbounds),this.livetrackingMap.init_center=!0,1===this.ltSessions.length&&(this.zoom=15,this.livetrackingMap.map.setZoom(this.zoom)))},e.prototype.stop=function(){this.running=!1,this.sessionInterval.unsubscribe()},e.prototype.ngOnInit=function(){var e=this;this.groupId=this.route.snapshot.paramMap.get("groupId"),this.livetrackId=this.route.snapshot.paramMap.get("livetrackId"),this.isAnonymous=this.AccountService.isAnonymous,console.log(this.isAnonymous),this.groupId&&(this.isGroupLT=!0),this.isDarkTheme=this.ThemeService.isDarkTheme,this.user=this.AccountService.account,this.livetrackId?(this.ltSessionsIds=[this.livetrackId],this.running=!0,this.showLoadingOverlay=!1,this.initLivetracking()):this.livetrackingService.getNewSessions(this.groupId,this.isAnonymous).subscribe(function(t){e.ltSessionsIds=t.response.livetrack_ids,e.running=!0,e.initLivetracking(),e.showLoadingOverlay=!1,e.getNewSessions()})},e.prototype.initLivetracking=function(){var e=this;this.livetrackingService.getSessionMetaData(this.ltSessionsIds,this.groupId,this.isAnonymous).subscribe(function(t){for(var n=0;n<t.response.livetracking_data.length;n++){for(var i=void 0,r=0;r<e.polylineColors.length;r++)if(0==e.polylineColors[r].in_use){e.polylineColors[r].in_use=!0,i=e.polylineColors[r].color;break}t.response.livetracking_data[n].color=i,e.ltSessions.push(new De.c(t.response.livetracking_data[n]))}e.getSessions(),e.showLoadingOverlay=!1})},e.prototype.confetti=function(e,t){var n=["circle","square","triangle","line"];t&&(n=[t]),new $l({target:e,respawn:!1,start_from_edge:!0,clock:30,max:120,props:n}).render()},e.prototype.sendCustomCheer=function(e){var t=this;this.livetrackingService.sendLivetrackingCheer("speak",Number(e.accountId),this.messageText,e.id).subscribe(function(n){var i=e.name;t.analytics.logEvent("cheers",{accountId:t.AccountService.account.accountId,cheerType:"speak"}),t.snackBar.open(t.messageText+t.sent_to_txt+i+t.message_suffix_message_sent_txt),t.openCustomCheer=!1,t.messageText=""})},e.prototype.replyToCheers=function(e){this.livetrackingService.replyToCheers(e.id,Number(e.accountId),this.cheerReplyText).subscribe(function(e){}),this.cheerReplyText=null},e.prototype.sendCheer=function(e,t,n){var i=this;this.livetrackingService.sendLivetrackingCheer(t,Number(e.accountId),n,e.id).subscribe(function(r){var a=e.name;if(i.analytics.logEvent("cheers",{accountId:i.AccountService.account.accountId,cheerType:t}),i.snackBar.open({applause:i.Applause_sent_to_txt+a+i.message_suffix_applause_txt,emoji:i.You_rained_Thumbs_Up_on_txt+a+i.message_suffix_thumbs_txt+"!",confetti:i.You_rained_confetti_on_txt+a+i.message_suffix_confetti_txt+"!",andy:i.You_cheered_on_txt+a+i.message_suffix_cheer_txt+"!",speak:n+i.sent_to_txt+a+i.message_suffix_message_sent_txt}[t]),"confetti"==t)i.confetti(document.getElementById(e.id));else{var o="";"emoji"==t?o="/static/img/thumbsup_icon.png":"applause"==t?o="/static/img/cheers_icon.png":"andy"==t&&(o="/static/img/andycheers_icon.png"),i.confetti(document.getElementById(e.id),{type:"svg",src:o,size:25,weight:.2})}})},e.prototype.ngAfterViewInit=function(){var e=this;this.livetrackingMap=new De.b(this.ltMapElement.nativeElement,this.isDarkTheme),this.livetrackingMap.map.setZoom(16),this.livetrackingMap.map.setCenter({lat:34.244239,lng:-119.209794});var t=document.createElement("div");Object(De.a)(t,function(){e.livetrackingMap.map.fitBounds(e.livetrackingMap.latlngbounds),e.trackingUser="",1===e.ltSessions.length&&(e.zoom=19,e.livetrackingMap.map.setZoom(e.zoom))}),t.index=1,this.livetrackingMap.map.controls[google.maps.ControlPosition.TOP_RIGHT].push(t)},e.prototype.ngOnDestroy=function(){this.running=!1;try{this.sessionInterval.unsubscribe(),this.newSessionInterval.unsubscribe()}catch(e){}},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](De.d),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](se.a),i["\u0275\u0275directiveInject"](d.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](ee.b),i["\u0275\u0275directiveInject"](Xl.a),i["\u0275\u0275directiveInject"](g.b))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-livetracking"]],viewQuery:function(e,t){var n;1&e&&i["\u0275\u0275viewQuery"](ec,1),2&e&&i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.ltMapElement=n.first)},decls:49,vars:35,consts:[[1,"loading-overlay",3,"hidden"],[3,"ngClass"],["mat-button","",2,"float","right","padding-top","0px","width","100%","background-color","rgba(69,151,203,0.3)",3,"click"],[2,"margin-top","5px","float","left","padding-left","10px"],["class","material-icons primary-color","style","float:right; padding-top:8px;",4,"ngIf"],[2,"clear","both","float","left","margin","5px"],["id","lt_listing",1,"liveMobileList",3,"hidden"],["class","liveStatsContainer","id","group_stats",4,"ngFor","ngForOf"],[1,"show_all_btn_wrap",2,"margin-bottom","10px",3,"hidden"],[1,"btn","btn-sm",2,"background-color","rgba(69,151,203,0.3)",3,"click"],["style","text-align:center;padding: 35px 0px;font-size:16px; float:left; width:100%;text-align: center;",4,"ngIf"],[4,"ngIf"],["mat-button","","style","float:right; padding-top:0px; width:100%; background-color:rgba(69,151,203,0.3);",3,"click",4,"ngIf"],[2,"clear","both"],[3,"hidden",4,"ngIf"],[2,"clear","both","margin","20px"],[1,"optionsPanel",2,"background-color","rgba(69,151,203,0.3)"],["hideToggle",""],[2,"width","100%","text-align","right"],[2,"margin","0px 5px 0px 10px","float","right"],[2,"float","right"],[2,"display","flex","justify-content","space-around"],[2,"display","flex","flex-direction","column",3,"ngModel","ngModelChange"],["value","imperial",1,"example-margin",3,"color"],["value","metric",1,"example-margin",3,"color"],["value","speed",1,"example-margin",3,"color"],["value","pace",1,"example-margin",3,"color"],["routerLink","/livetracking/overview"],["src","/static/img/review/i-info-button.png"],[1,"material-icons","primary-color",2,"float","right","padding-top","8px"],["id","group_stats",1,"liveStatsContainer"],[1,"liveUserContainer",3,"ngStyle","id","hidden"],[2,"position","absolute","text-align","center",3,"id"],["id","group_top_stats",1,"liveUserTop",2,"padding","0"],[1,"liveUserInfoContainer"],[1,"liveUserName"],[2,"display","block","float","left",3,"routerLink"],[1,"livetracking-profile-photo",3,"src"],[1,"liveUserNameLink",3,"ngStyle","click"],["class","liveUserClose",3,"hidden","ngStyle","click",4,"ngIf"],[1,"liveTimeandIcon"],[1,"liveActivityIcon",3,"src"],[1,"liveElapsedTime",3,"ngStyle"],["id","group_mid_stats","class","row liveUserMiddle",4,"ngIf"],[1,"bottom_lt_wrap"],["style","position: relative","class","group_bottom_status lt_hr group_zone_color row liveUserBottom",3,"hidden","click",4,"ngIf"],["class","group_bottom_status lt_hr group_zone_color row liveUserBottom",3,"hidden",4,"ngIf"],["class","group_bottom_status lt_power group_zone_color row liveUserBottom",4,"ngIf"],["class","group_bottom_status lt_power group_zone_color row liveUserBottom",3,"hidden",4,"ngIf"],["style","width:100%; height:300px;",4,"ngIf"],["class","cheersContainer",3,"ngStyle",4,"ngIf"],[3,"hidden"],[1,"cheersTextInput",2,"font-size","16px","position","absolute","height","70px",3,"ngModel","placeholder","ngModelChange"],["mat-stroked-button","",1,"livetracking-send-cheers-button",3,"disabled","click"],["src","/static/img/text_to_speech_cheers_icon.png"],["class","cheersNoticeContainer",3,"ngStyle",4,"ngIf"],["class","liveSessionUpdated",3,"ngStyle",4,"ngIf"],["class","liveSessionStatus",3,"ngStyle",4,"ngIf"],[1,"liveUserClose",3,"hidden","ngStyle","click"],[2,"font-size","14px","float","left"],["id","group_mid_stats",1,"row","liveUserMiddle"],["class","liveMidCol liveWeather",4,"ngIf"],[1,"liveMidCol",3,"hidden"],[1,"liveMidCol"],[1,"liveMidCol","liveWeather"],[1,"liveWeatherImg",3,"src"],["class","liveLabel liveWeatherDegree",4,"ngIf"],[1,"liveLabel","liveWeatherDegree"],["class","liveLabel",4,"ngIf"],[1,"liveLabel"],[1,"group_bottom_status","lt_hr","group_zone_color","row","liveUserBottom",2,"position","relative",3,"hidden","click"],[1,"liveHRCol"],[3,"ngStyle",4,"ngIf"],[1,"liveLabel","liveLabelrev",3,"ngStyle"],["class","liveHRCol",4,"ngIf"],["class","liveHRCol liveHRCol2",4,"ngIf"],[3,"ngStyle"],["src","/static/img/theme/site/workout_type_icons/iCardioWorkout_icon.png",1,"liveHRicon"],[1,"liveHRCol","liveHRCol2"],[1,"group_bottom_status","lt_hr","group_zone_color","row","liveUserBottom",3,"hidden"],[1,"liveLabel",3,"ngStyle"],[1,"group_bottom_status","lt_power","group_zone_color","row","liveUserBottom"],[2,"text-align","center","margin","0 auto","height","100%",3,"hidden"],["src","/static/img/icons/equipmentSensorPowerIcon.png",1,"liveWattsicon"],[1,"group_bottom_status","lt_power","group_zone_color","row","liveUserBottom",3,"hidden"],["class","liveRPMCol","style","margin:auto;float:none;",4,"ngIf"],[1,"liveRPMCol",2,"margin","auto","float","none"],[2,"width","100%","height","300px"],[3,"SessionData","snapshots"],[1,"cheersContainer",3,"ngStyle"],["mat-button","",1,"cheersIconContainer","cheersButtonContainer",3,"click"],[1,"liveCheersText"],["src","/static/img/audio_cheers.png",1,"cheersButton"],["mat-button","",1,"cheersIconContainer",3,"click"],["src","/static/img/andycheers_icon.png",1,"cheersIcon"],["src","/static/img/cheers_icon.png",1,"cheersIcon"],["src","/static/img/party_icon.png",1,"cheersIcon"],["src","/static/img/thumbsup_icon.png",1,"cheersIcon"],[1,"cheersNoticeContainer",3,"ngStyle"],[4,"ngFor","ngForOf"],[1,"cheersNotice"],["class","cheersButton inCheers","style","float:left;",3,"src",4,"ngIf"],[1,"cheersButton","inCheers",2,"float","left",3,"src"],[2,"float","left","word-break","break-word"],["mat-button","","style","float:right;",4,"ngIf"],["mat-button","",2,"float","right"],["src","/static/img/heart-icon.png",1,"cheersButton","inCheers",2,"float","right","filter","saturate(0)",3,"click"],["src","/static/img/heart-icon.png","class","cheersButton inCheers","style","float:right;",3,"click",4,"ngIf"],["src","/static/img/heart-icon.png",1,"cheersButton","inCheers",2,"float","right",3,"click"],[2,"float","left","width","100%","background-color","#4597CB"],["placeholder","Reply to cheerers...",1,"cheersTextInput",2,"font-size","16px",3,"ngModel","ngModelChange"],[1,"liveSessionUpdated",3,"ngStyle"],[1,"liveSessionStatus",3,"ngStyle"],[2,"color","#fff","text-decoration","underline",3,"routerLink"],[2,"text-align","center","padding","35px 0px","font-size","16px","float","left","width","100%","text-align","center"],[2,"font-size","20px","margin-bottom","15px"],["routerLink","/livetracking/overview","target","_blank"],["src","/static/img/review/i-info-button.png",2,"width","20px","margin-bottom","35px"],["src","/static/img/Asset-1livetracking.png",2,"width","75px","opacity",".5","margin","35px"],["mode","indeterminate"],["id","map_canvas",1,"liveMapCanvas",2,"height","400px"],["ltmap",""]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"button",2),i["\u0275\u0275listener"]("click",function(){return t.collapseList=!t.collapseList}),i["\u0275\u0275elementStart"](3,"h3",3),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,tc,2,0,"span",4),i["\u0275\u0275template"](7,nc,2,0,"span",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](8,"div",5),i["\u0275\u0275elementStart"](9,"div",6),i["\u0275\u0275template"](10,Yd,2,1,"div",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",8),i["\u0275\u0275elementStart"](12,"button",9),i["\u0275\u0275listener"]("click",function(){return t.showAll()}),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](15,Wd,8,3,"div",10),i["\u0275\u0275template"](16,Gd,2,0,"div",11),i["\u0275\u0275template"](17,Zd,6,5,"button",12),i["\u0275\u0275element"](18,"div",13),i["\u0275\u0275template"](19,$d,3,1,"div",14),i["\u0275\u0275element"](20,"div",15),i["\u0275\u0275elementStart"](21,"mat-accordion",16),i["\u0275\u0275elementStart"](22,"mat-expansion-panel",17),i["\u0275\u0275elementStart"](23,"mat-expansion-panel-header"),i["\u0275\u0275elementStart"](24,"mat-panel-description"),i["\u0275\u0275text"](25,"\xa0\xa0 "),i["\u0275\u0275elementStart"](26,"div",18),i["\u0275\u0275element"](27,"div",19),i["\u0275\u0275elementStart"](28,"mat-icon",20),i["\u0275\u0275text"](29,"settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"div",21),i["\u0275\u0275elementStart"](31,"mat-radio-group",22),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.distanceType=e}),i["\u0275\u0275elementStart"](32,"mat-radio-button",23),i["\u0275\u0275text"](33),i["\u0275\u0275pipe"](34,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"mat-radio-button",24),i["\u0275\u0275text"](36),i["\u0275\u0275pipe"](37,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"mat-radio-group",22),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.speedType=e}),i["\u0275\u0275elementStart"](39,"mat-radio-button",25),i["\u0275\u0275text"](40),i["\u0275\u0275pipe"](41,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"mat-radio-button",26),i["\u0275\u0275text"](43),i["\u0275\u0275pipe"](44,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"div",21),i["\u0275\u0275elementStart"](46,"a",27),i["\u0275\u0275element"](47,"img",28),i["\u0275\u0275text"](48," LiveTracking"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,23,"ROOT.Stats")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==t.collapseList),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==t.collapseList),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",1==t.collapseList),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t.ltSessions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",0==t.hasHidden),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](14,25,"ROOT.Show All")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.noSessions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.noSessions),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.noSessions),i["\u0275\u0275advance"](12),i["\u0275\u0275property"]("ngModel",t.distanceType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](34,27,"ROOT.US (Imperial)")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](37,29,"ROOT.Metric")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",t.speedType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](41,31,"ROOT.Speed")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](44,33,"ROOT.Pace")))},directives:[y.NgClass,k.b,y.NgIf,y.NgForOf,Wo.a,Wo.c,Wo.f,Wo.e,O.a,kl.b,de.o,de.r,kl.a,S.f,y.NgStyle,de.c,Ql,It.a],pipes:[M.c,B.eb,y.DecimalPipe],styles:[Kd]}),e}(),Qd=function(){function e(e,t,n,i,r,a,o,s,l){var c=this;this.ThemeService=e,this.formBuilder=t,this.livetrackingService=n,this.analytics=i,this.AccountService=r,this.translate=a,this.dialogRef=o,this.data=s,this.snackBar=l,this.isDarkTheme=!1,this.Thumbs_up_txt="Thumbs Up",this.Confetti_txt="Confetti",this.Applause_txt="Applause",this.Dancing_txt="Dancing",this.Cheer_txt="Cheer",this.Send_a_custom_message_txt="Send a custom message",this.Send_txt="Send",this.Applause_sent_to_txt="Applause sent to ",this.You_rained_Thumbs_Up_on_txt="You rained Thumbs Up on ",this.You_rained_confetti_on_txt="You threw confetti on ",this.You_cheered_on_txt="You cheered on ",this.sent_to_txt=" sent to ",this.message_suffix_applause_txt="",this.message_suffix_thumbs_txt="",this.message_suffix_confetti_txt="",this.message_suffix_cheer_txt="",this.message_suffix_message_sent_txt="",this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){c.localize(e.lang)})}return e.prototype.localize=function(e){"es"===e?(this.Thumbs_up_txt="Pulgares hacia arriba",this.Confetti_txt="Papel picado",this.Applause_txt="Aplausos",this.Dancing_txt="Bailando",this.Cheer_txt="Animar",this.Send_a_custom_message_txt="Enviar un mensaje personalizado",this.Send_txt="Enviar",this.Applause_sent_to_txt="Aplausos enviados a ",this.You_rained_Thumbs_Up_on_txt="Lloviste pulgares arriba sobre ",this.You_rained_confetti_on_txt="Le arrojaste confeti a ",this.You_cheered_on_txt="Animaste a ",this.sent_to_txt=" enviado a "):"fr"===e?(this.Thumbs_up_txt="Pouces vers le haut",this.Confetti_txt="Confettis",this.Applause_txt="Applaudissements",this.Dancing_txt="Dansant",this.Cheer_txt="Acclamation",this.Send_a_custom_message_txt="Envoyer un message personnalis\xe9",this.Send_txt="Envoyer",this.Applause_sent_to_txt="Applaudissements envoy\xe9s \xe0 ",this.You_rained_Thumbs_Up_on_txt="Tu as plu pouce lev\xe9 sur ",this.You_rained_confetti_on_txt="Tu as jet\xe9 des confettis sur ",this.You_cheered_on_txt="Tu as encourag\xe9 ",this.sent_to_txt=" envoy\xe9 \xe0 "):"it"===e?(this.Thumbs_up_txt="Pollice su",this.Confetti_txt="Coriandoli",this.Applause_txt="Applausi",this.Dancing_txt="danza",this.Cheer_txt="rallegrare",this.Send_a_custom_message_txt="Invia un messaggio personalizzato",this.Send_txt="Spedire",this.Applause_sent_to_txt="Applausi inviati a ",this.You_rained_Thumbs_Up_on_txt="Hai fatto piovere pollici su ",this.You_rained_confetti_on_txt="Hai lanciato coriandoli su ",this.You_cheered_on_txt="Hai incoraggiato ",this.sent_to_txt=" inviato a "):"de"===e&&(this.Thumbs_up_txt="Daumen hoch",this.Confetti_txt="Konfetti",this.Applause_txt="Beifall",this.Dancing_txt="Tanzen",this.Cheer_txt="Jubeln",this.Send_a_custom_message_txt="Senden Sie eine benutzerdefinierte Nachricht",this.Send_txt="Senden",this.Applause_sent_to_txt="Applaus an ",this.You_rained_Thumbs_Up_on_txt="Du hast Daumen hoch auf ",this.You_rained_confetti_on_txt="Du hast Konfetti auf ",this.You_cheered_on_txt="Du hast ",this.sent_to_txt=" an ",this.message_suffix_applause_txt=" geschickt",this.message_suffix_thumbs_txt=" geregnet",this.message_suffix_confetti_txt=" geworfen",this.message_suffix_cheer_txt=" angefeuert",this.message_suffix_message_sent_txt=" gesendet")},e.prototype.sendCheer=function(e,t){var n=this;this.livetrackingService.sendLivetrackingCheer(e,this.data.accountId,t,this.data.id).subscribe(function(i){var r=n.data.name;n.analytics.logEvent("cheers",{accountId:n.AccountService.account.accountId,cheerType:e}),n.snackBar.open({applause:n.Applause_sent_to_txt+r+n.message_suffix_applause_txt,emoji:n.You_rained_Thumbs_Up_on_txt+r+n.message_suffix_thumbs_txt+"!",confetti:n.You_rained_confetti_on_txt+r+n.message_suffix_confetti_txt+"!",andy:n.You_cheered_on_txt+r+n.message_suffix_cheer_txt+"!",speak:t+n.sent_to_txt+r+n.message_suffix_message_sent_txt}[e]),n.dialogRef.close()})},e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.ngOnInit=function(){this.isDarkTheme=this.ThemeService.isDarkTheme},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](de.d),i["\u0275\u0275directiveInject"](De.d),i["\u0275\u0275directiveInject"](Xl.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](ee.b))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["livetracking-cheer"]],decls:15,vars:9,consts:[[3,"ngClass"],[2,"padding","0px !important","width","100% !important"],["mat-dialog-content","",2,"padding","0px !important","width","100% !important","margin","0px !important"],[1,"cheersChoiceList"],[2,"clear","both"],[1,"cheersCustom",2,"margin","20px 0px"],[1,"cheersToTextContainer"],[1,"cheersTextInput",3,"ngModel","ngModelChange"],["mat-stroked-button","",1,"cheersSend",3,"ngStyle","click"],["src","/static/img/text_to_speech_cheers_icon.png",1,"cheersIcon"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"mat-toolbar",1),i["\u0275\u0275elementStart"](2,"mat-toolbar-row"),i["\u0275\u0275elementStart"](3,"h2"),i["\u0275\u0275text"](4,"Cheer"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",2),i["\u0275\u0275elementStart"](6,"div",3),i["\u0275\u0275element"](7,"div",4),i["\u0275\u0275elementStart"](8,"div",5),i["\u0275\u0275text"](9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",6),i["\u0275\u0275elementStart"](11,"textarea",7),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.messageText=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"button",8),i["\u0275\u0275listener"]("click",function(){return t.sendCheer("speak",t.messageText)}),i["\u0275\u0275text"](13),i["\u0275\u0275element"](14,"img",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](5,Xd,t.isDarkTheme)),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate1"]("",t.Send_a_custom_message_txt,": "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",t.messageText),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](7,ic,1==t.isDarkTheme?"#58585B":"#E2E3E4")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",t.Send_txt," "))},directives:[y.NgClass,C.a,C.c,g.d,de.c,de.o,de.r,k.b,y.NgStyle],styles:[Kd]}),e}();function eu(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",18),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",19),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,1,"ROOT.Set_Goal")))}var tu=function(e){return{"dark-theme":e}};function nu(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",1),i["\u0275\u0275template"](1,eu,5,3,"div",2),i["\u0275\u0275elementStart"](2,"div",3),i["\u0275\u0275elementStart"](3,"div",4),i["\u0275\u0275elementStart"](4,"div",5),i["\u0275\u0275elementStart"](5,"ul",6),i["\u0275\u0275elementStart"](6,"li",7),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showDistanceGoal=!0,e.goalCreate("SIMPLE_DISTANCE_GOAL")}),i["\u0275\u0275elementStart"](7,"h3",8),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showDistanceGoal=!e.showDistanceGoal}),i["\u0275\u0275element"](8,"img",9),i["\u0275\u0275element"](9,"img",10),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li",7),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().goalCreate("SIMPLE_DURATION_GOAL")}),i["\u0275\u0275elementStart"](13,"h3",8),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showDurationGoal=!e.showDurationGoal}),i["\u0275\u0275element"](14,"img",9),i["\u0275\u0275element"](15,"img",11),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li",7),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().goalCreate("SIMPLE_STEPS_GOAL")}),i["\u0275\u0275elementStart"](19,"h3",8),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showStepsGoal=!e.showStepsGoal}),i["\u0275\u0275element"](20,"img",9),i["\u0275\u0275element"](21,"img",12),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li",7),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().goalCreate("SIMPLE_CALORIES_GOAL")}),i["\u0275\u0275elementStart"](25,"h3",8),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showCalorieGoal=!e.showCalorieGoal}),i["\u0275\u0275element"](26,"img",13),i["\u0275\u0275element"](27,"img",14),i["\u0275\u0275text"](28),i["\u0275\u0275pipe"](29,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"li",7),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().goalCreate("SIMPLE_WEIGHT_GOAL")}),i["\u0275\u0275elementStart"](31,"h3",8),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showWeightGoal=!e.showWeightGoal}),i["\u0275\u0275element"](32,"img",9),i["\u0275\u0275element"](33,"img",15),i["\u0275\u0275text"](34),i["\u0275\u0275pipe"](35,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"div",16),i["\u0275\u0275text"](37),i["\u0275\u0275pipe"](38,"translate"),i["\u0275\u0275element"](39,"br"),i["\u0275\u0275text"](40),i["\u0275\u0275pipe"](41,"translate"),i["\u0275\u0275element"](42,"br"),i["\u0275\u0275text"](43),i["\u0275\u0275pipe"](44,"translate"),i["\u0275\u0275element"](45,"br"),i["\u0275\u0275element"](46,"img",17),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](26,tu,r.isDarkTheme)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](11,10,"ROOT.Go the distance")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](17,12,"ROOT.Do the time")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](23,14,"ROOT.Walk the walk")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](29,16,"ROOT.Feel the burn")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](35,18,"ROOT.Seize the size")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](38,20,"ROOT.A dream becomes a goal.")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](41,22,"ROOT.A goal, backed by action over time,")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](44,24,"ROOT.becomes success.")," ")}}function iu(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-toolbar",9),i["\u0275\u0275elementStart"](1,"div",10),i["\u0275\u0275elementStart"](2,"button",11),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().cancel()}),i["\u0275\u0275elementStart"](3,"mat-icon"),i["\u0275\u0275text"](4,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function ru(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \xa0 ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.miles"),""))}function au(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \xa0 ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.kilometers"),""))}function ou(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"div",13),i["\u0275\u0275elementStart"](2,"div",14),i["\u0275\u0275element"](3,"img",15),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",16),i["\u0275\u0275elementStart"](7,"mat-form-field",17),i["\u0275\u0275elementStart"](8,"mat-select",18),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().distanceGoal.activityType=e}),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementStart"](10,"mat-option",19),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"mat-option",20),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"mat-option",21),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"mat-option",22),i["\u0275\u0275text"](20),i["\u0275\u0275pipe"](21,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"mat-option",23),i["\u0275\u0275text"](23),i["\u0275\u0275pipe"](24,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"mat-option",24),i["\u0275\u0275text"](26),i["\u0275\u0275pipe"](27,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"mat-option",25),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"mat-option",26),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"div",16),i["\u0275\u0275elementStart"](35,"label",27),i["\u0275\u0275text"](36),i["\u0275\u0275pipe"](37,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"mat-form-field",28),i["\u0275\u0275elementStart"](39,"input",29),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().distanceGoal.distance=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"label",27),i["\u0275\u0275template"](41,ru,3,3,"span",30),i["\u0275\u0275template"](42,au,3,3,"span",30),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"div",16),i["\u0275\u0275elementStart"](44,"label",27),i["\u0275\u0275text"](45),i["\u0275\u0275pipe"](46,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"mat-form-field",28),i["\u0275\u0275elementStart"](48,"mat-select",31),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().distanceGoal.period=e}),i["\u0275\u0275pipe"](49,"translate"),i["\u0275\u0275elementStart"](50,"mat-option",32),i["\u0275\u0275text"](51),i["\u0275\u0275pipe"](52,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"mat-option",33),i["\u0275\u0275text"](54),i["\u0275\u0275pipe"](55,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"mat-option",34),i["\u0275\u0275text"](57),i["\u0275\u0275pipe"](58,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](59,"mat-option",35),i["\u0275\u0275text"](60),i["\u0275\u0275pipe"](61,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](62,"div",16),i["\u0275\u0275elementStart"](63,"label",36),i["\u0275\u0275text"](64),i["\u0275\u0275pipe"](65,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](66,"br"),i["\u0275\u0275elementStart"](67,"mat-form-field",28),i["\u0275\u0275elementStart"](68,"mat-select",37),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().distanceGoal.source=e}),i["\u0275\u0275elementStart"](69,"mat-option",38),i["\u0275\u0275text"](70),i["\u0275\u0275pipe"](71,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"mat-option",39),i["\u0275\u0275text"](73),i["\u0275\u0275pipe"](74,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,26,"ROOT.My goal is to")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate"]("aria-label",i["\u0275\u0275pipeBind1"](9,28,"ROOT.do any activity")),i["\u0275\u0275property"]("ngModel",r.distanceGoal.activityType),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](12,30,"ROOT.do any activity")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](15,32,"ROOT.run")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](18,34,"ROOT.walk")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](21,36,"ROOT.hike")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](24,38,"ROOT.bike")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](27,40,"ROOT.indoor cycle")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](30,42,"ROOT.cardio")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](33,44,"ROOT.do other activities")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](37,46,"ROOT.for"),"\xa0"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngModel",r.distanceGoal.distance),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","mi"==r.distanceunit),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","mi"!=r.distanceunit),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](46,48,"ROOT.every")),i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate"]("aria-label",i["\u0275\u0275pipeBind1"](49,50,"ROOT.every")),i["\u0275\u0275property"]("ngModel",r.distanceGoal.period),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](52,52,"ROOT.day")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](55,54,"ROOT.week")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](58,56,"ROOT.month")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](61,58,"ROOT.year")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](65,60,"ROOT.measure with")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngModel",r.distanceGoal.source),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](71,62,"ROOT.our activities")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](74,64,"ROOT.preferred activity monitor")," ")}}function su(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"div",13),i["\u0275\u0275elementStart"](2,"div",14),i["\u0275\u0275element"](3,"img",40),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",16),i["\u0275\u0275elementStart"](7,"mat-form-field",17),i["\u0275\u0275elementStart"](8,"mat-select",41),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().durationGoal.activityType=e}),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementStart"](10,"mat-option",19),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"mat-option",20),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"mat-option",21),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"mat-option",22),i["\u0275\u0275text"](20),i["\u0275\u0275pipe"](21,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"mat-option",23),i["\u0275\u0275text"](23),i["\u0275\u0275pipe"](24,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"mat-option",24),i["\u0275\u0275text"](26),i["\u0275\u0275pipe"](27,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"mat-option",25),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"mat-option",26),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"div",16),i["\u0275\u0275elementStart"](35,"label",27),i["\u0275\u0275text"](36),i["\u0275\u0275pipe"](37,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"mat-form-field",28),i["\u0275\u0275elementStart"](39,"input",42),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().durationGoal.duration=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"label",27),i["\u0275\u0275text"](41),i["\u0275\u0275pipe"](42,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"div",16),i["\u0275\u0275elementStart"](44,"label",27),i["\u0275\u0275text"](45),i["\u0275\u0275pipe"](46,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"mat-form-field",28),i["\u0275\u0275elementStart"](48,"mat-select",43),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().durationGoal.period=e}),i["\u0275\u0275pipe"](49,"translate"),i["\u0275\u0275elementStart"](50,"mat-option",32),i["\u0275\u0275text"](51),i["\u0275\u0275pipe"](52,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"mat-option",33),i["\u0275\u0275text"](54),i["\u0275\u0275pipe"](55,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"mat-option",34),i["\u0275\u0275text"](57),i["\u0275\u0275pipe"](58,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](59,"mat-option",35),i["\u0275\u0275text"](60),i["\u0275\u0275pipe"](61,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,21,"ROOT.My goal is to")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate"]("aria-label",i["\u0275\u0275pipeBind1"](9,23,"ROOT.do any activity")),i["\u0275\u0275property"]("ngModel",r.durationGoal.activityType),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](12,25,"ROOT.do any activity")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](15,27,"ROOT.run")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](18,29,"ROOT.walk")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](21,31,"ROOT.hike")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](24,33,"ROOT.bike")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](27,35,"ROOT.indoor cycle")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](30,37,"ROOT.cardio")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](33,39,"ROOT.do other activities")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](37,41,"ROOT.for")," \xa0"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngModel",r.durationGoal.duration),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](42,43,"ROOT.minutes")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](46,45,"ROOT.every")),i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate"]("aria-label",i["\u0275\u0275pipeBind1"](49,47,"ROOT.every")),i["\u0275\u0275property"]("ngModel",r.durationGoal.period),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](52,49,"ROOT.day")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](55,51,"ROOT.week")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](58,53,"ROOT.month")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](61,55,"ROOT.year"))}}function lu(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"div",13),i["\u0275\u0275elementStart"](2,"div",14),i["\u0275\u0275element"](3,"img",44),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",16),i["\u0275\u0275elementStart"](7,"label",27),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"mat-form-field",28),i["\u0275\u0275elementStart"](11,"input",42),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().stepGoal.steps=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"label",27),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div",16),i["\u0275\u0275elementStart"](16,"label",27),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"mat-form-field",28),i["\u0275\u0275elementStart"](20,"mat-select",45),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().stepGoal.period=e}),i["\u0275\u0275pipe"](21,"translate"),i["\u0275\u0275elementStart"](22,"mat-option",32),i["\u0275\u0275text"](23),i["\u0275\u0275pipe"](24,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"mat-option",46),i["\u0275\u0275text"](26),i["\u0275\u0275pipe"](27,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"mat-option",34),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"mat-option",35),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,12,"ROOT.My goal is to")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](9,14,"ROOT.take")," \xa0"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngModel",r.stepGoal.steps),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" \xa0 ",i["\u0275\u0275pipeBind1"](14,16,"ROOT.steps")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](18,18,"ROOT.every")),i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate"]("aria-label",i["\u0275\u0275pipeBind1"](21,20,"ROOT.every")),i["\u0275\u0275property"]("ngModel",r.stepGoal.period)("value",r.goalDuration),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](24,22,"ROOT.day")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](27,24,"ROOT.week")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](30,26,"ROOT.month")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](33,28,"ROOT.year"))}}function cu(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"div",13),i["\u0275\u0275elementStart"](2,"div",14),i["\u0275\u0275element"](3,"img",47),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",16),i["\u0275\u0275elementStart"](7,"mat-form-field",17),i["\u0275\u0275elementStart"](8,"mat-select",48),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().calorieGoal.activityType=e}),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementStart"](10,"mat-option",19),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"mat-option",20),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"mat-option",21),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"mat-option",22),i["\u0275\u0275text"](20),i["\u0275\u0275pipe"](21,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"mat-option",23),i["\u0275\u0275text"](23),i["\u0275\u0275pipe"](24,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"mat-option",24),i["\u0275\u0275text"](26),i["\u0275\u0275pipe"](27,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"mat-option",25),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"mat-option",26),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"div",16),i["\u0275\u0275elementStart"](35,"label",27),i["\u0275\u0275text"](36),i["\u0275\u0275pipe"](37,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"mat-form-field",28),i["\u0275\u0275elementStart"](39,"input",42),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().calorieGoal.calories=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"label",27),i["\u0275\u0275text"](41),i["\u0275\u0275pipe"](42,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"div",16),i["\u0275\u0275elementStart"](44,"label",27),i["\u0275\u0275text"](45),i["\u0275\u0275pipe"](46,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"mat-form-field",28),i["\u0275\u0275elementStart"](48,"mat-select",49),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().calorieGoal.period=e}),i["\u0275\u0275pipe"](49,"translate"),i["\u0275\u0275elementStart"](50,"mat-option",32),i["\u0275\u0275text"](51),i["\u0275\u0275pipe"](52,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"mat-option",33),i["\u0275\u0275text"](54),i["\u0275\u0275pipe"](55,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"mat-option",34),i["\u0275\u0275text"](57),i["\u0275\u0275pipe"](58,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](59,"mat-option",35),i["\u0275\u0275text"](60),i["\u0275\u0275pipe"](61,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](62,"div",16),i["\u0275\u0275elementStart"](63,"label",36),i["\u0275\u0275text"](64),i["\u0275\u0275pipe"](65,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](66,"br"),i["\u0275\u0275elementStart"](67,"mat-form-field",28),i["\u0275\u0275elementStart"](68,"mat-select",50),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().calorieGoal.source=e}),i["\u0275\u0275elementStart"](69,"mat-option",38),i["\u0275\u0275text"](70),i["\u0275\u0275pipe"](71,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"mat-option",39),i["\u0275\u0275text"](73),i["\u0275\u0275pipe"](74,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,25,"ROOT.My goal is to")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate"]("aria-label",i["\u0275\u0275pipeBind1"](9,27,"ROOT.do any activity")),i["\u0275\u0275property"]("ngModel",r.calorieGoal.activityType),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](12,29,"ROOT.do any activity")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](15,31,"ROOT.run")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](18,33,"ROOT.walk")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](21,35,"ROOT.hike")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](24,37,"ROOT.bike")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](27,39,"ROOT.indoor cycle")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](30,41,"ROOT.cardio")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](33,43,"ROOT.do other activities")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](37,45,"ROOT.for")," \xa0"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngModel",r.calorieGoal.calories),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](42,47,"ROOT.calories")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](46,49,"ROOT.every")),i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate"]("aria-label",i["\u0275\u0275pipeBind1"](49,51,"ROOT.every")),i["\u0275\u0275property"]("ngModel",r.calorieGoal.period),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](52,53,"ROOT.day")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](55,55,"ROOT.week")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](58,57,"ROOT.month")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](61,59,"ROOT.year")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](65,61,"ROOT.measure with")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngModel",r.calorieGoal.source),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](71,63,"ROOT.our activities")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](74,65,"ROOT.preferred activity monitor")," ")}}function du(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",63),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275pipe"](3,"date"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Last Entry:")," ",i["\u0275\u0275pipeBind2"](3,4,n.last_entry.date,"short")," ")}}function uu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",64),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("value",n.measure),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate3"](" ",n.lose_gain_txt," ",n.displayMeasure," ",r.metric," ")}}function pu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementStart"](2,"span",65),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.total_loss_gain," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](4,3,n.weightDiff,0)," ",n.metric,"")}}function hu(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"div",13),i["\u0275\u0275elementStart"](2,"div",14),i["\u0275\u0275element"](3,"img",51),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",16),i["\u0275\u0275elementStart"](7,"label",52),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"mat-form-field",53),i["\u0275\u0275elementStart"](11,"input",54),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().weightGoal.targetWeight=e})("change",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.setTargetWeight(e.weightGoal.targetWeight)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"label",52),i["\u0275\u0275text"](13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",16),i["\u0275\u0275elementStart"](15,"label",52),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](18,"div",55),i["\u0275\u0275elementStart"](19,"mat-form-field",28),i["\u0275\u0275elementStart"](20,"input",56),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().weightGoal.startWeight=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"label",27),i["\u0275\u0275text"](22),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](23,du,4,7,"div",57),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"div",16),i["\u0275\u0275elementStart"](25,"label",27),i["\u0275\u0275text"](26),i["\u0275\u0275pipe"](27,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"mat-form-field",28),i["\u0275\u0275elementStart"](29,"mat-select",58),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().selected_weight_option=e})("selectionChange",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.setPeriod(e.selected_weight_option)})("valueChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().weightGoalOptions[0].measure=e}),i["\u0275\u0275template"](30,uu,2,4,"mat-option",59),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"div",16),i["\u0275\u0275elementStart"](32,"label",27),i["\u0275\u0275text"](33),i["\u0275\u0275pipe"](34,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"mat-form-field",28),i["\u0275\u0275elementStart"](36,"mat-select",60),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().weightGoal.period=e})("selectionChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().setPeriod()}),i["\u0275\u0275elementStart"](37,"mat-option",33),i["\u0275\u0275text"](38),i["\u0275\u0275pipe"](39,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"mat-option",34),i["\u0275\u0275text"](41),i["\u0275\u0275pipe"](42,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"mat-option",35),i["\u0275\u0275text"](44),i["\u0275\u0275pipe"](45,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"div",61),i["\u0275\u0275elementStart"](47,"div",62),i["\u0275\u0275text"](48," \xa0 "),i["\u0275\u0275template"](49,pu,5,6,"span",30),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,18,"ROOT.My goal is to")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](9,20,"ROOT.weigh")," \xa0"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngModel",r.weightGoal.targetWeight),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("\xa0",r.metric,""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](17,22,"ROOT.I am currently")," \xa0"),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngModel",r.weightGoal.startWeight),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("\xa0",r.metric,""),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.last_entry),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](27,24,"ROOT.I want to"),"\xa0"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngModel",r.selected_weight_option)("value",r.weightGoalOptions[0].measure),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.weightGoalOptions),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](34,26,"ROOT.every"),"\xa0"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngModel",r.weightGoal.period),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](39,28,"ROOT.week")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](42,30,"ROOT.month")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](45,32,"ROOT.year")),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",r.weightDiff)}}function mu(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",66),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.createGoal(e.goalType)}),i["\u0275\u0275elementStart"](1,"span"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,"ROOT.Create")))}function gu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",67),i["\u0275\u0275element"](1,"img",68),i["\u0275\u0275element"](2,"div",69),i["\u0275\u0275elementStart"](3,"div",70),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](n.error)}}var fu="#weeklyGoalsList[_ngcontent-%COMP%]{margin-top:15px!important;border-bottom:0 solid #000}.goalsListDivider[_ngcontent-%COMP%]{margin-top:25px!important;background-color:#b2b2b2}.goalsFavItem[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:60px;background-position:0;margin-top:10px}.goalTopIcon[_ngcontent-%COMP%]{width:0;visibility:hidden}.goalFavIcon[_ngcontent-%COMP%]{float:none;margin-top:20px;margin-bottom:20px}.goalsDetailRow[_ngcontent-%COMP%]{padding:10px 15px .2em!important;background-color:transparent!important;background-image:url(/static/img/icons/right_arrow_gray.png)!important;background-repeat:no-repeat!important;background-position:100%!important;border:none!important;border-bottom:1px solid #b2b2b2!important}.goalDetailStats[_ngcontent-%COMP%]{border-bottom:1px solid #b2b2b2;padding:25px 25px 0;background-repeat:no-repeat;background-size:100px;background-position:0}.goalDetailProgressDescription[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px}.mainGoaldesc[_ngcontent-%COMP%]{margin:auto;font-size:24px;font-weight:400;padding-top:10px}.goalIconImage[_ngcontent-%COMP%]{margin:auto;text-align:center;max-height:84px;max-width:180px;padding:10px}#goalProgressBar[_ngcontent-%COMP%]{display:inline-block;margin-top:10px}.deleteGoalButton[_ngcontent-%COMP%]{clear:both;margin:auto;text-align:center;padding-top:60px}.goalGraphTitle[_ngcontent-%COMP%]{text-align:center}.myGoalText[_ngcontent-%COMP%]{clear:both;margin-bottom:10px;font-size:24px}.goalIconPopoup[_ngcontent-%COMP%]{width:30px;margin-left:-45px;margin-top:-7px}#goalsPageSetGoalText[_ngcontent-%COMP%]{font-weight:400}.goalslist[_ngcontent-%COMP%]{width:100%;margin-right:0!important;margin-left:0!important}.setGoalList[_ngcontent-%COMP%]{list-style-type:none;padding-inline-start:0;margin-top:30px}#goals_history_graph_canvas[_ngcontent-%COMP%], #goals_progress_graph_canvas[_ngcontent-%COMP%]{width:100%!important;max-height:300px!important}#goals_favorite_graph_canvas[_ngcontent-%COMP%]{width:97%!important;height:300px!important;margin:-15px}#goalsPageMainGoalProgress[_ngcontent-%COMP%]{font-size:18px;padding-bottom:10px}.goalsProgressTimeText[_ngcontent-%COMP%]{font-size:14px;color:#000;padding-bottom:10px}.goalOptions[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:20px!important;font-weight:400!important;color:#000!important}#headerGoalImage[_ngcontent-%COMP%]{max-width:500px;margin:0 auto 10px}.fieldBorder50[_ngcontent-%COMP%]{border:1px solid #999;width:50%}.popupFieldLabel[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:inline;margin-left:5px;font-size:32px}.goalSelectLabel[_ngcontent-%COMP%]{margin-left:5px;font-size:32px;font-weight:400}#goalsPageSetGoal[_ngcontent-%COMP%]{margin:50px auto 30px;width:80%;max-width:640px;padding:17px;border-radius:6px;font-size:20px;font-weight:200;border:1px solid #1e597e;background-color:#4597cb;color:#fff;cursor:pointer;display:block}#goalsPageSetGoal[_ngcontent-%COMP%], .goalsPageSetGoalText[_ngcontent-%COMP%]{text-decoration:none!important;text-align:center}.goalsPageSetGoalText[_ngcontent-%COMP%]{margin:auto;text-shadow:none!important}#newGoalBtn2[_ngcontent-%COMP%]{float:left;padding-right:15px;margin-top:-10px}#goalsPageMaxGoalsReached[_ngcontent-%COMP%]{border-top:0 solid #ccc;padding:40px 20px 20px}.oneHalf[_ngcontent-%COMP%]{width:50%}.createGoalInput[_ngcontent-%COMP%]{color:#4597cb!important;font-size:24px!important;font-weight:400!important;padding:0;width:150px!important;border:none;border-bottom:2px solid #4597cb;float:left;text-align:center;text-transform:lowercase;border-radius:0!important}.borderGrey[_ngcontent-%COMP%]{border:none!important;border-bottom:1px solid #b2b2b2!important}.borderGreyLeft[_ngcontent-%COMP%]{border-left:1px solid #b2b2b2}.createGoalDialog[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;padding:0;text-align:center}.createGoalMDInput[_ngcontent-%COMP%]{border-right:none!important;border-left:none!important;border-top:none!important;text-align:center;color:#4597cb!important;font-weight:400;font-size:18px!important;border-radius:0!important;float:none;text-align:center!important}.mdinputcontainer[_ngcontent-%COMP%]{margin:0!important}.goalInputLabel[_ngcontent-%COMP%]{vertical-align:middle;font-weight:400;margin-bottom:0}.createGoalWizardActivity[_ngcontent-%COMP%]{margin:auto}#createGoalWizardActivity_dummy[_ngcontent-%COMP%], .createGoalWizardActivity[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;font-weight:400;font-size:24px!important;padding:0;width:320px;border-radius:0!important}.goalHeader[_ngcontent-%COMP%]{font-size:32px;padding:10px 0;margin:auto;text-align:center;width:100%}.goalHeaderImage[_ngcontent-%COMP%]{float:left;width:75px;padding-right:20px}.goalDistanceInput[_ngcontent-%COMP%]{border:0 solid #000;min-width:320px;max-width:420px;margin:0 auto 10px}.popupCloseButton[_ngcontent-%COMP%]{font-size:20px;border-radius:0;float:right}.md-toolbar-tools[_ngcontent-%COMP%]{width:100%;float:left}@media (min-width:768px){#createGoalWizardActivity_dummy[_ngcontent-%COMP%]{font-size:32px!important;width:420px}.goalHeaderImage[_ngcontent-%COMP%]{width:150px;height:150px}.goalsListItem[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}}.accordion-section-content[_ngcontent-%COMP%]{display:none}#createGoalWizardSource[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;font-size:18px;font-weight:400;padding:0;border-radius:0!important}#setGoalHeader[_ngcontent-%COMP%]{margin:0 auto}#createGoalWizardWeightGoal_dummy[_ngcontent-%COMP%], #createGoalWizardWeightGoalA_dummy[_ngcontent-%COMP%], #createGoalWizardWeightGoalM_dummy[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;font-size:24px;font-weight:400;padding:0;width:320px!important;margin:auto;border-radius:0!important}.noBorder[_ngcontent-%COMP%]{border:none}.textCenter[_ngcontent-%COMP%]{text-align:center}.greyText[_ngcontent-%COMP%]{color:#999}.setGoalHeaderText[_ngcontent-%COMP%]{font-style:italic;line-height:1.5;text-align:center;margin:25px auto 0;width:95%}.goalEntry[_ngcontent-%COMP%]{margin-bottom:30px}.createGoalButton[_ngcontent-%COMP%], .goalEntry[_ngcontent-%COMP%]{text-align:center;font-size:20px}.createGoalButton[_ngcontent-%COMP%]{border-radius:6px;background-color:#4597cb;color:#fff;cursor:pointer;font-weight:400;text-shadow:none;text-decoration:none!important;clear:both;margin:auto;width:60%;height:60px;border-radius:30px}.goalCreationText[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;float:left;padding-top:0;text-align:right}.weightGoalCreationText[_ngcontent-%COMP%]{float:right;text-align:center;margin:0 auto 40px}.weightGoalCreationMetricText[_ngcontent-%COMP%], .weightGoalCreationText[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;text-transform:lowercase}.sinkLabelGoal[_ngcontent-%COMP%]{margin-top:12px!important}#createGoalWizardWeightLastDateDisplay[_ngcontent-%COMP%]{font-size:10px;margin:-20px 0 0 110px;color:#b2b2b2}.createGoalDifferenceDisplay[_ngcontent-%COMP%]{text-align:center}#createGoalWizardWeightDiffDisplay[_ngcontent-%COMP%]{margin-top:10px;color:#56c056;font-size:40px;font-weight:400;margin-bottom:2px}#createGoalWizardWeightObjectiveDisplay[_ngcontent-%COMP%]{margin:auto;text-align:center}.createWeightGoalDiff[_ngcontent-%COMP%]{margin:0 auto;text-align:center;width:100%}.inputOnlyWeightGoal[_ngcontent-%COMP%]{border:none!important;border-bottom:2px #4597cb!important;color:#4597cb;margin:20px!important;padding:0!important;margin-bottom:0;position:relative;bottom:10px;left:5px;font-size:24px!important;font-weight:400;border-radius:0!important}.myGoalTextContainer[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:0;text-align:center;background-size:0}.goalOptions[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-left:100px;text-align:left;height:82px;padding-top:30px;margin-top:-18px}.goalOptions[_ngcontent-%COMP%]{margin-top:-12px}.goalDetailLink[_ngcontent-%COMP%]{margin-top:0!important;background-color:transparent!important;border:none!important}#setGoalHeader[_ngcontent-%COMP%]{max-width:500px;margin:20px auto 5px}.setGoalHeaderImg[_ngcontent-%COMP%]{width:100%;padding-bottom:20px}.goalSmallIcon[_ngcontent-%COMP%]{margin:-10px 30px 0 20px;width:44px!important;float:left}.calorieGoalIcon[_ngcontent-%COMP%]{width:64px!important;margin:-10px 15px 0 10px}.margin-top-5[_ngcontent-%COMP%]{margin-top:5px}.targetIcon[_ngcontent-%COMP%]{padding:20px}.goalBackBar[_ngcontent-%COMP%]{background-color:#eaebec;width:100%;height:34px;text-align:left}.setGoalHeaderTextMain[_ngcontent-%COMP%]{line-height:1.5;text-align:center;margin:auto;font-size:24px;color:#4597cb;font-family:Helvetica neue,Helvetica,sans-serif!important}#back[_ngcontent-%COMP%]{font-size:20px;width:100%;height:40px;background:#b2b2b2;padding-top:0}li[_ngcontent-%COMP%]{cursor:pointer}a[_ngcontent-%COMP%]:hover{text-decoration:none}.goalCreateImg[_ngcontent-%COMP%]{float:right;margin-right:20px;width:30px}.createButtonFooter[_ngcontent-%COMP%]{clear:both;margin:auto;text-align:center;width:100%;float:left}.goalSelectionPage[_ngcontent-%COMP%]{padding:0!important;max-width:768px;margin:auto}.setGoalListContainer[_ngcontent-%COMP%]{padding:0 0 60px;max-width:768px;margin:auto;clear:both}@media(min-width:769px){.setGoalListContainer[_ngcontent-%COMP%]{margin:0 auto 80px;padding:0;max-width:768px}.goalDetailIcon[_ngcontent-%COMP%]{float:left;margin:-10px auto 10px;width:100%}.goals_progress2[_ngcontent-%COMP%]{float:left;width:45%}.goals_history2[_ngcontent-%COMP%]{float:right;width:45%}}@media(max-width:480px){.myGoalTextContainer[_ngcontent-%COMP%]{padding-top:0;background-position:100% 0;background-repeat:no-repeat;background-size:50px}.mainGoaldesc[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:10px}.createGoalButton[_ngcontent-%COMP%]{width:80%}.goalTopIcon[_ngcontent-%COMP%]{width:50px;visibility:visible;float:right}.goalsListItem[_ngcontent-%COMP%]{background-size:40px}.setGoalListContainer[_ngcontent-%COMP%]{padding:0 5px}.smallGoalText[_ngcontent-%COMP%]{font-size:16px!important}.goalDetailStats[_ngcontent-%COMP%]{background-size:50px;background-position:top;margin-top:10px;clear:both}.goalFavoriteIcon[_ngcontent-%COMP%]{float:right;margin-right:0}.goalFavoriteIcon2[_ngcontent-%COMP%]{visibility:visible;padding:10px 0;margin-top:0}.myGoalText[_ngcontent-%COMP%]{float:none}.smallInputLabel[_ngcontent-%COMP%]{margin-bottom:-60px;margin-top:-60px}.mdinputcontainer[_ngcontent-%COMP%]{width:120px}}.setGoalChoice[_ngcontent-%COMP%]{margin:0 0 20px;border-radius:4px;border-color:#b2b2b2}.setGoalChoice[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{background-color:rgba(226,227,228,.2)}.setGoalHeaderClear[_ngcontent-%COMP%]{clear:both;height:5px}@media (max-width:767px){.setGoalHeaderImg[_ngcontent-%COMP%]{padding-top:0}#createGoalWizardWeightLastDateDisplay[_ngcontent-%COMP%]{margin-top:-25px;text-align:center;margin-bottom:20px}.setGoalHeaderContainer[_ngcontent-%COMP%]{background-size:100px}.setGoalHeaderText[_ngcontent-%COMP%]{background-size:50px;margin-top:20px}}@media (max-width:360px){.setGoalHeaderText[_ngcontent-%COMP%]{background-image:none}.goalSmallIcon[_ngcontent-%COMP%]{margin:-10px 10px 0 6px;width:44px!important}.calorieGoalIcon[_ngcontent-%COMP%]{margin:-15px -5px 0}}@media (max-width:330px){.setGoalHeaderTextMain[_ngcontent-%COMP%]{margin-top:20px}.setGoalHeaderContainer[_ngcontent-%COMP%]{background-image:none}}.goalEveryText[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px;padding-right:10px;text-align:right;float:left}.goalEveryInput[_ngcontent-%COMP%]{padding-top:36px;padding-bottom:20px;padding-left:0;float:left;max-width:200px;border-radius:0!important}.goalMeasureWithText[_ngcontent-%COMP%]{text-align:right;float:left;padding-bottom:0;padding-right:10px;padding-top:15px;font-weight:400}.goalMeasureWithInput[_ngcontent-%COMP%]{text-align:left;float:left;width:200px;padding-top:15px}.goalCancelText[_ngcontent-%COMP%]{float:right;width:160px}.goalTitleText[_ngcontent-%COMP%]{font-weight:400;box-sizing:unset;outline:none!important;margin:0;padding:20px 0 20px 100px}#goalDuration[_ngcontent-%COMP%]{max-width:200px}.weightGoalCreationPeriod[_ngcontent-%COMP%]{width:500px;text-align:center;margin:auto auto 20px}.weightGoalInput[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;padding:0;border-radius:0!important;font-size:24px}.goalSelect[_ngcontent-%COMP%]{margin:30px auto 40px}.mainGoalEntrySection[_ngcontent-%COMP%]{background-color:transparent;width:500px;min-height:370px;margin:auto}.popupErrorAndButtons[_ngcontent-%COMP%]{margin:auto;width:100%;text-align:center;padding-top:10px}.openArrow[_ngcontent-%COMP%]{float:right;padding-right:0}.midGoalText[_ngcontent-%COMP%]{width:40%}@media (max-width:767px){.mainGoalEntrySection[_ngcontent-%COMP%]{background-color:transparent;width:auto;min-height:none}.openArrow[_ngcontent-%COMP%]{padding-right:6px}.goalTitleText[_ngcontent-%COMP%]{padding-left:0;padding-top:20px;text-align:left;margin-left:10px}.midGoalText[_ngcontent-%COMP%]{width:auto;padding-left:20px}.oneHalf[_ngcontent-%COMP%]{width:auto}.goalMeasureWithInput[_ngcontent-%COMP%], .oneHalf[_ngcontent-%COMP%]{padding-left:10px}.weightGoalCreationPeriod[_ngcontent-%COMP%]{width:auto}.weightGoalCurrentText[_ngcontent-%COMP%]{margin-left:0;padding-left:0}.weightGoalCreationText[_ngcontent-%COMP%]{margin-bottom:20px}#createGoalWizardWeightCurrent[_ngcontent-%COMP%]{float:none;text-align:center;margin:auto auto 30px 120px}}@media (max-width:480px){.goalTitleText[_ngcontent-%COMP%]{margin-left:0}}",vu={distance:"SIMPLE_DISTANCE_GOAL",duration:"SIMPLE_DURATION_GOAL",steps:"SIMPLE_STEPS_GOAL",calories:"SIMPLE_CALORIES_GOAL",weight:"SIMPLE_WEIGHT_GOAL"},yu=function(){function e(e,t,n,i,r,a,o,s){var l=this;this.titleService=e,this.ThemeService=t,this.translate=n,this.dialog=i,this.route=r,this.router=a,this.AccountService=o,this.goalService=s,this.goalTypeInput=this.route.snapshot.paramMap.get("goalType"),this.set_a_goal_txt="Set a Goal",this.set_a_goal_quote1="A dream becomes a goal.",this.set_a_goal_quote2="A goal, backed by action over time,",this.set_a_goal_quote3="becomes success.",this.go_the_distance_txt="Go the distance",this.do_the_time_txt="Do the time",this.walk_the_walk_txt="Walk the walk",this.feel_the_burn_txt="Feel the burn",this.seize_the_size_txt="Seize the size",this.set_unlimited_goals_and_txt="Set unlimited goals and rock them all with a",this.pro_plus_or_star_membership_txt="Pro Plus or Star membership!",this.isDarkTheme=!1,this.showDistanceGoal=!1,this.showDurationGoal=!1,this.showStepsGoal=!1,this.showCalorieGoal=!1,this.showWeightGoal=!1,this.isMobileEmbedded=!1,this.newSetGoal=!1,this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){l.localize(e.lang)})}return e.prototype.ngOnInit=function(){this.isMobileEmbedded=this.ThemeService.isMobileEmbedded,this.isDarkTheme=this.ThemeService.isDarkTheme;var e=vu[this.goalTypeInput];null!=e&&(this.newSetGoal=!0,this.goalCreate(e))},e.prototype.localize=function(e){"es"===e&&(this.set_a_goal_txt="Pon una meta",this.set_a_goal_quote1="Un sue\xf1o se convierte en un objetivo.",this.set_a_goal_quote2="Un objetivo, respaldado por la acci\xf3n a lo",this.set_a_goal_quote3="largo del tiempo, se convierte en \xe9xito.",this.go_the_distance_txt="Ve la distancia",this.do_the_time_txt="Hacer el tiempo",this.walk_the_walk_txt="Recorrer el camino",this.feel_the_burn_txt="Siente la quemadura",this.seize_the_size_txt="Aprovecha el tama\xf1o",this.set_unlimited_goals_and_txt="\xa1Establezca metas ilimitadas y agr\xe9guelas con",this.pro_plus_or_star_membership_txt="una membres\xeda Pro Plus o Star!"),"fr"===e&&(this.set_a_goal_txt="D\xe9finir un objectif",this.set_a_goal_quote1="Un r\xeave devient un objectif.",this.set_a_goal_quote2="Un objectif, soutenu par l'action au fil du temps,",this.set_a_goal_quote3="devient le succ\xe8s.",this.go_the_distance_txt="Aller la distance",this.do_the_time_txt="Faire le temps",this.walk_the_walk_txt="Marcher la marche",this.feel_the_burn_txt="Sentir la br\xfblure",this.seize_the_size_txt="Saisir le poids",this.set_unlimited_goals_and_txt="Fixer des objectifs illimit\xe9s et les basculer tous avec un",this.pro_plus_or_star_membership_txt="abonnement Pro Plus ou Star!"),"it"===e&&(this.set_a_goal_txt="Stabilire un obiettivo",this.set_a_goal_quote1="Un sogno diventa un obiettivo.",this.set_a_goal_quote2="Un obiettivo, sostenuto dall'azione nel tempo,",this.set_a_goal_quote3="diventa successo.",this.go_the_distance_txt="Andare lontano",this.do_the_time_txt="Fai il tempo",this.walk_the_walk_txt="Cammina la passeggiata",this.feel_the_burn_txt="Sentire il bruciore",this.seize_the_size_txt="Cogli il peso",this.set_unlimited_goals_and_txt="Stabilisci obiettivi illimitati e scatenali tutti con un",this.pro_plus_or_star_membership_txt="abbonamento Pro Plus o Star!"),"de"===e&&(this.set_a_goal_txt="Ein Ziel setzen",this.set_a_goal_quote1="Ein Traum wird zum Ziel.",this.set_a_goal_quote2="Ein Ziel, unterst\xfctzt durch Ma\xdfnahmen im Laufe der Zeit",this.set_a_goal_quote3="wird Erfolg.",this.go_the_distance_txt="Die Strecke gehen",this.do_the_time_txt="Mach die Zeit",this.walk_the_walk_txt="Laufe den Lauf",this.feel_the_burn_txt="Die Hitze sp\xfcren",this.seize_the_size_txt="Ergreifen Sie das Gewicht",this.set_unlimited_goals_and_txt="Setze unbegrenzte Ziele und rocke sie alle mit einer",this.pro_plus_or_star_membership_txt="Pro Plus oder Star Mitgliedschaft!")},e.prototype.goalCreate=function(e){var t=this;this.dialog.open(bu,{panelClass:this.isDarkTheme?"dark-theme":"",data:e,maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(e){console.log("closed"),t.newSetGoal?t.router.navigate(["/goals",e],{queryParams:{embed:t.isMobileEmbedded,newSetGoal:t.newSetGoal}}):e&&t.router.navigate(["/goals",e])})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](o.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-set-goal"]],decls:1,vars:1,consts:[[3,"ngClass",4,"ngIf"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[1,"sectionStructure"],[1,"goalSelectionPage"],[1,"setGoalListContainer"],[1,"setGoalList"],[1,"setGoalChoice",3,"click"],[1,"goalTitleText",3,"click"],["src","/static/img/greenplusbutton2.png",1,"goalCreateImg"],["src","/static/img/icons/squareDistanceIcon.png",1,"icon64","goalSmallIcon"],["src","/static/img/icons/squareDurationIcon.png",1,"icon64","goalSmallIcon"],["src","/static/img/icons/squareStepsIcon.png",1,"icon64","goalSmallIcon"],["src","/static/img/greenplusbutton2.png",1,"goalCreateImg","margin-top-5"],["src","/static/img/icons/squareCaloriesIcon.png",1,"icon64","calorieGoalIcon"],["src","/static/img/icons/squareWeightIcon.png",1,"icon64","goalSmallIcon"],[1,"setGoalHeaderText"],["src","/static/img/target-goal-sm.png",1,"targetIcon"],[1,"main-menu-section-heading"],[1,"title"]],template:function(e,t){1&e&&i["\u0275\u0275template"](0,nu,47,28,"div",0),2&e&&i["\u0275\u0275property"]("ngIf",!t.newSetGoal)},directives:[y.NgIf,y.NgClass],pipes:[M.c],styles:[fu]}),e}(),bu=function(){function e(e,t,n,i,r,a,o,s,l,c){var d=this;this.dialogRef=e,this.goalService=t,this.accountService=n,this.route=i,this.router=r,this.lbsToKg=a,this.window=o,this.goalType=s,this.translate=l,this.ThemeService=c,this.do_any_activity_txt="do any activity",this.last_entry_txt="Last Entry:",this.go_txt="Go more than",this.favorite_goal_txt="Favorite Goal",this.daily_goals_txt="Daily goals",this.weekly_goals_txt="Weekly goals",this.monthly_goals_txt="Monthly goals",this.annual_goals_txt="Yearly goals",this.exercise_more_than_txt="Exercise more than",this.complete_txt="complete",this.my_goal_is_to_txt="My goal is to",this.my_goals_txt="MY GOAL",this.run_txt="run",this.walk_txt="walk",this.hike_txt="hike",this.bike_txt="bike",this.indoor_cycle_txt="Spinning",this.do_cardio_txt="cardio",this.do_other_activities_txt="do other activities",this.to_weigh_txt="weigh",this.im_currently_txt="I am currently",this.my_txt="my",this.is_to="is to",this.lose_txt="lose",this.gain_txt="gain",this.per_txt="per",this.daily_goal_txt="daily goal",this.weekly_goal_txt="weekly goal",this.monthly_goal_txt="monthly goal",this.yearly_goal_txt="yearly goal",this.measure_with_txt="measure with",this.fitdigits_activities_txt="Fitdigits Activities",this.take_txt="take",this.steps_txt="steps",this.for_txt="for",this.every_txt="every",this.minutes_txt="minutes",this.day_txt="day",this.week_txt="week",this.month_txt="month",this.year_txt="year",this.create_button="Create",this.preferred_activity_monitor_txt="preferred activity monitor",this.Cancel_txt="Cancel",this.miles_txt="miles",this.kilometers_txt="kilometers",this.distanceunit="mi",this.go_the_distance_txt="Go the distance",this.set_a_goal_txt="Set a Goal",this.set_a_goal_quote1="A dream becomes a goal.",this.set_a_goal_quote2="A goal, backed by action over time,",this.set_a_goal_quote3="becomes success.",this.do_the_time_txt="Do the time",this.walk_the_walk_txt="Walk the walk",this.feel_the_burn_txt="Feel the burn",this.seize_the_size_txt="Seize the size",this.set_unlimited_goals_and_txt="Set unlimited goals and rock them all with a",this.pro_plus_or_star_membership_txt="Pro Plus or Star membership!",this.I_want_to_txt="I want to",this.for_a_total_loss_of="for a total loss of",this.for_a_total_gain_of="for a total gain of",this.calories_txt="calories",this.error_no_goal_measure_txt="Error: Please enter your goal measure",this.error_goal_greater_than_0_txt="Error: Your goal measure must be greater than 0",this.error_no_goal_period_txt="Error: Period is not specified",this.error_no_current_weight_txt="Error: Please enter your current weight",this.error_no_target_weight_txt="Error: Please enter your target weight",this.error_goal_already_reached_txt="Error: You have already reached your goal",this.lbs=0,this.isLbs=!1,this.metric="lbs",this.distanceGoal={goalType:"SIMPLE_DISTANCE_GOAL",language:this.translate.currentLang,activityType:"ALL",period:"DAILY",source:"WORKOUT",name:"Simple Distance Goal",distance:""},this.durationGoal={goalType:"SIMPLE_DURATION_GOAL",language:this.translate.currentLang,activityType:"ALL",period:"DAILY",name:"Simple Duration Goal",duration:""},this.stepGoal={goalType:"SIMPLE_STEPS_GOAL",language:this.translate.currentLang,period:"DAILY",name:"Simple Steps Goal",steps:""},this.calorieGoal={goalType:"SIMPLE_CALORIES_GOAL",language:this.translate.currentLang,activityType:"ALL",period:"DAILY",source:"WORKOUT",name:"Simple Calories Goal",calories:""},this.weightGoal={goalType:"SIMPLE_WEIGHT_GOAL",period:"WEEKLY",language:this.translate.currentLang,name:"Simple Weight Goal",targetWeight:0,startWeight:0,period_target_weight_change:""},this.weightGoalOptions=[{measure:this.isLbs?"0.5":"0.25",displayMeasure:this.isLbs?"1/2":"1/4",lose_gain_txt:this.lose_txt,dur_txt:this.week_txt},{measure:this.isLbs?"1":"0.5",displayMeasure:this.isLbs?"1":"1/2",lose_gain_txt:this.lose_txt,dur_txt:this.week_txt},{measure:this.isLbs?"2":"1",displayMeasure:this.isLbs?"2":"1",lose_gain_txt:this.lose_txt,dur_txt:this.week_txt}],this.showDistanceGoal=!1,this.showDurationGoal=!1,this.showStepsGoal=!1,this.showCalorieGoal=!1,this.showWeightGoal=!1,this.selected_weight_option=this.weightGoalOptions[0].measure,this.isDarkTheme=!1,this.isMobileEmbedded=!1,this.setMetric(),this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){d.localize(e.lang)})}return e.prototype.ngOnInit=function(){this.isDarkTheme=this.ThemeService.isDarkTheme,this.isMobileEmbedded=this.ThemeService.isMobileEmbedded,this.setGoalType(),this.setMetric(),this.newSetGoal=!1,null!=this.goalType&&(this.newSetGoal=!0),"SIMPLE_WEIGHT_GOAL"==this.goalType&&(this.setLastWeightEntry(),this.setWeightGoalOptions());var e=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});this.isweeklygoal="true"==e.get("isweeklygoal"),this.ismonthlygoal="true"==e.get("ismonthlygoal"),this.isweeklygoal?this.goalDuration="WEEKLY":this.ismonthlygoal&&(this.goalDuration="MONTHLY")},e.prototype.localize=function(e){"es"===e&&(this.set_a_goal_txt="Pon una meta",this.set_a_goal_quote1="Un sue\xf1o se convierte en un objetivo.",this.set_a_goal_quote2="Un objetivo, respaldado por la acci\xf3n a lo",this.set_a_goal_quote3="largo del tiempo, se convierte en \xe9xito.",this.go_the_distance_txt="Ve la distancia",this.do_the_time_txt="Hacer el tiempo",this.walk_the_walk_txt="Recorrer el camino",this.feel_the_burn_txt="Siente la quemadura",this.seize_the_size_txt="Aprovecha el tama\xf1o",this.set_unlimited_goals_and_txt="\xa1Establezca metas ilimitadas y agr\xe9guelas con",this.pro_plus_or_star_membership_txt="una membres\xeda Pro Plus o Star!",this.do_any_activity_txt="hacer cualquier actividad",this.last_entry_txt="\xdaltima entrada",this.go_txt="Ir m\xe1s de",this.favorite_goal_txt="Meta favorita",this.daily_goals_txt="Objetivos diarios",this.weekly_goals_txt="Objetivos semanals",this.monthly_goals_txt="Objetivos mensuales",this.annual_goals_txt="Objetivos anuales",this.exercise_more_than_txt="Haga ejercicio m\xe1s de",this.complete_txt="completa",this.my_goal_is_to_txt="Mi meta es",this.my_goals_txt="MI META",this.run_txt="correr",this.walk_txt="caminar",this.hike_txt="senderismo",this.bike_txt="bicicleta",this.indoor_cycle_txt="Spinning",this.do_cardio_txt="cardio",this.do_other_activities_txt="otro",this.to_weigh_txt="pesar",this.im_currently_txt="Actualmente estoy",this.my_txt="mi",this.is_to="es",this.lose_txt="perder",this.gain_txt="ganar",this.per_txt="por",this.daily_goal_txt="objetivo diario",this.weekly_goal_txt="objetivo semanal",this.monthly_goal_txt="objetivo mensual",this.yearly_goal_txt="objetivo anual",this.measure_with_txt="medir con actividades",this.fitdigits_activities_txt="de Fitdigits",this.take_txt="toma",this.steps_txt="pasos",this.for_txt="por",this.miles_txt="millas",this.kilometers_txt="kil\xf3metros",this.every_txt="al",this.minutes_txt="minutos",this.day_txt="d\xeda",this.week_txt="semana",this.month_txt="mes",this.year_txt="a\xf1o",this.create_button="Crear",this.preferred_activity_monitor_txt="monitor de actividad preferida",this.Cancel_txt="Cancelar",this.miles_txt="millas",this.kilometers_txt="kilometros",this.for_a_total_loss_of="para una p\xe9rdida total de",this.for_a_total_gain_of="para una ganancia total de",this.calories_txt="calor\xedas",this.error_no_goal_measure_txt="Error: Por favor ingresa la medida de tu meta",this.error_goal_greater_than_0_txt="Error: su medida de objetivo debe ser mayor que 0",this.error_no_goal_period_txt="Error: el per\xedodo no est\xe1 especificado",this.error_no_current_weight_txt="Error: ingrese su peso actual",this.error_no_target_weight_txt="Error: ingrese su peso objetivo",this.error_goal_already_reached_txt="Error: ya has alcanzado tu objetivo"),"fr"===e&&(this.set_a_goal_txt="D\xe9finir un objectif",this.set_a_goal_quote1="Un r\xeave devient un objectif.",this.set_a_goal_quote2="Un objectif, soutenu par l'action au fil du temps,",this.set_a_goal_quote3="devient le succ\xe8s.",this.go_the_distance_txt="Aller la distance",this.do_the_time_txt="Faire le temps",this.walk_the_walk_txt="Marcher la marche",this.feel_the_burn_txt="Sentir la br\xfblure",this.seize_the_size_txt="Saisir le poids",this.set_unlimited_goals_and_txt="Fixer des objectifs illimit\xe9s et les basculer tous avec un",this.pro_plus_or_star_membership_txt="abonnement Pro Plus ou Star!",this.do_any_activity_txt="faire une activit\xe9",this.last_entry_txt="Derni\xe8re entr\xe9e:",this.go_txt="Aller plus que",this.favorite_goal_txt="Objectif pr\xe9f\xe9r\xe9",this.daily_goals_txt="Objectifs quotidiens",this.weekly_goals_txt="Objectifs hebdomadaires",this.monthly_goals_txt="Objectifs mensuels",this.annual_goals_txt="Objectifs annuels",this.exercise_more_than_txt="Exercer plus que",this.complete_txt="Achev\xe9e",this.my_goal_is_to_txt="Mon but est de",this.my_goals_txt="MON BUT",this.run_txt="courir",this.walk_txt="marche",this.hike_txt="une randonn\xe9e",this.bike_txt="bicyclette",this.indoor_cycle_txt="Spinning",this.do_cardio_txt="cardio",this.do_other_activities_txt="faire d'autres activit\xe9s",this.to_weigh_txt="peser",this.im_currently_txt="Je suis en train de",this.my_txt="mon",this.is_to="est de",this.lose_txt="perdre",this.gain_txt="gain",this.per_txt="par",this.daily_goal_txt="objectif quotidien",this.weekly_goal_txt="objectif hebdomadaire",this.monthly_goal_txt="objectif mensuel",this.yearly_goal_txt="objectif annuel",this.measure_with_txt="mesurer avec",this.fitdigits_activities_txt="Fitdigits Activit\xe9s",this.take_txt="faire",this.steps_txt="pas",this.for_txt="pendant",this.every_txt="toutes",this.minutes_txt="minutes",this.day_txt="les jours",this.week_txt="les semaines",this.month_txt="mois",this.year_txt="ann\xe9e",this.create_button="Cr\xe9er",this.preferred_activity_monitor_txt="moniteur d'activit\xe9 pr\xe9f\xe9r\xe9",this.Cancel_txt="Annuler",this.miles_txt="milles",this.kilometers_txt="kilom\xe8tres",this.for_a_total_loss_of="pour une perte totale de",this.for_a_total_gain_of="pour un gain total de",this.calories_txt="les calories",this.error_no_goal_measure_txt="Erreur: S'il vous pla\xeet entrer votre mesure objectif",this.error_goal_greater_than_0_txt="Erreur: Votre objectif doit \xeatre sup\xe9rieur \xe0 0",this.error_no_goal_period_txt="Erreur: la p\xe9riode n'est pas sp\xe9cifi\xe9e",this.error_no_current_weight_txt="Erreur: Veuillez entrer votre poids actuel",this.error_no_target_weight_txt="Erreur: Veuillez entrer votre poids cible",this.error_goal_already_reached_txt="Erreur: vous avez d\xe9j\xe0 atteint votre objectif"),"it"===e&&(this.set_a_goal_txt="Stabilire un obiettivo",this.set_a_goal_quote1="Un sogno diventa un obiettivo.",this.set_a_goal_quote2="Un obiettivo, sostenuto dall'azione nel tempo,",this.set_a_goal_quote3="diventa successo.",this.go_the_distance_txt="Andare lontano",this.do_the_time_txt="Fai il tempo",this.walk_the_walk_txt="Cammina la passeggiata",this.feel_the_burn_txt="Sentire il bruciore",this.seize_the_size_txt="Cogli il peso",this.set_unlimited_goals_and_txt="Stabilisci obiettivi illimitati e scatenali tutti con un",this.pro_plus_or_star_membership_txt="abbonamento Pro Plus o Star!",this.do_any_activity_txt="fare qualsiasi attivit\xe0",this.last_entry_txt="Ultima entrata:",this.go_txt="Vai pi\xf9 di",this.favorite_goal_txt="Obiettivo preferito",this.daily_goals_txt="Obiettivi giornalieri",this.weekly_goals_txt="Obiettivi settimanali",this.monthly_goals_txt="Obiettivi mensili",this.annual_goals_txt="Obiettivi annuali",this.exercise_more_than_txt="Esercitare pi\xf9 di",this.complete_txt="completare",this.my_goal_is_to_txt="Il mio obiettivo \xe8 quello di",this.my_goals_txt="IL MIO OBIETTIVO",this.run_txt="correre",this.walk_txt="camminare",this.hike_txt="escursione",this.bike_txt="bicicletta",this.indoor_cycle_txt="Spinning",this.do_cardio_txt="cardio",this.do_other_activities_txt="fare altre attivit\xe0",this.to_weigh_txt="pesare",this.im_currently_txt="Al momento sono",this.my_txt="mio",this.is_to="\xe8 a",this.lose_txt="perdere",this.gain_txt="guadagno",this.per_txt="per",this.daily_goal_txt="obiettivo quotidiano",this.weekly_goal_txt="obiettivo settimanale",this.monthly_goal_txt="obiettivo mensile",this.yearly_goal_txt="obiettivo annuale",this.measure_with_txt="misurare con",this.fitdigits_activities_txt="Fitdigits Activities",this.take_txt="fare",this.steps_txt="passi",this.for_txt="per",this.every_txt="ogni",this.minutes_txt="minuti",this.day_txt="giorno",this.week_txt="settimana",this.month_txt="mese",this.year_txt="anno",this.create_button="Creare",this.preferred_activity_monitor_txt="monitor delle attivit\xe0 preferite",this.Cancel_txt="Annulla",this.miles_txt="miglia",this.kilometers_txt="chilometri",this.for_a_total_loss_of="per una perdita totale di",this.for_a_total_gain_of="per un guadagno totale di",this.calories_txt="calorie",this.error_no_goal_measure_txt="Errore: inserisci la misura dell'obiettivo",this.error_goal_greater_than_0_txt="Errore: la misura dell'obiettivo deve essere maggiore di 0",this.error_no_goal_period_txt="Errore: il periodo non \xe8 specificato",this.error_no_current_weight_txt="Errore: inserire il peso attuale",this.error_no_target_weight_txt="Errore: inserire il peso target",this.error_goal_already_reached_txt="Errore: hai gi\xe0 raggiunto il tuo obiettivo"),"de"===e&&(this.set_a_goal_txt="Ein Ziel setzen",this.set_a_goal_quote1="Ein Traum wird zum Ziel.",this.set_a_goal_quote2="Ein Ziel, unterst\xfctzt durch Ma\xdfnahmen im Laufe der Zeit",this.set_a_goal_quote3="wird Erfolg.",this.go_the_distance_txt="Die Strecke gehen",this.do_the_time_txt="Mach die Zeit",this.walk_the_walk_txt="Laufe den Lauf",this.feel_the_burn_txt="Die Hitze sp\xfcren",this.seize_the_size_txt="Ergreifen Sie das Gewicht",this.set_unlimited_goals_and_txt="Setze unbegrenzte Ziele und rocke sie alle mit einer",this.pro_plus_or_star_membership_txt="Pro Plus oder Star Mitgliedschaft!",this.do_any_activity_txt="mache irgendeine Aktivit\xe4t",this.last_entry_txt="Letzter Eintrag:",this.go_txt="Gehe mehr als",this.favorite_goal_txt="Lieblingsziel",this.daily_goals_txt="T\xe4gliche Ziele",this.weekly_goals_txt="Wochenziele",this.monthly_goals_txt="Monatliche Ziele",this.annual_goals_txt="Jahresziele",this.exercise_more_than_txt="Trainiere mehr als",this.complete_txt="Komplett",this.my_goal_is_to_txt="Mein Ziel ist es",this.my_goals_txt="MEIN ZIEL",this.run_txt="Lauf",this.walk_txt="gehen",this.hike_txt="Wanderung",this.bike_txt="Fahrrad",this.indoor_cycle_txt="Spinning",this.do_cardio_txt="Kardio",this.do_other_activities_txt="andere Aktivit\xe4ten machen",this.to_weigh_txt="wiegen",this.im_currently_txt="Momentan bin ich",this.my_txt="meine",this.is_to="ist zu",this.lose_txt="verlieren",this.gain_txt="gewinnen",this.per_txt="pro",this.daily_goal_txt="tagesziel",this.weekly_goal_txt="wochenziel",this.monthly_goal_txt="monatliches ziel",this.yearly_goal_txt="j\xe4hrliches ziel",this.measure_with_txt="messen mit",this.fitdigits_activities_txt="Fitdigits Aktivit\xe4ten",this.take_txt="nimm",this.steps_txt="schritte",this.for_txt="f\xfcr",this.every_txt="jede",this.minutes_txt="minuten",this.day_txt="Tag",this.week_txt="Woche",this.month_txt="Monat",this.year_txt="Jahr",this.create_button="Erstellen",this.preferred_activity_monitor_txt="bevorzugter Aktivit\xe4tsmonitor",this.Cancel_txt="Stornieren",this.miles_txt="Meilen",this.kilometers_txt="Kilometer",this.for_a_total_loss_of="f\xfcr einen Gesamtverlust von",this.for_a_total_gain_of="f\xfcr einen Gesamtgewinn von",this.calories_txt="Kalorien",this.error_no_goal_measure_txt="Fehler: Bitte geben Sie Ihr Zielma\xdf ein",this.error_goal_greater_than_0_txt="Fehler: Ihr Zielma\xdf muss gr\xf6\xdfer als 0 sein",this.error_no_goal_period_txt="Fehler: Zeitraum ist nicht angegeben",this.error_no_current_weight_txt="Fehler: Bitte geben Sie Ihr aktuelles Gewicht ein",this.error_no_target_weight_txt="Fehler: Bitte geben Sie Ihr Zielgewicht ein",this.error_goal_already_reached_txt="Fehler: Sie haben Ihr Ziel bereits erreicht")},e.prototype.createGoal=function(){var e=this,t=this.goalFromType();this.goalService.createGoal(t).subscribe(function(n){if(n.response.error)e.error=e.translate.instant("ERROR."+n.response.error.code);else{console.log(t.period);var i=void 0;try{i=n.response.goal.goalID}catch(r){i=n.response.goalID}e.newSetGoal&&(e.dialogRef.close(i),e.router.navigate(["/goals",i],{queryParams:{embed:e.isMobileEmbedded}})),e.dialogRef.close(i)}})},e.prototype.goalFromType=function(){return"SIMPLE_DISTANCE_GOAL"==this.goalType?this.distanceGoal:"SIMPLE_DURATION_GOAL"==this.goalType?this.durationGoal:"SIMPLE_STEPS_GOAL"==this.goalType?this.stepGoal:"SIMPLE_CALORIES_GOAL"==this.goalType?this.calorieGoal:"SIMPLE_WEIGHT_GOAL"==this.goalType?this.weightGoal:void 0},e.prototype.setMetric=function(){this.unitOfMeasure=this.accountService.account.unitOfMeasure,void 0===this.unitOfMeasure||"us"===this.unitOfMeasure.toLowerCase()?(this.metric="lbs",this.isLbs=!0):(this.metric="kgs",this.isLbs=!1)},e.prototype.setLastWeightEntry=function(){var e=this;this.goalService.getLastWeightEntry().subscribe(function(t){e.last_entry=t.response.lastWeightEntry,e.isLbs?(e.weightGoal.startWeight=Number(e.last_entry.measures.weight),e.weightGoal.targetWeight=Number(e.last_entry.measures.weight)):(e.weightGoal.startWeight=Number(e.lbsToKg.transform(e.last_entry.measures.weight)),e.weightGoal.targetWeight=Number(e.lbsToKg.transform(e.last_entry.measures.weight)))})},e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.setGoalType=function(){"SIMPLE_DISTANCE_GOAL"==this.goalType?this.showDistanceGoal=!0:"SIMPLE_DURATION_GOAL"==this.goalType?this.showDurationGoal=!0:"SIMPLE_STEPS_GOAL"==this.goalType?this.showStepsGoal=!0:"SIMPLE_CALORIES_GOAL"==this.goalType?this.showCalorieGoal=!0:"SIMPLE_WEIGHT_GOAL"==this.goalType&&(this.showWeightGoal=!0)},e.prototype.setTargetWeight=function(e){this.weightDiff=Number(this.weightGoal.targetWeight)-Number(this.weightGoal.startWeight),this.setWeightGoalOptions(),"number"!=typeof this.weightDiff&&(this.weightDiff=!1)},e.prototype.setStartWeight=function(e){this.weightDiff=Number(this.weightGoal.targetWeight)-Number(this.weightGoal.startWeight),this.setWeightGoalOptions(),"number"!=typeof this.weightDiff&&(this.weightDiff=!1)},e.prototype.setPeriod=function(e){this.setWeightGoalOptions(e)},e.prototype.setWeightGoalOptions=function(e){this.weightDiff>0?this.optionsForPeriod(!0):(0==this.weightDiff&&(this.total_loss_gain=""),this.optionsForPeriod(!1)),this.setDurationText();var t=0;e&&(t=e),this.selected_weight_option=this.weightGoalOptions[t].measure,this.weightGoal.period_target_weight_change=this.weightGoalOptions[t].measure},e.prototype.optionsForPeriod=function(e){switch(this.weightGoal.period){case"WEEKLY":this.setWeekWeightOptions(e);break;case"MONTHLY":this.setMonthWeightOptions(e);break;case"ANNUAL":this.setAnnualWeightOptions(e)}},e.prototype.setWeekWeightOptions=function(e){this.weightGoalOptions=[{measure:e?this.isLbs?"0.5":"0.25":this.isLbs?"-0.5":"-0.25",displayMeasure:this.isLbs?"1/2":"1/4",lose_gain_txt:e?this.gain_txt:this.lose_txt,dur_txt:this.week_txt},{measure:e?this.isLbs?"1":"0.5":this.isLbs?"-1":"-0.5",displayMeasure:this.isLbs?"1":"1/2",lose_gain_txt:e?this.gain_txt:this.lose_txt,dur_txt:this.week_txt},{measure:e?this.isLbs?"2":"1":this.isLbs?"-2":"-1",displayMeasure:this.isLbs?"2":"1",lose_gain_txt:e?this.gain_txt:this.lose_txt,dur_txt:this.week_txt}]},e.prototype.setMonthWeightOptions=function(e){this.setMonthMeasures(e),this.setGainLoseTxt(e?this.gain_txt:this.lose_txt)},e.prototype.setAnnualWeightOptions=function(e){this.weightGoalOptions=[{measure:this.isLbs?"5":"2",displayMeasure:this.isLbs?"5":"1",lose_gain_txt:e?this.gain_txt:this.lose_txt,dur_txt:this.year_txt},{measure:this.isLbs?"10":"5",displayMeasure:this.isLbs?"10":"1",lose_gain_txt:e?this.gain_txt:this.lose_txt,dur_txt:this.year_txt},{measure:this.isLbs?"20":"10",displayMeasure:this.isLbs?"20":"1",lose_gain_txt:e?this.gain_txt:this.lose_txt,dur_txt:this.year_txt},{measure:this.isLbs?"30":"15",displayMeasure:this.isLbs?"30":"1",lose_gain_txt:e?this.gain_txt:this.lose_txt,dur_txt:this.year_txt},{measure:this.isLbs?"40":"20",displayMeasure:this.isLbs?"40":"1",lose_gain_txt:e?this.gain_txt:this.lose_txt,dur_txt:this.year_txt},{measure:this.isLbs?"50":"25",displayMeasure:this.isLbs?"50":"1",lose_gain_txt:e?this.gain_txt:this.lose_txt,dur_txt:this.year_txt}]},e.prototype.setDurationText=function(){switch(this.weightGoal.period){case"WEEKLY":this.setAllDurations(this.week_txt);break;case"MONTHLY":this.setAllDurations(this.month_txt);break;case"ANNUAL":this.setAllDurations(this.year_txt)}},e.prototype.setGainLoseTxt=function(e){for(var t=0;t<this.weightGoalOptions.length;t++)this.weightGoalOptions[t].lose_gain_txt=e},e.prototype.setAllDurations=function(e){for(var t=0;t<this.weightGoalOptions.length;t++)this.weightGoalOptions[t].dur_txt=e},e.prototype.setMonthMeasures=function(e){for(var t=0;t<this.weightGoalOptions.length;t++)this.weightGoalOptions[t].measure=e?this.isLbs?this.getImperialMonthMeasure(t):this.getMetricMonthMeasure(t):this.isLbs?this.getImperialMonthMeasureLoss(t):this.getMetricMonthMeasureLoss(t),this.weightGoalOptions[t].displayMeasure=this.isLbs?this.getImperialMonthMeasureDisplay(t):this.getMetricMonthMeasureDisplay(t)},e.prototype.getImperialMonthMeasure=function(e){return["1","2.5","5","10","15","20"][e]},e.prototype.getImperialMonthMeasureLoss=function(e){return["-1","-2.5","-5","-10","-15","-20"][e]},e.prototype.getImperialMonthMeasureDisplay=function(e){return["1","2 1/2","5","10","15","20"][e]},e.prototype.getMetricMonthMeasure=function(e){return["1","2","3","4","5","6","7","8","9","10"][e]},e.prototype.getMetricMonthMeasureLoss=function(e){return["-1","-2","-3","-4","-5","-6","-7","-8","-9","-10"][e]},e.prototype.getMetricMonthMeasureDisplay=function(e){return["1","2","3","4","5","6","7","8","9","10"][e]},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](o.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](B.H),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["create-goal"]],decls:13,vars:14,consts:[[3,"ngClass"],[2,"height","100vh"],["class","mat-primary",4,"ngIf"],[2,"width","100vw","max-height","90vh",3,"ngClass"],["class","mainGoalEntrySection",4,"ngIf"],[1,"createButtonFooter"],["mat-stroked-button","","class","createGoalButton",3,"click",4,"ngIf"],["layout","row"],["class","popupErrorAndButtons","style","clear:both;",4,"ngIf"],[1,"mat-primary"],[1,"md-toolbar-tools"],["mat-icon-button","",1,"popupCloseButton",3,"click"],[1,"mainGoalEntrySection"],["data-role","content",1,"goalSelectionPage"],[1,"goalHeader"],["src","/static/img/icons/squareDistanceIcon.png",1,"goalIconPopoup"],[1,"createGoalDialog"],["flex-gt-sm","",1,"md-block"],["name","distanceGoal.activityType",1,"createGoalMDInput",3,"ngModel","aria-label","ngModelChange"],["value","ALL","selected","selected"],["value","RUN"],["value","WALK"],["value","HIKE"],["value","BIKE"],["value","SPIN"],["value","CARDIO"],["value","OTHER"],[1,"goalInputLabel"],["flex-gt-sm","",1,"mdinputcontainer"],["matInput","","name","createGoalWizardTarget","required","","type","number","min","1",1,"createGoalMDInput",2,"width","160px",3,"ngModel","ngModelChange"],[4,"ngIf"],["name","distanceGoal.period",1,"createGoalMDInput",3,"ngModel","aria-label","ngModelChange"],["value","DAILY"],["value","WEEKLY","selected","selected"],["value","MONTHLY"],["value","ANNUAL"],[1,"goalInputLabel","smallInputLabel","smallGoalText"],["name","distanceGoal.source","aria-label","Source of data",1,"createGoalMDInput","smallGoalText",3,"ngModel","ngModelChange"],["value","WORKOUT","selected","selected"],["value","ACTIVITY_MONITOR","id","createGoalWizardSourceMonitorName"],["src","/static/img/icons/squareDurationIcon.png",1,"goalIconPopoup"],["name","durationGoal.activityType",1,"createGoalMDInput",3,"ngModel","aria-label","ngModelChange"],["matInput","","required","","type","number","step","any","name","createGoalWizardTarget","min","1",1,"createGoalMDInput",2,"width","160px",3,"ngModel","ngModelChange"],["name","durationGoal.period",1,"createGoalMDInput",3,"ngModel","aria-label","ngModelChange"],["src","/static/img/icons/squareStepsIcon.png",1,"goalIconPopoup"],["name","goalDuration",1,"createGoalMDInput",3,"ngModel","aria-label","value","ngModelChange"],["value","WEEKLY"],["src","/static/img/icons/squareCaloriesIcon.png",1,"goalIconPopoup"],["name","calorieGoal.activityType",1,"createGoalMDInput",3,"ngModel","aria-label","ngModelChange"],["name","calorieGoal.period",1,"createGoalMDInput",3,"ngModel","aria-label","ngModelChange"],["name","calorieGoal.source",1,"createGoalMDInput","smallGoalText",3,"ngModel","ngModelChange"],["src","/static/img/icons/squareWeightIcon.png",1,"goalIconPopoup"],[1,"goalInputLabel",2,"margin-top","0px"],["flex-gt-sm","",1,"mdinputcontainer",2,"width","120px"],["matInput","","required","","type","number","step","any","name","createGoalWizardTarget","min","60",1,"createGoalMDInput",3,"ngModel","ngModelChange","change"],[1,"clear:both;"],["matInput","","required","","type","number","step","any","name","createGoalWizardTarget","min","60",1,"createGoalMDInput",2,"width","120px",3,"ngModel","ngModelChange"],["id","createGoalWizardWeightLastDateDisplay","class","popupFieldNotes",4,"ngIf"],["name","weightGoalOptions",1,"createGoalMDInput",3,"ngModel","value","ngModelChange","selectionChange","valueChange"],["selected","weightGoalOptions[0]","class","weightGoalOption weightGoalLoseOption",3,"value",4,"ngFor","ngForOf"],["name","weightGoal.period",1,"createGoalMDInput",3,"ngModel","ngModelChange","selectionChange"],[1,"createGoalDifferenceDisplay"],[1,"createWeightGoalDiff","goalCreationText",2,"border","none !Important"],["id","createGoalWizardWeightLastDateDisplay",1,"popupFieldNotes"],["selected","weightGoalOptions[0]",1,"weightGoalOption","weightGoalLoseOption",3,"value"],[2,"color","#56C056"],["mat-stroked-button","",1,"createGoalButton",3,"click"],[1,"popupErrorAndButtons",2,"clear","both"],["src","/static/img/icons/erroricon_sm.png"],[1,"popupError"],[1,"popupErrorText","popupError"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"form",1),i["\u0275\u0275template"](2,iu,5,0,"mat-toolbar",2),i["\u0275\u0275elementStart"](3,"mat-dialog-content",3),i["\u0275\u0275template"](4,ou,75,66,"div",4),i["\u0275\u0275template"](5,su,62,57,"div",4),i["\u0275\u0275template"](6,lu,34,30,"div",4),i["\u0275\u0275template"](7,cu,75,67,"div",4),i["\u0275\u0275template"](8,hu,50,34,"div",4),i["\u0275\u0275elementStart"](9,"div",5),i["\u0275\u0275template"](10,mu,4,3,"button",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"mat-dialog-actions",7),i["\u0275\u0275template"](12,gu,5,1,"div",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](10,tu,t.isDarkTheme)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](12,tu,t.isDarkTheme)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==t.showDistanceGoal),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==t.showDurationGoal),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==t.showStepsGoal),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==t.showCalorieGoal),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==t.showWeightGoal),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.goalType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.error))},directives:[y.NgClass,de.z,de.p,de.q,y.NgIf,g.d,g.c,C.a,k.b,O.a,fe.c,Ae.a,de.o,de.r,m.o,be.b,de.t,de.c,de.w,y.NgForOf],pipes:[M.c,y.DatePipe,y.DecimalPipe],styles:[fu]}),e}(),xu=n("RwQA");function _u(e,t){1&e&&i["\u0275\u0275element"](0,"mat-progress-bar",6)}function wu(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",19),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).favorite()}),i["\u0275\u0275element"](1,"img",20),i["\u0275\u0275elementEnd"]()}}function Su(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",21),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate3"](" ",n.goal.currentStreak," ",n.range," ",i["\u0275\u0275pipeBind1"](2,3,"ROOT.streak")," ")}}function Cu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementStart"](5,"p",23),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"br"),i["\u0275\u0275element"](8,"img",24),i["\u0275\u0275element"](9,"img",24),i["\u0275\u0275element"](10,"img",24),i["\u0275\u0275element"](11,"br"),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"date"),i["\u0275\u0275pipe"](14,"date"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](2,5,"ROOT.Best")," ",i["\u0275\u0275pipeBind1"](3,7,"ROOT.streak")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](n.goal.bestStreak),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](13,9,n.goal.bestStreakStart,"shortDate")," - ",i["\u0275\u0275pipeBind2"](14,12,n.goal.bestStreakEnd,"shortDate")," ")}}function ku(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.goal.goalHistoryProgressDescription," ")}}function Ou(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",7),i["\u0275\u0275elementStart"](1,"div",8),i["\u0275\u0275template"](2,wu,2,0,"button",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",10),i["\u0275\u0275elementStart"](4,"div",11),i["\u0275\u0275element"](5,"div",12),i["\u0275\u0275element"](6,"highcharts-chart",13),i["\u0275\u0275element"](7,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](8,Su,3,5,"div",14),i["\u0275\u0275template"](9,Cu,15,15,"div",15),i["\u0275\u0275elementStart"](10,"div",16),i["\u0275\u0275element"](11,"div",17),i["\u0275\u0275element"](12,"highcharts-chart",13),i["\u0275\u0275element"](13,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,ku,2,1,"div",18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.goal.isFavoriteGoal),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("Highcharts",n.Highcharts)("options",n.goalProgressOptions),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.goal.currentStreak>0&&n.PermissionsService.starAccess),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.goal.bestStreak>0&&n.PermissionsService.starAccess),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("Highcharts",n.Highcharts)("options",n.goalHistoryOptions),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","en"==n.language)}}function Eu(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1,"GOAL DELETED"),i["\u0275\u0275elementEnd"]())}function Mu(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",26),i["\u0275\u0275elementStart"](1,"button",27),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().deleteGoal()}),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"uppercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",28),i["\u0275\u0275elementStart"](6,"div"),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,2,i["\u0275\u0275pipeBind1"](4,4,"ROOT.Delete"))," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,6,"ROOT.Goal deleted")))}var Iu=function(){function e(e,t,n,i,r,a,o,s,l){var c=this;this.titleService=e,this.goalService=t,this.window=n,this.ThemeService=i,this.PermissionsService=r,this.route=a,this.dialog=o,this.router=s,this.translate=l,this.newSetGoal=!1,this.showGoalRemoved=!1,this.listingLoading=!1,this.showLoadingOverlay=!0,this.goalID=this.route.snapshot.paramMap.get("goalId"),this.Highcharts=re,this.detailView=!1,this.time_to_get_going_txt="Time to get going!",this.only_txt="Only",this.left_to_go_txt="left to go!",this.day_txt="day",this.week_txt="week",this.month_txt="month",this.year_txt="year",this.per_day_txt="per day",this.per_week_txt="per week",this.per_month_txt="per month",this.per_year_txt="per year",this.for_this_txt="for this",this.for_txt="for",this.of_txt="of",this.complete_txt="complete",this.progress_txt="PROGRESS",this.history_txt="HISTORY",this.pct_txt="pct",this.gain_txt="Gain",this.loss_txt="Lose",this.delete_txt="Delete",this.minutes_complete_txt="minutes complete",this.calories_burned_txt="calories burned",this.steps_taken_txt="steps taken",this.floors_climbed_txt="floors climbed",this.active_days_complete_txt="active days complete",this.activities_complete_txt="activities complete",this.miles_txt="miles",this.kilometers_txt="kilometers",this.delete_goal_txt="Delete Goal",this.remove_this_goal_txt="Remove this goal?",this.my_goal_txt="My Goal",this.yes_txt="Yes",this.cancel_txt="Cancel",this.Are_you_sure_delete_txt="Are you sure you want to delete this goal?",this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){c.localize(e.lang)})}return e.prototype.localize=function(e){"es"===e&&(this.time_to_get_going_txt="\xa1Es hora de ponerse en marcha!",this.only_txt="\xa1Solo quedan",this.left_to_go_txt=" para el final!",this.day_txt="d\xeda",this.week_txt="semana",this.month_txt="mes",this.year_txt="a\xf1o",this.per_day_txt="por d\xeda",this.per_week_txt="por semana",this.per_month_txt="por mes",this.per_year_txt="por a\xf1o",this.for_this_txt="para esta",this.for_txt="para esta",this.of_txt="de",this.complete_txt="completa",this.progress_txt="PROGRESO",this.history_txt="HISTORIA",this.pct_txt="pct",this.gain_txt="Ganar",this.loss_txt="Perder",this.delete_txt="Borrar",this.minutes_complete_txt="minutos completos",this.calories_burned_txt="calor\xedas quemadas",this.steps_taken_txt="pasos tomados",this.floors_climbed_txt="pisos escalados",this.active_days_complete_txt="d\xedas activos completos",this.activities_complete_txt="actividades completas",this.miles_txt="millas",this.kilometers_txt="kilometros",this.delete_goal_txt="Eliminar objetivo",this.remove_this_goal_txt="Eliminar este objetivo?",this.my_goal_txt="Mi Meta",this.yes_txt="S\xed",this.cancel_txt="Cancelar"),"fr"===e&&(this.time_to_get_going_txt="Il est temps d'y aller!",this.only_txt="Il ne reste que",this.left_to_go_txt="\xe0 partir!",this.day_txt="les jours",this.week_txt="les semaines",this.month_txt="mois",this.year_txt="ann\xe9e",this.per_day_txt="par jour",this.per_week_txt="pour semaine",this.per_month_txt="par mois",this.per_year_txt="par an",this.for_this_txt="pour cela",this.for_txt="pour",this.of_txt="de",this.complete_txt="complet",this.progress_txt="PROGR\xc8S",this.history_txt="HISTOIRE",this.pct_txt="pour cent",this.gain_txt="Gain",this.loss_txt="Perdre",this.delete_txt="Effacer",this.minutes_complete_txt="minutes compl\xe8tes",this.calories_burned_txt="calories br\xfbl\xe9es",this.steps_taken_txt="mesures prises",this.floors_climbed_txt="\xe9tages mont\xe9s",this.active_days_complete_txt="journ\xe9es actives termin\xe9es",this.activities_complete_txt="activit\xe9s termin\xe9es",this.miles_txt="milles",this.kilometers_txt="kilom\xe8tres",this.delete_goal_txt="Supprimer l'objectif",this.remove_this_goal_txt="Supprimer cet objectif?",this.my_goal_txt="Mon But",this.yes_txt="Oui",this.cancel_txt="Annuler"),"it"===e&&(this.time_to_get_going_txt="\xc8 ora di andare!",this.only_txt="Solo",this.left_to_go_txt="andare!",this.day_txt="giorno",this.week_txt="settimana",this.month_txt="mese",this.year_txt="anno",this.per_day_txt="al giorno",this.per_week_txt="a settimana",this.per_month_txt="al mese",this.per_year_txt="all'anno",this.for_this_txt="per questo",this.for_txt="per",this.of_txt="di",this.complete_txt="completo",this.progress_txt="PROGRESS",this.history_txt="STORIA",this.pct_txt="per cento",this.gain_txt="Guadagno",this.loss_txt="Perdere",this.delete_txt="Elimina",this.minutes_complete_txt="minuti completi",this.calories_burned_txt="calorie bruciate",this.steps_taken_txt="passi compiuti",this.floors_climbed_txt="i pavimenti sono saliti",this.active_days_complete_txt="giorni attivi completi",this.activities_complete_txt="attivit\xe0 complete",this.miles_txt="miglia",this.kilometers_txt="chilometri",this.delete_goal_txt="Elimina obiettivo",this.remove_this_goal_txt="Rimuovi questo obiettivo?",this.my_goal_txt="Il Mio Obiettivo",this.yes_txt="S\xec",this.cancel_txt="Annulla"),"de"===e&&(this.time_to_get_going_txt="Zeit zu gehen!",this.only_txt="Nur",this.left_to_go_txt="zu gehen!",this.day_txt="Tag",this.week_txt="Woche",this.month_txt="Monat",this.year_txt="Jahr",this.per_day_txt="pro Tag",this.per_week_txt="pro Woche",this.per_month_txt="pro Monat",this.per_year_txt="pro Jahr",this.for_this_txt="daf\xfcr",this.for_txt="f\xfcr",this.of_txt="von",this.complete_txt="komplett",this.progress_txt="PROGRESS",this.history_txt="GESCHICHTE",this.pct_txt="Prozent",this.gain_txt="Gewinnen",this.loss_txt="Verlieren",this.delete_txt="L\xf6schen",this.minutes_complete_txt="minuten abgeschlossen",this.calories_burned_txt="kalorien verbrannt",this.steps_taken_txt="schritte genommen",this.floors_climbed_txt="stockwerke geklettert",this.active_days_complete_txt="aktive Tage abgeschlossen",this.activities_complete_txt="aktivit\xe4ten abgeschlossen",this.miles_txt="Meilen",this.kilometers_txt="Kilometer",this.delete_goal_txt="Ziel l\xf6schen",this.my_goal_txt="Mein Ziel",this.remove_this_goal_txt="Dieses Ziel entfernen?",this.yes_txt="Ja",this.cancel_txt="Stornieren")},e.prototype.deleteGoal=function(){var e=this;this.dialog.open(Pu,{data:this.goal.goalID,maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(t){!0===t&&(e.goalInput&&!e.newSetGoal?e.goalService.updateFavoriteGoalSubject.next(!0):e.newSetGoal?e.showGoalRemoved=!0:e.router.navigate(["/goals"]))})},e.prototype.favorite=function(){var e=this;this.goal.isFavoriteGoal=!0,this.goalService.favoriteGoal(this.goalID).subscribe(function(t){e.goalService.updateFavoriteGoalSubject.next(e.goalID)})},e.prototype.goToListing=function(){this.router.navigate(["/goals"])},e.prototype.constructPage=function(){this.goal.goalHistoryArray.reverse(),this.goal.isDailyGoal?this.range=this.day_txt:this.goal.isWeeklyGoal?this.range=this.week_txt:this.goal.isMonthlyGoal?this.range=this.month_txt:this.goal.isYearlyGoal&&(this.range=this.year_txt);var e=252*this.goal.score;this.progressBarWidth=e>5?e:5,this.goalPercentageComplete=100*this.goal.score;var t,n=this.goal.isDistanceGoal()?1:0,i=Number(this.goal.evalVal).toFixed(n);void 0!==this.goal.evalInstruction.activityMeasure?t=Number(this.goal.evalInstruction.activityMeasure).toFixed(n):void 0!==this.goal.evalInstruction.fitnessMeasure?t=Number(this.goal.evalInstruction.fitnessMeasure).toFixed(n):void 0!==this.goal.evalInstruction.minValue&&(t=Number(this.goal.evalInstruction.minValue).toFixed(n));var r=Number(t)-Number(i),a=r<=0;if(this.goalProgressDisplayData=Object(B.l)(i)+" "+this.of_txt+" "+Object(B.l)(t),this.goalRemainingDisplay=a?"":this.goalPercentageComplete<25?this.time_to_get_going_txt:this.only_txt+" "+Object(B.l)(r)+" "+this.left_to_go_txt,this.goal.isWeightGoal()){var o=this.goal.goalProgressData,s=Number(o.weight_change_to_go).toFixed(1),l=Number(this.goal.evalInstruction.periodTargetValue),c=l>0?this.gain_txt:this.loss_txt,d=(Number(this.goal.evalInstruction.targetValue),this.goal.units);a=(r=Number(o.weight_change_to_go).toFixed(1))<=0,this.goalProgressDisplayData=c+" "+Math.abs(l)+" "+d,this.goalRemainingDisplay=a?"":s+" "+d+" "+this.left_to_go_txt}this.goal.isDistanceGoal()?this.goalProgressDisplayMessage=" "+("KM"==this.goal.units?this.kilometers_txt:this.miles_txt):this.goal.isDurationGoal()?this.goalProgressDisplayMessage=" "+this.minutes_complete_txt:this.goal.isCalorieGoal()?this.goalProgressDisplayMessage=" "+this.calories_burned_txt:this.goal.isStepsGoal()?this.goalProgressDisplayMessage=" "+this.steps_taken_txt:this.goal.isFloorsGoal()?this.goalProgressDisplayMessage=" "+this.floors_climbed_txt:this.goal.isDaysGoal()?this.goalProgressDisplayMessage=" "+this.active_days_complete_txt:this.goal.isActivityCountGoal()&&(this.goalProgressDisplayMessage=" "+this.activities_complete_txt),this.goal.isYearlyGoal?this.goalProgressTimeText=this.per_year_txt:this.goal.isMonthlyGoal?this.goalProgressTimeText=this.per_month_txt:this.goal.isWeeklyGoal?this.goalProgressTimeText=this.per_week_txt:this.goal.isDailyGoal&&(this.goalProgressTimeText=this.per_day_txt)},e.prototype.ngOnInit=function(){var e=this;"true"==new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""}).get("newSetGoal")&&(this.newSetGoal=!0),this.goalID||(this.showLoadingOverlay=!1,this.listingLoading=!0,this.goalID=this.goalInput),this.route.snapshot.paramMap.get("goalId")&&(this.detailView=!0,console.log("In the Detail")),this.language=this.translate.currentLang,this.goalService.getGoalDetails(this.goalID,this.group).subscribe(function(t){e.showLoadingOverlay=!1,e.listingLoading=!1,e.goal=new xu.a(t.response.goal,null,e.translate),e.constructPage(),e.goalProgressOptions=e.goal.generateProgressChart();var n=20;e.ThemeService.isMobileEmbedded&&(n=12),e.goalHistoryOptions=e.goal.generateHistoryChart(n)})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](o.a),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](M.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-goal-detail"]],inputs:{goalInput:"goalInput",group:"group"},decls:6,vars:5,consts:[["mode","indeterminate",4,"ngIf"],[1,"loading-overlay",3,"hidden"],["class","goalDetailOverview",4,"ngIf"],[2,"clear","both","margin","20px"],[4,"ngIf"],["class","deleteGoalButton",4,"ngIf"],["mode","indeterminate"],[1,"goalDetailOverview"],[2,"position","absolute","right","0"],["class","goalFavIconOff","mat-button","",3,"click",4,"ngIf"],["id","goalDetail"],["id","goals_progress",1,"goals_progress2"],["id","goals_progress_overlay",2,"z-index","10","width","100%","float","left"],[2,"float","left","width","100%","height","200px",3,"Highcharts","options"],["style","text-align: center;font-size: 20px;",4,"ngIf"],["style","text-align: center;font-size: 20px; margin:20px 0px;",4,"ngIf"],["id","goals_history","align","center",1,"goals_history2"],["id","goals_history_overlay",2,"z-index","10"],["class","textCenter italic",4,"ngIf"],["mat-button","",1,"goalFavIconOff",3,"click"],["src","/static/img/icons/star_2_off.png"],[2,"text-align","center","font-size","20px"],[2,"text-align","center","font-size","20px","margin","20px 0px"],[2,"font-size","40px","margin","20px 0px 0px 0px"],["src","/static/img/goals-icon-colored.png",1,"goalStreakIcon"],[1,"textCenter","italic"],[1,"deleteGoalButton"],["mat-stroked-button","",1,"themedButton",2,"width","130px","border-radius","15px","z-index","100",3,"click"],["id","goalDetailDeleted","hidden",""]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,_u,1,0,"mat-progress-bar",0),i["\u0275\u0275element"](1,"div",1),i["\u0275\u0275template"](2,Ou,15,8,"div",2),i["\u0275\u0275element"](3,"div",3),i["\u0275\u0275template"](4,Eu,2,0,"div",4),i["\u0275\u0275template"](5,Mu,10,8,"div",5)),2&e&&(i["\u0275\u0275property"]("ngIf",t.listingLoading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.showLoadingOverlay&&!t.listingLoading),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.showGoalRemoved),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",37001!=t.goal.goalID&&24001!=t.goal.goalID&&1!=t.goal.goalID))},directives:[y.NgIf,It.a,si.a,k.b],pipes:[M.c,y.DatePipe,y.UpperCasePipe],styles:["#weeklyGoalsList[_ngcontent-%COMP%]{margin-top:15px!important;border-bottom:0 solid #000}.goalFavIconOff[_ngcontent-%COMP%]{margin-right:20px;z-index:1}.goalsListDivider[_ngcontent-%COMP%]{margin-top:25px!important;background-color:#b2b2b2}.goalsFavItem[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:60px;background-position:0;margin-top:10px}.goals_progress2[_ngcontent-%COMP%]{padding-bottom:30px}.goals_history2[_ngcontent-%COMP%], .goals_progress2[_ngcontent-%COMP%]{float:left;width:100%}#goals_history_overlay[_ngcontent-%COMP%]{width:45%;float:right}.goalTopIcon[_ngcontent-%COMP%]{width:0;visibility:hidden}.goalFavIcon[_ngcontent-%COMP%]{float:none;margin-top:20px;margin-bottom:20px}.goalsListItem[_ngcontent-%COMP%]{padding-top:0!important;background-repeat:no-repeat;background-size:60px;background-position:0;margin-bottom:0!important;border-bottom:1px solid #b2b2b2}.goalsListItem[_ngcontent-%COMP%]:active, .goalsListItem[_ngcontent-%COMP%]:hover{background-color:rgba(226,227,228,.2)!important}.goalsDetailRow[_ngcontent-%COMP%]{padding:10px 15px .2em!important;background-color:transparent!important;background-image:url(/static/img/icons/right_arrow_gray.png)!important;background-repeat:no-repeat!important;background-position:100%!important;border:none!important;border-bottom:1px solid #b2b2b2!important}.goalDetailStats[_ngcontent-%COMP%]{border-bottom:0 solid #b2b2b2;padding:25px 25px 0;background-repeat:no-repeat;background-size:100px;background-position:0}.goalDetailProgressDescription[_ngcontent-%COMP%]{margin-top:10px;margin-bottom:10px;font-size:18px;padding-bottom:10px}.mainGoaldesc[_ngcontent-%COMP%]{margin:auto;font-size:24px;font-weight:400;padding-top:10px}.goalIconImage[_ngcontent-%COMP%]{max-height:50px;max-width:50px;padding:0 5px}#goalProgressBar[_ngcontent-%COMP%]{display:inline-block;margin-top:10px}.deleteGoalButton[_ngcontent-%COMP%]{clear:both;margin:auto;text-align:center;padding-top:60px;padding-bottom:40px}.goalGraphTitle[_ngcontent-%COMP%]{text-align:center}.myGoalText[_ngcontent-%COMP%]{clear:both;margin-bottom:10px;font-size:24px}.goalIconPopoup[_ngcontent-%COMP%]{width:30px;margin-left:-45px;margin-top:-7px}#goalsPageSetGoalText[_ngcontent-%COMP%]{font-weight:400}.goalslist[_ngcontent-%COMP%]{width:100%;margin-right:0!important;margin-left:0!important}.goalsDivider[_ngcontent-%COMP%]{cursor:pointer;background-image:none!important;background-color:transparent!important;text-shadow:none!important;font-size:16px!important;font-weight:500!important;padding:10px 10px 10px 15px!important;border:none!important;border-bottom:2px dotted!important;margin-top:55px;margin-bottom:0;clear:both}#goalslist[_ngcontent-%COMP%]{margin-top:15px!important;border-top:5px solid #000}#goals_history_graph_canvas[_ngcontent-%COMP%], #goals_progress_graph_canvas[_ngcontent-%COMP%]{width:100%!important;max-height:300px!important}#goals_favorite_graph_canvas[_ngcontent-%COMP%]{width:97%!important;height:300px!important;margin:-15px}#goalsPageMainGoalProgress[_ngcontent-%COMP%]{font-size:18px;padding-bottom:10px}.goalsProgressTimeText[_ngcontent-%COMP%]{font-size:14px;color:#000;padding-bottom:10px}.goalOptions[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:20px!important;font-weight:400!important;color:#000!important}#headerGoalImage[_ngcontent-%COMP%]{max-width:500px;margin:0 auto 10px}.fieldBorder50[_ngcontent-%COMP%]{border:1px solid #999;width:50%}.popupFieldLabel[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:inline;margin-left:5px;font-size:32px}.goalSelectLabel[_ngcontent-%COMP%]{margin-left:5px;font-size:32px;font-weight:400}#goalsPageSetGoal[_ngcontent-%COMP%]{margin:50px auto 30px;width:80%;max-width:640px;padding:17px;border-radius:6px;font-size:20px;font-weight:200;border:1px solid #1e597e;background-color:#4597cb;color:#fff;cursor:pointer;display:block}#goalsPageSetGoal[_ngcontent-%COMP%], .goalsPageSetGoalText[_ngcontent-%COMP%]{text-decoration:none!important;text-align:center}.goalsPageSetGoalText[_ngcontent-%COMP%]{margin:auto;text-shadow:none!important}#newGoalBtn2[_ngcontent-%COMP%]{float:left;padding-right:15px;margin-top:-10px}#goalsPageMaxGoalsReached[_ngcontent-%COMP%]{border-top:0 solid #ccc;padding:40px 20px 20px}.oneHalf[_ngcontent-%COMP%]{width:50%}.createGoalInput[_ngcontent-%COMP%]{color:#4597cb!important;font-size:24px!important;font-weight:400!important;padding:0;width:150px!important;border:none;border-bottom:2px solid #4597cb;float:left;text-align:center;text-transform:lowercase;border-radius:0!important}.borderGrey[_ngcontent-%COMP%]{border:none!important;border-bottom:1px solid #b2b2b2!important}.borderGreyLeft[_ngcontent-%COMP%]{border-left:1px solid #b2b2b2}.createGoalDialog[_ngcontent-%COMP%]{padding:0}.createGoalDialog[_ngcontent-%COMP%], .createGoalMDInput[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;text-align:center}.createGoalMDInput[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;color:#4597cb!important;border-radius:0!important;margin:20px auto!important;float:none}.mdinputcontainer[_ngcontent-%COMP%]{margin:0!important}.goalInputLabel[_ngcontent-%COMP%]{vertical-align:middle;font-weight:400;margin-bottom:0}.createGoalWizardActivity[_ngcontent-%COMP%]{margin:auto}#createGoalWizardActivity_dummy[_ngcontent-%COMP%], .createGoalWizardActivity[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;font-weight:400;font-size:24px!important;padding:0;width:320px;border-radius:0!important}.goalHeader[_ngcontent-%COMP%]{font-size:32px;padding-top:25px;padding-bottom:0;margin:auto;text-align:center;width:100%}.goalHeaderImage[_ngcontent-%COMP%]{float:left;width:75px;padding-right:20px}.goalDistanceInput[_ngcontent-%COMP%]{border:0 solid #000;min-width:320px;max-width:420px;margin:0 auto 10px}.goalStreakIcon[_ngcontent-%COMP%]{width:30px;vertical-align:middle;margin:0}@media (min-width:768px){#createGoalWizardActivity_dummy[_ngcontent-%COMP%]{font-size:32px!important;width:420px}.goalHeader[_ngcontent-%COMP%]{padding-top:50px}.goalHeaderImage[_ngcontent-%COMP%]{width:150px;height:150px}.goalsListItem[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}}.accordion-section-content[_ngcontent-%COMP%]{display:none}#createGoalWizardSource[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;font-size:18px;font-weight:400;padding:0;border-radius:0!important}#setGoalHeader[_ngcontent-%COMP%]{margin:0 auto}#createGoalWizardWeightGoal_dummy[_ngcontent-%COMP%], #createGoalWizardWeightGoalA_dummy[_ngcontent-%COMP%], #createGoalWizardWeightGoalM_dummy[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;font-size:24px;font-weight:400;padding:0;width:320px!important;margin:auto;border-radius:0!important}.noBorder[_ngcontent-%COMP%]{border:none}.textCenter[_ngcontent-%COMP%]{text-align:center}.greyText[_ngcontent-%COMP%]{color:#999}.setGoalHeaderText[_ngcontent-%COMP%]{font-style:italic;line-height:1.5;text-align:center;margin:25px auto 0;width:95%}.goalEntry[_ngcontent-%COMP%]{margin-bottom:30px}.createGoalButton[_ngcontent-%COMP%], .goalEntry[_ngcontent-%COMP%]{text-align:center;font-size:20px}.createGoalButton[_ngcontent-%COMP%]{max-width:640px;width:90%;margin:40px auto 10px;padding-top:17px;padding-bottom:17px;border-radius:6px;border:1px solid #1e597e;background-color:#4597cb;color:#fff;cursor:pointer;font-weight:400;text-shadow:none;text-decoration:none!important;clear:both}.goalCreationText[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;float:left;padding-top:0;text-align:right}.weightGoalCreationText[_ngcontent-%COMP%]{float:right;text-align:center;margin:0 auto 40px}.weightGoalCreationMetricText[_ngcontent-%COMP%], .weightGoalCreationText[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;text-transform:lowercase}.sinkLabelGoal[_ngcontent-%COMP%]{margin-top:12px!important}#createGoalWizardWeightLastDateDisplay[_ngcontent-%COMP%]{font-size:10px;margin:-20px 0 0 110px;color:#b2b2b2}.createGoalDifferenceDisplay[_ngcontent-%COMP%]{text-align:center}#createGoalWizardWeightDiffDisplay[_ngcontent-%COMP%]{margin-top:10px;color:#56c056;font-size:40px;font-weight:400;margin-bottom:2px}#createGoalWizardWeightObjectiveDisplay[_ngcontent-%COMP%]{margin:auto;text-align:center}.createWeightGoalDiff[_ngcontent-%COMP%]{margin:0 auto;text-align:center;width:100%}.inputOnlyWeightGoal[_ngcontent-%COMP%]{border:none!important;border-bottom:2px #4597cb!important;color:#4597cb;margin:20px!important;padding:0!important;margin-bottom:0;position:relative;bottom:10px;left:5px;font-size:24px!important;font-weight:400;border-radius:0!important}.icon64[_ngcontent-%COMP%]{width:64px;padding-left:2px;padding-top:5px;margin-bottom:10px}.healthListItem[_ngcontent-%COMP%]{background:#fff;clear:both}.healthListItem[_ngcontent-%COMP%], .healthListItem[_ngcontent-%COMP%]:hover{border:none;border-top:1px solid #b2b2b2;border-bottom:0 solid #b2b2b2;width:100%}.healthListItem[_ngcontent-%COMP%]:hover{background:#eaebec}.myGoalTextContainer[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:0;text-align:center;background-size:0}.goalDescriptionText[_ngcontent-%COMP%], .goalDescriptionTextCUHP[_ngcontent-%COMP%]{width:100%;max-width:920px;padding-bottom:4px;text-align:center;margin:0 auto}.goalDescriptionTextCUHP[_ngcontent-%COMP%]{font-size:14px}.goalOptions[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-left:100px;text-align:left;height:82px;padding-top:30px;margin-top:-18px}.goalOptions[_ngcontent-%COMP%]{margin-top:-12px}.goalDetailLink[_ngcontent-%COMP%]{margin-top:0!important;background-color:transparent!important;border:none!important}#setGoalHeader[_ngcontent-%COMP%]{max-width:500px;margin:20px auto 5px}.setGoalHeaderImg[_ngcontent-%COMP%]{width:100%;padding-bottom:20px}.goalSmallIcon[_ngcontent-%COMP%]{width:44px!important;float:left;margin:-10px 30px 0 20px}.goalBackBar[_ngcontent-%COMP%]{background-color:#eaebec;width:100%;height:34px;text-align:left}.setGoalHeaderTextMain[_ngcontent-%COMP%]{line-height:1.5;text-align:center;margin:auto;font-size:24px;color:#4597cb;font-family:Helvetica neue,Helvetica,sans-serif!important}.ui-listview[_ngcontent-%COMP%]   .ui-li-icon[_ngcontent-%COMP%]{max-height:28px!important;max-width:28px!important;left:10px!important;top:.3em!important}#back[_ngcontent-%COMP%]{font-size:20px;width:100%;height:40px;background:#b2b2b2;padding-top:0}li[_ngcontent-%COMP%]{cursor:pointer}a[_ngcontent-%COMP%]:hover{text-decoration:none}.goalCreateImg[_ngcontent-%COMP%]{float:right;margin-right:20px;width:30px}.goalSelectionPage[_ngcontent-%COMP%]{padding:0 0 30px!important;max-width:768px;margin:auto}.setGoalListContainer[_ngcontent-%COMP%]{padding:0 0 60px;max-width:768px;margin:auto;clear:both}@media(min-width:769px){.setGoalListContainer[_ngcontent-%COMP%]{margin:0 auto 80px;padding:0;max-width:768px}.goalDetailIcon[_ngcontent-%COMP%]{margin:-10px auto 10px}.goalDetailIcon[_ngcontent-%COMP%], .goals_history2[_ngcontent-%COMP%], .goals_progress2[_ngcontent-%COMP%]{float:left;width:100%}#goals_history_overlay[_ngcontent-%COMP%]{width:100%;float:right}}@media(max-width:480px){.goalFavIconOff[_ngcontent-%COMP%]{margin-right:0}.myGoalTextContainer[_ngcontent-%COMP%]{padding-top:0;background-position:100% 0;background-repeat:no-repeat;background-size:50px}.mainGoaldesc[_ngcontent-%COMP%]{padding-top:15px;padding-bottom:5px}.goalsFavItem[_ngcontent-%COMP%]{background:none!important}.goalTopIcon[_ngcontent-%COMP%]{width:50px;visibility:visible;float:right}.goalsListItem[_ngcontent-%COMP%]{background-size:40px}.setGoalListContainer[_ngcontent-%COMP%]{padding:0 5px}.smallGoalText[_ngcontent-%COMP%]{font-size:16px!important}.goalDetailStats[_ngcontent-%COMP%]{background-size:50px;background-position:top;margin-top:0;padding-top:10px;padding-bottom:30px;clear:both}.goalFavoriteIcon[_ngcontent-%COMP%]{float:right;margin-right:0}.goalFavoriteIcon2[_ngcontent-%COMP%]{visibility:visible;padding:10px 0;margin-top:0}.myGoalText[_ngcontent-%COMP%]{float:none}.smallInputLabel[_ngcontent-%COMP%]{margin-bottom:-60px;margin-top:-60px}}.setGoalChoice[_ngcontent-%COMP%]{margin:0 0 20px;border-radius:4px;border-color:#b2b2b2}.setGoalChoice[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{background-color:rgba(226,227,228,.2)}.setGoalHeaderClear[_ngcontent-%COMP%]{clear:both;height:5px}@media (max-width:767px){.setGoalHeaderImg[_ngcontent-%COMP%]{padding-top:0}#createGoalWizardWeightLastDateDisplay[_ngcontent-%COMP%]{margin-top:-25px;text-align:center;margin-bottom:20px}.setGoalHeaderContainer[_ngcontent-%COMP%]{background-size:100px}.setGoalHeaderText[_ngcontent-%COMP%]{background-size:50px;margin-top:20px}}@media (max-width:360px){.setGoalHeaderText[_ngcontent-%COMP%]{background-image:none}.goalSmallIcon[_ngcontent-%COMP%]{margin-left:6px;margin-top:-10px;width:44px!important;margin-right:10px}}@media (max-width:330px){.setGoalHeaderTextMain[_ngcontent-%COMP%]{margin-top:20px}.setGoalHeaderContainer[_ngcontent-%COMP%]{background-image:none}}.goalEveryText[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px;padding-right:10px;text-align:right;float:left}.goalEveryInput[_ngcontent-%COMP%]{padding-top:36px;padding-bottom:20px;padding-left:0;float:left;max-width:200px;border-radius:0!important}.goalMeasureWithText[_ngcontent-%COMP%]{text-align:right;float:left;padding-bottom:0;padding-right:10px;padding-top:15px;font-weight:400}.goalMeasureWithInput[_ngcontent-%COMP%]{text-align:left;float:left;width:200px;padding-top:15px}.goalCancelText[_ngcontent-%COMP%]{float:right;width:160px}.goalTitleText[_ngcontent-%COMP%]{font-weight:400;box-sizing:unset;outline:none!important;margin:0;padding:36px 0 36px 100px}#goalDuration[_ngcontent-%COMP%]{max-width:200px}.weightGoalCreationPeriod[_ngcontent-%COMP%]{width:500px;text-align:center;margin:auto auto 20px}.weightGoalInput[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;padding:0;border-radius:0!important;font-size:24px}.goalSelect[_ngcontent-%COMP%]{margin:30px auto 40px}.mainGoalEntrySection[_ngcontent-%COMP%]{background-color:transparent;width:500px;min-height:370px;margin:auto}.popupErrorAndButtons[_ngcontent-%COMP%]{margin:auto;width:100%;text-align:center;padding-top:10px}.openArrow[_ngcontent-%COMP%]{float:right;padding-right:0}.midGoalText[_ngcontent-%COMP%]{width:40%}@media (max-width:767px){.mainGoalEntrySection[_ngcontent-%COMP%]{background-color:transparent;width:auto;min-height:none}.openArrow[_ngcontent-%COMP%]{padding-right:6px}.goalTitleText[_ngcontent-%COMP%]{padding-left:0;padding-top:30px;text-align:left;margin-left:80px}.midGoalText[_ngcontent-%COMP%]{width:auto;padding-left:20px}.oneHalf[_ngcontent-%COMP%]{width:auto}.goalMeasureWithInput[_ngcontent-%COMP%], .oneHalf[_ngcontent-%COMP%]{padding-left:10px}.weightGoalCreationPeriod[_ngcontent-%COMP%]{width:auto}.weightGoalCurrentText[_ngcontent-%COMP%]{margin-left:0;padding-left:0}.weightGoalCreationText[_ngcontent-%COMP%]{margin-bottom:20px}#createGoalWizardWeightCurrent[_ngcontent-%COMP%]{float:none;text-align:center;margin:auto auto 30px 120px}}@media (max-width:480px){.goalTitleText[_ngcontent-%COMP%]{margin-left:0}}"]}),e}(),Pu=function(){function e(e,t,n,i){var r=this;this.dialogRef=e,this.translate=t,this.goalService=n,this.data=i,this.goalID=this.data,this.delete_txt="Delete",this.delete_goal_txt="Delete Goal",this.remove_this_goal_txt="Remove this goal?",this.yes_txt="Yes",this.cancel_txt="Cancel",this.Are_you_sure_delete_txt="Are you sure you want to delete this goal?",this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){r.localize(e.lang)})}return e.prototype.localize=function(e){"es"===e&&(this.delete_txt="Eliminar",this.delete_goal_txt="Eliminar objetivo",this.remove_this_goal_txt="Eliminar este objetivo?",this.yes_txt="S\xed",this.cancel_txt="Cancelar",this.Are_you_sure_delete_txt="\xbfEst\xe1s seguro de que quieres eliminar este objetivo?"),"fr"===e&&(this.delete_txt="Supprimer",this.delete_goal_txt="Supprimer l'objectif",this.remove_this_goal_txt="Supprimer cet objectif?",this.yes_txt="Oui",this.cancel_txt="Annuler",this.Are_you_sure_delete_txt="Voulez-vous vraiment supprimer cet objectif?"),"it"===e&&(this.delete_txt="Elimina",this.delete_goal_txt="Elimina obiettivo",this.remove_this_goal_txt="Rimuovi questo obiettivo?",this.yes_txt="S\xec",this.cancel_txt="Annulla",this.Are_you_sure_delete_txt="Sei sicuro di voler eliminare questo obiettivo?"),"de"===e&&(this.delete_txt="L\xf6schen",this.delete_goal_txt="Ziel l\xf6schen",this.remove_this_goal_txt="Dieses Ziel entfernen?",this.yes_txt="Ja",this.cancel_txt="Stornieren",this.Are_you_sure_delete_txt="M\xf6chten Sie dieses Ziel wirklich l\xf6schen?")},e.prototype.delete=function(){var e=this;this.goalService.deleteGoal(this.goalID).subscribe(function(t){e.dialogRef.close(!0)})},e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](o.a),i["\u0275\u0275directiveInject"](g.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["delete-goal"]],decls:19,vars:12,consts:[[1,"mat-primary"],[1,"flex-span"],["mat-button","",1,"mat-icon-button",3,"click"],["src","/static/img/icons/deleteXIconWhite.png"],[2,"margin","20px"],[2,"margin","10px"],["layout","row"],[1,"delete-cancel","float-right",3,"click"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-toolbar",0),i["\u0275\u0275elementStart"](1,"h2"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"span",1),i["\u0275\u0275elementStart"](5,"button",2),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275element"](7,"img",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-dialog-content"),i["\u0275\u0275elementStart"](9,"div",4),i["\u0275\u0275elementStart"](10,"div",5),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"mat-dialog-actions",6),i["\u0275\u0275element"](14,"span",1),i["\u0275\u0275elementStart"](15,"button",7),i["\u0275\u0275listener"]("click",function(){return t.delete()}),i["\u0275\u0275elementStart"](16,"span"),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,4,"ROOT.Delete")),i["\u0275\u0275advance"](3),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](6,6,"ROOT.Cancel")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](12,8,"ROOT.Are you sure you want to delete this goal?")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](18,10,"ROOT.Delete")))},directives:[C.a,k.b,g.d,g.c],pipes:[M.c],encapsulation:2}),e}();function Tu(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",7),i["\u0275\u0275element"](1,"img",8),i["\u0275\u0275elementStart"](2,"strong"),i["\u0275\u0275elementStart"](3,"h4",9),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,1,"ROOT.Goals")))}function Du(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"img",11),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).router.navigate(["/set-goal"])}),i["\u0275\u0275elementEnd"]()}}function Lu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"strong"),i["\u0275\u0275elementStart"](1,"h4",9),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275template"](4,Du,1,0,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](3,2,"ROOT.Goals")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0==n.max_goals_reached&&n.goal_count>0)}}function Ru(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",5),i["\u0275\u0275template"](1,Tu,6,3,"a",6),i["\u0275\u0275template"](2,Lu,5,4,"strong",3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.goalId),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.goalId)}}function ju(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}function Au(e,t){1&e&&i["\u0275\u0275element"](0,"img",33)}function Fu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",34),i["\u0275\u0275elementStart"](2,"h3",35),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",n.favoriteGoal.getGoalIcon(),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.favoriteGoal.description," ")}}function Bu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"uppercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,i["\u0275\u0275pipeBind1"](3,3,"ROOT."+n.favoriteGoal.evalInstruction.activityType))," ")}}function zu(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Any Activity")," "))}function Nu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,Bu,4,5,"span",3),i["\u0275\u0275template"](2,zu,3,3,"span",3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","ALL"==!n.favoriteGoal.evalInstruction.activityType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","ALL"==n.favoriteGoal.evalInstruction.activityType)}}function Hu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"div",37),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"lowercase"),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275element"](7,"img",34),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](3,3,n.favoriteGoal.evalInstruction.targetValue,"1.0-0")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,6,n.favoriteGoal.evalInstruction.units),""),i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate"]("src",n.favoriteGoal.getGoalIcon(),i["\u0275\u0275sanitizeUrl"])}}function Vu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"lowercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,i["\u0275\u0275pipeBind1"](3,3,"ROOT."+n.favoriteGoal.instructions.dateInstruction.dateRange))," ")}}function Yu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",38),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"lowercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275element"](4,"img",39),i["\u0275\u0275template"](5,Vu,4,5,"span",3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,3,i["\u0275\u0275pipeBind1"](3,5,"ROOT."+n.favoriteGoal.evalInstruction.units))," "),i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate"]("src",n.favoriteGoal.getGoalIcon(),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","open"!=n.favoriteGoal.instructions.dateInstruction.dateRange)}}var Wu=function(e){return[e]};function Gu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,Nu,3,2,"span",3),i["\u0275\u0275elementStart"](2,"div",1),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"number"),i["\u0275\u0275pipe"](5,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,Hu,8,8,"span",3),i["\u0275\u0275template"](7,Yu,6,7,"div",36),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.favoriteGoal.evalInstruction.activityType&&"ALL"!=n.favoriteGoal.evalInstruction.activityType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](12,Wu,n.favoriteGoal.evalInstruction.minValue<99999?"goalMetric blueText":"goalMetricLarge blueText")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](4,6,n.favoriteGoal.evalInstruction.minValue,"1.0-0")," ",i["\u0275\u0275pipeBind2"](5,9,n.favoriteGoal.evalInstruction.maxValue,"1.0-0")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.favoriteGoal.isWeightGoal()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.favoriteGoal.isWeightGoal())}}function Uu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",31),i["\u0275\u0275template"](1,Au,1,0,"img",32),i["\u0275\u0275template"](2,Fu,4,2,"div",3),i["\u0275\u0275template"](3,Gu,8,14,"div",3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.favoriteGoal.goalID&&!n.newSetGoal&&!n.detailView),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","WEIGHT_COMPARE_SIMPLE_TARGET"==n.favoriteGoal.goalType||"WORKOUT_FITNESS_PLAN"==n.favoriteGoal.goalType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","WEIGHT_COMPARE_SIMPLE_TARGET"!=n.favoriteGoal.goalType&&"WORKOUT_FITNESS_PLAN"!=n.favoriteGoal.goalType)}}function qu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",31),i["\u0275\u0275element"](1,"img",39),i["\u0275\u0275elementStart"](2,"h3",35),i["\u0275\u0275text"](3," University of Colorado Health Plan "),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275text"](5,"12 Active Days "),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275text"](7,"Move. Goal "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",n.favoriteGoal.getGoalIcon(),i["\u0275\u0275sanitizeUrl"])}}function Zu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,1,n.favoriteGoal.goalTarget,"1.0-0")," ")}}function $u(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1," 12 Days "),i["\u0275\u0275elementEnd"]())}function Xu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT."+n.favoriteGoal.units))}}function Ku(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",42),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" \xa0 \u2022 \xa0",i["\u0275\u0275pipeBind2"](2,2,n.favoriteGoal.goalTarget-n.favoriteGoal.evalVal,"1.0-0")," ",i["\u0275\u0275pipeBind1"](3,5,"ROOT.left to go"),"")}}function Ju(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",40),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275template"](4,Zu,3,4,"span",3),i["\u0275\u0275template"](5,$u,2,0,"span",3),i["\u0275\u0275template"](6,Xu,3,3,"span",3),i["\u0275\u0275template"](7,Ku,4,7,"span",41),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,6,n.favoriteGoal.evalVal,"1.0-0")," ",i["\u0275\u0275pipeBind1"](3,9,"ROOT.of")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",37001!=n.favoriteGoal.goalID&&24001!=n.favoriteGoal.goalID&&1!=n.favoriteGoal.goalID),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",37001==n.favoriteGoal.goalID||24001==n.favoriteGoal.goalID||1==n.favoriteGoal.goalID),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.favoriteGoal.units),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.favoriteGoal.goalTarget-n.favoriteGoal.evalVal>0)}}function Qu(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"]("\xa0 \u2022 \xa0 ",i["\u0275\u0275pipeBind2"](2,2,n.favoriteGoal.goalTarget-n.favoriteGoal.evalVal,"1.0-0")," ",i["\u0275\u0275pipeBind1"](3,5,"ROOT.left to go"),"")}}function ep(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",40),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275template"](4,Qu,4,7,"span",3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,3,n.favoriteGoal.evalVal,"1.0-1")," ",i["\u0275\u0275pipeBind1"](3,6,"ROOT."+n.favoriteGoal.units)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.favoriteGoal.goalTarget-n.favoriteGoal.evalVal>0)}}function tp(e,t){if(1&e&&i["\u0275\u0275element"](0,"app-goal-detail",43),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("goalInput",n.favoriteGoal.goalID)}}var np=function(e){return{width:e}};function ip(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-accordion",16),i["\u0275\u0275elementStart"](1,"mat-expansion-panel",17),i["\u0275\u0275listener"]("opened",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).favoriteGoal.panelOpen=!0}),i["\u0275\u0275elementStart"](2,"mat-expansion-panel-header",18),i["\u0275\u0275element"](3,"canvas",19),i["\u0275\u0275elementStart"](4,"div",20),i["\u0275\u0275template"](5,Uu,4,3,"div",21),i["\u0275\u0275template"](6,qu,8,1,"div",21),i["\u0275\u0275elementStart"](7,"div",22),i["\u0275\u0275elementStart"](8,"div",23),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",24),i["\u0275\u0275elementStart"](12,"div",25),i["\u0275\u0275elementStart"](13,"div",26),i["\u0275\u0275element"](14,"img",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"div",28),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](16,Ju,8,11,"div",29),i["\u0275\u0275template"](17,ep,5,8,"div",29),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](18,tp,1,1,"app-goal-detail",30),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("expanded",r.goalId)("hidden",0==r.showDailyGoals),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("id",r.favoriteGoal.goalID),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",37001!=r.favoriteGoal.goalID&&24001!=r.favoriteGoal.goalID&&1!=r.favoriteGoal.goalID),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",37001==r.favoriteGoal.goalID||24001==r.favoriteGoal.goalID||1==r.favoriteGoal.goalID),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](10,11,100*r.favoriteGoal.score,"1.0-0"),"%"),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](14,np,r.favoriteGoal.progressBarMark+"px")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](16,np,r.favoriteGoal.progressBarMark+"px")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.favoriteGoal.isWeightGoal()&&r.favoriteGoal.evalVal>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.favoriteGoal.isWeightGoal()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.favoriteGoal.panelOpen)}}function rp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",44),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementStart"](3,"a",45),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,3,"ROOT.Set unlimited goals and rock them all with a")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate1"]("href","https://my.fitdigits.com/memberships?embed=",n.isMobileEmbedded,"",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,5,"ROOT.membership")," ")}}function ap(e,t){1&e&&i["\u0275\u0275element"](0,"div",51)}function op(e,t){1&e&&i["\u0275\u0275element"](0,"img",60)}function sp(e,t){1&e&&i["\u0275\u0275element"](0,"img",61)}function lp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"h3",35),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.description," ")}}function cp(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Exercise")," "))}function dp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT."+n.evalInstruction.activityType)," ")}}function up(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,cp,3,3,"span",3),i["\u0275\u0275template"](2,dp,3,3,"span",3),i["\u0275\u0275elementStart"](3,"div",1),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"number"),i["\u0275\u0275pipe"](6,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275pipe"](9,"lowercase"),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","ALL"==n.evalInstruction.activityType&&n.evalInstruction.units),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.evalInstruction.activityType&&"ALL"!=n.evalInstruction.activityType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](19,Wu,n.evalInstruction.minValue<99999?"goalMetric":"goalMetricLarge")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](5,7,n.evalInstruction.minValue,"1.0-0")," ",i["\u0275\u0275pipeBind2"](6,10,n.evalInstruction.maxValue,"1.0-0")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](8,13,"ROOT."+n.evalInstruction.units)," ",i["\u0275\u0275pipeBind1"](9,15,i["\u0275\u0275pipeBind1"](10,17,"ROOT."+n.dateInstruction.dateRange))," ")}}function pp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",73),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,1,100*n.score,"1.0-0"),"% ")}}function hp(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Congratulations! You hit your goal!")," "))}function mp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"number"),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate3"](" ",i["\u0275\u0275pipeBind2"](2,5,n.evalVal,"1.0-1")," ",i["\u0275\u0275pipeBind1"](3,8,"ROOT."+n.evalInstruction.units)," ",i["\u0275\u0275pipeBind1"](4,10,"ROOT.complete"),""),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](7,12,n.goalTarget-n.evalVal,"1.0-1")," ",i["\u0275\u0275pipeBind1"](8,15,"ROOT.remaining"),"\n")}}function gp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",38),i["\u0275\u0275template"](1,hp,3,3,"span",3),i["\u0275\u0275template"](2,mp,9,17,"span",3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==n.score),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.score<1&&n.score>0)}}function fp(e,t){if(1&e&&i["\u0275\u0275element"](0,"app-goal-detail",43),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275property"]("goalInput",n.goalID)}}function vp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-expansion-panel",63),i["\u0275\u0275listener"]("opened",function(){return t.$implicit.panelOpen=!0}),i["\u0275\u0275elementStart"](1,"mat-expansion-panel-header",64),i["\u0275\u0275element"](2,"canvas",65),i["\u0275\u0275elementStart"](3,"div",66),i["\u0275\u0275elementStart"](4,"div",67),i["\u0275\u0275element"](5,"img",39),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",68),i["\u0275\u0275elementStart"](7,"div",69),i["\u0275\u0275template"](8,lp,3,1,"div",3),i["\u0275\u0275template"](9,up,11,21,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",22),i["\u0275\u0275elementStart"](11,"div",70),i["\u0275\u0275template"](12,pp,3,4,"span",71),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",24),i["\u0275\u0275elementStart"](14,"div",25),i["\u0275\u0275elementStart"](15,"div",26),i["\u0275\u0275element"](16,"img",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](17,"div",28),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](18,"div",72),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](19,gp,3,2,"div",36),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](20,fp,1,1,"app-goal-detail",30),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](6);i["\u0275\u0275property"]("hidden",0==r.showDailyGoals),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("id",n.goalID),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("src",n.getGoalIcon(),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","WEIGHT_COMPARE_SIMPLE_TARGET"==n.goalType||"WORKOUT_FITNESS_PLAN"==n.goalType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","WEIGHT_COMPARE_SIMPLE_TARGET"!=n.goalType&&"WORKOUT_FITNESS_PLAN"!=n.goalType),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.score<1),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](10,np,n.progressBarMark+"px")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](12,np,n.progressBarMark+"px")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==n.score||n.panelOpen),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.panelOpen)}}function yp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-accordion"),i["\u0275\u0275template"](1,vp,21,14,"mat-expansion-panel",62),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.dailyGoals)}}function bp(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",54),i["\u0275\u0275elementStart"](1,"div",55),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.showDailyGoals=!e.showDailyGoals}),i["\u0275\u0275template"](2,op,1,0,"img",56),i["\u0275\u0275template"](3,sp,1,0,"img",57),i["\u0275\u0275elementStart"](4,"div",58),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"div",59),i["\u0275\u0275template"](8,yp,2,1,"mat-accordion",3),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showDailyGoals),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showDailyGoals),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,4,"ROOT.Daily goals")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.showDailyGoals)}}function xp(e,t){1&e&&i["\u0275\u0275element"](0,"img",60)}function _p(e,t){1&e&&i["\u0275\u0275element"](0,"img",61)}function wp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"h3",35),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.description," ")}}function Sp(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Exercise")," "))}function Cp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT."+n.evalInstruction.activityType)," ")}}function kp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,Sp,3,3,"span",3),i["\u0275\u0275template"](2,Cp,3,3,"span",3),i["\u0275\u0275elementStart"](3,"div",1),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"number"),i["\u0275\u0275pipe"](6,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275pipe"](9,"lowercase"),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","ALL"==n.evalInstruction.activityType&&n.evalInstruction.units),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.evalInstruction.activityType&&"ALL"!=n.evalInstruction.activityType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](19,Wu,n.evalInstruction.minValue<99999?"goalMetric":"goalMetricLarge")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](5,7,n.evalInstruction.minValue,"1.0-0")," ",i["\u0275\u0275pipeBind2"](6,10,n.evalInstruction.maxValue,"1.0-0")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](8,13,"ROOT."+n.evalInstruction.units)," ",i["\u0275\u0275pipeBind1"](9,15,i["\u0275\u0275pipeBind1"](10,17,"ROOT."+n.dateInstruction.dateRange))," ")}}function Op(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",73),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,1,100*n.score,"1.0-0"),"% ")}}function Ep(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Congratulations! You hit your goal!")," "))}function Mp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT."+n.evalInstruction.units)," ")}}function Ip(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,2,n.goalTarget-n.evalVal,"1.0-1")," ",i["\u0275\u0275pipeBind1"](3,5,"ROOT.remaining")," ")}}function Pp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,Ip,4,7,"span",3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","WEIGHT_COMPARE_SIMPLE_TARGET"!=n.goalType)}}function Tp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",38),i["\u0275\u0275template"](1,Ep,3,3,"span",3),i["\u0275\u0275elementStart"](2,"span"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"number"),i["\u0275\u0275template"](5,Mp,3,3,"span",3),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275element"](8,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,Pp,2,1,"span",3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==n.score),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](4,5,n.evalVal,"1.0-1")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",null!=n.evalInstruction.units),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,8,"ROOT.complete"),""),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.score<1&&n.score>0)}}function Dp(e,t){if(1&e&&i["\u0275\u0275element"](0,"app-goal-detail",43),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275property"]("goalInput",n.goalID)}}function Lp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-expansion-panel",75),i["\u0275\u0275listener"]("opened",function(){return t.$implicit.panelOpen=!0}),i["\u0275\u0275elementStart"](1,"mat-expansion-panel-header",64),i["\u0275\u0275element"](2,"canvas",65),i["\u0275\u0275elementStart"](3,"div",66),i["\u0275\u0275elementStart"](4,"div",67),i["\u0275\u0275element"](5,"img",39),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",68),i["\u0275\u0275elementStart"](7,"div",69),i["\u0275\u0275template"](8,wp,3,1,"div",3),i["\u0275\u0275template"](9,kp,11,21,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",22),i["\u0275\u0275elementStart"](11,"div",70),i["\u0275\u0275template"](12,Op,3,4,"span",71),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",24),i["\u0275\u0275elementStart"](14,"div",25),i["\u0275\u0275elementStart"](15,"div",26),i["\u0275\u0275element"](16,"img",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](17,"div",28),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](18,"div",72),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](19,Tp,10,10,"div",36),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](20,Dp,1,1,"app-goal-detail",30),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](6);i["\u0275\u0275property"]("hidden",0==r.showWeeklyGoals),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("id",n.goalID),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("src",n.getGoalIcon(),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","WEIGHT_COMPARE_SIMPLE_TARGET"==n.goalType||"WORKOUT_FITNESS_PLAN"==n.goalType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","WEIGHT_COMPARE_SIMPLE_TARGET"!=n.goalType&&"WORKOUT_FITNESS_PLAN"!=n.goalType),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.score<1),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](10,np,n.progressBarMark+"px")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](12,np,n.progressBarMark+"px")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==n.score||n.panelOpen),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.panelOpen)}}function Rp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-accordion"),i["\u0275\u0275template"](1,Lp,21,14,"mat-expansion-panel",74),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.weeklyGoals)}}function jp(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",54),i["\u0275\u0275elementStart"](1,"div",55),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.showWeeklyGoals=!e.showWeeklyGoals}),i["\u0275\u0275template"](2,xp,1,0,"img",56),i["\u0275\u0275template"](3,_p,1,0,"img",57),i["\u0275\u0275elementStart"](4,"div",58),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,Rp,2,1,"mat-accordion",3),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showWeeklyGoals),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showWeeklyGoals),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,4,"ROOT.Weekly goals")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showWeeklyGoals)}}function Ap(e,t){1&e&&i["\u0275\u0275element"](0,"img",60)}function Fp(e,t){1&e&&i["\u0275\u0275element"](0,"img",61)}function Bp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",79),i["\u0275\u0275elementStart"](1,"h3",35),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",n.groupName," \u2022 ",n.description,"")}}function zp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"h3",35),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.description," ")}}function Np(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,zp,2,1,"h3",80),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.evalInstruction.units)}}function Hp(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Exercise")," "))}function Vp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT."+n.evalInstruction.activityType)," ")}}function Yp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,Hp,3,3,"span",3),i["\u0275\u0275template"](2,Vp,3,3,"span",3),i["\u0275\u0275elementStart"](3,"div",1),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"number"),i["\u0275\u0275pipe"](6,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275pipe"](9,"lowercase"),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","ALL"==n.evalInstruction.activityType&&n.evalInstruction.units),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.evalInstruction.activityType&&"ALL"!=n.evalInstruction.activityType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](19,Wu,n.evalInstruction.minValue<99999?"goalMetric":"goalMetricLarge")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](5,7,n.evalInstruction.minValue,"1.0-0")," ",i["\u0275\u0275pipeBind2"](6,10,n.evalInstruction.maxValue,"1.0-0")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](8,13,"ROOT."+n.evalInstruction.units)," ",i["\u0275\u0275pipeBind1"](9,15,i["\u0275\u0275pipeBind1"](10,17,"ROOT."+n.dateInstruction.dateRange))," ")}}function Wp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",69),i["\u0275\u0275template"](1,Np,2,1,"div",3),i["\u0275\u0275template"](2,Yp,11,21,"div",3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","WEIGHT_COMPARE_SIMPLE_TARGET"==n.goalType||"WORKOUT_FITNESS_PLAN"==n.goalType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","WEIGHT_COMPARE_SIMPLE_TARGET"!=n.goalType&&"WORKOUT_FITNESS_PLAN"!=n.goalType)}}function Gp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",79),i["\u0275\u0275elementStart"](1,"h3",35),i["\u0275\u0275text"](2,"University of Colorado Health Plan "),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275text"](4,"12 Active Days"),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",n.groupName," \u2022 Move. Goal ")}}function Up(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",73),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,1,100*n.score,"1.0-0"),"% ")}}function qp(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Congratulations! You hit your goal!")," "))}function Zp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT."+n.evalInstruction.units)," ")}}function $p(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",n.goalTarget-n.evalVal," ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.remaining"),"\n")}}function Xp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",81),i["\u0275\u0275template"](1,qp,3,3,"span",3),i["\u0275\u0275elementStart"](2,"span"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"number"),i["\u0275\u0275template"](5,Zp,3,3,"span",3),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275element"](8,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,$p,3,4,"span",3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==n.score),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](4,5,n.evalVal,"1.0-1")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",null!=n.evalInstruction.units),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,8,"ROOT.complete"),""),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.score<1&&n.score>0)}}function Kp(e,t){if(1&e&&i["\u0275\u0275element"](0,"app-goal-detail",43),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275property"]("goalInput",n.goalID)}}function Jp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-expansion-panel",75),i["\u0275\u0275listener"]("opened",function(){return t.$implicit.panelOpen=!0}),i["\u0275\u0275elementStart"](1,"mat-expansion-panel-header",64),i["\u0275\u0275element"](2,"canvas",65),i["\u0275\u0275elementStart"](3,"div",66),i["\u0275\u0275elementStart"](4,"div",67),i["\u0275\u0275element"](5,"img",39),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",68),i["\u0275\u0275template"](7,Bp,3,2,"div",76),i["\u0275\u0275template"](8,Wp,3,2,"div",77),i["\u0275\u0275template"](9,Gp,7,1,"div",76),i["\u0275\u0275elementStart"](10,"div",22),i["\u0275\u0275elementStart"](11,"div",70),i["\u0275\u0275template"](12,Up,3,4,"span",71),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",24),i["\u0275\u0275elementStart"](14,"div",25),i["\u0275\u0275elementStart"](15,"div",26),i["\u0275\u0275element"](16,"img",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](17,"div",28),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](18,"div",72),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](19,Xp,10,10,"span",78),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](20,Kp,1,1,"app-goal-detail",30),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](6);i["\u0275\u0275property"]("hidden",0==r.showMonthlyGoals),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("id",n.goalID),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("src",n.getGoalIcon(),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",37001!=n.goalID&&24001!=n.goalID&&1!=n.goalID&&n.groupName),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",37001!=n.goalID&&24001!=n.goalID&&1!=n.goalID&&!n.groupName),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",37001==n.goalID||24001==n.goalID||1==n.goalID),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.score<1),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](11,np,n.progressBarMark+"px")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](13,np,n.progressBarMark+"px")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==n.score||n.panelOpen),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.panelOpen)}}function Qp(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-accordion"),i["\u0275\u0275template"](1,Jp,21,15,"mat-expansion-panel",74),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.monthlyGoals)}}function eh(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",54),i["\u0275\u0275elementStart"](1,"div",55),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.showMonthlyGoals=!e.showMonthlyGoals}),i["\u0275\u0275template"](2,Ap,1,0,"img",56),i["\u0275\u0275template"](3,Fp,1,0,"img",57),i["\u0275\u0275elementStart"](4,"div",58),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,Qp,2,1,"mat-accordion",3),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showMonthlyGoals),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showMonthlyGoals),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,4,"ROOT.Monthly goals")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showMonthlyGoals)}}function th(e,t){1&e&&i["\u0275\u0275element"](0,"img",60)}function nh(e,t){1&e&&i["\u0275\u0275element"](0,"img",61)}function ih(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"h3",35),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.description," ")}}function rh(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Exercise")," "))}function ah(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT."+n.evalInstruction.activityType)," ")}}function oh(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,rh,3,3,"span",3),i["\u0275\u0275template"](2,ah,3,3,"span",3),i["\u0275\u0275elementStart"](3,"div",1),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"number"),i["\u0275\u0275pipe"](6,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275pipe"](9,"lowercase"),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","ALL"==n.evalInstruction.activityType&&n.evalInstruction.units),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.evalInstruction.activityType&&"ALL"!=n.evalInstruction.activityType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](19,Wu,n.evalInstruction.minValue<99999?"goalMetric":"goalMetricLarge")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](5,7,n.evalInstruction.minValue,"1.0-0")," ",i["\u0275\u0275pipeBind2"](6,10,n.evalInstruction.maxValue,"1.0-0")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](8,13,"ROOT."+n.evalInstruction.units)," ",i["\u0275\u0275pipeBind1"](9,15,i["\u0275\u0275pipeBind1"](10,17,"ROOT."+n.dateInstruction.dateRange))," ")}}function sh(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",73),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,1,100*n.score,"1.0-0"),"% ")}}function lh(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Congratulations! You hit your goal!")," "))}function ch(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate3"](" ",n.evalVal," ",i["\u0275\u0275pipeBind1"](2,5,"ROOT."+n.evalInstruction.units)," ",i["\u0275\u0275pipeBind1"](3,7,"ROOT.complete"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"](" ",n.goalTarget-n.evalVal," ",i["\u0275\u0275pipeBind1"](6,9,"ROOT.remaining"),"\n")}}function dh(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,lh,3,3,"span",3),i["\u0275\u0275template"](2,ch,7,11,"span",3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==n.score),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.score<1&&n.score>0)}}function uh(e,t){if(1&e&&i["\u0275\u0275element"](0,"app-goal-detail",43),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275property"]("goalInput",n.goalID)}}function ph(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-expansion-panel",83),i["\u0275\u0275listener"]("opened",function(){return t.$implicit.panelOpen=!0}),i["\u0275\u0275elementStart"](1,"mat-expansion-panel-header",64),i["\u0275\u0275element"](2,"canvas",65),i["\u0275\u0275elementStart"](3,"div",66),i["\u0275\u0275elementStart"](4,"div",67),i["\u0275\u0275element"](5,"img",39),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",68),i["\u0275\u0275elementStart"](7,"div",69),i["\u0275\u0275template"](8,ih,3,1,"div",3),i["\u0275\u0275template"](9,oh,11,21,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",22),i["\u0275\u0275elementStart"](11,"div",70),i["\u0275\u0275template"](12,sh,3,4,"span",71),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",24),i["\u0275\u0275elementStart"](14,"div",25),i["\u0275\u0275elementStart"](15,"div",26),i["\u0275\u0275element"](16,"img",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](17,"div",28),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](18,"div",72),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div"),i["\u0275\u0275template"](20,dh,3,2,"span",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](21,uh,1,1,"app-goal-detail",30),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](6);i["\u0275\u0275property"]("hidden",0==r.showDailyGoals),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("id",n.goalID),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("src",n.getGoalIcon(),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","WEIGHT_COMPARE_SIMPLE_TARGET"==n.goalType||"WORKOUT_FITNESS_PLAN"==n.goalType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","WEIGHT_COMPARE_SIMPLE_TARGET"!=n.goalType&&"WORKOUT_FITNESS_PLAN"!=n.goalType),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.score<1),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](10,np,n.progressBarMark+"px")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](12,np,n.progressBarMark+"px")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",1==n.score),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.panelOpen)}}function hh(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-accordion"),i["\u0275\u0275template"](1,ph,22,14,"mat-expansion-panel",82),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.annualGoals)}}function mh(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",54),i["\u0275\u0275elementStart"](1,"div",55),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.showAnnualGoals=!e.showAnnualGoals}),i["\u0275\u0275template"](2,th,1,0,"img",56),i["\u0275\u0275template"](3,nh,1,0,"img",57),i["\u0275\u0275elementStart"](4,"div",58),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,hh,2,1,"mat-accordion",3),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showAnnualGoals),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showAnnualGoals),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,4,"ROOT.Yearly goals")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showAnnualGoals)}}function gh(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",52),i["\u0275\u0275template"](1,bp,9,6,"div",53),i["\u0275\u0275template"](2,jp,8,6,"div",53),i["\u0275\u0275template"](3,eh,8,6,"div",53),i["\u0275\u0275template"](4,mh,8,6,"div",53),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.dailyGoals.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.weeklyGoals.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.monthlyGoals.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.annualGoals.length>0)}}function fh(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",46),i["\u0275\u0275elementStart"](1,"div",47),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).router.navigate(["/goals"],{queryParams:{cache:"false"}})}),i["\u0275\u0275element"](2,"img",48),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](3,ap,1,0,"div",49),i["\u0275\u0275template"](4,gh,5,4,"div",50),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.goalId),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.showLoadingOverlay&&!r.goalId)}}function vh(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275template"](1,ip,19,18,"mat-accordion",13),i["\u0275\u0275template"](2,rp,6,7,"div",14),i["\u0275\u0275template"](3,fh,5,2,"div",15),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay&&n.goal_count>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==n.max_goals_reached),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay)}}var yh=function(){function e(e,t,n,i,r,a,o,s){var l=this;this.titleService=e,this.goalService=t,this.window=n,this.route=i,this.router=r,this.ThemeService=a,this.AccountService=o,this.translate=s,this.goalId=this.route.snapshot.paramMap.get("goalId"),this.dailyGoals=[],this.showLoadingOverlay=!1,this.weeklyGoals=[],this.monthlyGoals=[],this.annualGoals=[],this.goal_count=0,this.max_goals_reached=!1,this.isMobileEmbedded=!1,this.showDailyGoals=!0,this.showWeeklyGoals=!0,this.showMonthlyGoals=!0,this.showAnnualGoals=!0,this.detailView=!1,this.favgoalTargetUnits="",this.newProgressDescription="",this.ranConfetti=!1,this.newSetGoal=!1,this.useCache=!0,this.goalService.updateFavoriteGoal.subscribe(function(e){e&&l.ngOnInit()})}return e.prototype.goToGoal=function(e){this.router.navigate(["/goals",e])},e.prototype.confetti=function(e){console.log("Checking confetti"),new $l({target:e}).render()},e.prototype.ngAfterViewChecked=function(){if(0==this.showLoadingOverlay&&this.AccountService.isLoggedIn&&0==this.ranConfetti){if(1==this.favoriteGoal.score&&this.confetti(document.getElementById(this.favoriteGoal.goalID)),null==this.goalId){for(var e=0;e<this.dailyGoals.length;e++)1==this.dailyGoals[e].score&&this.confetti(document.getElementById(this.dailyGoals[e].goalID));for(e=0;e<this.weeklyGoals.length;e++)1==this.weeklyGoals[e].score&&this.confetti(document.getElementById(this.weeklyGoals[e].goalID));for(e=0;e<this.monthlyGoals.length;e++)1==this.monthlyGoals[e].score&&this.confetti(document.getElementById(this.monthlyGoals[e].goalID));for(e=0;e<this.annualGoals.length;e++)1==this.annualGoals[e].score&&this.confetti(document.getElementById(this.annualGoals[e].goalID))}this.ranConfetti=!0}},e.prototype.reloadComponent=function(){this.loadData(),console.log("Component reloaded with query param cache=",this.route.snapshot.queryParams.cache)},e.prototype.loadData=function(){var e=this;if(this.AccountService.isLoggedIn){var t=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});"true"==t.get("newSetGoal")&&(this.newSetGoal=!0),this.useCache="false"!=t.get("cache"),console.log("this useCache"),console.log(this.useCache),this.goalId=this.route.snapshot.paramMap.get("goalId"),this.route.snapshot.paramMap.get("goalId")&&(this.detailView=!0),this.ranConfetti=!1,this.dailyGoals=[],this.weeklyGoals=[],this.monthlyGoals=[],this.annualGoals=[],this.showLoadingOverlay=!0,this.goalService.getGoals(this.useCache).subscribe(function(t){if(e.goal_count=t.response.records.length,e.isMobileEmbedded=e.ThemeService.isMobileEmbedded,0===e.goal_count&&e.router.navigate(["/set-goal"]),t.response.favorite_goal){e.favoriteGoal=new xu.a(t.response.favorite_goal);var n=e.favoriteGoal.isDistanceGoal()?1:0,i=void 0,r=void 0,a=void 0;void 0!==e.favoriteGoal.evalInstruction.minValue&&(i=Number(e.favoriteGoal.evalInstruction.minValue).toFixed(n)),void 0!==e.favoriteGoal.evalInstruction.units&&(e.favgoalTargetUnits="steps"==(r=e.favoriteGoal.evalInstruction.units)?"steps":r),void 0!==e.favoriteGoal.instructions.dateInstruction.dateRange&&(a=e.favoriteGoal.instructions.dateInstruction.dateRange),e.newProgressDescription=i+" "+r+" / "+a}for(var o=0;o<t.response.records.length;o++){var s=new xu.a(t.response.records[o]);if(s.goalID==e.goalId){e.favoriteGoal=s,e.showLoadingOverlay=!1;break}s.goalID!=e.favoriteGoal.goalID&&(s.isDailyGoal?e.dailyGoals.push(s):s.isWeeklyGoal?e.weeklyGoals.push(s):s.isMonthlyGoal?e.monthlyGoals.push(s):s.isYearlyGoal&&e.annualGoals.push(s))}e.showLoadingOverlay=!1})}},e.prototype.ngOnInit=function(){var e=this;this.route.queryParams.subscribe(function(t){"false"===t.cache?e.reloadComponent():e.loadData()})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](o.a),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](M.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["goalListing"]],inputs:{goalId:"goalId"},decls:5,vars:5,consts:[[1,"loading-overlay",3,"hidden"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"main-menu-section-heading"],["routerLink","/goals",4,"ngIf"],["routerLink","/goals"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],["src","/static/img/greenplusbutton2.png","class","goalCreateImg",3,"click",4,"ngIf"],["src","/static/img/greenplusbutton2.png",1,"goalCreateImg",3,"click"],[1,"sectionStructure"],["style","z-index:40;",4,"ngIf"],["id","goalsPageMaxGoalsReached",4,"ngIf"],["class","goalsPageSetGoalText",4,"ngIf"],[2,"z-index","40"],["data-icon","false",1,"goalslist","list-group",3,"expanded","hidden","opened"],[1,"goalsListItem","noShowHover",2,"min-height","100px","height","unset !important","z-index","20"],[2,"position","absolute","text-align","center",3,"id"],[2,"margin","auto"],["class","FavGoalDescriptionText",4,"ngIf"],[1,"progressBarContent"],[1,"progressPercent","redText","bold"],[1,"goalProgressBarContainer","progressBarContainer"],[1,"absolute"],[1,"progressBarMarker",3,"ngStyle"],["width","24","height","22","src","/static/img/icons/progressBarMarkerIcon2.png",1,"progressBarMarkerImg"],[1,"progressBarOnBkgrnd",2,"float","unset !important",3,"ngStyle"],["class","goalDetailProgressDescription favGoalDescription",4,"ngIf"],[3,"goalInput",4,"ngIf"],[1,"FavGoalDescriptionText"],["class","goalFavoriteIcon2","src","/static/img/icons/star_2_on.png","alt","Favorite Goal",4,"ngIf"],["src","/static/img/icons/star_2_on.png","alt","Favorite Goal",1,"goalFavoriteIcon2"],[1,"goalTypeIcon",2,"padding-top","0px",3,"src"],[2,"margin-top","4px"],["class","goalDetailProgressDescription",4,"ngIf"],[1,"goalMetric","blueText"],[1,"goalDetailProgressDescription"],[1,"goalTypeIcon",3,"src"],[1,"goalDetailProgressDescription","favGoalDescription"],["style","white-space: nowrap;",4,"ngIf"],[2,"white-space","nowrap"],[3,"goalInput"],["id","goalsPageMaxGoalsReached"],["target","_blank",3,"href"],[1,"goalsPageSetGoalText"],[1,"clear-both",3,"click"],["src","/static/img/icons/settings_sync.png",2,"width","30px","margin-top","-3px"],["style","clear:both; margin:40px;",4,"ngIf"],["class","fullGoalListContainer",4,"ngIf"],[2,"clear","both","margin","40px"],[1,"fullGoalListContainer"],["class","goalsDurationSegment",4,"ngIf"],[1,"goalsDurationSegment"],[1,"header-view",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],[2,"clear","both"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],["id","dailyGoalsList","class","goalslist list-group","data-icon","false",3,"hidden","opened",4,"ngFor","ngForOf"],["id","dailyGoalsList","data-icon","false",1,"goalslist","list-group",3,"hidden","opened"],[1,"goalsListItem",2,"min-height","100px","height","unset !important"],[2,"position","absolute",3,"id"],[2,"display","flex","width","100%","justify-content","center","flex-wrap","wrap"],[2,"display","flex","align-items","center"],[2,"flex-grow","1","display","flex","flex-direction","column","align-items","center"],[1,"goalDescriptionText",2,"margin-left","0px"],[1,"goalsListProgressPct"],["class","redText bold",4,"ngIf"],[1,"clearboth"],[1,"redText","bold"],["class","goalslist list-group","style","margin-bottom: 10px;","data-icon","false",3,"hidden","opened",4,"ngFor","ngForOf"],["data-icon","false",1,"goalslist","list-group",2,"margin-bottom","10px",3,"hidden","opened"],["class","goalDescriptionText",4,"ngIf"],["class","goalDescriptionText","style","margin-left:0px;",4,"ngIf"],["class","goalProgressText",4,"ngIf"],[1,"goalDescriptionText"],["style","margin-top:4px;",4,"ngIf"],[1,"goalProgressText"],["id","annualGoalsList","class","goalslist list-group","data-icon","false",3,"hidden","opened",4,"ngFor","ngForOf"],["id","annualGoalsList","data-icon","false",1,"goalslist","list-group",3,"hidden","opened"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,Ru,3,2,"div",2),i["\u0275\u0275template"](3,ju,1,0,"app-login-notify",3),i["\u0275\u0275template"](4,vh,4,3,"div",4),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn))},directives:[y.NgClass,y.NgIf,S.f,Yo.a,Wo.a,Wo.c,Wo.f,y.NgStyle,Iu,y.NgForOf],pipes:[M.c,y.DecimalPipe,y.UpperCasePipe,y.LowerCasePipe],styles:[".mat-expansion-indicator{margin-right:5px}  .mat-expansion-panel-body{padding:0!important}  .mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:0!important;border-top-left-radius:0!important}.progressBarContainer[_ngcontent-%COMP%]{width:256px;height:18px;background:transparent url(/static/img/bkgrnd/progressBarOffBkgrnd.png) 0 no-repeat;margin:auto}.progressBarOnBkgrnd[_ngcontent-%COMP%]{height:18px;background:transparent url(/static/img/bkgrnd/progressBarOnBkgrnd.png) 0 no-repeat;float:left}.absolute[_ngcontent-%COMP%]{position:absolute}.redText[_ngcontent-%COMP%]{color:#c82d33}.bold[_ngcontent-%COMP%]{font-weight:700}.progressBarMarkerImg[_ngcontent-%COMP%]{float:right;position:relative;left:12px}.goalProgressStats[_ngcontent-%COMP%]{margin-left:5px;font-size:14px;color:#6d6b6b}.addGoalEmbeded[_ngcontent-%COMP%]{float:left;width:100%;margin-top:5px}.goalsListDivider[_ngcontent-%COMP%]{margin-top:25px!important;background-color:#b2b2b2}.goalsFavItem[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:60px;background-position:0 0;padding:10px 0;border-bottom:0 solid #b2b2b2}.goalsSetContainer[_ngcontent-%COMP%]{text-decoration:none!important;border:0 solid #b2b2b2;float:left;width:100%;margin-bottom:20px}.FavGoalDescriptionText[_ngcontent-%COMP%]{width:100%;max-width:920px}.goalTypeIcon[_ngcontent-%COMP%]{width:50px;margin:auto;text-align:center;padding-top:10px}.goalTypeIconContainer[_ngcontent-%COMP%]{float:left;width:100%;text-align:center;margin-top:20px}.goals_progress2[_ngcontent-%COMP%]{padding-bottom:30px}.goals_history2[_ngcontent-%COMP%], .goals_progress2[_ngcontent-%COMP%]{float:left;width:100%}#goals_history_overlay[_ngcontent-%COMP%]{width:45%;float:right}.goalTopIcon[_ngcontent-%COMP%]{width:0;visibility:hidden}.goalFavIcon[_ngcontent-%COMP%]{float:none;margin-top:20px;margin-bottom:20px}.goalRightMore[_ngcontent-%COMP%]{margin:0}.goalsListItem[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:60px;background-position:10px 20px;margin:0;text-align:center}.goalsListItem[_ngcontent-%COMP%]:hover{background-color:rgba(226,227,228,.2)}.goalsListItem[_ngcontent-%COMP%]:active{background-color:rgba(226,227,228,.2)!important}.goalsDetailRow[_ngcontent-%COMP%]{padding:10px 15px .2em!important;background-color:transparent!important;background-image:url(/static/img/icons/right_arrow_gray.png)!important;background-repeat:no-repeat!important;background-position:100%!important;border:none!important;border-bottom:1px solid #b2b2b2!important}.goalDetailStats[_ngcontent-%COMP%]{border-bottom:0 solid #b2b2b2;padding:25px 25px 0;background-repeat:no-repeat;background-size:100px;background-position:0}.goalDetailProgressDescription[_ngcontent-%COMP%]{margin-bottom:10px;padding:0 20px 10px}.favGoalDescription[_ngcontent-%COMP%]{margin-top:10px}.goalProgressText[_ngcontent-%COMP%]{margin-top:0;margin-bottom:20px;font-size:18px;padding:0 20px 10px}.progressBarContent[_ngcontent-%COMP%]{clear:both;margin-top:20px;margin-bottom:20px}.mainGoaldesc[_ngcontent-%COMP%]{margin:auto;font-size:24px;font-weight:400;padding-top:10px}.goalIconImage[_ngcontent-%COMP%]{max-height:50px;max-width:50px;padding:0 5px}#goalProgressBar[_ngcontent-%COMP%]{display:inline-block;margin-top:10px}.deleteGoalButton[_ngcontent-%COMP%]{clear:both;margin:auto;text-align:center;padding-top:60px}.goalGraphTitle[_ngcontent-%COMP%]{text-align:center}.myGoalText[_ngcontent-%COMP%]{clear:both;margin-bottom:10px;font-size:24px}.goalIconPopoup[_ngcontent-%COMP%]{width:30px;margin-left:-45px;margin-top:-7px}.goalsDurationSegment[_ngcontent-%COMP%]{float:left;width:100%}.fullGoalListContainer[_ngcontent-%COMP%]{float:left;margin-bottom:60px;width:100%}#goalsPageSetGoalText[_ngcontent-%COMP%]{font-weight:400}.goalslist[_ngcontent-%COMP%]{clear:both;margin:0;background:unset}.progressPercent[_ngcontent-%COMP%]{font-size:18px;margin-top:10px}.goalsDivider[_ngcontent-%COMP%]{cursor:pointer;background-image:none!important;background-color:transparent!important;text-shadow:none!important;font-size:16px!important;font-weight:500!important;padding:10px 10px 10px 15px!important;border-top:none!important;border-right:none!important;border-left:none!important;margin-bottom:0;width:100%;float:left;clear:both;margin-top:0}#goalslist[_ngcontent-%COMP%]{margin-top:15px!important;border-top:5px solid #000}#goals_history_graph_canvas[_ngcontent-%COMP%], #goals_progress_graph_canvas[_ngcontent-%COMP%]{width:100%!important;max-height:300px!important}#goals_favorite_graph_canvas[_ngcontent-%COMP%]{width:97%!important;height:300px!important;margin:-15px}#goalsPageMainGoalProgress[_ngcontent-%COMP%]{font-size:18px;padding-bottom:10px}.goalOptions[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{color:#000!important}#headerGoalImage[_ngcontent-%COMP%]{max-width:500px;margin:0 auto 10px}#goalsListPageGoalProgress[_ngcontent-%COMP%]{font-size:16px;padding-bottom:0;text-align:center;margin:10px auto}#goalsPageMainGoalProgress[_ngcontent-%COMP%]{padding-bottom:0;text-align:center;margin:-5px auto}.goalListProgressDescription[_ngcontent-%COMP%]{margin-top:10px}.goalsListProgressPct[_ngcontent-%COMP%]{width:340px;text-align:right;margin:-20px auto}.goalsProgressTimeText[_ngcontent-%COMP%]{font-size:14px;color:#000;padding-bottom:10px}.goalOptions[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:20px!important;font-weight:400!important}#goalsPageMainGoalProgress[_ngcontent-%COMP%]{font-size:16px}.goalMetric[_ngcontent-%COMP%]{margin-top:4px;font-size:36px;font-weight:500}.goalMetricLarge[_ngcontent-%COMP%]{font-size:50px;font-weight:500}.fieldBorder50[_ngcontent-%COMP%]{border:1px solid #999;width:50%}.popupFieldLabel[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:inline;margin-left:5px;font-size:32px}.goalSelectLabel[_ngcontent-%COMP%]{margin-left:5px;font-size:32px;font-weight:400}#goalsPageSetGoal[_ngcontent-%COMP%]{margin:20px auto 40px;width:80%;max-width:640px;padding:17px;border-radius:6px;font-size:20px;font-weight:200;border:1px solid #b2b2b2;background-color:#4597cb;color:#fff;cursor:pointer;display:block}#goalsPageSetGoal[_ngcontent-%COMP%], .goalsPageSetGoalText[_ngcontent-%COMP%]{text-decoration:none!important;text-align:center}.goalsPageSetGoalText[_ngcontent-%COMP%]{text-shadow:none!important;margin:25px auto auto}#newGoalBtn2[_ngcontent-%COMP%]{float:left;padding-right:15px;margin-top:-10px}#goalsPageMaxGoalsReached[_ngcontent-%COMP%]{border-top:0 solid #ccc;padding:40px 20px 20px}.oneHalf[_ngcontent-%COMP%]{width:50%}.createGoalInput[_ngcontent-%COMP%]{color:#4597cb!important;font-size:24px!important;font-weight:400!important;padding:0;width:150px!important;border:none;border-bottom:2px solid #4597cb;float:left;text-align:center;text-transform:lowercase;border-radius:0!important}.borderGrey[_ngcontent-%COMP%]{border:none!important;border-bottom:1px solid #b2b2b2!important}.borderGreyLeft[_ngcontent-%COMP%]{border-left:1px solid #b2b2b2}.createGoalDialog[_ngcontent-%COMP%]{padding:0}.createGoalDialog[_ngcontent-%COMP%], .createGoalMDInput[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;text-align:center}.createGoalMDInput[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;color:#4597cb!important;border-radius:0!important;margin:20px auto!important;float:none}.mdinputcontainer[_ngcontent-%COMP%]{margin:0!important}.goalInputLabel[_ngcontent-%COMP%]{vertical-align:middle;font-weight:400;margin-bottom:0}.createGoalWizardActivity[_ngcontent-%COMP%]{margin:auto}#createGoalWizardActivity_dummy[_ngcontent-%COMP%], .createGoalWizardActivity[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;font-weight:400;font-size:24px!important;padding:0;width:320px;border-radius:0!important}.goalHeader[_ngcontent-%COMP%]{font-size:32px;padding-top:25px;padding-bottom:0;margin:auto;text-align:center;width:100%}.goalHeaderImage[_ngcontent-%COMP%]{float:left;width:75px;padding-right:20px}.goalDistanceInput[_ngcontent-%COMP%]{border:0 solid #000;min-width:320px;max-width:420px;margin:0 auto 10px}@media (min-width:768px){#createGoalWizardActivity_dummy[_ngcontent-%COMP%]{font-size:32px!important;width:420px}.goalHeader[_ngcontent-%COMP%]{padding-top:50px}.goalHeaderImage[_ngcontent-%COMP%]{width:150px;height:150px}}.accordion-section-content[_ngcontent-%COMP%]{display:none}#createGoalWizardSource[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;font-size:18px;font-weight:400;padding:0;border-radius:0!important}#setGoalHeader[_ngcontent-%COMP%]{margin:0 auto}#createGoalWizardWeightGoal_dummy[_ngcontent-%COMP%], #createGoalWizardWeightGoalA_dummy[_ngcontent-%COMP%], #createGoalWizardWeightGoalM_dummy[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;font-size:24px;font-weight:400;padding:0;width:320px!important;margin:auto;border-radius:0!important}.noBorder[_ngcontent-%COMP%]{border:none}.textCenter[_ngcontent-%COMP%]{text-align:center}.greyText[_ngcontent-%COMP%]{color:#999}.setGoalHeaderText[_ngcontent-%COMP%]{font-style:italic;line-height:1.5;text-align:center;margin:25px auto 0;width:95%}.goalEntry[_ngcontent-%COMP%]{margin-bottom:30px}.createGoalButton[_ngcontent-%COMP%], .goalEntry[_ngcontent-%COMP%]{text-align:center;font-size:20px}.createGoalButton[_ngcontent-%COMP%]{max-width:640px;width:90%;margin:40px auto 10px;padding-top:17px;padding-bottom:17px;border-radius:6px;border:1px solid #1e597e;background-color:#4597cb;color:#fff;cursor:pointer;font-weight:400;text-shadow:none;text-decoration:none!important;clear:both}.goalCreationText[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;float:left;padding-top:0;text-align:right}.weightGoalCreationText[_ngcontent-%COMP%]{float:right;text-align:center;margin:0 auto 40px}.weightGoalCreationMetricText[_ngcontent-%COMP%], .weightGoalCreationText[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;text-transform:lowercase}.sinkLabelGoal[_ngcontent-%COMP%]{margin-top:12px!important}#createGoalWizardWeightLastDateDisplay[_ngcontent-%COMP%]{font-size:10px;margin:-20px 0 0 110px;color:#b2b2b2}.createGoalDifferenceDisplay[_ngcontent-%COMP%]{text-align:center}#createGoalWizardWeightDiffDisplay[_ngcontent-%COMP%]{margin-top:10px;color:#56c056;font-size:40px;font-weight:400;margin-bottom:2px}#createGoalWizardWeightObjectiveDisplay[_ngcontent-%COMP%]{margin:auto;text-align:center}.createWeightGoalDiff[_ngcontent-%COMP%]{margin:0 auto;text-align:center;width:100%}.inputOnlyWeightGoal[_ngcontent-%COMP%]{border:none!important;border-bottom:2px #4597cb!important;color:#4597cb;margin:20px!important;padding:0!important;margin-bottom:0;position:relative;bottom:10px;left:5px;font-size:24px!important;font-weight:400;border-radius:0!important}.icon64[_ngcontent-%COMP%]{width:64px;padding-left:2px;padding-top:5px;margin-bottom:10px}.healthListItem[_ngcontent-%COMP%]{background:#fff;clear:both}.healthListItem[_ngcontent-%COMP%], .healthListItem[_ngcontent-%COMP%]:hover{border:none;border-top:1px solid #b2b2b2;border-bottom:0 solid #b2b2b2;width:100%}.healthListItem[_ngcontent-%COMP%]:hover{background:#eaebec}.myGoalTextContainer[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:0;text-align:center;background-size:0}.goalDescriptionText[_ngcontent-%COMP%]{width:100%;max-width:920px;padding-bottom:4px;margin:10px 0 0;padding-top:1px;color:#4597cb}.goalDescriptionTextCUHP[_ngcontent-%COMP%]{width:100%;max-width:920px;padding-bottom:4px;text-align:center;margin:0 auto;font-size:14px}.goalDescriptionText[_ngcontent-%COMP%]:hover{text-decoration:none}@media (max-width:500px){.goalDescriptionText[_ngcontent-%COMP%]{max-width:230px;text-align:center}#goalsListPageGoalProgress[_ngcontent-%COMP%], #goalsPageMainGoalProgress[_ngcontent-%COMP%]{max-width:300px}.goalsListItem[_ngcontent-%COMP%]{background-size:60px}.goalsListItem[_ngcontent-%COMP%]:hover{background-color:unset}.achievementsSection[_ngcontent-%COMP%]{padding:10px 5px 20px}.achievementsHeader[_ngcontent-%COMP%]{margin-left:0}.goalMetric[_ngcontent-%COMP%]{font-size:80px}}.goalOptions[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-left:100px;text-align:left;height:82px;padding-top:30px;margin-top:-18px}.goalOptions[_ngcontent-%COMP%]{margin-top:-12px}.goalDetailLink[_ngcontent-%COMP%]{margin-top:0!important;background-color:transparent!important;border:none!important}#setGoalHeader[_ngcontent-%COMP%]{max-width:500px;margin:20px auto 5px}.setGoalHeaderImg[_ngcontent-%COMP%]{width:100%;padding-bottom:20px}.goalSmallIcon[_ngcontent-%COMP%]{width:44px!important;float:left;margin:-10px 30px 0 20px}.goalBackBar[_ngcontent-%COMP%]{background-color:#eaebec;width:100%;height:34px;text-align:left}.setGoalHeaderTextMain[_ngcontent-%COMP%]{line-height:1.5;text-align:center;margin:auto;font-size:24px;color:#4597cb;font-family:Helvetica neue,Helvetica,sans-serif!important}.ui-listview[_ngcontent-%COMP%]   .ui-li-icon[_ngcontent-%COMP%]{max-height:28px!important;max-width:28px!important;left:10px!important;top:.3em!important}#back[_ngcontent-%COMP%]{font-size:20px;width:100%;height:40px;background:#b2b2b2;padding-top:0}li[_ngcontent-%COMP%]{cursor:pointer}a[_ngcontent-%COMP%]:hover{text-decoration:none}.goalCreateImg[_ngcontent-%COMP%]{float:right;margin-right:20px;width:30px}.goalSelectionPage[_ngcontent-%COMP%]{padding:0 0 30px!important;max-width:768px;margin:auto}.setGoalListContainer[_ngcontent-%COMP%]{padding:0 0 60px;max-width:768px;margin:auto;clear:both}@media(min-width:769px){.setGoalListContainer[_ngcontent-%COMP%]{margin:0 auto 80px;padding:0;max-width:768px}.goalDetailIcon[_ngcontent-%COMP%]{margin:-10px auto 10px}.goalDetailIcon[_ngcontent-%COMP%], .goals_history2[_ngcontent-%COMP%], .goals_progress2[_ngcontent-%COMP%]{float:left;width:100%}#goals_history_overlay[_ngcontent-%COMP%]{width:100%;float:right}}@media(max-width:480px){.myGoalTextContainer[_ngcontent-%COMP%]{padding-top:0;background-position:100% 0;background-repeat:no-repeat;background-size:50px}.mainGoaldesc[_ngcontent-%COMP%]{padding-top:15px;padding-bottom:5px}.goalTopIcon[_ngcontent-%COMP%]{width:50px;visibility:visible;float:right}.goalsListItem[_ngcontent-%COMP%]{background-size:40px;background-position:20px 40px;padding:0}.setGoalListContainer[_ngcontent-%COMP%]{padding:0 5px}.smallGoalText[_ngcontent-%COMP%]{font-size:16px!important}.goalDetailStats[_ngcontent-%COMP%]{background-size:50px;background-position:top;margin-top:0;padding-top:10px;padding-bottom:30px;clear:both}.goalFavoriteIcon[_ngcontent-%COMP%]{float:right;margin-right:0}.myGoalText[_ngcontent-%COMP%]{float:none}.smallInputLabel[_ngcontent-%COMP%]{margin-bottom:-60px;margin-top:-60px}}.setGoalChoice[_ngcontent-%COMP%]{margin:0 0 20px;border-radius:4px;border-color:#b2b2b2}.setGoalChoice[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{background-color:rgba(226,227,228,.2)}.setGoalHeaderClear[_ngcontent-%COMP%]{clear:both;height:5px}@media (max-width:767px){.setGoalHeaderImg[_ngcontent-%COMP%]{padding-top:0}#createGoalWizardWeightLastDateDisplay[_ngcontent-%COMP%]{margin-top:-25px;text-align:center;margin-bottom:20px}.setGoalHeaderContainer[_ngcontent-%COMP%]{background-size:100px}.setGoalHeaderText[_ngcontent-%COMP%]{background-size:50px;margin-top:20px}.goalsFavItem[_ngcontent-%COMP%]{padding-top:0;margin-bottom:0}}@media (max-width:360px){.setGoalHeaderText[_ngcontent-%COMP%]{background-image:none}.goalSmallIcon[_ngcontent-%COMP%]{margin-left:6px;margin-top:-10px;width:44px!important;margin-right:10px}}@media (max-width:330px){.setGoalHeaderTextMain[_ngcontent-%COMP%]{margin-top:20px}.setGoalHeaderContainer[_ngcontent-%COMP%]{background-image:none}}.goalEveryText[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px;padding-right:10px;text-align:right;float:left}.goalEveryInput[_ngcontent-%COMP%]{padding-top:36px;padding-bottom:20px;padding-left:0;float:left;max-width:200px;border-radius:0!important}.goalMeasureWithText[_ngcontent-%COMP%]{text-align:right;float:left;padding-bottom:0;padding-right:10px;padding-top:15px;font-weight:400}.goalMeasureWithInput[_ngcontent-%COMP%]{text-align:left;float:left;width:200px;padding-top:15px}.goalCancelText[_ngcontent-%COMP%]{float:right;width:160px}.goalTitleText[_ngcontent-%COMP%]{font-weight:400;box-sizing:unset;outline:none!important;margin:0;padding:36px 0 36px 100px}#goalDuration[_ngcontent-%COMP%]{max-width:200px}.weightGoalCreationPeriod[_ngcontent-%COMP%]{width:500px;text-align:center;margin:auto auto 20px}.weightGoalInput[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;padding:0;border-radius:0!important;font-size:24px}.goalSelect[_ngcontent-%COMP%]{margin:30px auto 40px}.mainGoalEntrySection[_ngcontent-%COMP%]{background-color:transparent;width:500px;min-height:370px;margin:auto}.popupErrorAndButtons[_ngcontent-%COMP%]{margin:auto;width:100%;text-align:center;padding-top:10px}.openArrow[_ngcontent-%COMP%]{float:right;padding-right:0}.midGoalText[_ngcontent-%COMP%]{width:40%}@media (max-width:767px){.mainGoalEntrySection[_ngcontent-%COMP%]{background-color:transparent;width:auto;min-height:none}.openArrow[_ngcontent-%COMP%]{padding-right:6px}.goalTitleText[_ngcontent-%COMP%]{padding-left:0;padding-top:30px;text-align:left;margin-left:80px}.midGoalText[_ngcontent-%COMP%]{width:auto;padding-left:20px}.oneHalf[_ngcontent-%COMP%]{width:auto}.goalMeasureWithInput[_ngcontent-%COMP%], .oneHalf[_ngcontent-%COMP%]{padding-left:10px}.weightGoalCreationPeriod[_ngcontent-%COMP%]{width:auto}.weightGoalCurrentText[_ngcontent-%COMP%]{margin-left:0;padding-left:0}.weightGoalCreationText[_ngcontent-%COMP%]{margin-bottom:20px}#createGoalWizardWeightCurrent[_ngcontent-%COMP%]{float:none;text-align:center;margin:auto auto 30px 120px}}@media (max-width:480px){.goalTitleText[_ngcontent-%COMP%]{margin-left:0}.goalDetailProgressDescription[_ngcontent-%COMP%]{margin-top:0;font-size:18px}}@media (max-width:380px){  .mat-expansion-indicator{right:0;position:absolute}.goalsListProgressPct[_ngcontent-%COMP%]{text-align:center;margin:0}}"]}),e}(),bh=n("9pHg"),xh=n("1OyB"),_h=n("vuIU"),wh=n("ReuC"),Sh=n("foSv"),Ch=n("Ji7U"),kh=n("LK+K"),Oh=w.a||_,Eh=new i.InjectionToken("MAT_MOMENT_DATE_ADAPTER_OPTIONS",{providedIn:"root",factory:function(){return{useUtc:!1}}});function Mh(e,t){for(var n=Array(e),i=0;i<e;i++)n[i]=t(i);return n}var Ih=function(){var e=function(e){Object(Ch.a)(n,e);var t=Object(kh.a)(n);function n(e,i){var r;return Object(xh.a)(this,n),(r=t.call(this))._options=i,r.setLocale(e||Oh.locale()),r}return Object(_h.a)(n,[{key:"setLocale",value:function(e){var t=this;Object(wh.a)(Object(Sh.a)(n.prototype),"setLocale",this).call(this,e);var i=Oh.localeData(e);this._localeData={firstDayOfWeek:i.firstDayOfWeek(),longMonths:i.months(),shortMonths:i.monthsShort(),dates:Mh(31,function(e){return t.createDate(2017,0,e+1).format("D")}),longDaysOfWeek:i.weekdays(),shortDaysOfWeek:i.weekdaysShort(),narrowDaysOfWeek:i.weekdaysMin()}}},{key:"getYear",value:function(e){return this.clone(e).year()}},{key:"getMonth",value:function(e){return this.clone(e).month()}},{key:"getDate",value:function(e){return this.clone(e).date()}},{key:"getDayOfWeek",value:function(e){return this.clone(e).day()}},{key:"getMonthNames",value:function(e){return"long"==e?this._localeData.longMonths:this._localeData.shortMonths}},{key:"getDateNames",value:function(){return this._localeData.dates}},{key:"getDayOfWeekNames",value:function(e){return"long"==e?this._localeData.longDaysOfWeek:"short"==e?this._localeData.shortDaysOfWeek:this._localeData.narrowDaysOfWeek}},{key:"getYearName",value:function(e){return this.clone(e).format("YYYY")}},{key:"getFirstDayOfWeek",value:function(){return this._localeData.firstDayOfWeek}},{key:"getNumDaysInMonth",value:function(e){return this.clone(e).daysInMonth()}},{key:"clone",value:function(e){return e.clone().locale(this.locale)}},{key:"createDate",value:function(e,t,n){var i=this._createMoment({year:e,month:t,date:n}).locale(this.locale);return i.isValid(),i}},{key:"today",value:function(){return this._createMoment().locale(this.locale)}},{key:"parse",value:function(e,t){return e&&"string"==typeof e?this._createMoment(e,t,this.locale):e?this._createMoment(e).locale(this.locale):null}},{key:"format",value:function(e,t){return e=this.clone(e),this.isValid(e),e.format(t)}},{key:"addCalendarYears",value:function(e,t){return this.clone(e).add({years:t})}},{key:"addCalendarMonths",value:function(e,t){return this.clone(e).add({months:t})}},{key:"addCalendarDays",value:function(e,t){return this.clone(e).add({days:t})}},{key:"toIso8601",value:function(e){return this.clone(e).format()}},{key:"deserialize",value:function(e){var t;if(e instanceof Date)t=this._createMoment(e).locale(this.locale);else if(this.isDateInstance(e))return this.clone(e);if("string"==typeof e){if(!e)return null;t=this._createMoment(e,Oh.ISO_8601).locale(this.locale)}return t&&this.isValid(t)?this._createMoment(t).locale(this.locale):Object(wh.a)(Object(Sh.a)(n.prototype),"deserialize",this).call(this,e)}},{key:"isDateInstance",value:function(e){return Oh.isMoment(e)}},{key:"isValid",value:function(e){return this.clone(e).isValid()}},{key:"invalid",value:function(){return Oh.invalid()}},{key:"_createMoment",value:function(e,t,n){var i=this._options||{},r=i.strict;return i.useUtc?Oh.utc(e,t,n,r):Oh(e,t,n,r)}}]),n}(m.c);return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](m.f,8),i["\u0275\u0275inject"](Eh,8))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),Ph=n("r3oX"),Th=n("1jcm");function Dh(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",17),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,1,"ROOT.Schedule")))}function Lh(e,t){1&e&&i["\u0275\u0275element"](0,"img",18)}function Rh(e,t){1&e&&i["\u0275\u0275element"](0,"img",19)}function jh(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.workoutType)}}function Ah(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.routine.name)}}function Fh(e,t){1&e&&i["\u0275\u0275element"](0,"img",30)}function Bh(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"mat-card",22),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](2).createEditSchedule(e)}),i["\u0275\u0275elementStart"](2,"mat-card-header"),i["\u0275\u0275elementStart"](3,"div",23),i["\u0275\u0275element"](4,"img",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"mat-card-subtitle",25),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"mat-card-title"),i["\u0275\u0275template"](8,jh,2,1,"span",13),i["\u0275\u0275template"](9,Ah,2,1,"span",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"mat-card-actions",26),i["\u0275\u0275template"](11,Fh,1,0,"img",27),i["\u0275\u0275elementStart"](12,"button",28),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](2).deleteSchedule(r),e.stopPropagation()}),i["\u0275\u0275elementStart"](13,"i",29),i["\u0275\u0275text"](14,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate"]("src",r.icon,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.timestamp," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.routine_id),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routine_id),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.routine_id)}}function zh(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275template"](1,Bh,15,5,"div",21),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.oneTimeSchedules)}}function Nh(e,t){1&e&&i["\u0275\u0275element"](0,"img",18)}function Hh(e,t){1&e&&i["\u0275\u0275element"](0,"img",19)}function Vh(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.workoutType)}}function Yh(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.routine.name)}}function Wh(e,t){1&e&&i["\u0275\u0275element"](0,"img",30)}function Gh(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"mat-card",22),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](3).createEditSchedule(e)}),i["\u0275\u0275elementStart"](2,"mat-card-header"),i["\u0275\u0275elementStart"](3,"div",23),i["\u0275\u0275element"](4,"img",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"mat-card-subtitle",25),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"mat-card-title"),i["\u0275\u0275template"](8,Vh,2,1,"span",13),i["\u0275\u0275template"](9,Yh,2,1,"span",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"mat-card-subtitle"),i["\u0275\u0275text"](11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"mat-card-actions",26),i["\u0275\u0275template"](13,Wh,1,0,"img",27),i["\u0275\u0275elementStart"](14,"button",28),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](3).deleteSchedule(r),e.stopPropagation()}),i["\u0275\u0275elementStart"](15,"i",29),i["\u0275\u0275text"](16,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate"]("src",r.icon,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.time),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.routine_id),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routine_id),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.description),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.routine_id)}}function Uh(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275template"](1,Gh,17,6,"div",21),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.dailySchedules)}}function qh(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",7),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showDailySchedules=!e.showDailySchedules}),i["\u0275\u0275template"](2,Nh,1,0,"img",8),i["\u0275\u0275template"](3,Hh,1,0,"img",9),i["\u0275\u0275elementStart"](4,"div",10),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"div",11),i["\u0275\u0275template"](7,Uh,2,1,"div",12),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showDailySchedules),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showDailySchedules),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.Daily_txt," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showDailySchedules)}}function Zh(e,t){1&e&&i["\u0275\u0275element"](0,"img",18)}function $h(e,t){1&e&&i["\u0275\u0275element"](0,"img",19)}function Xh(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.workoutType)}}function Kh(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.routine.name)}}function Jh(e,t){1&e&&i["\u0275\u0275element"](0,"img",30)}function Qh(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"mat-card",22),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](3).createEditSchedule(e)}),i["\u0275\u0275elementStart"](2,"mat-card-header"),i["\u0275\u0275elementStart"](3,"div",23),i["\u0275\u0275element"](4,"img",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"mat-card-subtitle",25),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"mat-card-title"),i["\u0275\u0275template"](8,Xh,2,1,"span",13),i["\u0275\u0275template"](9,Kh,2,1,"span",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"mat-card-subtitle"),i["\u0275\u0275text"](11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"mat-card-actions",26),i["\u0275\u0275template"](13,Jh,1,0,"img",27),i["\u0275\u0275elementStart"](14,"button",28),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](3).deleteSchedule(r),e.stopPropagation()}),i["\u0275\u0275elementStart"](15,"i",29),i["\u0275\u0275text"](16,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate"]("src",r.icon,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",a.weekDay_txt," ",r.time,""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.routine_id),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routine_id),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.description),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.routine_id)}}function em(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275template"](1,Qh,17,7,"div",21),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.weeklySchedules)}}function tm(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",7),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showWeeklySchedules=!e.showWeeklySchedules}),i["\u0275\u0275template"](2,Zh,1,0,"img",8),i["\u0275\u0275template"](3,$h,1,0,"img",9),i["\u0275\u0275elementStart"](4,"div",10),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"div",11),i["\u0275\u0275template"](7,em,2,1,"div",12),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showWeeklySchedules),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showWeeklySchedules),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.Weekly_txt," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showWeeklySchedules)}}function nm(e,t){1&e&&i["\u0275\u0275element"](0,"img",18)}function im(e,t){1&e&&i["\u0275\u0275element"](0,"img",19)}function rm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.workoutType)}}function am(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.routine.name)}}function om(e,t){1&e&&i["\u0275\u0275element"](0,"img",30)}function sm(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"mat-card",22),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](3).createEditSchedule(e)}),i["\u0275\u0275elementStart"](2,"mat-card-header"),i["\u0275\u0275elementStart"](3,"div",23),i["\u0275\u0275element"](4,"img",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"mat-card-subtitle",25),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"mat-card-title"),i["\u0275\u0275template"](8,rm,2,1,"span",13),i["\u0275\u0275template"](9,am,2,1,"span",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"mat-card-subtitle"),i["\u0275\u0275text"](11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"mat-card-actions",26),i["\u0275\u0275template"](13,om,1,0,"img",27),i["\u0275\u0275elementStart"](14,"button",28),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](3).deleteSchedule(r),e.stopPropagation()}),i["\u0275\u0275elementStart"](15,"i",29),i["\u0275\u0275text"](16,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate"]("src",r.icon,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate4"]("",r.time," ",a.on_day_txt," ",r.monthDay," ",a.day_append_txt,""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.routine_id),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routine_id),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.description),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.routine_id)}}function lm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275template"](1,sm,17,9,"div",21),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.monthlySchedules)}}function cm(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",7),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showMonthlySchedules=!e.showMonthlySchedules}),i["\u0275\u0275template"](2,nm,1,0,"img",8),i["\u0275\u0275template"](3,im,1,0,"img",9),i["\u0275\u0275elementStart"](4,"div",10),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"div",11),i["\u0275\u0275template"](7,lm,2,1,"div",12),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showMonthlySchedules),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showMonthlySchedules),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.Monthly_txt," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showMonthlySchedules)}}function dm(e,t){1&e&&i["\u0275\u0275element"](0,"img",18)}function um(e,t){1&e&&i["\u0275\u0275element"](0,"img",19)}function pm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.workoutType)}}function hm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.routine.name)}}function mm(e,t){1&e&&i["\u0275\u0275element"](0,"img",30)}function gm(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"mat-card",22),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](3).createEditSchedule(e)}),i["\u0275\u0275elementStart"](2,"mat-card-header"),i["\u0275\u0275elementStart"](3,"div",23),i["\u0275\u0275element"](4,"img",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"mat-card-subtitle",25),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"mat-card-title"),i["\u0275\u0275template"](8,pm,2,1,"span",13),i["\u0275\u0275template"](9,hm,2,1,"span",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"mat-card-subtitle"),i["\u0275\u0275text"](11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"mat-card-actions",26),i["\u0275\u0275template"](13,mm,1,0,"img",27),i["\u0275\u0275elementStart"](14,"button",28),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](3).deleteSchedule(r),e.stopPropagation()}),i["\u0275\u0275elementStart"](15,"i",29),i["\u0275\u0275text"](16,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate"]("src",r.icon,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",r.time," on ",r.shortDate,""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.routine_id),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routine_id),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.description),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.routine_id)}}function fm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275template"](1,gm,17,7,"div",21),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.yearlySchedules)}}function vm(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",7),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showYearlySchedules=!e.showYearlySchedules}),i["\u0275\u0275template"](2,dm,1,0,"img",8),i["\u0275\u0275template"](3,um,1,0,"img",9),i["\u0275\u0275elementStart"](4,"div",10),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"div",11),i["\u0275\u0275template"](7,fm,2,1,"div",12),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showYearlySchedules),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showYearlySchedules),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.Yearly_txt," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showYearlySchedules)}}var ym=function(e){return{"dark-theme":e}};function bm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"h4",35),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.Update_Schedule_txt)}}function xm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"h4",35),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.Create_Schedule_txt)}}function _m(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",31),i["\u0275\u0275elementStart"](1,"a",32),i["\u0275\u0275element"](2,"img",33),i["\u0275\u0275template"](3,bm,3,1,"h4",34),i["\u0275\u0275template"](4,xm,3,1,"h4",34),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.editing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.editing)}}function wm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.workoutTypeName)}}function Sm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",38),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n[0]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n[1]," ")}}function Cm(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field"),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"mat-select",36),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().changeWorkoutType(e)}),i["\u0275\u0275template"](4,Sm,2,2,"mat-option",37),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.Workout_Type_txt),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",r.availableWorkoutTypes)}}function km(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",39),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.routineName,"")}}function Om(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",38),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.key),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function Em(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field"),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"mat-select",40),i["\u0275\u0275template"](4,Om,2,2,"mat-option",37),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.Structured_Workout_txt),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",n.selectedRoutines)}}function Mm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.Update_txt)}}function Im(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.Create_txt)}}function Pm(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",41),i["\u0275\u0275elementStart"](1,"div",42),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,1,"ROOT.Upcoming")," "))}function Tm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td"),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"td",43),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.dateDisplay," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.timeDisplay," ")}}var Dm=function(){function e(e,t,n,i,r,a,o){var s=this;this.titleService=e,this.router=t,this.scheduleService=n,this.translate=i,this.WorkoutTypes=r,this.dialog=a,this.ThemeService=o,this.dailySchedules=[],this.weeklySchedules=[],this.monthlySchedules=[],this.yearlySchedules=[],this.oneTimeSchedules=[],this.isDarkTheme=!1,this.showOneTimeSchedules=!0,this.showDailySchedules=!0,this.showWeeklySchedules=!0,this.showMonthlySchedules=!0,this.showYearlySchedules=!0,this.Schedule_txt="Schedule",this.One_Time_txt="ONE TIME",this.Daily_txt="DAILY",this.Weekly_txt="WEEKLY",this.Monthly_txt="MONTHLY",this.Yearly_txt="YEARLY",this.On_txt="On",this.on_day_txt="on day",this.day_append_txt="",this.weekDay_txt="",this.Monday_txt="Monday",this.Tuesday_txt="Tuesday",this.Wednesday_txt="Wednesday",this.Thursday_txt="Thursday",this.Friday_txt="Friday",this.Saturday_txt="Saturday",this.Sunday_txt="Sunday",this.Schedule_quote_txt="\u201cA plan is what, a schedule is when. It takes both a plan and a schedule to get things done.\u201d",this.Schedule_quote_author_txt="Peter Turla",this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){s.localize(e.lang)})}return e.prototype.localize=function(e){"es"===e?(this.Schedule_txt="Calendario",this.One_Time_txt="Una vez",this.Daily_txt="Diario",this.Weekly_txt="Semanal",this.Monthly_txt="Mensual",this.Yearly_txt="Anual",this.On_txt="En",this.on_day_txt="el d\xeda",this.Monday_txt="Lunes",this.Tuesday_txt="Martes",this.Wednesday_txt="Mi\xe9rcoles",this.Thursday_txt="Jueves",this.Friday_txt="Viernes",this.Saturday_txt="S\xe1bado",this.Sunday_txt="Domingo",this.Schedule_quote_txt="\u201cUn plan es qu\xe9, un horario es cu\xe1ndo. Se necesita tanto un plan como un cronograma para hacer las cosas.\u201d",this.Schedule_quote_author_txt="Peter Turla"):"fr"==e?(this.Schedule_txt="Programme",this.One_Time_txt="Une fois",this.Daily_txt="Du quotidien",this.Weekly_txt="Hebdomadaire",this.Monthly_txt="Mensuel",this.Yearly_txt="Annuel",this.On_txt="Sur",this.on_day_txt="del giorno",this.Monday_txt="lundi",this.Tuesday_txt="mardi",this.Wednesday_txt="mercredi ",this.Thursday_txt="jeudi",this.Friday_txt="vendredi",this.Saturday_txt="samedi",this.Sunday_txt="dimanche",this.Schedule_quote_txt="\u201cUn plan c'est quoi, un horaire c'est quand. Il faut \xe0 la fois un plan et un calendrier pour faire avancer les choses.\u201d",this.Schedule_quote_author_txt="Peter Turla"):"it"==e?(this.Schedule_txt="Programma",this.One_Time_txt="Una volta",this.Daily_txt="Quotidiano",this.Weekly_txt="Settimanalmente",this.Monthly_txt="Mensile",this.Yearly_txt="Annuale",this.On_txt="Sopra",this.on_day_txt="del giorno",this.Monday_txt="Luned\xec",this.Tuesday_txt="Marted\xec",this.Wednesday_txt="Mercoled\xec",this.Thursday_txt="Gioved\xec",this.Friday_txt="Venerd\xec",this.Saturday_txt="Sabato",this.Sunday_txt="Domenica",this.Schedule_quote_txt="\u201cUn piano \xe8 cosa, un programma \xe8 quando. Ci vogliono sia un piano che un programma per fare le cose.\u201d",this.Schedule_quote_author_txt="Peter Turla"):"de"==e&&(this.Schedule_txt="Zeitplan",this.One_Time_txt="Einmal",this.Daily_txt="T\xe4glich",this.Weekly_txt="W\xf6chentlich",this.Monthly_txt="Monatlich",this.Yearly_txt="J\xe4hrlich",this.On_txt="Auf",this.on_day_txt="Uhr am",this.day_append_txt="Tag",this.Monday_txt="Montag",this.Tuesday_txt="Dienstag",this.Wednesday_txt="Mittwoch",this.Thursday_txt="Donnerstag",this.Friday_txt="Freitag",this.Saturday_txt="Samstag",this.Sunday_txt="Sonntag",this.Schedule_quote_txt="\u201cEin Plan ist was, ein Zeitplan ist wann. Es braucht sowohl einen Plan als auch einen Zeitplan, um die Dinge zu erledigen.\u201d",this.Schedule_quote_author_txt="Peter Turla")},e.prototype.createEditSchedule=function(e){this.router.navigate(e?["/edit_schedule",e.id]:["/create_schedule"])},e.prototype.deleteSchedule=function(e){var t=this;this.scheduleService.deleteSchedule(e.id).subscribe(function(e){t.getScheduled()})},e.prototype.getScheduled=function(){var e=this;this.showLoadingOverlay=!0,this.dailySchedules=[],this.weeklySchedules=[],this.monthlySchedules=[],this.yearlySchedules=[],this.oneTimeSchedules=[],this.scheduleService.listSchedules().subscribe(function(t){for(var n=0;n<t.response.schedules.length;n++){var i=new bh.a(t.response.schedules[n],e.WorkoutTypes,e.translate.currentLang);i.isDaily?e.dailySchedules.push(i):i.isOneTime?(console.log(i.weekDay+" Weekday"),(i.weekDay="Monday")?e.weekDay_txt=e.Monday_txt:(i.weekDay="Tuesday")?e.weekDay_txt=e.Tuesday_txt:(i.weekDay="Wednesday")?e.weekDay_txt=e.Wednesday_txt:(i.weekDay="Thursday")?e.weekDay_txt=e.Thursday_txt:(i.weekDay="Friday")?e.weekDay_txt=e.Friday_txt:(i.weekDay="Saturday")?e.weekDay_txt=e.Saturday_txt:(i.weekDay="Sunday")&&(e.weekDay_txt=e.Sunday_txt),e.oneTimeSchedules.push(i)):i.isWeekly?e.weeklySchedules.push(i):i.isMonthly?e.monthlySchedules.push(i):i.isYearly&&e.yearlySchedules.push(i)}e.showLoadingOverlay=!1})},e.prototype.ngOnInit=function(){this.getScheduled(),this.isDarkTheme=this.ThemeService.isDarkTheme},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](bh.b),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-scheduling"]],decls:25,vars:18,consts:[[1,"loading-overlay",3,"hidden"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[1,"sectionStructure"],["mat-stroked-button","","aria-label","Schedule Activities",1,"themedButton","floatright",3,"click"],["src","/static/img/greenplusbutton2.png",2,"width","20px"],[2,"clear","both","float","left","width","100%"],[1,"header-view",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],[2,"clear","both"],["class","section-card",4,"ngIf"],[4,"ngIf"],[1,"scheduleQuote"],[2,"float","right","text-align","right"],[1,"main-menu-section-heading"],[1,"title"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"section-card"],[4,"ngFor","ngForOf"],[2,"padding","5px","cursor","pointer",3,"click"],["mat-card-avatar","",1,"schedule-icon-div"],[1,"schedule-icon",3,"src"],[2,"margin-bottom","4px","margin-top","5px"],[2,"margin-right","5px","flex-grow","1","text-align","right"],["style","width:40px;padding-right: 10px","src","/static/img/structured-workouts-icon.png",4,"ngIf"],["mat-stroked-button","",3,"click"],[1,"material-icons",2,"font-size","24px"],["src","/static/img/structured-workouts-icon.png",2,"width","40px","padding-right","10px"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,Dh,5,3,"div",2),i["\u0275\u0275elementStart"](3,"div",3),i["\u0275\u0275elementStart"](4,"button",4),i["\u0275\u0275listener"]("click",function(){return t.createEditSchedule()}),i["\u0275\u0275element"](5,"img",5),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",6),i["\u0275\u0275elementStart"](9,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showOneTimeSchedules=!t.showOneTimeSchedules}),i["\u0275\u0275template"](10,Lh,1,0,"img",8),i["\u0275\u0275template"](11,Rh,1,0,"img",9),i["\u0275\u0275elementStart"](12,"div",10),i["\u0275\u0275text"](13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](14,"div",11),i["\u0275\u0275template"](15,zh,2,1,"div",12),i["\u0275\u0275template"](16,qh,8,4,"div",13),i["\u0275\u0275template"](17,tm,8,4,"div",13),i["\u0275\u0275template"](18,cm,8,4,"div",13),i["\u0275\u0275template"](19,vm,8,4,"div",13),i["\u0275\u0275elementStart"](20,"div",14),i["\u0275\u0275elementStart"](21,"h3"),i["\u0275\u0275text"](22),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"p",15),i["\u0275\u0275text"](24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](16,ym,t.isDarkTheme)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,14,"ROOT.Schedule")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!t.showOneTimeSchedules),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOneTimeSchedules),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",t.One_Time_txt," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.showOneTimeSchedules),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.dailySchedules.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.weeklySchedules.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.monthlySchedules.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.yearlySchedules.length>0),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](t.Schedule_quote_txt),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("- ",t.Schedule_quote_author_txt,""))},directives:[y.NgClass,y.NgIf,k.b,y.NgForOf,He.a,He.d,He.c,He.f,He.g,He.b],pipes:[M.c],styles:[".testpanel[_ngcontent-%COMP%]{max-height:300px!important;min-height:100px!important}.ng-tns-c14-7[_ngcontent-%COMP%], .ngx-timepicker-control__input[_ngcontent-%COMP%], .ngx-timepicker-field-example[_ngcontent-%COMP%]{font-size:14px!important}.scheduleQuote[_ngcontent-%COMP%]{padding:20px;max-width:960px;text-align:center}.section-card[_ngcontent-%COMP%]{margin:5px 0 20px}.schedule-icon[_ngcontent-%COMP%]{width:50px;margin:8px 20px;border:0 solid #b2b2b2}.schedule-icon-div[_ngcontent-%COMP%]{float:left;width:80px;padding-right:20px}.panel-heading[_ngcontent-%COMP%]{margin:10px 0 0;border-bottom:1px solid}.time-until-next[_ngcontent-%COMP%]{width:100%;clear:both;float:left}.select-repeat[_ngcontent-%COMP%]{display:flex;justify-content:space-evenly;clear:both;width:100%}.upcoming-schedule[_ngcontent-%COMP%]{text-transform:uppercase;background-color:#f5f5f5;padding-left:5px}.mat-slide-toggle[_ngcontent-%COMP%]{padding:20px}.upcoming-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:10px 0}"]}),e}(),Lm=function(e){function t(t,n,i,r,a,o,s,l,c,d,u,p){var h=e.call(this,t,n,i,r,null,o,s,null,c,d,u,p)||this;return h.ScheduleService=t,h.translate=n,h.formBuilder=i,h.ThemeService=r,h.dialogRef=a,h.routineService=o,h.accountService=s,h.data=l,h.WorkoutTypes=c,h.window=d,h.router=u,h.route=p,h}return Object(te.__extends)(t,e),t.prototype.ngOnInit=function(){var t=this,n=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});this.scheduleId=this.route.snapshot.paramMap.get("scheduleId"),this.routineKey=n.get("routineKey"),this.scheduleId?this.ScheduleService.getSchedule(this.scheduleId).subscribe(function(n){t.schedule=new bh.a(n.response,t.WorkoutTypes,t.translate.currentLang),console.log("SCID: "+t.scheduleId),e.prototype.incomingSchedule.call(t,t.schedule),e.prototype.ngOnInit.call(t),e.prototype.getRoutines.call(t,t.schedule.routineKey?t.schedule.routine_id:t.routineKey)}):(e.prototype.incomingSchedule.call(this,this.schedule),e.prototype.ngOnInit.call(this),e.prototype.getRoutines.call(this,this.routineKey))},t.\u0275fac=function(e){return new(e||t)(i["\u0275\u0275directiveInject"](bh.b),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](de.d),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](Yn.b),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](S.a))},t.\u0275cmp=i["\u0275\u0275defineComponent"]({type:t,selectors:[["create-schedule-page"]],features:[i["\u0275\u0275ProvidersFeature"]([{provide:m.c,useClass:Ih,deps:[m.f,Eh]},{provide:m.e,useValue:B.a}]),i["\u0275\u0275InheritDefinitionFeature"]],decls:53,vars:33,consts:[[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[1,"sectionStructure"],[2,"margin","20px 0px"],[3,"formGroup","ngSubmit"],[2,"display","flex","justify-content","space-between"],[2,"width","40px",3,"src"],[4,"ngIf"],[2,"display","flex","margin-bottom","20px","width","100%"],[2,"margin-top","15px","width","100%"],["matInput","","type","text","formControlName","description"],["formControlName","date","matInput","",3,"matDatepicker","click","dateChange"],["matSuffix","",3,"for"],[2,"font-size","14px !important"],["picker",""],[1,"ngx-timepicker-field-example",2,"font-size","14px !important"],["formControlName","scheduleTime",2,"border","none","cursor","pointer",3,"ngxTimepicker","ngClass","change"],[3,"defaultTime","timeChanged"],["timepickerWithButtons",""],[1,"time-until-next"],[1,"select-repeat"],[2,"display","flex","flex-direction","column"],["formControlName","daily","name","daily",1,"select-toggle",3,"color","change"],["formControlName","monthly","name","monthly",3,"color","change"],["formControlName","weekly","name","weekly",1,"select-toggle",3,"color","change"],["formControlName","yearly","name","yearly",3,"color","change"],[2,"display","flex","justify-content","flex-end"],["mat-stroked-button","","type","submit",1,"themedButton",2,"margin","20px 0px","float","right",3,"disabled"],["class","header-view",4,"ngIf"],[1,"full-width","upcoming-table",2,"margin-bottom","60px"],[4,"ngFor","ngForOf"],[1,"main-menu-section-heading"],["routerLink","/scheduling"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],["class","title",4,"ngIf"],[1,"title"],["panelClass","testpanel","formControlName","ecomodule",1,"zoneset-selection",3,"selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["src","/static/img/structured-workouts-icon.png",1,"main_menu_icons_sub"],["formControlName","routineKey",1,"zoneset-selection"],[1,"header-view"],[1,"header-view-header"],[2,"text-align","end"]],template:function(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275template"](1,_m,5,2,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"div",3),i["\u0275\u0275elementStart"](4,"form",4),i["\u0275\u0275listener"]("ngSubmit",function(){return t.create(t.scheduleForm.value)}),i["\u0275\u0275elementStart"](5,"div",5),i["\u0275\u0275elementStart"](6,"div"),i["\u0275\u0275element"](7,"img",6),i["\u0275\u0275template"](8,wm,2,1,"div",7),i["\u0275\u0275template"](9,Cm,5,2,"mat-form-field",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](10,km,3,1,"div",7),i["\u0275\u0275template"](11,Em,5,2,"mat-form-field",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](12,"br"),i["\u0275\u0275elementStart"](13,"div",8),i["\u0275\u0275elementStart"](14,"mat-form-field",9),i["\u0275\u0275elementStart"](15,"mat-label"),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](18,"input",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div",5),i["\u0275\u0275elementStart"](20,"mat-form-field"),i["\u0275\u0275elementStart"](21,"mat-label"),i["\u0275\u0275text"](22),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"input",11),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275reference"](26).open()})("dateChange",function(){return t.determineUpcomingSchedules()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](24,"mat-datepicker-toggle",12),i["\u0275\u0275element"](25,"mat-datepicker",13,14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"div",15),i["\u0275\u0275elementStart"](28,"input",16),i["\u0275\u0275listener"]("change",function(){return t.determineUpcomingSchedules()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"ngx-material-timepicker",17,18),i["\u0275\u0275listener"]("timeChanged",function(){return t.determineUpcomingSchedules()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"div",19),i["\u0275\u0275text"](32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"div",20),i["\u0275\u0275elementStart"](34,"div",21),i["\u0275\u0275elementStart"](35,"mat-slide-toggle",22),i["\u0275\u0275listener"]("change",function(e){return t.toggleChange(e)}),i["\u0275\u0275text"](36),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"mat-slide-toggle",23),i["\u0275\u0275listener"]("change",function(e){return t.toggleChange(e)}),i["\u0275\u0275text"](38),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"div",21),i["\u0275\u0275elementStart"](40,"mat-slide-toggle",24),i["\u0275\u0275listener"]("change",function(e){return t.toggleChange(e)}),i["\u0275\u0275text"](41),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"mat-slide-toggle",25),i["\u0275\u0275listener"]("change",function(e){return t.toggleChange(e)}),i["\u0275\u0275text"](43),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"div",26),i["\u0275\u0275elementStart"](45,"button",27),i["\u0275\u0275template"](46,Mm,2,1,"span",7),i["\u0275\u0275template"](47,Im,2,1,"span",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](48,Pm,4,3,"div",28),i["\u0275\u0275elementStart"](49,"div"),i["\u0275\u0275elementStart"](50,"table",29),i["\u0275\u0275elementStart"](51,"tbody"),i["\u0275\u0275template"](52,Tm,5,2,"tr",30),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275reference"](26),a=i["\u0275\u0275reference"](30);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](31,ym,t.ThemeService.isDarkTheme)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("formGroup",t.scheduleForm),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("src",t.workoutTypeImage,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.routineName),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.routineName),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.routineName),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.routineName),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](17,29,"ROOT.Notes")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](t.Choose_a_date_txt),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("matDatepicker",r),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("for",r),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngxTimepicker",a)("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("defaultTime","12:00am"),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",t.timeUntilScheduled," \xa0"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](t.Daily_txt),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](t.Monthly_txt),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](t.Weekly_txt),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](t.Yearly_txt),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled","INVALID"===t.scheduleForm.status),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.editing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.editing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.timeUntilScheduled),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngForOf",t.upcoming)}},directives:[y.NgClass,y.NgIf,de.z,de.p,de.i,fe.c,fe.g,be.b,de.c,de.o,de.g,Ol.b,Ol.d,fe.h,Ol.a,Ph.d,Ph.a,Th.a,k.b,y.NgForOf,S.f,Ae.a,m.o],pipes:[M.c],styles:[".testpanel{max-height:300px!important;min-height:100px!important}.ng-tns-c14-7,.ngx-timepicker-control__input,.ngx-timepicker-field-example{font-size:14px!important}.scheduleQuote{padding:20px;max-width:960px;text-align:center}.section-card{margin:5px 0 20px}.schedule-icon{width:50px;margin:8px 20px;border:0 solid #b2b2b2}.schedule-icon-div{float:left;width:80px;padding-right:20px}.panel-heading{margin:10px 0 0;border-bottom:1px solid}.time-until-next{width:100%;clear:both;float:left}.select-repeat{display:flex;justify-content:space-evenly;clear:both;width:100%}.upcoming-schedule{text-transform:uppercase;background-color:#f5f5f5;padding-left:5px}.mat-slide-toggle{padding:20px}.upcoming-table td{padding:10px 0}"],encapsulation:2}),t}(function(){function e(e,t,n,i,r,a,o,s,l,c,d,u){var p=this;this.scheduleService=e,this.translate=t,this.formBuilder=n,this.ThemeService=i,this.dialogRef=r,this.routineService=a,this.accountService=o,this.data=s,this.WorkoutTypes=l,this.window=c,this.router=d,this.route=u,this.availableWorkoutTypes=this.WorkoutTypes.getWorkoutTypeList(this.translate.currentLang),this.availableRoutines=[],this.editing=!1,this.defaultSchedule=new Date,this.defaultScheduleTime=_(this.defaultSchedule).format("hh:mm a"),this.daily=!1,this.weekly=!1,this.monthly=!1,this.yearly=!1,this.formInit=!1,this.description="",this.Update_Schedule_txt="Update Schedule",this.Create_Schedule_txt="Create Schedule",this.Choose_a_date_txt="Choose a date",this.Workout_Type_txt="Workout Type",this.Structured_Workout_txt="Structured Workout",this.Update_txt="Update",this.Create_txt="Create",this.Daily_txt="Daily",this.Weekly_txt="Weekly",this.Monthly_txt="Monthly",this.Yearly_txt="Yearly",this.Open_txt="Open",this.upcoming=[],this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){p.localize(e.lang)}),this.scheduleForm=this.formBuilder.group({schedule_type:[1],schedule_id:[void 0],ecomodule:["",de.y.required],daily:[!1],weekly:[!1],monthly:[!1],yearly:[!1],description:[""],scheduleTime:[_(this.defaultSchedule).format("hh:mm a")],routineKey:[""],date:[new Date,de.y.required]})}return e.prototype.localize=function(e){"es"===e?(this.Update_Schedule_txt="Calendario de actualizaci\xf3n",this.Create_Schedule_txt="Crear horario",this.Choose_a_date_txt="Elige una fecha",this.Workout_Type_txt="Tipo de entrenamiento",this.Structured_Workout_txt="Entrenamiento estructurado",this.Update_txt="Actualizar",this.Create_txt="Crear",this.Daily_txt="Diario",this.Weekly_txt="Semanal",this.Monthly_txt="Mensual",this.Yearly_txt="Anual",this.Open_txt="Abierto"):"fr"==e?(this.Update_Schedule_txt="Calendrier de mise \xe0 jour",this.Create_Schedule_txt="Cr\xe9er un calendrier",this.Choose_a_date_txt="Choisissez une date",this.Workout_Type_txt="Type d'entra\xeenement",this.Structured_Workout_txt="S\xe9ance d'entra\xeenement structur\xe9e",this.Update_txt="Mise \xe0 jour",this.Create_txt="Cr\xe9er",this.Daily_txt="Du quotidien",this.Weekly_txt="Hebdomadaire",this.Monthly_txt="Mensuel",this.Yearly_txt="Annuel",this.Open_txt="Ouvert"):"it"==e?(this.Update_Schedule_txt="Programma di aggiornamento",this.Create_Schedule_txt="Crea programma",this.Choose_a_date_txt="Scegli una data",this.Workout_Type_txt="Tipo di allenamento",this.Structured_Workout_txt="Allenamento strutturato",this.Update_txt="Aggiornare",this.Create_txt="Creare",this.Daily_txt="Quotidiano",this.Weekly_txt="Settimanalmente",this.Monthly_txt="Mensile",this.Yearly_txt="Annuale",this.Open_txt="Aperto"):"de"==e&&(this.Update_Schedule_txt="Zeitplan aktualisieren",this.Create_Schedule_txt="Zeitplan erstellen",this.Choose_a_date_txt="W\xe4hlen Sie ein Datum",this.Workout_Type_txt="Trainingstyp",this.Structured_Workout_txt="Strukturiertes Training",this.Update_txt="Aktualisieren",this.Create_txt="Erstellen",this.Daily_txt="T\xe4glich",this.Weekly_txt="W\xf6chentlich",this.Monthly_txt="Monatlich",this.Yearly_txt="J\xe4hrlich",this.Open_txt="\xd6ffnen")},e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.toggleChange=function(e){console.log(e),this.scheduleForm.get("daily").setValue(!1),this.scheduleForm.get("weekly").setValue(!1),this.scheduleForm.get("monthly").setValue(!1),this.scheduleForm.get("yearly").setValue(!1),this.scheduleForm.get(e.source.name).setValue(e.checked),this.determineUpcomingSchedules()},e.prototype.create=function(e){var t=this;-1==e.routineKey?(e.schedule_type=0,e.routineKey=null):e.schedule_type=1;var n=_(e.date),i=_(n.year()+"-"+(n.month()+1)+"-"+n.date()+" "+e.scheduleTime,"YYYY-MM-DD HH:mm a");e.date=i,this.scheduleService.createSchedule(e).subscribe(function(e){try{t.dialogRef.close(!0)}catch(n){t.router.navigate(["/scheduling"])}})},e.prototype.changeWorkoutType=function(e){var t=e.value.toString();if(this.workoutTypeImage=this.WorkoutTypes.getWorkoutTypeIcon(t),this.selectedRoutines=[],0==t)this.selectedRoutines=this.availableRoutines;else{for(var n=[],i=0;i<this.availableRoutines.length;i++)this.availableRoutines[i].workoutType==t&&n.push(this.availableRoutines[i]);this.selectedRoutines=n,this.selectedRoutines.unshift({name:this.Open_txt,id:-1}),this.scheduleForm.get("ecomodule").setValue(t)}},e.prototype.incomingSchedule=function(e){this.data=e},e.prototype.ngOnInit=function(){var e=this;if(this.scheduleForm.get("scheduleTime").valueChanges.subscribe(function(t){e.determineUpcomingSchedules()}),this.data&&Object.keys(this.data).length>0){this.data.id&&(this.editing=!0);var t=_.utc(this.data.scheduleDate).local();this.scheduleForm.get("schedule_id").setValue(this.data.id),this.scheduleForm.get("daily").setValue(this.data.isDaily),this.scheduleForm.get("weekly").setValue(this.data.isWeekly),this.scheduleForm.get("monthly").setValue(this.data.isMonthly),this.scheduleForm.get("yearly").setValue(this.data.isYearly),this.scheduleForm.get("ecomodule").setValue(this.data.ecomodule.toString());try{this.scheduleForm.get("routineKey").setValue(this.data.routineKey.toString())}catch(r){}this.scheduleForm.get("description").setValue(this.data.description),this.scheduleForm.get("date").setValue(t.toDate()),this.scheduleForm.get("scheduleTime").setValue(t.format("hh:mm A"))}var n=[];for(var i in this.availableWorkoutTypes)n.push([i,this.availableWorkoutTypes[i]]);n.sort(function(e,t){return e[1].localeCompare(t[1])}),this.availableWorkoutTypes=n,this.determineUpcomingSchedules(),this.formInit=!0},e.prototype.determineUpcomingSchedules=function(){this.upcoming=[];var e=_(this.scheduleForm.get("date").value),t=this.scheduleForm.get("scheduleTime").value,n=_(e.year()+"-"+(e.month()+1)+"-"+e.date()+" "+t,"YYYY-MM-DD HH:mm a"),i={scheduled:!0,scheduleComplete:!1,summary:{startTime:n},icon:this.workoutTypeImage,dateDisplay:"",timeDisplay:"",scheduledType:"",workoutType:this.scheduleForm.get("ecomodule").value,routineName:"",routineIcon:"",workoutTypeName:""};if(this.scheduleForm.get("daily").value||this.scheduleForm.get("weekly").value||this.scheduleForm.get("monthly").value||this.scheduleForm.get("yearly"),this.scheduleForm.get("daily").value){if(i.scheduledType="Daily",n.toDate()<new Date)for(;n.toDate()<new Date;)console.log("Finding closest date"),n.add(1,"days");for(var r=0;r<3;r++){var a=Object(Wn.cloneDeep)(i),o=n.clone().add(r,"days");0==r&&o.toDate()>new Date&&(this.timeUntilScheduled=Object(B.bb)(_().diff(o,"seconds"))),a.dateDisplay=o.format("dddd, MMMM D, YYYY"),a.timeDisplay=n.clone().add(r,"days").format("h:mm A"),this.upcoming.push(a)}}else if(this.scheduleForm.get("weekly").value){if(i.scheduledType="Weekly",n.toDate()<new Date)for(;n.toDate()<new Date;)n.add(1,"weeks");for(r=0;r<3;r++){var s=n.clone().add(r,"weeks");0==r&&s.toDate()>new Date&&(this.timeUntilScheduled=Object(B.bb)(_().diff(s,"seconds"))),(a=Object(Wn.cloneDeep)(i)).dateDisplay=n.clone().add(r,"weeks").format("dddd, MMMM D, YYYY"),a.timeDisplay=n.clone().add(r,"weeks").format("h:mm A"),this.upcoming.push(a)}}else if(this.scheduleForm.get("monthly").value){if(i.scheduledType="Monthly",n.toDate()<new Date)for(;n.toDate()<new Date;)n.add(1,"months");for(r=0;r<3;r++){var l=n.clone().add(r,"months");0==r&&l.toDate()>new Date&&(this.timeUntilScheduled=Object(B.bb)(_().diff(l,"seconds"))),(a=Object(Wn.cloneDeep)(i)).dateDisplay=n.clone().add(r,"months").format("dddd, MMMM D, YYYY"),a.timeDisplay=n.clone().add(r,"months").format("h:mm A"),this.upcoming.push(a)}}else if(this.scheduleForm.get("yearly").value){if(i.scheduledType="Yearly",n.toDate()<new Date)for(;n.toDate()<new Date;)n.add(1,"years");for(r=0;r<3;r++){var c=n.clone().add(r,"months");0==r&&c.toDate()>new Date&&(this.timeUntilScheduled=Object(B.bb)(_().diff(c,"seconds"))),(a=Object(Wn.cloneDeep)(i)).dateDisplay=n.clone().add(r,"years").format("dddd, MMMM D, YYYY"),a.timeDisplay=n.clone().add(r,"years").format("h:mm A"),this.upcoming.push(a)}}},e.prototype.getRoutines=function(e){var t=this,n=null;Object(ie.a)([this.routineService.listRoutines(n),this.routineService.routineDetails(null,null,e)]).subscribe(function(i){for(var r=!1,a=0;a<i[0].response.routines.length;a++)i[0].response.routines[a].id==e&&(t.routineName=i[0].response.routines[a].routineDef.name,t.workoutTypeName=t.WorkoutTypes.getWorkoutTypeName(i[0].response.routines[a].routineDef.workoutType,t.translate.currentLang),r=!0),t.availableRoutines.push(new Yn.a(i[0].response.routines[a],null,"RoutineH",t));!r&&e&&(console.log("Found Key "+e),console.log("Type "+i[1].response.routineDef.workoutType),n=i[1].response.routineDef.workoutType,t.availableRoutines.push(new Yn.a(i[1].response,null,null,t))),t.availableRoutines.unshift({name:t.Open_txt,id:-1}),t.data&&t.data.ecomodule?t.changeWorkoutType({value:t.data.ecomodule}):t.selectedRoutines=t.availableRoutines,e?(t.scheduleForm.get("routineKey").setValue(e),t.changeWorkoutType({value:n})):t.scheduleForm.get("routineKey").value||t.scheduleForm.get("routineKey").setValue(-1)})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](bh.b),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](de.d),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](Yn.b),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](S.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e}()),Rm=function(){function e(){this.onFileDropped=new i.EventEmitter,this.background="#f5fcff",this.opacity="1"}return e.prototype.onDragOver=function(e){e.preventDefault(),e.stopPropagation(),this.background="#9ecbec",this.opacity="0.8"},e.prototype.onDragLeave=function(e){e.preventDefault(),e.stopPropagation(),this.background="#f5fcff",this.opacity="1"},e.prototype.ondrop=function(e){e.preventDefault(),e.stopPropagation(),this.background="#f5fcff",this.opacity="1";var t=e.dataTransfer.files;t.length>0&&this.onFileDropped.emit(t)},e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","appDragDrop",""]],hostVars:4,hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("dragover",function(e){return t.onDragOver(e)})("dragleave",function(e){return t.onDragLeave(e)})("drop",function(e){return t.ondrop(e)}),2&e&&i["\u0275\u0275styleProp"]("background-color",t.background)("opacity",t.opacity)},outputs:{onFileDropped:"onFileDropped"}}),e}(),jm=["uploadElement"];function Am(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",4),i["\u0275\u0275elementStart"](1,"a",5),i["\u0275\u0275element"](2,"img",6),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",7),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](6,2,"ROOT.Import")," \u2022 ",i["\u0275\u0275pipeBind1"](7,4,"ROOT.Export"),""))}function Fm(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}function Bm(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function zm(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function Nm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",23),i["\u0275\u0275elementStart"](1,"p",30),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function Hm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",28),i["\u0275\u0275template"](1,Nm,3,1,"div",29),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.toUpload)}}function Vm(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"i",31),i["\u0275\u0275text"](2,"done"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,1,"ROOT.Uploaded")," "))}function Ym(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275elementStart"](1,"em"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,1,"ROOT.If your import doesnt show up")," "))}function Wm(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"mat-progress-bar",32),i["\u0275\u0275elementEnd"]())}function Gm(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",42),i["\u0275\u0275elementEnd"]())}function Um(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.file_stat," ")}}function qm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td",38),i["\u0275\u0275elementStart"](2,"a",39),i["\u0275\u0275element"](3,"img",40),i["\u0275\u0275text"](4,"\xa0\xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"td",41),i["\u0275\u0275elementStart"](6,"a",39),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](8,"br"),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"td",38),i["\u0275\u0275template"](12,Gm,2,0,"span",2),i["\u0275\u0275template"](13,Um,2,1,"span",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate1"]("routerLink","/activity/",n.workoutid,"/detail"),i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate1"]("routerLink","/activity/",n.workoutid,"/detail"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.file_name," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](10,6,n.file_size/1e3||0,"1.0-0")," KB "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","Complete"==n.file_stat),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Complete"!=n.file_stat)}}function Zm(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" / ",n.importNumPages,"")}}function $m(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",43),i["\u0275\u0275elementStart"](1,"button",44),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.importCurrentPage=e.importCurrentPage-1}),i["\u0275\u0275element"](2,"img",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3),i["\u0275\u0275template"](4,Zm,2,1,"span",2),i["\u0275\u0275elementStart"](5,"button",46),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.importCurrentPage=e.importCurrentPage+1}),i["\u0275\u0275element"](6,"img",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",0==r.importCurrentPage),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.importCurrentPage+1,""),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.importNumPages>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",r.importCurrentPage>=r.imports.length/r.importRowLimit-1)}}function Xm(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",48),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.No Items")," "))}function Km(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"table",33),i["\u0275\u0275elementStart"](2,"tbody",34),i["\u0275\u0275template"](3,qm,14,9,"tr",35),i["\u0275\u0275pipe"](4,"limitTo"),i["\u0275\u0275pipe"](5,"startFrom"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,$m,7,4,"div",36),i["\u0275\u0275template"](7,Xm,3,3,"div",37),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind2"](4,3,i["\u0275\u0275pipeBind2"](5,6,n.imports,n.importCurrentPage*n.importRowLimit),n.importRowLimit)),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.imports.length>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==n.imports.length)}}function Jm(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",16),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementStart"](6,"div",17),i["\u0275\u0275elementStart"](7,"div"),i["\u0275\u0275elementStart"](8,"div",18),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275reference"](12).click()})("onFileDropped",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).onFileChange(e)}),i["\u0275\u0275elementStart"](9,"span",19),i["\u0275\u0275text"](10,"cloud_upload"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"input",20,21),i["\u0275\u0275listener"]("change",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).onFileChange(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](13,Hm,2,1,"div",22),i["\u0275\u0275elementStart"](14,"div",23),i["\u0275\u0275elementStart"](15,"div",24),i["\u0275\u0275elementStart"](16,"button",25),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).importWorkout()}),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275element"](18,"img",26),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](21,Vm,5,3,"span",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](22,Ym,4,3,"p",2),i["\u0275\u0275element"](23,"div",27),i["\u0275\u0275element"](24,"br"),i["\u0275\u0275template"](25,Wm,2,0,"span",2),i["\u0275\u0275template"](26,Km,8,9,"span",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](27,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate3"](" ",i["\u0275\u0275pipeBind1"](3,10,"ROOT.Import GPX TCX file formats")," ",i["\u0275\u0275pipeBind1"](4,12,"ROOT.15MB file size limit.")," ",i["\u0275\u0275pipeBind1"](5,14,"ROOT.Source files will only be stored for 60 days.")," "),i["\u0275\u0275advance"](11),i["\u0275\u0275property"]("ngIf",r.toUpload.length>0),i["\u0275\u0275advance"](3),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](17,16,"ROOT.Import TCX / GPX Files")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](20,18,"ROOT.Import")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.uploadComplete),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.uploadComplete),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.loadingImports),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.loadingImports)}}function Qm(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function eg(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function tg(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"mat-progress-bar",32),i["\u0275\u0275elementEnd"]())}function ng(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td",53),i["\u0275\u0275elementStart"](2,"a",39),i["\u0275\u0275elementStart"](3,"i",54),i["\u0275\u0275text"](4,"visibility"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"td",41),i["\u0275\u0275elementStart"](6,"div",55),i["\u0275\u0275elementStart"](7,"a",56),i["\u0275\u0275elementStart"](8,"span",54),i["\u0275\u0275text"](9,"save_alt"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"a",57),i["\u0275\u0275text"](11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"td",58),i["\u0275\u0275elementStart"](13,"span",59),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit,r=t.index;return i["\u0275\u0275nextContext"](4).deleteExport(e,r)}),i["\u0275\u0275elementStart"](14,"i",54),i["\u0275\u0275text"](15,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](16,"td"),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate1"]("routerLink","/activity/",r.workoutid,"/detail"),i["\u0275\u0275advance"](5),i["\u0275\u0275propertyInterpolate1"]("href","/api/v2/table/download?file_id=",r.file_id,"",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate1"]("href","/api/v2/table/download?file_id=",r.file_id,"",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",r.file_name,"")}}function ig(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" / ",n.exportNumPages,"")}}function rg(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",60),i["\u0275\u0275elementStart"](1,"button",44),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.exportCurrentPage=e.exportCurrentPage-1}),i["\u0275\u0275element"](2,"img",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3),i["\u0275\u0275template"](4,ig,2,1,"span",2),i["\u0275\u0275elementStart"](5,"button",46),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.exportCurrentPage=e.exportCurrentPage+1}),i["\u0275\u0275element"](6,"img",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",0==r.exportCurrentPage),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.exportCurrentPage+1,""),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.exportNumPages>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",r.exportCurrentPage>=r.exports.length/r.exportRowLimit-1)}}function ag(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",61),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.No Items"),""))}function og(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"table",33),i["\u0275\u0275elementStart"](2,"tbody",34),i["\u0275\u0275template"](3,ng,17,4,"tr",35),i["\u0275\u0275pipe"](4,"limitTo"),i["\u0275\u0275pipe"](5,"startFrom"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,rg,7,4,"div",50),i["\u0275\u0275elementStart"](7,"div",51),i["\u0275\u0275template"](8,ag,3,3,"div",52),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind2"](4,3,i["\u0275\u0275pipeBind2"](5,6,n.exports,n.exportCurrentPage*n.exportRowLimit),n.exportRowLimit)),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.exports.length>1),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0==n.exports.length)}}function sg(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,tg,2,0,"span",2),i["\u0275\u0275template"](2,og,9,9,"div",49),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.loadingExports),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.loadingExports)}}function lg(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275elementStart"](1,"div",9),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showimport=!e.showimport}),i["\u0275\u0275template"](2,Bm,1,0,"img",10),i["\u0275\u0275template"](3,zm,1,0,"img",11),i["\u0275\u0275elementStart"](4,"div",12),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,Jm,28,20,"div",2),i["\u0275\u0275elementStart"](8,"div",9),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showexport=!e.showexport}),i["\u0275\u0275template"](9,Qm,1,0,"img",10),i["\u0275\u0275template"](10,eg,1,0,"img",11),i["\u0275\u0275elementStart"](11,"div",12),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,sg,3,2,"div",2),i["\u0275\u0275element"](15,"div",13),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showimport),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.showimport),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,8,"ROOT.Import a Workout")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showimport),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showexport),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.showexport),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](13,10,"ROOT.Exports")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showexport)}}var cg=function(){function e(e,t,n,i,r,a,o,s){this.titleService=e,this.window=t,this.FormBuilder=n,this.analytics=i,this.AccountService=r,this.ThemeService=a,this.WorkoutsService=o,this.router=s,this.loadingImports=!0,this.loadingExports=!0,this.uploadComplete=!1,this.exportCurrentPage=0,this.exportRowLimit="10",this.exportNumPages=0,this.importCurrentPage=0,this.importRowLimit="10",this.importNumPages=0,this.toUpload=[],this.domain="my",this.showimport=!0,this.showexport=!0,this.isMobileEmbedded=!1,this.name="Get Current Url Route Demo",this.currentRoute=s.url}return e.prototype.onClick=function(e){e.preventDefault()},e.prototype.importWorkout=function(){var e=this,t=new FormData;if(0!==this.toUpload.length){for(var n=0;n<this.toUpload.length;n++)t.append("file",this.toUpload[n]);this.WorkoutsService.importWorkout(t).subscribe(function(t){e.ngOnInit(),e.uploadComplete=!0,e.analytics.logEvent("import",{accountId:e.AccountService.account.accountId}),e.uploadElement.nativeElement.value=""},function(e){console.log("ERRORED")})}},e.prototype.onFileChange=function(e){this.toUpload=e.target.files},e.prototype.deleteExport=function(e,t){for(var n=Object(Wn.cloneDeep)(this.exports),i=0;i<n.length;i++)if(n[i].file_name===e.file_name){n.splice(t,1);break}this.exports=n,this.WorkoutsService.deleteExport(e.file_name,e.file_key,e.workoutid).subscribe(function(e){})},e.prototype.downloadExport=function(e){var t=e.toString();this.WorkoutsService.downloadExport(t).subscribe(function(e){})},e.prototype.ngOnInit=function(){var e,t,n=this;try{this.domain=this.window.location.host.split(".")[0]}catch(i){this.ThemeService.isThemeBecolorado&&(this.domain="becolorado")}console.log(this.currentRoute),"/export"==this.currentRoute&&(this.showexport=!0,this.showimport=!1),this.AccountService.isLoggedIn&&(this.WorkoutsService.getImports().subscribe(function(t){return e=t.response.upload_list},null,function(){n.loadingImports=!1,n.imports=e,n.importNumPages=Math.ceil(e.length/Number(n.importRowLimit))}),this.WorkoutsService.getExports().subscribe(function(e){return t=e.response.export_list},null,function(){n.loadingExports=!1,n.exports=t,n.exportNumPages=Math.ceil(t.length/Number(n.exportRowLimit))}))},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](de.d),i["\u0275\u0275directiveInject"](Xl.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](S.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-import-export"]],viewQuery:function(e,t){var n;1&e&&i["\u0275\u0275viewQuery"](jm,1),2&e&&i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.uploadElement=n.first)},decls:4,vars:4,consts:[[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"main-menu-section-heading"],["routerLink","/activities"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"header-view",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],[2,"clear","both","margin","40px","float","left","width","100%"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"importFile"],[1,"customFileInputViewDiv"],["appDragDrop","",1,"uploadfilecontainer",3,"click","onFileDropped"],[1,"material-icons",2,"font-size","40px"],["hidden","","type","file","multiple","","autocomplete","off",2,"display","none !important",3,"change"],["uploadElement",""],["class","files-list","style","display: flex;flex-direction: column;",4,"ngIf"],[2,"display","flex"],[2,"display","flex","margin-top","4px"],["mat-stroked-button","",1,"themedButton",2,"border-radius","18px",3,"click"],["src","/static/img/greenplusbutton2.png",2,"width","20px"],[1,"clearboth"],[1,"files-list",2,"display","flex","flex-direction","column"],["style","display: flex",4,"ngFor","ngForOf"],[2,"margin","10px 0px","font-size","24px"],[1,"material-icons",2,"vertical-align","sub"],["mode","indeterminate"],[1,"workoutImportExportTable"],[1,"dataListTableBody"],[4,"ngFor","ngForOf"],["class","paginationContainerImports",4,"ngIf"],["id","workoutImportListPageCount","class","pageCount",4,"ngIf"],[1,"exportIconsTd"],[3,"routerLink"],["src","/static/img/icons/gpxtcximport_icon.png",1,"importExportIcon"],[1,"exportFileName"],["src","/static/img/green-check-small.png",1,"completeImportIcon"],[1,"paginationContainerImports"],["mat-button","",3,"disabled","click"],["src","/static/img/black-arrow-back.png",1,"left-datepicker-arrow",2,"margin-bottom","-8px"],["mat-button","","aria-label","Next Page",3,"disabled","click"],["src","/static/img/black-arrow-forward.png",1,"right-datepicker-arrow",2,"margin-bottom","-8px"],["id","workoutImportListPageCount",1,"pageCount"],["class","importFile",4,"ngIf"],["class","paginationContainerExports",4,"ngIf"],["id","workoutExportListPagebar",1,"pageBar"],["id","workoutExportListPageCount","class","pageCount",4,"ngIf"],[1,"exportIconsTd",2,"text-align","left"],[1,"material-icons"],[1,"downloadIcon"],[3,"href"],[1,"downloadLink",3,"href"],[1,"exportIconsTd",2,"text-align","right"],[3,"click"],[1,"paginationContainerExports"],["id","workoutExportListPageCount",1,"pageCount"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275template"](1,Am,8,6,"div",1),i["\u0275\u0275template"](2,Fm,1,0,"app-login-notify",2),i["\u0275\u0275template"](3,lg,16,12,"div",3),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn))},directives:[y.NgClass,y.NgIf,S.f,Yo.a,Rm,k.b,y.NgForOf,It.a],pipes:[M.c,B.K,B.lb,y.DecimalPipe],styles:[".workoutImportExportTable[_ngcontent-%COMP%]{width:100%}.workoutImportExportTable[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border:0 solid}.uploadfilecontainer[_ngcontent-%COMP%]{background-color:transparent!important;border:2px dashed #b2b2b2;text-align:center;height:100px;display:flex;flex-direction:column;justify-content:center}.customFileInput[_ngcontent-%COMP%]{margin-bottom:10px;height:70px;vertical-align:middle;padding-top:30px;width:100%;float:left;padding-left:20px}.pageCount[_ngcontent-%COMP%]{margin:10px 0;padding-bottom:10px;border-bottom:1px solid}.importButton[_ngcontent-%COMP%]{float:right;margin-top:-60px;margin-right:5px}.importFile[_ngcontent-%COMP%]{float:left;width:100%;padding:30px 0}.customFileInputViewDiv[_ngcontent-%COMP%]{margin-top:30px}.completeImportIcon[_ngcontent-%COMP%]{width:20px}td[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px}.importExportIcon[_ngcontent-%COMP%]{float:left;margin-right:10px}.exportFileName[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;float:left}.exportIconsTd[_ngcontent-%COMP%]{width:50px;text-align:center}.downloadIcon[_ngcontent-%COMP%]{float:left;margin:5px 10px 5px 0}.downloadLink[_ngcontent-%COMP%]{padding-top:5px;float:left}@media(max-width:480px){.importFile[_ngcontent-%COMP%]{padding:30px 10px 0}.exportFileName[_ngcontent-%COMP%]{max-width:260px}}@media(max-width:320px){.exportFileName[_ngcontent-%COMP%]{max-width:210px}.importButton[_ngcontent-%COMP%]{margin-top:10px;margin-right:10px}}"]}),e}();function dg(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function ug(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function pg(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275element"](1,"img",15),i["\u0275\u0275elementStart"](2,"p"),i["\u0275\u0275text"](3,"Many times we want to share activities and workouts between health and fitness sites. If you are using a Garmin device, Strava or a variety of other popular upload sites, you can easily export your activities and import to our platform (Workout>Import) using the industry standard file formats .tcx or .gpx. GPX files are traditionally a GPS based file, while TCX is an enhanced version of .gpx, potentially including heart rate and other meta-information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5,"We do not support all .tcx/.gpx files, because even though there are industry standards, that does not mean all sites adhere to them strictly. We currently support Garmin (GPX/TCX), Runtastic (GPX/TCX), Strava (GPX), Cyclemeter (GPX), or GPSies (GPX/TCX) files.Your best bet is to give it a try if not from one of those sites, see if it works. We don\u2019t currently support MapMyFitness GPX/TCX imports."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7,"The files to import should ideally be under 10Mb \u2013 over 15Mb may experience some issues."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"h4"),i["\u0275\u0275text"](9,"Importing to Fitdigits"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11,"Once you have your .gpx or .tcx file, on "),i["\u0275\u0275elementStart"](12,"a",16),i["\u0275\u0275text"](13,"my.fitdigits.com"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14,", go to "),i["\u0275\u0275elementStart"](15,"a",17),i["\u0275\u0275text"](16,"Activities > Import Export"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](17,", and in the Import section click Browse, select the file you had previously downloaded, then click Import."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19,"You should see your activity show up in the list below when complete \u2013 larger files take longer so after a few seconds if you don\u2019t see it you might want to refresh the page. You can click on the View link in the listing to go right to that workout detail page in our cloud. You can delete the import file (red X icon on the right) if you want without affecting the workout that was imported. We only keep source files for a maximum of 30 days."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function hg(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function mg(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function gg(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"If you are using Garmin, other popular devices or sites, or just want to view your results on your personal computer, you can export your Fitdigits workout results as a .csv, .tcx or .gpx file. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275text"](5,"Exporting from Apple or Android Phones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"ol"),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,"Go to the Results detail"),i["\u0275\u0275elementStart"](9,"sup"),i["\u0275\u0275text"](10,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](11," of the workout to export"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"Tap Menu > Share in the upper right of the screen"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15,"Tap Email .csv, .tcx, .gpx (note: if you don\u2019t see Email as an option, you may need to tap \u201cAdd Share Partner\u201d and enable that share option)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,"You will receive a confirmation stating your workout was sent to your email your account is registered to (see what email in your Profile). Check your junk or spam filter if you don\u2019t receive one shortly."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275elementStart"](19,"sup"),i["\u0275\u0275text"](20,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](21,"The workout must be synced to the cloud to export"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"p"),i["\u0275\u0275elementStart"](23,"strong"),i["\u0275\u0275text"](24,"Exporting from the Website"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"p"),i["\u0275\u0275text"](26,"The web gives you a little more flexibility because in addition to individual workout exports, it will also export summary data of multiple workouts from the Activity listing page."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](27,"img",18),i["\u0275\u0275elementStart"](28,"p"),i["\u0275\u0275elementStart"](29,"strong"),i["\u0275\u0275text"](30,"Exporting Multiple Workouts data in Summary "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"ol"),i["\u0275\u0275elementStart"](32,"li"),i["\u0275\u0275text"](33,"Login to "),i["\u0275\u0275elementStart"](34,"a",16),i["\u0275\u0275text"](35,"my.fitdigits.com"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](36," and navigate to the Activities view"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"li"),i["\u0275\u0275text"](38,"Select the date range for all the workouts you would like to export / analyze"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"li"),i["\u0275\u0275text"](40,"Click the Export icon at the bottom of the list"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"li"),i["\u0275\u0275text"](42,"The CSV will be downloaded to your computer"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](43,"div",19),i["\u0275\u0275elementStart"](44,"p"),i["\u0275\u0275text"](45,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](46,"img",20),i["\u0275\u0275elementStart"](47,"p"),i["\u0275\u0275elementStart"](48,"strong"),i["\u0275\u0275text"](49,"Exporting a TCX/GPX - Workout Details"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"ol"),i["\u0275\u0275elementStart"](51,"li"),i["\u0275\u0275text"](52,"Login to "),i["\u0275\u0275elementStart"](53,"a",16),i["\u0275\u0275text"](54,"my.fitdigits.com"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](55," and navigate to the detail view of the activity you want to export"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"li"),i["\u0275\u0275text"](57,"In the top right, select Menu > Export"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](58,"li"),i["\u0275\u0275text"](59,"Choose the type of export you would like"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](60,"li"),i["\u0275\u0275text"](61,"You will be redirected to the Import/Export page to download your file there. If you don't see it right away, reload the view in a few seconds."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](62,"div",19),i["\u0275\u0275elementStart"](63,"p"),i["\u0275\u0275text"](64,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](65,"p"),i["\u0275\u0275elementStart"](66,"strong"),i["\u0275\u0275text"](67,"Export to a PDF on the Web"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](68,"p"),i["\u0275\u0275text"](69,"We don\u2019t offer a native way to export to PDF, however simply printing to / saving as a PDF file from most systems right-click Print functionality or a browsers File > Print > PDF functionality should work."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function fg(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function vg(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function yg(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"On the partner site, look for where you can export your activity to a .gpx or .tcx file format. Usually it is and option when in the details of the workout itself. See below for Garmin Connect and Strava."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"img",21),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275elementStart"](5,"strong"),i["\u0275\u0275text"](6,"Exporting from Garmin Connect"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"On Garmin Connect, you would go to the Menu, and choose Activities. Click on the activity you want to share. In the activity detail, click on the small gear icon in the top right, and then Export to TCX from the menu (or GPX). That will download a file for the activity to your local hard drive."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](9,"div",19),i["\u0275\u0275element"](10,"img",22),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275elementStart"](12,"strong"),i["\u0275\u0275text"](13,"Exporting from Strava"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275text"](15,"On Strava, go to Training>My Activities. Click on the activity you want to share. In the activity detail, click on the small wrench icon on the left, and then Export to GPX from the menu (or TCX if available). That will download a file for the activity to your local hard drive."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var bg=function(){function e(){this.showImport=!0,this.showExport=!0,this.showPartnerExport=!1}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-import-export-overview"]],decls:31,vars:15,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[2,"clear","both","float","left","width","100%"],[2,"clear","both","float","left","width","100%","height","20px"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","support-content","style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content",2,"clear","both"],["loading","lazy","width","300","src","/static/img/import-workout.png","alt","Import your workouts",2,"float","right"],["routerLink","/home"],["routerLink","/importexport"],["loading","lazy","width","300","src","/static/img/multi-workout-summary-export.png","alt","Export your workouts",2,"float","right"],[2,"clear","both"],["loading","lazy","width","300","src","static/img/export-web.png","alt","Export your workouts",2,"float","right"],["loading","lazy","width","300","src","/static/img/garmin-export-tcx.png","alt","Export from Garmin",2,"float","right"],["loading","lazy","width","300","src","/static/img/strava-export-tcx.png","alt","Export from Strava",2,"float","right"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",4),i["\u0275\u0275element"](9,"div",5),i["\u0275\u0275element"](10,"div",6),i["\u0275\u0275elementStart"](11,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showImport=!t.showImport}),i["\u0275\u0275template"](12,dg,1,0,"img",8),i["\u0275\u0275template"](13,ug,1,0,"img",9),i["\u0275\u0275elementStart"](14,"div",10),i["\u0275\u0275text"](15," Import Your Activities "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](16,pg,20,0,"div",11),i["\u0275\u0275elementStart"](17,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showExport=!t.showExport}),i["\u0275\u0275template"](18,hg,1,0,"img",8),i["\u0275\u0275template"](19,mg,1,0,"img",9),i["\u0275\u0275elementStart"](20,"div",10),i["\u0275\u0275text"](21," Export Your Activities "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](22,gg,70,0,"div",11),i["\u0275\u0275elementStart"](23,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showPartnerExport=!t.showPartnerExport}),i["\u0275\u0275template"](24,fg,1,0,"img",8),i["\u0275\u0275template"](25,vg,1,0,"img",9),i["\u0275\u0275elementStart"](26,"div",10),i["\u0275\u0275text"](27," Exporting from a Partner Site "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](28,yg,16,0,"div",11),i["\u0275\u0275elementStart"](29,"p"),i["\u0275\u0275text"](30,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](6,11,"ROOT.Import")," \u2022 ",i["\u0275\u0275pipeBind1"](7,13,"ROOT.Export"),""),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("ngIf",!t.showImport),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showImport),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showImport),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showExport),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showExport),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showExport),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showPartnerExport),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showPartnerExport),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showPartnerExport))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}(),xg=n("hxEm"),_g=n("AB3J");function wg(e,t){1&e&&i["\u0275\u0275element"](0,"div",4)}function Sg(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",5),i["\u0275\u0275elementStart"](1,"a",6),i["\u0275\u0275element"](2,"img",7),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",8),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,1,"ROOT.My_Personal_Best")))}function Cg(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}function kg(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function Og(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}var Eg=function(e){return{color:e}};function Mg(e,t){if(1&e&&i["\u0275\u0275element"](0,"div",43),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](2,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B"))("innerHTML",n.title,i["\u0275\u0275sanitizeHtml"])}}function Ig(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",33),i["\u0275\u0275elementStart"](1,"a",34),i["\u0275\u0275elementStart"](2,"div",35),i["\u0275\u0275element"](3,"img",36),i["\u0275\u0275pipe"](4,"ecoToType"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",37),i["\u0275\u0275elementStart"](6,"h2",38),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"secondsToHMS"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"span",39),i["\u0275\u0275text"](10,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](11,Mg,1,4,"div",40),i["\u0275\u0275elementStart"](12,"div",41),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"div",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("href","activity/",n.workoutID,"/detail",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate1"]("src","/static/img/activityicons/",i["\u0275\u0275pipeBind1"](4,6,n.eco_module),".png",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,8,n.bestMeasure)," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",n.title),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](12,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](14,10,n.date)," ")}}function Pg(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",31),i["\u0275\u0275template"](1,Ig,16,14,"div",32),i["\u0275\u0275pipe"](2,"limitTo"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind2"](2,1,n.achievements.TIME_CATEGORY[0].items,3))}}function Tg(e,t){if(1&e&&i["\u0275\u0275element"](0,"div",43),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](2,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B"))("innerHTML",n.title,i["\u0275\u0275sanitizeHtml"])}}function Dg(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",33),i["\u0275\u0275elementStart"](1,"a",34),i["\u0275\u0275elementStart"](2,"div",35),i["\u0275\u0275element"](3,"img",36),i["\u0275\u0275pipe"](4,"ecoToType"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",37),i["\u0275\u0275elementStart"](6,"h2",38),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"span",39),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](11,Tg,1,4,"div",40),i["\u0275\u0275elementStart"](12,"div",41),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"div",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("href","activity/",n.workoutID,"/detail",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate1"]("src","/static/img/activityicons/",i["\u0275\u0275pipeBind1"](4,7,n.eco_module),".png",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](8,9,n.bestMeasure,"1.1-2")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](r.distanceUnit),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.title),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](14,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](14,12,n.date)," ")}}function Lg(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",31),i["\u0275\u0275template"](1,Dg,16,16,"div",32),i["\u0275\u0275pipe"](2,"limitTo"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind2"](2,1,n.achievements.DISTANCE_CATEGORY[0].items,3))}}function Rg(e,t){if(1&e&&i["\u0275\u0275element"](0,"div",43),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](2,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B"))("innerHTML",n.title,i["\u0275\u0275sanitizeHtml"])}}function jg(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",33),i["\u0275\u0275elementStart"](1,"a",34),i["\u0275\u0275elementStart"](2,"div",35),i["\u0275\u0275element"](3,"img",36),i["\u0275\u0275pipe"](4,"ecoToType"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",37),i["\u0275\u0275elementStart"](6,"h2",38),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"span",39),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](11,Rg,1,4,"div",40),i["\u0275\u0275elementStart"](12,"div",41),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"div",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("href","activity/",n.workoutID,"/detail",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate1"]("src","/static/img/activityicons/",i["\u0275\u0275pipeBind1"](4,7,n.eco_module),".png",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",n.bestMeasure," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](10,9,"ROOT.BPM")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.title),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](13,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](14,11,n.date)," ")}}function Ag(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",31),i["\u0275\u0275template"](1,jg,16,15,"div",32),i["\u0275\u0275pipe"](2,"limitTo"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind2"](2,1,n.maxBPM,3))}}function Fg(e,t){if(1&e&&i["\u0275\u0275element"](0,"div",43),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](2,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B"))("innerHTML",n.title,i["\u0275\u0275sanitizeHtml"])}}function Bg(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",33),i["\u0275\u0275elementStart"](1,"a",34),i["\u0275\u0275elementStart"](2,"div",35),i["\u0275\u0275element"](3,"img",36),i["\u0275\u0275pipe"](4,"ecoToType"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",37),i["\u0275\u0275elementStart"](6,"h2",38),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"span",39),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](11,Fg,1,4,"div",40),i["\u0275\u0275elementStart"](12,"div",41),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"div",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("href","activity/",n.workoutID,"/detail",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate1"]("src","/static/img/activityicons/",i["\u0275\u0275pipeBind1"](4,7,n.eco_module),".png",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",n.bestMeasure," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](10,9,"ROOT.BPM")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.title),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](13,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](14,11,n.date)," ")}}function zg(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",31),i["\u0275\u0275template"](1,Bg,16,15,"div",32),i["\u0275\u0275pipe"](2,"limitTo"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind2"](2,1,n.avgBPM,3))}}function Ng(e,t){if(1&e&&i["\u0275\u0275element"](0,"div",43),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](2,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B"))("innerHTML",n.title,i["\u0275\u0275sanitizeHtml"])}}function Hg(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",33),i["\u0275\u0275elementStart"](1,"a",34),i["\u0275\u0275elementStart"](2,"div",35),i["\u0275\u0275element"](3,"img",36),i["\u0275\u0275pipe"](4,"ecoToType"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",37),i["\u0275\u0275elementStart"](6,"h2",38),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"span",39),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](12,Ng,1,4,"div",40),i["\u0275\u0275elementStart"](13,"div",41),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](16,"div",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("href","activity/",n.workoutID,"/detail",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate1"]("src","/static/img/activityicons/",i["\u0275\u0275pipeBind1"](4,7,n.eco_module),".png",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,9,n.bestMeasure)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](11,11,"ROOT.Cal")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.title),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](15,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](15,13,n.date)," ")}}function Vg(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",31),i["\u0275\u0275template"](1,Hg,17,17,"div",32),i["\u0275\u0275pipe"](2,"limitTo"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind2"](2,1,n.maxCal,3))}}function Yg(e,t){if(1&e&&i["\u0275\u0275element"](0,"div",43),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](2,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B"))("innerHTML",n.title,i["\u0275\u0275sanitizeHtml"])}}function Wg(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",33),i["\u0275\u0275elementStart"](1,"a",34),i["\u0275\u0275elementStart"](2,"div",35),i["\u0275\u0275element"](3,"img",36),i["\u0275\u0275pipe"](4,"ecoToType"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",37),i["\u0275\u0275elementStart"](6,"h2",38),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"span",39),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](12,Yg,1,4,"div",40),i["\u0275\u0275elementStart"](13,"div",41),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](16,"div",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("href","activity/",n.workoutID,"/detail",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate1"]("src","/static/img/activityicons/",i["\u0275\u0275pipeBind1"](4,8,n.eco_module),".png",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",n.bestMeasure," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](10,10,"ROOT.Cal")," / ",i["\u0275\u0275pipeBind1"](11,12,"ROOT.Min")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.title),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](16,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](15,14,n.date)," ")}}function Gg(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",31),i["\u0275\u0275template"](1,Wg,17,18,"div",32),i["\u0275\u0275pipe"](2,"limitTo"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind2"](2,1,n.calPerMin,3))}}function Ug(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",16),i["\u0275\u0275elementStart"](2,"div",17),i["\u0275\u0275element"](3,"img",18),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,Pg,3,4,"div",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",20),i["\u0275\u0275elementStart"](8,"div",21),i["\u0275\u0275element"](9,"img",22),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](12,Lg,3,4,"div",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",23),i["\u0275\u0275elementStart"](14,"div",24),i["\u0275\u0275element"](15,"img",25),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](19,Ag,3,4,"div",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"div",26),i["\u0275\u0275elementStart"](21,"div",24),i["\u0275\u0275element"](22,"img",25),i["\u0275\u0275text"](23),i["\u0275\u0275pipe"](24,"translate"),i["\u0275\u0275pipe"](25,"translate"),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](27,zg,3,4,"div",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"div",27),i["\u0275\u0275elementStart"](29,"div",28),i["\u0275\u0275element"](30,"img",29),i["\u0275\u0275text"](31),i["\u0275\u0275pipe"](32,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](33,Vg,3,4,"div",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"div",30),i["\u0275\u0275elementStart"](35,"div",28),i["\u0275\u0275element"](36,"img",29),i["\u0275\u0275text"](37),i["\u0275\u0275pipe"](38,"translate"),i["\u0275\u0275pipe"](39,"translate"),i["\u0275\u0275pipe"](40,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](41,Gg,3,4,"div",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](5,17,"ROOT.Longest_Duration")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.achievements),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](11,19,"ROOT.Longest_Distance")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.achievements),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](17,21,"ROOT.Max")," ",i["\u0275\u0275pipeBind1"](18,23,"ROOT.BPM")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.achievements),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate3"]("",i["\u0275\u0275pipeBind1"](24,25,"ROOT.Max")," ",i["\u0275\u0275pipeBind1"](25,27,"ROOT.Avg")," ",i["\u0275\u0275pipeBind1"](26,29,"ROOT.BPM")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",n.achievements),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](32,31,"ROOT.Highest_Calorie_Burn")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.achievements),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate3"]("",i["\u0275\u0275pipeBind1"](38,33,"ROOT.Cal")," / ",i["\u0275\u0275pipeBind1"](39,35,"ROOT.Min")," ",i["\u0275\u0275pipeBind1"](40,37,"ROOT.Burn")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",n.achievements)}}function qg(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function Zg(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function $g(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",46),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.navigateToDay(e.maxSteps)}),i["\u0275\u0275elementStart"](1,"div",21),i["\u0275\u0275element"](2,"img",47),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",48),i["\u0275\u0275elementStart"](6,"div",49),i["\u0275\u0275elementStart"](7,"div",50),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"number"),i["\u0275\u0275elementStart"](10,"div",51),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](13,"div",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](4,4,"ROOT.Highest_Daily_Steps")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](9,6,r.maxSteps.value)," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](10,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](12,8,r.maxSteps.date)," ")}}function Xg(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",46),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.navigateToDay(e.maxCalories)}),i["\u0275\u0275elementStart"](1,"div",28),i["\u0275\u0275element"](2,"img",29),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",48),i["\u0275\u0275elementStart"](6,"div",49),i["\u0275\u0275elementStart"](7,"div",50),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"number"),i["\u0275\u0275elementStart"](10,"div",51),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](13,"div",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](4,4,"ROOT.Highest_Daily_Calorie_Burn")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](9,6,r.maxCalories.value)," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](10,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](12,8,r.maxCalories.date)," ")}}function Kg(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",46),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.navigateToDay(e.maxActiveMin)}),i["\u0275\u0275elementStart"](1,"div",28),i["\u0275\u0275element"](2,"img",29),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",48),i["\u0275\u0275elementStart"](6,"div",49),i["\u0275\u0275elementStart"](7,"div",50),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"minToHrsMin"),i["\u0275\u0275elementStart"](10,"div",51),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](13,"div",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](4,4,"ROOT.Highest_Daily_Activity_Minutes")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](9,6,r.maxActiveMin.value)," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](10,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](12,8,r.maxActiveMin.date)," ")}}function Jg(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",46),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.navigateToDay(e.maxFloors)}),i["\u0275\u0275elementStart"](1,"div",28),i["\u0275\u0275element"](2,"img",52),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",48),i["\u0275\u0275elementStart"](6,"div",49),i["\u0275\u0275elementStart"](7,"div",50),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"number"),i["\u0275\u0275elementStart"](10,"div",51),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](13,"div",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](4,4,"ROOT.Highest_Daily_Floors")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](9,6,r.maxFloors.value)," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](10,Eg,1==r.isDarkTheme?"#E2E3E4":"#58585B")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](12,8,r.maxFloors.date)," ")}}function Qg(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",44),i["\u0275\u0275template"](2,$g,14,12,"div",45),i["\u0275\u0275template"](3,Xg,14,12,"div",45),i["\u0275\u0275template"](4,Kg,14,12,"div",45),i["\u0275\u0275template"](5,Jg,14,12,"div",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.maxSteps),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.maxCalories),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.maxActiveMin),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.maxFloors)}}function ef(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",9),i["\u0275\u0275element"](1,"app-datepicker"),i["\u0275\u0275elementStart"](2,"div",10),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.workoutview=!e.workoutview}),i["\u0275\u0275element"](3,"img",11),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275template"](6,kg,1,0,"img",12),i["\u0275\u0275template"](7,Og,1,0,"img",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](8,Ug,42,39,"div",2),i["\u0275\u0275elementStart"](9,"div",10),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.dailyactivityview=!e.dailyactivityview}),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275template"](12,qg,1,0,"img",12),i["\u0275\u0275template"](13,Zg,1,0,"img",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,Qg,6,4,"div",2),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,8,"ROOT.Workouts")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.workoutview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.workoutview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.workoutview),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](11,10,"ROOT.Daily Activity")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.dailyactivityview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.dailyactivityview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.dailyactivityview)}}var tf=function(){function e(e,t,n,i,r,a,o){this.titleService=e,this.dateService=t,this.achievementService=n,this.translate=i,this.router=r,this.ThemeService=a,this.AccountService=o,this.showLoadingOverlay=!1,this.maxBPM=[],this.avgBPM=[],this.maxCal=[],this.calPerMin=[],this.maxSteps=null,this.maxCalories=null,this.maxActiveMin=null,this.maxFloors=null,this.isDarkTheme=!1,this.isMetric=!1,this.distanceUnit="mi",this.workoutview=!0,this.dailyactivityview=!0,this.isMobileEmbedded=!1,i.addLangs(["en","es","fr","it","de"]),i.setDefaultLang("en")}return e.prototype.ngOnInit=function(){var e=this;this.AccountService.isMobileEmbedded().subscribe(function(t){e.isMobileEmbedded=t}),this.isDarkTheme=this.ThemeService.isDarkTheme,this.AccountService.isLoggedIn&&(this.showLoadingOverlay=!0,this.getAccount(),this.dateSubscription=this.dateService.dateRange.subscribe(function(t){e.start=t.startDate,e.end=t.endDate,e.getAchievements()}))},e.prototype.navigateToDay=function(e){this.router.navigate(["/daily"],{queryParams:{date:e.date.getTime()}})},e.prototype.getAccount=function(){var e=this;this.showLoadingOverlay=!0,this.AccountService.getAccount().subscribe(function(t){e.account=t,e.isMetric="us"!==e.account.unitOfMeasure.toLowerCase(),e.showLoadingOverlay=!1})},e.prototype.getAchievements=function(){var e=this;this.showLoadingOverlay=!0,this.achievementService.getDailyActivityAchievements().subscribe(function(t){e.dailyAchievements=t,e.dailyAchievements.steps&&(e.maxSteps={value:e.dailyAchievements.steps.best_day.value,date:new Date(e.dailyAchievements.steps.best_day.date_of_record)}),e.dailyAchievements.calories&&(e.maxCalories={value:e.dailyAchievements.calories.best_day.value,date:new Date(e.dailyAchievements.calories.best_day.date_of_record)}),e.dailyAchievements.active_min&&(e.maxActiveMin={value:e.dailyAchievements.active_min.best_day.value,date:new Date(e.dailyAchievements.active_min.best_day.date_of_record)}),e.dailyAchievements.floors&&(e.maxFloors={value:e.dailyAchievements.floors.best_day.value,date:new Date(e.dailyAchievements.floors.best_day.date_of_record)})}),this.achievementService.getAchievements(this.start,this.end).subscribe(function(t){if(e.achievements=t.response,0==Object.keys(e.achievements).length&&(e.achievements=null),e.achievements){try{e.maxBPM=[],e.avgBPM=[],e.maxCal=[],e.calPerMin=[];for(var n=0;n<e.achievements.CARDIO_CATEGORY.length;n++)"WORKOUT_COMPARE_BPM_MAX"===e.achievements.CARDIO_CATEGORY[n].comparison&&(e.maxBPM=e.achievements.CARDIO_CATEGORY[n].items),"WORKOUT_COMPARE_BPM_HIGH_AVG"===e.achievements.CARDIO_CATEGORY[n].comparison&&(e.avgBPM=e.achievements.CARDIO_CATEGORY[n].items);for(var i=0;i<e.achievements.CALORIES_CATEGORY.length;i++)"WORKOUT_COMPARE_CALORIES_MAX"===e.achievements.CALORIES_CATEGORY[i].comparison&&(e.maxCal=e.achievements.CALORIES_CATEGORY[i].items),"WORKOUT_COMPARE_CALORIES_PER_MINUTE"===e.achievements.CALORIES_CATEGORY[i].comparison&&(e.calPerMin=e.achievements.CALORIES_CATEGORY[i].items)}catch(r){}e.distanceConversion()}e.showLoadingOverlay=!1})},e.prototype.distanceConversion=function(){if(this.isMetric){this.distanceUnit="km";for(var e=Math.min(3,this.achievements.DISTANCE_CATEGORY[0].items.length),t=0;t<e;t++){var n=this.achievements.DISTANCE_CATEGORY[0].items[t];n.bestMeasure=this.convertToKilometers(n.bestMeasure)}}else this.distanceUnit="mi"},e.prototype.convertToKilometers=function(e){return 1.60934*e},e.prototype.ngOnDestroy=function(){this.AccountService.isLoggedIn&&this.dateSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](xg.a),i["\u0275\u0275directiveInject"](W),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-my-best"]],decls:4,vars:4,consts:[["class","loading-overlay",4,"ngIf"],["class","main-menu-section-heading",4,"ngIf"],[4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"loading-overlay"],[1,"main-menu-section-heading"],["routerLink","/activities"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"achievementsHeaderSection",3,"click"],["src","/static/img/icons/achievementsIcon.png",2,"margin-top","-5px","height","36px"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow","style","float:right;",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow","style","float:right;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow",2,"float","right"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow",2,"float","right"],["id","achievementsDurationSection",1,"achievementsSection"],[1,"achievementsSectionHeaderDuration","achievementsSectionHeader"],["src","/static/img/icons/achievementsDurationLrg_icon.png",1,"metricIcon"],["class","achievementsWrap",4,"ngIf"],["id","achievementsDistanceSection",1,"achievementsSection"],[1,"achievementsSectionHeaderBlue","achievementsSectionHeader"],["src","/static/img/icons/achievementsDistanceLrg_icon.png",1,"metricIcon"],["id","achievementsMaxBPMSection",1,"achievementsSection"],[1,"achievementsSectionHeaderHr","achievementsSectionHeader"],["src","/static/img/icons/heartRateIcon.png",1,"metricIcon"],["id","achievementsAvgBPMSection",1,"achievementsSection"],["id","achievementsCaloriesSection",1,"achievementsSection"],[1,"achievementsSectionHeaderCalories","achievementsSectionHeader"],["src","/static/img/icons/achievementsCaloriesLrg_icon.png",1,"metricIcon"],["id","achievementsCaloriesPerMinuteSection",1,"achievementsSection"],[1,"achievementsWrap"],["class","achievementsWorkout solidBorderBottom",4,"ngFor","ngForOf"],[1,"achievementsWorkout","solidBorderBottom"],[3,"href"],[1,"achievementsTypeIcon","floatleft"],[1,"myBestWorkoutIcon",3,"src"],[1,"achievementsWorkoutInfo","floatleft"],[1,"achievementsDailyInfo","bestMeasure"],[1,"myBestLabel"],["class","achievementsWorkoutInfoTitle oneLineText",3,"ngStyle","innerHTML",4,"ngIf"],[1,"achievementsWorkoutInfoDate","oneLineText",3,"ngStyle"],[1,"clearboth"],[1,"achievementsWorkoutInfoTitle","oneLineText",3,"ngStyle","innerHTML"],[1,"achievementsDailyWrap"],["class","achievementsSection",3,"click",4,"ngIf"],[1,"achievementsSection",3,"click"],["src","/static/img/icons/achievementsStepsLrg_icon.png",1,"metricIcon"],[1,"achievementsWorkout"],[1,"dailyAchievementsDetail"],[1,"achievementsDailyInfo"],[1,"achievementsDailyInfoTitle","oneLineText",3,"ngStyle"],["src","/static/img/icons/elevation_blue.png",1,"metricIcon",2,"width","33px"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,wg,1,0,"div",0),i["\u0275\u0275template"](1,Sg,7,3,"div",1),i["\u0275\u0275template"](2,Cg,1,0,"app-login-notify",2),i["\u0275\u0275template"](3,ef,15,12,"div",3)),2&e&&(i["\u0275\u0275property"]("ngIf",t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn))},directives:[y.NgIf,S.f,Yo.a,_g.a,y.NgForOf,y.NgStyle],pipes:[M.c,B.K,B.z,B.db,y.DatePipe,y.DecimalPipe,B.R],styles:[".achievementsHeader[_ngcontent-%COMP%]{font-size:28px;margin:20px;text-align:center}.achievementsSectionHeader[_ngcontent-%COMP%]{font-size:22px;line-height:40px;padding-bottom:5px}.achievementsSectionHeaderDuration[_ngcontent-%COMP%]{border-bottom:3px solid #f16124!important}.achievementsSectionHeaderBlue[_ngcontent-%COMP%]{border-bottom:3px solid #4597cb!important}.achievementsSectionHeaderHr[_ngcontent-%COMP%]{border-bottom:3px solid #ee3123!important}.achievementsSectionHeaderCalories[_ngcontent-%COMP%]{border-bottom:3px solid #3fae48!important}.achievementsWorkout[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px;margin:5px}.achievementsWorkoutLink[_ngcontent-%COMP%]{margin:80px 0 0}.achievementsSection[_ngcontent-%COMP%]{padding:10px 25px 20px;margin-bottom:8px;flex:0 0 50%;cursor:pointer}.achievementsWorkoutInfo[_ngcontent-%COMP%]{padding-left:10px;font-size:20px;text-align:center}.achievementsWorkoutInfoTitle[_ngcontent-%COMP%]{font-size:16px;width:250px;font-weight:700;margin:0 0 5px}.achievementsWorkoutInfoDate[_ngcontent-%COMP%]{font-size:14px;width:250px}.myBestWorkoutIcon[_ngcontent-%COMP%]{width:47px;height:47px;margin-top:40px}.myBestLabel[_ngcontent-%COMP%]{font-size:16px;font-weight:400}.bestMeasure[_ngcontent-%COMP%]{margin:0 0 -10px;clear:none}.achievementsDailyInfo[_ngcontent-%COMP%]{padding-left:10px;font-size:60px}.achievementsDailyInfoTitle[_ngcontent-%COMP%]{font-size:14px;padding-bottom:10px}.achievementsHeaderSection[_ngcontent-%COMP%]{margin-top:30px;margin-bottom:30px;text-align:center;width:100%;padding:10px;font-size:28px;background-color:rgba(234,235,236,.2)}.openArrow[_ngcontent-%COMP%]{float:right;padding-right:0;margin-top:10px}.solidBorderBottom[_ngcontent-%COMP%]{border-bottom:1px solid #c6c6c4}.achievementsWrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:center}.metricIcon[_ngcontent-%COMP%]{margin-right:10px;float:left}.dailyAchievementsDetail[_ngcontent-%COMP%]{max-width:307px;margin:auto;text-align:center}@media (min-width:768px){.achievementsWrap[_ngcontent-%COMP%]{margin:0 20%}.member-main-container[_ngcontent-%COMP%]{padding:0 40px 40px;background:transparent}.member-leaderboard-widget[_ngcontent-%COMP%]   .member-name[_ngcontent-%COMP%]{margin:10px 0;float:left;text-align:left;padding:20px;clear:none}.coach-whistle[_ngcontent-%COMP%]{margin-top:20px}}@media (min-width:500px){.achievementsWrap[_ngcontent-%COMP%]{margin:0 5%}}@media (max-width:768px){.achievementsSection[_ngcontent-%COMP%]{padding:10px 10px 20px;flex:1}.metricIcon[_ngcontent-%COMP%]{margin-bottom:10px}}@media (max-width:500px){.achievementsWorkout[_ngcontent-%COMP%]{margin:0;width:100%}}"]}),e}(),nf=n("16b9"),rf=function(){return function(e){this.health=[],this.totalSteps=0,this.totalCalories=0,this.totalFloors=0,this.totalActiveMin=0,this.totalAllActiveMin=0,this.totalDistance=0;for(var t=0;t<e.records.length;t++)this.health.push(new af(e.records[t])),this.totalSteps+=Number(e.records[t].measures.steps),this.totalCalories+=Number(e.records[t].measures.calories),this.totalDistance+=Number(e.records[t].measures.distance)||0,this.totalFloors+=Number(e.records[t].measures.floors),this.totalActiveMin+=(isNaN(e.records[t].measures.secondsFairlyActive)?0:Number(e.records[t].measures.secondsFairlyActive))+(isNaN(e.records[t].measures.secondsVeryActive)?0:Number(e.records[t].measures.secondsVeryActive)),this.totalAllActiveMin+=(isNaN(e.records[t].measures.secondsFairlyActive)?0:Number(e.records[t].measures.secondsFairlyActive))+(isNaN(e.records[t].measures.secondsVeryActive)?0:Number(e.records[t].measures.secondsVeryActive))+(isNaN(e.records[t].measures.secondsLightlyActive)?0:Number(e.records[t].measures.secondsLightlyActive))}}(),af=function(){return function(e){var t=_(e.date).toDate();this.date=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),this.dateRaw=e.date,this.dateObj=t,this.id=e.id,this.measures=e.measures,this.source=e.source,this.type=e.type,isNaN(this.measures.active_min)&&(this.measures.active_min=0);var n=isNaN(this.measures.secondsFairlyActive)?0:Number(this.measures.secondsFairlyActive),i=isNaN(this.measures.secondsVeryActive)?0:Number(this.measures.secondsVeryActive);this.measures.active_min+=n+i}}(),of=n("tqnS"),sf=n("Dh3D"),lf=["chartWrap"],cf=["mobileChartWrap"];function df(e,t){1&e&&i["\u0275\u0275element"](0,"div",5)}function uf(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",6),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",7),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,1,"ROOT.Daily Activity")))}function pf(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}function hf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"lowercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,2,n.totalSteps/n.numberOfDaysForAvg,"1.0-0")," / ",i["\u0275\u0275pipeBind1"](3,5,i["\u0275\u0275pipeBind1"](4,7,"ROOT.Day")),"")}}function mf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"lowercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,2,n.totalSteps/n.numberOfWeeksForAvg,"1.0-0")," / ",i["\u0275\u0275pipeBind1"](3,5,i["\u0275\u0275pipeBind1"](4,7,"ROOT.Week")),"")}}function gf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"lowercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,2,n.totalSteps/n.numberOfMonthsForAvg,"1.0-0")," / ",i["\u0275\u0275pipeBind1"](3,5,i["\u0275\u0275pipeBind1"](4,7,"ROOT.Month"))," ")}}function ff(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"lowercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,2,n.totalDailyCalories/n.numberOfDaysForAvg,"1.0-0")," / ",i["\u0275\u0275pipeBind1"](3,5,i["\u0275\u0275pipeBind1"](4,7,"ROOT.Day")),"")}}function vf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"lowercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,2,n.totalDailyCalories/n.numberOfWeeksForAvg,"1.0-0")," / ",i["\u0275\u0275pipeBind1"](3,5,i["\u0275\u0275pipeBind1"](4,7,"ROOT.Week")),"")}}function yf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"lowercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,2,n.totalDailyCalories/n.numberOfMonthsForAvg,"1.0-0")," / ",i["\u0275\u0275pipeBind1"](3,5,i["\u0275\u0275pipeBind1"](4,7,"ROOT.Month"))," ")}}function bf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"lowercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,2,n.totalActiveMin/n.numberOfDaysForAvg,"1.0-0")," / ",i["\u0275\u0275pipeBind1"](3,5,i["\u0275\u0275pipeBind1"](4,7,"ROOT.Day")),"")}}function xf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"lowercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,2,n.totalActiveMin/n.numberOfWeeksForAvg,"1.0-0")," / ",i["\u0275\u0275pipeBind1"](3,5,i["\u0275\u0275pipeBind1"](4,7,"ROOT.Week")),"")}}function _f(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"lowercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,2,n.totalActiveMin/n.numberOfMonthsForAvg,"1.0-0")," / ",i["\u0275\u0275pipeBind1"](3,5,i["\u0275\u0275pipeBind1"](4,7,"ROOT.Month"))," ")}}function wf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"lowercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,2,n.totalFloors/n.numberOfDaysForAvg,"1.0-0")," / ",i["\u0275\u0275pipeBind1"](3,5,i["\u0275\u0275pipeBind1"](4,7,"ROOT.Day")),"")}}function Sf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"lowercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,2,n.totalFloors/n.numberOfWeeksForAvg,"1.0-0")," / ",i["\u0275\u0275pipeBind1"](3,5,i["\u0275\u0275pipeBind1"](4,7,"ROOT.Week")),"")}}function Cf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"lowercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](2,2,n.totalFloors/n.numberOfMonthsForAvg,"1.0-0")," / ",i["\u0275\u0275pipeBind1"](3,5,i["\u0275\u0275pipeBind1"](4,7,"ROOT.Month"))," ")}}function kf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",48),i["\u0275\u0275elementStart"](1,"div",34),i["\u0275\u0275element"](2,"img",49),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"div",36),i["\u0275\u0275elementStart"](6,"div",37),i["\u0275\u0275elementStart"](7,"div",38),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",39),i["\u0275\u0275elementStart"](11,"div",40),i["\u0275\u0275elementStart"](12,"div",41),i["\u0275\u0275template"](13,wf,6,9,"span",3),i["\u0275\u0275template"](14,Sf,6,9,"span",3),i["\u0275\u0275template"](15,Cf,5,9,"span",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,5,"ROOT.floors")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,7,n.totalFloors)),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",n.numberOfDaysForAvg>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.numberOfWeeksForAvg>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.numberOfMonthsForAvg>1)}}function Of(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"div",32),i["\u0275\u0275elementStart"](2,"div",33),i["\u0275\u0275elementStart"](3,"div",34),i["\u0275\u0275element"](4,"img",35),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"lowercase"),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](8,"div",36),i["\u0275\u0275elementStart"](9,"div",37),i["\u0275\u0275elementStart"](10,"div",38),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",39),i["\u0275\u0275elementStart"](14,"div",40),i["\u0275\u0275elementStart"](15,"div",41),i["\u0275\u0275template"](16,hf,6,9,"span",3),i["\u0275\u0275template"](17,mf,6,9,"span",3),i["\u0275\u0275template"](18,gf,5,9,"span",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div",42),i["\u0275\u0275elementStart"](20,"div",34),i["\u0275\u0275text"](21),i["\u0275\u0275pipe"](22,"lowercase"),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275element"](24,"img",43),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](25,"div",36),i["\u0275\u0275elementStart"](26,"div",37),i["\u0275\u0275elementStart"](27,"div",38),i["\u0275\u0275text"](28),i["\u0275\u0275pipe"](29,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"div",39),i["\u0275\u0275elementStart"](31,"div",40),i["\u0275\u0275elementStart"](32,"div",41),i["\u0275\u0275template"](33,ff,6,9,"span",3),i["\u0275\u0275template"](34,vf,6,9,"span",3),i["\u0275\u0275template"](35,yf,5,9,"span",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](36,"div",44),i["\u0275\u0275elementStart"](37,"div",33),i["\u0275\u0275elementStart"](38,"div",34),i["\u0275\u0275text"](39),i["\u0275\u0275pipe"](40,"translate"),i["\u0275\u0275element"](41,"img",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](42,"div",46),i["\u0275\u0275elementStart"](43,"div",37),i["\u0275\u0275elementStart"](44,"div",38),i["\u0275\u0275text"](45),i["\u0275\u0275pipe"](46,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"div",39),i["\u0275\u0275elementStart"](48,"div",40),i["\u0275\u0275elementStart"](49,"div",41),i["\u0275\u0275template"](50,bf,6,9,"span",3),i["\u0275\u0275template"](51,xf,6,9,"span",3),i["\u0275\u0275template"](52,_f,5,9,"span",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](53,kf,16,9,"div",47),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,16,i["\u0275\u0275pipeBind1"](7,18,"ROOT.Steps"))," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](12,20,n.totalSteps)),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",n.numberOfDaysForAvg>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.numberOfWeeksForAvg>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.numberOfMonthsForAvg>1),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](22,22,i["\u0275\u0275pipeBind1"](23,24,"ROOT.Calories"))," "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](29,26,n.totalDailyCalories)),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",n.numberOfDaysForAvg>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.numberOfWeeksForAvg>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.numberOfMonthsForAvg>1),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](40,28,"ROOT.active min")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](46,30,n.totalActiveMin)),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",n.numberOfDaysForAvg>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.numberOfWeeksForAvg>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.numberOfMonthsForAvg>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.totalFloors>=1)}}function Ef(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"highcharts-chart",50),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).chartUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("Highcharts",r.Highcharts)("oneToOne",!0)("update",r.chartUpdated)("callbackFunction",r.chartCallback)("options",r.chartOptions)}}function Mf(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",51),i["\u0275\u0275elementStart"](1,"button",52),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).fullScreen(!1)}),i["\u0275\u0275elementStart"](2,"span",53),i["\u0275\u0275text"](3,"fullscreen"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}var If=function(e){return[e]};function Pf(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-checkbox",54),i["\u0275\u0275listener"]("change",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).toggleSeries("Active Minutes")})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).showActiveTimeGraph=e}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](5,If,r.showActiveTimeGraph?"activeTimeChartChecked":""))("ngModel",r.showActiveTimeGraph),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,3,"ROOT.Active Minutes"))}}function Tf(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-checkbox",55),i["\u0275\u0275listener"]("change",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).toggleSeries("Floors")})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).showFloorsGraph=e}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](6,If,r.showFloorsGraph?"floorsChartChecked":""))("ngModel",r.showFloorsGraph)("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,4,"ROOT.Floors"))}}function Df(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",58),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"a",59),i["\u0275\u0275element"](5,"img",60),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275elementStart"](10,"a",59),i["\u0275\u0275text"](11,"Partners"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,2,"ROOT.No data for date range")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](8,4,"ROOT.Link one of our steps and daily activity providers to get started!")))}function Lf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",56),i["\u0275\u0275template"](1,Df,12,6,"div",57),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay)}}function Rf(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",58),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.No data for date range")," "))}function jf(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Date")))}function Af(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Week")))}function Ff(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Month")))}function Bf(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",97),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Total")," \u2022 ",i["\u0275\u0275pipeBind1"](3,4,"ROOT.Active")," "))}function zf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"th",98),i["\u0275\u0275element"](1,"img",99),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275property"]("hidden",n.hideFloors)}}function Nf(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"th",100),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementStart"](3,"a",101),i["\u0275\u0275text"](4,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Zone Min")," "))}function Hf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"minToHrsMin"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,n.allActiveMin)," \u2022 ")}}function Vf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",108),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275pipe"](3,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](5);i["\u0275\u0275property"]("hidden",r.hideFloors),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",0==i["\u0275\u0275pipeBind1"](2,2,n.floors)?"-":i["\u0275\u0275pipeBind1"](3,4,n.floors)," ")}}function Yf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",105),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"minToHrsMin"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,n.zoneMinutes)," ")}}function Wf(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tr",102),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](5).navigateToDay(e)}),i["\u0275\u0275elementStart"](1,"td",103),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"td",104),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"number"),i["\u0275\u0275pipe"](7,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"td",105),i["\u0275\u0275template"](9,Hf,3,3,"span",3),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"minToHrsMin"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](12,Vf,4,6,"td",106),i["\u0275\u0275elementStart"](13,"td",104),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"number"),i["\u0275\u0275pipe"](16,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](17,Yf,3,3,"td",107),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind3"](3,7,r.date,"MMM d","GMT")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",0==i["\u0275\u0275pipeBind1"](6,11,r.steps)?"-":i["\u0275\u0275pipeBind1"](7,13,r.steps)," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf","FitBit"==a.activityMonitor),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](11,15,r.activeMin)," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","FitBit"!=a.activityMonitor),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",0==i["\u0275\u0275pipeBind1"](15,17,r.calories)?"-":i["\u0275\u0275pipeBind1"](16,19,r.calories)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","FitBit"==a.activityMonitor&&a.PermissionsService.starTrainerAccess)}}function Gf(e,t){1&e&&i["\u0275\u0275element"](0,"td",109)}function Uf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",110),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.label," ")}}function qf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" / ",n.numPages,"")}}function Zf(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",111),i["\u0275\u0275elementStart"](1,"button",112),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](5);return e.currentPage=e.currentPage+1}),i["\u0275\u0275text"](2,"> "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",113),i["\u0275\u0275text"](4),i["\u0275\u0275template"](5,qf,2,1,"span",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"button",114),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](5);return e.currentPage=e.currentPage-1}),i["\u0275\u0275text"](7," < "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",r.currentPage>=r.healthData.length/r.rowLimit-1),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](r.currentPage+1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.numPages>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",0==r.currentPage)}}function $f(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",94),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.totalSteps/1e3,"1.0-0"),"K")}}function Xf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",94),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](2,1,n.totalSteps,"1.0-0"))}}function Kf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"minToHrsMin"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,n.totalAllActiveMin)," \u2022 ")}}function Jf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",115),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275property"]("hidden",n.hideFloors),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,2,n.totalFloors),"")}}function Qf(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",94),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.totalDailyCalories/1e3,"1.0-0"),"K")}}function ev(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",94),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](2,1,n.totalDailyCalories,"1.0-0"))}}function tv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"td",94),i["\u0275\u0275text"](1,"--"),i["\u0275\u0275elementEnd"]())}function nv(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"table",66),i["\u0275\u0275listener"]("matSortChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).sortData(e)}),i["\u0275\u0275elementStart"](1,"thead",67),i["\u0275\u0275elementStart"](2,"tr",68),i["\u0275\u0275elementStart"](3,"th",69),i["\u0275\u0275template"](4,jf,3,3,"span",3),i["\u0275\u0275template"](5,Af,3,3,"span",3),i["\u0275\u0275template"](6,Ff,3,3,"span",3),i["\u0275\u0275elementStart"](7,"span"),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"th",70),i["\u0275\u0275element"](10,"img",71),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"th",72),i["\u0275\u0275element"](12,"img",73),i["\u0275\u0275template"](13,Bf,4,6,"span",74),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,zf,2,1,"th",75),i["\u0275\u0275elementStart"](15,"th",76),i["\u0275\u0275element"](16,"img",77),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](17,Nf,5,3,"th",78),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"tbody",79),i["\u0275\u0275template"](19,Wf,18,21,"tr",80),i["\u0275\u0275pipe"](20,"limitTo"),i["\u0275\u0275pipe"](21,"startFrom"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"tfoot"),i["\u0275\u0275elementStart"](23,"tr"),i["\u0275\u0275template"](24,Gf,1,0,"td",81),i["\u0275\u0275elementStart"](25,"td",82),i["\u0275\u0275elementStart"](26,"div",83),i["\u0275\u0275elementStart"](27,"div",84),i["\u0275\u0275elementStart"](28,"div",85),i["\u0275\u0275elementStart"](29,"div",86),i["\u0275\u0275elementStart"](30,"mat-form-field",1),i["\u0275\u0275elementStart"](31,"mat-label"),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"mat-select",87),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).rowLimit=e}),i["\u0275\u0275template"](35,Uf,2,2,"mat-option",88),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](36,"div",89),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](37,Zf,8,4,"div",90),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"tr",91),i["\u0275\u0275elementStart"](39,"td",92),i["\u0275\u0275text"](40),i["\u0275\u0275pipe"](41,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](42,$f,3,4,"td",93),i["\u0275\u0275template"](43,Xf,3,4,"td",93),i["\u0275\u0275elementStart"](44,"td",94),i["\u0275\u0275template"](45,Kf,3,3,"span",3),i["\u0275\u0275elementStart"](46,"span",95),i["\u0275\u0275text"](47),i["\u0275\u0275pipe"](48,"minToHrsMin"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](49,Jf,3,4,"td",96),i["\u0275\u0275template"](50,Qf,3,4,"td",93),i["\u0275\u0275template"](51,ev,3,4,"td",93),i["\u0275\u0275template"](52,tv,2,0,"td",93),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf","daily"==r.grouping),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","weekly"==r.grouping),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","monthly"==r.grouping),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("\xa0",r.yearHeader,""),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf","FitBit"==r.activityMonitor),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","FitBit"!=r.activityMonitor),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","FitBit"==r.activityMonitor&&r.PermissionsService.starTrainerAccess),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind2"](20,24,i["\u0275\u0275pipeBind2"](21,27,r.sortedData,r.currentPage*r.rowLimit),r.rowLimit)),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf","FitBit"==r.activityMonitor&&r.PermissionsService.starTrainerAccess),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](33,30,"ROOT.Show")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.rowLimit)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.rowLimitOptions),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.healthData),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](41,32,"ROOT.Totals")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.totalSteps>99999),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.totalSteps<=99999),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","FitBit"==r.activityMonitor),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](48,34,r.totalActiveMin)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","FitBit"!=r.activityMonitor),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.totalDailyCalories>99999),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.totalDailyCalories<=99999),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","FitBit"==r.activityMonitor&&r.PermissionsService.starTrainerAccess)}}function iv(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",64),i["\u0275\u0275template"](1,Rf,3,3,"div",57),i["\u0275\u0275template"](2,nv,53,36,"table",65),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==n.totalSteps),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0!=n.totalSteps)}}function rv(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",116),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).exportStepData()}),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275element"](2,"img",117),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,2,"ROOT.Export")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" \xa0",i["\u0275\u0275pipeBind1"](4,4,"ROOT.Export")," "))}function av(e,t){1&e&&i["\u0275\u0275element"](0,"img",133)}function ov(e,t){1&e&&i["\u0275\u0275element"](0,"img",134)}function sv(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",135),i["\u0275\u0275elementStart"](2,"div",136),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.navigateToDay(e.daily_activity_achievements.steps.day)}),i["\u0275\u0275elementStart"](3,"div",137),i["\u0275\u0275elementStart"](4,"div",138),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"number"),i["\u0275\u0275elementStart"](9,"div",138),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](12,"div",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",135),i["\u0275\u0275elementStart"](14,"div",136),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.navigateToMonth(e.daily_activity_achievements.steps.week,!0)}),i["\u0275\u0275elementStart"](15,"div",137),i["\u0275\u0275elementStart"](16,"div",138),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"number"),i["\u0275\u0275elementStart"](21,"div",138),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](24,"div",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"div",135),i["\u0275\u0275elementStart"](26,"div",136),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.navigateToMonth(e.daily_activity_achievements.steps.month,!1)}),i["\u0275\u0275elementStart"](27,"div",137),i["\u0275\u0275elementStart"](28,"div",138),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](31),i["\u0275\u0275pipe"](32,"number"),i["\u0275\u0275elementStart"](33,"div",138),i["\u0275\u0275text"](34),i["\u0275\u0275pipe"](35,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](36,"div",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"div",135),i["\u0275\u0275elementStart"](38,"div",139),i["\u0275\u0275elementStart"](39,"div",137),i["\u0275\u0275elementStart"](40,"div",138),i["\u0275\u0275text"](41),i["\u0275\u0275pipe"](42,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](43),i["\u0275\u0275pipe"](44,"number"),i["\u0275\u0275elementStart"](45,"div",138),i["\u0275\u0275text"](46),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](47,"div",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,12,"ROOT.Day")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,14,r.daily_activity_achievements.steps.day.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](11,16,r.daily_activity_achievements.steps.day.date,"MMM d, y")," "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](18,19,"ROOT.Week")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](20,21,r.daily_activity_achievements.steps.week.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](23,23,r.daily_activity_achievements.steps.week.date[1],"longDate")," "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](30,26,"ROOT.Month")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](32,28,r.daily_activity_achievements.steps.month.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](35,30,r.daily_activity_achievements.steps.month.date,"MMMM yyyy")," "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](42,33,"ROOT.Year")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](44,35,r.daily_activity_achievements.steps.year.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",r.daily_activity_achievements.steps.year.date," ")}}function lv(e,t){1&e&&i["\u0275\u0275element"](0,"img",133)}function cv(e,t){1&e&&i["\u0275\u0275element"](0,"img",134)}function dv(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",135),i["\u0275\u0275elementStart"](2,"div",136),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.navigateToDay(e.daily_activity_achievements.calories.day)}),i["\u0275\u0275elementStart"](3,"div",137),i["\u0275\u0275elementStart"](4,"div",138),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"number"),i["\u0275\u0275elementStart"](9,"div",138),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](12,"div",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",135),i["\u0275\u0275elementStart"](14,"div",136),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.navigateToMonth(e.daily_activity_achievements.calories.week,!0)}),i["\u0275\u0275elementStart"](15,"div",137),i["\u0275\u0275elementStart"](16,"div",138),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"number"),i["\u0275\u0275elementStart"](21,"div",138),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](24,"div",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"div",135),i["\u0275\u0275elementStart"](26,"div",136),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.navigateToMonth(e.daily_activity_achievements.calories.month,!1)}),i["\u0275\u0275elementStart"](27,"div",137),i["\u0275\u0275elementStart"](28,"div",138),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](31),i["\u0275\u0275pipe"](32,"number"),i["\u0275\u0275elementStart"](33,"div",138),i["\u0275\u0275text"](34),i["\u0275\u0275pipe"](35,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](36,"div",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"div",135),i["\u0275\u0275elementStart"](38,"div",139),i["\u0275\u0275elementStart"](39,"div",137),i["\u0275\u0275elementStart"](40,"div",138),i["\u0275\u0275text"](41),i["\u0275\u0275pipe"](42,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](43),i["\u0275\u0275pipe"](44,"number"),i["\u0275\u0275elementStart"](45,"div",138),i["\u0275\u0275text"](46),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](47,"div",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,12,"ROOT.Day")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,14,r.daily_activity_achievements.calories.day.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](11,16,r.daily_activity_achievements.calories.day.date,"MMM d, y")," "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](18,19,"ROOT.Week")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](20,21,r.daily_activity_achievements.calories.week.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](23,23,r.daily_activity_achievements.calories.week.date[1],"longDate")," "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](30,26,"ROOT.Month")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](32,28,r.daily_activity_achievements.calories.month.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](35,30,r.daily_activity_achievements.calories.month.date,"MMMM yyyy")," "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](42,33,"ROOT.Year")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](44,35,r.daily_activity_achievements.calories.year.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",r.daily_activity_achievements.calories.year.date," ")}}function uv(e,t){1&e&&i["\u0275\u0275element"](0,"img",133)}function pv(e,t){1&e&&i["\u0275\u0275element"](0,"img",134)}function hv(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",135),i["\u0275\u0275elementStart"](1,"div",136),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](6);return e.navigateToDay(e.daily_activity_achievements.floors.day)}),i["\u0275\u0275elementStart"](2,"div",137),i["\u0275\u0275elementStart"](3,"div",138),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"number"),i["\u0275\u0275elementStart"](8,"div",138),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](11,"div",32),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,3,"ROOT.Day")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,5,r.daily_activity_achievements.floors.day.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](10,7,r.daily_activity_achievements.floors.day.date,"MMM d, y")," ")}}function mv(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",135),i["\u0275\u0275elementStart"](1,"div",136),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](6);return e.navigateToMonth(e.daily_activity_achievements.floors.week,!0)}),i["\u0275\u0275elementStart"](2,"div",137),i["\u0275\u0275elementStart"](3,"div",138),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"number"),i["\u0275\u0275elementStart"](8,"div",138),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](11,"div",32),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,3,"ROOT.Week")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,5,r.daily_activity_achievements.floors.week.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](10,7,r.daily_activity_achievements.floors.week.date[1],"longDate")," ")}}function gv(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",135),i["\u0275\u0275elementStart"](1,"div",136),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](6);return e.navigateToMonth(e.daily_activity_achievements.floors.month,!1)}),i["\u0275\u0275elementStart"](2,"div",137),i["\u0275\u0275elementStart"](3,"div",138),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"number"),i["\u0275\u0275elementStart"](8,"div",138),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](11,"div",32),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,3,"ROOT.Month")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,5,r.daily_activity_achievements.floors.month.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](10,7,r.daily_activity_achievements.floors.month.date,"MMMM yyyy")," ")}}function fv(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",135),i["\u0275\u0275elementStart"](1,"div",139),i["\u0275\u0275elementStart"](2,"div",137),i["\u0275\u0275elementStart"](3,"div",138),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"number"),i["\u0275\u0275elementStart"](8,"div",138),i["\u0275\u0275text"](9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](10,"div",32),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,3,"ROOT.Year")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,5,n.daily_activity_achievements.floors.year.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",n.daily_activity_achievements.floors.year.date," ")}}function vv(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,hv,12,10,"div",141),i["\u0275\u0275template"](2,mv,12,10,"div",141),i["\u0275\u0275template"](3,gv,12,10,"div",141),i["\u0275\u0275template"](4,fv,11,7,"div",141),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.daily_activity_achievements.floors.day),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.daily_activity_achievements.floors.week),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.daily_activity_achievements.floors.month),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.daily_activity_achievements.floors.year)}}function yv(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",120),i["\u0275\u0275elementStart"](1,"div",121),i["\u0275\u0275element"](2,"img",140),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementStart"](5,"div",132),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.bestFloorsview=!e.bestFloorsview}),i["\u0275\u0275template"](6,uv,1,0,"img",124),i["\u0275\u0275template"](7,pv,1,0,"img",125),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](8,vv,5,4,"div",3),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,4,"ROOT.Floors")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.bestFloorsview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.bestFloorsview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.bestFloorsview)}}function bv(e,t){1&e&&i["\u0275\u0275element"](0,"img",133)}function xv(e,t){1&e&&i["\u0275\u0275element"](0,"img",134)}function _v(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",135),i["\u0275\u0275elementStart"](2,"div",136),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.navigateToDay(e.daily_activity_achievements.active_min.day)}),i["\u0275\u0275elementStart"](3,"div",137),i["\u0275\u0275elementStart"](4,"div",138),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"minToHrsMin"),i["\u0275\u0275elementStart"](9,"div",138),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](12,"div",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",135),i["\u0275\u0275elementStart"](14,"div",136),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.navigateToMonth(e.daily_activity_achievements.active_min.week,!0)}),i["\u0275\u0275elementStart"](15,"div",137),i["\u0275\u0275elementStart"](16,"div",138),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"minToHrsMin"),i["\u0275\u0275elementStart"](21,"div",138),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](24,"div",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"div",135),i["\u0275\u0275elementStart"](26,"div",136),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.navigateToMonth(e.daily_activity_achievements.active_min.month,!1)}),i["\u0275\u0275elementStart"](27,"div",137),i["\u0275\u0275elementStart"](28,"div",138),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](31),i["\u0275\u0275pipe"](32,"minToHrsMin"),i["\u0275\u0275elementStart"](33,"div",138),i["\u0275\u0275text"](34),i["\u0275\u0275pipe"](35,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](36,"div",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"div",135),i["\u0275\u0275elementStart"](38,"div",139),i["\u0275\u0275elementStart"](39,"div",137),i["\u0275\u0275elementStart"](40,"div",138),i["\u0275\u0275text"](41),i["\u0275\u0275pipe"](42,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](43),i["\u0275\u0275pipe"](44,"minToHrsMin"),i["\u0275\u0275elementStart"](45,"div",138),i["\u0275\u0275text"](46),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](47,"div",32),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,12,"ROOT.Day")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,14,r.daily_activity_achievements.active_min.day.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](11,16,r.daily_activity_achievements.active_min.day.date,"MMM d, y")," "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](18,19,"ROOT.Week")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](20,21,r.daily_activity_achievements.active_min.week.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](23,23,r.daily_activity_achievements.active_min.week.date[1],"longDate")," "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](30,26,"ROOT.Month")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](32,28,r.daily_activity_achievements.active_min.month.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](35,30,r.daily_activity_achievements.active_min.month.date,"MMMM yyyy")," "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](42,33,"ROOT.Year")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](44,35,r.daily_activity_achievements.active_min.year.value)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",r.daily_activity_achievements.active_min.year.date," ")}}function wv(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",118),i["\u0275\u0275elementStart"](1,"h3",119),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",120),i["\u0275\u0275elementStart"](5,"div",121),i["\u0275\u0275element"](6,"img",122),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementStart"](9,"div",123),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.bestStepsview=!e.bestStepsview}),i["\u0275\u0275template"](10,av,1,0,"img",124),i["\u0275\u0275template"](11,ov,1,0,"img",125),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](12,sv,48,37,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](13,"div",32),i["\u0275\u0275elementStart"](14,"div",120),i["\u0275\u0275elementStart"](15,"div",126),i["\u0275\u0275element"](16,"img",127),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementStart"](19,"div",128),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.bestCaloriesview=!e.bestCaloriesview}),i["\u0275\u0275template"](20,lv,1,0,"img",124),i["\u0275\u0275template"](21,cv,1,0,"img",125),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](22,dv,48,37,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](23,yv,9,6,"div",129),i["\u0275\u0275elementStart"](24,"div",120),i["\u0275\u0275elementStart"](25,"div",130),i["\u0275\u0275element"](26,"img",131),i["\u0275\u0275text"](27),i["\u0275\u0275pipe"](28,"translate"),i["\u0275\u0275elementStart"](29,"div",132),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.bestActiveMinutessview=!e.bestActiveMinutessview}),i["\u0275\u0275template"](30,bv,1,0,"img",124),i["\u0275\u0275template"](31,xv,1,0,"img",125),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](32,_v,48,37,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,14,"ROOT.Lifetime Best")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](8,16,"ROOT.Steps")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.bestStepsview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.bestStepsview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.bestStepsview),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](18,18,"ROOT.Calories")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.bestCaloriesview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.bestCaloriesview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.bestCaloriesview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.totalFloors>1),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](28,20,"ROOT.Active Minutes")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.bestActiveMinutessview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.bestActiveMinutessview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.bestActiveMinutessview)}}function Sv(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",56),i["\u0275\u0275template"](1,iv,3,2,"div",61),i["\u0275\u0275template"](2,rv,5,6,"button",62),i["\u0275\u0275template"](3,wv,33,22,"div",63),i["\u0275\u0275element"](4,"div",32),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0!=n.totalSteps),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.hideDailyActivityAchievements&&n.isActivityMonitorConnected)}}function Cv(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275element"](1,"app-datepicker"),i["\u0275\u0275elementStart"](2,"div",9),i["\u0275\u0275template"](3,Of,54,32,"div",3),i["\u0275\u0275element"](4,"div",10),i["\u0275\u0275elementStart"](5,"div",11,12),i["\u0275\u0275element"](7,"img",13),i["\u0275\u0275template"](8,Ef,1,5,"highcharts-chart",14),i["\u0275\u0275template"](9,Mf,4,0,"div",15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](10,"div",16),i["\u0275\u0275elementStart"](11,"div",17),i["\u0275\u0275elementStart"](12,"mat-checkbox",18),i["\u0275\u0275listener"]("change",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().toggleSeries("Steps")})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().showStepsGraph=e}),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"mat-checkbox",19),i["\u0275\u0275listener"]("change",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().toggleSeries("Calories")})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().showCaloriesGraph=e}),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](18,Pf,3,7,"mat-checkbox",20),i["\u0275\u0275template"](19,Tf,3,8,"mat-checkbox",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"div",22),i["\u0275\u0275elementStart"](21,"button",23),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showChartOptions=!e.showChartOptions}),i["\u0275\u0275element"](22,"img",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"div",25),i["\u0275\u0275elementStart"](24,"mat-slide-toggle",26),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().averagesOn=e})("change",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().updateGraphs()}),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"div",27),i["\u0275\u0275elementStart"](28,"mat-radio-group",28),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().grouping=e})("change",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().updateGraphs()}),i["\u0275\u0275elementStart"](29,"mat-radio-button",29),i["\u0275\u0275text"](30),i["\u0275\u0275pipe"](31,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"mat-radio-button",29),i["\u0275\u0275text"](33),i["\u0275\u0275pipe"](34,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"mat-radio-button",29),i["\u0275\u0275text"](36),i["\u0275\u0275pipe"](37,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](38,"div",16),i["\u0275\u0275template"](39,Lf,2,1,"div",30),i["\u0275\u0275template"](40,Sv,5,3,"div",30),i["\u0275\u0275element"](41,"div",31),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.isActivityMonitorConnected&&!r.showLoadingOverlay&&0!=r.totalSteps),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("src",r.partnerDetails.imageSrc,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isActivityMonitorConnected&&!r.showLoadingOverlay&&0!=r.totalSteps),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.ThemeService.isMobileEmbedded||"ios"==r.ThemeService.clientType),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](42,If,r.showStepsGraph?"stepsChartChecked":""))("ngModel",r.showStepsGraph)("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](14,30,"ROOT.Steps")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](44,If,r.showCaloriesGraph?"caloriesChartChecked":""))("ngModel",r.showCaloriesGraph)("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](17,32,"ROOT.Calories")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.activeTimeGraphable),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.floorsGraphable),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("hidden",!r.showChartOptions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("color","primary")("ngModel",r.averagesOn),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](26,34,"ROOT.Averages")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngModel",r.grouping),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("color","primary")("value","daily"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](31,36,"ROOT.Daily")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","primary")("value","weekly"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](34,38,"ROOT.Weekly")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","primary")("value","monthly"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](37,40,"ROOT.Monthly")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!r.isActivityMonitorConnected),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isActivityMonitorConnected)}}var kv=function(){function e(e,t,n,i,r,a,o,s,l,c,d,u,p,h){var m=this;this.document=e,this.titleService=t,this.minToHrsMin=n,this.numberPipe=i,this.datePipe=r,this.daysBetweenMoment=a,this.achievementService=o,this.dateService=s,this.translate=l,this.PermissionsService=c,this.ThemeService=d,this.router=u,this.healthService=p,this.AccountService=h,this.avgText=this.translate.instant("ROOT.day"),this.startDate=null,this.endDate=null,this.isGraphView=!1,this.isMetric=!1,this.isDarkTheme=!1,this.bestStepsview=!0,this.bestCaloriesview=!0,this.bestFloorsview=!0,this.bestActiveMinutessview=!0,this.isFullScreened=!1,this.showChartOptions=!0,this.showLoadingOverlay=!1,this.averagesOn=!0,this.chartReady=!1,this.chartUpdated=!1,this.activeTimeGraphable=!1,this.showActiveTimeGraph=!1,this.floorsGraphable=!1,this.showFloorsGraph=!1,this.showStepsGraph=!0,this.showCaloriesGraph=!0,this.Highcharts=re,this.stepsGraphData=[],this.caloriesGraphData=[],this.fdCaloriesGraphData=[],this.distanceGraphData=[],this.daDistanceGraphData=[],this.veryActiveTimeGraphData=[],this.fairlyActiveTimeGraphData=[],this.lightlyActiveTimeGraphData=[],this.floorsGraphData=[],this.tooltipDataDaily={},this.tooltipDataWeekly={},this.tooltipDataMonthly={},this.isActivityMonitorConnected=!1,this.hideDailyActivityAchievements=!0,this.grouping="daily",this.dailyList=[],this.dailyDateArray={},this.weeklyDateArray={},this.monthlyDateArray={},this.currentPage=0,this.rowLimit=10,this.numPages=0,this.totalActiveMin=0,this.totalAllActiveMin=0,this.totalFloors=0,this.hideFloors=!1,this.rowLimitOptions=[{id:10,label:"10"},{id:20,label:"20"},{id:50,label:"50"},{id:100,label:"100"},{id:200,label:"200"}],this.totalSteps=0,this.numberOfDaysForAvg=1,this.numberOfWeeksForAvg=1,this.numberOfMonthsForAvg=1,this.totalDailyCalories=0,this.totalDailyDistance=0,this.calsClicked=!1,this.isMobileEmbedded=!1,this.calories_txt="calories",this.steps_txt="steps",this.chartCallback=function(e){m.chartRef=e,m.chartRef.setSize(m.originalWidth,m.originalHeight,!1)}}return e.prototype.exportStepData=function(){var e=new Date(this.startDate),t=new Date(this.endDate);t.setHours(23),t.setMinutes(59),t.setSeconds(59);var n=this.dateService.dateObjToDateString(e),i=this.dateService.dateObjToDateString(t);window.location.href=this.AccountService.getPy3Host()+"/api/v2/table/export?date_from="+n+"&date_to="+i+"&type=steps"},e.prototype.updateGraphs=function(){this.generateGraphData(),this.generateGraphs(),this.sortData({active:"date",direction:"desc"}),this.yearHeader=this.startDate.year==this.endDate.year?this.startDate.year():this.startDate.year()+" - "+this.endDate.year(),console.log(this.yearHeader),this.chartUpdated=!0,this.numberOfDaysForAvg=this.endDate.diff(this.startDate,"day"),this.numberOfWeeksForAvg=this.endDate.diff(this.startDate,"week"),this.numberOfMonthsForAvg=this.endDate.diff(this.startDate,"month"),console.log(this.yearHeader)},e.prototype.generateGraphData=function(){this.dailyList=[],this.stepsGraphData=[],this.caloriesGraphData=[],this.fdCaloriesGraphData=[],this.distanceGraphData=[],this.daDistanceGraphData=[],this.veryActiveTimeGraphData=[],this.fairlyActiveTimeGraphData=[],this.lightlyActiveTimeGraphData=[],this.floorsGraphData=[],this.tooltipDataDaily={},this.tooltipDataWeekly={},this.tooltipDataMonthly={};var e=0,t=0,n=0,i=0,r=0,a=0,o=0,s=0,l=0,c=0,d=0,u=0,p=0,h=0;if("daily"===this.grouping){for(var m in this.dailyDateArray)if(this.dailyDateArray.hasOwnProperty(m)){if(m=Number(m),a=0,o=0,s=0,l=0,c=0,d=0,u=0,p=0,h=0,this.dailyDateArray[m]){this.dailyDateArray[m].health.steps&&(a=Number(this.dailyDateArray[m].health.steps.measures.steps),o=Number(this.dailyDateArray[m].health.steps.measures.calories),c=Number(this.dailyDateArray[m].health.steps.measures.distance),d=Number(this.dailyDateArray[m].health.steps.measures.secondsVeryActive),u=Number(this.dailyDateArray[m].health.steps.measures.secondsFairlyActive),p=Number(this.dailyDateArray[m].health.steps.measures.secondsLightlyActive),h=Number(this.dailyDateArray[m].health.steps.measures.floors));for(var g=0;g<this.dailyDateArray[m].activities.length;g++)l+=Number(this.dailyDateArray[m].activities[g].distance),s+=Number(this.dailyDateArray[m].activities[g].calories)}var f={steps:a,calories:o,activeMin:(Number.isNaN(d)?0:d)+(Number.isNaN(u)?0:u),allActiveMin:(Number.isNaN(d)?0:d)+(Number.isNaN(u)?0:u)+(Number.isNaN(p)?0:p),floors:h,date:m};this.dailyList.push(f),n+=o,e+=a,i+=c,i+=l,t+=h,r+=Number.isNaN(d)?0:d,r+=Number.isNaN(u)?0:u,r+=Number.isNaN(p)?0:p,this.tooltipDataDaily[m]={steps:a,calories:o,fdCalories:s,distance:l,daDistance:c,veryActiveTime:d,fairlyActiveTime:u,lightlyActiveTime:p,floors:h},o>s&&(o-=s),this.stepsGraphData.push([m,a]),this.caloriesGraphData.push([m,o]),this.fdCaloriesGraphData.push([m,s]),this.distanceGraphData.push([m,this.isMetric?Number(Object(B.P)(l)):l]),this.daDistanceGraphData.push([m,this.isMetric?Number(Object(B.P)(c)):c]),this.veryActiveTimeGraphData.push([m,d]),this.fairlyActiveTimeGraphData.push([m,u]),this.lightlyActiveTimeGraphData.push([m,p]),this.floorsGraphData.push([m,h])}try{this.floorsGraphData[0][1]>0&&(this.floorsGraphable=!0),this.fairlyActiveTimeGraphData[0][1]>0&&(this.activeTimeGraphable=!0)}catch(I){}}else if("weekly"===this.grouping){for(var v in this.weeklyDateArray)if(this.weeklyDateArray.hasOwnProperty(v)){if(v=Number(v),a=0,o=0,s=0,l=0,c=0,d=0,u=0,p=0,h=0,this.weeklyDateArray[v]){for(var y=0;y<this.weeklyDateArray[v].health.steps.length;y++)a+=Number(this.weeklyDateArray[v].health.steps[y].measures.steps),o+=Number(this.weeklyDateArray[v].health.steps[y].measures.calories),c+=Number(this.weeklyDateArray[v].health.steps[y].measures.distance),d+=Number(this.weeklyDateArray[v].health.steps[y].measures.secondsVeryActive),u+=Number(this.weeklyDateArray[v].health.steps[y].measures.secondsFairlyActive),p+=Number(this.weeklyDateArray[v].health.steps[y].measures.secondsLightlyActive),h+=Number(this.weeklyDateArray[v].health.steps[y].measures.floors);for(var b=0;b<this.weeklyDateArray[v].activities.length;b++)l+=Number(this.weeklyDateArray[v].activities[b].distance),s+=Number(this.weeklyDateArray[v].activities[b].calories)}f={steps:a,calories:o,activeMin:(Number.isNaN(d)?0:d)+(Number.isNaN(u)?0:u),allActiveMin:(Number.isNaN(d)?0:d)+(Number.isNaN(u)?0:u)+(Number.isNaN(p)?0:p),floors:h,date:v},this.dailyList.push(f),n+=o,e+=a,i+=c,i+=l,t+=h,r+=Number.isNaN(d)?0:d,r+=Number.isNaN(u)?0:u,r+=Number.isNaN(p)?0:p,this.tooltipDataWeekly[v]={steps:a,calories:o,fdCalories:s,distance:l,daDistance:c,veryActiveTime:d,fairlyActiveTime:u,lightlyActiveTime:p,floors:h},o>s&&(o-=s),this.stepsGraphData.push([v,a]),this.caloriesGraphData.push([v,o]),this.fdCaloriesGraphData.push([v,s]),this.distanceGraphData.push([v,this.isMetric?Number(Object(B.P)(l)):l]),this.daDistanceGraphData.push([v,this.isMetric?Number(Object(B.P)(c)):c]),this.veryActiveTimeGraphData.push([v,d]),this.fairlyActiveTimeGraphData.push([v,u]),this.lightlyActiveTimeGraphData.push([v,p]),this.floorsGraphData.push([v,h])}try{this.floorsGraphData[0][1]>0&&(this.floorsGraphable=!0),this.fairlyActiveTimeGraphData[0][1]>0&&(this.activeTimeGraphable=!0)}catch(I){}}else if("monthly"===this.grouping){for(var x in this.monthlyDateArray)if(this.monthlyDateArray.hasOwnProperty(x)){if(x=Number(x),a=0,o=0,s=0,l=0,c=0,d=0,u=0,p=0,h=0,this.monthlyDateArray[x]){for(var w=0;w<this.monthlyDateArray[x].health.steps.length;w++)a+=Number(this.monthlyDateArray[x].health.steps[w].measures.steps),o+=Number(this.monthlyDateArray[x].health.steps[w].measures.calories),c+=Number(this.monthlyDateArray[x].health.steps[w].measures.distance),d+=Number(this.monthlyDateArray[x].health.steps[w].measures.secondsVeryActive),u+=Number(this.monthlyDateArray[x].health.steps[w].measures.secondsFairlyActive),p+=Number(this.monthlyDateArray[x].health.steps[w].measures.secondsLightlyActive),h+=Number(this.monthlyDateArray[x].health.steps[w].measures.floors);for(var S=0;S<this.monthlyDateArray[x].activities.length;S++)l+=Number(this.monthlyDateArray[x].activities[S].distance),s+=Number(this.monthlyDateArray[x].activities[S].calories)}f={steps:a,calories:o,activeMin:(Number.isNaN(d)?0:d)+(Number.isNaN(u)?0:u)+(Number.isNaN(p)?0:p),allActiveMin:(Number.isNaN(d)?0:d)+(Number.isNaN(u)?0:u),floors:h,date:x},this.dailyList.push(f),n+=o,e+=a,i+=c,i+=l,t+=h,r+=Number.isNaN(d)?0:d,r+=Number.isNaN(u)?0:u,r+=Number.isNaN(p)?0:p,this.tooltipDataMonthly[x]={steps:a,calories:o,fdCalories:s,distance:l,daDistance:c,veryActiveTime:d,fairlyActiveTime:u,lightlyActiveTime:p,floors:h},o>s&&(o-=s),this.stepsGraphData.push([x,a]),this.caloriesGraphData.push([x,o]),this.fdCaloriesGraphData.push([x,s]),this.distanceGraphData.push([x,this.isMetric?Number(Object(B.P)(l)):l]),this.daDistanceGraphData.push([x,this.isMetric?Number(Object(B.P)(c)):c]),this.veryActiveTimeGraphData.push([x,d]),this.fairlyActiveTimeGraphData.push([x,u]),this.lightlyActiveTimeGraphData.push([x,p]),this.floorsGraphData.push([x,h])}try{this.floorsGraphData[0][1]>0&&(this.floorsGraphable=!0),this.fairlyActiveTimeGraphData[0][1]>0&&(this.activeTimeGraphable=!0)}catch(I){}}var C=0,k=0,O=0,E=0,M=0;"daily"===this.grouping?(C=Number(n/this.numOfDays),O=Number(e/this.numOfDays),E=Number(r/this.numOfDays),k=Number(i/this.numOfDays),M=Number(t/this.numOfDays)):("weekly"===this.grouping||"monthly"===this.grouping)&&(C=Number(n/this.caloriesGraphData.length),O=Number(e/this.caloriesGraphData.length),E=Number(r/this.caloriesGraphData.length),k=Number(i/this.caloriesGraphData.length),M=Number(t/this.numOfDays)),"monthly"===this.grouping&&0==_(this.startDate).diff(_(this.endDate),"month")?(this.avgCalData=[[Object(B.t)(new Date(this.startDate)),C]],this.avgDistanceData=[[Object(B.t)(new Date(this.startDate)),k]],this.avgStepsData=[[Object(B.t)(new Date(this.startDate)),O]],this.avgTimeData=[[Object(B.t)(new Date(this.startDate)),E]],this.avgFloorData=[[Object(B.t)(new Date(this.startDate)),M]]):(this.avgCalData=[[Object(B.t)(new Date(this.startDate)),C],[Object(B.t)(new Date(this.endDate)),C]],this.avgDistanceData=[[Object(B.t)(new Date(this.startDate)),k],[Object(B.t)(new Date(this.endDate)),k]],this.avgStepsData=[[Object(B.t)(new Date(this.startDate)),O],[Object(B.t)(new Date(this.endDate)),O]],this.avgTimeData=[[Object(B.t)(new Date(this.startDate)),E],[Object(B.t)(new Date(this.endDate)),E]],this.avgFloorData=[[Object(B.t)(new Date(this.startDate)),M],[Object(B.t)(new Date(this.endDate)),M]])},e.prototype.navigateToDay=function(e){this.router.navigate(["/daily"],e.date instanceof _?{queryParams:{date:new Date(e.date).getTime()}}:{queryParams:{date:e.date+432e5}})},e.prototype.navigateToMonth=function(e,t){var n;try{n=e.date.unix()}catch(i){n=e.date[0].unix()}this.router.navigate(["/calendar"],{queryParams:{date:n,weekView:t}})},e.prototype.getData=function(){var e=this;this.showLoadingOverlay=!0,this.healthService.getSteps(this.startDate,this.endDate,this.activityMonitor).subscribe(function(t){var n=new rf(t.response);if(e.totalSteps=0,e.totalDailyCalories=0,e.totalDailyDistance=0,n.health){e.healthData=n.health,e.trackedDays=e.healthData.length;for(var i=0;i<e.healthData.length;i++){var r=Number(Object(B.t)(e.healthData[i].dateObj)),a=Number(Object(B.t)(Object(B.F)(e.healthData[i].dateObj))),o=Number(Object(B.t)(new Date(e.healthData[i].dateObj.getFullYear(),e.healthData[i].dateObj.getMonth(),1)));void 0===e.dailyDateArray[r]&&(e.dailyDateArray[r]={date:e.healthData[i].dateObj,activities:[],health:{}}),void 0===e.weeklyDateArray[a]&&(e.weeklyDateArray[a]={date:a,activities:[],health:{steps:[]}}),void 0===e.monthlyDateArray[o]&&(e.monthlyDateArray[o]={date:o,activities:[],health:{steps:[]}}),e.dailyDateArray[r].health.steps=e.healthData[i],e.weeklyDateArray[a].health.steps.push(e.healthData[i]),e.monthlyDateArray[o].health.steps.push(e.healthData[i])}e.totalSteps=Number(n.totalSteps),e.totalDailyCalories=Number(n.totalCalories),e.totalFloors=Number(n.totalFloors),e.totalActiveMin=Number(n.totalActiveMin),e.totalAllActiveMin=Number(n.totalAllActiveMin),e.totalDailyDistance=n.totalDistance,e.updateGraphs(),e.chartReady=!0}e.showLoadingOverlay=!1})},e.prototype.generateGraphs=function(){var e=this;this.chartOptions={chart:{alignTicks:!1,type:"column",style:{fontFamily:"Helvetica Neue,Helvetica,Arial,sans-serif"},backgroundColor:"rgba(255,255,255,0.0)",animation:{duration:1200}},colors:re.map(re.getOptions().colors,function(e){return new re.Color(e).setOpacity(.5).get("rgba")}),legend:{enabled:!1},title:{text:null},credits:{enabled:!1},xAxis:[{type:"datetime",startOfWeek:0,title:{text:null},labels:{style:{fontSize:14}}}],yAxis:[{id:"steps",min:0,title:{text:null,style:{color:"#666666",fontSize:14}},labels:{style:{color:"#4597CB",fontSize:14}}}],plotOptions:{column:{shadow:!1,pointPadding:0,borderRadius:2,point:{events:{}}},series:{events:{legendItemClick:function(){return!1}},series:{groupPadding:!1}}},tooltip:{formatter:function(){var t,n,i=this.x;n="monthly"===e.grouping?e.tooltipDataMonthly[i]:"weekly"===e.grouping?e.tooltipDataWeekly[i]:e.tooltipDataDaily[i];var r=new Date(this.x),a=this.series.name.split(" Steps"),o="Steps"==a[0],s="Calories"==a[0],l="Active Minutes"==a[0],c="Floors"==a[0];a=a[0].split(" Calories"),r=r.getTime()+60*new Date(e.startDate).getTimezoneOffset()*1e3,r=e.datePipe.transform(new Date(r),"EEEE MMMM d, yyyy"),"monthly"===e.grouping&&(r=e.datePipe.transform(new Date(r),"MMMM yyyy"));var d=n.fdCalories+n.calories,u=n.floors,p=e.minToHrsMin.transform(n.lightlyActiveTime+n.veryActiveTime+n.fairlyActiveTime);n.calories>n.fdCalories&&(d=n.calories),e.numberPipe.transform(d/e.numOfDays,"1.0-0");var h=e.isMetric?Number(Object(B.P)(n.distance)):n.distance,m=e.isMetric?Number(Object(B.P)(n.daDistance)):n.daDistance,g=e.numberPipe.transform(h+m,"1.0-2"),f=e.numberPipe.transform(n.steps,"1.0-0"),v=(s?"font-weight: bold;":"")+(s?"color: "+this.series.color:""),y=(l?"font-weight: bold;":"")+(l?"color: "+this.series.color:""),b=(c?"font-weight: bold;":"")+(c?"color: "+this.series.color:"");return t='<span style="'+(o?"font-weight: bold;":"")+(o?"color: "+this.series.color:"")+'">'+e.translate.instant("ROOT.Steps")+": </span>"+f+'<br/><span style="'+v+'">'+e.translate.instant("ROOT.Calories")+": </span>"+e.numberPipe.transform(d,"1.0-0")+"<br/>",p.length>0&&(t+='<span style="'+y+'">'+e.translate.instant("ROOT.Active Minutes")+": </span>"+p+"<br/>"),isNaN(u)||(t+='<span style="'+b+'">'+e.translate.instant("ROOT.Floors")+": </span>"+u+"<br/>"),'<span style="font-weight: bold; font-size: 13px;">'+r+"</span><br/>"+t+e.translate.instant("ROOT.Distance")+": "+g+(e.isMetric?" km":" mi")+"<br/>"}},series:[{name:"Calories",data:this.caloriesGraphData.sort(),color:{linearGradient:{x1:0,x2:0,y1:0,y2:1},stops:[[0,"#F16124"],[1,"#FCB424"]]}},{name:"Steps",data:this.stepsGraphData.sort(),color:new re.Color("#4597CB").setOpacity(1).get("rgba"),yAxis:0}]},this.activeTimeGraphable&&(this.chartOptions.series.push({name:"Active Minutes",data:this.fairlyActiveTimeGraphData.sort(),color:new re.Color("#3FAE48").setOpacity(1).get("rgba"),yAxis:this.chartOptions.yAxis.length,visible:this.showActiveTimeGraph}),this.chartOptions.yAxis.push({id:"ActiveMinutes",min:0,title:{text:null,style:{color:"#666666",fontSize:14}},labels:{style:{color:"#5E2772",fontSize:14},formatter:function(){return this.axis.defaultLabelFormatter.call(this)}},gridLineWidth:0,lineWidth:1,tickWidth:1,opposite:!0})),this.floorsGraphable&&this.chartOptions.series.push({name:"Floors",data:this.floorsGraphData.sort(),color:new re.Color("#5E2772").setOpacity(1).get("rgba"),yAxis:this.chartOptions.yAxis.length-1,visible:this.showFloorsGraph});var t={name:"Average Steps",data:this.avgStepsData,marker:{enabled:!1},states:{hover:{enabled:!1}},enableMouseTracking:!1,dashStyle:"Solid",type:"line",color:"#4597CB",yAxis:0,xAxis:0},n={name:"Average Calories",data:this.avgCalData,marker:{enabled:!1},states:{hover:{enabled:!1}},enableMouseTracking:!1,dashStyle:"Solid",type:"line",color:"#F16124",yAxis:0,xAxis:0};this.activeTimeGraphable&&this.averagesOn&&this.chartOptions.series.push({name:"Average Active Minutes",data:this.avgTimeData,marker:{enabled:!1},states:{hover:{enabled:!1}},enableMouseTracking:!1,dashStyle:"Solid",type:"line",color:"#3FAE48",yAxis:this.chartOptions.yAxis.length-1,xAxis:0,visible:this.showActiveTimeGraph}),this.floorsGraphable&&this.averagesOn&&this.chartOptions.series.push({name:"Average Floors",data:this.avgFloorData,marker:{enabled:!1},states:{hover:{enabled:!1}},enableMouseTracking:!1,dashStyle:"Solid",type:"line",color:"#5E2772",yAxis:this.chartOptions.yAxis.length-1,xAxis:0,visible:this.showFloorsGraph}),this.averagesOn&&(this.chartOptions.series.push(t),this.chartOptions.series.push(n))},e.prototype.sortData=function(e){var t=this.dailyList.slice();this.sortedData=e.active&&""!==e.direction?t.sort(function(t,n){var i="asc"===e.direction;switch(e.active){case"date":return Ov(t.date,n.date,i);case"calories":return Ov(t.calories,n.calories,i);case"activeMin":return Ov(t.activeMin,n.activeMin,i);case"floors":return Ov(t.floors,n.floors,i);case"steps":return Ov(t.steps,n.steps,i);default:return 0}}):t},e.prototype._toggleSeries=function(e,t,n){e?this.chartRef.series[t].show():this.chartRef.series[t].hide(),console.log("toggle"),this.chartRef.series[t].update({visible:e}),this.chartRef.series[n].update({visible:e})},e.prototype.toggleSeries=function(e){for(var t,n,i,r=0;r<this.chartRef.series.length;r++)if(this.chartRef.series[r].name===e){if("Active Minutes"===e){t=r,this.chartRef.yAxis[1].update(0==(i=this.showActiveTimeGraph)?{labels:{style:{color:"#5E2772"}}}:{labels:{style:{color:this.chartRef.series[t].color}}}),e="Average Active Minutes";continue}if("Average Active Minutes"===e)n=r;else{if("Floors"===e){t=r,i=this.showFloorsGraph,e="Average Floors";continue}if("Average Floors"===e)n=r;else{if("Steps"===e){t=r,this.chartRef.yAxis[0].update(0==(i=this.showStepsGraph)?{labels:{style:{color:"#F16124"}}}:{labels:{style:{color:this.chartRef.series[t].color}}}),e="Average Steps";continue}if("Average Steps"===e)n=r;else{if("Calories"===e){t=r,i=this.showCaloriesGraph,e="Average Calories";continue}"Average Calories"===e&&(n=r)}}}this._toggleSeries(i,t,n)}},e.prototype.fullscreenEvent=function(e){this.document.fullscreenElement||(console.log("Exiting"),this.isFullScreened&&this.fullScreen(!0))},e.prototype.fullScreen=function(e,t){if(null==t&&(t=this.chartWrap.nativeElement),this.isFullScreened||0!=e)try{t.exitFullscreen(),this.document.exitFullscreen()}catch(n){this.document.mozCancelFullScreen?this.document.mozCancelFullScreen():this.document.webkitExitFullscreen?this.document.webkitExitFullscreen():this.document.msExitFullscreen&&this.document.msExitFullscreen()}else try{t.requestFullscreen()}catch(n){t.msRequestFullscreen?t.msRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen&&t.webkitRequestFullscreen()}this.isFullScreened=!this.isFullScreened,this.isFullScreened?this.chartRef.setSize(this.document.documentElement.clientWidth,this.document.documentElement.clientHeight):(console.log("Resetting size"),this.chartRef.setSize(this.originalWidth,this.originalHeight))},e.prototype.ngOnInit=function(){var e=this;if(this.AccountService.isMobileEmbedded().subscribe(function(t){e.isMobileEmbedded=t}),this.AccountService.isLoggedIn){this.isMetric=this.AccountService.account.isMetric(),this.activityMonitor=this.AccountService.account.activityMonitor,console.log(this.activityMonitor),null!=this.activityMonitor&&""!=this.activityMonitor&&(this.isActivityMonitorConnected=!0,this.preferredPartner=this.activityMonitor),console.log("Preferred "+this.preferredPartner);try{this.partnerDetails=of.b[this.activityMonitor.replace(/\s/g,"").toLowerCase()]}catch(n){this.partnerDetails=null}var t;this.dateService.setFirstdate(this.AccountService.account.creationDate),this.healthService.getOldestDate().subscribe(function(n){(t=_(n.response.records[0].date).toDate()).setHours(0,0,0),e.dateService.setFirstdate(t)}),this.dateSubscription=this.dateService.dateRange.subscribe(function(t){e.startDate=_(t.startDate),e.endDate=_(t.endDate),e.numOfDays=e.daysBetweenMoment.transform(e.startDate,e.endDate),e.numberOfDaysForAvg=e.numOfDays,e.numOfDays=e.daysBetweenMoment.transform(e.startDate,e.endDate),e.weeklyDateArray={},e.monthlyDateArray={},e.dailyDateArray={},e.getData()}),this.achievementService.getDailyActivityAchievements().subscribe(function(t){var i=["steps","calories","floors","sedentary_cals","active_min"];e.daily_activity_achievements={steps:{},calories:{},floors:{},sedentary_cals:{},active_min:{}};for(var r=0;r<i.length;r++)try{var a=_(t[i[r]].best_year.date_of_record).year();e.daily_activity_achievements[i[r]].year={date:a,value:t[i[r]].best_year.value};var o=_(t[i[r]].best_month.date_of_record);e.daily_activity_achievements[i[r]].month={date:o,value:t[i[r]].best_month.value};var s=_(t[i[r]].best_week.date_of_record),l=_(t[i[r]].best_week.date_of_record);l.date(s.date()+6),e.daily_activity_achievements[i[r]].week={date:[s,l],value:t[i[r]].best_week.value};var c=_(t[i[r]].best_day.date_of_record);e.daily_activity_achievements[i[r]].day={date:c,value:t[i[r]].best_day.value}}catch(n){console.log("Error getting daily activity achievement for type: "+i[r])}e.hideDailyActivityAchievements=!1})}},e.prototype.ngAfterViewInit=function(){this.AccountService.isLoggedIn&&(this.originalHeight=this.chartWrap.nativeElement.offsetHeight,this.originalWidth=this.chartWrap.nativeElement.offsetWidth)},e.prototype.ngOnDestroy=function(){this.AccountService.isLoggedIn&&this.dateSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](y.DOCUMENT),i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](B.R),i["\u0275\u0275directiveInject"](y.DecimalPipe),i["\u0275\u0275directiveInject"](y.DatePipe),i["\u0275\u0275directiveInject"](B.x),i["\u0275\u0275directiveInject"](W),i["\u0275\u0275directiveInject"](xg.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](nf.a),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-daily-activity"]],viewQuery:function(e,t){if(1&e&&(i["\u0275\u0275viewQuery"](lf,1),i["\u0275\u0275viewQuery"](cf,1)),2&e){var n=void 0;i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.chartWrap=n.first),i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.mobileChartWrap=n.first)}},hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("fullscreenchange",function(e){return t.fullscreenEvent(e)},!1,i["\u0275\u0275resolveDocument"])("webkitfullscreenchange",function(e){return t.fullscreenEvent(e)},!1,i["\u0275\u0275resolveDocument"])("mozfullscreenchange",function(e){return t.fullscreenEvent(e)},!1,i["\u0275\u0275resolveDocument"])("MSFullscreenChange",function(e){return t.fullscreenEvent(e)},!1,i["\u0275\u0275resolveDocument"])},decls:5,vars:5,consts:[["class","loading-overlay",4,"ngIf"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"loading-overlay"],[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],["id","listSteps",1,"overframe"],["id","dataProviderError","hidden",""],[1,"dailyActivityTopGraph"],["chartWrap",""],[1,"partner-image",3,"src"],["style","width: 100%;",3,"Highcharts","oneToOne","update","callbackFunction","options","updateChange",4,"ngIf"],["class","graphOptionsContainer",4,"ngIf"],[2,"clear","both"],[2,"margin-left","15px"],[1,"graphOptionCheckbox","stepsCheckbox",3,"ngClass","ngModel","color","change","ngModelChange"],[1,"graphOptionCheckbox","caloriesCheckbox",3,"ngClass","ngModel","color","change","ngModelChange"],["class","graphOptionCheckbox activeTimeCheckbox",3,"ngClass","ngModel","change","ngModelChange",4,"ngIf"],["class","graphOptionCheckbox floorsCheckbox",3,"ngClass","ngModel","color","change","ngModelChange",4,"ngIf"],[1,"chartOptionContainer"],["mat-button","","aria-label","Show Chart Options",1,"chartOptionBtn",3,"click"],["src","/static/img/btn/options_button.png",1,"chartOptionBtnImg"],[1,"chartOptions",3,"hidden"],["aria-label","Averages",1,"md-primary","averageOption",2,"padding-right","25px",3,"color","ngModel","ngModelChange","change"],[1,"groupByRadio"],[1,"chartGroupContainer",3,"ngModel","ngModelChange","change"],[1,"md-primary","groupByButton",3,"color","value"],["class","healthTableContainer",4,"ngIf"],[1,"clearboth",2,"height","0px"],[1,"clearboth"],[1,"dailyAverageTile"],[1,"tileTopMetric"],["src","/static/img/icons/stepsMobileIcon.png",1,"image","metricTypeIcon"],[1,"dateDisplay",2,"padding-top","10px","display","none"],[1,"mobileStepsData"],[1,"topData"],[1,"typeLabel"],[1,"bottomData"],["id","totalsType",1,"textClass"],[1,"dailyAverageTile","dailyCalorieTile"],["src","/static/img/icons/caloriesMobileIcon.png",1,"image","metricTypeIcon",2,"padding-bottom","6px"],[1,"clear-on-size"],["src","/static/img/icons/goal_mobile_duration.png",1,"image","metricTypeIcon"],[1,"dateDisplay"],["class","dailyAverageTile dailyFloorsTile",4,"ngIf"],[1,"dailyAverageTile","dailyFloorsTile"],["src","/static/img/icons/elevation_blue.png",1,"image","metricTypeIcon"],[2,"width","100%",3,"Highcharts","oneToOne","update","callbackFunction","options","updateChange"],[1,"graphOptionsContainer"],["mat-button","",1,"fullScreen",3,"click"],[1,"material-icons"],[1,"graphOptionCheckbox","activeTimeCheckbox",3,"ngClass","ngModel","change","ngModelChange"],[1,"graphOptionCheckbox","floorsCheckbox",3,"ngClass","ngModel","color","change","ngModelChange"],[1,"healthTableContainer"],["class","noDataFound",4,"ngIf"],[1,"noDataFound"],["routerLink","/partners"],["src","/static/img/icons/squareStepsIcon.png",2,"height","60px","margin","20px"],["class","healthTableDiv",4,"ngIf"],["mat-stroked-button","","class","export-button",3,"click",4,"ngIf"],["class","achievementsSection",4,"ngIf"],[1,"healthTableDiv"],["matSort","","id","healthDataStepsTable","class","table table-responsive member-status",3,"matSortChange",4,"ngIf"],["matSort","","id","healthDataStepsTable",1,"table","table-responsive","member-status",3,"matSortChange"],[2,"width","100%"],[1,"healthTableHeader"],["mat-sort-header","date",1,"th-health"],["arrowPosition","before","mat-sort-header","steps",1,"th-health"],["src","/static/img/icons/stepsMobileIcon.png",1,"metricTypeHeaderIcon"],["arrowPosition","before","mat-sort-header","activeMin",1,"th-health"],["src","/static/img/icons/goal_mobile_duration.png",1,"metricTypeHeaderIcon"],["style","font-size: small;",4,"ngIf"],["class","th-health","arrowPosition","before","mat-sort-header","floors",3,"hidden",4,"ngIf"],["arrowPosition","before","mat-sort-header","calories",1,"th-health",2,"min-width","80px"],["src","/static/img/icons/caloriesMobileIcon.png",1,"metricTypeHeaderIcon"],["class","th-health","arrowPosition","before",4,"ngIf"],["id","stepsTable",1,"stepsOverview"],["class","tableRow member-animation",3,"click",4,"ngFor","ngForOf"],["style","border:none !important; background: none !important;",4,"ngIf"],["colspan","5",2,"border","none !important","background","none !important"],[1,"paginationContainer"],[1,"paginationContent"],[1,"paginationChoice"],[1,"paginationTotals"],[3,"ngModel","ngClass","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["color","primary",1,"paginationLabel"],["class","paginationContainer2",4,"ngIf"],[1,"stepsTotals"],[1,"healthTextLeft"],["class","healthTextRight",4,"ngIf"],[1,"healthTextRight"],[2,"white-space","nowrap"],["class","healthTextRight",3,"hidden",4,"ngIf"],[2,"font-size","small"],["arrowPosition","before","mat-sort-header","floors",1,"th-health",3,"hidden"],["src","/static/img/icons/elevation_blue.png",1,"metricTypeHeaderIcon"],["arrowPosition","before",1,"th-health"],["routerLink","/partners/fitbit"],[1,"tableRow","member-animation",3,"click"],[1,"stepsTableDateCell"],[1,"healthTableData"],[1,"healthTableData",2,"white-space","nowrap"],["class","healthTableData",3,"hidden",4,"ngIf"],["class","healthTableData","style","white-space:nowrap;",4,"ngIf"],[1,"healthTableData",3,"hidden"],[2,"border","none !important","background","none !important"],[3,"value"],[1,"paginationContainer2"],["mat-mini-fab","","routerLink",".","aria-label","Next Page",2,"margin-left","15px","float","right",3,"disabled","click"],[1,"pageIndicatorText",2,"float","right","margin-top","10px"],["mat-mini-fab","","routerLink",".",2,"margin-right","15px","float","right",3,"disabled","click"],[1,"healthTextRight",3,"hidden"],["mat-stroked-button","",1,"export-button",3,"click"],["src","/static/img/icons/exportIcon.png","title","Export",1,"export-icon"],[1,"achievementsSection"],[1,"lifetimeBestText"],[1,"bestSection"],[1,"achievementsSectionHeaderBlue","achievementsSectionHeader"],["src","/static/img/icons/achievementsStepsLrg_icon.png",1,"metricIcon"],[1,"bestStepsToggle",2,"float","right",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow","style","float:right;",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow","style","float:right;",4,"ngIf"],[1,"achievementsSectionHeaderCalories","achievementsSectionHeader"],["src","/static/img/theme/site/calorie-icon.png",1,"metricIcon",2,"width","24px"],[1,"bestCaloriesToggle",2,"float","right",3,"click"],["class","bestSection",4,"ngIf"],[1,"achievementsSectionHeaderActiveMin","achievementsSectionHeader"],["src","/static/img/theme/site/timer-icon.png",1,"metricIcon",2,"width","24px","margin-top","5px"],[1,"bestToggle",2,"float","right",3,"click"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow",2,"float","right"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow",2,"float","right"],[1,"achievementsWorkout"],[1,"dailyAchievementsDetail",3,"click"],[1,"achievementsDailyInfo"],[1,"achievementsDailyInfoTitle","oneLineText"],[1,"dailyAchievementsDetail"],["src","/static/img/icons/elevation_blue.png",1,"metricIcon",2,"width","24px","margin-top","8px"],["class","achievementsWorkout",4,"ngIf"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,df,1,0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,uf,5,3,"div",2),i["\u0275\u0275template"](3,pf,1,0,"app-login-notify",3),i["\u0275\u0275template"](4,Cv,42,46,"div",4),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngIf",t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn))},directives:[y.NgIf,y.NgClass,Yo.a,_g.a,El.a,de.o,de.r,k.b,Th.a,kl.b,kl.a,si.a,S.f,sf.a,sf.b,y.NgForOf,fe.c,fe.g,Ae.a,m.o,S.e],pipes:[M.c,y.LowerCasePipe,y.DecimalPipe,B.K,B.lb,B.R,y.DatePipe],styles:[".activeTimeCheckbox .mat-checkbox-background,.activeTimeCheckbox .mat-checkbox-frame{border-color:#3fae48!important}.activeTimeChartChecked .mat-checkbox-background{background-color:#3fae48!important}.floorsCheckbox .mat-checkbox-background,.floorsCheckbox .mat-checkbox-frame{border-color:#5e2772!important}.floorsChartChecked .mat-checkbox-background{background-color:#5e2772!important}.stepsCheckbox .mat-checkbox-background,.stepsCheckbox .mat-checkbox-frame{border-color:#4597cb!important}.stepsChartChecked .mat-checkbox-background{background-color:#4597cb!important}.caloriesCheckbox .mat-checkbox-background,.caloriesCheckbox .mat-checkbox-frame{border-color:#f16124!important}.caloriesChartChecked .mat-checkbox-background{background-color:#f16124!important}.topData{font-size:32px;border-bottom:0 solid;margin-bottom:10px;padding:0}.topData,.typeLabel{margin-top:10px}.bottomData,.textClass{font-size:16px}.bottomData{padding:0}.darkTheme .mat-select-value-text,.darkTheme mat-label{color:#fff!important}.stepsOverview{vertical-align:middle;font-size:16px}.stepsOverview :hover{text-decoration:none}.stepsOverview td{height:60px}.stepsTotals{font-weight:800;border-top:4px solid #4597cb!important;font-size:16px}.stepsTableDateCell{text-align:left;vertical-align:top!important;padding:8px}.tableRow{cursor:pointer}.tableRow:hover{background-color:rgba(226,227,228,.2);text-decoration:none}.metricTypeIcon{float:left;max-width:30px;margin:5px -40px 0 10px;padding:0;max-height:40px}.dailyAverageTile{padding-bottom:20px;border-bottom:1px solid #b2b2b2;border-radius:10px;width:23%;margin:10px 0 30px;float:left;text-align:center;display:block}.dailyAverageTile:hover{background-color:rgba(226,227,228,.2);text-decoration:none}.dailyCalorieTile,.dailyFloorsTile{float:right}.dailyActivityTopGraph{visibility:visible;height:300px;width:100%;margin-top:30px;clear:both;float:left}.partner-image{position:absolute;float:right;right:0;margin-right:90px;width:36px;margin-top:15px}.chartOptions{padding-top:0;border-top:0 solid #000;margin:-30px 0 -5px 30px;float:left;width:100%}.chartOptionContainer,.healthTableContainer{float:left;width:100%;clear:both;display:block}.fullScreen{margin-top:-10px!important;float:right}.achievementsHeader{font-size:28px;margin:20px;text-align:center}.bestSection{float:left;width:100%;margin-bottom:50px}.achievementsSectionHeader{font-size:22px;line-height:40px;padding-bottom:5px}.achievementsSectionHeaderDuration{border-bottom:3px solid #fcb424!important}.achievementsSectionHeaderActiveMin{border-bottom:3px solid #3fae48!important}.achievementsSectionHeaderBlue{border-bottom:3px solid #4597cb!important}.achievementsSectionHeaderHr{border-bottom:3px solid #ee3123!important}.achievementsSectionHeaderCalories{border-bottom:3px solid #f16124!important}.achievementsWorkout{padding-top:10px;padding-bottom:10px;margin:5px;width:47%;border-bottom:1px solid #b2b2b2;border-radius:10px;float:left}.achievementsWorkoutLink{margin:80px 0 0}.achievementsSection{padding:10px 25px 20px;margin-bottom:8px;flex:0 0 50%}.achievementsWorkoutInfo{padding-left:10px;font-size:20px;text-align:center}.achievementsWorkoutInfoTitle{font-size:16px;width:250px;font-weight:700;margin:0 0 5px}.achievementsWorkoutInfoDate{font-size:14px;width:250px}.myBestWorkoutIcon{width:47px;height:47px;margin-top:40px}.myBestLabel{font-size:16px;font-weight:400}.bestMeasure{margin:0 0 -10px;clear:none}.achievementsDailyInfo{font-size:40px}.achievementsDailyInfoTitle{font-size:14px;padding-bottom:0}.achievementsHeaderSection{margin-top:30px;margin-bottom:30px;text-align:center;width:100%;padding:10px;font-size:28px;background-color:rgba(234,235,236,.2)}.openArrow{float:right;padding-right:0;margin-top:10px}.solidBorderBottom{border-bottom:1px solid #c6c6c4}.achievementsWrap{display:flex;flex-wrap:wrap;justify-content:center}.metricIcon{margin-right:10px;float:left}.dailyAchievementsDetail{max-width:307px;margin:auto;text-align:center;cursor:pointer}.groupByRadio{margin:8px 0 20px 3px}.averageOption{padding-left:0;margin-left:-15px}.groupByButton{margin-left:0;text-align:center;margin-right:20px}.metricTypeHeaderIcon{height:30px;float:left;padding-bottom:5px;margin-bottom:5px;margin-left:5px}#healthDataStepsTable{float:left;margin-top:50px;text-align:right;border:0 solid}.healthTableData{border:0 solid;padding-top:5px}.lifetimeBestText{float:left;clear:both;width:100%}.th-health{border:1px solid}#listSteps{margin-top:20px}@media (min-width:768px){.achievementsWrap{margin:0 20%}.member-main-container{padding:0 40px 40px;background:transparent}.member-leaderboard-widget .member-name{margin:10px 0;float:left;text-align:left;padding:20px;clear:none}.coach-whistle{margin-top:20px}}@media (min-width:500px){.achievementsWrap{margin:0 5%}}@media (max-width:768px){.achievementsSection{padding:0 0 20px;flex:1;clear:both}.metricIcon{margin-bottom:10px}.graphOptionCheckbox{width:23%;margin:0;overflow:hidden;min-width:auto}.groupByRadio{margin:15px 0 20px -13px}.dailyAverageTile{width:47%}.clear-on-size{clear:both}}@media (max-width:500px){.achievementsWorkout{width:100%;margin:10px 0}.metricTypeIcon{margin-top:25px}.mobileStepsData{clear:left}.dailyAverageTile{text-align:right;width:100%;margin-bottom:0}.tileTopMetric{text-align:left;margin-left:10px}.topData{margin-top:0}.mobileStepsData{padding-right:10px;clear:none}.th-health{padding:0!important}}@media (min-width:760px){.achievementsWorkout{width:22%;border-radius:0;border:0;border-bottom:1px solid}.achievementsDailyInfo{padding-left:0;font-size:30px}.dailyAverageTile{margin:1%}.clear-both{clear:none}.metricTypeIcon{height:30px;margin-right:-20px;padding-bottom:10px;margin-top:5px}}"],encapsulation:2}),e}();function Ov(e,t,n){return(e<t?-1:1)*(n?1:-1)}function Ev(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",5),i["\u0275\u0275elementStart"](1,"a",6),i["\u0275\u0275element"](2,"img",7),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",8),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,1,"ROOT.Fitness_Assessments")))}function Mv(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}function Iv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"i",21),i["\u0275\u0275text"](1,"done"),i["\u0275\u0275elementEnd"]())}function Pv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"Yes"),i["\u0275\u0275elementEnd"]())}function Tv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"No"),i["\u0275\u0275elementEnd"]())}function Dv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"Yes"),i["\u0275\u0275elementEnd"]())}function Lv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"No"),i["\u0275\u0275elementEnd"]())}function Rv(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td",17),i["\u0275\u0275element"](2,"img",18),i["\u0275\u0275pipe"](3,"ecoToType"),i["\u0275\u0275template"](4,Iv,2,0,"i",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"td"),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"td",20),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](2).toWorkout(e.id)}),i["\u0275\u0275text"](9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"td"),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"zeroDash"),i["\u0275\u0275pipe"](13,"zeroDash"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"td"),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"zeroDash"),i["\u0275\u0275pipe"](17,"zeroDash"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"td"),i["\u0275\u0275template"](19,Pv,2,0,"span",3),i["\u0275\u0275template"](20,Tv,2,0,"span",3),i["\u0275\u0275text"](21," / "),i["\u0275\u0275template"](22,Dv,2,0,"span",3),i["\u0275\u0275template"](23,Lv,2,0,"span",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"td"),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"milesToKm"),i["\u0275\u0275pipe"](27,"metricType"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"td"),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"zeroDash"),i["\u0275\u0275pipe"](31,"zeroDash"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275styleProp"]("margin-top",r.assessmentComplete?"-20px":"0"),i["\u0275\u0275propertyInterpolate1"]("src","/static/img/activityicons/",i["\u0275\u0275pipeBind1"](3,19,r.ecomodule),".png",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.assessmentComplete),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](7,21,r.date,"EEEE, MMM d, y")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](r.title),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](12,24,r.assessmentResults.v02Max)," / ",i["\u0275\u0275pipeBind1"](13,26,r.assessmentResults.fitRank),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](16,28,r.assessmentResults.maxHR)," / ",i["\u0275\u0275pipeBind1"](17,30,r.avgBPM),""),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.assessmentResults.hrzPermID),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.assessmentResults.hrzPermID),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.assessmentResults.pzPermID),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.assessmentResults.pzPermID),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate3"]("",r.elapsedTime," / ",i["\u0275\u0275pipeBind2"](26,32,r.distance,a.useMetric)," ",i["\u0275\u0275pipeBind1"](27,35,a.useMetric),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](30,37,r.assessmentResults.restHR)," / ",i["\u0275\u0275pipeBind1"](31,39,r.assessmentResults.lthr),"")}}function jv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.No Results Found. Learn more about how Assessments can help you live your best life.")))}function Av(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",9),i["\u0275\u0275element"](1,"app-datepicker"),i["\u0275\u0275elementStart"](2,"div",10),i["\u0275\u0275elementStart"](3,"table",11),i["\u0275\u0275elementStart"](4,"thead",12),i["\u0275\u0275elementStart"](5,"tr",13),i["\u0275\u0275elementStart"](6,"th",14),i["\u0275\u0275text"](7,"Activity"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"th",14),i["\u0275\u0275text"](9,"Date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"th",14),i["\u0275\u0275text"](11,"Title / Notes"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"th",14),i["\u0275\u0275text"](13,"VO2 Max / Fitrank"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"th",14),i["\u0275\u0275text"](15,"Max HR / Avg HR"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"th",14),i["\u0275\u0275text"](17,"HR Zone / Pace Zone"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"th",14),i["\u0275\u0275text"](19,"Time / Distance"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"th",14),i["\u0275\u0275text"](21,"Rest. HR / LTHR"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"tbody"),i["\u0275\u0275template"](23,Rv,32,41,"tr",15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](24,jv,3,3,"div",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](23),i["\u0275\u0275property"]("ngForOf",n.assessments),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==n.assessments.length&&!n.showLoadingOverlay)}}var Fv=function(e){return{"dark-theme":e}},Bv=function(){function e(e,t,n,i,r,a,o,s){this.titleService=e,this.workoutService=t,this.dateService=n,this.translate=i,this.ThemeService=r,this.AccountService=a,this.router=o,this.WorkoutTypes=s,this.showLoadingOverlay=!1,this.startDate=null,this.endDate=null,this.useMetric=!1}return e.prototype.ngOnInit=function(){var e=this;this.AccountService.isLoggedIn&&(this.dateSubscription=this.dateService.dateRange.subscribe(function(t){e.startDate=t.startDate,e.endDate=t.endDate,e.getData()}),this.useMetric=this.AccountService.account.isMetric()),0==this.AccountService.isLoggedIn&&(console.log("Not Logged In"),this.router.navigate(["/fitness-assessments.html"]))},e.prototype.toWorkout=function(e){this.router.navigate(["/activity",e,"detail"])},e.prototype.getData=function(){var e=this;this.assessments=[],this.AccountService.isLoggedIn&&(this.showLoadingOverlay=!0),this.workoutService.getWorkouts(this.startDate,this.endDate).subscribe(function(t){for(var n=0;n<t.response.workouts.length;n++){var i=t.response.workouts[n];i.assessmentResults&&e.assessments.push(new Te.a(i,e.WorkoutTypes,e.translate.currentLang))}e.showLoadingOverlay=!1})},e.prototype.ngOnDestroy=function(){this.AccountService.isLoggedIn&&this.dateSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](xg.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](ne.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-assessments"]],decls:5,vars:7,consts:[[1,"loading-overlay",3,"hidden"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"main-menu-section-heading"],["routerLink","/healthvitals/"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"healthTableDiv"],["id","healthDataStepsTable",1,"table","table-responsive","member-status"],[2,"width","100%"],[1,"healthTableHeader"],[1,"th-health"],[4,"ngFor","ngForOf"],["style","text-align: center;",4,"ngIf"],[2,"height","55px"],[2,"width","30px","margin","5px 0px 5px 0px","margin-top","-20px",3,"src"],["class","material-icons","style","color: #3FAE48;width: 18px;margin-top: 8px;margin-left: -13px;",4,"ngIf"],[2,"cursor","pointer",3,"click"],[1,"material-icons",2,"color","#3FAE48","width","18px","margin-top","8px","margin-left","-13px"],[2,"text-align","center"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,Ev,7,3,"div",2),i["\u0275\u0275template"](3,Mv,1,0,"app-login-notify",3),i["\u0275\u0275template"](4,Av,25,2,"div",4),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](5,Fv,t.ThemeService.isDarkTheme)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn))},directives:[y.NgClass,y.NgIf,S.f,Yo.a,_g.a,y.NgForOf],pipes:[M.c,B.z,y.DatePipe,B.sb,B.Q,B.O],styles:[""]}),e}(),zv=function(){function e(e,t){this.http=e,this.AccountService=t,this._subscriptionsURL=this.AccountService.getHostname()+"/api/v2/subscription/list"}return e.prototype.getSubscriptions=function(){return this.http.post(this._subscriptionsURL,{params:{product:"FD"}},{})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](c.b),i["\u0275\u0275inject"](s.a))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),Nv=n("Dvla");function Hv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",32),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Learn more")))}function Vv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",33),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Learn more")))}function Yv(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",29),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275element"](3,"img",30),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275template"](6,Hv,3,3,"a",31),i["\u0275\u0275template"](7,Vv,3,3,"a",15),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",n.PermissionsService.hasStarAccessMin()," ",i["\u0275\u0275pipeBind1"](2,5,"ROOT.A")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,7,"ROOT.Feature")," - \xa0 "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isMobileEmbedded)}}function Wv(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-radio-button",34),i["\u0275\u0275elementStart"](1,"div",35),i["\u0275\u0275text"](2),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275elementStart"](4,"span",36),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("color","primary")("value",n.value),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("",n.header," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](n.text)}}function Gv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",37),i["\u0275\u0275element"](1,"img",38),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,1,"ROOT.LiveTracking & Share Options"),""))}function Uv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",33),i["\u0275\u0275element"](1,"img",38),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,1,"ROOT.LiveTracking & Share Options"),""))}function qv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",39),i["\u0275\u0275element"](1,"img",40),i["\u0275\u0275elementEnd"]())}function Zv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",41),i["\u0275\u0275element"](1,"img",40),i["\u0275\u0275elementEnd"]())}function $v(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",39),i["\u0275\u0275element"](1,"img",40),i["\u0275\u0275elementEnd"]())}function Xv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",41),i["\u0275\u0275element"](1,"img",40),i["\u0275\u0275elementEnd"]())}function Kv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",39),i["\u0275\u0275element"](1,"img",40),i["\u0275\u0275elementEnd"]())}function Jv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",41),i["\u0275\u0275element"](1,"img",40),i["\u0275\u0275elementEnd"]())}function Qv(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",39),i["\u0275\u0275element"](1,"img",40),i["\u0275\u0275elementEnd"]())}function ey(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",41),i["\u0275\u0275element"](1,"img",40),i["\u0275\u0275elementEnd"]())}var ty=function(){return["/groups"]},ny=function(){function e(e,t,n,i){var r=this;this.AccountService=e,this.translate=t,this.ThemeService=n,this.PermissionsService=i,this.expand=!1,this.isMobileEmbedded=!1,this.language="English",this.Share_Your_LiveTracking_txt="Share Your LiveTracking",this.Feature_txt="Feature",this.Learn_more_txt="Learn More",this.Open_txt="Open",this.Members_txt="Members",this.None_My_Groups_txt="None / My Groups",this.Shares_with_a_unique_link_txt="Shares with a unique link each session no login required.",this.Requires_a_Fitdigits_account_txt="Requires a Fitdigits account.",this.No_sharing_txt="No sharing or sharing on a group by group basis.",this.LiveTracking_Share_Options_txt="LiveTracking & Share Options",this.Receive_Notifications_txt="Receive Notifications",this.Email_txt="Email",this.Mobile_txt="Mobile",this.Goals_Achievements_txt="Goals & Achievements",this.Activity_Summaries_txt="Activity Summaries",this.Steps_Daily_Activity_txt="Steps & Daily Activity",this.Group_Notifications_txt="Team Notifications",this.Daily_Activity_and_Activity_Summary_txt="Daily Activity and Activity Summary notifications are managed in-app under Settings (iOS) or Profile (Android)",this.Group_note_txt="Group notifications can be changed under your group's Permission settings.",this.Go_to_Groups_txt="Go to Groups",this.Workout_Completed_txt="Workout Completed",this.Inbox_txt="Messages",this.Following_txt="Following",this.ltPrivacies=[{value:1,header:this.Open_txt,text:this.Shares_with_a_unique_link_txt},{value:2,header:this.Members_txt,text:this.Requires_a_Fitdigits_account_txt},{value:0,header:this.None_My_Groups_txt,text:this.No_sharing_txt}],this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){r.localize(e.lang)})}return e.prototype.ltPrivacy=function(){console.log(this.ltPrivacyValue),this.AccountService.setLTPrivacy(this.ltPrivacyValue).subscribe()},e.prototype.changeLTMobilePermission=function(){console.log("change lt"),this.AccountService.setNotificationSetting("pushNotificationsLiveTracking",this.ltMobileSetting).subscribe()},e.prototype.changeGoalsMobilePermission=function(){console.log("change goals"),this.AccountService.setNotificationSetting("pushNotificationsGoalsAndAchievements",this.goalsMobileSetting).subscribe()},e.prototype.changeInboxGoalsMobilePermission=function(){console.log("change goals"),this.AccountService.setNotificationSetting("pushNotificationsInboxGoalsAndAchievements",this.inboxGoalsMobileSetting).subscribe()},e.prototype.changeWorkoutCompletePermission=function(){console.log("change workout complete"),this.AccountService.setNotificationSetting("pushNotificationsWorkoutComplete",this.workoutCompleteSetting).subscribe()},e.prototype.changeInboxWorkoutCompletePermission=function(){console.log("change workout complete"),this.AccountService.setNotificationSetting("pushNotificationsInboxWorkoutComplete",this.inboxWorkoutCompleteSetting).subscribe()},e.prototype.ngOnInit=function(){var e=this;this.AccountService.isMobileEmbedded().subscribe(function(t){e.isMobileEmbedded=t}),this.account=Object(Wn.cloneDeep)(this.AccountService.account),null==this.account.appPrefs?(this.ltMobileSetting=!0,this.goalsMobileSetting=!0,this.inboxGoalsMobileSetting=!0,this.workoutCompleteSetting=!0,this.inboxWorkoutCompleteSetting=!0):(this.ltMobileSetting=void 0===this.account.appPrefs.pushNotificationsLiveTracking||this.account.appPrefs.pushNotificationsLiveTracking,this.goalsMobileSetting=void 0===this.account.appPrefs.pushNotificationsGoalsAndAchievements||this.account.appPrefs.pushNotificationsGoalsAndAchievements,this.inboxGoalsMobileSetting=void 0===this.account.appPrefs.pushNotificationsInboxGoalsAndAchievements||this.account.appPrefs.pushNotificationsInboxGoalsAndAchievements,this.workoutCompleteSetting=void 0===this.account.appPrefs.pushNotificationsWorkoutComplete||this.account.appPrefs.pushNotificationsWorkoutComplete,this.inboxWorkoutCompleteSetting=void 0===this.account.appPrefs.pushNotificationsInboxWorkoutComplete||this.account.appPrefs.pushNotificationsInboxWorkoutComplete),this.AccountService.getLTPrivacy().subscribe(function(t){e.ltPrivacyValue=t.response})},e.prototype.localize=function(e){"es"===e&&(this.Share_Your_LiveTracking_txt="Comparte tu LiveTracking",this.Feature_txt="Caracter\xedstica",this.Learn_more_txt="Aprende m\xe1s",this.Open_txt="Abierto",this.Members_txt="Miembros",this.None_My_Groups_txt="Ninguno / Mis grupos",this.Shares_with_a_unique_link_txt="Comparte con un enlace \xfanico cada sesi\xf3n sin necesidad de iniciar sesi\xf3n.",this.Requires_a_Fitdigits_account_txt="Requiere una cuenta de Fitdigits.",this.No_sharing_txt="No compartir o compartir grupo por grupo.",this.LiveTracking_Share_Options_txt="LiveTracking y opciones de compartir",this.Receive_Notifications_txt="Recibir notificaciones.",this.Email_txt="Email",this.Mobile_txt="M\xf3vil",this.Goals_Achievements_txt="Metas y logros",this.Activity_Summaries_txt="Res\xfamenes de actividad",this.Steps_Daily_Activity_txt="Pasos y actividad diaria",this.Group_Notifications_txt="Notificaciones del equipo",this.Daily_Activity_and_Activity_Summary_txt="Las notificaciones de Actividad diaria y Resumen de actividad se administran en la aplicaci\xf3n en Configuraci\xf3n (iOS) o Perfil (Android)",this.Group_note_txt="Las notificaciones grupales se pueden cambiar en la configuraci\xf3n de permisos de su grupo.",this.Go_to_Groups_txt="Ir a los equipos",this.Workout_Completed_txt="Entrenamientos Completos",this.Inbox_txt="Mensajes",this.Following_txt="Siguiendo"),"fr"===e&&(this.Share_Your_LiveTracking_txt="Partagez votre LiveTracking",this.Feature_txt="Fonctionnalit\xe9",this.Learn_more_txt="Apprendre encore plus",this.Open_txt="Ouvert",this.Members_txt="Membres",this.None_My_Groups_txt="Aucun / Mes groupes",this.Shares_with_a_unique_link_txt="Partage avec un lien unique \xe0 chaque session sans connexion requise.",this.Requires_a_Fitdigits_account_txt="N\xe9cessite un compte Fitdigits.",this.No_sharing_txt="Pas de partage ni de partage groupe par groupe.",this.LiveTracking_Share_Options_txt="LiveTracking et options de partage",this.Receive_Notifications_txt="Recevoir des notifications.",this.Email_txt="E-mail",this.Mobile_txt="Mobile",this.Goals_Achievements_txt="Objectifs et r\xe9alisations",this.Activity_Summaries_txt="R\xe9sum\xe9s des activit\xe9s",this.Steps_Daily_Activity_txt="\xc9tapes et activit\xe9 quotidienne",this.Group_Notifications_txt="Notifications d'\xe9quipe",this.Daily_Activity_and_Activity_Summary_txt="Les notifications d'activit\xe9 quotidienne et de r\xe9sum\xe9 d'activit\xe9 sont g\xe9r\xe9es dans l'application sous Param\xe8tres (iOS) ou Profil (Android)",this.Group_note_txt="Les notifications de groupe peuvent \xeatre modifi\xe9es sous les param\xe8tres d'autorisation de votre groupe.",this.Go_to_Groups_txt="Aller \xe0 l'\xe9quipe",this.Workout_Completed_txt="S\xe9ances d'entra\xeenement termin\xe9es",this.Inbox_txt="Messages"),"it"===e&&(this.Share_Your_LiveTracking_txt="Condividi il tuo LiveTracking",this.Feature_txt="Caratteristica",this.Learn_more_txt="Per saperne di pi\xf9",this.Open_txt="Aperto",this.Members_txt="Membri",this.None_My_Groups_txt="Nessuno / I miei gruppi",this.Shares_with_a_unique_link_txt="Condivide con un collegamento univoco ogni sessione senza accesso richiesto.",this.Requires_a_Fitdigits_account_txt="Richiede un account Fitdigits.",this.No_sharing_txt="Nessuna condivisione o condivisione su un gruppo per gruppo.",this.LiveTracking_Share_Options_txt="LiveTracking e opzioni di condivisione",this.Receive_Notifications_txt="Ricevi notifiche.",this.Email_txt="Email",this.Mobile_txt="Mobile",this.Goals_Achievements_txt="Obiettivi e risultati",this.Activity_Summaries_txt="Riepiloghi delle attivit\xe0",this.Steps_Daily_Activity_txt="Passaggi e attivit\xe0 quotidiana",this.Group_Notifications_txt="Notifiche del team",this.Daily_Activity_and_Activity_Summary_txt="Le notifiche di Riepilogo attivit\xe0 e attivit\xe0 giornaliere sono gestite in-app in Impostazioni (iOS) o Profilo (Android)",this.Group_note_txt="Le notifiche di gruppo possono essere modificate nelle impostazioni di autorizzazione del gruppo.",this.Go_to_Groups_txt="Vai al team",this.Workout_Completed_txt="Allenamento Completato",this.Inbox_txt="Messaggi"),"de"===e&&(this.Share_Your_LiveTracking_txt="Teilen Sie Ihr LiveTracking",this.Feature_txt="Merkmal",this.Learn_more_txt="Erfahren Sie mehr",this.Open_txt="\xd6ffnen",this.Members_txt="Mitglieder",this.None_My_Groups_txt="Keine / Meine Gruppen",this.Shares_with_a_unique_link_txt="Freigaben mit einem eindeutigen Link f\xfcr jede Sitzung ohne Anmeldung.",this.Requires_a_Fitdigits_account_txt="Ben\xf6tigt ein Fitdigits-Konto.",this.No_sharing_txt="Kein Teilen oder Teilen auf Gruppenbasis.",this.LiveTracking_Share_Options_txt="LiveTracking & Share-Optionen",this.Receive_Notifications_txt="Benachrichtigungen erhalten.",this.Email_txt="Email",this.Mobile_txt="Mobiltelefon",this.Goals_Achievements_txt="Ziele & Erfolge",this.Activity_Summaries_txt="Aktivit\xe4tszusammenfassungen",this.Steps_Daily_Activity_txt="Schritte & t\xe4gliche Aktivit\xe4t",this.Group_Notifications_txt="Teambenachrichtigungen",this.Daily_Activity_and_Activity_Summary_txt="T\xe4gliche Benachrichtigungen zu Aktivit\xe4ten und Aktivit\xe4tszusammenfassungen werden in der App unter Einstellungen (iOS) oder Profil (Android) verwaltet.",this.Group_note_txt="Gruppenbenachrichtigungen k\xf6nnen unter den Berechtigungseinstellungen Ihrer Gruppe ge\xe4ndert werden.",this.Go_to_Groups_txt="Gehe zum Team",this.Workout_Completed_txt="Allenamenti Completati",this.Inbox_txt="Mitteilungen"),this.ltPrivacies=[{value:1,header:this.Open_txt,text:this.Shares_with_a_unique_link_txt},{value:2,header:this.Members_txt,text:this.Requires_a_Fitdigits_account_txt},{value:0,header:this.None_My_Groups_txt,text:this.No_sharing_txt}]},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](ae.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["profile-permissions"]],decls:124,vars:74,consts:[[1,"account-permissions"],[1,"main-menu-section-heading",3,"click"],["src","/static/img/icons/workoutListCollapsed.gif",2,"padding-right","20px"],[1,"title"],[3,"hidden"],[1,"permissions-table"],[1,"permissions-livetracking"],[1,"table"],[2,"border","none"],[1,"permission-section-title",2,"padding-left","0px"],["class","permissions-star-feature",4,"ngIf"],[1,"ltPrivacyGroup",3,"ngModel","ngModelChange","change"],["class","example-radio-button",3,"color","value",4,"ngFor","ngForOf"],[1,"permission-section-moreinfo"],["a","","routerLink","/livetracking/overview",4,"ngIf"],["a","","routerLink","/livetracking/overview","target","_blank",4,"ngIf"],[1,"permissions-notifications"],[1,"table","permissions-settings"],[1,"permission-section-title",2,"padding-left","0px","padding-bottom","20px"],[1,"permission-section-checkboxes",2,"width","73px"],[1,"permission-section-checkboxes"],["name","pushNotificationsInboxGoalsAndAchievements",3,"color","ngModel","ngModelChange","change"],["href","https://my.fitdigits.com/profile/overview/notifications",4,"ngIf"],["href","https://my.fitdigits.com/profile/overview/notifications","target","_blank",4,"ngIf"],["name","pushNotificationsGoalsAndAchievements",3,"color","ngModel","ngModelChange","change"],["name","pushNotificationsLiveTracking",3,"color","ngModel","ngModelChange","change"],["name","pushNotificationsWorkoutComplete",3,"color","ngModel","ngModelChange","change"],[1,"permission-section-moreinfo",2,"text-align","left","float","left"],[3,"routerLink"],[1,"permissions-star-feature"],["src","/static/img/star-member-128.png","height","24",2,"height","24px","margin-top","-4px"],["routerLink","/livetracking/overview",4,"ngIf"],["routerLink","/livetracking/overview"],["a","","routerLink","/livetracking/overview","target","_blank"],[1,"example-radio-button",3,"color","value"],[1,"permissions-radio"],[2,"font-weight","400"],["a","","routerLink","/livetracking/overview"],["src","/static/img/review/i-info-button.png",2,"margin","0px 10px","width","17px","float","right"],["href","https://my.fitdigits.com/profile/overview/notifications"],["src","/static/img/review/i-info-button.png",2,"margin-top","0px","width","17px","float","right"],["href","https://my.fitdigits.com/profile/overview/notifications","target","_blank"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275listener"]("click",function(){return t.expand=!t.expand}),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275elementStart"](8,"div",5),i["\u0275\u0275elementStart"](9,"section",6),i["\u0275\u0275elementStart"](10,"table",7),i["\u0275\u0275elementStart"](11,"thead"),i["\u0275\u0275elementStart"](12,"tr",8),i["\u0275\u0275elementStart"](13,"td"),i["\u0275\u0275elementStart"](14,"div",9),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275template"](17,Yv,8,9,"div",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"tr",8),i["\u0275\u0275elementStart"](19,"td"),i["\u0275\u0275elementStart"](20,"mat-radio-group",11),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.ltPrivacyValue=e})("change",function(){return t.ltPrivacy()}),i["\u0275\u0275template"](21,Wv,6,4,"mat-radio-button",12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"tr"),i["\u0275\u0275elementStart"](23,"td"),i["\u0275\u0275elementStart"](24,"div",13),i["\u0275\u0275template"](25,Gv,4,3,"a",14),i["\u0275\u0275template"](26,Uv,4,3,"a",15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"section",16),i["\u0275\u0275elementStart"](28,"table",17),i["\u0275\u0275elementStart"](29,"thead"),i["\u0275\u0275elementStart"](30,"tr",8),i["\u0275\u0275elementStart"](31,"th",18),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"th",19),i["\u0275\u0275text"](35),i["\u0275\u0275pipe"](36,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"th",19),i["\u0275\u0275text"](38),i["\u0275\u0275pipe"](39,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"th",19),i["\u0275\u0275text"](41),i["\u0275\u0275pipe"](42,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"tbody"),i["\u0275\u0275elementStart"](44,"tr",8),i["\u0275\u0275elementStart"](45,"td"),i["\u0275\u0275text"](46),i["\u0275\u0275pipe"](47,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"td",20),i["\u0275\u0275elementStart"](49,"mat-checkbox",21),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.inboxGoalsMobileSetting=e})("change",function(){return t.changeInboxGoalsMobilePermission()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"td"),i["\u0275\u0275template"](51,qv,2,0,"a",22),i["\u0275\u0275template"](52,Zv,2,0,"a",23),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"td",20),i["\u0275\u0275elementStart"](54,"mat-checkbox",24),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.goalsMobileSetting=e})("change",function(){return t.changeGoalsMobilePermission()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](55,"tr",8),i["\u0275\u0275elementStart"](56,"td"),i["\u0275\u0275text"](57),i["\u0275\u0275pipe"](58,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](59,"td",20),i["\u0275\u0275text"](60,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](61,"td",20),i["\u0275\u0275text"](62,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"td",20),i["\u0275\u0275elementStart"](64,"mat-checkbox",25),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.ltMobileSetting=e})("change",function(){return t.changeLTMobilePermission()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](65,"tr",8),i["\u0275\u0275elementStart"](66,"td"),i["\u0275\u0275text"](67),i["\u0275\u0275pipe"](68,"translate"),i["\u0275\u0275pipe"](69,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](70,"td",20),i["\u0275\u0275elementStart"](71,"mat-checkbox",26),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.inboxWorkoutCompleteSetting=e})("change",function(){return t.changeInboxWorkoutCompletePermission()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"td",20),i["\u0275\u0275text"](73,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](74,"td",20),i["\u0275\u0275elementStart"](75,"mat-checkbox",26),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.workoutCompleteSetting=e})("change",function(){return t.changeWorkoutCompletePermission()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](76,"tr",8),i["\u0275\u0275elementStart"](77,"td"),i["\u0275\u0275text"](78),i["\u0275\u0275pipe"](79,"translate"),i["\u0275\u0275elementStart"](80,"sup"),i["\u0275\u0275text"](81,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](82,"td"),i["\u0275\u0275elementStart"](83,"td",20),i["\u0275\u0275template"](84,$v,2,0,"a",22),i["\u0275\u0275template"](85,Xv,2,0,"a",23),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](86,"td"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](87,"tr",8),i["\u0275\u0275elementStart"](88,"td"),i["\u0275\u0275text"](89),i["\u0275\u0275pipe"](90,"translate"),i["\u0275\u0275elementStart"](91,"sup"),i["\u0275\u0275text"](92,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](93,"td",20),i["\u0275\u0275text"](94,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](95,"td",20),i["\u0275\u0275template"](96,Kv,2,0,"a",22),i["\u0275\u0275template"](97,Jv,2,0,"a",23),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](98,"td"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](99,"tr",8),i["\u0275\u0275elementStart"](100,"td"),i["\u0275\u0275text"](101),i["\u0275\u0275pipe"](102,"translate"),i["\u0275\u0275elementStart"](103,"sup"),i["\u0275\u0275text"](104,"**"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](105,"td",20),i["\u0275\u0275text"](106,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](107,"td",20),i["\u0275\u0275template"](108,Qv,2,0,"a",22),i["\u0275\u0275template"](109,ey,2,0,"a",23),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](110,"td"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](111,"div",27),i["\u0275\u0275elementStart"](112,"sup"),i["\u0275\u0275text"](113,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](114),i["\u0275\u0275pipe"](115,"translate"),i["\u0275\u0275element"](116,"br"),i["\u0275\u0275elementStart"](117,"sup"),i["\u0275\u0275text"](118,"**"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](119),i["\u0275\u0275pipe"](120,"translate"),i["\u0275\u0275elementStart"](121,"a",28),i["\u0275\u0275text"](122),i["\u0275\u0275pipe"](123,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,41,"ROOT.Permission Settings")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!t.expand),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](16,43,"ROOT.Share Your LiveTracking")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.PermissionsService.hasStarAccessMin()),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngModel",t.ltPrivacyValue),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t.ltPrivacies),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.isMobileEmbedded),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](33,45,"ROOT.Receive Notifications")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](36,47,"ROOT.Messages")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](39,49,"ROOT.Email")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](42,51,"ROOT.Mobile")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](47,53,"ROOT.Goals & Achievements")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("color","primary")("ngModel",t.inboxGoalsMobileSetting),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.isMobileEmbedded),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","primary")("ngModel",t.goalsMobileSetting),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](58,55,"ROOT.Following"),": LiveTracking"),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("color","primary")("ngModel",t.ltMobileSetting),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](68,57,"ROOT.Following"),": ",i["\u0275\u0275pipeBind1"](69,59,"ROOT.Workout Completed"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("color","primary")("ngModel",t.inboxWorkoutCompleteSetting),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("color","primary")("ngModel",t.workoutCompleteSetting),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](79,61,"ROOT.Activity Summaries")),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.isMobileEmbedded),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](90,63,"ROOT.Steps & Daily Activity")),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.isMobileEmbedded),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](102,65,"ROOT.Team Notifications")),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.isMobileEmbedded),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](115,67,"ROOT.Daily Activity and Activity Summary notifications")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](120,69,"ROOT.Group notifications can be changed under your group's Permission settings.")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](73,ty)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](123,71,"ROOT.Go to Groups")))},directives:[y.NgIf,kl.b,de.o,de.r,y.NgForOf,El.a,S.f,kl.a],pipes:[M.c],styles:[".ltPrivacyGroup[_ngcontent-%COMP%]{display:flex;flex-direction:column}.permission-section-moreinfo[_ngcontent-%COMP%]{float:right;text-align:right;margin-top:10px}.permissions-receive-notifications[_ngcontent-%COMP%]{float:left;text-align:left;margin-top:10px}.permission-section-checkboxes[_ngcontent-%COMP%]{text-align:center}.permissions-settings[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background-color:rgba(226,227,228,.4)}.permissions-radio[_ngcontent-%COMP%]{padding-right:15px;font-weight:600;white-space:break-spaces}.permissions-livetracking[_ngcontent-%COMP%], .permissions-notifications[_ngcontent-%COMP%]{margin:10px 15px 0 30px}.account-permissions[_ngcontent-%COMP%]{padding-bottom:80px;border:none;float:left;clear:both;width:100%}@media (max-width:767px){h4.title[_ngcontent-%COMP%]{padding-left:0}.permission-section-moreinfo[_ngcontent-%COMP%]{text-align:left}.permissions-livetracking[_ngcontent-%COMP%], .permissions-notifications[_ngcontent-%COMP%]{margin:10px 0 0}}@media (max-width:479px){.profilePicture[_ngcontent-%COMP%]{max-width:100px}}"]}),e}();function iy(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"i",14),i["\u0275\u0275text"](1,"edit"),i["\u0275\u0275elementEnd"]())}function ry(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"i",14),i["\u0275\u0275text"](1,"save"),i["\u0275\u0275elementEnd"]())}function ay(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",7),i["\u0275\u0275elementStart"](1,"button",8),i["\u0275\u0275elementStart"](2,"mat-icon"),i["\u0275\u0275text"](3,"more_vert"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"mat-menu",null,9),i["\u0275\u0275elementStart"](6,"button",10),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.editMode?e.checkProfile():e.editMode=!e.editMode}),i["\u0275\u0275template"](7,iy,2,0,"i",11),i["\u0275\u0275template"](8,ry,2,0,"i",11),i["\u0275\u0275elementStart"](9,"div",12),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"button",13),i["\u0275\u0275elementStart"](13,"i",14),i["\u0275\u0275text"](14,"horizontal_split"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div",12),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"button",10),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().myzones()}),i["\u0275\u0275elementStart"](19,"i",14),i["\u0275\u0275text"](20,"horizontal_split"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"div",12),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"button",15),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().findfriends()}),i["\u0275\u0275elementStart"](25,"i",14),i["\u0275\u0275text"](26,"person_add"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"div",12),i["\u0275\u0275text"](28),i["\u0275\u0275pipe"](29,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"button",15),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().deleteConfirm=!0}),i["\u0275\u0275elementStart"](31,"i",14),i["\u0275\u0275text"](32,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"div",12),i["\u0275\u0275text"](34),i["\u0275\u0275pipe"](35,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275reference"](5),a=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("matMenuTriggerFor",r),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",!a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.editMode),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](11,8,a.editMode?"ROOT.Save":"ROOT.Edit")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](17,10,"ROOT.Change Password")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](23,12,"ROOT.My Zones")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](29,14,"ROOT.Find Friends")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](35,16,"ROOT.Delete"))}}function oy(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"h4",16),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Profile")))}function sy(e,t){1&e&&i["\u0275\u0275element"](0,"mat-progress-bar",42)}function ly(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",44),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",n.coachProfilePict,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("",n.displayCoach," ")}}function cy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",43),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275template"](4,ly,4,2,"div",6),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.My Coach")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","None"!=n.displayCoach)}}function dy(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",45),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.editMode=!e.editMode}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Cancel")," "))}function uy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",46),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.change_password_success," ")}}var py=function(){return["/member"]};function hy(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"button",47),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementStart"](3,"span",48),i["\u0275\u0275text"](4,"add_circle"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](4,py)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Create your member name")," "))}var my=function(e){return["/member/",e]};function gy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",49),i["\u0275\u0275elementStart"](1,"span",50),i["\u0275\u0275text"](2,"visibility"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction1"](1,my,n.user.custom_uri))}}function fy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"button",51),i["\u0275\u0275elementStart"](1,"span",50),i["\u0275\u0275text"](2,"file_copy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("cbContent","https://my.fitdigits.com/member/"+n.user.custom_uri)}}function vy(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",52),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("* ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Entering a member url will allow others to find you. Minimum of 5 characters.")," "))}function yy(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1,"Ex-Digifit User "),i["\u0275\u0275elementEnd"]())}function by(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Free")," "))}function xy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"a",83),i["\u0275\u0275elementStart"](2,"div",84),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("href","https://my.fitdigits.com/memberships?embed=",n.isMobileEmbedded,"",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,2,"ROOT.Renew your membership"),"")}}function _y(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"a",85),i["\u0275\u0275elementStart"](2,"div",84),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,1,"ROOT.Renew your membership")))}function wy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275template"](3,by,3,3,"span",6),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"titlecase"),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementStart"](7,"span",82),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](10,xy,5,4,"span",6),i["\u0275\u0275template"](11,_y,5,3,"span",6),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,7,"ROOT.Your")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","FREE_TRIAL"==n.membership_highest_tier_reciept),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](5,9,n.membership_level)," ",i["\u0275\u0275pipeBind1"](6,11,"ROOT.Expired on")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,13,n.membership_expiration_date)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isMobileEmbedded)}}function Sy(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"a",85),i["\u0275\u0275elementStart"](2,"div",84),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,1,"ROOT.Become A Member Today!")))}function Cy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",86),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275pipe"](4,"date"),i["\u0275\u0275template"](5,Sy,5,3,"span",6),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",n.membership_level_image,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](3,4,"ROOT.Expired")," ",i["\u0275\u0275pipeBind1"](4,6,n.membership_expiration_date)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isMobileEmbedded)}}function ky(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"Complimentary Move"),i["\u0275\u0275elementEnd"]())}function Oy(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Pro Plus"),""))}function Ey(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"titlecase"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,n.membership_level)," ")}}function My(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Star Trainer")," "))}function Iy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"date"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,n.membership_purchase_date),"")}}function Py(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",87),i["\u0275\u0275element"](1,"img",88),i["\u0275\u0275template"](2,Oy,3,3,"span",6),i["\u0275\u0275template"](3,Ey,3,3,"span",6),i["\u0275\u0275template"](4,My,3,3,"span",6),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275template"](7,Iy,3,3,"span",6),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",n.membership_level_image,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","pro_plus"==n.membership_level),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","pro_plus"!=n.membership_level&&"star_trainer"!=n.membership_level),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","star_trainer"==n.membership_level),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,6,"ROOT.since")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","CUHP_PROMO"!=n.membership_highest_tier_reciept)}}function Ty(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"a",83),i["\u0275\u0275elementStart"](2,"div",84),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("href","https://my.fitdigits.com/memberships?embed=",n.isMobileEmbedded,"",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,2,"ROOT.Become A Member Today!"))}}function Dy(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"a",85),i["\u0275\u0275elementStart"](2,"div",84),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,1,"ROOT.Become A Member Today!")))}function Ly(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",89),i["\u0275\u0275template"](1,Ty,5,4,"span",6),i["\u0275\u0275template"](2,Dy,5,3,"span",6),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isMobileEmbedded)}}function Ry(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"]("",n.math.floor((n.user.height||70)/12)," ft. ",i["\u0275\u0275pipeBind2"](2,2,(n.user.height||70)%12,"1.0-0")," in.")}}function jy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.user.heightAsCM," cm.")}}function Ay(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",91),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.text," ")}}function Fy(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",68),i["\u0275\u0275element"](1,"mat-label"),i["\u0275\u0275elementStart"](2,"mat-select",74),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).user.height=e})("ngModelChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).changeHeightAsCM()}),i["\u0275\u0275template"](3,Ay,2,2,"mat-option",90),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.user.height),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.heights)}}function By(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",91),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.text," ")}}function zy(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field"),i["\u0275\u0275element"](1,"mat-label"),i["\u0275\u0275elementStart"](2,"mat-select",74),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).user.heightAsCM=e})("ngModelChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).changeHeight()}),i["\u0275\u0275template"](3,By,2,2,"mat-option",90),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.user.heightAsCM),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.heightsAsCm)}}function Ny(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",57),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("hidden",n.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,2,"ROOT.Male"))}}function Hy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",57),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("hidden",n.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,2,"ROOT.Female"))}}function Vy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-radio-button",92),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("color","primary")("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.text," ")}}function Yy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",91),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.text," ")}}function Wy(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",68),i["\u0275\u0275element"](1,"mat-label"),i["\u0275\u0275elementStart"](2,"mat-select",93),i["\u0275\u0275listener"]("selectionChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).changeFitness()})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).user.fitnessLevel=e}),i["\u0275\u0275template"](3,Yy,2,2,"mat-option",90),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.user.fitnessLevel),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.fitnessLevels)}}function Gy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-radio-button",92),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("color","primary")("value",n),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n," ")}}function Uy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",91),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.text," ")}}function qy(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",68),i["\u0275\u0275element"](1,"mat-label"),i["\u0275\u0275elementStart"](2,"mat-select",93),i["\u0275\u0275listener"]("selectionChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).changeLanguage()})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).user.language=e}),i["\u0275\u0275template"](3,Uy,2,2,"mat-option",90),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.user.language),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.languages)}}function Zy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",91),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n," ")}}function $y(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",68),i["\u0275\u0275element"](1,"mat-label"),i["\u0275\u0275elementStart"](2,"mat-select",74),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).user.activityMonitor=e}),i["\u0275\u0275template"](3,Zy,2,2,"mat-option",90),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.user.activityMonitor),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.activityMonitorList)}}function Xy(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"Dark"),i["\u0275\u0275elementEnd"]())}function Ky(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"Light"),i["\u0275\u0275elementEnd"]())}function Jy(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-radio-button",92),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("color","primary")("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.text," ")}}function Qy(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",94),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",95),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",96),i["\u0275\u0275element"](8,"facebookConnect",97),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,3,"ROOT.Change Password")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,5,"ROOT.View My Photos")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("displayText",i["\u0275\u0275pipeBind1"](9,7,"ROOT.Link Facebook")))}var eb=function(e){return{value:e}};function tb(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",53),i["\u0275\u0275elementStart"](1,"table",54),i["\u0275\u0275elementStart"](2,"tbody"),i["\u0275\u0275elementStart"](3,"tr"),i["\u0275\u0275elementStart"](4,"td",55),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"td",55),i["\u0275\u0275elementStart"](8,"div",56),i["\u0275\u0275elementStart"](9,"span",57),i["\u0275\u0275element"](10,"i",58),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"span",57),i["\u0275\u0275element"](14,"i",58),i["\u0275\u0275text"](15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"span",59),i["\u0275\u0275text"](17),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"input",60),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).user.name=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"tr"),i["\u0275\u0275elementStart"](20,"td"),i["\u0275\u0275text"](21),i["\u0275\u0275pipe"](22,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"td",61),i["\u0275\u0275elementStart"](24,"span",57),i["\u0275\u0275text"](25),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"input",62),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).user.email=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"tr",57),i["\u0275\u0275elementStart"](28,"td",63),i["\u0275\u0275elementStart"](29,"div",64),i["\u0275\u0275text"](30),i["\u0275\u0275pipe"](31,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"tr"),i["\u0275\u0275elementStart"](33,"td"),i["\u0275\u0275text"](34),i["\u0275\u0275pipe"](35,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"td"),i["\u0275\u0275elementStart"](37,"div",52),i["\u0275\u0275template"](38,yy,2,0,"div",6),i["\u0275\u0275template"](39,wy,12,15,"div",6),i["\u0275\u0275template"](40,Cy,6,8,"div",6),i["\u0275\u0275template"](41,ky,2,0,"span",6),i["\u0275\u0275template"](42,Py,8,8,"div",65),i["\u0275\u0275template"](43,Ly,3,2,"div",66),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"tr"),i["\u0275\u0275elementStart"](45,"td",67),i["\u0275\u0275text"](46),i["\u0275\u0275pipe"](47,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"td"),i["\u0275\u0275elementStart"](49,"mat-form-field",68),i["\u0275\u0275elementStart"](50,"input",69),i["\u0275\u0275listener"]("dateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).changeBirthdate(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](51,"mat-datepicker-toggle",70),i["\u0275\u0275element"](52,"mat-datepicker",null,71),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](54,"tr"),i["\u0275\u0275elementStart"](55,"td"),i["\u0275\u0275text"](56),i["\u0275\u0275pipe"](57,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](58,"td"),i["\u0275\u0275elementStart"](59,"span",57),i["\u0275\u0275template"](60,Ry,3,5,"span",6),i["\u0275\u0275template"](61,jy,2,1,"span",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](62,Fy,4,2,"mat-form-field",72),i["\u0275\u0275template"](63,zy,4,2,"mat-form-field",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](64,"tr"),i["\u0275\u0275elementStart"](65,"td"),i["\u0275\u0275text"](66),i["\u0275\u0275pipe"](67,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](68,"td"),i["\u0275\u0275template"](69,Ny,3,4,"span",73),i["\u0275\u0275template"](70,Hy,3,4,"span",73),i["\u0275\u0275elementStart"](71,"div",57),i["\u0275\u0275elementStart"](72,"mat-radio-group",74),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).user.gender=e}),i["\u0275\u0275template"](73,Vy,2,3,"mat-radio-button",75),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](74,"tr"),i["\u0275\u0275elementStart"](75,"td"),i["\u0275\u0275text"](76),i["\u0275\u0275pipe"](77,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](78,"td"),i["\u0275\u0275template"](79,Wy,4,2,"mat-form-field",72),i["\u0275\u0275elementStart"](80,"span",57),i["\u0275\u0275text"](81),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](82,"tr"),i["\u0275\u0275elementStart"](83,"td"),i["\u0275\u0275text"](84),i["\u0275\u0275pipe"](85,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](86,"td"),i["\u0275\u0275elementStart"](87,"span",57),i["\u0275\u0275text"](88),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](89,"div",57),i["\u0275\u0275elementStart"](90,"mat-radio-group",74),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).user.unitOfMeasure=e}),i["\u0275\u0275template"](91,Gy,2,3,"mat-radio-button",75),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](92,"tr"),i["\u0275\u0275elementStart"](93,"td"),i["\u0275\u0275text"](94),i["\u0275\u0275pipe"](95,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](96,"td"),i["\u0275\u0275template"](97,qy,4,2,"mat-form-field",72),i["\u0275\u0275elementStart"](98,"span",57),i["\u0275\u0275text"](99),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](100,"tr"),i["\u0275\u0275elementStart"](101,"td",76),i["\u0275\u0275text"](102),i["\u0275\u0275pipe"](103,"translate"),i["\u0275\u0275element"](104,"img",77),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](105,"td"),i["\u0275\u0275elementStart"](106,"span",57),i["\u0275\u0275text"](107),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](108,"div",78),i["\u0275\u0275template"](109,$y,4,2,"mat-form-field",72),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](110,"tr"),i["\u0275\u0275elementStart"](111,"td"),i["\u0275\u0275text"](112),i["\u0275\u0275pipe"](113,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](114,"td"),i["\u0275\u0275template"](115,Xy,2,0,"span",6),i["\u0275\u0275template"](116,Ky,2,0,"span",6),i["\u0275\u0275elementStart"](117,"div",57),i["\u0275\u0275elementStart"](118,"mat-radio-group",74),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).user.colorTheme=e}),i["\u0275\u0275template"](119,Jy,2,3,"mat-radio-button",75),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](120,"div",79),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).deleteConfirm=!0}),i["\u0275\u0275elementStart"](121,"span",80),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).deleteConfirm=!0}),i["\u0275\u0275text"](122),i["\u0275\u0275pipe"](123,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](124,"div",81),i["\u0275\u0275elementStart"](125,"p",32),i["\u0275\u0275text"](126),i["\u0275\u0275pipe"](127,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](128,"button",33),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).deleteProfile()}),i["\u0275\u0275text"](129),i["\u0275\u0275pipe"](130,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](131,"button",34),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).deleteConfirm=!1}),i["\u0275\u0275text"](132),i["\u0275\u0275pipe"](133,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](134,Qy,10,9,"div",6),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275reference"](53),a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,73,"ROOT.Name")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("hidden",!a.emailAlreadyExists),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](12,75,"ERROR.1110",i["\u0275\u0275pureFunction1"](108,eb,a.user.email))," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!a.errorMsg),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",a.errorMsg," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](a.user.name?a.user.name:"Your Name"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",a.user.name)("hidden",!a.editMode),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](22,78,"ROOT.Email")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("hidden",a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](a.user.email),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("value",a.user.email),i["\u0275\u0275property"]("ngModel",a.user.email)("hidden",!a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!a.editMode),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](31,80,"ROOT.Change Password")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](35,82,"ROOT.Membership")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",a.PermissionsService.proAccess),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!a.membership_active&&"FREE_TRIAL"==a.membership_highest_tier_reciept),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",(a.PermissionsService.starAccess||a.PermissionsService.starTrainerAccess)&&!1===a.membership_active&&"FREE_TRIAL"!=a.membership_highest_tier_reciept),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","CUHP_PROMO"==a.membership_highest_tier_reciept),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.membership_level&&a.membership_active),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!a.membership_level&&!1===a.membership_active),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](47,84,"ROOT.Birthday")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("matDatepicker",r)("min",a.minDate)("max",a.maxDate)("value",a.user.birthDate)("disabled",!a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("for",r),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](57,86,"ROOT.Height")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("hidden",a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Metric"!==a.user.unitOfMeasure),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Metric"===a.user.unitOfMeasure),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.editMode&&"Metric"!==a.user.unitOfMeasure),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.editMode&&"Metric"===a.user.unitOfMeasure),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](67,88,"ROOT.Gender")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","Male"==a.user.gender),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Female"==a.user.gender),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",a.user.gender),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",a.genders),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](77,90,"ROOT.Fitness Level")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](a.user.fitnessLevel),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](85,92,"ROOT.Measurement System")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("hidden",a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](a.user.unitOfMeasure),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",a.user.unitOfMeasure),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",a.unitOfMeasures),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](95,94,"ROOT.Language")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](a.displayLanguage),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](103,96,"ROOT.Preferred Daily Activity Provider")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("hidden",a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](a.user.activityMonitor),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",a.editMode),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](113,98,"ROOT.Color Theme")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!a.editMode&&"dark"==a.user.colorTheme),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!a.editMode&&"light"==a.user.colorTheme),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!a.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",a.user.colorTheme),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",a.themes),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](123,100,"ROOT.Delete my account"),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!a.deleteConfirm),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](127,102,"ROOT.This action cannot be undone.")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](130,104,"ROOT.Delete my account")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](133,106,"ROOT.Cancel"),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!a.deleteConfirm)}}function nb(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",17),i["\u0275\u0275elementStart"](1,"div",18),i["\u0275\u0275elementStart"](2,"div",19),i["\u0275\u0275elementStart"](3,"div",20),i["\u0275\u0275elementStart"](4,"div",21),i["\u0275\u0275element"](5,"img",22),i["\u0275\u0275element"](6,"img",23),i["\u0275\u0275elementStart"](7,"span",24),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().uploadImage()}),i["\u0275\u0275text"](8,"mode_edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"img",25),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().rotateImage()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](10,sy,1,0,"mat-progress-bar",26),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](11,cy,5,4,"div",27),i["\u0275\u0275elementStart"](12,"button",28),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.editMode?e.checkProfile():e.editMode=!e.editMode}),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](15,dy,3,3,"div",29),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](16,uy,2,1,"div",30),i["\u0275\u0275elementStart"](17,"div",31),i["\u0275\u0275elementStart"](18,"p",32),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"button",33),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().deleteProfile()}),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"button",34),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().deleteConfirm=!1}),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"div",35),i["\u0275\u0275template"](28,hy,5,5,"button",36),i["\u0275\u0275elementStart"](29,"div",37),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().setMemberURL()}),i["\u0275\u0275text"](30),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](31,gy,3,3,"div",38),i["\u0275\u0275template"](32,fy,3,1,"button",39),i["\u0275\u0275template"](33,vy,3,3,"div",40),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](34,tb,135,110,"div",41),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](5),i["\u0275\u0275propertyInterpolate"]("src",r.profileImage,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",r.membership_level_image,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.rotating),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.PermissionsService.starTrainerAccess&&"None"!=r.displayCoach&&"delete"!=r.eventType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",!r.user)("hidden",r.deleteConfirm),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](14,20,r.editMode?"ROOT.Save":"ROOT.Edit")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.editMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.change_password_success),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!r.deleteConfirm),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](20,22,"ROOT.This action cannot be undone.")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](23,24,"ROOT.Delete my account")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](26,26,"ROOT.Cancel"),""),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!r.user.custom_uri),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.user.custom_uri," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.user.custom_uri&&r.user.custom_uri.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.editMode&&r.user.custom_uri),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.user.custom_uri),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.accountReady)}}function ib(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",104),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).deleteConfirm=!0}),i["\u0275\u0275elementStart"](1,"span",80),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).deleteConfirm=!0}),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("hidden",r.deleteConfirm),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,2,"ROOT.Delete my account"),"")}}function rb(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"h4"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Delete my account")))}function ab(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",17),i["\u0275\u0275element"](1,"img",22),i["\u0275\u0275element"](2,"div",98),i["\u0275\u0275template"](3,ib,4,4,"div",99),i["\u0275\u0275template"](4,rb,3,3,"h4",6),i["\u0275\u0275element"](5,"div",98),i["\u0275\u0275elementStart"](6,"div",98),i["\u0275\u0275elementStart"](7,"ol"),i["\u0275\u0275elementStart"](8,"li",100),i["\u0275\u0275text"](9," Deleting your Fitdigits, Inc data includes removing yourself from active databases, you can login to your Fitdigits account on "),i["\u0275\u0275elementStart"](10,"a",101),i["\u0275\u0275text"](11,"my.fitdigits.com"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](12,", go to the Profile, and click Delete, or go to the Profile section in your app and tap Delete. You may also send an e-mail to support-at-fitdigits.com requesting that you be removed from our databases and active e-mail lists. For manual requests, we will endeavor to comply with your request as soon as reasonably possible, at maximum within 90 days. Other requests will be removed from view immediately, and purged within 30 days. Our back-up files may maintain copies of your personally identifiable information. We reserve the right to contact former customers or users of the Platform from time to time."),i["\u0275\u0275element"](13,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li",102),i["\u0275\u0275text"](15," Data removed includes General Account, Profile & Activity Information, Location and Activity data collected, personal health information such as, but not limited to, weight, resting heart rate, blood pressure and sleep data, and any data authorized by you and collected from linked 3rd Party Partners, Connected Apps and Devices. See our "),i["\u0275\u0275elementStart"](16,"a",103),i["\u0275\u0275text"](17,"Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18," for more information. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div",31),i["\u0275\u0275elementStart"](20,"p",32),i["\u0275\u0275text"](21),i["\u0275\u0275pipe"](22,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"button",33),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().deleteProfile()}),i["\u0275\u0275text"](24),i["\u0275\u0275pipe"](25,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"button",34),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().deleteConfirm=!1}),i["\u0275\u0275text"](27),i["\u0275\u0275pipe"](28,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",r.profileImage,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.AccountService.isLoggedIn),i["\u0275\u0275advance"](15),i["\u0275\u0275property"]("hidden",!r.deleteConfirm),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](22,8,"ROOT.This action cannot be undone.")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](25,10,"ROOT.Delete my account")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](28,12,"ROOT.Cancel"),"")}}function ob(e,t){1&e&&i["\u0275\u0275element"](0,"profile-permissions")}var sb=["uploadElement"];function lb(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",10),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275reference"](5).click()})("onFileDropped",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().onFileChange(e)}),i["\u0275\u0275elementStart"](1,"span",11),i["\u0275\u0275text"](2,"cloud_upload"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3," Upload Photo "),i["\u0275\u0275elementStart"](4,"input",12,13),i["\u0275\u0275listener"]("change",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().onFileChange(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}var cb=function(e){return{"taller-image":e}};function db(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",18),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275styleProp"]("max-width",n.isTallerImage?200:"","px")("max-height",n.isTallerImage?"":200,"px"),i["\u0275\u0275property"]("src",n.selectedImageSrc,i["\u0275\u0275sanitizeUrl"])("ngClass",i["\u0275\u0275pureFunction1"](6,cb,n.isTallerImage))}}function ub(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"div",15),i["\u0275\u0275template"](2,db,1,8,"img",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p",17),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.selectedImageSrc),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.toUpload[0].name," ")}}function pb(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",19),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().uploadImage()}),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,2,"ROOT.Submit")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,4,"ROOT.Upload")," "))}function hb(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().cancel()}),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,2,"ROOT.Cancel")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,4,"ROOT.Cancel")," "))}function mb(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.error," ")}}function gb(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Member URLs cannot have any special characters and must have a minimum of 5 characters")," "))}var fb=function(e,t){return{goButton:e,goButtonDisabled:t}},vb=function(){function e(e,t,n,i,r,a,o,s,l,c){var d=this;this.titleService=e,this.socialService=t,this.translate=n,this.SubscriptionService=i,this.dialog=r,this.ThemeService=a,this.PermissionsService=o,this.router=s,this.route=l,this.AccountService=c,this.eventTypeInput=this.route.snapshot.paramMap.get("eventType"),this.editMode=!1,this.accountReady=!1,this.heights=[],this.rotating=!1,this.heightsAsCm=[],this.activityMonitorList=[],this.isDarkTheme=!1,this.today=new Date,this.minDate=new Date(1900,0,1),this.maxDate=new Date(this.today.getFullYear(),this.today.getMonth(),this.today.getDate()),this.deleteConfirm=!1,this.math=Math,this.displayLanguage="English",this.displayFitness="5 Average",this.unitOfMeasures=["US","Metric"],this.highestTier={latestReceipt:"",isActive:!1,name:"",image:"",purchasedDate:"",upgrade:"",expirationDate:"",upgradeText:""},this.isMobileEmbedded=!1,this.emailAlreadyExists=!1,this.coachProfilePict="",this.languages=[{value:"en",text:"English"},{value:"es",text:"Espa\xf1ol"},{value:"fr",text:"Fran\xe7ais"},{value:"it",text:"Italiano"},{value:"de",text:"Deutsche"}],this.displayCoach="None",this.Male_txt="Male",this.Female_txt="Female",this.fitnessLevel1_txt="1 Poor",this.fitnessLevel2_txt="2 Poor to Moderate",this.fitnessLevel3_txt="3 Moderate",this.fitnessLevel4_txt="4 Moderate to Average",this.fitnessLevel5_txt="5 Average",this.fitnessLevel6_txt="6 Average to Good",this.fitnessLevel7_txt="7 Good",this.fitnessLevel8_txt="8 Good to Excellent",this.fitnessLevel9_txt="9 Excellent",this.fitnessLevel10_txt="10 Superior",this.Light_txt="Light",this.Dark_txt="Dark",this.fitnessLevels=[{value:"1 Poor",text:this.fitnessLevel1_txt},{value:"2 Poor to Moderate",text:this.fitnessLevel2_txt},{value:"3 Moderate",text:this.fitnessLevel3_txt},{value:"4 Moderate to Average",text:this.fitnessLevel4_txt},{value:"5 Average",text:this.fitnessLevel5_txt},{value:"6 Average to Good",text:this.fitnessLevel6_txt},{value:"7 Good",text:this.fitnessLevel7_txt},{value:"8 Good to Excellent",text:this.fitnessLevel8_txt},{value:"9 Excellent",text:this.fitnessLevel9_txt},{value:"10 Superior",text:this.fitnessLevel10_txt}],this.genders=[{value:"Male",text:this.Male_txt},{value:"Female",text:this.Female_txt}],this.themes=[{value:"light",text:this.Light_txt},{value:"dark",text:this.Dark_txt}],this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){d.localize(e.lang)})}return e.prototype.saveProfile=function(){var e=this;this.AccountService.updateAccount(this.user).subscribe(function(t){try{e.translate.use(e.user.language),e.localize(e.user.language),e.AccountService.account=Object(Wn.cloneDeep)(e.user)}catch(n){}t.response.error?e.errorMsg=e.translate.instant("ERROR."+t.response.error.code,{value:e.user.email}):e.editMode=!1})},e.prototype.deleteProfile=function(){var e=this;this.AccountService.disableAccount().subscribe(function(){e.AccountService.logout()})},e.prototype.checkProfile=function(){var e=this;this.emailAlreadyExists=!1,this.errorMsg=!1,this.user.email!=this.user.login?this.AccountService.verifyEmail(this.user.email).subscribe(function(t){"10102"==Object(B.E)(t.response,"error",{}).code?e.errorMsg="Invalid email address":2===Number(Object(B.E)(t.response,"account",{}).code)?e.saveProfile():e.emailAlreadyExists=!0}):this.saveProfile()},e.prototype.changeFitness=function(){for(var e=0;e<this.fitnessLevels.length;e++)this.user.fitnessLevel==this.fitnessLevels[e].value&&(this.displayFitness=this.fitnessLevels[e].text)},e.prototype.changeLanguage=function(){for(var e=0;e<this.languages.length;e++)this.user.language==this.languages[e].value&&(this.displayLanguage=this.languages[e].text)},e.prototype.changeBirthdate=function(e){this.user.birthDate=e.value},e.prototype.changeHeight=function(){this.user.height=Math.round(.393701*this.user.heightAsCM).toString(),console.log(this.user.height)},e.prototype.changeHeightAsCM=function(){this.user.heightAsCM=Math.round(2.54*this.user.height).toString(),console.log(this.user.heightAsCM)},e.prototype.uploadImage=function(){var e=this;this.dialog.open(yb,{maxWidth:"100vw",maxHeight:"100vh",minWidth:"50vw"}).afterClosed().subscribe(function(t){t&&(e.profileImage=e.AccountService.cloudBuckets.IMAGE_BUCKET+"profile_image/"+e.user.accountId+"/"+t,e.AccountService.account.profilePhoto=e.profileImage)})},e.prototype.setMemberURL=function(){var e=this;this.dialog.open(bb,{data:{customUri:this.user.custom_uri,isDarkTheme:this.isDarkTheme},panelClass:this.isDarkTheme?"dark-theme":"",maxWidth:"100vw",maxHeight:"100vh",minWidth:"70vw"}).afterClosed().subscribe(function(t){console.log(t),1==t.optOut?(e.user.custom_uri="",e.AccountService.account.custom_uri=""):t.customURL&&(e.user.custom_uri=t.customURL.toLowerCase(),e.AccountService.account.custom_uri=t.customURL.toLowerCase())})},e.prototype.optOut=function(){var e=this;this.socialService.setProfileURL("").subscribe(function(t){e.user.custom_uri="",e.AccountService.account.custom_uri=""})},e.prototype.rotateImage=function(){var e=this;this.rotating=!0,this.AccountService.rotateProfilePhoto().subscribe(function(t){e.rotating=!1,e.profileImage=e.AccountService.cloudBuckets.IMAGE_BUCKET+"profile_image/"+e.user.accountId+"/"+t.response.image_filename,e.AccountService.account.profilePhoto=e.profileImage})},e.prototype.myzones=function(){window.location.href="/zones"},e.prototype.findfriends=function(){window.location.href="/find_friends"},e.prototype.linkfacebook=function(){window.location.href="/find_friends"},e.prototype.localize=function(e){this.displayCoach=this.displayCoach,"es"===e?(this.Male_txt="Masculino",this.Female_txt="Hembra",this.Light_txt="Ligero",this.Dark_txt="Oscuro"):"fr"===e?(this.Male_txt="M\xe2le",this.Female_txt="Femme",this.Light_txt="Lumi\xe8re",this.Dark_txt="Sombre"):"it"===e?(this.Male_txt="Maschio",this.Female_txt="Femmina",this.Light_txt="Luce",this.Dark_txt="Buio"):"de"===e&&(this.Male_txt="M\xe4nnlich",this.Female_txt="Weiblich",this.Light_txt="Licht",this.Dark_txt="Dunkel"),this.genders=[{value:"Male",text:this.Male_txt},{value:"Female",text:this.Female_txt}]},e.prototype.ngOnInit=function(){var e=this;if(null!=this.eventTypeInput&&(this.eventType=this.eventTypeInput),this.isDarkTheme=this.ThemeService.isDarkTheme,this.AccountService.isLoggedIn){this.profileImage=this.AccountService.account.profilePhoto;for(var t=4;t<8;t++)for(var n=0;n<12;n++)this.heights.push({value:String(12*t+n),text:t+"' "+n+'"'});for(var i=120;i<250;i++)this.heightsAsCm.push({value:String(i),text:i+" cm"});this.route.queryParams.subscribe(function(t){"true"===t.reset&&(e.change_password_success="Password updated successfully")}),this.PermissionsService.purchasingStatus().subscribe(function(t){var n=t.response;e.membership_level=n.highest_tier,e.membership_expiration_date=n.detail.expiration_date,e.membership_purchase_date=n.detail.purchase_date,e.membership_highest_tier_reciept=n.detail.create_receipt,e.membership_highest_tier_purchase_date=n.detail.purchase_date,e.membership_active=1==n.detail.status||3===n.detail.status,e.membership_level_image={plus:"/static/img/plus-128.png",pro_plus:"static/img/pro-plus-ribbon-128.png",star:"/static/img/star-member-128.png",star_trainer:"/static/img/star-member-128.png"}[e.membership_level]}),this.user=Object(Wn.cloneDeep)(this.AccountService.account);for(var r=0;r<this.languages.length;r++)this.user.language==this.languages[r].value&&(this.displayLanguage=this.languages[r].text);this.AccountService.getSmartCoach().subscribe(function(t){null==t.response?(console.log("No coach"),e.coachProfilePict="https://my.fitdigits.com/static/img/unknown-coach.png"):(e.displayCoach=t.response.coach_name,e.coachProfilePict=t.response.smart_coach_profile_image)}),this.accountReady=!0,this.AccountService.getActivityMonitors().subscribe(function(t){for(var n=[],i=t.response.activityMonitorList,r=0;r<i.length;r++)i[r].activeConnection&&n.push(i[r].name);e.activityMonitorList=n})}},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](zv),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-profile"]],decls:9,vars:6,consts:[[3,"ngClass"],[1,"main-menu-section-heading"],["style","float:right; margin-top:-8px;",4,"ngIf"],["class","title",4,"ngIf"],["class","sectionStructure",3,"ngClass",4,"ngIf"],[1,"clear-both"],[4,"ngIf"],[2,"float","right","margin-top","-8px"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",2,"width","200px",3,"click"],["class","material-icons primary-color button-icon",4,"ngIf"],[1,"menu-button-icon","button-text"],["mat-menu-item","","routerLink","/changepassword",2,"width","200px"],[1,"material-icons","primary-color","button-icon"],["mat-menu-item","",3,"click"],[1,"title"],[1,"sectionStructure",3,"ngClass"],["id","user-profile",2,"padding","0"],[1,"row","margin-bottom-40","margin-right-20","margin-left-20"],[2,"width","100%","margin","auto","margin-top","20px","float","left"],[1,"rel",2,"width","160px","float","left","margin-left","15px","clear","both"],[1,"margin-top-15","profilePicture",3,"src"],[1,"material-icons","abs","pos-right","pos-bottom","pointer","profileIcon",2,"height","40px","margin-top","-40px",3,"src"],[1,"material-icons","abs","pos-right","pos-top","pointer","profileIcon",2,"background","transparent","padding","2px 4px","right","0","top","10px",3,"click"],["src","/static/img/rotate-clockwise@3x.png",2,"margin-top","-20px","width","30px","background","transparent",3,"click"],["mode","indeterminate",4,"ngIf"],["routerLink","/smart-coach","class","float-right smart-coach-profile","style","cursor: pointer;",4,"ngIf"],[1,"btn-primary","float-right","themedRoundButton","saveProfile",3,"disabled","hidden","click"],["class","float-right cancelProfile",3,"click",4,"ngIf"],["class","full-width clear-both text-center","style","color:#3FAE48",4,"ngIf"],[1,"delete-dialog",2,"margin-left","20px",3,"hidden"],[2,"margin","0px 0px 20px"],["type","button",1,"delete-confirm",3,"click"],["type","button",1,"delete-cancel","btn-warning",2,"border-radius","19px",3,"click"],[1,"member-uri-title",2,"margin","10px 10px 0px 20px"],["mat-raised-button","","class","member-uri-title",3,"routerLink",4,"ngIf"],[1,"float-left",3,"click"],["class","float-left","style","margin-left: 25px;",3,"routerLink",4,"ngIf"],["mat-stroked-button","","class","float-left","style","margin-top:-10px;","ngxClipboard","",3,"cbContent",4,"ngIf"],["class","float-left",4,"ngIf"],["class","col-sm-9","style","clear:both; width:100%;",4,"ngIf"],["mode","indeterminate"],["routerLink","/smart-coach",1,"float-right","smart-coach-profile",2,"cursor","pointer"],[1,"margin-top-15","coachPicture",3,"src"],[1,"float-right","cancelProfile",3,"click"],[1,"full-width","clear-both","text-center",2,"color","#3FAE48"],["mat-raised-button","",1,"member-uri-title",3,"routerLink"],[1,"material-icons",2,"color","#3FAE48"],[1,"float-left",2,"margin-left","25px",3,"routerLink"],[1,"material-icons"],["mat-stroked-button","","ngxClipboard","",1,"float-left",2,"margin-top","-10px",3,"cbContent"],[1,"float-left"],[1,"col-sm-9",2,"clear","both","width","100%"],[1,"user-profile-table"],[1,"users-name"],[1,"profile-error-message"],[3,"hidden"],[1,"fa","fa-check-square"],[2,"float","left",3,"hidden"],["placeholder","Your name","type","text",1,"",2,"float","left","background-color","transparent","width","100%",3,"ngModel","hidden","ngModelChange"],[2,"width","75%"],["name","email","required","","type","email",1,"",2,"background-color","transparent","width","100%",3,"ngModel","hidden","value","ngModelChange"],["colspan","2"],["routerLink","/changepassword",1,"account-extras-buttons"],["style","margin: 10px 10px 0px 20px;",4,"ngIf"],["style","margin-right:13px;clear:both;",4,"ngIf"],[2,"border","none"],[2,"height","30px"],["matInput","","placeholder","",3,"matDatepicker","min","max","value","disabled","dateChange"],["matSuffix","",3,"for"],["birthdate",""],["style","height:30px;",4,"ngIf"],[3,"hidden",4,"ngIf"],[3,"ngModel","ngModelChange"],["style","padding-right: 15px;font-weight: 100;",3,"color","value",4,"ngFor","ngForOf"],["routerLink","/partners",2,"cursor","pointer"],["src","/static/img/review/i-info-button.png",1,"info-button"],["data-ng-show","editMode"],[1,"account-extras-buttons","clear-both",2,"border-color","#d43f3a",3,"click"],[1,"delete-account",3,"click"],[1,"delete-dialog",3,"hidden"],[2,"white-space","nowrap"],[3,"href"],[1,"upgradeText"],["routerLink","/memberships"],[2,"height","30px","margin-top","-6px","float","left",3,"src"],[2,"margin","10px 10px 0px 20px"],[1,"float-left",2,"height","30px","margin-top","-6px",3,"src"],[2,"margin-right","13px","clear","both"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[2,"padding-right","15px","font-weight","100",3,"color","value"],[3,"ngModel","selectionChange","ngModelChange"],["routerLink","/changepassword",1,"account-extras-buttons",2,"clear","left"],["routerLink","/myphotos",1,"account-extras-buttons"],[1,"account-extras"],[3,"displayText"],[1,"full-width","float-left","clear-both"],["class","account-extras-buttons float-left clear-both","style","border-color: #d43f3a;",3,"hidden","click",4,"ngIf"],[2,"font-size","small"],["routerLink","/login"],[2,"font-size","small","margin-top","10px"],["routerLink","/privacy-policy.html"],[1,"account-extras-buttons","float-left","clear-both",2,"border-color","#d43f3a",3,"hidden","click"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,ay,36,18,"div",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275template"](4,oy,3,3,"h4",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,nb,35,28,"div",4),i["\u0275\u0275template"](6,ab,29,14,"div",4),i["\u0275\u0275element"](7,"div",5),i["\u0275\u0275template"](8,ob,1,0,"profile-permissions",6),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","delete"!=t.eventType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","delete"!=t.eventType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","delete"==t.eventType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","delete"!=t.eventType))},directives:[y.NgClass,y.NgIf,k.b,gt.d,O.a,gt.a,gt.b,S.e,It.a,Nv.a,de.c,de.o,de.r,de.w,fe.c,be.b,Ol.b,Ol.d,fe.h,Ol.a,kl.b,y.NgForOf,S.f,fe.g,Ae.a,m.o,kl.a,Ne,ny],pipes:[M.c,y.TitleCasePipe,y.DatePipe,y.DecimalPipe],styles:[".saveProfile{clear:right;margin:40px 20px 0 0}.cancelProfile{background:transparent;margin:40px 60px 0 0;padding:12px;cursor:pointer}.coachPicture,.profilePicture{border-radius:15px}.coachPicture{height:80px}.label{font-weight:400!important}.myZonesButton{float:left;margin-left:10px!important}.findFriendsButton,.myZonesButton{width:200px;color:#4597cb!important;border:1px solid #b2b2b2!important}.findFriendsButton{clear:right;float:right}.myZonesDiv{width:33%}.findFriendsDiv,.linkFacebookDiv,.myZonesDiv{text-align:center;float:left}.linkFacebookDiv{margin-left:5px}.loginFacebookButton{width:210px;height:40px;border:1px solid #b2b2b2!important;border-radius:2px;margin-top:20px;padding:8px;cursor:pointer}.button-icon{margin-right:8px;float:left;margin-top:12px}.info-button{height:20px}.account-extras-buttons{float:left;padding:8px;text-align:center;margin:20px 10px 10px 0;border:1px solid;height:38px;width:212px;border-radius:19px;cursor:pointer}.account-extras{float:left;margin-top:20px;cursor:pointer}.delete-account{color:#d9534f;cursor:pointer}.delete-dialog{clear:both;width:100%;float:left;font-size:16px;cursor:pointer;margin:20px 0}.delete-confirm{background-color:#d9534f;border-color:#d43f3a}.delete-cancel,.delete-confirm{cursor:pointer;border-radius:18px;padding:6px 20px}.delete-cancel{margin-left:20px}.upload-profile-photo{border:2px dashed #b2b2b2;height:300px;text-align:center;flex-direction:column;margin:20px 10px;pointer:cursor}.image-container,.upload-profile-photo{display:flex;justify-content:center;align-items:center;position:relative}.image-container{width:200px;height:200px;overflow:hidden;border-radius:24px}.taller-image{height:auto;width:100%}.files-list{height:300px;width:100%;float:left;text-align:center}#user-profile .btn-primary{background-color:#4597cb;border-color:#4597cb;border-radius:20px!important}#user-profile .btn-primary:hover{background:#1e597e}.smart-coach-profile{margin:0 20px 20px;padding:0 30px 20px;border:0 solid;text-align:center}.member-uri-title{float:left;width:100%;font-size:16px}.member-uri-edit{float:left}.member-uri-title-sm{visibility:hidden;height:1px;padding:0!important;margin:0!important;line-height:.1px}@media (max-width:767px){.findFriendsDiv,.myZonesDiv{width:100%;text-align:center;float:right}.findFriendsDiv{margin:0 15px 5px 0}.linkFacebookDiv{width:100%;margin:20px 0 0;float:left}.myZonesButton{float:right;margin:0 15px 5px 0!important}#user-profile .btn-primary{float:unset;margin-left:20px}}@media (max-width:479px){.profilePicture{max-width:100px}.member-uri-title{visibility:hidden;height:1px;padding:0!important;margin:0!important;line-height:.1px}.member-uri-title-sm{visibility:visible;height:auto;padding:unset!important;margin:unset!important;line-height:inherit}.copy-member-uri-button{float:left;margin-right:10px!important}}"],encapsulation:2}),e}(),yb=function(){function e(e,t,n){this.dialogRef=e,this.FormBuilder=t,this.AccountService=n,this.filesReady=!1}return e.prototype.uploadImage=function(){var e=this,t=new FormData;0!==this.toUpload.length&&(t.append("file",this.toUpload[0]),this.AccountService.uploadProfilePhoto(t).subscribe(function(t){e.dialogRef.close(t.response.image_filename)},function(e){console.log("ERRORED")}))},e.prototype.onFileChange=function(e){var t=this;try{if(this.toUpload=e.target.files,this.filesReady=!0,this.toUpload.length>0){var n=new FileReader;n.onload=function(e){t.selectedImageSrc=e.target.result;var n=new Image;n.onload=function(){t.imageAspectRatio=n.width/n.height,t.isTallerImage=t.imageAspectRatio<1},n.src=e.target.result},n.readAsDataURL(this.toUpload[0])}}catch(i){this.toUpload=e}},e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](de.d),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["upload-profile-image"]],viewQuery:function(e,t){var n;1&e&&i["\u0275\u0275viewQuery"](sb,1),2&e&&i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.uploadElement=n.first)},decls:15,vars:7,consts:[[1,"md-primary"],[1,"flex-span"],["mat-button","",1,"mat-icon-button",3,"click"],["src","/static/img/icons/deleteXIconWhite.png"],[3,"ngSubmit"],["class","upload-profile-photo","appDragDrop","",3,"click","onFileDropped",4,"ngIf"],["class","upload-profile-photo",4,"ngIf"],["layout","row",2,"height","92px"],["class","create-button",3,"click",4,"ngIf"],["class","delete-cancel",3,"click",4,"ngIf"],["appDragDrop","",1,"upload-profile-photo",3,"click","onFileDropped"],[1,"material-icons",2,"font-size","40px"],["hidden","","type","file","autocomplete","off",2,"display","none !important",3,"change"],["uploadElement",""],[1,"upload-profile-photo"],[1,"image-container"],["alt","Selected Image",3,"src","ngClass","max-width","max-height",4,"ngIf"],[2,"margin","0"],["alt","Selected Image",3,"src","ngClass"],[1,"create-button",3,"click"],[1,"delete-cancel",3,"click"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-toolbar",0),i["\u0275\u0275elementStart"](1,"mat-toolbar-row"),i["\u0275\u0275elementStart"](2,"h2"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"span",1),i["\u0275\u0275elementStart"](6,"button",2),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275element"](7,"img",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-dialog-content"),i["\u0275\u0275elementStart"](9,"form",4),i["\u0275\u0275listener"]("ngSubmit",function(){return t.uploadImage()}),i["\u0275\u0275template"](10,lb,6,0,"div",5),i["\u0275\u0275template"](11,ub,5,2,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"mat-dialog-actions",7),i["\u0275\u0275template"](13,pb,4,6,"button",8),i["\u0275\u0275template"](14,hb,4,6,"button",9),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,5,"ROOT.Upload Profile Photo")),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("ngIf",!t.filesReady),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.toUpload.length>0),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.filesReady),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.filesReady))},directives:[C.a,C.c,k.b,g.d,de.z,de.p,de.q,y.NgIf,g.c,Rm,y.NgClass],pipes:[M.c],encapsulation:2}),e}(),bb=function(){function e(e,t,n,i,r,a,o){this.dialogRef=e,this.translate=t,this.AccountService=n,this.dialog=i,this.data=r,this.FormBuilder=a,this.socialService=o,this.requesting=!1,this.isDarkTheme=!1,this.customURL=new de.e("",[de.y.required,de.y.pattern("(?=^.{5,20}$)(?!^[_-].+)(?!.+[_-]$)(?!.*[_-]{2,})[^<>[\\]{}|\\\\\\/^~%#&@()'\"* :;,$%?\\0-\\cZ]+$")])}return e.prototype.setURL=function(){var e=this;this.error=null,this.originalValue==this.customURL.value?this.dialogRef.close({optOut:!1,customURL:this.customURL.value.toLowerCase()}):this.socialService.setProfileURL(this.customURL.value).subscribe(function(t){e.AccountService.account.custom_uri=e.customURL.value.toLowerCase(),t.response.error?e.error=e.translate.instant("ERROR."+t.response.error.code):e.dialogRef.close({optOut:!1,customURL:e.customURL.value.toLowerCase()})})},e.prototype.optOut=function(){var e=this;this.dialog.open(xb,{panelClass:this.isDarkTheme?"dark-theme":"",maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(t){1==t&&e.dialogRef.close({optOut:!0})})},e.prototype.cancel=function(){this.dialogRef.close({optOut:!1,customURL:this.customURL.value})},e.prototype.ngOnInit=function(){this.originalValue=this.data.customUri,this.isDarkTheme=this.data.isDarkTheme,this.customURL.setValue(this.data.customUri)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](de.d),i["\u0275\u0275directiveInject"](ge.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["custom-url"]],decls:24,vars:18,consts:[[1,"mat-primary"],[1,"flex-span"],["mat-button","",1,"mat-icon-button",3,"click"],["src","/static/img/icons/deleteXIconWhite.png"],[2,"font-size","16px"],[2,"margin","20px"],[2,"justify-content","center","display","flex","margin-top","45px","flex-wrap","wrap"],["type","text","matInput","",2,"font-size","20px","color","#4597CB",3,"formControl"],["style","justify-content: center;display: flex;color: #EE3123;",4,"ngIf"],["layout","row",2,"display","flex","justify-content","space-between"],[1,"delete-cancel","float-left",3,"disabled","click"],[1,"create-button","float-right",3,"disabled","ngClass","click"],[2,"justify-content","center","display","flex","color","#EE3123"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-toolbar",0),i["\u0275\u0275elementStart"](1,"mat-toolbar-row"),i["\u0275\u0275elementStart"](2,"h2"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"span",1),i["\u0275\u0275elementStart"](6,"button",2),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275element"](7,"img",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-dialog-content",4),i["\u0275\u0275elementStart"](9,"div",5),i["\u0275\u0275elementStart"](10,"div",6),i["\u0275\u0275elementStart"](11,"mat-form-field"),i["\u0275\u0275element"](12,"input",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](13,mb,2,1,"div",8),i["\u0275\u0275template"](14,gb,3,3,"div",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"mat-dialog-actions",9),i["\u0275\u0275elementStart"](16,"button",10),i["\u0275\u0275listener"]("click",function(){return t.optOut()}),i["\u0275\u0275elementStart"](17,"span"),i["\u0275\u0275text"](18),i["\u0275\u0275pipe"](19,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"button",11),i["\u0275\u0275listener"]("click",function(){return t.setURL()}),i["\u0275\u0275elementStart"](21,"span"),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,9,"ROOT.Custom Name")),i["\u0275\u0275advance"](9),i["\u0275\u0275property"]("formControl",t.customURL),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.error),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.customURL.invalid&&t.customURL.touched),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",t.requesting),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](19,11,"ROOT.Delete")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",t.requesting||t.customURL.invalid)("ngClass",i["\u0275\u0275pureFunction2"](15,fb,0==t.customURL.invalid,1==t.customURL.invalid)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](23,13,"ROOT.Save")))},directives:[C.a,C.c,k.b,g.d,fe.c,be.b,de.c,de.o,de.f,y.NgIf,g.c,y.NgClass],pipes:[M.c],encapsulation:2}),e}(),xb=function(){function e(e,t,n,i){this.dialogRef=e,this.data=t,this.FormBuilder=n,this.socialService=i,this.requesting=!1}return e.prototype.optOut=function(){var e=this;this.socialService.optOut().subscribe(function(t){e.dialogRef.close(!0)})},e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.ngOnInit=function(){this.dialogRef.close(!1)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](de.d),i["\u0275\u0275directiveInject"](ge.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["custom-url-opt-out"]],decls:23,vars:15,consts:[[2,"float","right","text-align","right","width","100%"],["mat-button","",1,"md-icon-button",2,"float","right",3,"click"],["mat-dialog-content",""],[2,"margin","20px"],[2,"justify-content","center","display","flex","margin-top","45px","flex-wrap","wrap"],["mat-dialog-actions","","layout","row"],["mat-raised-button","",3,"disabled","click"],["mat-raised-button","",3,"color","disabled","click"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-toolbar"),i["\u0275\u0275elementStart"](1,"mat-toolbar-row"),i["\u0275\u0275elementStart"](2,"h2"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",0),i["\u0275\u0275elementStart"](6,"button",1),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275text"](7," X "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",2),i["\u0275\u0275elementStart"](9,"div",3),i["\u0275\u0275elementStart"](10,"div",4),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",5),i["\u0275\u0275elementStart"](15,"button",6),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275elementStart"](16,"span"),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"button",7),i["\u0275\u0275listener"]("click",function(){return t.optOut()}),i["\u0275\u0275elementStart"](20,"span"),i["\u0275\u0275text"](21),i["\u0275\u0275pipe"](22,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,7,"ROOT.Opt Out")),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](13,9,"ROOT.Are you sure you want to Opt Out? Doing so will remove all your followers and anyone you follow.")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("disabled",t.requesting),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](18,11,"ROOT.Cancel")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","warn")("disabled",t.requesting),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](22,13,"ROOT.Opt Out")))},directives:[C.a,C.c,k.b,g.d,g.c],pipes:[M.c],encapsulation:2}),e}();function _b(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"app-zoneset-listing",2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("zonesetsInput",n.zonesets)("series",n.series)("zonesetType","speed")}}var wb=function(){function e(e,t,n){this.WorkoutsService=e,this.window=t,this.AccountService=n,this.series=null,this.zonesets=[],this.loading=!1}return e.prototype.getZonesets=function(){var e=this;new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""}),this.WorkoutsService.getSpeedZonesets().subscribe(function(t){for(var n=0;n<t.response.customSpeedZoneSets.length;n++){var i=new x.c(t.response.customSpeedZoneSets[n],"U",e.AccountService.account.isMetric());e.zonesets.push(i)}e.loading=!1})},e.prototype.ngOnInit=function(){this.loading=!0,this.getZonesets()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["speed-zones"]],decls:2,vars:2,consts:[[1,"loading-overlay",3,"hidden"],[4,"ngIf"],[3,"zonesetsInput","series","zonesetType"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275template"](1,_b,2,3,"div",1)),2&e&&(i["\u0275\u0275property"]("hidden",!t.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.loading))},styles:[""]}),e}();function Sb(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-tab",2),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275element"](2,"heart-zones"),i["\u0275\u0275elementEnd"]()),2&e&&i["\u0275\u0275propertyInterpolate"]("label",i["\u0275\u0275pipeBind1"](1,1,"ROOT.Heart Zones"))}function Cb(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-tab",2),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275element"](2,"pace-zones"),i["\u0275\u0275elementEnd"]()),2&e&&i["\u0275\u0275propertyInterpolate"]("label",i["\u0275\u0275pipeBind1"](1,1,"ROOT.Pace Zones"))}function kb(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-tab",2),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275element"](2,"speed-zones"),i["\u0275\u0275elementEnd"]()),2&e&&i["\u0275\u0275propertyInterpolate"]("label",i["\u0275\u0275pipeBind1"](1,1,"ROOT.Speed Zones"))}function Ob(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-tab",2),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275element"](2,"power-zones"),i["\u0275\u0275elementEnd"]()),2&e&&i["\u0275\u0275propertyInterpolate"]("label",i["\u0275\u0275pipeBind1"](1,1,"ROOT.Power Zones"))}function Eb(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"span",13),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.error," ")}}function Mb(e,t){1&e&&i["\u0275\u0275element"](0,"mat-progress-spinner",14),2&e&&i["\u0275\u0275property"]("mode","indeterminate")("diameter",20)("color","primary")}var Ib=function(){function e(e,t){this.titleService=e,this.window=t,this.hideTabs=!1,this.selectedTabIndex=0,this.showHeart=!1,this.showPace=!1,this.showSpeed=!1,this.showPower=!1}return e.prototype.ngOnInit=function(){var e=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});"heart"==e.get("zonetype")?(this.hideTabs=!0,this.showSpeed=!1,this.showPace=!1,this.showPower=!1,this.showHeart=!0):"pace"==e.get("zonetype")?(this.hideTabs=!0,this.showSpeed=!1,this.showHeart=!1,this.showPower=!1,this.showPace=!0):"speed"==e.get("zonetype")?(this.hideTabs=!0,this.showHeart=!1,this.showPace=!1,this.showPower=!1,this.showSpeed=!0):"power"==e.get("zonetype")?(this.hideTabs=!0,this.showSpeed=!1,this.showPace=!1,this.showHeart=!1,this.showPower=!0):(this.showHeart=!0,this.showPace=!0,this.showSpeed=!0,this.showPower=!0)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](p.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-zones"]],decls:5,vars:7,consts:[[3,"selectedIndex"],[3,"label",4,"ngIf"],[3,"label"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-tab-group",0),i["\u0275\u0275template"](1,Sb,3,3,"mat-tab",1),i["\u0275\u0275template"](2,Cb,3,3,"mat-tab",1),i["\u0275\u0275template"](3,kb,3,3,"mat-tab",1),i["\u0275\u0275template"](4,Ob,3,3,"mat-tab",1),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275classProp"]("header-less-tabs",t.hideTabs),i["\u0275\u0275property"]("selectedIndex",t.selectedTabIndex),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showHeart),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showPace),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showSpeed),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showPower))},directives:[ft.b,y.NgIf,ft.a,A,N,wb,V],pipes:[M.c],styles:[".mat-tab-labels{justify-content:center!important}.header-less-tabs .mat-tab-header{display:none}.zoneWrap{display:flex;flex-direction:column;justify-content:center;align-content:center;margin:0 auto 40px;font-size:16px}.bpmSlider1 :host ::ng-deep .mat-accent .mat-slider-track-fill{background-color:red!important}.bpmSlider2 :host ::ng-deep .mat-accent .mat-slider-track-fill{background-color:#00f!important}.create-zone-icon{height:24px}#container-3 /deep/ .mat-accent .mat-slider-track-fill{background:green!important}#container-4 /deep/ .mat-accent .mat-slider-track-fill{background:#ff0!important}#container-5 /deep/ .mat-accent .mat-slider-track-fill{background:purple!important}.heartRateZonesGraphSampleContainer,.paceZonesGraphSampleContainer{float:right;max-width:50%;margin-top:20px;overflow-x:hidden}.hrzones-andy{float:right;width:200px;text-align:center}.hrZonesCreate{display:flex;margin:20px 30px 30px 40px}.heartzonespromo2{width:100%}@media (max-width:901px){.heartRateZonesGraphSampleContainer,.paceZonesGraphSampleContainer{float:right;margin:20px 30px 10px 0;overflow:hidden;width:243px;max-width:none}}@media (max-width:769px){.hrzones-andy{visibility:hidden;width:0}.heartRateZonesGraphSampleContainer,.paceZonesGraphSampleContainer{float:left}}.zoneSliderWrap{display:flex;flex-direction:column;width:25%}#heartRateZonesNewBtn{display:none;float:right;margin-top:30px;margin-right:40px}.heartRateZone,.paceZone{color:#fff;font-weight:700;text-align:center;font-size:16px;padding:5px 0;line-height:35px;white-space:nowrap;overflow:hidden;border:1px solid;margin-bottom:2px}.heartRateZoneSet{padding-left:44px}.heartRateZoneSet,.paceZoneSet{height:225px;border-color:#e1e1e1;border-style:none solid;border-width:2px}.heartRateLimits,.paceLimits{float:left;font-size:16px;padding:0 10px;margin-top:5px}.heartRateZone input,.paceZone input{font-size:16px}.zone1{border-color:#2077ae;background-color:#4c98c9}.zone2{border-color:#018e84;background-color:#00aa9f}.zone3{border-color:#339b6b;background-color:#03b061}.zone4{border-color:#dca634;background-color:#feb51a}.zone5{border-color:#ef5511;background-color:#ff5f19}.powerZone1{border-color:#5477ce;background-color:#5477ce}.powerZone2{border-color:#44afe3;background-color:#44afe3}.powerZone3{border-color:#f9eb4d;background-color:#f9eb4d}.powerZone4{border-color:#a8b4d9;background-color:#a8b4d9}.powerZone5{border-color:#f0844f;background-color:#f0844f}.zoneInput{color:#000;height:24px}#zoneSetNew{margin:25px 25px 0;font-size:16px}.heartRateZones{float:left;width:calc(100% - 130px);margin-top:20px}.paceZones{float:left;width:550px;margin-top:20px}.heartRateLimit,.paceLimit{width:100px;height:30px;line-height:45px;text-align:center;margin-bottom:16px}.zone-container{display:inline-block;max-width:800px;width:100%;margin:auto}.zone-container-full{margin:auto;width:100%;text-align:center}@media (max-width:480px){.hrZonesCreate{display:flex;margin:20px 10px 30px}}"],encapsulation:2}),e}(),Pb=function(){function e(e,t,n){this.dialogRef=e,this.data=t,this.workoutsService=n,this.error=!1,this.loading=!1}return e.prototype.deleteZoneset=function(){var e=this;this.loading=!0,this.data.zoneset instanceof x.d?this.workoutsService.saveZonesets(this.data.zoneset,"FD","hr").subscribe(function(){e.loading=!1,e.dialogRef.close(!0)}):this.data.zoneset instanceof x.b?this.workoutsService.savePowerZonesets(this.data.zoneset,"FD").subscribe(function(){e.loading=!1,e.dialogRef.close(!0)}):this.data.zoneset instanceof x.a?this.workoutsService.savePaceZonesets(this.data.zoneset.toSaveable(),"FD").subscribe(function(){e.loading=!1,e.dialogRef.close(!0)}):this.data.zoneset instanceof x.c&&this.workoutsService.saveSpeedZonesets(this.data.zoneset.toSaveable(),"FD").subscribe(function(){e.loading=!1,e.dialogRef.close(!0)})},e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](v.b))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["delete-zoneset"]],decls:25,vars:15,consts:[[1,"mat-primary"],["flex",""],[1,"modalClose"],["mat-button","",2,"float","right",3,"click"],["mat-dialog-content",""],[2,"margin","20px"],["mat-dialog-actions","","layout","row",2,"display","block"],["class","healthPopupError",4,"ngIf"],[2,"justify-content","flex-end","display","flex"],[1,"themed-clear-button","delete-cancel","float-right",2,"margin-top","20px",3,"click"],["aria-label","Delete",1,"themed-clear-button","create-button","float-right",3,"disabled","click"],["style","display: inline-flex;",3,"mode","diameter","color",4,"ngIf"],[1,"healthPopupError"],[1,"error"],[2,"display","inline-flex",3,"mode","diameter","color"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-toolbar",0),i["\u0275\u0275elementStart"](1,"mat-toolbar-row"),i["\u0275\u0275elementStart"](2,"h2"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"span",1),i["\u0275\u0275elementStart"](6,"div",2),i["\u0275\u0275elementStart"](7,"button",3),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275elementStart"](8,"mat-icon"),i["\u0275\u0275text"](9,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",4),i["\u0275\u0275elementStart"](11,"div",5),i["\u0275\u0275elementStart"](12,"h4"),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div",6),i["\u0275\u0275template"](16,Eb,3,1,"div",7),i["\u0275\u0275elementStart"](17,"div",8),i["\u0275\u0275elementStart"](18,"button",9),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"button",10),i["\u0275\u0275listener"]("click",function(){return t.deleteZoneset()}),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275template"](24,Mb,1,3,"mat-progress-spinner",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,7,"ROOT.Delete")),i["\u0275\u0275advance"](10),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](14,9,"ROOT.Are you sure?")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.error),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](20,11,"ROOT.Cancel")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",t.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](23,13,"ROOT.Delete")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.loading))},directives:[C.a,C.c,k.b,O.a,g.d,g.c,y.NgIf,E.a],pipes:[M.c],encapsulation:2}),e}();function Tb(e,t){1&e&&i["\u0275\u0275element"](0,"img",53)}function Db(e,t){1&e&&i["\u0275\u0275element"](0,"img",54)}function Lb(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",55),i["\u0275\u0275element"](1,"img",56),i["\u0275\u0275elementEnd"]())}function Rb(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",55),i["\u0275\u0275element"](1,"img",57),i["\u0275\u0275elementEnd"]())}var jb=function(){return["/login"]},Ab=function(){function e(e,t,n,i){this.titleService=e,this.AccountService=t,this.router=n,this.ThemeService=i,this.AccountService.setLoginView(!0)}return e.prototype.ngOnInit=function(){this.AccountService.isLoggedIn&&(this.AccountService.setLoginView(!1),this.router.navigate(["/home"])),this.ThemeService.isThemeBecolorado&&this.router.navigate(["/login"])},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-welcome"]],decls:152,vars:96,consts:[["id","myCarousel",1,"carousel","slide"],[1,"carousel-inner"],[1,"item","active"],["src","/static/img/running_home1.png",1,"carouselImage"],[1,"welcomeHeadline"],[1,"containerWelcome"],[1,"carousel-caption"],[1,"lead"],["routerLink","/signup",1,"btn-primary","themedRoundButton"],[1,"item"],["alt","","src","/static/img/spinning_home1.png",1,"carouselImage"],["alt","","src","/static/img/weightlifting_home1.png",1,"carouselImage"],["data-slide","prev","href","#myCarousel",1,"left","carousel-control"],["src","/static/img/grey-arrow-back-home.png",1,"homeArrows"],["data-slide","next","href","#myCarousel",1,"right","carousel-control"],["src","/static/img/grey-arrow-forward-home.png",1,"homeArrows"],[1,"btn-primary","themedRoundButton","float-right","signin-header",3,"routerLink"],["routerLink","/support",1,"supportHeader"],["src","/static/img/support_icon.png",1,"supportHeaderIcon",2,"right","200px"],["class","welcomeLogo","src","/static/img/fitdigits-header-logo.png",4,"ngIf"],["class","welcomeLogo","src","/static/img/theme/move/move_header_logo_mountains_new.png","style","height:34px;",4,"ngIf"],[1,"containerWelcome","marketing"],[1,"row"],[1,"span4"],["src","/static/img/workout-icon.png",1,"",2,"max-height","70px"],[1,"top3-choices-text"],[1,"welcome3subtext"],["src","/static/img/structured-workouts-icon.png",1,"",2,"max-height","70px","padding","4px"],[1,"signup-button"],["src","/static/img/coach_megaphone.png",1,"",2,"max-height","70px","padding","4px"],[1,"featurette-divider"],[1,"featurette"],["routerLink","/signup"],["src","/static/img/greenplusbutton2.png",1,"featurette-image","pull-right"],["src","/static/img/home_that_good.png",1,"feature-image2"],[1,"featurette-heading"],[1,"muted"],["src","/static/img/greenplusbutton2.png",1,"featurette-image","pull-left"],["src","/static/img/home_see_yourself.png",1,"feature-image2",2,"float","right","margin-bottom","20px"],["src","/static/img/home_livetracking.png",1,"feature-image2"],[1,"signup-button",2,"text-align","center","width","100%"],["routerLink","/signup",1,"btn-primary","themedRoundButton",2,"padding","8px"],[1,"header-container"],["href","https://itunes.apple.com/us/app/icardio-workout-tracker/id314841648?mt=8"],["src","/static/img/footer-download-ios.png",1,"downloadFooter"],["href","https://play.google.com/store/apps/details?id=com.fitdigits.icardio.app"],["src","/static/img/footer-download-android.png",1,"downloadFooter",2,"float","right"],[1,"header-band"],[1,"leftFooter"],["routerLink","/welcome",4,"ngIf"],[1,"rightFooter"],["routerLink","/privacy-policy.html"],["routerLink","/terms-and-conditions.html",1,"ng-scope"],["src","/static/img/fitdigits-header-logo.png",1,"welcomeLogo"],["src","/static/img/theme/move/move_header_logo_mountains_new.png",1,"welcomeLogo",2,"height","34px"],["routerLink","/welcome"],["src","/static/img/fitdigits-header-logo.png",1,"header-logo-new"],["src","/static/img/theme/move/move_header_logo_mountains_new.png",1,"header-logo-new",2,"height","34px"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275element"](3,"img",3),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275elementStart"](5,"div",5),i["\u0275\u0275elementStart"](6,"div",6),i["\u0275\u0275elementStart"](7,"h1"),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p",7),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"button",8),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"div",9),i["\u0275\u0275element"](17,"img",10),i["\u0275\u0275elementStart"](18,"div",4),i["\u0275\u0275elementStart"](19,"div",5),i["\u0275\u0275elementStart"](20,"div",6),i["\u0275\u0275elementStart"](21,"h1"),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"p",7),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"button",8),i["\u0275\u0275text"](28),i["\u0275\u0275pipe"](29,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"div",9),i["\u0275\u0275element"](31,"img",11),i["\u0275\u0275elementStart"](32,"div",4),i["\u0275\u0275elementStart"](33,"div",5),i["\u0275\u0275elementStart"](34,"div",6),i["\u0275\u0275elementStart"](35,"h1"),i["\u0275\u0275text"](36),i["\u0275\u0275pipe"](37,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"p",7),i["\u0275\u0275text"](39),i["\u0275\u0275pipe"](40,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"button",8),i["\u0275\u0275text"](42),i["\u0275\u0275pipe"](43,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"a",12),i["\u0275\u0275element"](45,"img",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"a",14),i["\u0275\u0275element"](47,"img",15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"button",16),i["\u0275\u0275text"](49),i["\u0275\u0275pipe"](50,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](51,"a",17),i["\u0275\u0275element"](52,"img",18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](53,Tb,1,0,"img",19),i["\u0275\u0275template"](54,Db,1,0,"img",20),i["\u0275\u0275elementStart"](55,"div",21),i["\u0275\u0275elementStart"](56,"div",22),i["\u0275\u0275elementStart"](57,"div",23),i["\u0275\u0275element"](58,"img",24),i["\u0275\u0275elementStart"](59,"h2",25),i["\u0275\u0275text"](60),i["\u0275\u0275pipe"](61,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](62,"div",26),i["\u0275\u0275text"](63),i["\u0275\u0275pipe"](64,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](65,"div",23),i["\u0275\u0275element"](66,"img",27),i["\u0275\u0275elementStart"](67,"h2",25),i["\u0275\u0275text"](68),i["\u0275\u0275pipe"](69,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](70,"div",26),i["\u0275\u0275text"](71),i["\u0275\u0275pipe"](72,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](73,"p",28),i["\u0275\u0275elementStart"](74,"button",8),i["\u0275\u0275text"](75),i["\u0275\u0275pipe"](76,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](77,"div",23),i["\u0275\u0275element"](78,"img",29),i["\u0275\u0275elementStart"](79,"h2",25),i["\u0275\u0275text"](80),i["\u0275\u0275pipe"](81,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](82,"div",26),i["\u0275\u0275text"](83),i["\u0275\u0275pipe"](84,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](85,"hr",30),i["\u0275\u0275elementStart"](86,"div",31),i["\u0275\u0275elementStart"](87,"a",32),i["\u0275\u0275element"](88,"img",33),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](89,"img",34),i["\u0275\u0275elementStart"](90,"h2",35),i["\u0275\u0275text"](91),i["\u0275\u0275pipe"](92,"translate"),i["\u0275\u0275elementStart"](93,"span",36),i["\u0275\u0275text"](94),i["\u0275\u0275pipe"](95,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](96,"p",7),i["\u0275\u0275text"](97),i["\u0275\u0275pipe"](98,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](99,"hr",30),i["\u0275\u0275elementStart"](100,"div",31),i["\u0275\u0275elementStart"](101,"a",32),i["\u0275\u0275element"](102,"img",37),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](103,"img",38),i["\u0275\u0275elementStart"](104,"h2",35),i["\u0275\u0275text"](105),i["\u0275\u0275pipe"](106,"translate"),i["\u0275\u0275elementStart"](107,"span",36),i["\u0275\u0275text"](108),i["\u0275\u0275pipe"](109,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](110,"p",7),i["\u0275\u0275text"](111),i["\u0275\u0275pipe"](112,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](113,"hr",30),i["\u0275\u0275elementStart"](114,"div",31),i["\u0275\u0275elementStart"](115,"a",32),i["\u0275\u0275element"](116,"img",33),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](117,"img",39),i["\u0275\u0275elementStart"](118,"h2",35),i["\u0275\u0275text"](119),i["\u0275\u0275pipe"](120,"translate"),i["\u0275\u0275elementStart"](121,"span",36),i["\u0275\u0275text"](122),i["\u0275\u0275pipe"](123,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](124,"p",7),i["\u0275\u0275text"](125),i["\u0275\u0275pipe"](126,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](127,"p",40),i["\u0275\u0275elementStart"](128,"button",41),i["\u0275\u0275text"](129),i["\u0275\u0275pipe"](130,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](131,"div"),i["\u0275\u0275elementStart"](132,"div",42),i["\u0275\u0275elementStart"](133,"a",43),i["\u0275\u0275element"](134,"img",44),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](135,"a",45),i["\u0275\u0275element"](136,"img",46),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](137,"div",47),i["\u0275\u0275elementStart"](138,"div",48),i["\u0275\u0275template"](139,Lb,2,0,"a",49),i["\u0275\u0275template"](140,Rb,2,0,"a",49),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](141,"div",50),i["\u0275\u0275elementStart"](142,"a",51),i["\u0275\u0275text"](143),i["\u0275\u0275pipe"](144,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](145," \u2022 "),i["\u0275\u0275elementStart"](146,"a",52),i["\u0275\u0275text"](147),i["\u0275\u0275pipe"](148,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](149,"br"),i["\u0275\u0275text"](150),i["\u0275\u0275pipe"](151,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,35,"ROOT.Run. Ride. Sweat.")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](12,37,"ROOT.Track heart rate and exercise indoors or out")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](15,39,"ROOT.Sign up today")," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](23,41,"ROOT.World Class Results.")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](26,43,"ROOT.From pioneers to innovators in making heart rate training")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](29,45,"ROOT.Sign up today")," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](37,47,"ROOT.Structured or Freeform.")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](40,49,"ROOT.Give your body a gift")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](43,51,"ROOT.Sign up today")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](95,jb)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](50,53,"ROOT.Sign In"),"\n"),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeFitdigits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](61,55,"ROOT.Heart Rate")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](64,57,"ROOT.Heart rate tracking and training is our heart and blood")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](69,59,"ROOT.Structured Workouts")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](72,61,"ROOT.Dont guess know how to get where you are going")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](76,63,"ROOT.Sign up today")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](81,65,"ROOT.Personalized Coaching")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](84,67,"ROOT.Choose from dozens of voices and options")," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](92,69,"ROOT.Tracking made so easy.")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](95,71,"ROOT.Itll blow your mind.")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](98,73,"ROOT.Exercise activity tracking and heart rate training is in our blood")," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](106,75,"ROOT.Oh yeah its that good.")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](109,77,"ROOT.See for yourself.")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](112,79,"ROOT.Free to download and use you can get started immediately")," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](120,81,"ROOT.And boom, LiveTracking Plus.")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](123,83,"ROOT.Checkmate.")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](126,85,"ROOT.Livetrack your workouts and activities and be cheered on")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](130,87,"ROOT.Download Get Started")," "),i["\u0275\u0275advance"](10),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeFitdigits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](144,89,"ROOT.Privacy Policy")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](148,91,"ROOT.Terms of Service")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" \xa9 Fitdigits, Inc. ",i["\u0275\u0275pipeBind1"](151,93,"ROOT.All rights reserved worldwide")," "))},directives:[S.e,S.f,y.NgIf],pipes:[M.c],styles:["body[_ngcontent-%COMP%]{padding-bottom:40px;color:#5a5a5a}h1[_ngcontent-%COMP%]{font-size:50px!important}.navbar-wrapper[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;z-index:10;margin-top:20px;margin-bottom:-90px}.navbar[_ngcontent-%COMP%]   .navbar-inner[_ngcontent-%COMP%]{border:0;box-shadow:0 2px 10px rgba(0,0,0,.25)}.navbar[_ngcontent-%COMP%]   .brand[_ngcontent-%COMP%]{padding:14px 20px 16px;font-size:16px;font-weight:700;text-shadow:0 -1px 0 rgba(0,0,0,.5)}.navbar[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{padding:15px 20px}.navbar[_ngcontent-%COMP%]   .btn-navbar[_ngcontent-%COMP%]{margin-top:10px}.carousel[_ngcontent-%COMP%]{margin-bottom:60px}.carousel[_ngcontent-%COMP%]   .containerWelcome[_ngcontent-%COMP%]{position:relative;z-index:9}.containerWelcome[_ngcontent-%COMP%]{padding:10px 10px 0}.carouselImage[_ngcontent-%COMP%]{margin-top:0}.homeArrows[_ngcontent-%COMP%]{width:20px;margin-top:225px;max-height:100px}.welcomeHeadline[_ngcontent-%COMP%]{padding-top:200px}.row[_ngcontent-%COMP%]{max-width:1060px;margin:auto}.welcome3subtext[_ngcontent-%COMP%]{height:120px;padding:0 15px}.btn-primary[_ngcontent-%COMP%]{margin-bottom:10px}.muted[_ngcontent-%COMP%]{color:#808284}.carousel-control[_ngcontent-%COMP%]{margin:0 auto;font-size:120px;text-shadow:0 1px 1px rgba(0,0,0,.4);background-color:transparent;border:0;z-index:10}.carousel[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%]{height:500px}.carousel[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{position:absolute;top:0;left:0;min-width:100%;height:500px}.carousel-caption[_ngcontent-%COMP%]{background-color:#4597cb;position:static;max-width:550px;padding:0 20px;margin:40px auto 0}.carousel-caption[_ngcontent-%COMP%]   .lead[_ngcontent-%COMP%]{margin:10px 0;line-height:1.25;color:#fff;text-shadow:0 1px 1px rgba(0,0,0,.4)}.carousel-caption[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{margin:0;line-height:1.25;color:#fff;text-shadow:4px 2px #000}.carousel-caption[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin-top:10px}.primary-btn[_ngcontent-%COMP%]{color:#fff}.primary-btn[_ngcontent-%COMP%]:not([disabled]):hover{color:#b2b2b2}.welcomeLogo[_ngcontent-%COMP%]{position:absolute;top:20px;left:20px}.signin-header[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff}.header-band[_ngcontent-%COMP%]{background-color:#eaebec;text-align:center;width:100%;margin-top:70px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%]{background-color:transparent}.leftFooter[_ngcontent-%COMP%]{float:left;max-width:50%;text-align:left;padding:18px}.rightFooter[_ngcontent-%COMP%]{float:right;text-align:right}.centerFoooterImg[_ngcontent-%COMP%]{margin:-40px auto 0;text-align:center}.downloadFooter[_ngcontent-%COMP%]{padding:0 20px;max-height:140px;margin-bottom:-70px}@media (max-width:600px){.centerFoooterImg[_ngcontent-%COMP%], .leftFooter[_ngcontent-%COMP%]{visibility:hidden;width:0}}.marketing[_ngcontent-%COMP%]   .span4[_ngcontent-%COMP%]{text-align:center;float:left;width:33%}.marketing[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-weight:400}.top3-choices-text[_ngcontent-%COMP%]{height:80px}.marketing[_ngcontent-%COMP%]   .span4[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}.featurette-divider[_ngcontent-%COMP%]{margin:50px 0}.featurette[_ngcontent-%COMP%]{overflow:hidden;max-width:960px;margin:auto}.featurette-image[_ngcontent-%COMP%]{margin-top:10px}.featurette-image.pull-left[_ngcontent-%COMP%]{margin-right:40px}.featurette-image.pull-right[_ngcontent-%COMP%]{margin-left:40px}.featurette-heading[_ngcontent-%COMP%]{font-size:50px;font-weight:300;line-height:1;letter-spacing:-1px;clear:both}@media (max-width:979px){.containerWelcome.navbar-wrapper[_ngcontent-%COMP%]{margin-bottom:0}.navbar-inner[_ngcontent-%COMP%]{border-radius:0;margin:-20px 0}.carousel[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%], .carousel[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:500px}.featurette[_ngcontent-%COMP%]{height:auto;padding:0}.featurette-image.pull-left[_ngcontent-%COMP%], .featurette-image.pull-right[_ngcontent-%COMP%]{display:block;float:none;max-width:40%;margin:0 auto 20px}.signup-button[_ngcontent-%COMP%]{margin-top:20px}}@media (max-width:767px){.homeArrows[_ngcontent-%COMP%]{margin-top:125px}.welcomeHeadline[_ngcontent-%COMP%]{padding-top:0}.navbar-inner[_ngcontent-%COMP%]{margin:-20px}.carousel[_ngcontent-%COMP%]{margin-left:-20px;margin-right:-20px}.carousel[_ngcontent-%COMP%]   .item[_ngcontent-%COMP%], .carousel[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:300px}.carousel-caption[_ngcontent-%COMP%]{width:65%;padding:0;margin-top:100px;text-shadow:4px 2px #000}.carousel-caption[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:30px}.carousel-caption[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%], .carousel-caption[_ngcontent-%COMP%]   .lead[_ngcontent-%COMP%]{font-size:18px}.marketing[_ngcontent-%COMP%]   .span4[_ngcontent-%COMP%]{margin-top:40px}.featurette-heading[_ngcontent-%COMP%]{font-size:30px}.featurette[_ngcontent-%COMP%]   .lead[_ngcontent-%COMP%]{font-size:18px;line-height:1.5}.feature-image2[_ngcontent-%COMP%]{max-width:85%}.span4[_ngcontent-%COMP%]{width:100%!important}.lead[_ngcontent-%COMP%]{font-weight:350}.carousel-caption[_ngcontent-%COMP%]{margin-top:70px}}"]}),e}();function Fb(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",27),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",28),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,1,"ROOT.create_group")))}function Bb(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"span",8),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.displayErrorText)}}var zb=function(){function e(e,t,n,i,r,a,o,s){this.titleService=e,this.formBuilder=t,this.ThemeService=n,this.translate=i,this.groupService=r,this.dialog=a,this.router=o,this.PermissionsService=s,this.isMobileEmbedded=!1,this.createGroupStep=0,this.hasStarTrainerAccess=!1,this.createGroupForm=this.formBuilder.group({groupName:["",[de.y.required]],groupPassword:["",[de.y.required]],confirmpass:["",[de.y.required]],groupInvitationCode:["",[de.y.required]],groupUri:[""],groupDescription:["",[de.y.required]],groupImage:[""],HIPAA:[!1],groupPublic:[!1],groupTrainer:[!1]},{validator:B.p}),i.addLangs(["en","es","fr","it","de"]),i.setDefaultLang("en")}return e.prototype.receiveFiles=function(e){this.files=e},e.prototype.createTeam=function(){var e=this;this.displayErrorText=null,this.createGroupForm.value.groupTrainer="trainer"===this.groupType,this.groupService.createGroup(this.createGroupForm.value).subscribe(function(t){if(t.response.error)e.displayErrorText=e.translate.instant("ERROR."+t.response.error.code);else{var n=t.response.id,i=new Fo.a(t.response);if(e.files){var r=new FormData;r.append("file",e.files[0]),r.append("path",String(n)),e.groupService.uploadPhoto(r).subscribe(function(t){e.dialog.open(Ao.a,{data:i,maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(t){!0===t&&e.router.navigate(["/groups",n])})})}e.dialog.open(Ao.a,{data:i,maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(t){e.router.navigate(["/groups",n])})}})},e.prototype.createType=function(e){"trainer"===e&&this.hasStarTrainerAccess||"trainer"!==e||this.hasStarTrainerAccess?(this.createGroupStep=1,this.groupType=e):this.dialog.open(Nb,{maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(e){})},e.prototype.ngOnInit=function(){this.hasStarTrainerAccess=this.PermissionsService.hasStarTrainerAccess(),this.credits=this.PermissionsService.groupCreationCredits},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](de.d),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](Le.a),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](ae.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-group-create"]],decls:90,vars:37,consts:[["id","user-profile",2,"padding","0px !Important"],["id","formCreateGroup","name","formCreateGroup"],[1,"row","margin-bottom-40","margin-right-20","margin-left-20"],[1,"panel","panel-default","panel-dark",2,"border","none","background","transparent"],["class","panel-heading",4,"ngIf"],[1,"panel-body",2,"max-width","960px","margin","auto"],[1,"createGroupForm"],[1,"user-profile-table","create-group-table",3,"formGroup","ngSubmit"],[2,"color","red"],[1,"group-name",2,"width","75%"],["formControlName","groupName","type","text",1,"form-control2",2,"width","225px","float","left","border","0px !important","box-shadow","none"],[2,"width","75%"],["formControlName","groupPassword","type","password",1,"form-control",2,"border","0px !important","box-shadow","none"],["formControlName","confirmpass","type","password",1,"form-control",2,"border","0px !important","box-shadow","none"],["colspan","2",2,"text-align","right","color","#B2B2B2","font-size","14px"],["formControlName","groupInvitationCode","type","text",1,"form-control",2,"border","0px !important","box-shadow","none"],["formControlName","groupUri","type","text",1,"form-control",2,"border","0px !important","box-shadow","none"],["formControlName","groupDescription","required","",1,"form-control",2,"border","0px !important","box-shadow","none"],["id","groupImageDisplay","src","/static/img/fitdigits-icon.png",2,"max-width","150px","float","left"],["id","form1"],["id","groupImage","type","file",3,"change"],["colspan","2"],[2,"font-size","12px"],[1,"create-group-button",2,"float","right",3,"disabled","click"],[1,"profile-error-message"],[4,"ngIf"],[2,"color","#B2B2B2","font-size","14px"],[1,"panel-heading"],[1,"title"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"form",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"div",3),i["\u0275\u0275template"](4,Fb,5,3,"div",4),i["\u0275\u0275elementStart"](5,"div",5),i["\u0275\u0275elementStart"](6,"div",6),i["\u0275\u0275elementStart"](7,"table",7),i["\u0275\u0275listener"]("ngSubmit",function(){return t.createTeam()}),i["\u0275\u0275elementStart"](8,"tbody"),i["\u0275\u0275elementStart"](9,"tr"),i["\u0275\u0275elementStart"](10,"td"),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementStart"](13,"span",8),i["\u0275\u0275text"](14,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"td",9),i["\u0275\u0275element"](16,"input",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"tr"),i["\u0275\u0275elementStart"](18,"td"),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"translate"),i["\u0275\u0275elementStart"](21,"span",8),i["\u0275\u0275text"](22,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"td",11),i["\u0275\u0275element"](24,"input",12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"tr"),i["\u0275\u0275elementStart"](26,"td"),i["\u0275\u0275text"](27),i["\u0275\u0275pipe"](28,"translate"),i["\u0275\u0275elementStart"](29,"span",8),i["\u0275\u0275text"](30,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"td"),i["\u0275\u0275element"](32,"input",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"tr"),i["\u0275\u0275elementStart"](34,"td",14),i["\u0275\u0275text"](35),i["\u0275\u0275pipe"](36,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"tr"),i["\u0275\u0275elementStart"](38,"td"),i["\u0275\u0275text"](39),i["\u0275\u0275pipe"](40,"translate"),i["\u0275\u0275elementStart"](41,"span",8),i["\u0275\u0275text"](42,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"td"),i["\u0275\u0275element"](44,"input",15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"tr"),i["\u0275\u0275elementStart"](46,"td"),i["\u0275\u0275text"](47),i["\u0275\u0275pipe"](48,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"td"),i["\u0275\u0275element"](50,"input",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](51,"tr"),i["\u0275\u0275elementStart"](52,"td"),i["\u0275\u0275text"](53),i["\u0275\u0275pipe"](54,"translate"),i["\u0275\u0275elementStart"](55,"span",8),i["\u0275\u0275text"](56,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](57,"td"),i["\u0275\u0275element"](58,"textarea",17),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](59,"tr"),i["\u0275\u0275elementStart"](60,"td"),i["\u0275\u0275element"](61,"img",18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](62,"td"),i["\u0275\u0275elementStart"](63,"form",19),i["\u0275\u0275text"](64),i["\u0275\u0275pipe"](65,"translate"),i["\u0275\u0275elementStart"](66,"input",20),i["\u0275\u0275listener"]("change",function(e){return t.receiveFiles(e.target.files)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](67,"tr"),i["\u0275\u0275elementStart"](68,"td",21),i["\u0275\u0275elementStart"](69,"span",8),i["\u0275\u0275text"](70,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](71,"span",22),i["\u0275\u0275text"](72),i["\u0275\u0275pipe"](73,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](74,"tr"),i["\u0275\u0275elementStart"](75,"td"),i["\u0275\u0275text"](76,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](77,"td",9),i["\u0275\u0275elementStart"](78,"button",23),i["\u0275\u0275listener"]("click",function(){return t.createTeam()}),i["\u0275\u0275text"](79),i["\u0275\u0275pipe"](80,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](81,"tr"),i["\u0275\u0275elementStart"](82,"td",21),i["\u0275\u0275elementStart"](83,"div",24),i["\u0275\u0275template"](84,Bb,3,1,"span",25),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](85,"tr"),i["\u0275\u0275elementStart"](86,"td",21),i["\u0275\u0275elementStart"](87,"span",26),i["\u0275\u0275text"](88),i["\u0275\u0275pipe"](89,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("formGroup",t.createGroupForm),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](12,15,"ROOT.team_name")),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](20,17,"ROOT.password")),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](28,19,"ROOT.confirm_password")),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](36,21,"ROOT.group_name_password")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](40,23,"ROOT.invite_code")),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](48,25,"ROOT.website")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](54,27,"ROOT.description")),i["\u0275\u0275advance"](11),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](65,29,"ROOT.upload_a_group_icon")," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](73,31,"ROOT.Required")),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("disabled",t.createGroupForm.invalid||0==t.credits),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](80,33,"ROOT.create_group")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",t.displayErrorText),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](89,35,"ROOT.hipaa_note"),""))},directives:[de.z,de.p,de.q,y.NgIf,de.i,de.c,de.o,de.g,de.w],pipes:[M.c],styles:[".create-group-button[_ngcontent-%COMP%]{background-color:#4597cb;color:#fff!important;border-radius:18px;font-size:14px;padding:5px 15px}.create-group-button[disabled][_ngcontent-%COMP%]{opacity:.2;color:#fff!important}.form-control[_ngcontent-%COMP%], .form-control2[_ngcontent-%COMP%]{font-size:16px!important}"]}),e}(),Nb=function(){function e(e,t,n,i){this.socialService=e,this.dialogRef=t,this.data=n,this.ThemeService=i,this.isDarkTheme=!1,this.sending=!1,this.emails=""}return e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.ngOnInit=function(){this.isDarkTheme=this.ThemeService.isDarkTheme},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](g.a),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["group-trainer-access"]],decls:26,vars:0,consts:[[2,"float","right","text-align","right","width","100%"],["mat-button","",2,"background-color","#b2b2b2","float","right",3,"click"],["src","/static/img/icons/deleteXIconWhite.png"],["mat-dialog-content",""],[2,"width","100%","text-align","center","margin","20px","padding","20px"],["src","/static/img/trainer-group-icon.png",1,"teamCreateIcon"],[2,"color","#FCB424"],[2,"margin","10px","max-width","500px","margin","auto"],["mat-dialog-actions","","layout","row"],["href","mailto:support@fitdigits.com?subject=Trainer Group Beta&body=I\\'d like to sign up for the Trainer beta.","target","_blank"],["mat-raised-button",""],["mat-raised-button","",3,"click"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-toolbar"),i["\u0275\u0275elementStart"](1,"mat-toolbar-row"),i["\u0275\u0275elementStart"](2,"h2"),i["\u0275\u0275text"](3,"Trainer Group"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",0),i["\u0275\u0275elementStart"](5,"button",1),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275element"](6,"img",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",3),i["\u0275\u0275elementStart"](8,"div",4),i["\u0275\u0275element"](9,"img",5),i["\u0275\u0275element"](10,"br"),i["\u0275\u0275element"](11,"br"),i["\u0275\u0275elementStart"](12,"h4"),i["\u0275\u0275text"](13,"Trainer Group "),i["\u0275\u0275elementStart"](14,"sup",6),i["\u0275\u0275text"](15," beta"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"div",7),i["\u0275\u0275text"](17," Trainer groups are currently in beta. If you are interested in learning more, or joining the beta testing, groups please contact us at support@fitdigits.com "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"div",8),i["\u0275\u0275elementStart"](19,"a",9),i["\u0275\u0275elementStart"](20,"button",10),i["\u0275\u0275elementStart"](21,"span"),i["\u0275\u0275text"](22,"Contact"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"button",11),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275elementStart"](24,"span"),i["\u0275\u0275text"](25,"Cancel"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())},directives:[C.a,C.c,k.b,g.d,g.c],encapsulation:2}),e}();function Hb(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p",11),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Email"),"In order to unlink Facebook, you'll need to set a password. "))}function Vb(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",3),i["\u0275\u0275elementStart"](1,"mat-form-field",4),i["\u0275\u0275elementStart"](2,"mat-label"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"input",12),i["\u0275\u0275elementStart"](6,"mat-icon",6),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.oldPassHide=!e.oldPassHide}),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,3,"ROOT.Old Password")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("type",r.oldPassHide?"password":"text"),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.oldPassHide?"visibility_off":"visibility")}}function Yb(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",3),i["\u0275\u0275elementStart"](1,"mat-form-field",4),i["\u0275\u0275elementStart"](2,"mat-label"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"input",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,1,"ROOT.Email")))}function Wb(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Passwords do not match")," "))}function Gb(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.error," ")}}function Ub(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",14),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().goBack()}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Cancel")))}var qb=function(){function e(e,t,n,i,r,a){this.formBuilder=e,this.router=t,this.route=n,this.ThemeService=i,this.accountService=r,this.translate=a,this.forceEmail=!0,this.passwordForm=this.formBuilder.group({email:[{value:"",disabled:!this.forceEmail}],oldPassword:[""],password:["",de.y.required],confirmPassword:["",de.y.required]},{validator:B.p}),this.confirmPassHide=!0,this.oldPassHide=!0,this.newPassHide=!0,this.errorMsg="",this.errorCode="",this.action=""}return e.prototype.changePassword=function(){var e=this;this.accountService.changePassword({account:{oldPassword:this.passwordForm.value.oldPassword,newPassword:this.passwordForm.value.password,newPasswordConfirm:this.passwordForm.value.confirmPassword,email:this.passwordForm.value.email,action:this.action}}).subscribe(function(t){"facebookUnlink"==e.action&&(e.accountService.account.facebookLogin=!1),e.router.navigate(["/profile"],{queryParams:{reset:"true"}}).then(function(e){return console.log(e)})},function(t){console.log(t),e.error=t.error.response.error.message})},e.prototype.goBack=function(){this.router.navigate(["/profile"])},e.prototype.ngOnInit=function(){var e=this;this.route.queryParams.subscribe(function(t){e.action=t.action,"facebookUnlink"==e.action&&e.passwordForm.get("email").setValue(e.accountService.account.email),""==e.accountService.account.email&&(e.forceEmail=!0)})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](de.d),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](M.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-change-password"]],decls:28,vars:21,consts:[["class","loginInner",4,"ngIf"],[1,"loginInner",3,"formGroup"],["class","form-group",4,"ngIf"],[1,"form-group"],[1,"passwordField"],["matInput","","formControlName","password",3,"type"],["matSuffix","",1,"no-text-select",2,"cursor","pointer",3,"click"],["matInput","","formControlName","confirmPassword",3,"type"],[4,"ngIf"],["mat-raised-button","",1,"bullnose-button",3,"color","click"],["mat-raised-button","","class","bullnose-button",3,"click",4,"ngIf"],[1,"loginInner"],["matInput","","formControlName","oldPassword",3,"type"],["matInput","","type","text","formControlName","email"],["mat-raised-button","",1,"bullnose-button",3,"click"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,Hb,3,3,"p",0),i["\u0275\u0275elementStart"](1,"form",1),i["\u0275\u0275elementStart"](2,"fieldset"),i["\u0275\u0275template"](3,Vb,8,5,"div",2),i["\u0275\u0275template"](4,Yb,6,3,"div",2),i["\u0275\u0275elementStart"](5,"div",3),i["\u0275\u0275elementStart"](6,"mat-form-field",4),i["\u0275\u0275elementStart"](7,"mat-label"),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](10,"input",5),i["\u0275\u0275elementStart"](11,"mat-icon",6),i["\u0275\u0275listener"]("click",function(){return t.newPassHide=!t.newPassHide}),i["\u0275\u0275text"](12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",3),i["\u0275\u0275elementStart"](14,"mat-form-field",4),i["\u0275\u0275elementStart"](15,"mat-label"),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](18,"input",7),i["\u0275\u0275elementStart"](19,"mat-icon",6),i["\u0275\u0275listener"]("click",function(){return t.confirmPassHide=!t.confirmPassHide}),i["\u0275\u0275text"](20),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](21,Wb,3,3,"mat-error",8),i["\u0275\u0275template"](22,Gb,2,1,"mat-error",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](23,"br"),i["\u0275\u0275elementStart"](24,"button",9),i["\u0275\u0275listener"]("click",function(){return t.changePassword()}),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](27,Ub,3,3,"button",10),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngIf","facebookUnlink"==t.action),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("formGroup",t.passwordForm),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","facebookUnlink"!=t.action),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","facebookUnlink"==t.action),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,15,"ROOT.New Password")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("type",t.newPassHide?"password":"text"),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](t.newPassHide?"visibility_off":"visibility"),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](17,17,"ROOT.Confirm New Password")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("type",t.confirmPassHide?"password":"text"),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](t.confirmPassHide?"visibility_off":"visibility"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.passwordForm.hasError("notSame")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.error),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](26,19,"ROOT.Save")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","facebookUnlink"==t.action&&!t.ThemeService.isMobileEmbedded))},directives:[y.NgIf,de.z,de.p,de.i,fe.c,fe.g,be.b,de.c,de.o,de.g,O.a,fe.h,k.b,fe.b],pipes:[M.c],styles:[".passwordField[_ngcontent-%COMP%]{width:100%}.bullnose-button[_ngcontent-%COMP%]{border-radius:18px;min-width:150px;text-align:center}.loginInner[_ngcontent-%COMP%]{background-color:transparent;width:70vw;margin:80px auto;padding:20px}@media (max-width:600px){.loginInner[_ngcontent-%COMP%]{background-color:transparent;width:90vw;margin:80px auto;padding:10px}}"]}),e}(),Zb=n("XqKs"),$b=function(e,t){return{transform:e,"transform-origin":t}};function Xb(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"img",6),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().index;return i["\u0275\u0275nextContext"]().open(e)}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275propertyInterpolate"]("src",r.src,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction2"](2,$b,r.transform,r.transform_origin))}}function Kb(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",4),i["\u0275\u0275elementStart"](2,"ngui-in-view"),i["\u0275\u0275template"](3,Xb,1,5,"img",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function Jb(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1," No photos "),i["\u0275\u0275elementEnd"]())}var Qb=function(){function e(e,t,n,i,r,a){this.titleService=e,this.workoutService=t,this._lightbox=n,this.element=i,this.dateService=r,this.WorkoutTypes=a,this.photos=[],this.photosSrc=[],this.showLoadingOverlay=!0,this.currentPage=0,this.rowLimit=10,this.numPages=0,this.rowLimitOptions=[{id:10,label:"10"},{id:20,label:"20"},{id:50,label:"50"},{id:100,label:"100"},{id:200,label:"200"}]}return e.prototype.queryPhotos=function(){var e=this;this.photos=this.photosSrc.filter(function(t){return t.date.unix()>=e.startDate.unix()&&t.date.unix()<=e.endDate.unix()})},e.prototype.ngOnInit=function(){var e=this;this.showLoadingOverlay=!0,this.dateSubscription=this.dateService.dateRange.subscribe(function(t){e.startDate=_(t.startDate),e.endDate=_(t.endDate),e.queryPhotos()}),this.workoutService.getAllPhotos().subscribe(function(t){for(var n=0;n<t.response.files.length;n++){var i=t.response.files[n].details||{},r=_(t.response.files[n].workout_date),a=i.title,o=t.response.files[n].workout_id;if(1024===i.ecomodule||i.title||isNaN(i.ecomodule)){if(i.title)a=i.title;else if(i.otherWorkoutTypeName)try{a=e.WorkoutTypes.getWorkoutTypeByName(i.otherWorkoutTypeName).title}catch(c){console.log("broked")}}else a=e.WorkoutTypes.getWorkoutType(i.ecomodule).title;var s=t.response.files[n].filename;t.response.files[n].filename.startsWith("/")||(s="/"+t.response.files[n].filename);var l={src:"https://storage.googleapis.com"+s,caption:"<a href='/activity/"+o+"/detail'>"+a+" "+r.format("MM/DD/YYYY")+"</a>",exifCheck:!1,transform:"unset",transform_origin:"unset",date:r};e.photosSrc.push(l)}e.photos=e.photosSrc,e.queryPhotos(),e.showLoadingOverlay=!1})},e.prototype.open=function(e){this._lightbox.open(this.photos,e)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](Q.Lightbox),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](xg.a),i["\u0275\u0275directiveInject"](ne.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-photos"]],decls:5,vars:3,consts:[[1,"loading-overlay",3,"hidden"],[2,"display","flex","flex-wrap","wrap"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"img-container",2,"width","300px","height","200px"],["class","img-to-fit","style","width: 300px;height: 200px;",3,"src","ngStyle","click",4,"ngIf"],[1,"img-to-fit",2,"width","300px","height","200px",3,"src","ngStyle","click"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275element"](1,"app-datepicker"),i["\u0275\u0275elementStart"](2,"div",1),i["\u0275\u0275template"](3,Kb,4,0,"div",2),i["\u0275\u0275template"](4,Jb,2,0,"div",3),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",t.photos),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==t.photos.length&&0==t.showLoadingOverlay))},directives:[_g.a,y.NgForOf,y.NgIf,Zb.a,y.NgStyle],styles:[""]}),e}(),ex=function(){function e(e){this.accountService=e,this.imageURL=""}return e.prototype.rotate=function(){var e=this,t=this.imageURL.split(".com")[1];this.accountService.rotateImage(t).subscribe(function(t){e.imageURL=e.imageURL+"?"})},e.prototype.newFile=function(e){var t=this;console.log("New file"),this.toUpload=e.target.files[0];var n=new FormData;this.toUpload&&(n.append("file",this.toUpload),this.accountService.uploadProfilePhoto(n).subscribe(function(e){t.imageURL=t.imageURL.split("profile_image_")[0]+e.response.image_filename,t.accountService.account.profilePhoto=t.imageURL}))},e.prototype.ngOnInit=function(){this.imageURL=this.accountService.account.profilePhoto},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-profile-photo"]],decls:18,vars:1,consts:[[1,"margin-bottom-40"],[1,"file-upload",2,"text-align","center","font-size","16px","font-weight","normal"],[1,"profile-photo-wrap"],[2,"margin","0 auto","width","50px"],["id","rotateLoading",1,"loadingSquares",2,"padding","5px"],[2,"clear","both"],["id","profile_image",1,"margin-top-15",3,"src"],[1,"success",2,"width","300px","margin","0 auto","padding","5px","height","30px"],["src","/static/img/green-check-lgl.png","hidden","",1,"success",2,"width","28px","float","left"],["hidden","",1,"filename","success",2,"margin","0","line-height","2","white-space","nowrap","overflow","hidden","text-overflow","ellipsis","width","60%","float","left"],["src","/static/img/rotate-clockwise@3x.png","id","rotate-photo",2,"width","28px",3,"click"],["for","profile-photo","id","profile-photo-label",2,"width","240px"],[1,"addPhotoContainer"],["clear","all"],[1,"file-status",2,"float","left"],["src","/static/img/greenplusbutton2.png",1,"addPhotoImg"],["type","file","id","profile-photo",2,"display","none",3,"change"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"div",3),i["\u0275\u0275element"](4,"div",4),i["\u0275\u0275element"](5,"div",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"img",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",7),i["\u0275\u0275element"](8,"img",8),i["\u0275\u0275element"](9,"p",9),i["\u0275\u0275elementStart"](10,"img",10),i["\u0275\u0275listener"]("click",function(){return t.rotate()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"label",11),i["\u0275\u0275elementStart"](12,"div",12),i["\u0275\u0275element"](13,"br",13),i["\u0275\u0275elementStart"](14,"p",14),i["\u0275\u0275text"](15,"Add photo"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](16,"img",15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"input",16),i["\u0275\u0275listener"]("change",function(e){return t.newFile(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](6),i["\u0275\u0275propertyInterpolate"]("src",t.imageURL,i["\u0275\u0275sanitizeUrl"]))},styles:[""]}),e}(),tx=function(){function e(e,t,n,i){this.titleService=e,this.meta=t,this.ThemeService=n,this.AccountService=i,this.showLoadingOverlay=!1,this.isLoggedIn=!1,this.isMobileEmbedded=this.ThemeService.isMobileEmbedded}return e.prototype.ngOnInit=function(){this.isLoggedIn=this.AccountService.isLoggedIn,this.isLoggedIn?console.log("Logged In"):console.log("Logged Out")},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](a.Meta),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-cardio-fitness"]],decls:69,vars:0,consts:[["id","fd-partners"],[1,"sectionStructure"],[1,"mobile-wrap"],["alt","Andy Presents","height","97","src","/static/img/andy-presents.png","width","102",2,"float","right"],["alt","Sweat","height","152","src","/static/img/sweaty_andy.png","width","194",2,"float","left"],[1,"references"],["alt","Andy with heart","height","137","src","/static/img/andy-heart.png","width","103",2,"float","left"],["alt","","data-muse-src","images/andy-heart.png?crc=3985643276","id","u52641_img","src","images/andy-heart.png?crc=3985643276",1,"block"],["alt","Sweat","height","163","src","/static/img/andy-jumping-sm.png","width","104",2,"float","right"],[2,"text-align","center","padding","40px 0px 0px 0px"],[2,"font-weight","bold"],["routerLink","/maximum-heart-rate.html"],["routerLink","/resting-heart-rates.html"],["routerLink","/fitness-assessments.html"],["routerLink","/personalized-heart-rate-zones.html"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"h1"),i["\u0275\u0275text"](4,"Heart Rate & Exercise - Getting the Most of Your Experience"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"h2"),i["\u0275\u0275text"](6,"Cardio fitness is important to everyone."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"img",3),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9,"Whether you\u2019re an elite athlete, a fitness enthusiast, or have simply resolved to improve your health, your heart is the heart of a results-oriented health and fitness program. By knowing your heart and how it responds to exercise, you can target your workouts to fulfill specific goals, from breaking through performance barriers to concerns with your heart health. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"h3"),i["\u0275\u0275text"](11," The most effective cardio workout is customized exercise based on you and your goals. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"p"),i["\u0275\u0275text"](13," The best cardio program for you is one that is designed specifically for you; based on your health, physical build, fitness level, limitations, strengths, ongoing progress and fitness goals. But most programs, whether supervised or self-directed, are not built from baseline and ongoing data. We just start walking, running, or riding with no real plan. So we cheat ourselves of achieving the best results possible. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"h3"),i["\u0275\u0275text"](15," Customize your exercise program and optimize your cardio fitness with Fitdigits. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"h3"),i["\u0275\u0275text"](17,"1. Assess"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19,"First, assess your Fitdigits Cardio Fitness app. Take a few minutes to launch the app and familiarize yourself with it before you go for a workout. There are four key features that will make your first Fitdigits experience more fun and productive. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"p"),i["\u0275\u0275text"](21,"Second, assess your current fitness level. In-app features will help you identify your max heart rate during exercise and your Personal Training Zones, so your workout is not too strenuous or too easy, but right in your wheelhouse. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"p"),i["\u0275\u0275text"](23,"Third, assess your goals. Are they attainable and appropriate to your current fitness levels? If you haven\u2019t run in years, don\u2019t shoot for a marathon. Challenge yourself, but be realistic and enjoy your journey, however performance-oriented or practical your goals may be. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"h3"),i["\u0275\u0275text"](25,"2. Enable"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"p"),i["\u0275\u0275text"](27," Shatter your personal best time or distance. Climb a mountain. Lose ten pounds. Look and feel better. Whatever you goals, Fitdigits enables you to attack them by tracking and reporting on your body\u2019s response to exercise and the progress you\u2019re making. You define your goals and Fitdigits provides all the metrics you need \u2013 effort level, heart rate, calorie burn, carb vs fat burn, pace, distance, speed, cadence and turnover \u2013 to achieve them. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"h3"),i["\u0275\u0275text"](29,"3. Sweat"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"p"),i["\u0275\u0275text"](31," Sweat equity is sweet equity. When you put in the work, you get awesome results. We\u2019ve worked hard to give you the assessment and tracking tools you need. Now it\u2019s up to you to put in the real work. And when you do, you will love the results. From small victories to giant achievements, you\u2019ll enjoy the "),i["\u0275\u0275element"](32,"img",4),i["\u0275\u0275text"](33," sweet sensation of success with every goal reached. And one goal accomplished will lead to another. Your body in motion will tend to stay in motion as an integral part of your new, active lifestyle. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"p"),i["\u0275\u0275text"](35," We can give you the tools and some motivation, but without your efforts\u2026 well, lets take the positive look instead; with your efforts, the sky is the limit, there\u2019s no goal too big or too small. You can rock the planet and show the world you love it! Learn to love the sweat \u2013 it\u2019s your brain telling your body you love it and care enough to provide what\u2019s good for it. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"div",5),i["\u0275\u0275element"](37,"img",6),i["\u0275\u0275elementStart"](38,"h3"),i["\u0275\u0275text"](39," Listening to Your Heart "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"p"),i["\u0275\u0275text"](41," If you listen to your heart on a regular basis, you can get all kinds of information about your health and fitness. Fitdigits allows you to listen to your heart and get realtime feedback on the intensity level of your workout, the stress you\u2019re putting on your heart, how your heart is responding, and how your fitness level is advancing. No other system lets you know so much, so quickly, and so easily. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](42,"img",7),i["\u0275\u0275elementStart"](43,"h3"),i["\u0275\u0275text"](44,"4. Succeed"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](45,"img",8),i["\u0275\u0275elementStart"](46,"p"),i["\u0275\u0275text"](47," Not all exercise programs are successful. Mainly because we can\u2019t see incremental results. We\u2019re conditioned to want it all, NOW. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"p"),i["\u0275\u0275text"](49," Fitdigits provides the incremental feedback that proves your exercise is paying off. For example, expanding your Personal Training Zones is a huge sign of success and a great motivator. Without Fitdigits, that information is not available. But with Fitdigits, you get the data that demonstrates successful progress, motivates commitment and ultimately results in one success after another, until your goals are achieved. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"p"),i["\u0275\u0275text"](51,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"div",9),i["\u0275\u0275elementStart"](53,"p",10),i["\u0275\u0275text"](54,"Related topics: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](55,"h3"),i["\u0275\u0275elementStart"](56,"a",11),i["\u0275\u0275text"](57,"Maximum Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](58," \u2022 "),i["\u0275\u0275elementStart"](59,"a",12),i["\u0275\u0275text"](60,"Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](61," \u2022 "),i["\u0275\u0275elementStart"](62,"a",13),i["\u0275\u0275text"](63,"Fitness Assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](64," \u2022 "),i["\u0275\u0275elementStart"](65,"a",14),i["\u0275\u0275text"](66,"Personalized Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](67,"p"),i["\u0275\u0275text"](68,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())},directives:[S.f],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}","#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:960px;margin:auto;text-align:left}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;border-top:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;font-size:26px;background-color:#e2e3e4}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;padding:10px 40px;max-width:1100px}.mobile-wrap[_ngcontent-%COMP%]{width:100%;float:left}.references[_ngcontent-%COMP%]{border:1px solid;border-radius:4px;background-color:rgba(234,235,236,.1);padding:20px;margin:40px 0}.sidebar[_ngcontent-%COMP%]{max-width:300px;float:right;margin:10px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{color:#4597cb}.downloadFooter[_ngcontent-%COMP%]{margin-bottom:0}@media(max-width:480px){.partner-wrap[_ngcontent-%COMP%]{padding:10px 8px}.sidebar[_ngcontent-%COMP%]{max-width:100%;margin:0}}"]}),e}(),nx=function(){function e(e,t,n,i){this.titleService=e,this.meta=t,this.AccountService=n,this.ThemeService=i,this.showLoadingOverlay=!1,this.preferred="",this.showAndroid=!1,this.meta.updateTag({name:"description",content:"A guide to devices that are compatible with the Fitdigits apps. Heart Rate Monitors, Activity Trackers, more for iPhone and Android."}),this.meta.addTags([{name:"otherMetaTag",content:"other Meta data"}]),window.prerenderReady=!0}return e.prototype.ngOnInit=function(){this.AccountService.isLoggedIn?console.log("Logged In"):console.log("Logged Out")},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](a.Meta),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-compatibility"]],inputs:{errorDetails:"errorDetails"},decls:264,vars:14,consts:[["content","A guide to devices that are compatible with the Fitdigits apps. Heart Rate Monitors, Activity Trackers, more for iPhone and Android.","name","description"],[1,"loading-overlay",3,"hidden"],["id","fd-partners",3,"hidden"],[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],[2,"width","100%","text-align","center"],["align","right","alt","Bluetooth Low Energy Compatible","src","/static/img/bluetooth_smart.png",1,"compBLEicon"],[1,"compTopText"],["routerLink","/signup"],[2,"text-align","center","margin-top","30px"],["routerLink","/fitness-sensors"],[1,"compatibilityOsHeader","headerActive",2,"float","left",3,"hidden","click"],[1,"compatibilityOsHeader",2,"float","left","color","#b2b2b2","background-color","none",3,"hidden","click"],[1,"compatibilityOsHeader","headerActive",2,"float","right",3,"hidden","click"],[1,"compatibilityOsHeader",2,"float","right","color","#b2b2b2","background-color","none",3,"hidden","click"],[1,"osBorderiOS"],[1,"appleWatchHeader",3,"hidden"],["routerLink","/fitness-sensors/apple-watch"],["src","/static/img/apple_watches.png",2,"height","80px","padding","7px"],["href","https://play.google.com/store/apps/details?id=com.fitdigits.icardio.app&hl=en"],["src","/static/img/btn/androidMarketLargeBtn.png",2,"height","50px","margin","15px 7px"],[1,"sensorSectionHeader"],[1,"compSensorPhoto"],["src","/static/img/heart_rate_monitors_sm.png",1,"compSensorPhotoImg"],["src","/static/img/icons/heartRateIcon.png",1,"compatibilityIcon"],[1,"sensorHeaderSubText"],["routerLink","/fitness-sensors/heart-rate-monitors"],[1,"sensorColumnLeft"],[1,"sensorUlList"],[1,"sensorColumnRight"],[2,"font-weight","bold"],[3,"hidden"],[1,"sensorSectionHeader",2,"border-top","1px solid","margin-top","20px","padding-top","20px"],["src","/static/img/power_meter_sm.png",1,"compSensorPhotoImg"],["src","/static/img/icons/equipmentSensorPowerIcon.png",1,"compatibilityIcon"],["routerLink","/fitness-sensors/power-meters"],[1,"sensorSectionHeader","subSection"],["src","/static/img/cadence_sensor_sm.png",1,"compSensorPhotoImg"],["src","/static/img/icons/equipmentSensorSpeedCadenceIcon.png",1,"compatibilityIcon"],["routerLink","/fitness-sensors/cadence"],[1,"sensorSectionHeader","subSection",3,"hidden"],["src","/static/img/footpod_sensor_sm.png",1,"compSensorPhotoImg"],["src","/static/img/icons/squareStepsIcon.png",1,"compatibilityIcon"],["routerLink","/fitness-sensors/footpods"],[1,"sensorUlList",3,"hidden"],["clear","all"],["routerLink","/partners"],[1,"partnerIconsContainer"],["src","/static/img/platform_partners.png",1,"partnerIcons"],["src","/static/img/nutrition_partners.png",1,"partnerIcons"],["src","/static/img/workout_share_partners.png",1,"partnerIcons"],[1,"compatibilityNote"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"meta",0),i["\u0275\u0275element"](1,"div",1),i["\u0275\u0275elementStart"](2,"div"),i["\u0275\u0275elementStart"](3,"div",2),i["\u0275\u0275elementStart"](4,"div",3),i["\u0275\u0275elementStart"](5,"strong"),i["\u0275\u0275elementStart"](6,"h4",4),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",5),i["\u0275\u0275elementStart"](9,"div",6),i["\u0275\u0275element"](10,"img",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",8),i["\u0275\u0275elementStart"](12,"span"),i["\u0275\u0275elementStart"](13,"b"),i["\u0275\u0275text"](14,"Give your Sensor a try with our Free Trial"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"br"),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275text"](17),i["\u0275\u0275elementStart"](18,"a",9),i["\u0275\u0275text"](19,"Download"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](20," and test compatibility of any sensor for free when you sign up!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p",10),i["\u0275\u0275elementStart"](22,"a",11),i["\u0275\u0275text"](23,"More on Fitness Sensors \u2022 Troubleshooting"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"h2",12),i["\u0275\u0275listener"]("click",function(){return t.showAndroid=!1}),i["\u0275\u0275text"](25,"iOS"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"h2",13),i["\u0275\u0275listener"]("click",function(){return t.showAndroid=!1}),i["\u0275\u0275text"](27,"iOS"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"h2",14),i["\u0275\u0275listener"]("click",function(){return t.showAndroid=!0}),i["\u0275\u0275text"](29,"Android"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"h2",15),i["\u0275\u0275listener"]("click",function(){return t.showAndroid=!0}),i["\u0275\u0275text"](31,"Android"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"div",16),i["\u0275\u0275elementStart"](33,"div",17),i["\u0275\u0275elementStart"](34,"p"),i["\u0275\u0275elementStart"](35,"a",18),i["\u0275\u0275text"](36,"Apple Watch "),i["\u0275\u0275element"](37,"img",19),i["\u0275\u0275text"](38," a Perfect Match"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"div",17),i["\u0275\u0275elementStart"](40,"p"),i["\u0275\u0275elementStart"](41,"a",20),i["\u0275\u0275text"](42,"Android "),i["\u0275\u0275element"](43,"img",21),i["\u0275\u0275text"](44," Love"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"div",22),i["\u0275\u0275elementStart"](46,"div",23),i["\u0275\u0275element"](47,"img",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"h3"),i["\u0275\u0275element"](49,"img",25),i["\u0275\u0275text"](50,"Heart Rate Monitors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](51,"div",26),i["\u0275\u0275elementStart"](52,"p"),i["\u0275\u0275text"](53,"We are compaitble with Bluetooth Smart devices by popular brand names such as Polar, Scosche and more. "),i["\u0275\u0275elementStart"](54,"a",27),i["\u0275\u0275text"](55,"More on Heart Rate Monitors & Troubleshooting"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"div",28),i["\u0275\u0275elementStart"](57,"ul",29),i["\u0275\u0275elementStart"](58,"li"),i["\u0275\u0275elementStart"](59,"a",18),i["\u0275\u0275text"](60,"Apple Watch"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](61,"li"),i["\u0275\u0275text"](62," 4iiii V100 Viiiiva "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"li"),i["\u0275\u0275text"](64," Beets BLU, BEAT 10 & BEAT 20 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](65,"li"),i["\u0275\u0275text"](66," BlueLeza HRM Blue "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](67,"li"),i["\u0275\u0275text"](68," CooSpo Fitness Tracker "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](69,"li"),i["\u0275\u0275text"](70," CooSpo Armband "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](71,"li"),i["\u0275\u0275text"](72," Garmin HRM-Dual "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](73,"li"),i["\u0275\u0275text"](74," IGPSPORT "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](75,"li"),i["\u0275\u0275text"](76," Jabra Sport Pulse, Elite Sport Wireless Earbuds "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](77,"li"),i["\u0275\u0275text"](78," Mio Slice "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](79,"li"),i["\u0275\u0275text"](80," Polar H6 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](81,"li"),i["\u0275\u0275text"](82," Polar H7 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](83,"li"),i["\u0275\u0275text"](84," Polar H9 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](85,"li"),i["\u0275\u0275text"](86," Polar H10 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](87,"li"),i["\u0275\u0275text"](88," Polar M430 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](89,"li"),i["\u0275\u0275text"](90," Polar OH1 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](91,"div",30),i["\u0275\u0275elementStart"](92,"ul",29),i["\u0275\u0275elementStart"](93,"li"),i["\u0275\u0275text"](94," Scosche Rhythm + "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](95,"li"),i["\u0275\u0275text"](96," Scosche Rhythm + 24h "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](97,"li"),i["\u0275\u0275text"](98," Spinning Connect"),i["\u0275\u0275elementStart"](99,"sup"),i["\u0275\u0275text"](100,"tm"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](101,"li"),i["\u0275\u0275text"](102," Suunto Smart Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](103,"li"),i["\u0275\u0275text"](104," Suunto Sports Tracker & HRM2 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](105,"li"),i["\u0275\u0275text"](106," TomTom "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](107,"li"),i["\u0275\u0275text"](108," Wahoo Blue "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](109,"li"),i["\u0275\u0275text"](110," Wahoo Tickr FIT "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](111,"li"),i["\u0275\u0275text"](112," Wahoo Tickr & Tickr X "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](113,"br"),i["\u0275\u0275elementStart"](114,"span",31),i["\u0275\u0275text"](115,"Not Compatible*:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](116,"br"),i["\u0275\u0275element"](117,"br"),i["\u0275\u0275elementStart"](118,"ul",29),i["\u0275\u0275elementStart"](119,"li"),i["\u0275\u0275text"](120," Fitbit Heart Rate "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](121,"li"),i["\u0275\u0275text"](122," Withings Heart Rate "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](123,"li"),i["\u0275\u0275text"](124," Xiaomi HR Activity Monitors "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](125,"br"),i["\u0275\u0275elementStart"](126,"div",32),i["\u0275\u0275elementStart"](127,"div",26),i["\u0275\u0275text"](128," Note: Some traditional bluetooth (Classic / 3.0) HRMs like Polar and Zephyr are compatible as well with most supported Android devices, including:"),i["\u0275\u0275element"](129,"br"),i["\u0275\u0275element"](130,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](131,"ul"),i["\u0275\u0275elementStart"](132,"li"),i["\u0275\u0275text"](133," Polar Wearlink+ Bluetooth Heart Rate Monitor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](134,"li"),i["\u0275\u0275text"](135," Zephyr HxM Bluetooth Heart Rate Monitor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](136,"div",33),i["\u0275\u0275elementStart"](137,"div",23),i["\u0275\u0275element"](138,"img",34),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](139,"h3"),i["\u0275\u0275element"](140,"img",35),i["\u0275\u0275text"](141," Power Meters & Watts "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](142,"p"),i["\u0275\u0275elementStart"](143,"a",36),i["\u0275\u0275text"](144,"More on Power Meters & Troubleshooting"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](145,"div",28),i["\u0275\u0275elementStart"](146,"ul",29),i["\u0275\u0275elementStart"](147,"li"),i["\u0275\u0275text"](148," 4iiii Podiiiium "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](149,"li"),i["\u0275\u0275text"](150," 4iiii Fiiiit PRECISION "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](151,"li"),i["\u0275\u0275text"](152," 4iiii PRECISION "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](153,"li"),i["\u0275\u0275text"](154," Easton/RaceFace Cinch "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](155,"li"),i["\u0275\u0275text"](156," Favero's Assioma Duo Pedals "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](157,"li"),i["\u0275\u0275text"](158," Garmin Vector\u2122 3 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](159,"li"),i["\u0275\u0275text"](160," Garmin Vector\u2122 3S "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](161,"li"),i["\u0275\u0275text"](162," Gen 3 Stages Cycling "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](163,"li"),i["\u0275\u0275text"](164," Look / SRM Exakt Pedals "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](165,"li"),i["\u0275\u0275text"](166," Power2Max "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](167,"div",30),i["\u0275\u0275elementStart"](168,"ul",29),i["\u0275\u0275elementStart"](169,"li"),i["\u0275\u0275text"](170," PowerTap P1 / P2 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](171,"li"),i["\u0275\u0275text"](172," \u200bQuarq DZero "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](173,"li"),i["\u0275\u0275text"](174," Quarq PowerTap P2 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](175,"li"),i["\u0275\u0275text"](176," Rotor 1\xd713 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](177,"li"),i["\u0275\u0275text"](178," Shimano Dura-Ace FC-R9100-P Cranks "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](179,"li"),i["\u0275\u0275text"](180," Speciaized Power Cranks "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](181,"li"),i["\u0275\u0275text"](182," Speciaized S-Works Power "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](183,"li"),i["\u0275\u0275text"](184," SPINPower\xae Studio Crank "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](185,"li"),i["\u0275\u0275text"](186," SRM Cranks "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](187,"li"),i["\u0275\u0275text"](188," Team Zwatt Zpider Cranks "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](189,"li"),i["\u0275\u0275text"](190," Velocomp PowerPod v3 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](191,"br"),i["\u0275\u0275elementStart"](192,"div",37),i["\u0275\u0275elementStart"](193,"div",23),i["\u0275\u0275element"](194,"img",38),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](195,"h3"),i["\u0275\u0275element"](196,"img",39),i["\u0275\u0275text"](197," Cadence & Speed Sensors "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](198,"p"),i["\u0275\u0275elementStart"](199,"a",40),i["\u0275\u0275text"](200,"More on Cadence Sensors & Troubleshooting"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](201,"div",28),i["\u0275\u0275elementStart"](202,"ul",29),i["\u0275\u0275elementStart"](203,"li"),i["\u0275\u0275text"](204," CatEye Bluetooth Speed and Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](205,"li"),i["\u0275\u0275text"](206," Garmin Bike Speed 2 and Cadence 2 Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](207,"li"),i["\u0275\u0275text"](208," iGPSPORT Speed Sensor and Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](209,"li"),i["\u0275\u0275text"](210," Polar Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](211,"li"),i["\u0275\u0275text"](212," TAOPE Speed Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](213,"div",30),i["\u0275\u0275elementStart"](214,"ul",29),i["\u0275\u0275elementStart"](215,"li"),i["\u0275\u0275text"](216," Wahoo Blue Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](217,"li"),i["\u0275\u0275text"](218," Wahoo RPM Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](219,"li"),i["\u0275\u0275text"](220," Wahoo RPM Speed Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](221,"li"),i["\u0275\u0275text"](222," Wahoo Blue SC Speed and Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](223,"li"),i["\u0275\u0275text"](224," Scosche Rhythm Speed & Cadence "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](225,"br"),i["\u0275\u0275elementStart"](226,"div",41),i["\u0275\u0275elementStart"](227,"div",23),i["\u0275\u0275element"](228,"img",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](229,"h3"),i["\u0275\u0275element"](230,"img",43),i["\u0275\u0275text"](231," Foot Pods & Stride Sensors "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](232,"p"),i["\u0275\u0275elementStart"](233,"a",44),i["\u0275\u0275text"](234,"More on Foot Pods, Accelerometers & Troubleshooting"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](235,"ul",45),i["\u0275\u0275elementStart"](236,"li"),i["\u0275\u0275text"](237," Polar Stride Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](238,"li"),i["\u0275\u0275text"](239," Adidas Speed Cell "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](240,"li"),i["\u0275\u0275text"](241," Stryd Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](242,"span",32),i["\u0275\u0275element"](243,"br",46),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](244,"div",37),i["\u0275\u0275elementStart"](245,"h3"),i["\u0275\u0275element"](246,"img",43),i["\u0275\u0275text"](247," Daily Activity & Other Partners "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](248,"p"),i["\u0275\u0275elementStart"](249,"a",47),i["\u0275\u0275text"](250,"More on Partners"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](251,"div",26),i["\u0275\u0275elementStart"](252,"p"),i["\u0275\u0275text"](253,"Activity trackers are a great way to track your daily activity so you get credit for taking the stairs instead of the elevator! While the monitors do not connect directly with Fitdigits, if you link your activity tracker account with Fitdigits your daily caloric burn numbers and weight will show up in your Fitdigits account."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](254,"div",48),i["\u0275\u0275elementStart"](255,"a",47),i["\u0275\u0275element"](256,"img",49),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](257,"a",47),i["\u0275\u0275element"](258,"img",50),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](259,"a",47),i["\u0275\u0275element"](260,"img",51),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](261,"div",52),i["\u0275\u0275elementStart"](262,"p"),i["\u0275\u0275text"](263,"* Fitdigits will get activity data from Fitbit, but will not receive Heart Rate *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",t.showLoadingOverlay),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("",t.ThemeService.baseAppName," Fitness Sensor Compatibility"),i["\u0275\u0275advance"](10),i["\u0275\u0275textInterpolate1"]("Heart rate training & tracking apps ",t.ThemeService.baseAppName," are compatible with many sensors and fitness devices, including most Bluetooth Smart | Bluetooth 4.0 | Bluetooth Low Energy (BLE) compatible Heart Rate Monitors and the Apple Watch. "),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("hidden",t.showAndroid),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!t.showAndroid),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!t.showAndroid),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",t.showAndroid),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("hidden",t.showAndroid),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("hidden",!t.showAndroid),i["\u0275\u0275advance"](87),i["\u0275\u0275property"]("hidden",!t.showAndroid),i["\u0275\u0275advance"](100),i["\u0275\u0275property"]("hidden",t.showAndroid),i["\u0275\u0275advance"](9),i["\u0275\u0275property"]("hidden",t.showAndroid),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("hidden",t.showAndroid))},directives:[S.f],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}","#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:100%;margin:auto;text-align:left}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;padding:3px 0;font-size:26px;background-color:rgba(234,235,236,.3)}.loading-overlay[_ngcontent-%COMP%]{position:fixed;z-index:1000;top:0;left:0;height:100%;width:100%;background:url(/static/img/hr_wait_greyscale.gif) 50% 35% no-repeat;background-size:32px 32px}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;padding:10px 40px;max-width:1100px}.compatibilityIcon[_ngcontent-%COMP%]{max-width:24px;max-height:20px;margin-right:20px}.osBorderAndroid[_ngcontent-%COMP%]{border-right:5px solid #b2b2b2;border-left:0 solid #b2b2b2;border-bottom:5px solid #b2b2b2}.osBorderAndroid[_ngcontent-%COMP%], .osBorderiOS[_ngcontent-%COMP%]{margin-top:-15px;padding:30px;width:100%}.compatibilityOsHeader[_ngcontent-%COMP%]{float:left;width:50%;border-bottom:5px solid #4597cb;text-align:center;padding:20px;cursor:pointer;margin-top:30px}.headerActive[_ngcontent-%COMP%]{color:#fff;background-color:#4597cb}.headerInActive[_ngcontent-%COMP%]{color:#000;background-color:#b2b2b2}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:5px;list-style-type:circle;margin-left:50px}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.appleWatchHeader[_ngcontent-%COMP%]{float:right;border:1px solid;font-size:20px;clear:both;width:100%;text-align:center;margin-bottom:20px}.sensorSectionHeader[_ngcontent-%COMP%]{float:left;margin-bottom:20px;padding-top:10px;width:100%}.sensorHeaderSubText[_ngcontent-%COMP%]{float:left;clear:left;padding-left:45px}.compatibilityNote[_ngcontent-%COMP%]{clear:both;text-align:center;color:#ee3123;padding:30px}.compAppicons[_ngcontent-%COMP%]{float:left;padding:10px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px;margin-top:-30px}.compSensorPhotoImg[_ngcontent-%COMP%]{float:right;height:80px;margin-top:-10px}.compSensorPhoto[_ngcontent-%COMP%]{float:right}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.subSection[_ngcontent-%COMP%]{border-top:1px solid;margin-top:20px;padding-top:20px}.partnerIcons[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:20px;max-height:42px;padding-left:10px}.partnerIconsContainer[_ngcontent-%COMP%]{text-align:center;width:100%;float:left;margin:30px auto auto}@media (max-width:600px){.partner-wrap[_ngcontent-%COMP%]{padding:10px}.compAppicons[_ngcontent-%COMP%]{width:64px;padding:3px;float:none}.compBLEicon[_ngcontent-%COMP%]{float:none;margin-top:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.osBorderiOS[_ngcontent-%COMP%]{padding:30px 5px;width:100%}.compSensorPhotoImg[_ngcontent-%COMP%]{float:none;margin:auto}.compSensorPhoto[_ngcontent-%COMP%]{float:right;text-align:center;width:100%;clear:both;margin-bottom:15px}.compTopText[_ngcontent-%COMP%]{margin:0}h3[_ngcontent-%COMP%]{font-size:18px}.partnerIcons[_ngcontent-%COMP%]{max-height:36px}}"]}),e}(),ix="#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:960px;margin:auto;text-align:left}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;border-top:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;font-size:26px;background-color:#e2e3e4}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;padding:10px 40px;max-width:1100px}.references[_ngcontent-%COMP%]{border:1px solid;border-radius:4px;background-color:rgba(234,235,236,.1);padding:20px;margin:40px 0;clear:both}.downloadMain[_ngcontent-%COMP%]{width:100%;text-align:center;float:left}.appSpecificSection[_ngcontent-%COMP%]{border:0 solid;float:left;width:100%;margin-top:0}.downloadAppCol[_ngcontent-%COMP%]{width:33%;float:left;border:0 solid;text-align:center}.appTextLogo[_ngcontent-%COMP%]{height:30px;margin:30px auto;display:block}.appTopLogo[_ngcontent-%COMP%]{margin-bottom:0}.downloadStoreBadge[_ngcontent-%COMP%]{margin:10px auto;display:block}.topSignupHero[_ngcontent-%COMP%]{float:left;text-align:center;width:50%}.signup-step-2[_ngcontent-%COMP%]{text-align:center;margin:40px auto 0;clear:both;width:100%;float:left}.apple-device[_ngcontent-%COMP%]{height:200px}.android-device[_ngcontent-%COMP%]{height:170px}.ready-for-more[_ngcontent-%COMP%]{font-size:24px;margin-left:60px;list-style-type:circle}.topImage[_ngcontent-%COMP%]{background-image:url(/static/img/running_home1.png);background-repeat:no-repeat,repeat;background-size:100%}.signupTopText[_ngcontent-%COMP%]{text-shadow:4px 2px #000}.logoSubText[_ngcontent-%COMP%], .signupTopText[_ngcontent-%COMP%]{text-align:center;color:#fff}.logoSubText[_ngcontent-%COMP%]{background-color:#4597cb;padding:5px;display:block;width:200px;margin:-10px auto 20px}.welcomeLogo[_ngcontent-%COMP%]{position:absolute;top:20px;left:20px}.signin-header[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff}.header-band[_ngcontent-%COMP%]{background-color:#eaebec;text-align:center;width:100%;margin-top:70px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%]{background-color:transparent}.leftFooter[_ngcontent-%COMP%]{float:left;max-width:50%;text-align:left;padding:18px}.rightFooter[_ngcontent-%COMP%]{float:right;text-align:right}.centerFoooterImg[_ngcontent-%COMP%]{margin:-40px auto 0;text-align:center}.downloadFooter[_ngcontent-%COMP%]{padding:0 20px;max-height:140px;margin-bottom:-70px}.signupExplore[_ngcontent-%COMP%]{white-space:nowrap}.wrap[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:contain;padding:10px 70px}.signupInput[_ngcontent-%COMP%]{background-color:#fff}.signupInput[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:65%}.signupInput[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:15px}.signupInput[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{margin-left:10px}@media (max-width:600px){.centerFoooterImg[_ngcontent-%COMP%], .leftFooter[_ngcontent-%COMP%]{visibility:hidden;width:0}.android-device[_ngcontent-%COMP%]{height:100px}.partner-wrap[_ngcontent-%COMP%]{padding:10px}h2[_ngcontent-%COMP%]{font-size:24px}h3[_ngcontent-%COMP%]{font-size:18px}h4[_ngcontent-%COMP%]{font-size:16px}.downloadAppCol[_ngcontent-%COMP%]{width:100%}.ready-for-more[_ngcontent-%COMP%]{font-size:18px}.signupTopText[_ngcontent-%COMP%]{height:0;width:0;overflow:hidden;margin:0}.signupExplore[_ngcontent-%COMP%]{white-space:normal}.wrap[_ngcontent-%COMP%]{padding:10px;background:none}.appTopLogo[_ngcontent-%COMP%]{margin-top:0}.downloadStoreBadge[_ngcontent-%COMP%]{width:110px}}",rx=function(){function e(e,t){this.dialog=e,this.cookieService=t,this.wasOpened=!1,this.forceOpen=!1}return e.prototype.mouseOut=function(e){e.relatedTarget||e.toElement||this.wasOpened||this.openPopup()},e.prototype.openPopup=function(){var e=this,t=this.dialog.open(ax,{panelClass:"newsletter-dialog-container"});this.wasOpened=!0,t.afterClosed().subscribe(function(t){t?e.cookieService.set("newsletterDismiss","1",365):e.cookieService.set("newsletterDismiss","1")})},e.prototype.ngOnInit=function(){"1"===this.cookieService.get("newsletterDismiss")&&(this.wasOpened=!0)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](d.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["newsletter-dialog"]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("mouseout",function(e){return t.mouseOut(e)},!1,i["\u0275\u0275resolveBody"])},decls:0,vars:0,template:function(e,t){},styles:[ix]}),e}(),ax=function(){function e(e,t){this.dialogRef=e,this.accountService=t}return e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.submit=function(){var e=this;this.accountService.addToNewsletter(this.emailAddress).subscribe(function(){e.dialogRef.close(!0)})},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["newsletter-popup-dialog"]],decls:33,vars:2,consts:[[2,"float","right","margin","15px",3,"click"],["mat-button",""],[1,"material-icons"],[1,"wrap"],[1,"signupTopText"],[1,"downloadMain"],["src","/static/img/icardio-logo.png",1,"appTextLogo","appTopLogo"],["clear","all"],[1,"logoSubText"],["src","/static/img/hr-training-screen.png",1,"android-device"],[2,"margin","auto"],[1,"topSignupHero"],["href","https://itunes.apple.com/us/app/icardio-workout-tracker/id314841648?mt=8"],["src","/static/img/itunes-app-store.png",1,"downloadStoreBadge",2,"float","right","margin-right","20px"],["href","https://play.google.com/store/apps/details?id=com.fitdigits.icardio.app"],["src","/static/img/google-play-app-store.png",1,"downloadStoreBadge",2,"float","left","margin-left","20px"],[1,"signupInput",2,"text-align","center","clear","both"],["type","text",3,"ngModel","ngModelChange"],["mat-raised-button","",3,"color","click"],[1,"signupExplore"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275elementStart"](1,"button",1),i["\u0275\u0275elementStart"](2,"i",2),i["\u0275\u0275text"](3,"\nclose\n"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",3),i["\u0275\u0275elementStart"](5,"h1",4),i["\u0275\u0275text"](6,"Heart Rate Training"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",5),i["\u0275\u0275element"](8,"img",6),i["\u0275\u0275element"](9,"br",7),i["\u0275\u0275elementStart"](10,"span",8),i["\u0275\u0275text"](11,"Perfect for running, cycling, the gym & more "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](12,"img",9),i["\u0275\u0275element"](13,"br",7),i["\u0275\u0275elementStart"](14,"div",10),i["\u0275\u0275elementStart"](15,"div",11),i["\u0275\u0275elementStart"](16,"a",12),i["\u0275\u0275element"](17,"img",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"div",11),i["\u0275\u0275elementStart"](19,"a",14),i["\u0275\u0275element"](20,"img",15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"div",16),i["\u0275\u0275elementStart"](22,"h2"),i["\u0275\u0275text"](23,"Explore the world of heart rate training"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](24," Sign up today for our free newsletter"),i["\u0275\u0275element"](25,"br"),i["\u0275\u0275elementStart"](26,"input",17),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.emailAddress=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"button",18),i["\u0275\u0275listener"]("click",function(){return t.submit()}),i["\u0275\u0275text"](28,"Go"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"h4"),i["\u0275\u0275text"](30,"What is the best zone for burning fat the fastest? The best for a new PR? "),i["\u0275\u0275elementStart"](31,"span",19),i["\u0275\u0275text"](32,"Explore these questions and more!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](26),i["\u0275\u0275property"]("ngModel",t.emailAddress),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("color","primary"))},directives:[k.b,de.c,de.o,de.r],styles:[ix]}),e}(),ox=function(){function e(e,t,n,i){this.titleService=e,this.meta=t,this.ThemeService=n,this.accountService=i,this.showLoadingOverlay=!1,this.preferred="",this.RHR=60,this.Age=45,this.MHR=175,this.ZoldazMHR=Math.round(210-.5*this.Age),this.isLoggedIn=!1,this.meta.updateTag({name:"description",content:"Determining Your Heart Rate Training Zones using Fitdigits and a variety of scientifically developed methods."}),this.meta.addTags([{name:"otherMetaTag",content:"other Meta data"}]),window.prerenderReady=!0}return e.prototype.recalcZoldaz=function(){this.ZoldazMHR=Math.round(210-.5*this.Age)},e.prototype.ngOnInit=function(){this.isLoggedIn=this.accountService.isLoggedIn,this.isLoggedIn?console.log("Logged In"):console.log("Logged Out")},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](a.Meta),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-personalized-heartrate-zones"]],inputs:{errorDetails:"errorDetails"},decls:765,vars:312,consts:[["id","fd-partners",3,"hidden"],[1,"sectionStructure"],[1,"mobile-wrap"],["routerLink","/maximum-heart-rate.html"],[1,"list-spacing"],["routerLink","/ftiness-assessments.html"],["routerLink","/zones/overview"],[1,"references","customHRNotes"],["alt","heart beat","height","41","src","/static/img/pulse-icon.png","width","43"],["routerLink","/zones/overview",2,"clear","both","display","block"],[2,"margin-top","20px"],["routerLink","/resting-heart-rates.html"],["align","right",1,"maxHRInputDiv"],[1,"maxHRInputForm"],[1,"zoneInputLabel"],[1,"maxHRInputField"],["id","MaxHR","name","MaxHR","type","number","value","175",1,"maxHRInput",3,"ngModel","ngModelChange"],[1,"maxHRInputForm","maxHRAge"],["id","Age","name","Age","type","number","value","45",1,"maxHRInput",3,"ngModel","ngModelChange","change"],["clear","all"],["id","RHR","name","RHR","type","number","value","60",1,"maxHRInput",3,"ngModel","ngModelChange"],[2,"font-size","12px","float","left","margin","10px 0px 20px 0px"],["routerLink","/resting-heart-rates.html","target","_top"],[1,"topMaxHRTable"],[1,"zoneTitleTd"],[1,"zoneTable"],[2,"border","0px"],[1,"HRzone-Max"],[1,"HRzonebpm-Row",2,"color","#ee3123"],[1,"HRzone"],[1,"HRzonebpm-Row",2,"color","#F16124"],[1,"HRzonebpm-Row",2,"color","#FCB424"],[1,"HRzonebpm-Row",2,"color","#3FAE48"],[1,"HRzonebpm-Row",2,"color","#03a89e"],[1,"HRzonebpm-Row",2,"color","#4597cb"],[1,"zoneTitleTd3up"],[1,"HRzone-bluetitle"],[1,"HRzonebpm"],[1,"HRzone",2,"border","0px"],[1,"topMaxHRTable","fourTable"],["colspan","1",1,"HRzone-bluetitle"],[2,"border","0px","padding","0px","margin","0px"],[1,"zoneTitleTd2Up"],[2,"clear","both"],[2,"text-align","center","padding","40px 0px 0px 0px"],[2,"font-weight","bold"],["routerLink","/fitness-assessments.html"],["routerLink","/personalized-heart-rate-zones.html"],[1,"references"],["alt","References","height","56","src","/static/img/reference-book.jpg","width","52",2,"float","right"]],template:function(e,t){if(1&e){i["\u0275\u0275element"](0,"newsletter-dialog"),i["\u0275\u0275elementStart"](1,"div",0),i["\u0275\u0275elementStart"](2,"div",1),i["\u0275\u0275elementStart"](3,"div",2),i["\u0275\u0275elementStart"](4,"h1"),i["\u0275\u0275text"](5,"Why You Should Know Your Personal Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"People are all different."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10,"In fact, only 20% of people have a max heart rate that is functionally close to the 220-Age = Max HR calculation which is what most people use to determine heart rate zones these days. This means for a large majority of people setting zones of 50%-100% off of that formula does not result in zones that are meaningful or correct."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275text"](12,"Knowing about your body is important, and just being aware of what your "),i["\u0275\u0275elementStart"](13,"a",3),i["\u0275\u0275text"](14,"maximum heart rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](15," should be in a controlled environment can help you monitor your exercise. However, for those who want to exercise intelligently and be healthy through exercise, setting and monitoring personal heart rate zones is a critical practice."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275elementStart"](17,"strong"),i["\u0275\u0275text"](18,"Using Personal Heart Rate Zones vs. Calculated Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275text"](20,"220-Age was never supposed to become a standard. If you are using the Haskel Fox formula, it is highly likely you are exercising in zones that are too high or too low, sometimes significantly. In fact, only about 20% of people fit comfortably in that Heart Rate Zone formula (220-Age), and even then only for certain activities."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22,"The formula was developed from male runners, and running zones don't typically apply to other sports. Each person has unique ability and physical development in specific activities. That's why a runner who feels great after a long run at 85% max hr can only do about 10 minutes at that heart rate on a bike feeling totally exhausted after."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"ul",4),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275text"](25,"If you are in zones that are too high your workout will exhaust you and possibly be dangerous."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275text"](27,"If your zones are too low, you will not be pushing yourself enough to develop the base fitness you need to get healthy. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"p"),i["\u0275\u0275text"](29,"Custom zones from "),i["\u0275\u0275elementStart"](30,"a",5),i["\u0275\u0275text"](31,"fitness assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](32," are one of the keystones of proper training and planning."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"p"),i["\u0275\u0275text"](34,"We encourage you to get our great heart rate training apps (monitor required), and make sure your zones are right for you by performing a fitness test, or "),i["\u0275\u0275elementStart"](35,"a",6),i["\u0275\u0275text"](36,"manually customize your own zone sets"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](37," to suit your needs."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"p"),i["\u0275\u0275text"](39,"If you aren't up for a physical test, check out these other heart rate zone calculation methods, to help potentially better determine your personalized heart rate training zones."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"p"),i["\u0275\u0275text"](41,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"h1"),i["\u0275\u0275text"](43,"Determining Your Heart Rate Training Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"div",7),i["\u0275\u0275element"](45,"img",8),i["\u0275\u0275elementStart"](46,"a",9),i["\u0275\u0275text"](47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"p",10),i["\u0275\u0275text"](49,"If you know your "),i["\u0275\u0275elementStart"](50,"a",3),i["\u0275\u0275text"](51,"Maximum Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](52,", and as a bonus know your "),i["\u0275\u0275elementStart"](53,"a",11),i["\u0275\u0275text"](54,"Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](55,", you can set some baseline training zones. Step 1 of Fitdigits 4 Keys to Cardio Fitness is to determine your personal heart rate zones. The most accurate zones are done with a scientific metabolic assessment by a professional service, but Fitdigits apps include a variety of do it yourself cardio assessments to help you define your zones. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"p"),i["\u0275\u0275text"](57,"However, see below for other equations developed to help individuals to develop their personal heart rate training zones without that level of testing. They key is to experiment a little, and find the zone set right for you. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](58,"h3"),i["\u0275\u0275text"](59,"Calculate Your Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](60,"div",12),i["\u0275\u0275elementStart"](61,"div"),i["\u0275\u0275elementStart"](62,"div",13),i["\u0275\u0275elementStart"](63,"span",14),i["\u0275\u0275text"](64,"Max Heart Rate:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](65,"div",15),i["\u0275\u0275elementStart"](66,"input",16),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.MHR=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](67,"div",17),i["\u0275\u0275elementStart"](68,"span",14),i["\u0275\u0275text"](69,"Age:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](70,"div",15),i["\u0275\u0275elementStart"](71,"input",18),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.Age=e})("change",function(){return t.recalcZoldaz()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](72,"br",19),i["\u0275\u0275elementStart"](73,"div",13),i["\u0275\u0275elementStart"](74,"span",14),i["\u0275\u0275text"](75,"Resting Heart Rate:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](76,"div",15),i["\u0275\u0275elementStart"](77,"input",20),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.RHR=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](78,"div",21),i["\u0275\u0275elementStart"](79,"em"),i["\u0275\u0275text"](80,"The "),i["\u0275\u0275elementStart"](81,"a",22),i["\u0275\u0275text"](82,"resting heart rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](83," (RHR) is your heart rate when you are at rest, that is lying down but awake, and not having recently exerted yourself. Typically between 60-80 bpm.[1] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](84,"br"),i["\u0275\u0275element"](85,"br"),i["\u0275\u0275element"](86,"br"),i["\u0275\u0275elementStart"](87,"table",23),i["\u0275\u0275elementStart"](88,"tbody"),i["\u0275\u0275elementStart"](89,"tr"),i["\u0275\u0275elementStart"](90,"td",24),i["\u0275\u0275elementStart"](91,"table",25),i["\u0275\u0275elementStart"](92,"tbody"),i["\u0275\u0275elementStart"](93,"tr"),i["\u0275\u0275elementStart"](94,"td",26),i["\u0275\u0275elementStart"](95,"strong"),i["\u0275\u0275text"](96,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](97,"br"),i["\u0275\u0275text"](98," \xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](99,"tr"),i["\u0275\u0275elementStart"](100,"td",27),i["\u0275\u0275elementStart"](101,"span",28),i["\u0275\u0275text"](102,"Max HR"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](103,"tr"),i["\u0275\u0275elementStart"](104,"td",29),i["\u0275\u0275elementStart"](105,"span",30),i["\u0275\u0275text"](106,"Zone 5"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](107,"br"),i["\u0275\u0275text"](108," Speed (anaerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](109,"tr"),i["\u0275\u0275elementStart"](110,"td",29),i["\u0275\u0275elementStart"](111,"span",31),i["\u0275\u0275text"](112,"Zone 4"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](113,"br"),i["\u0275\u0275text"](114," Economy (anaerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](115,"tr"),i["\u0275\u0275elementStart"](116,"td",29),i["\u0275\u0275elementStart"](117,"span",32),i["\u0275\u0275text"](118,"Zone 3"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](119,"br"),i["\u0275\u0275text"](120," Stamina (aerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](121,"tr"),i["\u0275\u0275elementStart"](122,"td",29),i["\u0275\u0275elementStart"](123,"span",33),i["\u0275\u0275text"](124,"Zone 2"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](125,"br"),i["\u0275\u0275text"](126," Endurance (aerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](127,"tr"),i["\u0275\u0275elementStart"](128,"td",29),i["\u0275\u0275elementStart"](129,"span",34),i["\u0275\u0275text"](130,"Zone 1"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](131,"br"),i["\u0275\u0275text"](132," Recovery (aerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](133,"td",35),i["\u0275\u0275elementStart"](134,"table",25),i["\u0275\u0275elementStart"](135,"tbody"),i["\u0275\u0275elementStart"](136,"tr"),i["\u0275\u0275elementStart"](137,"td",36),i["\u0275\u0275text"](138," By % of"),i["\u0275\u0275element"](139,"br"),i["\u0275\u0275text"](140," Max HR [2] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](141,"tr"),i["\u0275\u0275elementStart"](142,"td",27),i["\u0275\u0275elementStart"](143,"span",37),i["\u0275\u0275text"](144),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](145,"tr"),i["\u0275\u0275elementStart"](146,"td",29),i["\u0275\u0275elementStart"](147,"span",37),i["\u0275\u0275text"](148),i["\u0275\u0275pipe"](149,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](150,"br"),i["\u0275\u0275text"](151,"90%-100% MHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](152,"tr"),i["\u0275\u0275elementStart"](153,"td",29),i["\u0275\u0275elementStart"](154,"span",37),i["\u0275\u0275text"](155),i["\u0275\u0275pipe"](156,"number"),i["\u0275\u0275pipe"](157,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](158,"br"),i["\u0275\u0275text"](159,"80%-90% MHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](160,"tr"),i["\u0275\u0275elementStart"](161,"td",29),i["\u0275\u0275elementStart"](162,"span",37),i["\u0275\u0275text"](163),i["\u0275\u0275pipe"](164,"number"),i["\u0275\u0275pipe"](165,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](166,"br"),i["\u0275\u0275text"](167,"70%-80% MHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](168,"tr"),i["\u0275\u0275elementStart"](169,"td",29),i["\u0275\u0275elementStart"](170,"span",37),i["\u0275\u0275text"](171),i["\u0275\u0275pipe"](172,"number"),i["\u0275\u0275pipe"](173,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](174,"br"),i["\u0275\u0275text"](175,"60%-70% MHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](176,"tr"),i["\u0275\u0275elementStart"](177,"td",29),i["\u0275\u0275elementStart"](178,"span",37),i["\u0275\u0275text"](179),i["\u0275\u0275pipe"](180,"number"),i["\u0275\u0275pipe"](181,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](182,"br"),i["\u0275\u0275text"](183,"50%-60% MHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](184,"tr"),i["\u0275\u0275elementStart"](185,"td",38),i["\u0275\u0275text"](186," By % of Max HR - Fidigits default "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](187,"td",35),i["\u0275\u0275elementStart"](188,"table",25),i["\u0275\u0275elementStart"](189,"tbody"),i["\u0275\u0275elementStart"](190,"tr"),i["\u0275\u0275elementStart"](191,"td",36),i["\u0275\u0275text"](192," Karvonen modified [3] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](193,"tr"),i["\u0275\u0275elementStart"](194,"td",27),i["\u0275\u0275elementStart"](195,"span",37),i["\u0275\u0275text"](196),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](197,"tr"),i["\u0275\u0275elementStart"](198,"td",29),i["\u0275\u0275elementStart"](199,"span",37),i["\u0275\u0275text"](200),i["\u0275\u0275pipe"](201,"number"),i["\u0275\u0275pipe"](202,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](203,"br"),i["\u0275\u0275text"](204,"90%-100% HRR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](205,"tr"),i["\u0275\u0275elementStart"](206,"td",29),i["\u0275\u0275elementStart"](207,"span",37),i["\u0275\u0275text"](208),i["\u0275\u0275pipe"](209,"number"),i["\u0275\u0275pipe"](210,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](211,"br"),i["\u0275\u0275text"](212,"80%-90% HRR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](213,"tr"),i["\u0275\u0275elementStart"](214,"td",29),i["\u0275\u0275elementStart"](215,"span",37),i["\u0275\u0275text"](216),i["\u0275\u0275pipe"](217,"number"),i["\u0275\u0275pipe"](218,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](219,"br"),i["\u0275\u0275text"](220,"70%-80% HRR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](221,"tr"),i["\u0275\u0275elementStart"](222,"td",29),i["\u0275\u0275elementStart"](223,"span",37),i["\u0275\u0275text"](224),i["\u0275\u0275pipe"](225,"number"),i["\u0275\u0275pipe"](226,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](227,"br"),i["\u0275\u0275text"](228,"60%-70% HRR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](229,"tr"),i["\u0275\u0275elementStart"](230,"td",29),i["\u0275\u0275elementStart"](231,"span",37),i["\u0275\u0275text"](232),i["\u0275\u0275pipe"](233,"number"),i["\u0275\u0275pipe"](234,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](235,"br"),i["\u0275\u0275text"](236,"50%-60% HRR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](237,"tr"),i["\u0275\u0275elementStart"](238,"td",38),i["\u0275\u0275text"](239," Based on % of Heart Rate Reserve (Max HR - Resting Heart Rate) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](240,"td"),i["\u0275\u0275elementStart"](241,"table",25),i["\u0275\u0275elementStart"](242,"tbody"),i["\u0275\u0275elementStart"](243,"tr"),i["\u0275\u0275elementStart"](244,"td",36),i["\u0275\u0275text"](245," Zoladz modified [4] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](246,"tr"),i["\u0275\u0275elementStart"](247,"td",27),i["\u0275\u0275elementStart"](248,"span",37),i["\u0275\u0275text"](249),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](250,"tr"),i["\u0275\u0275elementStart"](251,"td",29),i["\u0275\u0275elementStart"](252,"span",37),i["\u0275\u0275text"](253),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](254,"br"),i["\u0275\u0275text"](255,"MHR - 15 bpm "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](256,"tr"),i["\u0275\u0275elementStart"](257,"td",29),i["\u0275\u0275elementStart"](258,"span",37),i["\u0275\u0275text"](259),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](260,"br"),i["\u0275\u0275text"](261,"MHR - 25 bpm "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](262,"tr"),i["\u0275\u0275elementStart"](263,"td",29),i["\u0275\u0275elementStart"](264,"span",37),i["\u0275\u0275text"](265),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](266,"br"),i["\u0275\u0275text"](267,"MHR - 35 bpm "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](268,"tr"),i["\u0275\u0275elementStart"](269,"td",29),i["\u0275\u0275elementStart"](270,"span",37),i["\u0275\u0275text"](271),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](272,"br"),i["\u0275\u0275text"](273,"MHR - 45 bpm "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](274,"tr"),i["\u0275\u0275elementStart"](275,"td",29),i["\u0275\u0275elementStart"](276,"span",37),i["\u0275\u0275text"](277),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](278,"br"),i["\u0275\u0275text"](279,"MHR - 55 bpm "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](280,"tr"),i["\u0275\u0275elementStart"](281,"td",38),i["\u0275\u0275text"](282," Zone BPM defined at fixed bpm per zone "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](283,"br"),i["\u0275\u0275elementStart"](284,"table",39),i["\u0275\u0275elementStart"](285,"tbody"),i["\u0275\u0275elementStart"](286,"tr"),i["\u0275\u0275elementStart"](287,"td",24),i["\u0275\u0275elementStart"](288,"table",25),i["\u0275\u0275elementStart"](289,"tbody"),i["\u0275\u0275elementStart"](290,"tr"),i["\u0275\u0275elementStart"](291,"td",26),i["\u0275\u0275elementStart"](292,"strong"),i["\u0275\u0275text"](293,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](294,"br"),i["\u0275\u0275text"](295," \xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](296,"tr"),i["\u0275\u0275elementStart"](297,"td",27),i["\u0275\u0275elementStart"](298,"span",28),i["\u0275\u0275text"](299,"Max HR"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](300,"tr"),i["\u0275\u0275elementStart"](301,"td",29),i["\u0275\u0275elementStart"](302,"span",30),i["\u0275\u0275text"](303,"Zone 5"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](304,"br"),i["\u0275\u0275text"](305," Speed (anaerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](306,"tr"),i["\u0275\u0275elementStart"](307,"td",29),i["\u0275\u0275elementStart"](308,"span",31),i["\u0275\u0275text"](309,"Zone 4"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](310,"br"),i["\u0275\u0275text"](311," Economy (anaerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](312,"tr"),i["\u0275\u0275elementStart"](313,"td",29),i["\u0275\u0275elementStart"](314,"span",32),i["\u0275\u0275text"](315,"Zone 3"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](316,"br"),i["\u0275\u0275text"](317," Stamina (aerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](318,"tr"),i["\u0275\u0275elementStart"](319,"td",29),i["\u0275\u0275elementStart"](320,"span",33),i["\u0275\u0275text"](321,"Zone 2"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](322,"br"),i["\u0275\u0275text"](323," Endurance (aerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](324,"tr"),i["\u0275\u0275elementStart"](325,"td",29),i["\u0275\u0275elementStart"](326,"span",34),i["\u0275\u0275text"](327,"Zone 1"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](328,"br"),i["\u0275\u0275text"](329," Recovery (aerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](330,"td",24),i["\u0275\u0275elementStart"](331,"table",25),i["\u0275\u0275elementStart"](332,"tbody"),i["\u0275\u0275elementStart"](333,"tr"),i["\u0275\u0275elementStart"](334,"td",40),i["\u0275\u0275text"](335," Heart Rate "),i["\u0275\u0275element"](336,"br"),i["\u0275\u0275text"](337,"Training [5] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](338,"tr"),i["\u0275\u0275elementStart"](339,"td",27),i["\u0275\u0275elementStart"](340,"span",37),i["\u0275\u0275text"](341),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](342,"tr"),i["\u0275\u0275elementStart"](343,"td",29),i["\u0275\u0275elementStart"](344,"span",37),i["\u0275\u0275text"](345),i["\u0275\u0275pipe"](346,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](347,"br"),i["\u0275\u0275text"](348,"> 95% "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](349,"tr"),i["\u0275\u0275elementStart"](350,"td",29),i["\u0275\u0275elementStart"](351,"span",37),i["\u0275\u0275text"](352),i["\u0275\u0275pipe"](353,"number"),i["\u0275\u0275pipe"](354,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](355,"br"),i["\u0275\u0275text"](356,"85-95% "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](357,"tr"),i["\u0275\u0275elementStart"](358,"td",29),i["\u0275\u0275elementStart"](359,"span",37),i["\u0275\u0275text"](360),i["\u0275\u0275pipe"](361,"number"),i["\u0275\u0275pipe"](362,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](363,"br"),i["\u0275\u0275text"](364,"75-85% "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](365,"tr"),i["\u0275\u0275elementStart"](366,"td",29),i["\u0275\u0275elementStart"](367,"span",37),i["\u0275\u0275text"](368),i["\u0275\u0275pipe"](369,"number"),i["\u0275\u0275pipe"](370,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](371,"br"),i["\u0275\u0275text"](372,"60-75% "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](373,"tr"),i["\u0275\u0275elementStart"](374,"td",29),i["\u0275\u0275elementStart"](375,"span",37),i["\u0275\u0275text"](376),i["\u0275\u0275pipe"](377,"number"),i["\u0275\u0275pipe"](378,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](379,"br"),i["\u0275\u0275text"](380,"< 60% "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](381,"tr"),i["\u0275\u0275elementStart"](382,"td",41),i["\u0275\u0275text"](383,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](384,"td",24),i["\u0275\u0275elementStart"](385,"table",25),i["\u0275\u0275elementStart"](386,"tbody"),i["\u0275\u0275elementStart"](387,"tr"),i["\u0275\u0275elementStart"](388,"td",40),i["\u0275\u0275text"](389," Joe Friel"),i["\u0275\u0275element"](390,"br"),i["\u0275\u0275text"](391," Running [6] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](392,"tr"),i["\u0275\u0275elementStart"](393,"td",27),i["\u0275\u0275elementStart"](394,"span",37),i["\u0275\u0275text"](395),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](396,"tr"),i["\u0275\u0275elementStart"](397,"td",29),i["\u0275\u0275elementStart"](398,"span",37),i["\u0275\u0275text"](399),i["\u0275\u0275pipe"](400,"number"),i["\u0275\u0275pipe"](401,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](402,"br"),i["\u0275\u0275text"](403," 100%-106% LTHR*"),i["\u0275\u0275element"](404,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](405,"tr"),i["\u0275\u0275elementStart"](406,"td",29),i["\u0275\u0275elementStart"](407,"span",37),i["\u0275\u0275text"](408),i["\u0275\u0275pipe"](409,"number"),i["\u0275\u0275pipe"](410,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](411,"br"),i["\u0275\u0275text"](412,"95-99% LTHR"),i["\u0275\u0275element"](413,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](414,"tr"),i["\u0275\u0275elementStart"](415,"td",29),i["\u0275\u0275elementStart"](416,"span",37),i["\u0275\u0275text"](417),i["\u0275\u0275pipe"](418,"number"),i["\u0275\u0275pipe"](419,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](420,"br"),i["\u0275\u0275text"](421,"90-94% LTHR"),i["\u0275\u0275element"](422,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](423,"tr"),i["\u0275\u0275elementStart"](424,"td",29),i["\u0275\u0275elementStart"](425,"span",37),i["\u0275\u0275text"](426),i["\u0275\u0275pipe"](427,"number"),i["\u0275\u0275pipe"](428,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](429,"br"),i["\u0275\u0275text"](430,"85-89% LTHR"),i["\u0275\u0275element"](431,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](432,"tr"),i["\u0275\u0275elementStart"](433,"td",29),i["\u0275\u0275elementStart"](434,"span",37),i["\u0275\u0275text"](435),i["\u0275\u0275pipe"](436,"number"),i["\u0275\u0275pipe"](437,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](438,"br"),i["\u0275\u0275text"](439,"< 85% LTHR"),i["\u0275\u0275element"](440,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](441,"tr"),i["\u0275\u0275elementStart"](442,"td",38),i["\u0275\u0275text"](443,"Assumes your Lactate Threshold Heart Rate is 85% of your Max HR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](444,"td",24),i["\u0275\u0275elementStart"](445,"table",25),i["\u0275\u0275elementStart"](446,"tbody"),i["\u0275\u0275elementStart"](447,"tr"),i["\u0275\u0275elementStart"](448,"td",36),i["\u0275\u0275text"](449," Karvonen"),i["\u0275\u0275element"](450,"br"),i["\u0275\u0275text"](451," Formula [7] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](452,"tr"),i["\u0275\u0275elementStart"](453,"td",27),i["\u0275\u0275elementStart"](454,"span",37),i["\u0275\u0275text"](455),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](456,"tr"),i["\u0275\u0275elementStart"](457,"td",29),i["\u0275\u0275elementStart"](458,"span",37),i["\u0275\u0275text"](459),i["\u0275\u0275pipe"](460,"number"),i["\u0275\u0275pipe"](461,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](462,"br"),i["\u0275\u0275text"](463,"90%-100% HRR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](464,"tr"),i["\u0275\u0275elementStart"](465,"td",29),i["\u0275\u0275elementStart"](466,"span",37),i["\u0275\u0275text"](467),i["\u0275\u0275pipe"](468,"number"),i["\u0275\u0275pipe"](469,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](470,"br"),i["\u0275\u0275text"](471,"80%-90% HRR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](472,"tr"),i["\u0275\u0275elementStart"](473,"td",29),i["\u0275\u0275elementStart"](474,"span",37),i["\u0275\u0275text"](475),i["\u0275\u0275pipe"](476,"number"),i["\u0275\u0275pipe"](477,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](478,"br"),i["\u0275\u0275text"](479,"70%-80% HRR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](480,"tr"),i["\u0275\u0275elementStart"](481,"td",29),i["\u0275\u0275elementStart"](482,"span",37),i["\u0275\u0275text"](483),i["\u0275\u0275pipe"](484,"number"),i["\u0275\u0275pipe"](485,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](486,"br"),i["\u0275\u0275text"](487,"60%-70% HRR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](488,"tr"),i["\u0275\u0275elementStart"](489,"td",29),i["\u0275\u0275elementStart"](490,"span",37),i["\u0275\u0275text"](491),i["\u0275\u0275pipe"](492,"number"),i["\u0275\u0275pipe"](493,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](494,"br"),i["\u0275\u0275text"](495,"50%-60% HRR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](496,"tr"),i["\u0275\u0275elementStart"](497,"td",38),i["\u0275\u0275text"](498," 220-Age but intensity levels are based on % of Heart Rate Reserve (HRR) = [Max HR - Resting Heart Rate] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](499,"td"),i["\u0275\u0275elementStart"](500,"table",25),i["\u0275\u0275elementStart"](501,"tbody"),i["\u0275\u0275elementStart"](502,"tr"),i["\u0275\u0275elementStart"](503,"td",40),i["\u0275\u0275text"](504," Zoladz"),i["\u0275\u0275element"](505,"br"),i["\u0275\u0275text"](506," Formula [8] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](507,"tr"),i["\u0275\u0275elementStart"](508,"td",27),i["\u0275\u0275elementStart"](509,"span",37),i["\u0275\u0275text"](510),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](511,"tr"),i["\u0275\u0275elementStart"](512,"td",29),i["\u0275\u0275elementStart"](513,"span",37),i["\u0275\u0275text"](514),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](515,"br"),i["\u0275\u0275text"](516,"MHR - 15 bpm "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](517,"tr"),i["\u0275\u0275elementStart"](518,"td",29),i["\u0275\u0275elementStart"](519,"span",37),i["\u0275\u0275text"](520),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](521,"br"),i["\u0275\u0275text"](522,"MHR - 25 bpm "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](523,"tr"),i["\u0275\u0275elementStart"](524,"td",29),i["\u0275\u0275elementStart"](525,"span",37),i["\u0275\u0275text"](526),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](527,"br"),i["\u0275\u0275text"](528,"MHR - 35 bpm "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](529,"tr"),i["\u0275\u0275elementStart"](530,"td",29),i["\u0275\u0275elementStart"](531,"span",37),i["\u0275\u0275text"](532),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](533,"br"),i["\u0275\u0275text"](534,"MHR - 45 bpm "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](535,"tr");i["\u0275\u0275elementStart"](536,"td",29),i["\u0275\u0275elementStart"](537,"span",37),i["\u0275\u0275text"](538),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](539,"br"),i["\u0275\u0275text"](540,"MHR - 55 bpm "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](541,"tr"),i["\u0275\u0275elementStart"](542,"td",38),i["\u0275\u0275text"](543," 210-[.5 x Age] with Zones modified by fixed BPM "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](544,"br"),i["\u0275\u0275elementStart"](545,"div"),i["\u0275\u0275elementStart"](546,"h3"),i["\u0275\u0275text"](547,"Cycling Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](548,"p"),i["\u0275\u0275text"](549,"Here are a couple different zone sets defined for cycling. It is always good to do an assessment for each type of workout you want to do, as your Max HR are affected by things like how much weight / gravity your muscles have to compensate for as it moves. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](550,"br"),i["\u0275\u0275elementStart"](551,"div"),i["\u0275\u0275elementStart"](552,"table",23),i["\u0275\u0275elementStart"](553,"tbody"),i["\u0275\u0275elementStart"](554,"tr"),i["\u0275\u0275elementStart"](555,"td",24),i["\u0275\u0275elementStart"](556,"table",25),i["\u0275\u0275elementStart"](557,"tbody"),i["\u0275\u0275elementStart"](558,"tr"),i["\u0275\u0275elementStart"](559,"td",26),i["\u0275\u0275elementStart"](560,"strong"),i["\u0275\u0275text"](561,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](562,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](563,"tr"),i["\u0275\u0275elementStart"](564,"td",27),i["\u0275\u0275elementStart"](565,"span",28),i["\u0275\u0275text"](566,"Max HR"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](567,"br"),i["\u0275\u0275text"](568,"\xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](569,"tr"),i["\u0275\u0275elementStart"](570,"td",29),i["\u0275\u0275elementStart"](571,"span",30),i["\u0275\u0275text"](572,"Zone 5"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](573,"br"),i["\u0275\u0275text"](574," Speed (anaerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](575,"tr"),i["\u0275\u0275elementStart"](576,"td",29),i["\u0275\u0275elementStart"](577,"span",31),i["\u0275\u0275text"](578,"Zone 4"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](579,"br"),i["\u0275\u0275text"](580," Economy (anaerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](581,"tr"),i["\u0275\u0275elementStart"](582,"td",29),i["\u0275\u0275elementStart"](583,"span",32),i["\u0275\u0275text"](584,"Zone 3"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](585,"br"),i["\u0275\u0275text"](586," Stamina (aerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](587,"tr"),i["\u0275\u0275elementStart"](588,"td",29),i["\u0275\u0275elementStart"](589,"span",33),i["\u0275\u0275text"](590,"Zone 2"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](591,"br"),i["\u0275\u0275text"](592," Endurance (aerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](593,"tr"),i["\u0275\u0275elementStart"](594,"td",29),i["\u0275\u0275elementStart"](595,"span",34),i["\u0275\u0275text"](596,"Zone 1"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](597,"br"),i["\u0275\u0275text"](598," Recovery (aerobic) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](599,"td",42),i["\u0275\u0275elementStart"](600,"table",25),i["\u0275\u0275elementStart"](601,"tbody"),i["\u0275\u0275elementStart"](602,"tr"),i["\u0275\u0275elementStart"](603,"td",40),i["\u0275\u0275text"](604," ABCC/BCF "),i["\u0275\u0275element"](605,"br"),i["\u0275\u0275text"](606," guidelines [9] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](607,"tr"),i["\u0275\u0275elementStart"](608,"td",29),i["\u0275\u0275elementStart"](609,"span",37),i["\u0275\u0275text"](610),i["\u0275\u0275pipe"](611,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](612,"br"),i["\u0275\u0275text"](613," 94-100% MHR- Zone 6 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](614,"tr"),i["\u0275\u0275elementStart"](615,"td",29),i["\u0275\u0275elementStart"](616,"span",37),i["\u0275\u0275text"](617),i["\u0275\u0275pipe"](618,"number"),i["\u0275\u0275pipe"](619,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](620,"br"),i["\u0275\u0275text"](621," 89-94% MHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](622,"tr"),i["\u0275\u0275elementStart"](623,"td",29),i["\u0275\u0275elementStart"](624,"span",37),i["\u0275\u0275text"](625),i["\u0275\u0275pipe"](626,"number"),i["\u0275\u0275pipe"](627,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](628,"br"),i["\u0275\u0275text"](629," 82-89% MHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](630,"tr"),i["\u0275\u0275elementStart"](631,"td",29),i["\u0275\u0275elementStart"](632,"span",37),i["\u0275\u0275text"](633),i["\u0275\u0275pipe"](634,"number"),i["\u0275\u0275pipe"](635,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](636,"br"),i["\u0275\u0275text"](637," 75-82% MHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](638,"tr"),i["\u0275\u0275elementStart"](639,"td",29),i["\u0275\u0275elementStart"](640,"span",37),i["\u0275\u0275text"](641),i["\u0275\u0275pipe"](642,"number"),i["\u0275\u0275pipe"](643,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](644,"br"),i["\u0275\u0275text"](645," 65-75% MHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](646,"tr"),i["\u0275\u0275elementStart"](647,"td",29),i["\u0275\u0275elementStart"](648,"span",37),i["\u0275\u0275text"](649),i["\u0275\u0275pipe"](650,"number"),i["\u0275\u0275pipe"](651,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](652,"br"),i["\u0275\u0275text"](653," 60-65% MHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](654,"tr"),i["\u0275\u0275elementStart"](655,"td",38),i["\u0275\u0275text"](656,"Association of British Cycling Coaches / British Cycling Federation "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](657,"td"),i["\u0275\u0275elementStart"](658,"table",25),i["\u0275\u0275elementStart"](659,"tbody"),i["\u0275\u0275elementStart"](660,"tr"),i["\u0275\u0275elementStart"](661,"td",40),i["\u0275\u0275text"](662," Joe Friel"),i["\u0275\u0275element"](663,"br"),i["\u0275\u0275text"](664," Biking [10] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](665,"tr"),i["\u0275\u0275elementStart"](666,"td",27),i["\u0275\u0275elementStart"](667,"span",37),i["\u0275\u0275text"](668),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](669,"br"),i["\u0275\u0275text"](670,"\xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](671,"tr"),i["\u0275\u0275elementStart"](672,"td",29),i["\u0275\u0275elementStart"](673,"span",37),i["\u0275\u0275text"](674),i["\u0275\u0275pipe"](675,"number"),i["\u0275\u0275pipe"](676,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](677,"br"),i["\u0275\u0275text"](678," 100%-106% LTHR* "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](679,"tr"),i["\u0275\u0275elementStart"](680,"td",29),i["\u0275\u0275elementStart"](681,"span",37),i["\u0275\u0275text"](682),i["\u0275\u0275pipe"](683,"number"),i["\u0275\u0275pipe"](684,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](685,"br"),i["\u0275\u0275text"](686,"94-99% LTHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](687,"tr"),i["\u0275\u0275elementStart"](688,"td",29),i["\u0275\u0275elementStart"](689,"span",37),i["\u0275\u0275text"](690),i["\u0275\u0275pipe"](691,"number"),i["\u0275\u0275pipe"](692,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](693,"br"),i["\u0275\u0275text"](694,"90-93% LTHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](695,"tr"),i["\u0275\u0275elementStart"](696,"td",29),i["\u0275\u0275elementStart"](697,"span",37),i["\u0275\u0275text"](698),i["\u0275\u0275pipe"](699,"number"),i["\u0275\u0275pipe"](700,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](701,"br"),i["\u0275\u0275text"](702,"81-89% LTHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](703,"tr"),i["\u0275\u0275elementStart"](704,"td",29),i["\u0275\u0275elementStart"](705,"span",37),i["\u0275\u0275text"](706),i["\u0275\u0275pipe"](707,"number"),i["\u0275\u0275pipe"](708,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](709,"br"),i["\u0275\u0275text"](710,"< 81% LTHR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](711,"tr"),i["\u0275\u0275elementStart"](712,"td",38),i["\u0275\u0275text"](713,"Assumes your Lactate Threshold Heart Rate is 85% of your Max HR "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](714,"br",19),i["\u0275\u0275element"](715,"div",43),i["\u0275\u0275elementStart"](716,"div",44),i["\u0275\u0275elementStart"](717,"p",45),i["\u0275\u0275text"](718,"Related topics: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](719,"h3"),i["\u0275\u0275elementStart"](720,"a",3),i["\u0275\u0275text"](721,"Maximum Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](722," \u2022 "),i["\u0275\u0275elementStart"](723,"a",11),i["\u0275\u0275text"](724,"Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](725," \u2022 "),i["\u0275\u0275elementStart"](726,"a",46),i["\u0275\u0275text"](727,"Fitness Assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](728," \u2022 "),i["\u0275\u0275elementStart"](729,"a",47),i["\u0275\u0275text"](730,"Personalized Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](731,"div",48),i["\u0275\u0275element"](732,"img",49),i["\u0275\u0275elementStart"](733,"p"),i["\u0275\u0275text"](734,"REFERENCES:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](735,"p"),i["\u0275\u0275text"](736,"[1] Resting Heart Rate (RHR)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](737,"p"),i["\u0275\u0275text"](738,"[1a] LASKOWSKI, E.R. [WWW] Available from http://www.mayoclinic.com/health/heart-rate/AN01906 [Accessed 22/3/2012]"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](739,"p"),i["\u0275\u0275text"](740,"[1b] BENSON, R & CONNOLY, D [2011] \u201cHeart Rate Training\u201d. p. 10, 30."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](741,"p"),i["\u0275\u0275text"](742,"[1c] TELLER, R [WWW] Available from http://www.1vigor.com/article/resting-heart-rate-health-measurement/ [Accessed 22/3/2012]"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](743,"p"),i["\u0275\u0275text"](744,"[2] By % of Max HR (Haskell & Fox formula) | Heart Rate - Wikipedia [WWW] http://en.wikipedia.org/wiki/Heart_rate [Accessed 22/3/2012]"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](745,"p"),i["\u0275\u0275text"](746,"[3] Karvonen modified - This zone set uses the Karvonen method for setting zones (see [7] below), however it allows for the use of a measured max heart rate vs. the assumed formula originally specified in Karvonen for more personalized accuracy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](747,"p"),i["\u0275\u0275text"](748,"[4] Zoladz modified - This zone set uses the Zoladz method for setting zones (see [8] below), however it allows for the use of a measured max heart rate vs. the assumed formula originally specified in Karvonen for more personalized accuracy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](749,"p"),i["\u0275\u0275text"](750,"[5] BENSON, R & CONNOLY, D [2011] \u201cHeart Rate Training\u201d. p. 5."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](751,"p"),i["\u0275\u0275text"](752,"[6] Joe Friel Running Zones | A Quick Guide to Setting Zones 11/29/09 [WWW] http://www.trainingbible.com/joesblog/2009/11/quick-guide-to-setting-zones.html [Accessed 22/3/2012]"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](753,"p"),i["\u0275\u0275text"](754,"[7] Karvonen Formula"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](755,"p"),i["\u0275\u0275text"](756,"[7a] Heart Rate - Wikipedia [WWW] http://en.wikipedia.org/wiki/Heart_rate [Accessed 22/3/2012]"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](757,"p"),i["\u0275\u0275text"](758,"[7b] BENSON, R & CONNOLY, D [2011] \u201cHeart Rate Training\u201d. p. 26,27."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](759,"p"),i["\u0275\u0275text"](760,"[8] Zoladz Formula | Heart Rate - Wikipedia [WWW] http://en.wikipedia.org/wiki/Heart_rate [Accessed 22/3/2012]"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](761,"p"),i["\u0275\u0275text"](762,"[9] ABCC/BCF Guidelines | British Cycling Federation Training Guidelines [WWW] http://www.machinehead-software.co.uk/bcfguide.html Forward by Nigel Jones [Accessed 22/3/2012]"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](763,"p"),i["\u0275\u0275text"](764,"[10] Joe Friel Biking Zones | A Quick Guide to Setting Zones 11/29/09 [WWW] http://www.trainingbible.com/joesblog/2009/11/quick-guide-to-setting-zones.html [Accessed 22/3/2012]"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",t.showLoadingOverlay),i["\u0275\u0275advance"](46),i["\u0275\u0275textInterpolate1"](" Easily set custom heart rate zones on ",t.ThemeService.baseAppName," and Fitdigits apps"),i["\u0275\u0275advance"](19),i["\u0275\u0275property"]("ngModel",t.MHR),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngModel",t.Age),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngModel",t.RHR),i["\u0275\u0275advance"](67),i["\u0275\u0275textInterpolate1"]("\xa0",t.MHR,""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](149,105,.9*t.MHR,"1.0-0"),"-",t.MHR,""),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](156,108,.8*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](157,111,.9*t.MHR,"1.0-0")," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](164,114,.7*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](165,117,.8*t.MHR,"1.0-0")," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](172,120,.6*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](173,123,.7*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](180,126,.5*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](181,129,.6*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](17),i["\u0275\u0275textInterpolate1"]("\xa0",t.MHR,""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](201,132,.9*(t.MHR-t.RHR)+t.RHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](202,135,t.MHR-t.RHR+t.RHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](209,138,.8*(t.MHR-t.RHR)+t.RHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](210,141,.9*(t.MHR-t.RHR)+t.RHR,"1.0-0")," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](217,144,.7*(t.MHR-t.RHR)+t.RHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](218,147,.8*(t.MHR-t.RHR)+t.RHR,"1.0-0")," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](225,150,.6*(t.MHR-t.RHR)+t.RHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](226,153,.7*(t.MHR-t.RHR)+t.RHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](233,156,.5*(t.MHR-t.RHR)+t.RHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](234,159,.6*(t.MHR-t.RHR)+t.RHR,"1.0-0"),""),i["\u0275\u0275advance"](17),i["\u0275\u0275textInterpolate1"]("\xa0",t.MHR,""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"]("",t.MHR-15,"-",t.MHR,""),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate2"]("",t.MHR-25,"-",t.MHR-15,""),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate2"]("",t.MHR-35,"-",t.MHR-25,""),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate2"]("",t.MHR-45,"-",t.MHR-35,""),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate2"]("",t.MHR-55,"-",t.MHR-45,""),i["\u0275\u0275advance"](64),i["\u0275\u0275textInterpolate1"]("\xa0",t.MHR,""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](346,162,.95*t.MHR,"1.0-0"),"-",t.MHR,""),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](353,165,.85*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](354,168,.95*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](361,171,.75*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](362,174,.85*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](369,177,.6*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](370,180,.75*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](377,183,.4*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](378,186,.6*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](19),i["\u0275\u0275textInterpolate1"]("\xa0",t.MHR,""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](400,189,.85*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](401,192,.8075*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](409,195,.8075*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](410,198,.85*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](418,201,.765*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](419,204,.8075*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](427,207,.85*.85*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](428,210,.765*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](436,213,.425*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](437,216,.85*.85*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](20),i["\u0275\u0275textInterpolate1"]("\xa0",t.MHR,""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](460,219,.9*(t.MHR-t.RHR)+t.RHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](461,222,1*(t.MHR-t.RHR)+t.RHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](468,225,.8*(t.MHR-t.RHR)+t.RHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](469,228,.9*(t.MHR-t.RHR)+t.RHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](476,231,.7*(t.MHR-t.RHR)+t.RHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](477,234,.8*(t.MHR-t.RHR)+t.RHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](484,237,.6*(t.MHR-t.RHR)+t.RHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](485,240,.7*(t.MHR-t.RHR)+t.RHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](492,243,.5*(t.MHR-t.RHR)+t.RHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](493,246,.6*(t.MHR-t.RHR)+t.RHR,"1.0-0"),""),i["\u0275\u0275advance"](19),i["\u0275\u0275textInterpolate1"]("\xa0",t.ZoldazMHR,""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"]("",t.ZoldazMHR-15,"-",t.MHR,""),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate2"]("",t.ZoldazMHR-25,"-",t.ZoldazMHR-15,""),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate2"]("",t.ZoldazMHR-35,"-",t.ZoldazMHR-25,""),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate2"]("",t.ZoldazMHR-45,"-",t.ZoldazMHR-35,""),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate2"]("",t.ZoldazMHR-55,"-",t.ZoldazMHR-45,""),i["\u0275\u0275advance"](72),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](611,249,.94*t.MHR,"1.0-0"),"-",t.MHR,"+"),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](618,252,.89*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](619,255,.94*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](626,258,.82*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](627,261,.89*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](634,264,.75*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](635,267,.82*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](642,270,.65*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](643,273,.75*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](650,276,.6*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](651,279,.65*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](19),i["\u0275\u0275textInterpolate1"]("> ",t.MHR,""),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](675,282,.85*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](676,285,.901*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](683,288,.94*.85*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](684,291,.85*t.MHR,"1.0-0")," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](691,294,.765*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](692,297,.94*.85*t.MHR,"1.0-0")," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](699,300,.6885*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](700,303,.765*t.MHR,"1.0-0"),""),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](707,306,.51*t.MHR,"1.0-0")," -",i["\u0275\u0275pipeBind2"](708,309,.6885*t.MHR,"1.0-0"),""))},directives:[rx,S.f,de.t,de.c,de.o,de.r],pipes:[y.DecimalPipe],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}","#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:960px;margin:auto;text-align:left}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;border-top:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;font-size:26px;background-color:#e2e3e4}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;padding:10px 40px;max-width:1100px}.mobile-wrap[_ngcontent-%COMP%]{width:100%;float:left}.references[_ngcontent-%COMP%]{border:1px solid;border-radius:4px;background-color:rgba(234,235,236,.1);padding:20px;margin:40px 0}.maxHRAge[_ngcontent-%COMP%]{width:80px}.maxHRInputDiv[_ngcontent-%COMP%]{width:100%;float:left;text-align:left;padding-top:20px;margin-left:0;margin-top:0;margin-bottom:0;padding-left:0;padding-right:0;background-color:rgba(234,235,236,.1);background-size:cover;display:block;clear:both}.topMaxHRTable[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border:0 solid #b2b2b2;padding:0;vertical-align:top}.maxHRInputForm[_ngcontent-%COMP%]{float:left;width:240px;text-align:right;padding-top:10px}.maxHRInput[_ngcontent-%COMP%]{font-size:30px;height:40px;margin-bottom:30px}.maxHRInput[_ngcontent-%COMP%], .maxHRInputField[_ngcontent-%COMP%]{width:90px;background-color:transparent}.maxHRInputField[_ngcontent-%COMP%]{float:left}.zoneSubmit[_ngcontent-%COMP%]{float:left;padding-left:80px}.zoneInputLabel[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-right:20px;margin-top:7px}.zoneSubmitBtn[_ngcontent-%COMP%]{background-color:#4597cb;color:#fff;width:90px;height:40px}.zoneTable[_ngcontent-%COMP%]{width:100%}.zoneTable[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{height:100px;border-right:1px solid #b2b2b2;border-top:1px solid #b2b2b2;vertical-align:middle;padding:5px}.HRzone-Max[_ngcontent-%COMP%]{text-align:center;vertical-align:middle;padding:8px;height:50px}.HRzonebpm-Row[_ngcontent-%COMP%]{font-size:30px;text-align:center;font-weight:700;margin-bottom:0;color:#ff8500}.customHRNotes[_ngcontent-%COMP%]{width:180px;float:right;margin-top:0;margin-left:20px}.zoneTitleTd[_ngcontent-%COMP%]{width:20%}.zoneTitleTd3up[_ngcontent-%COMP%]{width:27%}.zoneTitleTd2up[_ngcontent-%COMP%]{width:40%}.HRzone[_ngcontent-%COMP%]{font-size:12px;text-align:center;vertical-align:middle;padding:8px;height:75px}.HRzonebpm[_ngcontent-%COMP%]{font-size:30px;margin-bottom:4px;color:#4597cb}.HRzone-bluetitle[_ngcontent-%COMP%], .HRzonebpm[_ngcontent-%COMP%]{text-align:center;font-weight:700}.HRzone-bluetitle[_ngcontent-%COMP%]{padding-left:10px;padding-right:5px;background-color:#4597cb}h1[_ngcontent-%COMP%]{font-size:48px!important}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{color:#4597cb}h3[_ngcontent-%COMP%]{margin:20px 0}.welcomeLogo[_ngcontent-%COMP%]{position:absolute;top:20px;left:20px}.signin-header[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff}.header-band[_ngcontent-%COMP%]{background-color:#eaebec;text-align:center;width:100%;margin-top:70px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%]{background-color:transparent}.supportHeaderIcon[_ngcontent-%COMP%]{margin-top:-2px}.leftFooter[_ngcontent-%COMP%]{float:left;max-width:50%;text-align:left;padding:18px}.rightFooter[_ngcontent-%COMP%]{float:right;text-align:right}.centerFoooterImg[_ngcontent-%COMP%]{margin:-40px auto 0;text-align:center}.downloadFooter[_ngcontent-%COMP%]{padding:0 20px;max-height:140px;margin-bottom:-70px}@media (max-width:600px){.centerFoooterImg[_ngcontent-%COMP%], .leftFooter[_ngcontent-%COMP%]{visibility:hidden;width:0}}@media (max-width:600px){.partner-wrap[_ngcontent-%COMP%]{padding:10px}h3[_ngcontent-%COMP%]{font-size:18px}.zoneTable[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{height:120px}.maxHRAge[_ngcontent-%COMP%]{width:240px}}@media (max-width:767px){.HRzonebpm[_ngcontent-%COMP%], .HRzonebpm-Row[_ngcontent-%COMP%]{font-size:24px}}@media (max-width:340px){.HRzonebpm[_ngcontent-%COMP%], .HRzonebpm-Row[_ngcontent-%COMP%]{font-size:14px}.zoneTable[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:1px}.fourTable[_ngcontent-%COMP%]{margin-left:-10px}.maxHRInputForm[_ngcontent-%COMP%]{width:100%;text-align:center;float:none}.maxHRInputField[_ngcontent-%COMP%]{width:100%;background-color:transparent}.maxHRInput[_ngcontent-%COMP%], .maxHRInputField[_ngcontent-%COMP%], .zoneSubmit[_ngcontent-%COMP%]{text-align:center}.zoneSubmit[_ngcontent-%COMP%]{width:100%;padding-left:0;padding-bottom:10px}}"]}),e}();function sx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td",9),i["\u0275\u0275element"](2,"img",49),i["\u0275\u0275elementStart"](3,"p",16),i["\u0275\u0275elementStart"](4,"a",50),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementStart"](7,"sup"),i["\u0275\u0275text"](8,"***"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](9,"br"),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](12,"td"),i["\u0275\u0275elementStart"](13,"td",12),i["\u0275\u0275element"](14,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,2,"ROOT.YouTube Workouts"),""),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("***",i["\u0275\u0275pipeBind1"](11,4,"ROOT.iCardio app only")," "))}function lx(e,t){1&e&&i["\u0275\u0275element"](0,"img",51)}function cx(e,t){1&e&&i["\u0275\u0275element"](0,"img",51)}function dx(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td",9),i["\u0275\u0275elementStart"](2,"a",18),i["\u0275\u0275element"](3,"img",19),i["\u0275\u0275elementStart"](4,"div",20),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"td"),i["\u0275\u0275text"](7," \xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"td",12),i["\u0275\u0275element"](9,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",n.Advanced_workouts_txt," ")}}var ux=function(e){return{color:e}},px=function(){function e(e,t,n,i){var r=this;this.titleService=e,this.ThemeService=t,this.PermissionsService=n,this.translate=i,this.isDarkTheme=!1,this.isStarTrainer=!1,this.Mission_txt="Our Mission: Providing the best tracking & training health apps in the world, helping you live your best life.",this.Ad_free_txt="Advertising Free",this.Heart_training_txt="Heart Rate Training & Tracking",this.Steps_Daily_Activity_txt="Steps, Daily Activity & Partner Linking",this.Fitness_Assessments_txt="Fitness Assessments",this.Speed_Cadence_txt="Speed & Cadence",this.Footpod_Support_txt="Footpod Support",this.Advanced_workouts_txt="Advanced Structured Workouts \u2022 HIIT, LISS & More**",this.Weather_Support_txt="Weather Support",this.Post_Workout_Pictures_txt="Post Workout Picture Upload",this.LiveTracking_txt="LiveTracking",this.Advanced_Audio_txt="Advanced Audio Coaching",this.Advanced_hr_txt="Advanced Heart Rate Analysis",this.Power_Zones_and_Watts_txt="Power Zones & Watts Support",this.Partner_Auto_Share_txt="Partner Auto-Share",this.Team_Group_Leaderboard_txt="Team Group & Leaderboard Creation",this.Percent_off_txt="*20% Off Star Membership for the 1st Year",this.IOS_only_txt="** These features currently Available for iOS Only",this.IOS_only2_txt="** Android currently supports Cadence, Heart Rate and Power sensors. Foot pods, Speed and Speed & Cadence support coming soon.",this.Manage_Subscription_txt="Managing Your Subscription",this.Friends_and_Followers_txt="Friends, Followers & Following",this.Get_Your_Social_On_txt="Get Your Social On",this.Youtube_Integration_txt="YouTube Integration",this.Location_and_gps_txt="Location, mapping and GPS",this.Workout_with_your_favorite_txt="Workout With Your Favorite YouTube Trainers!",this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){r.localize(e.lang)}),this.isStarTrainer=this.PermissionsService.starTrainerAccess}return e.prototype.ngOnInit=function(){this.isDarkTheme=this.ThemeService.isDarkTheme},e.prototype.localize=function(e){"es"===e?(this.Mission_txt="Nuestra misi\xf3n: Proporcionar las mejores aplicaciones de salud de seguimiento y capacitaci\xf3n en el mundo, ayud\xe1ndole a vivir su mejor vida.",this.Ad_free_txt="Publicidad Gratis",this.Heart_training_txt="Entrenamiento de Ritmo Card\xedaco & Seguimiento",this.Steps_Daily_Activity_txt="Pasos, Actividad Diaria & Vinculaci\xf3n de Socios",this.Fitness_Assessments_txt="Evaluaciones de Aptitud",this.Speed_Cadence_txt="Velocidad & Cadencia",this.Footpod_Support_txt="Soporte de Footpod",this.Advanced_workouts_txt="Entrenamientos estructurados avanzados \u2022 HIIT, LISS y M\xe1s**",this.Weather_Support_txt="Soporte Meteorol\xf3gico",this.Post_Workout_Pictures_txt="Publicar Carga de Imagen de Entrenamiento",this.LiveTracking_txt="LiveTracking",this.Advanced_Audio_txt="Entrenamiento de Audio Avanzado",this.Advanced_hr_txt="An\xe1lisis Avanzado de Frecuencia Card\xedaca",this.Power_Zones_and_Watts_txt="Zonas de Potencia & Watts Support",this.Partner_Auto_Share_txt="Partner Auto-Share",this.Team_Group_Leaderboard_txt="Grupo de Equipo & Creaci\xf3n de tablas de Clasificaci\xf3n",this.Percent_off_txt="*20% de Descuento en Membres\xeda de Estrellas para el Primer A\xf1o",this.IOS_only_txt="** Estas Caracter\xedsticas Actualmente est\xe1n disponibles solo para iOS",this.IOS_only2_txt="** Actualmente, Android es compatible con los sensores de cadencia, frecuencia card\xedaca y potencia. Pr\xf3ximos pod\xf3metros, velocidad y velocidad y cadencia pr\xf3ximamente.",this.Manage_Subscription_txt="Administrar su Suscripci\xf3n",this.Friends_and_Followers_txt="Amigos, seguidores y seguidores",this.Get_Your_Social_On_txt="Pon tu social en",this.Youtube_Integration_txt="Integraci\xf3n de YouTube",this.Location_and_gps_txt="Ubicaci\xf3n, cartograf\xeda y GPS",this.Workout_with_your_favorite_txt="\xa1Entrenamiento con tus entrenadores favoritos de YouTube!"):"fr"===e?(this.Mission_txt="Notre mission: fournir les meilleures applications de sant\xe9 de suivi et de formation au monde, pour vous aider \xe0 vivre votre meilleure vie.",this.Ad_free_txt="Publicit\xe9 Gratuite",this.Heart_training_txt="Entra\xeenement de Fr\xe9quence Cardiaque & Suivi",this.Steps_Daily_Activity_txt="\xc9tapes, Activit\xe9 Quotidienne & Liens Avec les Partenaires",this.Fitness_Assessments_txt="\xc9valuations de la Condition Physique",this.Speed_Cadence_txt="La Vitesse & Cadence",this.Footpod_Support_txt="Assistance Footpod",this.Advanced_workouts_txt="Entra\xeenements structur\xe9s avanc\xe9s \u2022 HIIT, LISS et plus**",this.Weather_Support_txt="Assistance M\xe9t\xe9o",this.Post_Workout_Pictures_txt="T\xe9l\xe9chargement d'Image Apr\xe8s l'Entra\xeenement",this.LiveTracking_txt="LiveTracking",this.Advanced_Audio_txt="Coaching Audio Avanc\xe9",this.Advanced_hr_txt="Analyse Avanc\xe9e de la Fr\xe9quence Cardiaque",this.Power_Zones_and_Watts_txt="Zones de Puissance & Prise en Charge de Watts",this.Partner_Auto_Share_txt="Partage Automatique des Partenaires",this.Team_Group_Leaderboard_txt="\xc9quipe & Cr\xe9ation de Classements",this.Percent_off_txt="*20% de R\xe9duction sur l'Adh\xe9sion Star pour la 1\xe8re Ann\xe9e",this.IOS_only_txt="** Ces fonctionnalit\xe9s sont actuellement disponibles pour iOS uniquement",this.IOS_only2_txt="** Android prend actuellement en charge les capteurs de cadence, de fr\xe9quence cardiaque et de puissance. Les p\xe9dales, la vitesse et la prise en charge de la vitesse et de la cadence seront bient\xf4t disponibles.",this.Manage_Subscription_txt="G\xe9rer votre Abonnement",this.Friends_and_Followers_txt="Amis, abonn\xe9s et abonn\xe9s",this.Get_Your_Social_On_txt="Obtenez votre social sur",this.Youtube_Integration_txt="Int\xe9gration YouTube",this.Location_and_gps_txt="Localisation, cartographie et GPS",this.Workout_with_your_favorite_txt="Entra\xeenez-vous avec vos entra\xeeneurs YouTube pr\xe9f\xe9r\xe9s!"):"it"===e?(this.Mission_txt="La nostra missione: fornire le migliori app dimonitoraggio e formazione sulla salute del mondo, aiutandoti a vivere la tua vita migliore.",this.Ad_free_txt="Pubblicit\xe0 Gratuita",this.Heart_training_txt="Allenamento della Frequenza Cardiaca & Puntamento",this.Steps_Daily_Activity_txt="Passaggi, Attivit\xe0 Quotidiana & Collegamento dei Partner",this.Fitness_Assessments_txt="Valutazioni di Idoneit\xe0",this.Speed_Cadence_txt="Velocit\xe0 & Cadenza",this.Footpod_Support_txt="Supporto footpod",this.Advanced_workouts_txt="Allenamenti strutturati avanzati \u2022 HIIT, LISS e altro**",this.Weather_Support_txt="Supporto Meteorologico",this.Post_Workout_Pictures_txt="Carica Foto Dopo Allenamento",this.LiveTracking_txt="LiveTracking",this.Advanced_Audio_txt="Coaching Audio Avanzato",this.Advanced_hr_txt="Analisi Avanzata della Frequenza Cardiaca",this.Power_Zones_and_Watts_txt="Zone di Potenza & Supporto Watts",this.Partner_Auto_Share_txt="Condivisione Automatica dei Partner",this.Team_Group_Leaderboard_txt="Team Team. Creazione della Classifica",this.Percent_off_txt="*Sconto del 20% sull'iscrizione Star per il primo anno",this.IOS_only_txt="** Queste funzionalit\xe0 sono attualmente disponibili solo per iOS",this.IOS_only2_txt="** Android attualmente supporta i sensori di cadenza, frequenza cardiaca e potenza. Foot pod, supporto per Speed e Speed & Cadence in arrivo.",this.Manage_Subscription_txt="Gestione dell'abbonamento",this.Friends_and_Followers_txt="Amici, follower e follower",this.Get_Your_Social_On_txt="attiva i tuoi social",this.Youtube_Integration_txt="Integrazione di YouTube",this.Location_and_gps_txt="Posizione, mappatura e GPS",this.Workout_with_your_favorite_txt="Allenati con i tuoi trainer YouTube preferiti!"):"de"===e&&(this.Mission_txt="Unsere Mission: Bereitstellung der besten Tracking- und Trainings-Gesundheits-Apps der Welt, damit Sie Ihr bestes Leben f\xfchren k\xf6nnen.",this.Ad_free_txt="Werbung Kostenlos",this.Heart_training_txt="Herzfrequenztraining & Verfolgung",this.Steps_Daily_Activity_txt="Schritte, T\xe4gliche Aktivit\xe4t & Verkn\xfcpfen der Partner",this.Fitness_Assessments_txt="Fitness-Bewertungen",this.Speed_Cadence_txt="Geschwindigkeit & Kadenz",this.Footpod_Support_txt="Footpod-Unterst\xfctzung",this.Advanced_workouts_txt="Fortgeschrittene strukturierte Workouts \u2022 HIIT, LISS & Mehr**",this.Weather_Support_txt="Wetterunterst\xfctzung",this.Post_Workout_Pictures_txt="Bild-Upload Nach dem Training",this.LiveTracking_txt="LiveTracking",this.Advanced_Audio_txt="Erweitertes Audio-Coaching",this.Advanced_hr_txt="Erweiterte Herzfrequenzanalyse",this.Power_Zones_and_Watts_txt="Power Zones & Watt Unterst\xfctzung",this.Partner_Auto_Share_txt="Partner Auto-Share",this.Team_Group_Leaderboard_txt="Team-Gruppe & Leaderboard-Erstellung",this.Percent_off_txt="*20% Rabatt auf die Star-Mitgliedschaft f\xfcr das 1. Jahr",this.IOS_only_txt="** Diese Funktionen sind derzeit nur f\xfcr iOS Verf\xfcgbar",this.IOS_only2_txt="** Android unterst\xfctzt derzeit Trittfrequenz-, Herzfrequenz- und Leistungssensoren. Foot Pods, Speed und Speed & Cadence werden in K\xfcrze unterst\xfctzt.",this.Manage_Subscription_txt="Verwalten Ihres Abonnements",this.Friends_and_Followers_txt="Freunde, Follower & Follower",this.Get_Your_Social_On_txt="Holen Sie sich Ihr Social On",this.Youtube_Integration_txt="YouTube-Integration",this.Location_and_gps_txt="Standort, Kartierung und GPS",this.Workout_with_your_favorite_txt="Training mit deinen Lieblings-YouTube-Trainern!")},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](M.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-memberships"]],decls:164,vars:68,consts:[[3,"ngClass"],[1,"contentOverview",3,"ngStyle"],[2,"text-align","center"],["border","0","src","https://storage.googleapis.com/media_manager/emails/monthly-banner.png",1,"eadjustto100pc","promoBannerMobile"],[1,"membershipTh","memebershipSummary",2,"background-image","url('/images/star-member-128.png')","border-right","none"],[1,"smallupgradetext"],[1,"smallupgradetext",2,"font-style","italic"],[1,"upgradefeaturetable"],["colspan","3",1,"upgradetypehead",2,"padding","0px","height","20px"],[1,"upgradefeature","upgradetableleft"],["src","/static/img/icons/squareDistanceIcon.png",1,"membership-icon"],[1,"featureTextContainer",2,"margin-top","5px"],[1,"upgradetableright"],["src","/static/img/steps-icon.png",1,"membership-icon"],["routerLink","/daily-activity/overview",1,"featureText"],["src","/static/img/health-partners-icon.png",1,"membership-icon"],[2,"margin-bottom","0px"],["routerLink","/member/overview",1,"featureText"],["routerLink","/routes",1,"featureText"],["src","/static/img/structured-workouts-icon.png",1,"membership-icon","structured-workout-icon"],[1,"featureTextContainer"],["src","/images/star-member-128.png","width","30","height","29","alt","Yes","align","center"],[4,"ngIf"],["href","https://www.fitdigits.com/cardio-fitness.html",1,"featureText"],["src","/static/img/icons/heartRateIcon.png",1,"membership-icon"],[1,"featureTextContainer","twoLineTextMember"],["href","https://www.fitdigits.com/fitness-assessments.html"],["src","/static/img/assessments-icon.png",1,"membership-icon"],["alt","Yes","height","29","src","/static/img/green-check-small.png","width","30","align","center",4,"ngIf"],["routerLink","/fitness-sensors/speed-and-cadence",1,"featureText",2,"display","inline"],["src","/static/img/icons/speed-cadence.png",1,"membership-icon"],["routerLink","/fitness-sensors/footpods",1,"featureText",2,"display","inline"],["src","/static/img/icons/power-yellow.png",1,"membership-icon"],["routerLink","/fitness-sensors/power-meters",1,"featureText"],["routerLink","/livetracking/overview"],["src","/static/img/Asset-1livetracking.png",1,"membership-icon"],[1,"featureTextContainer","oneLineTextMember"],["src","/static/email/graphics/voice_coaching.png",1,"membership-icon"],["routerLink","/overview/audio-coaching"],["src","/static/img/icons/assessmentIcon.png",1,"membership-icon"],["routerLink","/overview/advanced-heart-rate-analysis",1,"featureText"],["src","/static/img/team-group-icon.png",1,"membership-icon"],["href","https://my.fitdigits.com/teams/overview",1,"featureText"],[1,"manageSubLink"],["href","https://my.fitdigits.com/profile/overview/managesubscriptions"],["src","/images/upgrade-directions-v10.png",2,"margin","20px auto","max-width","100%"],["href","https://www.fitdigits.com/cardio-fitness.html"],["src","/images/4keys-banner.png",2,"max-width","100%"],[2,"font-size","0.8em"],["src","/static/img/youtube_icon_sm.png",1,"membership-icon"],["routerLink","/youtube",1,"featureText"],["alt","Yes","height","29","src","/static/img/green-check-small.png","width","30","align","center"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275element"](3,"img",3),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275elementStart"](7,"span",5),i["\u0275\u0275elementStart"](8,"span"),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](11,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"span",6),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"lowercase"),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"table",7),i["\u0275\u0275elementStart"](18,"tr"),i["\u0275\u0275elementStart"](19,"td",8),i["\u0275\u0275text"](20),i["\u0275\u0275pipe"](21,"uppercase"),i["\u0275\u0275pipe"](22,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"tr"),i["\u0275\u0275elementStart"](24,"td",9),i["\u0275\u0275element"](25,"img",10),i["\u0275\u0275elementStart"](26,"div",11),i["\u0275\u0275text"](27),i["\u0275\u0275pipe"](28,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"td"),i["\u0275\u0275text"](30,"\xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"td",12),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"tr"),i["\u0275\u0275elementStart"](35,"td",9),i["\u0275\u0275element"](36,"img",13),i["\u0275\u0275elementStart"](37,"a",14),i["\u0275\u0275text"](38),i["\u0275\u0275pipe"](39,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"td"),i["\u0275\u0275text"](41,"\xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"td",12),i["\u0275\u0275text"](43),i["\u0275\u0275pipe"](44,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"tr"),i["\u0275\u0275elementStart"](46,"td",9),i["\u0275\u0275element"](47,"img",15),i["\u0275\u0275elementStart"](48,"p",16),i["\u0275\u0275elementStart"](49,"a",17),i["\u0275\u0275text"](50),i["\u0275\u0275pipe"](51,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"td"),i["\u0275\u0275text"](53,"\xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](54,"td",12),i["\u0275\u0275text"](55),i["\u0275\u0275pipe"](56,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](57,"tr"),i["\u0275\u0275elementStart"](58,"td",9),i["\u0275\u0275elementStart"](59,"a",18),i["\u0275\u0275element"](60,"img",19),i["\u0275\u0275elementStart"](61,"div",20),i["\u0275\u0275text"](62),i["\u0275\u0275pipe"](63,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](64,"td"),i["\u0275\u0275text"](65," \xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](66,"td",12),i["\u0275\u0275element"](67,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](68,sx,15,6,"tr",22),i["\u0275\u0275elementStart"](69,"tr"),i["\u0275\u0275elementStart"](70,"td",9),i["\u0275\u0275elementStart"](71,"a",23),i["\u0275\u0275element"](72,"img",24),i["\u0275\u0275elementStart"](73,"div",25),i["\u0275\u0275text"](74),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](75,"td"),i["\u0275\u0275elementStart"](76,"td",12),i["\u0275\u0275element"](77,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](78,"tr"),i["\u0275\u0275elementStart"](79,"td",9),i["\u0275\u0275elementStart"](80,"a",26),i["\u0275\u0275element"](81,"img",27),i["\u0275\u0275elementStart"](82,"div",25),i["\u0275\u0275text"](83),i["\u0275\u0275pipe"](84,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](85,"td"),i["\u0275\u0275template"](86,lx,1,0,"img",28),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](87,"td",12),i["\u0275\u0275element"](88,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](89,"tr"),i["\u0275\u0275elementStart"](90,"td",9),i["\u0275\u0275elementStart"](91,"a",29),i["\u0275\u0275element"](92,"img",30),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](93,"div",25),i["\u0275\u0275elementStart"](94,"a",29),i["\u0275\u0275text"](95),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](96,", "),i["\u0275\u0275elementStart"](97,"a",31),i["\u0275\u0275text"](98),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](99,"td"),i["\u0275\u0275template"](100,cx,1,0,"img",28),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](101,"td",12),i["\u0275\u0275element"](102,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](103,"tr"),i["\u0275\u0275elementStart"](104,"td",9),i["\u0275\u0275element"](105,"img",32),i["\u0275\u0275elementStart"](106,"a",33),i["\u0275\u0275elementStart"](107,"div",25),i["\u0275\u0275text"](108),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](109,"td"),i["\u0275\u0275elementStart"](110,"td",12),i["\u0275\u0275element"](111,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](112,"tr"),i["\u0275\u0275elementStart"](113,"td",9),i["\u0275\u0275elementStart"](114,"a",34),i["\u0275\u0275element"](115,"img",35),i["\u0275\u0275elementStart"](116,"div",36),i["\u0275\u0275text"](117),i["\u0275\u0275pipe"](118,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](119,"td"),i["\u0275\u0275elementStart"](120,"td",12),i["\u0275\u0275element"](121,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](122,dx,10,1,"tr",22),i["\u0275\u0275elementStart"](123,"tr"),i["\u0275\u0275elementStart"](124,"td",9),i["\u0275\u0275element"](125,"img",37),i["\u0275\u0275elementStart"](126,"a",38),i["\u0275\u0275elementStart"](127,"div",25),i["\u0275\u0275text"](128),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](129,"td"),i["\u0275\u0275elementStart"](130,"td",12),i["\u0275\u0275element"](131,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](132,"tr"),i["\u0275\u0275elementStart"](133,"td",9),i["\u0275\u0275element"](134,"img",39),i["\u0275\u0275elementStart"](135,"a",40),i["\u0275\u0275text"](136),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](137,"td"),i["\u0275\u0275elementStart"](138,"td",12),i["\u0275\u0275element"](139,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](140,"tr"),i["\u0275\u0275elementStart"](141,"td",9),i["\u0275\u0275element"](142,"img",41),i["\u0275\u0275elementStart"](143,"a",42),i["\u0275\u0275text"](144),i["\u0275\u0275pipe"](145,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](146,"td"),i["\u0275\u0275elementStart"](147,"td",12),i["\u0275\u0275element"](148,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](149,"br"),i["\u0275\u0275elementStart"](150,"div"),i["\u0275\u0275text"](151),i["\u0275\u0275pipe"](152,"translate"),i["\u0275\u0275element"](153,"br"),i["\u0275\u0275elementStart"](154,"div",43),i["\u0275\u0275elementStart"](155,"a",44),i["\u0275\u0275text"](156),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](157,"div",2),i["\u0275\u0275element"](158,"img",45),i["\u0275\u0275element"](159,"br"),i["\u0275\u0275elementStart"](160,"a",46),i["\u0275\u0275element"](161,"img",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](162,"p",48),i["\u0275\u0275text"](163,"\n* Offer valid only for new memberships. Subject to change without notice."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](66,ux,1==t.isDarkTheme?"#FFF":"#000")),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"]("$29.99 USD / ",i["\u0275\u0275pipeBind1"](10,32,"ROOT.year"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](14,34,i["\u0275\u0275pipeBind1"](15,36,"ROOT.Or"))," $4.99 / ",i["\u0275\u0275pipeBind1"](16,38,"ROOT.month"),""),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" \xa0",i["\u0275\u0275pipeBind1"](21,40,i["\u0275\u0275pipeBind1"](22,42,"ROOT.Features"))," "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](28,44,"ROOT.Mapping & Activity Tracking")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](33,46,"ROOT.Free")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](39,48,"ROOT.Steps & Daily Activity"),""),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](44,50,"ROOT.Free")," "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](51,52,"ROOT.Social Networking")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](56,54,"ROOT.Free")," "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](63,56,"ROOT.Routes & Routines")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isThemeSpinning&&!t.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",t.Heart_training_txt," "),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](84,58,"ROOT.Fitness Assessments")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeSpinning),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate1"](" ",t.Speed_Cadence_txt,""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",t.Footpod_Support_txt,""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeSpinning),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"](" ",t.Power_Zones_and_Watts_txt," "),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](118,60,"ROOT.Livetracking")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!t.isStarTrainer),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",t.Advanced_Audio_txt," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](t.Advanced_hr_txt),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](145,62,"ROOT.Teams and Leaderboards"),""),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate5"](" ",i["\u0275\u0275pipeBind1"](152,64,"ROOT.Memberships also include"),": ",t.Post_Workout_Pictures_txt," \u2022 ",t.Weather_Support_txt," \u2022 ",t.Ad_free_txt," \u2022 ",t.Partner_Auto_Share_txt," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",t.Manage_Subscription_txt," "))},directives:[y.NgClass,y.NgStyle,S.f,y.NgIf],pipes:[M.c,y.LowerCasePipe,y.UpperCasePipe],styles:["a[_ngcontent-%COMP%]{color:#4597cb;text-decoration:none}.promoBanner[_ngcontent-%COMP%]{max-width:100%;visibility:visible}.upgradefeaturetable[_ngcontent-%COMP%]{width:100%;margin-bottom:30px}.upgradefeaturetable[_ngcontent-%COMP%], .upgradefeaturetable[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{font-family:Helvetica Neue,Helvetica,Arial,sans-serif}.upgradefeaturetable[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{background-color:transparent!important;font-weight:400;font-size:24px;padding:8px;text-align:center}.upgradefeaturetable[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background-color:rgba(69,151,203,.3)}.upgradefeaturethead[_ngcontent-%COMP%]:hover{background-color:transparent!important}.upgradefeaturetable[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:400;font-size:16px;margin:auto;padding:8px;text-align:center;border-bottom:1px solid #b2b2b2;height:100px}.featureTextContainer[_ngcontent-%COMP%]{margin:auto}.upgradetypehead[_ngcontent-%COMP%]{background-color:#98bfde!important;color:#fff;font-weight:400;font-size:24px!important;padding:8px;border-top:1px solid #4597cb!important;border-bottom:1px solid #4597cb!important;border-right:1px solid #b2b2b2}.upgradefeature[_ngcontent-%COMP%], .upgradetypehead[_ngcontent-%COMP%]{text-align:left!important}.upgradetableleft[_ngcontent-%COMP%]{border-left:none!important}.upgradetableright[_ngcontent-%COMP%]{border-right:none!important;border-left:1px dotted #b2b2b2}.smallupgradetext[_ngcontent-%COMP%]{font-size:16px}.membershipTh[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:48px 48px;background-position:top;min-width:120px}.membershipTh[_ngcontent-%COMP%]:hover{background-color:transparent!important}.featureText[_ngcontent-%COMP%]{display:block;margin-top:5px}.featureText[_ngcontent-%COMP%], .plusFeatureText[_ngcontent-%COMP%]{cursor:pointer}.contentOverview[_ngcontent-%COMP%]{max-width:960px;padding:30px 20px;margin:auto}h2[_ngcontent-%COMP%]{margin-bottom:30px}.manageSubLink[_ngcontent-%COMP%]{display:block;width:200px;border:1px solid;padding:5px;margin:20px auto;text-align:center;max-width:100%}.membership-icon[_ngcontent-%COMP%]{width:32px;float:left;margin-right:10px;margin-bottom:10px}.memebershipSummary[_ngcontent-%COMP%]{text-align:center;padding-top:20px;margin-top:10px;width:100%;float:left;font-size:16px}@media (max-width:769px){.contentOverview[_ngcontent-%COMP%]{padding:10px 5px}h2[_ngcontent-%COMP%]{margin-top:0;font-size:18px}.promoBanner[_ngcontent-%COMP%]{visibility:hidden;margin-bottom:0;clear:both}.promoBannerMobile[_ngcontent-%COMP%]{visibility:visible;height:auto;width:100%;margin-bottom:15px}}@media (max-width:910px){.promoBanner[_ngcontent-%COMP%]{margin-bottom:20px;clear:both;width:100%}}@media (max-width:670px){.membershipTh[_ngcontent-%COMP%]{line-height:1;padding-top:20px!important;padding:2px;min-width:90px}.smallupgradetext[_ngcontent-%COMP%]{font-size:14px}.upgradefeaturetable[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{height:150px;text-align:center!important}.membership-icon[_ngcontent-%COMP%]{width:50px;float:none;margin:auto auto 5px}}@media (max-width:330px){.membershipTh[_ngcontent-%COMP%]{font-size:20px!important;padding-top:30px!important}.upgradefeaturetable[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{font-size:14px;padding-left:0;padding-right:0}}"]}),e}(),hx=function(){function e(e,t,n){this.titleService=e,this.meta=t,this.accountService=n,this.showLoadingOverlay=!1,this.isLoggedIn=!1,this.meta.updateTag({name:"description",content:"The importance of Resting Heart Rate (RHR) in training and setting custom heart rate zones."}),this.meta.addTags([{name:"tags",content:"rhr, resting heart rate, heart rate training"}]),window.prerenderReady=!0}return e.prototype.ngOnInit=function(){this.isLoggedIn=this.accountService.isLoggedIn,this.accountService.isLoggedIn?console.log("Logged In"):console.log("Logged Out")},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](a.Meta),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-resting-heart-rates"]],decls:54,vars:1,consts:[["id","fd-partners",3,"hidden"],[1,"sectionStructure"],[1,"mobile-wrap"],[2,"margin-top","20px"],[1,"rhrBigImg"],["routerLink","/signup"],["alt","Resting Heart Rate Tracking","src","/static/img/resting-heart-rate2.png",1,"rhrImg"],[2,"text-align","center","padding","40px 0px 0px 0px"],[2,"font-weight","bold"],["routerLink","/maximum-heart-rate.html"],["routerLink","/resting-heart-rates.html"],["routerLink","/fitness-assessments.html"],["routerLink","/personalized-heart-rate-zones.html"],[1,"references"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"h1"),i["\u0275\u0275text"](4,"The Importance of Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"h3",3),i["\u0275\u0275text"](6,"When Less is More - Track your resting pulse with Fitdigits"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7," Resting Pulse is an incredibly valuable metric to not only determine your fitness level, but also your cardiovascular health. Use your Resting Heart Rate (RHR), along with your Maximum Heart Rate, to determine your Personal Heart Rate Zones. "),i["\u0275\u0275elementStart"](8,"h3"),i["\u0275\u0275text"](9,"How Do I Measure Resting Heart Rate?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](10," Resting pulse should be measured first thing in the morning with your fingers and a stopwatch. Put your middle and index finger to either your radial artery on your wrist or your carotid artery in your neck. Once you find your pulse, count how many beats occur in 20 seconds, and multiply this number by 3. This is your resting pulse. "),i["\u0275\u0275elementStart"](11,"div",4),i["\u0275\u0275elementStart"](12,"a",5),i["\u0275\u0275element"](13,"img",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"a",5),i["\u0275\u0275text"](15," Track Resting Heart Rate Online "),i["\u0275\u0275element"](16,"br"),i["\u0275\u0275text"](17,"or on our Award Winning iCardio Fitness App. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"h3"),i["\u0275\u0275text"](19,"What Should My Resting Heart Rate Be?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](20," Resting pulse varies from person to person, but according to the American Heart Association, the average resting pulse should be between 60-80 beats per minute (BPM). 68-80 BPM is by no means the only place a healthy person\u2019s pulse can be. For athletes or people who often perform cardiovascular activity, \u201ca normal resting heart rate may be closer to 40 beats a minute\u201d [1], with the most noted example being that Lance Armstrong reportedly had a resting pulse of 32 BPM when he was in peak conditioning. "),i["\u0275\u0275elementStart"](21,"h3"),i["\u0275\u0275text"](22,"What Affects My Resting Heart Rate?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](23," A variety of factors can affect your resting pulse reading, including the physical size of your heart, body size, activity level, fitness level, temperature, body position, emotions and medication use. [1] "),i["\u0275\u0275elementStart"](24,"h3"),i["\u0275\u0275text"](25,"Why it is Important to Monitor Your Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](26," The more you workout the lower your resting pulse is, and the lower your resting pulse is the less hard your heart has to work. The best way to think about is to view your heart as a muscle, and the more you work it the stronger it gets. A stronger heart means more blood with each beat, and the same amount of work can be done with fewer beats. If your heart needs more beats to do the same amount of work, over time this can lead to cardiovascular disease and/or heart attacks. A higher resting pulse than usual can be a sign of over-training or illness. When you are recovering from a workout, your metabolism and heart are working harder to repair your body and get it back to a homeostasis. Therefore, if in the morning you have a higher resting heart rate than usual, your body could still be in a state of repair and you should adjust your workout regimen accordingly to prevent over-training or injury. [2] "),i["\u0275\u0275elementStart"](27,"h3"),i["\u0275\u0275text"](28,"How Do I Lower My Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](29," The best thing to do is to work out for at least 1 hour a day, 3 days a week (and preferably more). Aerobic exercise is the very best way to maintain a healthy resting pulse. Some other ways to lower your resting pulse is to make sure you regularly get a full nights sleep, stay hydrated, quit smoking, meditation and maintain a healthy weight. [3] "),i["\u0275\u0275elementStart"](30,"div",7),i["\u0275\u0275elementStart"](31,"p",8),i["\u0275\u0275text"](32,"Related topics: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"h3"),i["\u0275\u0275elementStart"](34,"a",9),i["\u0275\u0275text"](35,"Maximum Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](36," \u2022 "),i["\u0275\u0275elementStart"](37,"a",10),i["\u0275\u0275text"](38,"Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](39," \u2022 "),i["\u0275\u0275elementStart"](40,"a",11),i["\u0275\u0275text"](41,"Fitness Assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](42," \u2022 "),i["\u0275\u0275elementStart"](43,"a",12),i["\u0275\u0275text"](44,"Personalized Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"div",13),i["\u0275\u0275elementStart"](46,"p"),i["\u0275\u0275text"](47,"REFERENCES:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"p"),i["\u0275\u0275text"](49,"[1] LASKOWSKI, E.R. [WWW] Available from http://www.mayoclinic.com/health/heart-rate/AN01906 [Accessed 22/3/2012]"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"p"),i["\u0275\u0275text"](51,"[2] BENSON, R & CONNOLY, D [2011] \u201cHeart Rate Training\u201d. p. 10, 30."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"p"),i["\u0275\u0275text"](53,"[3] TELLER, R [WWW] Available from http://www.1vigor.com/article/resting-heart-rate-health-measurement/ [Accessed 22/3/2012]"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&i["\u0275\u0275property"]("hidden",t.showLoadingOverlay)},directives:[S.f],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}","#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:960px;margin:auto;text-align:left}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;border-top:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;font-size:26px;background-color:#e2e3e4}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;padding:10px 40px;max-width:1100px}.mobile-wrap[_ngcontent-%COMP%]{width:100%;float:left}.references[_ngcontent-%COMP%]{border:1px solid;border-radius:4px;background-color:rgba(234,235,236,.1);padding:20px;margin:40px 0}h1[_ngcontent-%COMP%]{font-size:48px!important}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{color:#4597cb}h3[_ngcontent-%COMP%]{margin:20px 0}.rhrImg[_ngcontent-%COMP%]{float:right;margin:20px 0 20px 20px}.rhrBigImg[_ngcontent-%COMP%]{float:right;max-width:400px;text-align:center}.welcomeLogo[_ngcontent-%COMP%]{position:absolute;top:20px;left:20px}.signin-header[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff}.header-band[_ngcontent-%COMP%]{background-color:#eaebec;text-align:center;width:100%;margin-top:70px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%]{background-color:transparent}.supportHeaderIcon[_ngcontent-%COMP%]{margin-top:-2px}.leftFooter[_ngcontent-%COMP%]{float:left;max-width:50%;text-align:left;padding:18px}.rightFooter[_ngcontent-%COMP%]{float:right;text-align:right}.centerFoooterImg[_ngcontent-%COMP%]{margin:-40px auto 0;text-align:center}.downloadFooter[_ngcontent-%COMP%]{padding:0 20px;max-height:140px;margin-bottom:-70px}@media (max-width:600px){.centerFoooterImg[_ngcontent-%COMP%], .leftFooter[_ngcontent-%COMP%]{visibility:hidden;width:0}}@media (max-width:600px){.partner-wrap[_ngcontent-%COMP%]{padding:10px}h3[_ngcontent-%COMP%]{font-size:18px}.rhrImg[_ngcontent-%COMP%]{clear:both}}@media (max-width:440px){.rhrImg[_ngcontent-%COMP%]{width:100%}}"]}),e}(),mx=function(){function e(e,t,n){this.titleService=e,this.meta=t,this.accountService=n,this.showLoadingOverlay=!1,this.preferred="",this.Age=52,this.isLoggedIn=!1,this.meta.updateTag({name:"description",content:"Multiple formulas show you what your theoretical maximum heart rate is for training and exercise."}),this.meta.addTags([{name:"otherMetaTag",content:"other Meta data"}]),window.prerenderReady=!0}return e.prototype.ngOnInit=function(){this.isLoggedIn=this.accountService.isLoggedIn,this.isLoggedIn?console.log("Logged In"):console.log("Logged Out")},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](a.Meta),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-maximum-heart-rate"]],inputs:{errorDetails:"errorDetails"},decls:197,vars:62,consts:[["id","fd-partners",3,"hidden"],[1,"sectionStructure"],[2,"float","left"],["alt","Max Heart Rate","src","/static/img/andy-heart-hands-hips.png",1,"block",2,"float","right"],["routerLink","/resting-heart-rates.html"],["routerLink","/personalized-heart-rate-zones.html"],[1,"references","maxHRNote"],["alt","heart beat","height","41","src","/static/img/pulse-icon.png","width","43"],["routerLink","/fitness-assessments.html"],[2,"padding-top","0px"],[2,"padding","0px"],["name","table"],[1,"maxHRInputForm"],["align","left","alt"," Calc Max HR by age","height","40","src","/static/img/beat-heart.png",2,"padding","5px 7px"],[1,"zoneInputLabel"],[1,"maxHRInputField"],["id","Age","name","Age","type","text","value","52",1,"maxHRInput",3,"ngModel","ngModelChange"],[2,"clear","both"],[1,"mainMaxHRSecion"],[1,"maxHRTable"],[1,"equationNameColumn"],[1,"equation"],[2,"width","180px","text-align","center","padding-top","20px","vertical-align","middle"],[1,"big-maxhr"],["target","_top",3,"routerLink"],[2,"vertical-align","middle"],["colspan","1",2,"vertical-align","middle"],[2,"text-align","center","padding-top","20px","vertical-align","middle"],["name","Lactate-Threshold"],[2,"text-align","center","padding","40px 0px 0px 0px"],[2,"font-weight","bold"],["routerLink","/maximum-heart-rate.html"],["name","LTHR"],[1,"references"],["href","https://my.fitdigits.com/fitness-assessments.html"],[2,"text-align","right"],["href","https://my.fitdigits.com/healthvitals/lthr"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"newsletter-dialog"),i["\u0275\u0275elementStart"](1,"div",0),i["\u0275\u0275elementStart"](2,"div",1),i["\u0275\u0275elementStart"](3,"div",2),i["\u0275\u0275element"](4,"img",3),i["\u0275\u0275elementStart"](5,"h1"),i["\u0275\u0275text"](6,"Calculate Your Maximum Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"br"),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9,"Knowing your Maximum Heart Rate allows you to set more accurate custom heart rate training zones for the highest level of effectiveness and enjoyment. In combination with knowing your "),i["\u0275\u0275elementStart"](10,"a",4),i["\u0275\u0275text"](11," Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](12,", it gives you a great insight into your "),i["\u0275\u0275elementStart"](13,"a",5),i["\u0275\u0275text"](14,"personalized heart rate zone sets"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](15,". It can show improvement over time and training, giving you critical feedback on your fitness level and health. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"h3"),i["\u0275\u0275text"](17,"Determining Maximum Heart Rate for "),i["\u0275\u0275elementStart"](18,"a",5),i["\u0275\u0275text"](19,"Heart Rate Training Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"div",6),i["\u0275\u0275element"](21,"img",7),i["\u0275\u0275text"](22," Your Max HR can be affected as much as 10bpm at times by factors including age, physical size of the heart, heat, personal hydration, and more. It can also change as fitness levels change. Many experts recommend doing a "),i["\u0275\u0275elementStart"](23,"a",8),i["\u0275\u0275text"](24,"Cardio Fitness Assessment"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](25," once every 4 to 6 weeks for the best results. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"h4"),i["\u0275\u0275text"](27,"Basic:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"p"),i["\u0275\u0275text"](29,"Use your age to determine approximate Max HR and related zones. See below for calculated Max HR results based on a variety of methods developed over the years. For many, this method may not provide satisfactory results, however it is a good place to start. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"h4"),i["\u0275\u0275text"](31,"Good:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"p"),i["\u0275\u0275text"](33,"Measure your Max HR using a "),i["\u0275\u0275elementStart"](34,"a",8),i["\u0275\u0275text"](35,"Cardio Assessment."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](36," There are a variety of ways to do this, all with increasing accuracy. You can get very close using some real-time measurements of your own body and perceived efforts. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"h4"),i["\u0275\u0275text"](38,"Best:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"p"),i["\u0275\u0275text"](40,"Get a Metabolic Assessment from a professional service. This will give you a pretty exacting definition of your zones measured in a highly scientific method. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"h2"),i["\u0275\u0275text"](42,"Calculating Your Maximum Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"p"),i["\u0275\u0275text"](44,"Enter your age to see some theoretical Max Heart Rate values for your age."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"div",9),i["\u0275\u0275elementStart"](46,"div",10),i["\u0275\u0275element"](47,"a",11),i["\u0275\u0275elementStart"](48,"div",12),i["\u0275\u0275element"](49,"img",13),i["\u0275\u0275elementStart"](50,"span",14),i["\u0275\u0275text"](51,"Your Age:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"div",15),i["\u0275\u0275elementStart"](53,"input",16),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.Age=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](54,"div",17),i["\u0275\u0275elementStart"](55,"div",18),i["\u0275\u0275elementStart"](56,"table",19),i["\u0275\u0275elementStart"](57,"tbody"),i["\u0275\u0275elementStart"](58,"tr"),i["\u0275\u0275elementStart"](59,"td",20),i["\u0275\u0275elementStart"](60,"p",21),i["\u0275\u0275text"](61,"Equation 1"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](62," 220 - Age "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"td",22),i["\u0275\u0275elementStart"](64,"p",23),i["\u0275\u0275text"](65),i["\u0275\u0275pipe"](66,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](67,"a",24),i["\u0275\u0275pipe"](68,"number"),i["\u0275\u0275text"](69,"Related training zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](70,"td",25),i["\u0275\u0275text"](71," The original formula, later found to have a fairly large standard deviation. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"tr"),i["\u0275\u0275elementStart"](73,"td",26),i["\u0275\u0275elementStart"](74,"p",21),i["\u0275\u0275text"](75,"Equation 2"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](76," 210-[.5 x Age] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](77,"td",27),i["\u0275\u0275elementStart"](78,"p",23),i["\u0275\u0275text"](79),i["\u0275\u0275pipe"](80,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](81,"a",24),i["\u0275\u0275pipe"](82,"number"),i["\u0275\u0275text"](83,"Related training zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](84,"td",25),i["\u0275\u0275text"](85," One of the first modifications to the original formula "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](86,"tr"),i["\u0275\u0275elementStart"](87,"td",25),i["\u0275\u0275elementStart"](88,"p",21),i["\u0275\u0275text"](89,"Equation 3"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](90," Male Adjusted 202-[.55 x Age] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](91,"td",27),i["\u0275\u0275elementStart"](92,"p",23),i["\u0275\u0275text"](93),i["\u0275\u0275pipe"](94,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](95,"a",24),i["\u0275\u0275pipe"](96,"number"),i["\u0275\u0275text"](97,"Related training zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](98,"td",25),i["\u0275\u0275text"](99," Male (Gender Adjusted) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](100,"tr"),i["\u0275\u0275elementStart"](101,"td",26),i["\u0275\u0275elementStart"](102,"p",21),i["\u0275\u0275text"](103,"Equation 4"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](104," Female Adjusted 216-[1.09 x Age] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](105,"td",27),i["\u0275\u0275elementStart"](106,"p",23),i["\u0275\u0275text"](107),i["\u0275\u0275pipe"](108,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](109,"a",24),i["\u0275\u0275pipe"](110,"number"),i["\u0275\u0275text"](111,"Related training zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](112,"td",25),i["\u0275\u0275text"](113," Female (Gender Adjusted) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](114,"tr"),i["\u0275\u0275elementStart"](115,"td",26),i["\u0275\u0275elementStart"](116,"p",21),i["\u0275\u0275text"](117,"Equation 5"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](118," 205.8\u2212[0.685 \xd7 Age] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](119,"td",27),i["\u0275\u0275elementStart"](120,"p",23),i["\u0275\u0275text"](121),i["\u0275\u0275pipe"](122,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](123,"a",24),i["\u0275\u0275pipe"](124,"number"),i["\u0275\u0275text"](125,"Related training zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](126,"td",25),i["\u0275\u0275text"](127," The formula deemed least objectionable. This was found to have a standard deviation that, although large (6.4 bpm), was still considered to be acceptable for the use of prescribing exercise training HR ranges. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](128,"tr"),i["\u0275\u0275elementStart"](129,"td",26),i["\u0275\u0275elementStart"](130,"p",21),i["\u0275\u0275text"](131,"Equation 6"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](132," 192 \u2212 [0.007 \xd7 Age"),i["\u0275\u0275elementStart"](133,"sup"),i["\u0275\u0275text"](134,"2"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](135,"] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](136,"td",27),i["\u0275\u0275elementStart"](137,"p",23),i["\u0275\u0275text"](138),i["\u0275\u0275pipe"](139,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](140,"a",24),i["\u0275\u0275pipe"](141,"number"),i["\u0275\u0275text"](142,"Related training zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](143,"td",25),i["\u0275\u0275text"](144," Nonlinear equation \u2014 HRmax = 192 \u2212 (0.007 \xd7 Age"),i["\u0275\u0275elementStart"](145,"sup"),i["\u0275\u0275text"](146,"2"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](147,"). this has the tightest range of \xb12\u20135 bpm "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](148,"tr"),i["\u0275\u0275elementStart"](149,"td",26),i["\u0275\u0275elementStart"](150,"p",21),i["\u0275\u0275text"](151,"Equation 7"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](152," Women - 206 \u2212 [0.88 \xd7 Age] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](153,"td",27),i["\u0275\u0275elementStart"](154,"p",23),i["\u0275\u0275text"](155),i["\u0275\u0275pipe"](156,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](157,"a",24),i["\u0275\u0275text"](158,"Related training zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](159,"td",25),i["\u0275\u0275text"](160," The 2010 research conducted at Northwestern University revised the maximum heart rate formula for women. According to Martha Gulati, et al., it is: HRmax = 206 \u2212 (0.88 \xd7 Age)[9][10] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](161,"a",28),i["\u0275\u0275element"](162,"br"),i["\u0275\u0275element"](163,"br"),i["\u0275\u0275elementStart"](164,"div",29),i["\u0275\u0275elementStart"](165,"p",30),i["\u0275\u0275text"](166,"Related topics: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](167,"h3"),i["\u0275\u0275elementStart"](168,"a",31),i["\u0275\u0275text"](169,"Maximum Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](170," \u2022 "),i["\u0275\u0275elementStart"](171,"a",4),i["\u0275\u0275text"](172,"Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](173," \u2022 "),i["\u0275\u0275elementStart"](174,"a",8),i["\u0275\u0275text"](175,"Fitness Assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](176," \u2022 "),i["\u0275\u0275elementStart"](177,"a",5),i["\u0275\u0275text"](178,"Personalized Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](179,"a",32),i["\u0275\u0275elementStart"](180,"div",33),i["\u0275\u0275elementStart"](181,"h3"),i["\u0275\u0275text"](182,"Advanced Topics: Lactate Threshold"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](183,"p"),i["\u0275\u0275text"](184,"Heart rate training experts will often say there is no such thing as a Maximum Heart Rate- instead, it is the point where your body starts to operated at its\u2019 Lactate Threshold Heart Rate (LTHR) that you should be paying attention to. For ease of comparison, we equate your Lactate Threshold to be the 85% Max HR level, or the middle of Zone 4, for most people in good shape. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](185,"p"),i["\u0275\u0275text"](186,"The less in shape you are, the more potential your LTHR is less than 85%. From a perception standpoint, your LTHR is the point where you can't speak very easily anymore while you are working out. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](187,"p"),i["\u0275\u0275text"](188,"For a great workout to determine your Lactate Threshold, Fitdigits apps include a "),i["\u0275\u0275elementStart"](189,"a",34),i["\u0275\u0275text"](190,"Critical Power 30 minute fitness assessment"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](191,", based on the uber-heart rate training expert Joel Friel blog on the subject (requires performing at the maximum of your ability to maintain for 30 minutes, at a 30 minute maximum race pace). While the assessment is intensive, it should provide, especially over multiple times, an excellent basis for determining your heart rate training zones. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](192," p.27 "),i["\u0275\u0275element"](193,"br"),i["\u0275\u0275elementStart"](194,"p",35),i["\u0275\u0275elementStart"](195,"a",36),i["\u0275\u0275text"](196,"Learn More"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",t.showLoadingOverlay),i["\u0275\u0275advance"](52),i["\u0275\u0275property"]("ngModel",t.Age),i["\u0275\u0275advance"](12),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](66,23,220-t.Age,"1.0-0")),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate2"]("routerLink","/personalized-heart-rate-zones.html?MaxHR=",i["\u0275\u0275pipeBind2"](68,26,220-t.Age,"1.0-0"),"&Age=",t.Age,""),i["\u0275\u0275advance"](12),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](80,29,210-.5*t.Age,"1.0-0")),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate2"]("routerLink","/personalized-heart-rate-zones.html?MaxHR=",i["\u0275\u0275pipeBind2"](82,32,210-.5*t.Age,"1.0-0"),"&Age=",t.Age,""),i["\u0275\u0275advance"](12),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](94,35,202-.55*t.Age,"1.0-0")),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate2"]("routerLink","/personalized-heart-rate-zones.html?MaxHR=",i["\u0275\u0275pipeBind2"](96,38,202-.55*t.Age,"1.0-0"),"&Age=",t.Age,""),i["\u0275\u0275advance"](12),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](108,41,216-1.09*t.Age,"1.0-0")),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate2"]("routerLink","/personalized-heart-rate-zones.html?MaxHR=",i["\u0275\u0275pipeBind2"](110,44,216-1.09*t.Age,"1.0-0"),"&Age=",t.Age,""),i["\u0275\u0275advance"](12),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](122,47,205.8-.685*t.Age,"1.0-0")),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate2"]("routerLink","/personalized-heart-rate-zones.html?MaxHR=",i["\u0275\u0275pipeBind2"](124,50,t.MHR,"1.0-0"),"&Age=",t.Age,""),i["\u0275\u0275advance"](15),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](139,53,192-.007*t.Age*t.Age,"1.0-0")),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate2"]("routerLink","/personalized-heart-rate-zones.html?MaxHR=",i["\u0275\u0275pipeBind2"](141,56,192-.007*t.Age*t.Age,"1.0-0"),"&Age=",t.Age,""),i["\u0275\u0275advance"](15),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](156,59,206-.88*t.Age,"1.0-0")),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate2"]("routerLink","/personalized-heart-rate-zones.html?MaxHR=",t.MHR,"&Age=",t.Age,""))},directives:[rx,S.f,de.c,de.o,de.r],pipes:[y.DecimalPipe],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}","#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:960px;margin:auto;text-align:left}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;border-top:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;font-size:26px;background-color:#e2e3e4}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;padding:10px 40px;max-width:1100px}.references[_ngcontent-%COMP%]{border:1px solid;border-radius:4px;background-color:rgba(234,235,236,.1);padding:20px;margin:40px 0}.maxHRTable[_ngcontent-%COMP%]{border:1px solid}.maxHRTable[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:10px}.maxHRNote[_ngcontent-%COMP%]{width:300px;float:right;margin:20px;clear:right}.equation[_ngcontent-%COMP%]{color:#ff8500;font-size:16px;font-weight:700}.big-maxhr[_ngcontent-%COMP%]{color:#518dbd;font-size:40px;font-weight:700}.equationNameColumn[_ngcontent-%COMP%]{vertical-align:middle;min-width:260px}.maxHRInput[_ngcontent-%COMP%]{width:90px;font-size:30px;height:40px;margin-bottom:30px;background-color:transparent}.maxHRInputField[_ngcontent-%COMP%]{float:left;width:90px}.maxHRInputForm[_ngcontent-%COMP%]{float:left;width:240px;clear:both;text-align:right}.zoneSubmit[_ngcontent-%COMP%]{float:left;padding-left:80px}.zoneInputLabel[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-right:20px;margin-top:7px}.zoneSubmitBtn[_ngcontent-%COMP%]{background-color:#4597cb;color:#fff;width:90px;height:40px}.formError[_ngcontent-%COMP%]{color:red;width:100%;background-color:#ffc;border:1px solid #ffb208;margin-bottom:20px;padding:6px;font-size:16px}h1[_ngcontent-%COMP%]{font-size:48px!important}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{color:#4597cb}h4[_ngcontent-%COMP%]{margin:20px 0}a[_ngcontent-%COMP%]{color:#4597cb}.welcomeLogo[_ngcontent-%COMP%]{position:absolute;top:20px;left:20px}.signin-header[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff}.header-band[_ngcontent-%COMP%]{background-color:#eaebec;text-align:center;width:100%;margin-top:70px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%]{background-color:transparent}.supportHeaderIcon[_ngcontent-%COMP%]{margin-top:-2px}.leftFooter[_ngcontent-%COMP%]{float:left;max-width:50%;text-align:left;padding:18px}.rightFooter[_ngcontent-%COMP%]{float:right;text-align:right}.centerFoooterImg[_ngcontent-%COMP%]{margin:-40px auto 0;text-align:center}.downloadFooter[_ngcontent-%COMP%]{padding:0 20px;max-height:140px;margin-bottom:-70px}@media (max-width:600px){.centerFoooterImg[_ngcontent-%COMP%], .leftFooter[_ngcontent-%COMP%]{visibility:hidden;width:0}}@media (max-width:800px){.equationNameColumn[_ngcontent-%COMP%]{min-width:200px}}@media (max-width:600px){.partner-wrap[_ngcontent-%COMP%]{padding:10px}h3[_ngcontent-%COMP%]{font-size:18px}.equationNameColumn[_ngcontent-%COMP%]{min-width:unset}}"]}),e}();function gx(e,t){1&e&&i["\u0275\u0275element"](0,"img",17)}function fx(e,t){1&e&&i["\u0275\u0275element"](0,"img",18)}function vx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Assessments have been created through the years as a way of determining your cardiorespiratory fitness levels through an approximation of your VO2 max - a measurement of the velocity of oxygen through your body. We have taken those tried and tested assessments and created them as an in-app experience. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"img",19),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5,"These fitness tests offer insight into what's happening physiologically and how your efforts affect your cardiovascular health. Challenge yourself and see how all that sweaty effort is really affecting your body. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7,'There is a wide variety of assessments available. Take them to determine your own personal "zones" - heart rate or pace, or to estimate your own personal fitness level. Some assessments are more accurate than others for certain metrics or determining zones. Some you will find short and fun, while others will test your mettle as an athlete. '),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"a",20),i["\u0275\u0275element"](9,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11,"Our assessments can be split into two groups. Beginner assessments, which are also called sub-maximal assessments, where you aren't asked to take it to the limits of your ability, but instead try to estimate things from a lower effort level. Advanced assessments are maximum effort routines, where we interpret your values after you completd the assessment. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"p"),i["\u0275\u0275text"](13,"As a rule of thumb, Advanced assessments are better at determining zones or fitness levels than the Beginner assessments. The Advanced ones are designed for people who are used to physical activity on a regular basis however - they can be tough! "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275text"](15,"The more times you do the assessments, the better (more accurate) the results tend to be. Of course, nothing is more accurate than a full metabolic assessment from a certified testing agency, but then this in-app upgrade is $9.99 and not $200, and doesn't require a technician! "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"h4"),i["\u0275\u0275text"](17,"Assessments can help determine your fitness level"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19,"Using physical tests developed over the years by a variety of individuals and institutions, these fitness tests have been shown to result in fairly accurate measures of fitness, and can be compared to others of similar age and gender. Not all assessments in Fitdigits apps have the ability to determine VO2 Max, but the majority do."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"h4"),i["\u0275\u0275text"](21,"Assessments help determine personal heart zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"p"),i["\u0275\u0275text"](23,"People are all different. Only 20% of people have a max heart rate that is close to the 220-Age = Max HR. For a large majority, setting zones of 50%-100% off that formula does not result in zones that are meaningful or correct. From previous discussions, we know how important understanding what HR zone you are in can be towards realizing your goals (is your goal endurance and fat burn, or speed and power, for example). Your HR zones will also change over time \u2013 the more fit you become, the higher your HR Max will be (relative to yourself, not others) for example. Not all assessments in Fitdigits apps have the ability to set HR zones, but the majority do when paired with a heart rate monitor."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"ul"),i["\u0275\u0275element"](25,"li"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function yx(e,t){1&e&&i["\u0275\u0275element"](0,"img",17)}function bx(e,t){1&e&&i["\u0275\u0275element"](0,"img",18)}function xx(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",29),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showBeginnerCardio=!e.showBeginnerCardio}),i["\u0275\u0275text"](1,"\u25cf more"),i["\u0275\u0275elementEnd"]()}}function _x(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",29),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showBeginnerCardio=!e.showBeginnerCardio}),i["\u0275\u0275text"](1,"\u25cf less"),i["\u0275\u0275elementEnd"]()}}function wx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",30),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"The Beginner Cardio Assessment is an entry level test, mostly helpful for determining your lower Heart Rate Zones. It is not designed for people who are in great shape and are exercising on a regular basis (4 hours or more per week)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"With a Heart Rate Monitor (HRM) you can use it to develop Heart Rate Training Zones. With GPS and/or Foot pod in Running, it can be used to develop Pace Zones too."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275text"](6,"It can be completed on just about any workout type, and to develop specific custom zones for any given workout type, it should be done using that type of exercise. Fitdigits offers users the ability to use different heart rate zones depending on their activity selection."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"To calculate a more accurate VO2 Max, you should have a Resting Pulse entry in the Health section of the app (one not taken from a Blood Pressure reading). See this post on measuring your Resting Heart Rate. Otherwise, we will use an approximation of your "),i["\u0275\u0275elementStart"](9,"a",31),i["\u0275\u0275text"](10,"Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](11," based on the measured value from the assessment."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"h4"),i["\u0275\u0275text"](13,"How to Complete the Beginner Cardio Assessment:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"ul",32),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16," You will need to be on a treadmill, spin bike, elliptical machine, or a flat surface you can run or ride on for more than 7.5 minutes. DON\u2019T GO TOO FAST! "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18," Bring your heart rate down to a low, resting rate by staying still for a moment and just relaxing. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275text"](20," Start the assessment on the App \u2013 Choose the Activity Type you are doing > Workout > Beginner Cardio Assessment "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22," You will be coached through a series of effort levels, starting with resting and moving up through to approximately a 65-75% effort level over a 7.5 minute period "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24," The Recovery portion will begin (recovery is an option we\u2019ve added here as another data point to assess your overall change in fitness) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275text"](26," Be still and relax for the 2-minute recovery time"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275text"](28," You will be shown your results on the final screen, as well as online and in your results listing "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"p"),i["\u0275\u0275text"](30,"The Beginner Cardio Assessment helps determine Heart and Pace Zones, which can help your training and keep you injury free by keeping your training in the right zones at the right times. You can watch these zones change over time with changes in your fitness! In fact, this assessment should be used on a regular basis to show changes in your fitness levels and training zones."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function Sx(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",29),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showAdvancedCardio=!e.showAdvancedCardio}),i["\u0275\u0275text"](1,"\u25cf more"),i["\u0275\u0275elementEnd"]()}}function Cx(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",29),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showAdvancedCardio=!e.showAdvancedCardio}),i["\u0275\u0275text"](1,"\u25cf less"),i["\u0275\u0275elementEnd"]()}}function kx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",30),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"By setting Zones customized to your body, heart, and systems, you get a true view of your level of effort you are currently training or exercising in, which allows you to train better, without injury over longer times."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275text"](5,"The Advanced Cardio Assessment is designed for people who are in good shape and are exercising on a regular basis (4 hours or more per week). It requires maximum-effort output, which should not be attempted by those who aren\u2019t used to high levels of activity."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7,"With a Heart Rate Monitor (HRM) you can use it to develop Heart Rate Training Zones. With GPS and/or Foot pod in Running, it can be used to develop Pace Zones."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9,"It can be completed on just about any workout type, and to develop specific custom zones for any given workout type, it should be done using that type of exercise. Fitdigits offers users the ability to use different heart rate zones depending on their activity selection."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11,"To calculate a more accurate VO2 Max, you should have a Resting Pulse entry in the Health section of the app (one not taken from a Blood Pressure reading). See this post on measuring your "),i["\u0275\u0275elementStart"](12,"a",14),i["\u0275\u0275text"](13,"Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14,". Otherwise, we will use an approximation of your Resting Heart Rate based on the measured value from the assessment. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"h4"),i["\u0275\u0275text"](16,"How to Complete the Advanced Cardio Assessment:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"ul",32),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19," You will need to be on a treadmill, spin bike, elliptical machine, or a flat surface you can run or ride on for more than 10 minutes. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21," Bring your heart rate down to a low, resting rate by staying still for a moment and just relaxing. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275text"](23," Start the assessment on the App \u2013 Choose the Activity Type you are doing > Workout > Advanced Cardio Assessment "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275text"](25," You will be coached through a series of effort levels, starting with resting and moving up through to maximum effort over a 10 minute period (for a sub-maximal assessment see the \u2018Beginner Cardio Assessment\u2019) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275text"](27," The Recovery portion will begin (recovery is an option we\u2019ve added here as another data point to assess your overall change in fitness) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275text"](29," Be still and relax for the 2-minute recovery time"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"li"),i["\u0275\u0275text"](31," You will be shown your results on the final screen, as well as online and in your results listing "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"p"),i["\u0275\u0275text"](33,"The Advanced Cardio Assessment helps determine Heart and Pace Zones, which can help your training and keep you injury free by keeping your training in the right zones at the right times. You can watch these zones change over time with changes in your fitness! In fact, this assessment should be used on a regular basis to show changes in your fitness levels and training zones."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function Ox(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",29),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showCooper=!e.showCooper}),i["\u0275\u0275text"](1,"\u25cf more"),i["\u0275\u0275elementEnd"]()}}function Ex(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",29),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showCooper=!e.showCooper}),i["\u0275\u0275text"](1,"\u25cf less"),i["\u0275\u0275elementEnd"]()}}function Mx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",30),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"By setting Zones customized to your body, heart, and systems, you get a true view of your level of effort you are currently training or exercising in, which allows you to train better, without injury over longer times."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275text"](5,"The Cooper Running Test assessment is very similar to the Military Physical Tests used around the world. It\u2019s original purpose is to measure VO2 Max, however we have adapted it to extrapolate Heart and Pace Zones as well. The most accurate assessment for Zones is the CP30 assessments, but the Cooper offers a good approximation when done correctly."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7,"With a Heart Rate Monitor (HRM) you can use it to develop Heart Rate Training Zones as well as Pace Zones. To calculate a VO2 Max and FitRank (age adjusted ranking based on VO2 Max) for this assessment, you must have a Resting Pulse entry in the Health section of the app (one not taken from a Blood Pressure reading). See this post on measuring your Resting Heart Rate."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9,"The Cooper Running Test is for those who are used to physical exercise. This test requires you to run for 12 minutes as far (and fast) as possible (race pace)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"h4"),i["\u0275\u0275text"](11,"How to Complete the Cooper Running Test Assessment:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"ul",32),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14,"Make sure your profile in the app is correct (Gender, age, etc)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16," Find a track or very flat area you can run unobstructed for 12 minutes (approximately 2 miles). A treadmill is acceptable if you have a foot pod to measure distance. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18," Warm up for 10 minutes (light walking, stretching, etc)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275text"](20," Start the assessment on the App, and start running \u2013 Choose Run > Workout > Cooper Running Test "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22," After 12 minutes, the workout will end"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24," The Recovery portion will begin (recovery is an option we\u2019ve added here as another data point to assess your overall change in fitness) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275text"](26," Stand still and relax for the 2-minute recovery time"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275text"](28," You will be shown your results on the final screen, as well as online and in your results listing "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](29,"br"),i["\u0275\u0275elementStart"](30,"p"),i["\u0275\u0275text"](31,"The Cooper Running Test will help determine Pace Zones applicable to running, which can help your training and keep you injury free by keeping your training in the right zones at the right times. You can watch these zones change over time with changes in your fitness! In fact, this assessment should be used on a regular basis to show changes in your fitness levels and training zones."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function Ix(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",29),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showCP30=!e.showCP30}),i["\u0275\u0275text"](1,"\u25cf more"),i["\u0275\u0275elementEnd"]()}}function Px(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",29),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showCP30=!e.showCP30}),i["\u0275\u0275text"](1,"\u25cf less"),i["\u0275\u0275elementEnd"]()}}function Tx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",30),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275elementStart"](2,"strong"),i["\u0275\u0275text"](3,"Critical Power 30 Minute assessments are one of the best ways to determine heart rate zones without a laboratory, and is the best assessment in the apps for that purpose. But it also takes the most personal effort."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5,"With a Heart Rate Monitor (HRM) you can use it to develop Heart Rate Training Zones. With GPS and/or Foot pod in Running, it can be used to develop Pace Zones too."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7,"To calculate a VO2 Max and FitRank (age adjusted ranking based on VO2 Max) for these assessments, you must have a Resting Pulse entry in the Health section of the app (one not taken from a Blood Pressure reading). See this post on measuring your "),i["\u0275\u0275elementStart"](8,"a",14),i["\u0275\u0275text"](9,"Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](10,". "),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275text"](12,"The CP30 does this by measuring your "),i["\u0275\u0275elementStart"](13,"a",33),i["\u0275\u0275text"](14,"Lactate Threshold Heart Rate (LTHR)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](15," and/or your LTHR equivalent pace, and setting your personal zones based around that number."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275text"](17,"The CP30 assessments are not meant for those who are not used to physical exercise. This test requires you to run for 30 minutes as fast as possible (race pace)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"h4"),i["\u0275\u0275text"](19,"How to do the CP30 Assessment:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"ul",32),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22,"Find a track or very flat area you can run along unobstructed for 30 minutes. You should run alone and at race pace (it has been shown that running with others affects the test and actually makes you faster). Ideally this should be a constant pace, that you can hold through the end of the 30 minutes without slowing down. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24,"Warm up for 10 minutes (light walking, stretching, etc)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275text"](26,"Start the assessment on your App, and start running at race pace \u2013 "),i["\u0275\u0275elementStart"](27,"strong"),i["\u0275\u0275text"](28,"Choose Run > Workout > CP30 Running Test"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"li"),i["\u0275\u0275text"](30,"After 30 minutes, the workout ends and the recovery portion will begin (recovery is an option we\u2019ve added here as another data point to assess your overall change in fitness \u2013 the better the recovery, the better the cardio fitness). Stand still and relax for 2-minutes. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"li"),i["\u0275\u0275text"](32,"Your results will be on the final screen, as well as online at My.Fitdigits.com and in your results listing. The assessment in the app allows you to easily set the calculated zone set from the assessment as your default zone set. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](33,"br"),i["\u0275\u0275elementStart"](34,"p"),i["\u0275\u0275text"](35,"The CP30 assessments also help determine Pace Zones applicable to running \u2013 similar to heart zones and used for training, they can help your training and keep you injury free by keeping your training in the right zones at the right times, without a heart monitor. You can watch these zones change over time with changes in your fitness! In fact, this assessment should be used on a regular basis to show changes in your fitness levels and training zones."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function Dx(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",29),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showPST=!e.showPST}),i["\u0275\u0275text"](1,"\u25cf more"),i["\u0275\u0275elementEnd"]()}}function Lx(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",29),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showPST=!e.showPST}),i["\u0275\u0275text"](1,"\u25cf less"),i["\u0275\u0275elementEnd"]()}}function Rx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",30),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"The Personal Spinning\xae Threshold Test (PST Test) is a sub-maximal, repeatable test to determine PST. It is: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"ul",32),i["\u0275\u0275elementStart"](4,"li"),i["\u0275\u0275text"](5,"SPINPower\xae-specific"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"The personal results of an individual rider"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"A scientifically validated incremental test"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Easy to learn"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"Repeatable and Reliable"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15,"Sub-maximal, and so can be performed by nearly everyone"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](16,"br"),i["\u0275\u0275elementStart"](17,"p"),i["\u0275\u0275text"](18,"After a 10 minute warm up, the test consists of back-to-back two-minute stages, in which the rider sustains a cadence goal within 5RPM of the target, while remaining a seated position, in Hand Position two. The first stage begins with light resistance on the flywheel. Each corresponding stage begins by increasing resistance, while keeping cadence and riding position the same. The added resistance should be enough to feel the change, as if increasing RPE to the next level. This also noted as increased wattage. Since individuality and fitness level will determine the actual wattage change, it will generally be around 5\u201320 watts. Adding too much resistance will bring the rider to threshold too soon. Adding too little resistance will extend the overall duration of the PST Test. Generally speaking, a rider should aim to complete 5-8 two-minute ramps to completion. The graded ramp process continues until the rider can no longer sustain the workload for an entire two-minute stage. This will be noted by an obvious decline in the ability to sustain steady pedaling, cadence and riding position. The rider\u2019s PST is the workload sustained during the last fully completed stage."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275text"](20,"Below are the guidelines for implementing the PST Test. Please have your bike power meter and heart rate monitor paired with the app before starting the PST."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22,"Tap HOME or STUDIO or SPINNING > Options (Gear Icon) > Fitness Assessments > PST Assessment"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"p"),i["\u0275\u0275text"](24,"Warm up countdown will begin. Warm-up for 10 minutes at an easy pace, shifting through different resistance loads and incorporating a few 10-20 second hard efforts. Include some transitions in and out of the saddle. You may advance to PST Test at any time during warm-up, by double tapping the countdown bar."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"p"),i["\u0275\u0275text"](26,"After warm up, begin Ramp 1 with light resistance on the flywheel, at a low workload and cadence that feels relaxed and most natural. The APP will begin to countdown 2 minutes. During this time, the APP will use your current cadence to determine and set a cadence goal for the proceeding ramps."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"p"),i["\u0275\u0275text"](28,"After 2 minutes, APP will transition for 15 seconds to Ramp 2. During the 15 second countdown, APP will inform rider of cadence goal to sustain for next ramps. Increase resistance, while keeping target cadence and riding position the same. The added resistance should be enough to feel the change, as if increasing RPE to the next level. This will also be noted as increased wattage. The APP will begin to countdown 2 minutes. Maintain the target cadence range, within 5 RPM, while maintaining riding position and resistance. The APP will inform the rider if their cadence is higher or lower than the target cadence. After 2 minutes, APP will transition for 15 seconds to Ramp 3. During the 15 second countdown, APP will inform rider to increase resistance, while keeping their target cadence and riding position the same. The added resistance should be enough to feel the change, as if increasing RPE to the next level. This will also be noted as increased wattage."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"p"),i["\u0275\u0275text"](30,"The ramp process continues until the rider can no longer sustain the workload for the full 2 minute duration. At this time, rider will slide HEART ICON to stop the PST Test. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"p"),i["\u0275\u0275text"](32,"APP will display a summary of the PST Test Ramps. Rider will choose the last fully completed as their PST."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"p"),i["\u0275\u0275text"](34,"Once PST is determined, unique SPINPower Training Zones will be determined based on a percentage of PST. SPINPower Training Zones allows riders to build their training intensity and boost their current level of conditioning in the SPINPower program."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"ol",32),i["\u0275\u0275elementStart"](36,"li"),i["\u0275\u0275text"](37,"From the Home Screen, select SPINPower from the carousel."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"li"),i["\u0275\u0275text"](39,"Tap Structured Workouts > Assessments > PST Assessment"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"li"),i["\u0275\u0275text"](41,"Read through the description and instructions. Tap Launch."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"li"),i["\u0275\u0275text"](43,"Agree to the Exercise Disclaimer and tap OK."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"li"),i["\u0275\u0275text"](45,"Tap Start"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"li"),i["\u0275\u0275text"](47,"Warm up for 10 minutes."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"li"),i["\u0275\u0275text"](49,"Follow the instructions to prepare for each ramp. Maintain your RPM target. Slide the heart icon to end or pause your workout. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"li"),i["\u0275\u0275text"](51,"To set-up your power zones, select the last completed two minute ramp. Tap OK or Select Another to confirm your Avg Watts for power zones. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"li"),i["\u0275\u0275text"](53,"Tap Set Default (located in the upper right hand corner) to use these power zones in future SPINPower workouts. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function jx(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275elementStart"](1,"h3"),i["\u0275\u0275text"](2,"Which one is right for you?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",22),i["\u0275\u0275elementStart"](4,"h3"),i["\u0275\u0275text"](5,"Beginner: Cardio"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7,"A 7.5 minute assessment that tries to determine basic zones and fitness levels. Only requires 65-75% effort level. Best done first thing in the morning when you are relaxed and have a low resting heart rate. Better for setting the lower-end zones for beginners (Zones 1-3). Accuracy isn't the best but usually better than using standard defaults. DON'T GO TOO FAST - Results are much better with low-effort levels. If you find you are breathing hard or feeling like it was a tough assessment, you went out too fast and the results won't be as accurate. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](8,xx,2,0,"a",23),i["\u0275\u0275template"](9,_x,2,0,"a",23),i["\u0275\u0275template"](10,wx,31,0,"div",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",22),i["\u0275\u0275elementStart"](12,"h3"),i["\u0275\u0275text"](13,"Beginner: Rockport Walking Test"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275text"](15,"The Rockport Fitness Walking Test was developed by exercise physiologists and cardiologists at the Department of Exercise Science in the University of Massachusetts at Amherst. Researchers sought a low-impact, safe test that involves a well-liked exercise and appealed to the broadest spectrum of users. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275text"](17,"The Rockport Institute has been studying walking and fitness since 1971 and has found this test to be the best in judging VO2 max and fitness level. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19,"A heart rate monitor is required. This assessment determines fitness level but does not determine zones. It is fun to do and allows you to track cardio respiratory fitness over time. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"a",25),i["\u0275\u0275text"](21,"\u25cf more"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"div",22),i["\u0275\u0275elementStart"](23,"h3"),i["\u0275\u0275text"](24,"Advanced: Cardio"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"p"),i["\u0275\u0275text"](26,"A 10 minute maximum effort assessment that tries to determine basic zones and fitness levels. Best done first thing in the morning when you are relaxed and have a low resting heart rate. Accuracy isn't quite as good as the CP30 assessments (included) but much better than the beginner version and significantly better than using standard defaults. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](27,Sx,2,0,"a",23),i["\u0275\u0275template"](28,Cx,2,0,"a",23),i["\u0275\u0275template"](29,kx,34,0,"div",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"div",22),i["\u0275\u0275elementStart"](31,"h3"),i["\u0275\u0275text"](32,"Advanced: Cooper Running Test"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"p"),i["\u0275\u0275text"](34,"A 12-minute, all out run (heart rate monitor not required) to determine fitness level. It does not determine zones, either heart or pace. It is designed for people who are used to physical activity. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"p"),i["\u0275\u0275text"](36,"It was designed by Kenneth H. Cooper in 1968 for US military use. Most armies of the world use a fixed distance, however, due to the complexities of measuring exact distances at different positions on a track or varying courses. Using distance is not exactly a Cooper test but a reasonable practical compromise. For example, the British Army uses 1.5 miles, the US Army 2 miles and the US Marine Corps 3 miles. ["),i["\u0275\u0275elementStart"](37,"a",26),i["\u0275\u0275text"](38,"Wikipedia"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](39,"] "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](40,Ox,2,0,"a",23),i["\u0275\u0275template"](41,Ex,2,0,"a",23),i["\u0275\u0275template"](42,Mx,32,0,"div",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"div",22),i["\u0275\u0275elementStart"](44,"h3"),i["\u0275\u0275text"](45,"Advanced: CP30 Assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"p"),i["\u0275\u0275text"](47,"These are the best assessments for determining heart* and pace training zones! "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"p"),i["\u0275\u0275text"](49,'CP30 stands for "Critical Power 30-minute". These are steady, max-sustainable effort level efforts over 30 minutes. It attempts to determine the point when your body can no longer process lactic acid as fast as it is being created and it attempts to identify your Lactate Threshold Heart Rate, the heart rate you are at will start shutting down the muscles that it is building up in (think lead legs). '),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"p"),i["\u0275\u0275text"](51,'Think race day. Think "phew, I\'m exhausted!" Think quality zone sets and training! '),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](52,Ix,2,0,"a",23),i["\u0275\u0275template"](53,Px,2,0,"a",23),i["\u0275\u0275template"](54,Tx,36,0,"div",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](55,"div",22),i["\u0275\u0275elementStart"](56,"h3"),i["\u0275\u0275text"](57,"Personal SpinPower\xae Threshold (PST)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](58,"p"),i["\u0275\u0275text"](59,"The goal of developing power zones is to improve wellness, fitness and performance. Training at various intensities gives specific adaptations. The most accurate way to categorize intensity ranges is by measuring the work-rates that cause various physiological responses. Power Zones are based on a percentage of a rider\u2019s baseline fitness marker, known as Personal SpinPower\xae Threshold (PST). In the SPINPower\u2122 program, PST represents the rider\u2019s \u2018work-threshold\u2019 or their current level of fitness on the Spinner. With power meter technology, the result of a relatively simple and straightforward test can accurately establish PST. Once determined, riders can train in their unique ranges based on a percentage of their PST. Since power is dynamic and improvement in fitness will increase PST, it is important to retest quarterly (or sooner) to track progress and re-establish zones that match the rider\u2019s current fitness level. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](60,Dx,2,0,"a",23),i["\u0275\u0275template"](61,Lx,2,0,"a",23),i["\u0275\u0275template"](62,Rx,54,0,"div",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"div",27),i["\u0275\u0275elementStart"](64,"h4"),i["\u0275\u0275text"](65,"How We Calculate Zones and VO2 Max:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](66,"p"),i["\u0275\u0275text"](67,"Heart Rate Zones are determined using the measurements from the assessment, assuming that max effort reached 75% of the true maximum achievable (for saftey). For Heart Rate zones, the Karvonen method is applied to the readings (recorded Resting Heart Rate trumps the in-assessment measured Resting Heart Rate). For VO2 Max, we take your Resting Heart Rate and your calculated Max HR, and apply the "),i["\u0275\u0275elementStart"](68,"a",28),i["\u0275\u0275text"](69,"Heart Rate Ratio Method"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](70,". (Eur J Appl Physiol. 2004)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngIf",!n.showBeginnerCardio),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showBeginnerCardio),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showBeginnerCardio),i["\u0275\u0275advance"](17),i["\u0275\u0275property"]("ngIf",!n.showAdvancedCardio),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showAdvancedCardio),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showAdvancedCardio),i["\u0275\u0275advance"](11),i["\u0275\u0275property"]("ngIf",!n.showCooper),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showCooper),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showCooper),i["\u0275\u0275advance"](10),i["\u0275\u0275property"]("ngIf",!n.showCP30),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showCP30),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showCP30),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",!n.showPST),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showPST),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showPST)}}function Ax(e,t){1&e&&i["\u0275\u0275element"](0,"img",17)}function Fx(e,t){1&e&&i["\u0275\u0275element"](0,"img",18)}function Bx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275element"](1,"img",34),i["\u0275\u0275elementStart"](2,"p"),i["\u0275\u0275text"](3,"All Fitness Assessments require a heart rate monitor paired and connected to run an Assessment. Please note any pausing of the workout / assessment will make it null and void as an assessment, though it will still show up as a workout."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5,"To start your assessment, get yourself and your heart rate monitor ready. Find a nice flat and open place where you can move freely. Open the app then:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"img",35),i["\u0275\u0275elementStart"](7,"ol",32),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Swipe to the activity type you want to do the fitness assessment in."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Tap the gear / settings icon for the activity type."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"Tap Routes & Routines, then tap Routines on the top segmentation to see a list of the different assessments available for that workout type. "),i["\u0275\u0275elementStart"](14,"ol",36),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16,"Assessments like the Rockport Walking Test and Cooper Running Test are only available in some activity types like walking/running. The Functional Threshold Power (FTP) Test is only available in Indoor Cycling workout types. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18,"You can also, on that screen, tap Menu > By Category to see the Assessments group, or tap the filter icon in the bottom right to filter only to Assessments. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275text"](20,"Tap on the assessment you are going to do. The description of the assessment will give you an overview of what is expected for that particular type. It\u2019s good to familiarize yourself with what is expected, though you will also be guided through by voice prompts during the assessment. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22,"Tap Launch / Launch Assessment to launch the sensor acquisition and get to the ready state. Once all sensors are acquired, tap Start to begin. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24,"Depending on the assessment, between 7.5 minutes and up to 50 minutes will elapse, guided in stages by voice prompts, taking you through different levels (or continuous levels) of effort throughout the assessment. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](25,"br"),i["\u0275\u0275elementStart"](26,"p"),i["\u0275\u0275text"](27,"When the assessment is complete, you\u2019ll get a summary of Fitness Level and VO2 Max as calculated by the results. Tap Done, which will take you to your assessment results."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"p"),i["\u0275\u0275text"](29,"To see that your Heart Rate or Pace Zones have been set to default, go to the activity you want and tap Activity Settings (gear icon) > Zones > Heart Rate, Speed/Pace or Power Zones."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"p"),i["\u0275\u0275text"](31,"Once you have your own personal heart rate zones, you\u2019ll wonder why you ever did accept the default!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"p"),i["\u0275\u0275text"](33,"Some experts recommend a new assessment every 6 weeks, some every 6 months to a year, to help track your fitness level and zones through your active life. The newer the active lifestyle is, and the more variation of the training levels, the more often you\u2019ll want to complete one."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var zx=function(){function e(e,t,n,i){this.titleService=e,this.meta=t,this.accountService=n,this.ThemeService=i,this.showLoadingOverlay=!1,this.isLoggedIn=!1,this.showHowTo=!0,this.showOverview=!0,this.showAssessments=!0,this.showBeginnerCardio=!1,this.showAdvancedCardio=!1,this.showCooper=!1,this.showCP30=!1,this.showPST=!1,this.meta.updateTag({name:"description",content:"Fitdigits Personal Fitness | Cardio and Health Assessments"}),this.meta.addTags([{name:"otherMetaTag",content:"other Meta data"}]),window.prerenderReady=!0}return e.prototype.ngOnInit=function(){this.isLoggedIn=this.accountService.isLoggedIn,this.isLoggedIn?console.log("Logged In"):console.log("Logged Out")},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](a.Meta),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-fitness-assessments"]],decls:53,vars:11,consts:[["id","fd-partners",3,"hidden"],[1,"sectionStructure"],[1,"mobile-wrap"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["style","clear:both;",4,"ngIf"],[2,"clear","both"],[2,"margin-top","20px","text-align","center","color","#EE3123"],[1,"references"],[2,"text-align","center","padding","40px 0px 0px 0px"],[2,"font-weight","bold"],["routerLink","/maximum-heart-rate.html"],["routerLink","/resting-heart-rates.html"],["routerLink","/fitness-assessments.html"],["routerLink","/personalized-heart-rate-zones.html"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],["alt","Measure what is measurable, and make measurable what is not so.","height","107","src","/static/img/measure-quote.jpg","width","346",1,"faQuote"],["href","https://support.fitdigits.com/2012/07/deans-successful-fun-no-injury-reasonable-time-half-marathon/"],["alt","Dean Half-Marathon","src","/static/img/hovey-half-marathon.png",1,"assessmentBanner"],[1,"assessmentSection"],["class","moreDetailLink",3,"click",4,"ngIf"],["class","assessmentDetailSection",4,"ngIf"],["href","https://en.wikipedia.org/wiki/VO2_max#Rockport_Fitness_Walking_Test",1,"nonblock"],["href","https://en.wikipedia.org/wiki/Cooper_test"],[1,"assessmentFootnotes"],["href","http://www.ncbi.nlm.nih.gov/pubmed/14624296"],[1,"moreDetailLink",3,"click"],[1,"assessmentDetailSection"],["routerLink","/resting-heart-rate.html"],[1,"list-spacing"],["routerLink","/healthvitals/lthr"],["src","/static/img/AssessmentsAsset.png",2,"float","right"],["src","/static/img/assessments-ios.png",1,"support-image-large",2,"max-width","640px"],[1,"list-spacing",2,"list-style-type","lower-alpha"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"h1"),i["\u0275\u0275text"](4,"Fitness Assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"h3"),i["\u0275\u0275text"](6,"& Custom Training Zones, Personalized and Optimized"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"Unlock a variety of Fitness Assessments in the Fitdigits apps, for the beginner through top athlete. View results online and see your fitness increase over time, develop more accurate heart* and pace zones, and more. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",3),i["\u0275\u0275listener"]("click",function(){return t.showOverview=!t.showOverview}),i["\u0275\u0275template"](10,gx,1,0,"img",4),i["\u0275\u0275template"](11,fx,1,0,"img",5),i["\u0275\u0275elementStart"](12,"div",6),i["\u0275\u0275text"](13," Overview "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,vx,26,0,"div",7),i["\u0275\u0275element"](15,"div",8),i["\u0275\u0275elementStart"](16,"div",3),i["\u0275\u0275listener"]("click",function(){return t.showAssessments=!t.showAssessments}),i["\u0275\u0275template"](17,yx,1,0,"img",4),i["\u0275\u0275template"](18,bx,1,0,"img",5),i["\u0275\u0275elementStart"](19,"div",6),i["\u0275\u0275text"](20," About the Different Assessments "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](21,jx,71,15,"div",7),i["\u0275\u0275element"](22,"div",8),i["\u0275\u0275elementStart"](23,"div",3),i["\u0275\u0275listener"]("click",function(){return t.showHowTo=!t.showHowTo}),i["\u0275\u0275template"](24,Ax,1,0,"img",4),i["\u0275\u0275template"](25,Fx,1,0,"img",5),i["\u0275\u0275elementStart"](26,"div",6),i["\u0275\u0275text"](27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](28,Bx,34,0,"div",7),i["\u0275\u0275element"](29,"div",8),i["\u0275\u0275elementStart"](30,"p",9),i["\u0275\u0275elementStart"](31,"strong"),i["\u0275\u0275text"](32,"Please don\u2019t perform any fitness test without talking to your physician about it first."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](33,"div",8),i["\u0275\u0275elementStart"](34,"div",10),i["\u0275\u0275text"](35," * NOTE: Heart rate zone creation and dependent assessments require compatible sensors & sensor support activation. Many factors can influence results including temperature, elevation, sleep, emotional state, eating habits and more. Make sure you make notes of these factors in the app so when you view them online you will have a better understanding of the environment at the time of the assessment. Ideally the test environment should remain as constant as possible. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"div",11),i["\u0275\u0275elementStart"](37,"p",12),i["\u0275\u0275text"](38,"Related topics: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"h3"),i["\u0275\u0275elementStart"](40,"a",13),i["\u0275\u0275text"](41,"Maximum Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](42," \u2022 "),i["\u0275\u0275elementStart"](43,"a",14),i["\u0275\u0275text"](44,"Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](45," \u2022 "),i["\u0275\u0275elementStart"](46,"a",15),i["\u0275\u0275text"](47,"Fitness Assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](48," \u2022 "),i["\u0275\u0275elementStart"](49,"a",16),i["\u0275\u0275text"](50,"Personalized Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](51,"p"),i["\u0275\u0275text"](52,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",t.showLoadingOverlay),i["\u0275\u0275advance"](10),i["\u0275\u0275property"]("ngIf",!t.showOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!t.showAssessments),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showAssessments),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showAssessments),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!t.showHowTo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showHowTo),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" Starting an Assessment on ",t.ThemeService.baseAppName," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showHowTo))},directives:[y.NgIf,S.f],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}","#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:960px;margin:auto;text-align:left}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;border-top:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;font-size:26px;background-color:#e2e3e4}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;padding:10px 40px;max-width:1100px}.mobile-wrap[_ngcontent-%COMP%]{width:100%;float:left}.references[_ngcontent-%COMP%]{border:1px solid;border-radius:4px;background-color:rgba(234,235,236,.1);padding:20px;margin:40px 0}.assessmentSection[_ngcontent-%COMP%]{border-bottom:5px solid #4597cb;border-radius:0;padding:20px;margin:-10px 0 20px}.faQuote[_ngcontent-%COMP%]{float:right;margin:10px 0 10px 10px}.assessmentBanner[_ngcontent-%COMP%]{margin:10px;padding:10px;width:90%;max-width:690px}h1[_ngcontent-%COMP%]{font-size:48px!important}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%]{color:#4597cb}h3[_ngcontent-%COMP%]{margin:20px 0}.welcomeLogo[_ngcontent-%COMP%]{position:absolute;top:20px;left:20px}.signin-header[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff}.header-band[_ngcontent-%COMP%]{background-color:#eaebec;text-align:center;width:100%;margin-top:70px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%]{background-color:transparent}.supportHeaderIcon[_ngcontent-%COMP%]{margin-top:-2px}.leftFooter[_ngcontent-%COMP%]{float:left;max-width:50%;text-align:left;padding:18px}.rightFooter[_ngcontent-%COMP%]{float:right;text-align:right}.centerFoooterImg[_ngcontent-%COMP%]{margin:-40px auto 0;text-align:center}.downloadFooter[_ngcontent-%COMP%]{padding:0 20px;max-height:140px;margin-bottom:-70px}.moreDetailLink[_ngcontent-%COMP%]{display:block;margin-bottom:20px}@media (max-width:600px){.centerFoooterImg[_ngcontent-%COMP%], .leftFooter[_ngcontent-%COMP%]{visibility:hidden;width:0}}@media (max-width:600px){.partner-wrap[_ngcontent-%COMP%]{padding:10px}h3[_ngcontent-%COMP%]{font-size:18px}.assessmentBanner[_ngcontent-%COMP%]{width:100%;margin:20px auto;padding:0}}"]}),e}();function Nx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",21),i["\u0275\u0275element"](1,"img",22),i["\u0275\u0275elementEnd"]())}function Hx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",21),i["\u0275\u0275element"](1,"img",23),i["\u0275\u0275elementEnd"]())}function Vx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",21),i["\u0275\u0275element"](1,"img",22),i["\u0275\u0275elementEnd"]())}function Yx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",21),i["\u0275\u0275element"](1,"img",23),i["\u0275\u0275elementEnd"]())}var Wx=function(){return["/login"]},Gx=function(){function e(e,t,n){this.titleService=e,this.AccountService=t,this.ThemeService=n,this.showLoadingOverlay=!1,this.preferred="",this.AccountService.setLoginView(!0)}return e.prototype.ngOnInit=function(){this.AccountService.isLoggedIn?console.log("Logged In"):console.log("Logged Out")},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-privacy-policy"]],inputs:{errorDetails:"errorDetails"},decls:263,vars:10,consts:[["id","fd-partners",3,"hidden"],[1,"header-container"],[1,"btn-primary","themedRoundButton","float-right","signin-header",3,"routerLink"],["routerLink","/support",1,"supportHeader"],["src","/static/img/support_icon.png",1,"supportHeaderIcon"],["routerLink","/welcome",4,"ngIf"],[1,"header-band"],[1,"partner-section-title"],[2,"margin-left","10px"],[1,"partner-wrap"],[2,"clear","both","width","100%"],[1,"privacyHeader"],["href","https://policies.google.com/privacy"],["href","https://itunes.apple.com/us/app/icardio-workout-tracker/id314841648?mt=8"],["src","/static/img/footer-download-ios.png",1,"downloadFooter"],["href","https://play.google.com/store/apps/details?id=com.fitdigits.icardio.app"],["src","/static/img/footer-download-android.png",1,"downloadFooter",2,"float","right"],[1,"leftFooter"],[1,"rightFooter"],["routerLink","/privacy-policy.html"],["routerLink","/terms-and-conditions.html",1,"ng-scope"],["routerLink","/welcome"],["src","/static/img/fitdigits-header-logo.png",1,"welcomeLogo"],["src","/static/img/theme/move/move_header_logo_mountains_new.png",1,"welcomeLogo",2,"height","34px"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"button",2),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"a",3),i["\u0275\u0275element"](6,"img",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,Nx,2,0,"a",5),i["\u0275\u0275template"](8,Hx,2,0,"a",5),i["\u0275\u0275elementStart"](9,"div",6),i["\u0275\u0275text"](10,"Get Fit. Stay Healthy."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",7),i["\u0275\u0275elementStart"](12,"span",8),i["\u0275\u0275text"](13,"Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",9),i["\u0275\u0275elementStart"](15,"h2"),i["\u0275\u0275text"](16,"Introduction"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"p"),i["\u0275\u0275text"](18,"At Fitdigits, we respect your privacy. We want to maintain your confidence in our handling of any data and information that is collected during your use of our applications, web services and your visit to our web site. We have developed and provided this Privacy Policy to inform you of our practices and policies regarding the collection, use, maintenance, and disclosure of your personal data and information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275text"](20,"We are committed to providing you with adequate information so you can make an informed decision whether to use our applications, web services, visit our web site and whether you wish to voluntarily provide any personal data or information, e.g., your name, e-mail address, etc. Our Privacy Policy is described in the following sections. See also our Terms of Service for app and website usage policies."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22,"Fitdigits is headquartered in Ventura, California and our Platform and Services are provided to you by Fitdigits, Inc. If you are a resident of the European Economic Area (\u201cEEA\u201d), Fitdigits, Inc. is the controller of your personal data for the purposes of EEA data protection law."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"p"),i["\u0275\u0275text"](24,"This policy was written in English. To the extent a translated version conflicts with the English version, the English version controls. Unless indicated otherwise, this Privacy Policy does not apply to third party products or services or the practices of companies that we do not own or control, including other companies you might interact with on or through the Services."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"p"),i["\u0275\u0275text"](26,"Questions or comments about this Privacy Policy may be submitted by mail to the address below or via https://my.fitdigits.com."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](27,"br"),i["\u0275\u0275text"](28,"Fitdigits, Inc."),i["\u0275\u0275element"](29,"br"),i["\u0275\u0275text"](30," 151 Nob Hill Lane"),i["\u0275\u0275element"](31,"br"),i["\u0275\u0275text"](32," Ventura, CA 93003"),i["\u0275\u0275element"](33,"br"),i["\u0275\u0275text"](34," USA"),i["\u0275\u0275element"](35,"br"),i["\u0275\u0275text"](36," Attn: Legal"),i["\u0275\u0275element"](37,"br"),i["\u0275\u0275text"](38," support @ fitdigits.com"),i["\u0275\u0275element"](39,"br"),i["\u0275\u0275element"](40,"br"),i["\u0275\u0275element"](41,"div",10),i["\u0275\u0275elementStart"](42,"p",11),i["\u0275\u0275text"](43,"We Do Not Sell Your Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"p"),i["\u0275\u0275text"](45,"We do not, and will not, disclose, sell, rent or share any personally identifiable information received as a result of enrollment, registrations or e-commerce transactions on our web site with any third parties, other than our Partners or Service Companies, or as otherwise stated in this Privacy Policy."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"p",11),i["\u0275\u0275text"](47,"Users Under 13 Years Old"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"p"),i["\u0275\u0275text"](49,"If you are younger than 13, please do not use the service or at any time provide any personally identifiable information in connection with any unlawful use of Fitdigits applications or the web site."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"h2"),i["\u0275\u0275text"](51,"Information Fitdigits Collects"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"p"),i["\u0275\u0275text"](53,"Fitdigits collects information about you, including information that directly or indirectly identifies you, if you or your other members choose to share it with Fitdigits. Fitdigits receives information in different ways, including when you track or upload activities using the Fitdigits Platform. Fitdigits also collects information about how you use the apps, website and other services. There are also features that allow you to share information about yourself, your friends, and activities with Fitdigits Platform, which includes Fitdigits apps, website and related services. Examples include: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](54,"p",11),i["\u0275\u0275text"](55,"General Account, Profile & Activity Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"p"),i["\u0275\u0275text"](57,"We collect basic account information such as your name, email address, date of birth, gender, weight, username and password that helps determine heart rate zones and health data, and to secure and provide you with access to our Platform."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](58,"p"),i["\u0275\u0275text"](59,"Other Profile information is collected about you when you choose to upload a picture, activity data which can include date, time and geo-location information as well as interpreted data such as your speed, pace and perceived exertion, or post, join a group, add a friend or equipment usage, view others\u2019 activities, or otherwise use the Fitdigits platform, including apps, website and related services."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](60,"p"),i["\u0275\u0275text"](61,"We use your contact information to notify you of any features you've opted into including things like friends activity, goal progress, account changes, and team or group information, and also to respond to your support requests and comments."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](62,"p",11),i["\u0275\u0275text"](63,"Location Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](64,"p"),i["\u0275\u0275text"](65,"We collect location information when you use the Platform. We do not track your device location while you are not using Fitdigits Platform, but our core feature set is tied to collecting and processing geo-location data from your device while the Platform is being used by you. To stop the device location tracking, you may adjust the permissions in your device settings or within the specific apps Sensors section."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](66,"p",11),i["\u0275\u0275text"](67,"Shared Content"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](68,"p"),i["\u0275\u0275text"](69,"Fitdigits gets information from photos, comments, LiveCheers(tm), reviews, favorites and like, and other content you share on the Platform, including when you link 3rd party participating partners, team or group events, or create routes, routines, goals or teams."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](70,"p",11),i["\u0275\u0275text"](71,"Personal Health Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"p"),i["\u0275\u0275text"](73,"Fitdigits collects or infers health information from information you enter directly, inferred through analysis, or from 3rd party partners you authorize to share such information. Health metrics may be received from heart rate monitors, cadence sensors, power meters, accelerometers, or other sources. You must give explicit consent to the processing of that health information by Fitdigits in order to upload this information. You can withdraw your consent for processing your health information to the Platform at any time."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](74,"p",11),i["\u0275\u0275text"](75,"3rd Party Partners, Connected Apps and Devices"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](76,"p"),i["\u0275\u0275text"](77,"Fitdigits collects information from 3rd party partners, including devices and apps you connect to the Platform. For example, you may connect Fitbit or a Garmin account to Fitdigits and information from these devices and apps will be passed along to Fitdigits, or Fitdigits may share activity and other information to these partners with your authorization. You can withdraw your consent for processing your information from Partners at any time. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](78,"p",11),i["\u0275\u0275text"](79,"Incorporation of Google Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](80,"p"),i["\u0275\u0275text"](81,"Fitdigits Services may include YouTube integration, and therefore incorporates "),i["\u0275\u0275elementStart"](82,"a",12),i["\u0275\u0275text"](83,"Google's Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](84," located at "),i["\u0275\u0275elementStart"](85,"a",12),i["\u0275\u0275text"](86,"https://policies.google.com/privacy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](87," in addition to Fitdigits Privacy Policy. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](88,"p",11),i["\u0275\u0275text"](89,"Contacts Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](90,"p"),i["\u0275\u0275text"](91,"If you choose to add your contacts\u2019 information by connecting them from a mobile device or social network account such as Facebook to the Fitdigits Platform, Fitdigits can, depending on your choices, access and store your contacts\u2019 information to identify connections and help you connect with them. This can include LiveTracking, where you and your contacts can see your activity details including but not limited to routes, heart rate, cadence and other data, user comments, LiveCheers(tm), group or team contacts and activities, goals and progress, and contact names and profile photos who may or may not be currently signed up on the Fitdigits Platform. To disconnect from Facebook, send a request to Support through your app in Menu > Support > Send Support Email."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](92,"p",11),i["\u0275\u0275text"](93,"Cookies"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](94,"p"),i["\u0275\u0275text"](95,'"Cookies" are small data files that are written to and stored on your hard drive when you visit a web site. They do not read files on your hard drive. Like most web sites, we may use cookies to personalize a user\'s experience of our web site and to make it easier for users to complete forms.'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](96,"p"),i["\u0275\u0275text"](97,"We may use data and information received from cookies for marketing purposes and to improve our on-line offering of services and products. We may also do so to evaluate our site's technical capacity and to review the navigational structure of our site, e.g., to revise or restructure our web site for easier and more intuitive movement throughout."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](98,"p"),i["\u0275\u0275text"](99,"Currently, the data and information we collect with cookies is only reviewed in an aggregated form, which is not personally identifiable. In the future, however, we may correlate the data and information received from cookies with personally identifiable information, to identify specific users and track their web site usage."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](100,"p",11),i["\u0275\u0275text"](101,"Log Files and Technical Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](102,"p"),i["\u0275\u0275text"](103,"Fitdigits collects information from your browser, computer, or mobile device, which provide us with technical information when you access or use the Platform. This technical information includes device and network information, cookies, log files and analytics information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](104,"p"),i["\u0275\u0275text"](105,"We may also review data and information contained in log files located on our Platform, including our web server and support portals, which record the date and time of each visit, IP (internet protocol) address, the referring IP address or domain (the prior web site visited), referring/exit pages, platform type, number of clicks, and the files and views on our Platform (including HTML pages, graphics, etc.). We may use log file information to analyze trends, administer, protect and secure the Platform, track member movement in the aggregate, and gather broad demographic information for aggregate use. This information may be linked to session IDs, member IDs and device identifiers."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](106,"p",11),i["\u0275\u0275text"](107,"Other Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](108,"p"),i["\u0275\u0275text"](109,"If you make purchases from our on-line offerings, respond to a request for information or make any other on-line request of us, you will be voluntarily providing personally identifiable information. If you do not agree with this Privacy Policy, we ask that you please do not provide the requested information. You may nevertheless continue to use our web site, subject, however, to the collection of information through cookies and log files as discussed above. If you have previously provided personally identifiable information by registration through our web site, you may request to be removed from our active database of mailing lists (see below)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](110,"p"),i["\u0275\u0275text"](111,'Voluntarily provided information is used to send you announcements of new products, updates, and promotional information, as well as to provide the services or goods that you request and give you better customer service. We may share personally identifiable information with our affiliated entities, as well as with our third-party business partners, sales representatives and distributors (collectively, "Partners") who may provide the requested goods or services to you directly or otherwise contact you directly. Moreover, we rely on various third-party service companies ("Service Companies") to provide certain services (e.g., shipping, credit card billing) for which it is necessary to provide users\' personally identifiable information.'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](112,"p"),i["\u0275\u0275text"](113,"We may collect information from you through third parties, such as when we collect your feedback through surveys. We may also collect information about you from other members such as when they give you comments, LiveCheers(tm) or comments on your activities."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](114,"p"),i["\u0275\u0275text"](115,"Please note that although we may seek to require that Partners and Service Companies use information regarding our users only in the ways permitted by this Privacy Policy, we do not control and are not responsible for their privacy practices, or those of any other party."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](116,"p",11),i["\u0275\u0275text"](117,"Links to Third-Party Apps and Web Sites"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](118,"p"),i["\u0275\u0275text"](119,"Through our web pages or apps, you may connect to third parties' platforms, and the connections may or may not be obvious. We are not responsible for the collection, use, maintenance, sharing, or disclosure of data and information by such third parties. We encourage our users to be aware of the varied privacy policies of web sites that they visit."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](120,"h2"),i["\u0275\u0275text"](121,"How Fitdigits Uses Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](122,"p",11),i["\u0275\u0275text"](123,"To provide services to You"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](124,"p"),i["\u0275\u0275text"](125,"Fitdigits uses the information we collect and receive to provide the Platform services, including providing the ability to do the following:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](126,"ul"),i["\u0275\u0275elementStart"](127,"li"),i["\u0275\u0275text"](128,"Record your activities and analyze your information and performance, including showing metrics on given activities, individually or in aggregate, comparing your past efforts, analyzing your heart rate, and other analysis to help provide you with performance analysis and engaging content."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](129,"li"),i["\u0275\u0275text"](130,"Manage your activities. For example, to set goals or use your activities dashboard."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](131,"li"),i["\u0275\u0275text"](132,"Find new workouts, routes and routines. For example, to discover new workout videos or routes where you can do a variety of activities like running, riding, or gym circuts."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](133,"li"),i["\u0275\u0275text"](134,"Interact with other members. For example, to participate in teams or groups, follow other members, and use features that help members interact with one another, such as group leaderboards or challenges and group goals."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](135,"li"),i["\u0275\u0275text"](136,"Visualize your activities. For example, by creating individual or aggregate heart rate or power graphs, personal goal streaks, or your overall activities log."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](137,"p",11),i["\u0275\u0275text"](138,"To protect you and the Platform"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](139,"p"),i["\u0275\u0275text"](140,"Fitdigits uses information collected to protect you, enforce our Terms of Service, and promote safety. We check and remove content that violates our terms, including hate speech or spam, and can suspend or terminate accounts that share such content. We also check for system abuses and non-standard activities that could harm the overall user experience of the majority of users on the Platform."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](141,"p",11),i["\u0275\u0275text"](142,"To improve our Services"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](143,"p"),i["\u0275\u0275text"](144,"Fitdigits can use data in aggregate or individually to help us promote or develop relevant or new features, events, or views to help engage and improve the Platform."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](145,"p",11),i["\u0275\u0275text"](146,"Correspondence"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](147,"p"),i["\u0275\u0275text"](148,"Fitdigits uses information we collect to provide support in response to your requests and comments. We may also use the information we collect to market and promote the Platform, activities and events on Fitdigits, and other products or services. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](149,"p"),i["\u0275\u0275text"](150,"Fitdigits may use email and push communications, where you have not opted out of receiving such messages and notifications."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](151,"p"),i["\u0275\u0275text"](152,"We maintain and review correspondence that you send to us. We may use the personally identifiable information disclosed in the e-mail. Because such correspondence contains information that is not transmitted through the operation of our Platform, it is not subject to the terms of this Privacy Policy."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](153,"p",11),i["\u0275\u0275text"](154,"To Enable Service Providers"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](155,"p"),i["\u0275\u0275text"](156,"Fitdigits may share your information with third parties who provide services for supporting, improving, promoting and securing the Platform, processing payments, or analyzing aggregate data. These service providers only have access to the information necessary to perform these limited functions on our behalf and are required to protect and secure your information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](157,"p",11),i["\u0275\u0275text"](158,"Publicly Available Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](159,"p"),i["\u0275\u0275text"](160,"When you join the Fitdigits Platform, your profile and your activities are not viewable by others by default unless explilcitly shared by you."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](161,"p"),i["\u0275\u0275text"](162,"If you opt-in to Groups or Teams, or create a Member URL in your Profile, subject to your privacy controls, your information, including parts of your profile, member URL, photos, members you follow and who follow you, teams and groups you belong to, your activities, the devices you use, and LiveCheers(tm) and comments you give and receive will be shared on Fitdigits so that you may be able to participate in the Platform services. For example your recent activities and the ability to follow or be followed. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](163,"p"),i["\u0275\u0275text"](164,"Certain information (e.g., your name, and some profile information) is also available to non-members on the web if you create a member URL in your Profile. Your precise location information, such as where you run or ride, may also be shared on Fitdigits or to non-members, in accordance with your privacy controls. To remove your member information from non-members or members in the Friends area, delete your Member URL in the profile section at https://my.fitdigits.com/member"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](165,"p",11),i["\u0275\u0275text"](166,"Required Disclosures of Data & Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](167,"p"),i["\u0275\u0275text"](168,"In addition to disclosures to our Partners and Service Companies, and regardless of anything in this Privacy Policy to the contrary, we may disclose personally identifiable information, with or without prior notice to you, when we believe that the law requires it, in response to subpoenas or at the demand of governmental agencies, to protect our systems or business, to protect other visitors to the web site, or to respond to an emergency. If you engage, or we reasonably suspect you of engaging in any illegal activity, we may also disclose your personally identifiable information, even without a subpoena, warrant or court order. We may also make disclosures of your personally identifiable information with your affirmative consent."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](169,"p",11),i["\u0275\u0275text"](170,"Maintenance & Transmission of Data & Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](171,"p"),i["\u0275\u0275text"](172,"Although we use reasonable efforts to maintain the privacy of your personally identifiable data and information, due to technological limitations, and the risk of unlawful interceptions and accessing of transmissions and/or data, we cannot completely assure you, and you should not expect, that your personally identifiable data and information, and any other electronically communicated information, will be absolutely confidential."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](173,"p"),i["\u0275\u0275text"](174,"For all e-commerce transactions, we use commercial encryption technology to protect the data and information that you transmit to us via our web site. Although this technology is not flawless, we believe that it provides reasonable protection for your data and information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](175,"p"),i["\u0275\u0275text"](176,"We generally seek to require our Partners and Service Companies to exercise reasonable efforts to maintain the confidentiality of your information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](177,"p",11),i["\u0275\u0275text"](178,"DMCA Notices"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](179,"p"),i["\u0275\u0275text"](180,"FItdigits may share your information with third parties when we forward Digital Millennium Copyright Act (DMCA) notifications, which will be forwarded as submitted to us without any deletions."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](181,"p",11),i["\u0275\u0275text"](182,"How We Protect Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](183,"p"),i["\u0275\u0275text"](184,"Fitdigits take many measures to safeguard the collection, transmission and storage of the data we collect. We employ reasonable protections for your information that are appropriate to its sensitivity. The Platform uses industry standard Secure Sockets Layer (SSL) technology to allow for encryption of personal information. Fitdigits engages providers that are industry leaders in online security to strengthen the security of our Platform. The Platform is registered with site identification authorities so your browser can confirm Fitdigits\u2019 identity before any personal information is sent. In addition, Fitdigits\u2019 secure servers protect this information using advanced firewall security detection and protection technology."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](185,"p",11),i["\u0275\u0275text"](186,"Assignment"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](187,"p"),i["\u0275\u0275text"](188,"We may share your information with affiliates under common control with us, who are required to comply with the terms of this Privacy Policy with regard to your information. If Fitdigits becomes involved in a business combination, securities offering, bankruptcy, reorganization, dissolution or other similar transaction, we may share or transfer your information in connection with such transaction."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](189,"h2"),i["\u0275\u0275text"](190,"Managing Your Privacy Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](191,"p",11),i["\u0275\u0275text"](192,"Your Right to Review & Modify Data & Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](193,"p"),i["\u0275\u0275text"](194,"Most Fitdigits Platform privacy and share settings are located on the Profile section of the apps and/or website, including the ability to set and change account and profile information. If you need assistance correcting inaccurate information, please contact Fitdigits at https://my.fitdigits.com."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](195,"p"),i["\u0275\u0275text"](196,"You may remove yourself from our active databases and e-mail lists. Email management links are located within the emails sent to you after sign up and any followup correspondence. Any transactional emails (confirmation of purchases, password reminders, or other transactions) generally do not offer an unsubscribe option as they are necessary to provide the service you request. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](197,"p"),i["\u0275\u0275text"](198,"To remove yourself from active databases, you can go to the Profile section in your app and tap Delete, or you can send an e-mail to support@fitdigits.com requesting that you be removed from our databases and active e-mail lists. We will endeavor to comply with your request as soon as reasonably possible, at maximum within 90 days. Our back-up files may maintain copies of your personally identifiable information. We reserve the right to contact former customers or users of the Platform from time to time."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](199,"p"),i["\u0275\u0275text"](200,"Fitdigits may retain information where deletion requests are made to comply with the law and take other actions permitted by law. Content you have shared with others, such as photos or routines, or that others have copied may also remain visible after you have deleted your account or deleted specific information from your own profile. Your public member URL profile may be displayed in search engine results until the search engine refreshes its cache."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](201,"p"),i["\u0275\u0275text"](202,"Fitdigits also provides you the option to remove individual activities you have posted without deleting your account. Once removed, the activities may remain on Fitdigits\u2019 Platform until you delete your account."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](203,"p"),i["\u0275\u0275text"](204,"To download your data, visit https://my.fitdigits.com/activities, select All from the date range, then click Export from the bottom left of the view."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](205,"h2"),i["\u0275\u0275text"](206,"Your Rights and Our Legal Bases"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](207,"p"),i["\u0275\u0275text"](208,"Fitdigits provides privacy tools and controls to all of our members worldwide. Particular rights may be available to you if you reside in certain locations, such as the EEA, Brazil or California. If you are habitually located in the EEA, you have the right to access, rectify, download or erase your information, as well as the right to restrict and object to certain processing of your information. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](209,"p",11),i["\u0275\u0275text"](210,"Our Legal Bases"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](211,"p"),i["\u0275\u0275text"](212,"Fitdigits relies on a number of legal bases to collect, use, share, and otherwise process the information about you for the purposes described in this Privacy Policy, including:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](213,"ul"),i["\u0275\u0275elementStart"](214,"li"),i["\u0275\u0275text"](215,"To provide the Platform services and fulfill our obligations pursuant to the Terms of Service. For example, Fitdigits cannot provide your platform services unless we collect and use your location information;"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](216,"li"),i["\u0275\u0275text"](217,"Where you have consented to the processing of the related information;"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](218,"li"),i["\u0275\u0275text"](219,"Where necessary to comply with a legal obligation, a court order, or to exercise and defend legal claims;"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](220,"li"),i["\u0275\u0275text"](221,"To protect your vital interests, or those of others, such as in the case of emergencies; and"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](222,"li"),i["\u0275\u0275text"](223,"Where necessary for the purposes of Fitdigits\u2019 or a third party\u2019s legitimate interests, such as our interests in protecting our members, our partners\u2019 interests in collaborating with our members, and our commercial interests in ensuring the sustainability of the Services."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](224,"p",11),i["\u0275\u0275text"](225,"Transfers"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](226,"p"),i["\u0275\u0275text"](227,"The Platform services are operated from the United States. If you are located outside of the United States and choose to use the Platform or provide information to us, you acknowledge and understand that your information will be transferred, processed and stored in the United States, as it is necessary to provide the Platform services and perform the Terms of Service. United States privacy laws may not be as protective as those in your jurisdiction."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](228,"p",11),i["\u0275\u0275text"](229,"Retention of Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](230,"p"),i["\u0275\u0275text"](231,"We retain information as long as it is necessary to provide the Platform to you and others, subject to any legal obligations to further retain such information. Information associated with your account will generally be kept until it is no longer necessary to provide the Platform or until your account is deleted or inactive for over 30 months. In addition, you can delete some items of information (e.g., profile information) and you can remove individual activities from view without deleting your account. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](232,"p"),i["\u0275\u0275text"](233,"Additionally, we may retain information to comply with the law, prevent fraud, resolve disputes, troubleshoot issues, assist with investigations, enforce the Terms of Service and take other actions permitted by law. The information we retain will be handled in accordance with this Privacy Policy."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](234,"p"),i["\u0275\u0275text"](235,"Information connected to you that is no longer necessary and relevant to provide our Platform services may be de-identified or aggregated with other non-personal data to provide insights which are commercially valuable to Fitdigits, such as statistics of the use of the Services."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](236,"h2"),i["\u0275\u0275text"](237,"Conclusion"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](238,"p"),i["\u0275\u0275text"](239,"We hope that this Privacy Policy helps you to make an informed decision whether to use our Platform, visit our web site, use our apps and/or to provide us with certain information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](240,"p"),i["\u0275\u0275text"](241,"If you have any questions, concerns or problems, we encourage you to email to support@fitdigits.com. We appreciate your suggestions on how we can improve our Privacy Policy or any aspects of our web site."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](242,"p",11),i["\u0275\u0275text"](243,"Changes to this Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](244,"p"),i["\u0275\u0275text"](245,"Due to changing technological and marketing demands, we reserve the right to change our policies regarding the privacy of your personally identifiable information in the future. If that happens, we will endeavor to promptly update this Privacy Policy. Please review it occasionally. Your continued use of the web site following changes to this policy will indicate that you accept the changes. If you object to any of the changes to this Privacy Policy, you should stop using the Platform and delete your account."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](246,"div",1),i["\u0275\u0275elementStart"](247,"a",13),i["\u0275\u0275element"](248,"img",14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](249,"a",15),i["\u0275\u0275element"](250,"img",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](251,"div",6),i["\u0275\u0275elementStart"](252,"div",17),i["\u0275\u0275template"](253,Vx,2,0,"a",5),i["\u0275\u0275template"](254,Yx,2,0,"a",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](255,"div",18),i["\u0275\u0275elementStart"](256,"a",19),i["\u0275\u0275text"](257,"Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](258," \u2022 "),i["\u0275\u0275elementStart"](259,"a",20),i["\u0275\u0275text"](260,"Terms of Service"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](261,"br"),i["\u0275\u0275text"](262," \xa9 Fitdigits, Inc. All rights reserved worldwide "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",t.showLoadingOverlay),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](9,Wx)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,7,"ROOT.Sign In")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeFitdigits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](245),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeFitdigits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado))},directives:[S.e,S.f,y.NgIf],pipes:[M.c],styles:["#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:960px;margin:auto;text-align:left}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;border-top:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;font-size:26px;background-color:#e2e3e4}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;padding:10px 40px;max-width:1100px}.privacyHeader[_ngcontent-%COMP%]{font-weight:700;font-size:18px}.welcomeLogo[_ngcontent-%COMP%]{position:absolute;top:20px;left:20px}.signin-header[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff}.header-band[_ngcontent-%COMP%]{background-color:#eaebec;text-align:center;width:100%;margin-top:70px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%]{background-color:transparent}.supportHeaderIcon[_ngcontent-%COMP%]{position:absolute;right:200px;top:24px;z-index:21;height:30px;margin-top:-2px}.leftFooter[_ngcontent-%COMP%]{float:left;max-width:50%;text-align:left;padding:18px}.rightFooter[_ngcontent-%COMP%]{float:right;text-align:right}.centerFoooterImg[_ngcontent-%COMP%]{margin:-40px auto 0;text-align:center}.downloadFooter[_ngcontent-%COMP%]{padding:0 20px;max-height:140px;margin-bottom:-70px}@media (max-width:600px){.centerFoooterImg[_ngcontent-%COMP%], .leftFooter[_ngcontent-%COMP%]{visibility:hidden;width:0}}@media (max-width:600px){.partner-wrap[_ngcontent-%COMP%]{padding:10px}h3[_ngcontent-%COMP%]{font-size:18px}}","h2[_ngcontent-%COMP%] {\n\t\t\tmargin: 30px 0px;\n\t\t\twidth:100%;\n\t\t}\n\t\t.privacyHeader[_ngcontent-%COMP%] {\n\t\t\tmargin: 20px 0px;\n\t\t\twidth:100%;\n\t\t}"]}),e}();function Ux(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",21),i["\u0275\u0275element"](1,"img",22),i["\u0275\u0275elementEnd"]())}function qx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",21),i["\u0275\u0275element"](1,"img",23),i["\u0275\u0275elementEnd"]())}function Zx(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",21),i["\u0275\u0275element"](1,"img",22),i["\u0275\u0275elementEnd"]())}function $x(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",21),i["\u0275\u0275element"](1,"img",23),i["\u0275\u0275elementEnd"]())}var Xx=function(){return["/login"]},Kx=function(){function e(e,t,n){this.titleService=e,this.AccountService=t,this.ThemeService=n,this.showLoadingOverlay=!1,this.AccountService.setLoginView(!0)}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-terms-and-conditions"]],decls:116,vars:10,consts:[[1,"header-container"],[1,"btn-primary","themedRoundButton","float-right","signin-header",3,"routerLink"],["routerLink","/support",1,"supportHeader"],["src","/static/img/support_icon.png",1,"supportHeaderIcon"],["routerLink","/welcome",4,"ngIf"],[1,"header-band"],["id","fd-partners",3,"hidden"],[1,"partner-section-title"],[2,"margin-left","10px"],[1,"partner-wrap"],[1,"privacyHeader"],["href","https://www.youtube.com/t/terms"],["href","https://policies.google.com/privacy"],["href","https://itunes.apple.com/us/app/icardio-workout-tracker/id314841648?mt=8"],["src","/static/img/footer-download-ios.png",1,"downloadFooter"],["href","https://play.google.com/store/apps/details?id=com.fitdigits.icardio.app"],["src","/static/img/footer-download-android.png",1,"downloadFooter",2,"float","right"],[1,"leftFooter"],[1,"rightFooter"],["routerLink","/privacy-policy.html"],["routerLink","/terms-and-conditions.html",1,"ng-scope"],["routerLink","/welcome"],["src","/static/img/fitdigits-header-logo.png",1,"welcomeLogo"],["src","/static/img/theme/move/move_header_logo_mountains_new.png",1,"welcomeLogo",2,"height","34px"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"button",1),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"a",2),i["\u0275\u0275element"](5,"img",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,Ux,2,0,"a",4),i["\u0275\u0275template"](7,qx,2,0,"a",4),i["\u0275\u0275elementStart"](8,"div",5),i["\u0275\u0275text"](9,"Get Fit. Stay Healthy."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",6),i["\u0275\u0275elementStart"](11,"div",7),i["\u0275\u0275elementStart"](12,"span",8),i["\u0275\u0275text"](13,"Terms of Service"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",9),i["\u0275\u0275elementStart"](15,"p"),i["\u0275\u0275text"](16,'IMPORTANT \u2014 THIS AGREEMENT ("AGREEMENT") IS A LEGAL AGREEMENT BETWEEN YOU (EITHER AN INDIVIDUAL OR ENTITY) ("YOU" or "YOUR") AND FITDIGITS, INC. ("FITDIGITS"). BY USING THE SERVICE HEREIN DESCRIBED AND ANY ACCOMPANYING SOFTWARE ("SOFTWARE"), YOU ACKNOWLEDGE THAT YOU HAVE READ THIS AGREEMENT, UNDERSTAND IT AND AGREE TO BE BOUND BY ITS TERMS.'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"p",10),i["\u0275\u0275text"](18,"1. Agreement with Fitdigits."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275text"](20,'Your use of any Fitdigits Software or service (collectively, "Service") is governed by this Agreement. Fitdigits is, located at 151 Nob Hill Lane, Ventura, California 93003.'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p",10),i["\u0275\u0275text"](22,"2. No Medical Advice."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"p"),i["\u0275\u0275text"](24,"Fitdigits does not offer medical advice and the Service is not intended to provide medical advice. The Service is for informational purposes only. Any content or information obtained through the Service should not be used during a medical emergency or for the diagnosis or treatment of any health or medical condition. Please consult with Your doctor or other qualified health care provider if You have any questions about a medical condition, or before taking any drug, changing Your diet, commencing any exercise regimen or commencing or discontinuing any course of treatment. Do not ignore or delay obtaining professional medical advice because of information accessed through the Service."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"p",10),i["\u0275\u0275text"](26,"3. Your Account and Use of the Service."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"p"),i["\u0275\u0275text"](28,"You may be required to create an account to participate in the Service. You agree to provide, maintain and update true, accurate, current and complete information about yourself as prompted by our registration processes. You agree not to impersonate any person or entity or misrepresent Your identity or affiliation with any person or entity, including using another person's username, password or other account information, or another person's name, likeness, voice, image or photograph. You are responsible for the security of your passwords and for any use of Your account. You also agree to notify us promptly at support@fitdigits.com of any unauthorized use of Your username, password, other account information, or any other breach of security that You become aware of involving or relating to the Service."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"p"),i["\u0275\u0275text"](30,"Your use of the Service and any content accessed through the Service must comply with all applicable laws, regulations and ordinances, including any laws regarding the export of data or software. You must be at least 18 years old to use the Service."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"p"),i["\u0275\u0275text"](32,"You may not access the Service other than by the interfaces provided by Fitdigits or interfere with or disrupt the proper operation of the Service."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"p",10),i["\u0275\u0275text"](34,"4. Use of Your Information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"p"),i["\u0275\u0275text"](36,'If You create, transmit, or display fitness or health or other information while using the Service, You may provide only information that You own or have the right to use. When You provide Your information through the Service, You give Fitdigits a license to use and distribute it in connection with the Service and other Fitdigits services to those entities and individuals You designate. You understand and agree that this authorization permits the disclosure of health or personal information about You to the entities and individuals You designate and that it may contain sensitive information. You further acknowledge and agree that Fitdigits shall have a perpetual, royalty free license to use all information that You provide in any manner Fitdigits deems fit, provided that such information does not include Your personally identifiable information but is aggregated with information received from others. Fitdigits will only use personally identifiable information You provide as provided herein and as provided in Fitdigits\' Privacy Policy located at http://www.fitdigits.com/terms-and-conditions/. You acknowledge and agree that Fitdigits is not a "covered entity" under the Health Insurance Portability and Accountability Act of 1996 and the regulations promulgated thereunder ("HIPAA"). As a result, HIPAA does not apply to the transmission of health information by Fitdigits to third parties unless a HIPAA business associate agreement is in force with those entities.'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"p"),i["\u0275\u0275text"](38,"Fitdigits reserves the right to transfer any and all information that it collects from users of the Service to a third party in the event that Fitdigits sells or transfers its business or all or substantially all of its assets related to the Service to such third party."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"p",10),i["\u0275\u0275text"](40,"5. Content and Services Accessed through the Service."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"p"),i["\u0275\u0275text"](42,"Fitdigits may make third-party websites and other services available through the Service. In order to use a specific service, You may choose to allow the third-party service provider to receive, retrieve, provide, and/or modify health and other information in Your account or otherwise share Your information with the service provider. Once You enable a specific third-party service provider to receive information from or to access Your account, the service provider may continue to receive such information and/or access Your account until You affirmatively disable access. Third-party service providers may include fitness, health care providers and other entities. It is Your sole responsibility to review and approve each such third-party service before sharing Your information through or otherwise accessing it."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"p"),i["\u0275\u0275text"](44,"Fitdigits may screen, modify, refuse, or remove certain content or third-party services, but is not responsible for and does not endorse any third-party content or services. Fitdigits further does not endorse any third-party service providers, other fitness or health care providers, or their products, services, opinions, or web sites accessed through the Service."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"p"),i["\u0275\u0275text"](46,'USE OF THE SERVICE AND RELIANCE ON ANY CONTENT PROVIDED IS SOLELY AT YOUR OWN RISK. YOU AGREE THAT FITDIGITS SHALL NOT BE HELD LIABLE FOR ANY DAMAGES ARISING OUT OF OR RELATED TO YOUR USE OF ANY THIRD-PARTY SERVICE OR CONTENT. Providers of these third-party services and/or content are Fitdigits\' "Licensors".'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"p",10),i["\u0275\u0275text"](48,"6. YouTube Terms of Service"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"p"),i["\u0275\u0275text"](50,"Fitdigits Services may include YouTube integration, and therefore incorporates the "),i["\u0275\u0275elementStart"](51,"a",11),i["\u0275\u0275text"](52,"YouTube Terms of Service"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](53," located at "),i["\u0275\u0275elementStart"](54,"a",11),i["\u0275\u0275text"](55,"https://www.youtube.com/t/terms"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](56," and "),i["\u0275\u0275elementStart"](57,"a",12),i["\u0275\u0275text"](58,"Google's Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](59," located at "),i["\u0275\u0275elementStart"](60,"a",12),i["\u0275\u0275text"](61,"https://policies.google.com/privacy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](62," in addition to Fitdigits Terms of Service and Fitdigits Privacy Policy. In the event of a conflict between any policies posted on the terms of this Agreement and YouTube Terms of Service, the YouTube Terms of Service take priority over Fitdigits when relating to YouTube or Google."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"p",10),i["\u0275\u0275text"](64,"7. Fitdigits Proprietary Rights."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](65,"p"),i["\u0275\u0275text"](66,"Fitdigits and its Licensors own all proprietary rights to the Service. Fitdigits gives you a personal, revocable, non-assignable, and non-exclusive license to use the Service. Any Software provided to you is licensed and not sold. All title to the Software resides and remains in Fitdigits."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](67,"p",10),i["\u0275\u0275text"](68,"8. Modification and Termination of the Service."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](69,"p"),i["\u0275\u0275text"](70,"Fitdigits may place limits on, modify, suspend or terminate the Service generally, and may suspend or terminate your use of the Service if you fail to comply with this Agreement. This suspension or termination may delete your information, files, and other previously available content. If Fitdigits terminates the Service or your use of the Service, this Agreement will also terminate, but in addition to those provisions that survive according to their terms, Sections 3-12 shall continue to be effective after this Agreement is terminated."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](71,"p",10),i["\u0275\u0275text"](72,"9. Changes to this Agreement."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](73,"p"),i["\u0275\u0275text"](74,"Fitdigits may change this Agreement and will post the modified agreement (which shall then become the Agreement) at http://www.fitdigits.com/terms-and-conditions/. If you do not agree to the modified agreement, You should stop using the Service. Your continued use of the Service after the date the modified agreement is posted will constitute Your acceptance of the modified agreement."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](75,"p",10),i["\u0275\u0275text"](76,"10. Indemnification."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](77,"p"),i["\u0275\u0275text"](78,"You will hold harmless, defend or settle any third-party claim against Fitdigits, any third party service providers, or any of Fitdigits' other Licensors arising out of or related to Your use of the Service."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](79,"p",10),i["\u0275\u0275text"](80,"11. Exclusion of Warranties."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](81,"p"),i["\u0275\u0275text"](82,'YOU HEREBY ACCEPT THE SERVICE, "AS IS" AND WITH ALL FAULTS, DEFECTS AND ERRORS. NEITHER FITDIGITS NOR ANY OF Fitdigits\' LICENSORS MAKE ANY EXPRESS WARRANTIES, AND EACH OF THEM DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING IMPLIED WARRANTIES OF ACCURACY, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](83,"p",10),i["\u0275\u0275text"](84,"12. Limitation of Liability."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](85,"p"),i["\u0275\u0275text"](86,"NEITHER YOU NOR FITDIGITS OR ANY OF ITS LICENSORS MAY BE HELD LIABLE UNDER THIS AGREEMENT FOR ANY DAMAGES OTHER THAN DIRECT DAMAGES, EVEN IF THE PARTY KNOWS OR SHOULD KNOW THAT OTHER DAMAGES ARE POSSIBLE OR THAT DIRECT DAMAGES ARE NOT A SATISFACTORY REMEDY. THE LIMITATIONS IN THIS SECTION APPLY TO YOU ONLY TO THE EXTENT THEY ARE LAWFUL IN YOUR JURISDICTION."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](87,"p"),i["\u0275\u0275text"](88,"YOU AGREE THAT NEITHER FITDIGITS NOR ANY OF ITS LICENSORS MAY BE HELD LIABLE UNDER THIS AGREEMENT FOR MORE THAN $100. YOU ACKNOWLEDGE THAT IF THE ABOVE LIMITATION WERE NOT INCLUDED HEREIN, FITDIGITS WOULD NOT LICENSE THE SERVICE TO YOU AND YOU FURTHER COVENANT THAT YOU WILL BRING NO CLAIM IN EXCESS OF THIS LIMITATION."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](89,"p",10),i["\u0275\u0275text"](90,"13. General Legal Terms."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](91,"p"),i["\u0275\u0275text"](92,"If You have not signed a separate written agreement with Fitdigits related to the Service, this Agreement is the entire agreement between You and Fitdigits related to the Service, replacing any prior agreements. If there is any conflict between this Agreement and a signed written agreement between You and Fitdigits related to the Service, the signed written agreement will control."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](93,"p"),i["\u0275\u0275text"](94,"Fitdigits' Licensors may be third party beneficiaries to this Agreement. There are no other third party beneficiaries to this Agreement. The parties to this Agreement are independent contractors, and nothing in this Agreement creates an agency, partnership, or joint venture. You shall not assign this Agreement, by operation of law or otherwise. Fitdigits may assign this Agreement in connection with any merger, consolidation, any sale of all or substantially all of Fitdigits' assets or any other transaction in which more than fifty percent (50%) of its voting securities are transferred, subject to all of the terms of this Agreement."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](95,"p"),i["\u0275\u0275text"](96,"Failure to enforce any provision will not constitute a waiver of that provision. If any provision is found unenforceable, it and any related provisions will be interpreted to best accomplish the unenforceable provision's essential purpose and the remainder of the Agreement shall be unaffected."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](97,"p"),i["\u0275\u0275text"](98,"This Agreement is governed by California law, excluding California's choice-of-law rules. THE EXCLUSIVE VENUE FOR ANY DISPUTE RELATING TO THIS AGREEMENT IS VENTURA COUNTY, CALIFORNIA. YOU AND FITDIGITS CONSENT TO THE PERSONAL JURISDICTION OF THESE COURTS. Nothing in this Agreement limits either party's ability to seek equitable relief."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](99,"div",0),i["\u0275\u0275elementStart"](100,"a",13),i["\u0275\u0275element"](101,"img",14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](102,"a",15),i["\u0275\u0275element"](103,"img",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](104,"div",5),i["\u0275\u0275elementStart"](105,"div",17),i["\u0275\u0275template"](106,Zx,2,0,"a",4),i["\u0275\u0275template"](107,$x,2,0,"a",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](108,"div",18),i["\u0275\u0275elementStart"](109,"a",19),i["\u0275\u0275text"](110,"Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](111," \u2022 "),i["\u0275\u0275elementStart"](112,"a",20),i["\u0275\u0275text"](113,"Terms of Service"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](114,"br"),i["\u0275\u0275text"](115," \xa9 Fitdigits, Inc. All rights reserved worldwide "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](9,Xx)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,7,"ROOT.Sign In")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeFitdigits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("hidden",t.showLoadingOverlay),i["\u0275\u0275advance"](96),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeFitdigits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado))},directives:[S.e,S.f,y.NgIf],pipes:[M.c],styles:["#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:960px;margin:auto;text-align:left}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;border-top:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;font-size:26px;background-color:#e2e3e4}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;padding:10px 40px;max-width:1100px}.privacyHeader[_ngcontent-%COMP%]{font-weight:700;font-size:18px}.welcomeLogo[_ngcontent-%COMP%]{position:absolute;top:20px;left:20px}.signin-header[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff}.header-band[_ngcontent-%COMP%]{background-color:#eaebec;text-align:center;width:100%;margin-top:70px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%]{background-color:transparent}.supportHeaderIcon[_ngcontent-%COMP%]{position:absolute;right:200px;top:24px;z-index:21;height:30px;margin-top:-2px}.leftFooter[_ngcontent-%COMP%]{float:left;max-width:50%;text-align:left;padding:18px}.rightFooter[_ngcontent-%COMP%]{float:right;text-align:right}.centerFoooterImg[_ngcontent-%COMP%]{margin:-40px auto 0;text-align:center}.downloadFooter[_ngcontent-%COMP%]{padding:0 20px;max-height:140px;margin-bottom:-70px}@media (max-width:600px){.centerFoooterImg[_ngcontent-%COMP%], .leftFooter[_ngcontent-%COMP%]{visibility:hidden;width:0}}@media (max-width:600px){.partner-wrap[_ngcontent-%COMP%]{padding:10px}h3[_ngcontent-%COMP%]{font-size:18px}}","h2[_ngcontent-%COMP%] {\n\t\t\tmargin: 30px 0px;\n\t\t\twidth:100%;\n\t\t}\n\t\t.privacyHeader[_ngcontent-%COMP%] {\n\t\t\tmargin: 20px 0px;\n\t\t\twidth:100%;\n\t\t}"]}),e}();function Jx(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.bc_days_success," Active Days ")}}function Qx(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.bc_days_success," Active Days ")}}function e_(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",n.bc_days_success," of ",n.bc_days_required," Active Days ")}}function t_(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1," No goal has been defined "),i["\u0275\u0275elementEnd"]())}function n_(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1," You've met your goal! "),i["\u0275\u0275elementEnd"]())}function i_(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1," You've exceeded your goal! "),i["\u0275\u0275elementEnd"]())}function r_(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",n.bc_only_text,"",n.bc_days_remaining," more days to go! ")}}function a_(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",n.bc_only_text,"",n.bc_days_remaining," more day to go! ")}}function o_(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",13),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275propertyInterpolate1"]("src","https://storage.googleapis.com/static_manager/fitdigits/ads/becolorado/",n.andyCelebrating,"",i["\u0275\u0275sanitizeUrl"])}}function s_(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",14),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275propertyInterpolate1"]("src","https://storage.googleapis.com/static_manager/fitdigits/ads/becolorado/",n.andy,"",i["\u0275\u0275sanitizeUrl"])}}var l_=function(e){return{left:e}};function c_(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",2),i["\u0275\u0275elementStart"](1,"div",3),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",4),i["\u0275\u0275template"](4,Jx,2,1,"span",1),i["\u0275\u0275template"](5,Qx,2,1,"span",1),i["\u0275\u0275template"](6,e_,2,2,"span",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",5),i["\u0275\u0275template"](8,t_,2,0,"span",1),i["\u0275\u0275template"](9,n_,2,0,"span",1),i["\u0275\u0275template"](10,i_,2,0,"span",1),i["\u0275\u0275template"](11,r_,2,2,"span",1),i["\u0275\u0275template"](12,a_,2,2,"span",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](13,"div",6),i["\u0275\u0275elementStart"](14,"div",7),i["\u0275\u0275elementStart"](15,"div",8),i["\u0275\u0275template"](16,o_,1,1,"img",9),i["\u0275\u0275template"](17,s_,1,1,"img",10),i["\u0275\u0275elementStart"](18,"div",11),i["\u0275\u0275elementStart"](19,"div",12),i["\u0275\u0275text"](20),i["\u0275\u0275pipe"](21,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](22,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.bc_impressive_text," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.bc_days_success==n.bc_days_required),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.bc_days_success>n.bc_days_required),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.bc_days_remaining>0),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0==n.bc_days_required||!n.bc_days_required),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.bc_days_required>0&&n.bc_days_success==n.bc_days_required),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.bc_days_success>n.bc_days_required),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.bc_days_remaining>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==n.bc_days_remaining),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](16,l_,n.bc_progbar_pos)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",100==n.bc_perc_complete),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",100!=n.bc_perc_complete),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](21,13,n.bc_perc_complete,"1.0-0"),"% ")}}function d_(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",15),i["\u0275\u0275elementEnd"]())}function u_(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",16),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/static/img/ads/",n.selectedImage,"",i["\u0275\u0275sanitizeUrl"])}}var p_=function(){function e(e,t,n,i,r,a,o){this.ThemeService=e,this.goalService=t,this.translate=n,this.router=i,this.ActivatedRoute=r,this.AccountService=a,this.window=o,this.images={},this.colorTheme="light"}return e.prototype.loadImage=function(e){if(e)this.selectedImage=e;else{var t=this.images[this.params.get("language")||this.translate.currentLang||"en"];this.selectedImage=t[Math.floor(Math.random()*t.length)]}},e.prototype.ngOnInit=function(){var e=this;this.colorTheme=this.ThemeService.isDarkTheme?"dark":"light",this.ThemeService.isThemeBecolorado&&(this.isThemeBeColorado=!0),this.params=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""}),console.log(this.params),this.isAds=!0,this.link=this.params.get("link")||"",this.appName=this.params.get("app")?this.params.get("app"):this.params.get("appName")?this.params.get("appName"):"none";var t="utm_source=ios&appName="+this.appName+"&gender="+this.params.get("gender")+"&device="+this.params.get("device")+"&appVersion="+this.params.get("appVersion")+"&build="+this.params.get("build")+"&workoutType="+this.params.get("workoutType")+"&language="+this.params.get("language")+"&colortheme="+this.params.get("colortheme"),n="https://my.fitdigits.com";if("becolorado"==this.appName.toLowerCase()&&(n="https://becolorado.fitdigits.com"),"spinning"==this.appName.toLowerCase()&&(n="https://spinning.fitdigits.com"),"spinning"==this.appName.toLowerCase()){if(this.isThemeSpinning=!0,console.log("app is spinnning"),"privacyPolicy"==this.link)return void this.router.navigate(["/privacy-policy.html"]);"termsConditions"==this.link&&(this.window.location.href="https://storage.googleapis.com/static_manager/maddogg/spinning-terms-and-conditions.html")}if("vXTour"==this.link&&(this.window.location.href="https://storage.googleapis.com/media_manager/videos/iCardio-Overview-iOS.mp4"),"usingApp"!=this.link)if("pairingSensors"!=this.link)if("editActivities"!=this.link)if("appleHealth"!=this.link)if("appleWatch"!=this.link)if("memberships"!=this.link)if("manageSubscriptions"!=this.link)if("privacyPolicy"!=this.link)if("termsConditions"!=this.link)if("heartZones"!=this.link)if("pairHRM"!=this.link)if("customHRZones"!=this.link)if("changeMetric"!=this.link)if("location"!=this.link)if("irregularHRM"!=this.link)if("betaProgram"!=this.link)if("sync"!=this.link)if("resetPassword"!=this.link)if("partners"!=this.link)if("cuhpPartners"==this.link&&(this.window.location.href="https://becolorado.fitdigits.com/partners?"+t),"androidSensors"!=this.link)if("assessments"!=this.link)if("misfit"==this.link&&(this.window.location.href="https://support.fitdigits.com/tag/misfit/?"+t),"strava"==this.link&&(this.window.location.href="https://support.fitdigits.com/tag/strava/?"+t),"googlefit"!=this.link&&"fitbit"!=this.link&&"garmin"!=this.link&&"withings"!=this.link&&"myfitnesspal"!=this.link&&"trainingpeaks"!=this.link&&"runkeeper"!=this.link||(this.window.location.href="https://support.fitdigits.com/tag/"+this.link+"/?"+t),"usingtheApp"!=this.link)if(this.images={en:[this.colorTheme+"/Inspiration2.jpg",this.colorTheme+"/Inspiration3.jpg",this.colorTheme+"/Inspiration4.jpg",this.colorTheme+"/Inspiration5.jpg",this.colorTheme+"/Inspiration6.jpg",this.colorTheme+"/Inspiration7.jpg",this.colorTheme+"/Inspiration8.jpg",this.colorTheme+"/Inspiration9.jpg",this.colorTheme+"/Inspiration10.jpg",this.colorTheme+"/Inspiration11.jpg",this.colorTheme+"/Inspiration12.jpg",this.colorTheme+"/Inspiration13.jpg",this.colorTheme+"/Inspiration14.jpg",this.colorTheme+"/Inspiration15.jpg",this.colorTheme+"/Inspiration16.jpg",this.colorTheme+"/Inspiration17.jpg",this.colorTheme+"/Inspiration18.jpg",this.colorTheme+"/Inspiration19.jpg",this.colorTheme+"/Inspiration20.png",this.colorTheme+"/Inspiration21.png",this.colorTheme+"/Inspiration22.png",this.colorTheme+"/Inspiration23.png",this.colorTheme+"/Inspiration24.png",this.colorTheme+"/Inspiration25.png",this.colorTheme+"/Inspiration26.png",this.colorTheme+"/Inspiration27.png",this.colorTheme+"/Inspiration28.png",this.colorTheme+"/Inspiration29.png"],es:[this.colorTheme+"/Inspiration_es.png"],fr:[this.colorTheme+"/Inspiration_es.png"],de:[this.colorTheme+"/Inspiration_es.png"],it:[this.colorTheme+"/Inspiration_es.png"]},"dark"===this.colorTheme&&(document.documentElement.style.backgroundColor="black"),this.isThemeBeColorado){var i="becolorado/bcError_temp.png";this.loading=!0,this.has_bc_goal=!0,this.params.get("device_id")?this.goalService.evalBCGoal(!0).subscribe(function(t){var n=t.response;if(n.result.length>0){var r=n.result[0];e.andyCelebrating="AndyCelebrating_iOS7.png",e.andy="Andy_iOS7.png","dark"===e.params.get("colortheme")&&(e.andyCelebrating="AndyCelebrating.png",e.andy="Andy.png"),e.bc_days_success=r.evaluation,e.bc_days_required=12,e.bc_days_remaining=12-Number(r.evaluation)||0,e.bc_only_text="Only ";var a="Impressive!";e.bc_days_success===e.bc_days_required?a="Impressive!":e.bc_days_success<e.bc_days_required?a="Keep Moving!":e.bc_days_success>e.bc_days_required&&(a="Really Impressive!"),e.bc_impressive_text=a,e.bc_perc_complete=100*r.score,e.windowsize=e.window.innerWidth,e.windowsize=e.windowsize<400?e.window.innerWidth-65:330,e.bc_progbar_pos=e.windowsize*(e.bc_perc_complete/100),i="becolorado/Progressbar_iOS7.png",e.loading=!1}else e.has_bc_goal=!1,document.documentElement.style.backgroundColor="#31A0A7";e.loadImage(i)}):(this.has_bc_goal=!1,document.documentElement.style.backgroundColor="#31A0A7",this.loadImage(i))}else this.isThemeSpinning||this.ThemeService.isThemeSpinning?(this.isThemeSpinning=!0,this.loadImage(this.colorTheme+"/spinningLogoAd.png")):this.loadImage();else this.window.location.href=n+"/support?"+t;else this.window.location.href=n+"/fitness-assessments.html?"+t;else this.window.location.href=n+"/fitness-sensors?"+t;else this.window.location.href=n+"/partners?"+t;else this.window.location.href="/profile/overview?"+t;else this.window.location.href="overview/syncing?"+t;else this.window.location.href=n+"/support?"+t;else this.window.location.href=n+"/fitness-sensors/heart-rate-monitors?"+t;else this.window.location.href=n+"/fitness-sensors/location-and-gps/android?"+t;else this.window.location.href=n+"/profile/overview?"+t;else this.window.location.href=n+"/zones/overview?"+t;else this.window.location.href=n+"/fitness-sensors?"+t;else this.window.location.href=n+"/zones/overview?"+t;else this.window.location.href=n+"/terms-and-conditions.html";else this.window.location.href=n+"/privacy-policy.html";else this.window.location.href=n+"/profile/overview/managesubscriptions?"+t;else this.window.location.href=n+"/memberships?"+t;else this.window.location.href=n+"/fitness-sensors/apple-watch?"+t;else this.window.location.href=n+"/partners/apple-health?"+t;else this.window.location.href=n+"/overview/managing-activities?"+t;else this.window.location.href=n+"/fitness-sensors?"+t;else this.window.location.href=n+"/support?"+t},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](o.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](p.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-promos"]],decls:3,vars:3,consts:[["class","goalAdContainer",4,"ngIf"],[4,"ngIf"],[1,"goalAdContainer"],["id","goalsCongrats",1,"goalsTextSection","goalsLargeText"],[1,"goalsLargeText"],["id","goalsWorkoutsRemaining",1,"goalsTextSection","goalsSmallText"],[2,"clear","both"],[1,"goalsProgressBarContainer"],[1,"goalsAndyContainer","goalsSmallText",3,"ngStyle"],["class","goalsAndyCelebrate",3,"src",4,"ngIf"],["class","goalsAndy",3,"src",4,"ngIf"],[1,"absolute"],[1,"goalsPercComplete"],[1,"goalsAndyCelebrate",3,"src"],[1,"goalsAndy",3,"src"],["src","https://storage.googleapis.com/static_manager/cuhealth/bcProgramNotEnrolledWarning_temp.png",2,"max-width","100%"],[2,"max-width","100%",3,"src"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,c_,23,18,"div",0),i["\u0275\u0275template"](1,d_,2,0,"div",1),i["\u0275\u0275template"](2,u_,2,1,"div",1)),2&e&&(i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado&&t.has_bc_goal&&!t.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado&&!t.has_bc_goal),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isThemeBecolorado))},directives:[y.NgIf,y.NgStyle],pipes:[y.DecimalPipe],styles:[".goalsPercComplete[_ngcontent-%COMP%]{position:relative;left:-69.5px;width:200px}.goalAdContainer[_ngcontent-%COMP%]{text-align:center;max-width:100%}.goalsLargeText[_ngcontent-%COMP%]{font-size:2em}.goalsSmallText[_ngcontent-%COMP%]{font-size:1.7em}.goalsTextSection[_ngcontent-%COMP%]{padding:2% 0}#goalsCongrats[_ngcontent-%COMP%]{padding:6%}.bold[_ngcontent-%COMP%]{font-weight:700}#goalsWorkoutsRemaining[_ngcontent-%COMP%]{padding:0 0 5%}.goalsProgressBarContainer[_ngcontent-%COMP%]{background:url(https://storage.googleapis.com/static_manager/fitdigits/ads/becolorado/Progressbar.png) bottom no-repeat;background-size:100%;max-width:400px;height:120px;margin:2% auto 0;text-align:center}.goalsAndyContainer[_ngcontent-%COMP%]{float:left;position:relative}.goalsAndy[_ngcontent-%COMP%], .goalsAndyCelebrate[_ngcontent-%COMP%]{margin-top:-5px;height:110px}@media (max-width:600px){.goalsAndy[_ngcontent-%COMP%], .goalsAndyCelebrate[_ngcontent-%COMP%]{margin-top:-5px}}@media (max-width:420px){.goalsAndy[_ngcontent-%COMP%], .goalsAndyCelebrate[_ngcontent-%COMP%]{margin-top:-5px}}"]}),e}();function h_(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}function m_(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",11),i["\u0275\u0275element"](1,"img",12),i["\u0275\u0275elementEnd"]())}function g_(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",11),i["\u0275\u0275element"](1,"img",13),i["\u0275\u0275elementEnd"]())}function f_(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",9),i["\u0275\u0275template"](1,m_,2,0,"a",10),i["\u0275\u0275template"](2,g_,2,0,"a",10),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ThemeService.isThemeFitdigits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ThemeService.isThemeBecolorado)}}var v_=function(){function e(e,t,n,i){this.titleService=e,this.AccountService=t,this.router=n,this.ThemeService=i,this.showLoadingOverlay=!1}return e.prototype.ngOnInit=function(){this.AccountService.setLoginView(!0),this.AccountService.isLoggedIn&&(this.AccountService.setLoginView(!1),this.router.navigate(["/home"]))},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-signup"]],decls:17,vars:11,consts:[[4,"ngIf"],[1,"sectionStructure"],[2,"clear","both"],[1,"header-container"],[1,"header-band"],["class","leftFooter",4,"ngIf"],[1,"rightFooter"],["routerLink","/privacy-policy.html"],["routerLink","/terms-and-conditions.html",1,"ng-scope"],[1,"leftFooter"],["routerLink","/welcome",4,"ngIf"],["routerLink","/welcome"],["src","/static/img/fitdigits-header-logo.png",1,"header-logo-new"],["src","/static/img/theme/move/move_header_logo_mountains_new.png",1,"header-logo-new",2,"height","34px"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,h_,1,0,"app-login-notify",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275element"](2,"div",2),i["\u0275\u0275elementStart"](3,"div",3),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275template"](5,f_,3,2,"div",5),i["\u0275\u0275elementStart"](6,"div",6),i["\u0275\u0275elementStart"](7,"a",7),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](10," \u2022 "),i["\u0275\u0275elementStart"](11,"a",8),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](14,"br"),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeFitdigits),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,5,"ROOT.Privacy Policy")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](13,7,"ROOT.Terms of Service")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" \xa9 Fitdigits, Inc. ",i["\u0275\u0275pipeBind1"](16,9,"ROOT.All rights reserved worldwide")," "))},directives:[y.NgIf,S.f,Yo.a],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}","#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:960px;margin:auto;text-align:left}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;border-top:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;font-size:26px;background-color:#e2e3e4}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;padding:10px 40px;max-width:1100px}.references[_ngcontent-%COMP%]{border:1px solid;border-radius:4px;background-color:rgba(234,235,236,.1);padding:20px;margin:40px 0;clear:both}.downloadMain[_ngcontent-%COMP%]{width:100%;text-align:center}.appSpecificSection[_ngcontent-%COMP%]{border:0 solid;float:left;width:100%;margin-top:0}.downloadAppCol[_ngcontent-%COMP%]{width:33%;float:left;border:0 solid;text-align:center}.appTextLogo[_ngcontent-%COMP%]{height:30px;margin:30px auto;display:block}.appTopLogo[_ngcontent-%COMP%]{margin-bottom:0}.downloadStoreBadge[_ngcontent-%COMP%]{margin:10px auto;display:block}.topSignupHero[_ngcontent-%COMP%]{float:left;text-align:center;width:50%}.signup-step-2[_ngcontent-%COMP%]{text-align:center;margin:40px auto 0;clear:both;width:100%;float:left}.android-device[_ngcontent-%COMP%], .apple-device[_ngcontent-%COMP%]{height:200px}.ready-for-more[_ngcontent-%COMP%]{font-size:24px;margin-left:60px;list-style-type:circle}.topImage[_ngcontent-%COMP%]{background-image:url(/static/img/running_home1.png);background-repeat:no-repeat,repeat;background-size:100%}.signupTopText[_ngcontent-%COMP%]{text-shadow:4px 2px #000}.logoSubText[_ngcontent-%COMP%], .signupTopText[_ngcontent-%COMP%]{text-align:center;color:#fff}.logoSubText[_ngcontent-%COMP%]{background-color:#4597cb;padding:5px;display:block;width:200px;margin:-10px auto 20px}.welcomeLogo[_ngcontent-%COMP%]{position:absolute;top:20px;left:20px}.signin-header[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff}.header-band[_ngcontent-%COMP%]{background-color:#eaebec;text-align:center;width:100%;margin-top:70px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%]{background-color:transparent}.leftFooter[_ngcontent-%COMP%]{float:left;max-width:50%;text-align:left;padding:18px}.rightFooter[_ngcontent-%COMP%]{float:right;text-align:right}.centerFoooterImg[_ngcontent-%COMP%]{margin:-40px auto 0;text-align:center}.downloadFooter[_ngcontent-%COMP%]{padding:0 20px;max-height:140px;margin-bottom:-70px}@media (max-width:600px){.centerFoooterImg[_ngcontent-%COMP%], .leftFooter[_ngcontent-%COMP%]{visibility:hidden;width:0}}@media (max-width:600px){.partner-wrap[_ngcontent-%COMP%]{padding:10px}h3[_ngcontent-%COMP%]{font-size:18px}.downloadAppCol[_ngcontent-%COMP%]{width:100%}.ready-for-more[_ngcontent-%COMP%]{font-size:18px}.signupTopText[_ngcontent-%COMP%]{color:#fff;margin-top:-5px;text-shadow:2px 1px #000;font-size:24px!important}}"]}),e}(),y_=n("nod/"),b_=function(){function e(e){this.router=e}return e.prototype.ngOnInit=function(){console.log(this.router.url),this.router.url.includes("site/profileimageios")?window.location.href="https://storage.googleapis.com/image_manager/profile_image/default.profile.male.png":this.router.url.includes("cumove")?this.router.navigateByUrl(this.router.url.split("/proto/cumove/")[1]):this.router.navigateByUrl(this.router.url.split("/proto/")[1])},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](S.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-proto-redirect"]],decls:2,vars:0,template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1,"proto-redirect works!"),i["\u0275\u0275elementEnd"]())},styles:[""]}),e}(),x_=function(){function e(){}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-becolorado-participant-agreement"]],decls:383,vars:0,consts:[[2,"margin","0 30px"],[2,"padding-top","30px","text-align","center"],[2,"text-align","center"],["href","https://play.google.com/store/apps/details?id=com.fitdigits.becolorado.app&hl=en_US&gl=US"],["href","https://apps.apple.com/us/app/cu-health-plan-move/id616346637"],["href","https://becolorado.fitdigits.com/"],["href","https://www.fitdigits.com/privacy-policy.html"],["href","https://www.fitdigits.com/terms-and-conditions.html"],["href","https://becolorado.org/"],[1,"fitdigitsPrivacy"],[2,"clear","both","width","100%"],[1,"privacyHeader"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"h2",1),i["\u0275\u0275elementStart"](2,"strong"),i["\u0275\u0275text"](3,"Be Colorado"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](4,". "),i["\u0275\u0275elementStart"](5,"em"),i["\u0275\u0275text"](6,"Move"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7,"."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"h3",2),i["\u0275\u0275text"](9,"Participant Agreement"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](10,"br"),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275text"](12,"This privacy policy and terms of service covers the CU Health Plan Move apps on "),i["\u0275\u0275elementStart"](13,"a",3),i["\u0275\u0275text"](14,"Google Play"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](15," and "),i["\u0275\u0275elementStart"](16,"a",4),i["\u0275\u0275text"](17,"Apple AppStore"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18," and the "),i["\u0275\u0275elementStart"](19,"em"),i["\u0275\u0275text"](20,"Move"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](21," program referenced below. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"p"),i["\u0275\u0275text"](23,"The University of Colorado Health and Welfare Trust and Plan (\u201cPlan\u201d) has developed a movement program ("),i["\u0275\u0275elementStart"](24,"em"),i["\u0275\u0275text"](25,"Move"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](26,".) to reward CU Health Plan participants that lead an active lifestyle. The Plan Employers (University of Colorado and University Physicians, Inc.) \xa0will provide each participant with a taxable incentive payment of $25 for every month the participant engages in at least 30 minutes of moderate and/or vigorous physical activity a minimum of 12 days per month.\xa0 The daily 30 minute requirement may be accumulated through a minimum of 10 minute increments over the course of each day or, if using a Fitbit or Garmin tracking device, by taking 10,000 steps over the course of a day.\xa0 The Plan has contracted with Fitdigits Inc. to provide a simple way to track participant progress and encourage each participant to meet the monthly goal.\xa0 To take part in "),i["\u0275\u0275elementStart"](27,"em"),i["\u0275\u0275text"](28,"Move."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](29,", each participant understands, agrees to and/or certifies the following:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"ol"),i["\u0275\u0275elementStart"](31,"li"),i["\u0275\u0275text"](32,"I certify that I am eighteen years of age or older. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](33,"br"),i["\u0275\u0275elementStart"](34,"li"),i["\u0275\u0275text"](35,"I certify that I am employed by a Plan Employer and am currently participating in a CU Health Plan."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](36,"br"),i["\u0275\u0275elementStart"](37,"li"),i["\u0275\u0275text"](38,"I understand I should seek the advice of a physician or other competent medical professional before beginning any physical activity and/or weight loss program or if I have any questions or concerns regarding my health or medical care.\xa0 I understand that if I am unable to meet the physical activity requirements for the incentive under this movement program because of my health status, I have the opportunity to earn the same incentive by different means.\xa0 I understand that I can contact questions@becolorado.org to establish an alternate incentive opportunity in accordance with my physician\u2019s recommendation."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](39,"br"),i["\u0275\u0275elementStart"](40,"li"),i["\u0275\u0275text"](41,"If I experience any abnormal physical symptoms while participating in "),i["\u0275\u0275elementStart"](42,"em"),i["\u0275\u0275text"](43,"Move."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](44,", I will stop exercising immediately and consult my physician. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](45,"br"),i["\u0275\u0275element"](46,"br"),i["\u0275\u0275elementStart"](47,"p",2),i["\u0275\u0275elementStart"](48,"u"),i["\u0275\u0275text"](49,"USE OF THE "),i["\u0275\u0275elementStart"](50,"strong"),i["\u0275\u0275text"](51,"BE COLORADO "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"em"),i["\u0275\u0275text"](53,"MOVE"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](54,". APPS AND WEBSITE"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](55,"li"),i["\u0275\u0275text"](56,"I understand that Fitdigits has developed a Be Colorado app and website in order to track my progress toward meeting the requirement of 12 times per month of 30 minutes or more of moderate to vigorous physical activity.\xa0 The daily 30 minute requirement may be accumulated through a minimum of 10 minute increments over the course of each day, or if using a Fitbit or Garmin tracking device, by taking 10,000 steps over the course of a day."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](57,"br"),i["\u0275\u0275elementStart"](58,"li"),i["\u0275\u0275text"](59,"\xa0I agree to download the free Be Colorado app from Fitdigits at the Apple store or the Google Play store or sign up at the Be Colorado skinned Fitdigits website "),i["\u0275\u0275elementStart"](60,"a",5),i["\u0275\u0275text"](61,"https://becolorado.fitdigits.com"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](62," in order to report my physical activity minutes."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](63,"br"),i["\u0275\u0275elementStart"](64,"li"),i["\u0275\u0275text"](65,"I understand that although the app and website have the Be Colorado branding, they are solely run by Fitdigits and my use of the app and website is governed by Fitdigits\u2019 Privacy Policy and Terms of Service."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](66,"br"),i["\u0275\u0275elementStart"](67,"li"),i["\u0275\u0275text"](68,"I have read and understand Fitdigits\u2019 Privacy Policy "),i["\u0275\u0275elementStart"](69,"a",6),i["\u0275\u0275text"](70,"https://www.fitdigits.com/privacy-policy.html"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](71," and understand that it covers my use of the app and website and the use of my information by Fitdigits."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](72,"br"),i["\u0275\u0275elementStart"](73,"li"),i["\u0275\u0275text"](74,"I have read and understand Fitdigits\u2019 Terms of Service "),i["\u0275\u0275elementStart"](75,"a",7),i["\u0275\u0275text"](76,"https://www.fitdigits.com/terms-and-conditions.html"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](77," \xa0and understand that it covers my use of the app and website and the use of my information by Fitdigits."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](78,"br"),i["\u0275\u0275elementStart"](79,"li"),i["\u0275\u0275text"](80,"I understand that any information I provide to Fitdigits regarding my physical activity is governed by Fitdigits\u2019 Terms of Service and Privacy Policy and that any additional information I provide is voluntarily provided and subject to Fitdigits\u2019 Terms of Service and Privacy Policy."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](81,"br"),i["\u0275\u0275elementStart"](82,"li"),i["\u0275\u0275text"](83,"I agree to provide my monthly physical activity minutes to Fitdigits via the app or website.\xa0 I understand that my physical activity minutes may be uploaded automatically through the app or other third-party component (e.g.\xa0 FitBit).\xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](84,"br"),i["\u0275\u0275elementStart"](85,"li"),i["\u0275\u0275text"](86,"I understand that to track the number of steps I take per day for this program, I must be using a Fitbit, Garmin other compatible device to track my movement."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](87,"br"),i["\u0275\u0275elementStart"](88,"li"),i["\u0275\u0275text"](89,"I understand that I may self-report my physical activity minutes by manually entering the information through the website or app a maximum of two times per month."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](90,"br"),i["\u0275\u0275elementStart"](91,"li"),i["\u0275\u0275text"](92,"I certify that any self-reported and manually entered physical activity minutes are a true and accurate record of my physical activity. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](93,"br"),i["\u0275\u0275elementStart"](94,"li"),i["\u0275\u0275text"](95,"I understand that various third-party products may be used in combination with Fitdigits to provide additional user features.\xa0 I understand that neither the Plan nor the Plan Employers require any participant to purchase these products, endorses any of these products or guarantees their quality in any way.\xa0 Use or purchase of any third-party products is the sole responsibility of the participant."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](96,"br"),i["\u0275\u0275elementStart"](97,"li"),i["\u0275\u0275text"](98,"I understand that the Be Colorado Fitdigits app and website may include advertising.\xa0 I understand that neither the Plan nor the Plan Employers endorse any of the products advertised or guarantee their quality in any way. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](99,"br"),i["\u0275\u0275element"](100,"br"),i["\u0275\u0275elementStart"](101,"p",2),i["\u0275\u0275elementStart"](102,"u"),i["\u0275\u0275text"](103,"REQUIREMENTS TO EARN THE INCENTIVE PAYMENT"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](104,"li"),i["\u0275\u0275text"](105,"I understand that in order for any physical activity minutes to count towards my incentive, all physical activity minutes must be completed by the end of the month and downloaded or manually entered by the 5th calendar day of the following month.\xa0 I understand that it is my responsibility to ensure that all physical activity minutes are timely received by Fitdigits."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](106,"br"),i["\u0275\u0275elementStart"](107,"li"),i["\u0275\u0275text"](108,"To meet the 10,000 steps per day requirement, I must have either a Fitbit or Garmin device that is capable of tracking my steps and is supported by Fitdigits. I understand that I may earn the incentive payment through a combination of days in which I took 10,000 steps (only if I am using a Fitbit, Garmin or other compatible tracker) and/or days in which I completed a minimum of 30 minutes of moderate and/or vigorous physical activity recorded via the Move. application.\n"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](109,"br"),i["\u0275\u0275elementStart"](110,"li"),i["\u0275\u0275text"](111,"I understand that moderate physical activity is defined as physical activity that is the equivalent of brisk walking or biking at a casual pace. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](112,"br"),i["\u0275\u0275elementStart"](113,"li"),i["\u0275\u0275text"](114,"I understand that vigorous physical activity is defined as physical activity that is the equivalent of running, jogging, swimming laps, playing competitive sports or jumping rope."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](115,"br"),i["\u0275\u0275element"](116,"br"),i["\u0275\u0275elementStart"](117,"p",2),i["\u0275\u0275elementStart"](118,"u"),i["\u0275\u0275text"](119,"INCENTIVE PAYMENT"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](120,"li"),i["\u0275\u0275text"](121,"I understand that I will earn a taxable $25 cash incentive for each month that I meet the requirement of at least 30 minutes of moderate and/or vigorous physical activity a minimum of 12 days per calendar month. \xa0The daily 30 minute requirement may be accumulated through a minimum of 10 minute increments over the course of each day or, if using a Fitbit or Garmin tracking device, by taking 10,000 steps over the course of a day."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](122,"br"),i["\u0275\u0275elementStart"](123,"li"),i["\u0275\u0275text"](124,"I understand that payments will be processed quarterly.\xa0 I understand I will only receive payment for the months in which I met the requirement.\xa0 Incentives earned for April-June will be paid in August.\xa0 Incentives earned for July-September will be paid in November.\xa0 Incentives earned for October-December will be paid in February.\xa0 Incentives earned for January-March will be paid in May. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](125,"br"),i["\u0275\u0275elementStart"](126,"li"),i["\u0275\u0275text"](127,"I understand that in order to receive the quarterly payment I must still be employed by a Plan Employer at the time of payment. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](128,"br"),i["\u0275\u0275elementStart"](129,"li"),i["\u0275\u0275text"](130,"I understand that payment will terminate upon termination of my employment with a Plan Employer, and I will only receive payment if I am a current employee of a Plan Employer at the time of payment."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](131,"br"),i["\u0275\u0275element"](132,"br"),i["\u0275\u0275elementStart"](133,"p",2),i["\u0275\u0275elementStart"](134,"u"),i["\u0275\u0275text"](135,"COMMUNICATION"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](136,"li"),i["\u0275\u0275text"](137,"I understand that Fitdigits will send me monthly emails updating the status of my progress and will notify me via email when I have met the monthly requirement.\xa0 I understand that I can opt out of the email notifications at any time. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](138,"br"),i["\u0275\u0275elementStart"](139,"li"),i["\u0275\u0275text"](140,"I understand that the only information my employer will receive from Fitdigits is whether I have met the minimum required monthly physical activity and de-identified, aggregate reporting on the use of the program by participants."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](141,"br"),i["\u0275\u0275elementStart"](142,"li"),i["\u0275\u0275text"](143,"\xa0I understand that if I no longer want to participate in "),i["\u0275\u0275elementStart"](144,"em"),i["\u0275\u0275text"](145,"Move"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](146,". I can remove myself from the program at any time by notifying questions@becolorado.org. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](147,"br"),i["\u0275\u0275elementStart"](148,"li"),i["\u0275\u0275text"](149,"I understand that this Participation Agreement is subject to change at any time.\xa0 My continued participation in this program constitutes my acceptance of the changes.\xa0 The Plan will post the most recent Participant Agreement, incorporating any changes, on the Be Colorado website at "),i["\u0275\u0275elementStart"](150,"a",8),i["\u0275\u0275text"](151,"becolorado.org"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](152,"."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](153,"p"),i["\u0275\u0275text"](154,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](155,"div",9),i["\u0275\u0275elementStart"](156,"h2",1),i["\u0275\u0275elementStart"](157,"strong"),i["\u0275\u0275text"](158,"FITDIGITS, INC."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](159,"div"),i["\u0275\u0275elementStart"](160,"h2"),i["\u0275\u0275text"](161,"Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](162,"h2"),i["\u0275\u0275text"](163,"Introduction"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](164,"p"),i["\u0275\u0275text"](165,"At Fitdigits, we respect your privacy. We want to maintain your confidence in our handling of any data and information that is collected during your use of our applications, web services and your visit to our web site. We have developed and provided this Privacy Policy to inform you of our practices and policies regarding the collection, use, maintenance, and disclosure of your personal data and information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](166,"p"),i["\u0275\u0275text"](167,"We are committed to providing you with adequate information so you can make an informed decision whether to use our applications, web services, visit our web site and whether you wish to voluntarily provide any personal data or information, e.g., your name, e-mail address, etc. Our Privacy Policy is described in the following sections. See also our Terms of Service for app and website usage policies."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](168,"p"),i["\u0275\u0275text"](169,"Fitdigits is headquartered in Ventura, California and our Platform and Services are provided to you by Fitdigits, Inc. If you are a resident of the European Economic Area (\u201cEEA\u201d), Fitdigits, Inc. is the controller of your personal data for the purposes of EEA data protection law."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](170,"p"),i["\u0275\u0275text"](171,"This policy was written in English. To the extent a translated version conflicts with the English version, the English version controls. Unless indicated otherwise, this Privacy Policy does not apply to third party products or services or the practices of companies that we do not own or control, including other companies you might interact with on or through the Services."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](172,"p"),i["\u0275\u0275text"](173,"Questions or comments about this Privacy Policy may be submitted by mail to the address below or via https://becolorado.fitdigits.com. "),i["\u0275\u0275element"](174,"br"),i["\u0275\u0275element"](175,"br"),i["\u0275\u0275text"](176,"Fitdigits, Inc."),i["\u0275\u0275element"](177,"br"),i["\u0275\u0275text"](178," 151 Nob Hill Lane"),i["\u0275\u0275element"](179,"br"),i["\u0275\u0275text"](180," Ventura, CA 93003"),i["\u0275\u0275element"](181,"br"),i["\u0275\u0275text"](182," USA"),i["\u0275\u0275element"](183,"br"),i["\u0275\u0275text"](184," Attn: Legal"),i["\u0275\u0275element"](185,"br"),i["\u0275\u0275text"](186," support @ fitdigits.com"),i["\u0275\u0275element"](187,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](188,"div",10),i["\u0275\u0275elementStart"](189,"p",11),i["\u0275\u0275text"](190,"We Do Not Sell Your Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](191,"p"),i["\u0275\u0275text"](192,"We do not, and will not, disclose, sell, rent or share any personally identifiable information received as a result of enrollment, registrations or e-commerce transactions on our web site with any third parties, other than our Partners or Service Companies, or as otherwise stated in this Privacy Policy."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](193,"p",11),i["\u0275\u0275text"](194,"Users Under 13 Years Old"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](195,"p"),i["\u0275\u0275text"](196,"If you are younger than 13, please do not use the service or at any time provide any personally identifiable information in connection with any unlawful use of Fitdigits applications or the web site."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](197,"h2"),i["\u0275\u0275text"](198,"Information Fitdigits Collects"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](199,"p"),i["\u0275\u0275text"](200,"Fitdigits collects information about you, including information that directly or indirectly identifies you, if you or your other members choose to share it with Fitdigits. Fitdigits receives information in different ways, including when you track or upload activities using the Fitdigits Platform. Fitdigits also collects information about how you use the apps, website and other services. There are also features that allow you to share information about yourself, your friends, and activities with Fitdigits Platform, which includes Fitdigits apps, website and related services. Examples include: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](201,"p",11),i["\u0275\u0275text"](202,"General Account, Profile & Activity Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](203,"p"),i["\u0275\u0275text"](204,"We collect basic account information such as your name, email address, date of birth, gender, weight, username and password that helps determine heart rate zones and health data, and to secure and provide you with access to our Platform."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](205,"p"),i["\u0275\u0275text"](206,"Other Profile information is collected about you when you choose to upload a picture, activity data which can include date, time and geo-location information as well as interpreted data such as your speed, pace and perceived exertion, or post, join a group, add a friend or equipment usage, view others\u2019 activities, or otherwise use the Fitdigits platform, including apps, website and related services."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](207,"p"),i["\u0275\u0275text"](208,"We use your contact information to notify you of any features you've opted into including things like friends activity, goal progress, account changes, and team or group information, and also to respond to your support requests and comments."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](209,"p",11),i["\u0275\u0275text"](210,"Location Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](211,"p"),i["\u0275\u0275text"](212,"We collect location information when you use the Platform. We do not track your device location while you are not using Fitdigits Platform, but our core feature set is tied to collecting and processing geo-location data from your device while the Platform is being used by you. To stop the device location tracking, you may adjust the permissions in your device settings or within the specific apps Sensors section."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](213,"p",11),i["\u0275\u0275text"](214,"Shared Content"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](215,"p"),i["\u0275\u0275text"](216,"Fitdigits gets information from photos, comments, LiveCheers(tm), reviews, favorites and like, and other content you share on the Platform, including when you link 3rd party participating partners, team or group events, or create routes, routines, goals or teams."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](217,"p",11),i["\u0275\u0275text"](218,"Personal Health Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](219,"p"),i["\u0275\u0275text"](220,"Fitdigits collects or infers health information from information you enter directly, inferred through analysis, or from 3rd party partners you authorize to share such information. Health metrics may be received from heart rate monitors, cadence sensors, power meters, accelerometers, or other sources. You must give explicit consent to the processing of that health information by Fitdigits in order to upload this information. You can withdraw your consent for processing your health information to the Platform at any time."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](221,"p",11),i["\u0275\u0275text"](222,"3rd Party Partners, Connected Apps and Devices"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](223,"p"),i["\u0275\u0275text"](224,"Fitdigits collects information from 3rd party partners, including devices and apps you connect to the Platform. For example, you may connect Fitbit or a Garmin account to Fitdigits and information from these devices and apps will be passed along to Fitdigits, or Fitdigits may share activity and other information to these partners with your authorization. You can withdraw your consent for processing your information from Partners at any time. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](225,"p",11),i["\u0275\u0275text"](226,"Contacts Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](227,"p"),i["\u0275\u0275text"](228,"If you choose to add your contacts\u2019 information by connecting them from a mobile device or social network account such as Facebook to the Fitdigits Platform, Fitdigits can, depending on your choices, access and store your contacts\u2019 information to identify connections and help you connect with them. This can include LiveTracking, where you and your contacts can see your activity details including but not limited to routes, heart rate, cadence and other data, user comments, LiveCheers(tm), group or team contacts and activities, goals and progress, and contact names and profile photos who may or may not be currently signed up on the Fitdigits Platform. To disconnect from Facebook, send a request to Support through your app in Menu > Support > Send Support Email."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](229,"p",11),i["\u0275\u0275text"](230,"Cookies"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](231,"p"),i["\u0275\u0275text"](232,'"Cookies" are small data files that are written to and stored on your hard drive when you visit a web site. They do not read files on your hard drive. Like most web sites, we may use cookies to personalize a user\'s experience of our web site and to make it easier for users to complete forms.'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](233,"p"),i["\u0275\u0275text"](234,"We may use data and information received from cookies for marketing purposes and to improve our on-line offering of services and products. We may also do so to evaluate our site's technical capacity and to review the navigational structure of our site, e.g., to revise or restructure our web site for easier and more intuitive movement throughout."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](235,"p"),i["\u0275\u0275text"](236,"Currently, the data and information we collect with cookies is only reviewed in an aggregated form, which is not personally identifiable. In the future, however, we may correlate the data and information received from cookies with personally identifiable information, to identify specific users and track their web site usage."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](237,"p",11),i["\u0275\u0275text"](238,"Log Files and Technical Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](239,"p"),i["\u0275\u0275text"](240,"Fitdigits collects information from your browser, computer, or mobile device, which provide us with technical information when you access or use the Platform. This technical information includes device and network information, cookies, log files and analytics information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](241,"p"),i["\u0275\u0275text"](242,"We may also review data and information contained in log files located on our Platform, including our web server and support portals, which record the date and time of each visit, IP (internet protocol) address, the referring IP address or domain (the prior web site visited), referring/exit pages, platform type, number of clicks, and the files and views on our Platform (including HTML pages, graphics, etc.). We may use log file information to analyze trends, administer, protect and secure the Platform, track member movement in the aggregate, and gather broad demographic information for aggregate use. This information may be linked to session IDs, member IDs and device identifiers."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](243,"p",11),i["\u0275\u0275text"](244,"Other Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](245,"p"),i["\u0275\u0275text"](246,"If you make purchases from our on-line offerings, respond to a request for information or make any other on-line request of us, you will be voluntarily providing personally identifiable information. If you do not agree with this Privacy Policy, we ask that you please do not provide the requested information. You may nevertheless continue to use our web site, subject, however, to the collection of information through cookies and log files as discussed above. If you have previously provided personally identifiable information by registration through our web site, you may request to be removed from our active database of mailing lists (see below)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](247,"p"),i["\u0275\u0275text"](248,'Voluntarily provided information is used to send you announcements of new products, updates, and promotional information, as well as to provide the services or goods that you request and give you better customer service. We may share personally identifiable information with our affiliated entities, as well as with our third-party business partners, sales representatives and distributors (collectively, "Partners") who may provide the requested goods or services to you directly or otherwise contact you directly. Moreover, we rely on various third-party service companies ("Service Companies") to provide certain services (e.g., shipping, credit card billing) for which it is necessary to provide users\' personally identifiable information.'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](249,"p"),i["\u0275\u0275text"](250,"We may collect information from you through third parties, such as when we collect your feedback through surveys. We may also collect information about you from other members such as when they give you comments, LiveCheers(tm) or comments on your activities."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](251,"p"),i["\u0275\u0275text"](252,"Please note that although we may seek to require that Partners and Service Companies use information regarding our users only in the ways permitted by this Privacy Policy, we do not control and are not responsible for their privacy practices, or those of any other party."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](253,"p",11),i["\u0275\u0275text"](254,"Links to Third-Party Apps and Web Sites"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](255,"p"),i["\u0275\u0275text"](256,"Through our web pages or apps, you may connect to third parties' platforms, and the connections may or may not be obvious. We are not responsible for the collection, use, maintenance, sharing, or disclosure of data and information by such third parties. We encourage our users to be aware of the varied privacy policies of web sites that they visit."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](257,"h2"),i["\u0275\u0275text"](258,"How Fitdigits Uses Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](259,"p",11),i["\u0275\u0275text"](260,"To provide services to You"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](261,"p"),i["\u0275\u0275text"](262,"Fitdigits uses the information we collect and receive to provide the Platform services, including providing the ability to do the following:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](263,"ul"),i["\u0275\u0275elementStart"](264,"li"),i["\u0275\u0275text"](265,"Record your activities and analyze your information and performance, including showing metrics on given activities, individually or in aggregate, comparing your past efforts, analyzing your heart rate, and other analysis to help provide you with performance analysis and engaging content."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](266,"li"),i["\u0275\u0275text"](267,"Manage your activities. For example, to set goals or use your activities dashboard."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](268,"li"),i["\u0275\u0275text"](269,"Find new workouts, routes and routines. For example, to discover new workout videos or routes where you can do a variety of activities like running, riding, or gym circuits."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](270,"li"),i["\u0275\u0275text"](271,"Interact with other members. For example, to participate in teams or groups, follow other members, and use features that help members interact with one another, such as group leaderboards or challenges and group goals."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](272,"li"),i["\u0275\u0275text"](273,"Visualize your activities. For example, by creating individual or aggregate heart rate or power graphs, personal goal streaks, or your overall activities log."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](274,"p",11),i["\u0275\u0275text"](275,"To protect you and the Platform"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](276,"p"),i["\u0275\u0275text"](277,"Fitdigits uses information collected to protect you, enforce our Terms of Service, and promote safety. We check and remove content that violates our terms, including hate speech or spam, and can suspend or terminate accounts that share such content. We also check for system abuses and non-standard activities that could harm the overall user experience of the majority of users on the Platform."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](278,"p",11),i["\u0275\u0275text"](279,"To improve our Services"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](280,"p"),i["\u0275\u0275text"](281,"Fitdigits can use data in aggregate or individually to help us promote or develop relevant or new features, events, or views to help engage and improve the Platform."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](282,"p",11),i["\u0275\u0275text"](283,"Correspondence"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](284,"p"),i["\u0275\u0275text"](285,"Fitdigits uses information we collect to provide support in response to your requests and comments. We may also use the information we collect to market and promote the Platform, activities and events on Fitdigits, and other products or services. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](286,"p"),i["\u0275\u0275text"](287,"Fitdigits may use email and push communications, where you have not opted out of receiving such messages and notifications."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](288,"p"),i["\u0275\u0275text"](289,"We maintain and review correspondence that you send to us. We may use the personally identifiable information disclosed in the e-mail. Because such correspondence contains information that is not transmitted through the operation of our Platform, it is not subject to the terms of this Privacy Policy."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](290,"p",11),i["\u0275\u0275text"](291,"To Enable Service Providers"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](292,"p"),i["\u0275\u0275text"](293,"Fitdigits may share your information with third parties who provide services for supporting, improving, promoting and securing the Platform, processing payments, or analyzing aggregate data. These service providers only have access to the information necessary to perform these limited functions on our behalf and are required to protect and secure your information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](294,"p",11),i["\u0275\u0275text"](295,"Publicly Available Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](296,"p"),i["\u0275\u0275text"](297,"When you join the Fitdigits Platform, your profile and your activities are not viewable by others by default unless explicitly shared by you."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](298,"p"),i["\u0275\u0275text"](299,"If you opt-in to Groups or Teams, or create a Member URL in your Profile, subject to your privacy controls, your information, including parts of your profile, member URL, photos, members you follow and who follow you, teams and groups you belong to, your activities, the devices you use, and LiveCheers(tm) and comments you give and receive will be shared on Fitdigits so that you may be able to participate in the Platform services. For example your recent activities and the ability to follow or be followed. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](300,"p"),i["\u0275\u0275text"](301,"Certain information (e.g., your name, and some profile information) is also available to non-members on the web if you create a member URL in your Profile. Your precise location information, such as where you run or ride, may also be shared on Fitdigits or to non-members, in accordance with your privacy controls. To remove your member information from non-members or members in the Friends area, delete your Member URL in the profile section at https://my.fitdigits.com/member"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](302,"p",11),i["\u0275\u0275text"](303,"Required Disclosures of Data & Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](304,"p"),i["\u0275\u0275text"](305,"In addition to disclosures to our Partners and Service Companies, and regardless of anything in this Privacy Policy to the contrary, we may disclose personally identifiable information, with or without prior notice to you, when we believe that the law requires it, in response to subpoenas or at the demand of governmental agencies, to protect our systems or business, to protect other visitors to the web site, or to respond to an emergency. If you engage, or we reasonably suspect you of engaging in any illegal activity, we may also disclose your personally identifiable information, even without a subpoena, warrant or court order. We may also make disclosures of your personally identifiable information with your affirmative consent."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](306,"p",11),i["\u0275\u0275text"](307,"Maintenance & Transmission of Data & Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](308,"p"),i["\u0275\u0275text"](309,"Although we use reasonable efforts to maintain the privacy of your personally identifiable data and information, due to technological limitations, and the risk of unlawful interceptions and accessing of transmissions and/or data, we cannot completely assure you, and you should not expect, that your personally identifiable data and information, and any other electronically communicated information, will be absolutely confidential."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](310,"p"),i["\u0275\u0275text"](311,"For all e-commerce transactions, we use commercial encryption technology to protect the data and information that you transmit to us via our web site. Although this technology is not flawless, we believe that it provides reasonable protection for your data and information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](312,"p"),i["\u0275\u0275text"](313,"We generally seek to require our Partners and Service Companies to exercise reasonable efforts to maintain the confidentiality of your information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](314,"p",11),i["\u0275\u0275text"](315,"DMCA Notices"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](316,"p"),i["\u0275\u0275text"](317,"Fitdigits may share your information with third parties when we forward Digital Millennium Copyright Act (DMCA) notifications, which will be forwarded as submitted to us without any deletions."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](318,"p",11),i["\u0275\u0275text"](319,"How We Protect Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](320,"p"),i["\u0275\u0275text"](321,"Fitdigits take many measures to safeguard the collection, transmission and storage of the data we collect. We employ reasonable protections for your information that are appropriate to its sensitivity. The Platform uses industry standard Secure Sockets Layer (SSL) technology to allow for encryption of personal information. Fitdigits engages providers that are industry leaders in online security to strengthen the security of our Platform. The Platform is registered with site identification authorities so your browser can confirm Fitdigits\u2019 identity before any personal information is sent. In addition, Fitdigits\u2019 secure servers protect this information using advanced firewall security detection and protection technology."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](322,"p",11),i["\u0275\u0275text"](323,"Assignment"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](324,"p"),i["\u0275\u0275text"](325,"We may share your information with affiliates under common control with us, who are required to comply with the terms of this Privacy Policy with regard to your information. If Fitdigits becomes involved in a business combination, securities offering, bankruptcy, reorganization, dissolution or other similar transaction, we may share or transfer your information in connection with such transaction."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](326,"h2"),i["\u0275\u0275text"](327,"Managing Your Privacy Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](328,"p",11),i["\u0275\u0275text"](329,"Your Right to Review & Modify Data & Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](330,"p"),i["\u0275\u0275text"](331,"Most Fitdigits Platform privacy and share settings are located on the Profile section of the apps and/or website, including the ability to set and change account and profile information. If you need assistance correcting inaccurate information, please contact Fitdigits at https://becolorado.fitdigits.com."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](332,"p"),i["\u0275\u0275text"](333,"You may remove yourself from our active databases and e-mail lists. Email management links are located within the emails sent to you after sign up and any followup correspondence. Any transactional emails (confirmation of purchases, password reminders, or other transactions) generally do not offer an unsubscribe option as they are necessary to provide the service you request. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](334,"p"),i["\u0275\u0275text"](335,"To remove yourself from active databases, you can go to the Profile section in your app and tap Delete, or you can send an e-mail to support@fitdigits.com requesting that you be removed from our databases and active e-mail lists. We will endeavor to comply with your request as soon as reasonably possible, at maximum within 90 days. Our back-up files may maintain copies of your personally identifiable information. We reserve the right to contact former customers or users of the Platform from time to time."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](336,"p"),i["\u0275\u0275text"](337,"Fitdigits may retain information where deletion requests are made to comply with the law and take other actions permitted by law. Content you have shared with others, such as photos or routines, or that others have copied may also remain visible after you have deleted your account or deleted specific information from your own profile. Your public member URL profile may be displayed in search engine results until the search engine refreshes its cache."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](338,"p"),i["\u0275\u0275text"](339,"Fitdigits also provides you the option to remove individual activities you have posted without deleting your account. Once removed, the activities may remain on Fitdigits\u2019 Platform until you delete your account."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](340,"p"),i["\u0275\u0275text"](341,"To download your data, visit https://my.fitdigits.com/activities, select All from the date range, then click Export from the bottom left of the view."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](342,"h2"),i["\u0275\u0275text"](343,"Your Rights and Our Legal Bases"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](344,"p"),i["\u0275\u0275text"](345,"Fitdigits provides privacy tools and controls to all of our members worldwide. Particular rights may be available to you if you reside in certain locations, such as the EEA, Brazil or California. If you are habitually located in the EEA, you have the right to access, rectify, download or erase your information, as well as the right to restrict and object to certain processing of your information. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](346,"p",11),i["\u0275\u0275text"](347,"Our Legal Bases"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](348,"p"),i["\u0275\u0275text"](349,"Fitdigits relies on a number of legal bases to collect, use, share, and otherwise process the information about you for the purposes described in this Privacy Policy, including:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](350,"ul"),i["\u0275\u0275elementStart"](351,"li"),i["\u0275\u0275text"](352,"To provide the Platform services and fulfill our obligations pursuant to the Terms of Service. For example, Fitdigits cannot provide your platform services unless we collect and use your location information;"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](353,"li"),i["\u0275\u0275text"](354,"Where you have consented to the processing of the related information;"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](355,"li"),i["\u0275\u0275text"](356,"Where necessary to comply with a legal obligation, a court order, or to exercise and defend legal claims;"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](357,"li"),i["\u0275\u0275text"](358,"To protect your vital interests, or those of others, such as in the case of emergencies; and"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](359,"li"),i["\u0275\u0275text"](360,"Where necessary for the purposes of Fitdigits\u2019 or a third party\u2019s legitimate interests, such as our interests in protecting our members, our partners\u2019 interests in collaborating with our members, and our commercial interests in ensuring the sustainability of the Services."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](361,"p",11),i["\u0275\u0275text"](362,"Transfers"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](363,"p"),i["\u0275\u0275text"](364,"The Platform services are operated from the United States. If you are located outside of the United States and choose to use the Platform or provide information to us, you acknowledge and understand that your information will be transferred, processed and stored in the United States, as it is necessary to provide the Platform services and perform the Terms of Service. United States privacy laws may not be as protective as those in your jurisdiction."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](365,"p",11),i["\u0275\u0275text"](366,"Retention of Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](367,"p"),i["\u0275\u0275text"](368,"We retain information as long as it is necessary to provide the Platform to you and others, subject to any legal obligations to further retain such information. Information associated with your account will generally be kept until it is no longer necessary to provide the Platform or until your account is deleted or inactive for over 30 months. In addition, you can delete some items of information (e.g., profile information) and you can remove individual activities from view without deleting your account. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](369,"p"),i["\u0275\u0275text"](370,"Additionally, we may retain information to comply with the law, prevent fraud, resolve disputes, troubleshoot issues, assist with investigations, enforce the Terms of Service and take other actions permitted by law. The information we retain will be handled in accordance with this Privacy Policy."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](371,"p"),i["\u0275\u0275text"](372,"Information connected to you that is no longer necessary and relevant to provide our Platform services may be de-identified or aggregated with other non-personal data to provide insights which are commercially valuable to Fitdigits, such as statistics of the use of the Services."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](373,"h2"),i["\u0275\u0275text"](374,"Conclusion"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](375,"p"),i["\u0275\u0275text"](376,"We hope that this Privacy Policy helps you to make an informed decision whether to use our Platform, visit our web site, use our apps and/or to provide us with certain information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](377,"p"),i["\u0275\u0275text"](378,"If you have any questions, concerns or problems, we encourage you to email to support@fitdigits.com. We appreciate your suggestions on how we can improve our Privacy Policy or any aspects of our web site."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](379,"p",11),i["\u0275\u0275text"](380,"Changes to this Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](381,"p"),i["\u0275\u0275text"](382,"Due to changing technological and marketing demands, we reserve the right to change our policies regarding the privacy of your personally identifiable information in the future. If that happens, we will endeavor to promptly update this Privacy Policy. Please review it occasionally. Your continued use of the web site following changes to this policy will indicate that you accept the changes. If you object to any of the changes to this Privacy Policy, you should stop using the Platform and delete your account."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())},styles:["#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:960px;margin:auto;text-align:left}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;border-top:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;font-size:26px;background-color:#e2e3e4}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;padding:10px 40px;max-width:1100px}.privacyHeader[_ngcontent-%COMP%]{font-weight:700;font-size:18px}.welcomeLogo[_ngcontent-%COMP%]{position:absolute;top:20px;left:20px}.signin-header[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff}.header-band[_ngcontent-%COMP%]{background-color:#eaebec;text-align:center;width:100%;margin-top:70px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%]{background-color:transparent}.supportHeaderIcon[_ngcontent-%COMP%]{margin-top:-2px}.leftFooter[_ngcontent-%COMP%]{float:left;max-width:50%;text-align:left;padding:18px}.rightFooter[_ngcontent-%COMP%]{float:right;text-align:right}.centerFoooterImg[_ngcontent-%COMP%]{margin:-40px auto 0;text-align:center}.downloadFooter[_ngcontent-%COMP%]{padding:0 20px;max-height:140px;margin-bottom:-70px}.fitdigitsPrivacy[_ngcontent-%COMP%]{padding:10px;margin-left:30px}@media (max-width:600px){.centerFoooterImg[_ngcontent-%COMP%], .leftFooter[_ngcontent-%COMP%]{visibility:hidden;width:0}}@media (max-width:600px){.partner-wrap[_ngcontent-%COMP%]{padding:10px}h3[_ngcontent-%COMP%]{font-size:18px}}","h2[_ngcontent-%COMP%] {\n\t\t\tmargin: 30px 0;\n\t\t\twidth:100%;\n\t\t}\n\t\th4[_ngcontent-%COMP%] {\n\t\t\tmargin: 20px 0;\n\t\t\twidth:100%;\n\t\t}\n\t\t.privacyHeader[_ngcontent-%COMP%] {\n\t\t\tmargin: 20px 0;\n\t\t\twidth:100%;\n\t\t}\n\t\tul[_ngcontent-%COMP%] {\n\t\t\tlist-style-type: circle;\n\t\t\tlist-style-position: outside;\n\t\t}\n\t\tli[_ngcontent-%COMP%] {\n    \t\tmargin-left: 1.5rem;\n\t\t}"]}),e}(),__=function(){return["/memberships"]};function w_(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",13),i["\u0275\u0275elementStart"](1,"h3",14),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"img",15),i["\u0275\u0275elementStart"](5,"a",16),i["\u0275\u0275elementStart"](6,"button",17),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](9,"div",18),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275element"](12,"br"),i["\u0275\u0275element"](13,"br"),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,5,"ROOT.You found a Star Member Feature")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](13,__)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,7,"ROOT.Learn More")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](11,9,"ROOT.Tap Menu > Memberships and get the most out of your health journey."),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](15,11,"ROOT.Get Fit. Stay Healthy!")," "))}function S_(e,t){1&e&&i["\u0275\u0275element"](0,"mat-progress-spinner",19),2&e&&i["\u0275\u0275property"]("mode","indeterminate")("color","primary")("diameter",30)}function C_(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.After upload, tap Sync to sync the cloud and device.")," "))}function k_(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.After upload, tap Sync to sync the cloud and device.")," "))}function O_(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"label",20),i["\u0275\u0275elementStart"](2,"div",21),i["\u0275\u0275element"](3,"br",22),i["\u0275\u0275elementStart"](4,"p",23),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"img",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"input",25),i["\u0275\u0275listener"]("change",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().newFile(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,C_,3,3,"div",12),i["\u0275\u0275template"](10,k_,3,3,"div",12),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,3,"ROOT.Add photo")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.hasSyncButton),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.hasSyncButton)}}var E_=function(){function e(e,t,n,i,r,a){this.workoutsService=e,this.activatedRoute=t,this.PermissionsService=n,this.route=i,this.window=r,this.ThemeService=a,this.imageURL="",this.loading=!1,this.hasSyncButton=!1}return e.prototype.newFile=function(e){var t=this;this.toUpload=e.target.files[0];var n=new FormData;this.toUpload&&(n.append("imageFile",this.toUpload),n.append("workoutId",this.workout_id),this.loading=!0,this.workoutsService.uploadWorkoutPhoto(n).subscribe(function(e){t.loading=!1,t.imageURL=e.response.image.URL}))},e.prototype.ngOnInit=function(){var e=this,t=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});this.workout_id=t.get("workout_id"),this.ThemeService.isMobileEmbedded&&this.activatedRoute.queryParams.subscribe(function(t){e.hasSyncButton=t.has_sync_below,console.log("hasSyncButton "+e.hasSyncButton)})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-workout-image-upload"]],decls:13,vars:4,consts:[[1,"margin-bottom-40"],[1,"file-upload",2,"text-align","center","font-size","16px","font-weight","normal"],[1,"profile-photo-wrap"],["style","text-align: center;",4,"ngIf"],[2,"margin","0 auto","width","50px"],["id","rotateLoading",1,"loadingSquares",2,"padding","5px"],[2,"clear","both"],["style","display: inline-flex;margin-top: 30px",3,"mode","color","diameter",4,"ngIf"],["id","profile_image",1,"margin-top-15",3,"src"],[1,"success",2,"width","300px","margin","0 auto","padding","5px","height","30px"],["src","/static/img/green-check-lgl.png","hidden","",1,"success",2,"width","28px","float","left"],["hidden","",1,"filename","success",2,"margin","0","line-height","2","white-space","nowrap","overflow","hidden","text-overflow","ellipsis","width","60%","float","left"],[4,"ngIf"],[2,"text-align","center"],[2,"margin-top","20px"],["src","/static/img/star-member-128.png",1,"centerImg",2,"height","60px","width","60px"],["target","_blank",3,"routerLink"],["mat-raised-button",""],[2,"clear","both","height","20px"],[2,"display","inline-flex","margin-top","30px",3,"mode","color","diameter"],["for","profile-photo","id","profile-photo-label",2,"width","240px"],[1,"addPhotoContainer"],["clear","all"],[1,"file-status",2,"float","left"],["src","/static/img/greenplusbutton2.png",1,"addPhotoImg"],["type","file","id","profile-photo",2,"display","none",3,"change"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275template"](3,w_,16,14,"div",3),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275element"](5,"div",5),i["\u0275\u0275element"](6,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,S_,1,3,"mat-progress-spinner",7),i["\u0275\u0275element"](8,"img",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",9),i["\u0275\u0275element"](10,"img",10),i["\u0275\u0275element"](11,"p",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](12,O_,11,5,"div",12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!t.PermissionsService.proPlusAccess),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",t.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",t.imageURL,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",t.PermissionsService.proPlusAccess))},directives:[y.NgIf,S.f,k.b,E.a],pipes:[M.c],styles:[""]}),e}();function M_(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}function I_(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"mat-form-field"),i["\u0275\u0275elementStart"](2,"mat-label"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"input",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,2,"ROOT.Your Name")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("formControl",n.newName)}}function P_(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.error," ")}}function T_(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Member URL Error")," "))}var D_=function(e){return{background:e}};function L_(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",5),i["\u0275\u0275elementStart"](1,"div",6),i["\u0275\u0275element"](2,"div",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",8),i["\u0275\u0275elementStart"](4,"span"),i["\u0275\u0275template"](5,I_,6,4,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"span"),i["\u0275\u0275elementStart"](7,"span",9),i["\u0275\u0275text"](8,"@"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"mat-form-field"),i["\u0275\u0275element"](10,"input",10),i["\u0275\u0275elementStart"](11,"mat-hint"),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementStart"](14,"sup"),i["\u0275\u0275text"](15,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"button",11),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().createCustomURL()}),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](19,P_,2,1,"div",12),i["\u0275\u0275template"](20,T_,3,3,"div",13),i["\u0275\u0275elementStart"](21,"div",14),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"div",14),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](18,D_,"url("+r.profileImage+") no-repeat")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.missingName),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("formControl",r.customURL),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](13,10,"ROOT.Suggested")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("disabled",r.customURL.invalid||""==r.newName.value&&r.missingName),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](18,12,"ROOT.Create"),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.error),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.customURL.invalid&&r.customURL.touched),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](23,14,"ROOT.Create a Member Profile Message")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](26,16,"ROOT.Member Profile Requirements")," ")}}var R_=function(e){return{background:e}},j_=function(){function e(e,t,n,i,r,a,o){this.titleService=e,this.cookieService=t,this.AccountService=n,this.translate=i,this.router=r,this.ThemeService=a,this.socialService=o,this.name="",this.missingName=!1,this.showLoadingOverlay=!0,this.newName=new de.e("",[]),this.isDarkTheme=!1,this.urlSuggestion="",this.customURL=new de.e("",[de.y.required,de.y.pattern("(?=^.{5,100}$)(?!^[_-].+)(?!.+[_-]$)(?!.*[_-]{2,})[^<>[\\]{}|\\\\\\/^~%#&@()'\"* :;,$%?\\0-\\cZ]+$")]),this.profileImage=""}return e.prototype.createCustomURL=function(){var e=this;this.error=null,this.socialService.setProfileURL(this.customURL.value.toLowerCase(),this.newName.value).subscribe(function(t){e.AccountService.account.custom_uri=e.customURL.value.toLowerCase(),t.response.error?e.error=e.translate.instant("ERROR."+t.response.error.code):e.cookieService.get("onboardRedirect")?e.router.navigateByUrl(e.cookieService.get("onboardRedirect")):e.router.navigate(["/member",e.AccountService.account.custom_uri.toLowerCase()])},function(t){console.log(t),e.error=t.error.response.error.message})},e.prototype.ngOnInit=function(){var e=this;if(this.isDarkTheme=this.ThemeService.isDarkTheme,this.randomInt=Object(B.X)(100,900),this.AccountService.isLoggedIn){if(this.showLoadingOverlay=!0,this.newName.statusChanges.subscribe(function(t){var n=e.newName.value.replace(/\s+/g,".").toLowerCase()+e.randomInt;n.length<5&&(n="athlete."+n),e.urlSuggestion=n,e.customURL.setValue(e.urlSuggestion)}),this.AccountService.account.custom_uri)return this.router.navigate(["/member",this.AccountService.account.custom_uri]),void(this.showLoadingOverlay=!1);this.name=this.AccountService.account.usersName,""!=this.name&&"Your Name"!=this.name||(this.missingName=!0),this.profileImage=1==this.AccountService.account.hasImage||"True"==this.AccountService.account.hasImage?"https://storage.googleapis.com/image_manager/profile_image/"+this.AccountService.account.accountId+"/"+this.AccountService.account.imageFilename:"https://my.fitdigits.com/api/v2/group_member_photo/"+this.AccountService.account.accountId;try{var t=this.name.replace(/\s+/g,".").toLowerCase()+this.randomInt;t.length<5&&(t="athlete."+t),this.urlSuggestion=t}catch(n){}this.customURL.setValue(this.urlSuggestion),this.showLoadingOverlay=!1}},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](d.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](ge.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-friends-onboard"]],decls:8,vars:9,consts:[[3,"ngClass"],[1,"main-menu-section-heading",3,"ngStyle"],[1,"title"],[4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"sectionStructure"],[2,"justify-content","center","display","flex"],["alt","Profile Photo",2,"width","156px","max-height","200px",3,"ngStyle"],[2,"justify-content","center","display","flex","margin-top","45px","flex-wrap","wrap","flex-direction","column","text-align","center"],[1,"createURLpre"],["type","text","matInput","",2,"font-size","20px","color","#4597CB",3,"formControl"],[1,"create-button",3,"disabled","click"],["style","justify-content: center;display: flex;color: #EE3123;",4,"ngIf"],["style","justify-content: center;display: flex;color: #EE3123;margin-top: 45px;",4,"ngIf"],[2,"margin-top","45px"],[2,"justify-content","center","display","flex","color","#EE3123"],[2,"justify-content","center","display","flex","color","#EE3123","margin-top","45px"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"strong"),i["\u0275\u0275elementStart"](3,"h4",2),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,M_,1,0,"app-login-notify",3),i["\u0275\u0275template"](7,L_,27,20,"div",4),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](7,R_,t.ThemeService.isMobileEmbedded?"transparent":"")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,5,"ROOT.Create your member profile")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.showLoadingOverlay))},directives:[y.NgClass,y.NgStyle,y.NgIf,Yo.a,fe.c,be.b,de.c,de.o,de.f,fe.f,fe.g],pipes:[M.c],styles:[".goButton[_ngcontent-%COMP%]{background-color:#3fae48;color:#fff}.createTitle[_ngcontent-%COMP%]{text-align:left}.createURLpre[_ngcontent-%COMP%]{font-size:20px;margin-right:5px;margin-top:5px}@media (max-width:767px){.createTitle[_ngcontent-%COMP%]{text-align:center}.createURLpre[_ngcontent-%COMP%]{clear:both}}"]}),e}(),A_=n("0nor"),F_=n("ov3D");function B_(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",11),i["\u0275\u0275elementStart"](1,"div",12),i["\u0275\u0275element"](2,"iframe",13),i["\u0275\u0275pipe"](3,"safe"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div"),i["\u0275\u0275elementStart"](5,"button",14),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().useVideo()}),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("src",i["\u0275\u0275pipeBind2"](3,2,"https://www.youtube.com/embed/"+r.selectedVideo+"?&origin=https://my.fitdigits.com","url"),i["\u0275\u0275sanitizeResourceUrl"]),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](7,5,"ROOT.Use Video"))}}function z_(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275elementStart"](2,"img",16),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"]().selectedVideo=e.id.videoId}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",17),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("src",r.snippet.thumbnails.medium.url,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.snippet.title)}}var N_=function(){function e(e,t,n,i){this.VideoService=e,this.window=t,this.route=n,this.router=i,this.searchParams="",this.videos=[],this.searchChanged=new l.a}return e.prototype.ngOnInit=function(){var e=this;this.route.queryParams.subscribe(function(t){e.activityId=t.activityId}),this.searchSubscription=this.searchChanged.pipe(Object(Re.a)(1e3),Object(je.a)()).subscribe(function(t){e.searchParams=t,console.log(t),e.search(t)})},e.prototype.useVideo=function(){var e=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""}),t={videoId:"youtu.be/"+this.selectedVideo};e.get("workoutType")&&(t.workoutType=e.get("workoutType")),this.activityId&&(t.activityId=this.activityId),this.router.navigate(["/myroutines/create"],{queryParams:t})},e.prototype.search=function(e){var t=this;this.VideoService.search(e).subscribe(function(e){t.videos=e.response.items})},e.prototype.ngOnDestroy=function(){this.searchSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](F_.a),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](S.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-video-search"]],decls:18,vars:9,consts:[[1,"main-menu-section-heading"],["routerLink","/myroutines/create"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],["src","/static/img/youtube_light.png",1,"youtube-icon"],[1,"search","youtube-search"],["matInput","",3,"ngModel","ngModelChange"],[2,"clear","both"],["style","display: flex;flex-direction: column;align-items: center;",4,"ngIf"],[2,"display","flex","flex-wrap","wrap"],["style","margin: 10px;display: flex; flex-direction: column;width: 320px;",4,"ngFor","ngForOf"],[2,"display","flex","flex-direction","column","align-items","center"],[2,"display","flex","justify-content","center"],["id","ytplayer","type","text/html","frameborder","0",1,"previewVideo",2,"height","480px","width","640px",3,"src"],[1,"themed-clear-button","create-button",3,"click"],[2,"margin","10px","display","flex","flex-direction","column","width","320px"],[3,"src","click"],[2,"word-break","break-word","text-overflow","ellipsis"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275elementStart"](5,"span"),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](8,"img",4),i["\u0275\u0275elementStart"](9,"mat-form-field",5),i["\u0275\u0275elementStart"](10,"mat-label"),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"input",6),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.searchParams=e})("ngModelChange",function(e){return t.searchChanged.next(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](14,"div",7),i["\u0275\u0275template"](15,B_,8,7,"div",8),i["\u0275\u0275elementStart"](16,"div",9),i["\u0275\u0275template"](17,z_,5,2,"div",10),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](7,5,"ROOT.Create Workout")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](12,7,"ROOT.Search YouTube")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",t.searchParams),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.selectedVideo),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.videos))},directives:[S.f,fe.c,fe.g,be.b,de.c,de.o,de.r,y.NgIf,y.NgForOf],pipes:[M.c,B.h],styles:[".create-button[_ngcontent-%COMP%]{margin:15px}.youtube-search[_ngcontent-%COMP%]{margin:30px;float:left}.youtube-icon[_ngcontent-%COMP%]{height:36px;width:150px;margin:30px;float:right}"]}),e}(),H_=n("M8aS"),V_=n.n(H_),Y_=n("/dWi"),W_=n("ThlO");function G_(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",12),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Table View")))}function U_(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",12),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Carousel View")))}function q_(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",4),i["\u0275\u0275elementStart"](1,"div",5),i["\u0275\u0275elementStart"](2,"button",6),i["\u0275\u0275listener"]("click",function(e){return e.stopPropagation()}),i["\u0275\u0275elementStart"](3,"mat-icon",7),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275text"](5,"more_horiz"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"mat-menu",8,9),i["\u0275\u0275elementStart"](8,"button",10),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().router.navigate(["/routines_search"])}),i["\u0275\u0275elementStart"](9,"div",11),i["\u0275\u0275text"](10,"search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"span",12),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"button",10),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().create()}),i["\u0275\u0275elementStart"](15,"div",13),i["\u0275\u0275text"](16,"add_circle"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"span",12),i["\u0275\u0275text"](18),i["\u0275\u0275pipe"](19,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"button",10),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.tableView=!e.tableView}),i["\u0275\u0275elementStart"](21,"div",11),i["\u0275\u0275text"](22,"view_list"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](23,G_,3,3,"span",14),i["\u0275\u0275template"](24,U_,3,3,"span",14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"button",10),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().router.navigate(["/routes"])}),i["\u0275\u0275elementStart"](26,"div",15),i["\u0275\u0275text"](27,"info"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"span",12),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"a",16),i["\u0275\u0275element"](32,"img",17),i["\u0275\u0275elementStart"](33,"strong"),i["\u0275\u0275elementStart"](34,"h4",18),i["\u0275\u0275text"](35),i["\u0275\u0275pipe"](36,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275reference"](7),a=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("matMenuTriggerFor",r),i["\u0275\u0275advance"](1),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](4,8,"ROOT.Menu")),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](13,10,"ROOT.Library")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](19,12,"ROOT.Create Routine")),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!a.tableView),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.tableView),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](30,14,"ROOT.More Info")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](36,16,"ROOT.My Workouts"))}}function Z_(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}var $_=function(e){return{background:e}};function X_(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",32),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.routinesRoutes="assessments",e.filterAssessments=!e.filterAssessments,e.getAssessments()}),i["\u0275\u0275element"](1,"img",33),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](7,$_,"assessments"==r.routinesRoutes?"#4597CB":"transparent")),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("alt",i["\u0275\u0275pipeBind1"](2,3,"ROOT.Assessments")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,5,"ROOT.Assessments")," ")}}function K_(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",34),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showFilters=!e.showFilters}),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275elementStart"](2,"span",35),i["\u0275\u0275text"](3,"filter_list"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,1,"ROOT.Filters"))}function J_(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",46),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",r.WorkoutTypes.getWorkoutTypeName(n.id,r.translate.currentLang)," ")}}function Q_(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",43),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"mat-select",44),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).localSearch(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).workoutTypeSelection=e}),i["\u0275\u0275template"](5,J_,2,2,"mat-option",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,3,"ROOT.Activity")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.workoutTypeSelection),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.availableWorkoutTypes)}}function ew(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",52),i["\u0275\u0275text"](1," Spinning "),i["\u0275\u0275elementEnd"]())}function tw(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",47),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"mat-select",44),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).localSearch(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).routinesRoutes=e}),i["\u0275\u0275elementStart"](5,"mat-option",48),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-option",49),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](11,ew,2,0,"mat-option",50),i["\u0275\u0275elementStart"](12,"mat-option",51),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,6,"ROOT.Type")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routinesRoutes),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,8,"ROOT.Routines")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](10,10,"ROOT.Routes")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.isStarTrainer),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](14,12,"ROOT.All")," ")}}function nw(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",53),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showTextSearch=!e.showTextSearch}),i["\u0275\u0275elementStart"](1,"span",35),i["\u0275\u0275text"](2,"search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function iw(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",54),i["\u0275\u0275elementStart"](1,"input",55),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).searchChanged.next(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).searchParams=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",r.searchParams)}}function rw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",46),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,2,"ROOT."+n))}}function aw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",46),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.name)}}function ow(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",46),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.name)}}function sw(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",36),i["\u0275\u0275elementStart"](1,"mat-form-field",56),i["\u0275\u0275elementStart"](2,"mat-label"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"mat-select",57),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).localSearch(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).selectedCategories=e}),i["\u0275\u0275template"](6,rw,3,4,"mat-option",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"mat-form-field",58),i["\u0275\u0275elementStart"](8,"mat-label"),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"mat-select",59),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).localSearch(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).lengthSearch=e}),i["\u0275\u0275template"](12,aw,2,2,"mat-option",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"mat-form-field",58),i["\u0275\u0275elementStart"](14,"mat-label"),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"mat-select",59),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).localSearch(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).classTypeSearch=e}),i["\u0275\u0275template"](18,ow,2,2,"mat-option",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,13,"ROOT.Categories")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.selectedCategories),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.searchableCategories),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](10,15,"ROOT.Length")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.lengthSearch)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.lengthSearchOptions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](16,17,"ROOT.Class Level")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.classTypeSearch)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.classTypeSearchOptions)}}function lw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",36),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275template"](2,Q_,6,5,"mat-form-field",37),i["\u0275\u0275template"](3,tw,15,14,"mat-form-field",38),i["\u0275\u0275elementStart"](4,"div",39),i["\u0275\u0275elementStart"](5,"div",40),i["\u0275\u0275template"](6,nw,3,0,"button",41),i["\u0275\u0275template"](7,iw,2,1,"div",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](8,sw,19,19,"div",28),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.hideActivityType&&!n.showSearch),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.hideActivityType&&!n.showSearch),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!n.showSearch),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showTextSearch),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showFilters)}}function cw(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",72),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275propertyInterpolate"]("src",n.videoDetails.thumbnailURL,i["\u0275\u0275sanitizeUrl"])}}function dw(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",72),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/seo/map_only?key=",n.ghostWorkout,"&size=200,150",i["\u0275\u0275sanitizeUrl"])}}function uw(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"highcharts-chart",73),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).chartsUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit,a=i["\u0275\u0275nextContext"](5);i["\u0275\u0275property"]("update",a.chartsUpdated)("Highcharts",a.Highcharts)("oneToOne",!0)("options",r.graph)}}function pw(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",74),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](5);i["\u0275\u0275propertyInterpolate"]("src",r.WorkoutTypes.getWorkoutTypeIcon(n.workoutType,r.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"])}}function hw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"secondsToHrsMin"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,n.durationDisplay))}}function mw(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1,"\xa0"),i["\u0275\u0275elementEnd"]())}function gw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"milesToKm"),i["\u0275\u0275elementStart"](3,"span",76),i["\u0275\u0275text"](4,"km"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.totalDistance,!0)," ")}}function fw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementStart"](3,"span",76),i["\u0275\u0275text"](4,"mi"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.totalDistance,"1.0-2")," ")}}function vw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,gw,5,4,"span",70),i["\u0275\u0275template"](2,fw,5,4,"span",70),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Metric"==n.metric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Imperial"==n.metric)}}function yw(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1,"\xa0"),i["\u0275\u0275elementEnd"]())}function bw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",65),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275template"](2,cw,1,1,"img",66),i["\u0275\u0275template"](3,dw,1,1,"img",66),i["\u0275\u0275template"](4,uw,1,4,"highcharts-chart",67),i["\u0275\u0275template"](5,pw,1,1,"img",68),i["\u0275\u0275elementStart"](6,"div",69),i["\u0275\u0275template"](7,hw,3,3,"span",70),i["\u0275\u0275template"](8,mw,2,0,"span",70),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",71),i["\u0275\u0275template"](10,vw,3,2,"span",2),i["\u0275\u0275template"](11,yw,2,0,"span",70),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"div"),i["\u0275\u0275text"](13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ghostWorkout&&!n.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.graph&&!n.ghostWorkout&&!n.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.hasVideo),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0!=n.totalDuration&&"assessments"!=r.routinesRoutes),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==n.totalDuration),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0!=n.totalDistance&&"assessments"!=r.routinesRoutes),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==n.totalDistance),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function xw(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275element"](2,"img",62),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"carousel",63),i["\u0275\u0275listener"]("events",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](3).handleCarouselEvents(e,t)}),i["\u0275\u0275template"](7,bw,14,9,"div",64),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("alt",i["\u0275\u0275pipeBind1"](3,3,"ROOT.Favorites")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,5,"ROOT.Favorites"),""),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",r.value)}}function _w(e,t){1&e&&i["\u0275\u0275element"](0,"div")}function ww(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",61),i["\u0275\u0275template"](1,xw,8,7,"div",2),i["\u0275\u0275template"](2,_w,1,0,"div",2),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Favorites"==n.key&&n.value.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==r.selectedRoutines.Favorites.length&&!r.showLoadingOverlay)}}function Sw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,ww,3,2,"div",60),i["\u0275\u0275pipe"](2,"keyvalue"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind1"](2,1,n.selectedRoutines))}}function Cw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",82),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",n.videoDetails.thumbnailURL,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function kw(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",82),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/seo/map_only?key=",n.ghostWorkout,"&size=200,150",i["\u0275\u0275sanitizeUrl"])}}function Ow(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"highcharts-chart",87),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).chartsUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("update",a.chartsUpdated)("Highcharts",a.Highcharts)("oneToOne",!0)("options",r.graph)}}function Ew(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",88),i["\u0275\u0275text"](1,"save"),i["\u0275\u0275elementEnd"]())}function Mw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"secondsToHrsMin"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,n.durationDisplay))}}function Iw(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1,"\xa0"),i["\u0275\u0275elementEnd"]())}function Pw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"milesToKm"),i["\u0275\u0275elementStart"](3,"span",76),i["\u0275\u0275text"](4,"km"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.totalDistance,!0)," ")}}function Tw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementStart"](3,"span",76),i["\u0275\u0275text"](4,"mi"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.totalDistance,"1.0-2")," ")}}function Dw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,Pw,5,4,"span",70),i["\u0275\u0275template"](2,Tw,5,4,"span",70),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Metric"==n.metric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Imperial"==n.metric)}}function Lw(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",89),i["\u0275\u0275text"](1,"\xa0"),i["\u0275\u0275elementEnd"]())}function Rw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,kw,1,1,"img",83),i["\u0275\u0275template"](2,Ow,1,4,"highcharts-chart",84),i["\u0275\u0275template"](3,Ew,2,0,"span",85),i["\u0275\u0275element"](4,"img",74),i["\u0275\u0275elementStart"](5,"div",69),i["\u0275\u0275template"](6,Mw,3,3,"span",70),i["\u0275\u0275template"](7,Iw,2,0,"span",70),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",71),i["\u0275\u0275template"](9,Dw,3,2,"span",2),i["\u0275\u0275template"](10,Lw,2,0,"span",86),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div"),i["\u0275\u0275text"](12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ghostWorkout),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.graph&&!n.ghostWorkout),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","RoutineShare"==n.model),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",r.WorkoutTypes.getWorkoutTypeIcon(n.workoutType,r.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0!=n.totalDuration&&"assessments"!=r.routinesRoutes),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==n.totalDuration),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0!=n.totalDistance&&"assessments"!=r.routinesRoutes),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==n.totalDistance),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function jw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",81),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275template"](2,Cw,3,2,"div",2),i["\u0275\u0275template"](3,Rw,13,9,"div",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.hasVideo)}}function Aw(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",78),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"carousel",79),i["\u0275\u0275listener"]("events",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](3).handleCarouselEvents(e,r)}),i["\u0275\u0275template"](5,jw,4,2,"div",80),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275property"]("hidden",0==r.value.length||"Favorites"==r.key),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,3,"ROOT."+r.key)),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",r.value)}}function Fw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,Aw,6,5,"div",77),i["\u0275\u0275pipe"](2,"keyvalue"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind1"](2,1,n.selectedRoutines))}}var Bw=function(e){return{color:e}};function zw(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",123),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](4).shareRoutine(t),e.stopPropagation()}),i["\u0275\u0275elementStart"](1,"mat-icon",124),i["\u0275\u0275text"](2," share "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",125),i["\u0275\u0275text"](4,"Share"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"span",125),i["\u0275\u0275text"](6,"Shared"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275property"]("disabled",0==r.sharable),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Bw,0==r.sharable?"#3FAE48":"#b2b2b2")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!r.sharable),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",r.sharable)}}function Nw(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",113),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](4).router.navigate(["/myroutines",e.id])}),i["\u0275\u0275elementStart"](1,"mat-icon"),i["\u0275\u0275text"](2,"edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span"),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,1,"ROOT.Edit")))}function Hw(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",113),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](4).router.navigate(["/myroutines",e.id],{queryParams:{duplicate:!0}})}),i["\u0275\u0275elementStart"](1,"mat-icon"),i["\u0275\u0275text"](2,"content_copy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span"),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,1,"ROOT.Duplicate")))}function Vw(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",126),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275propertyInterpolate"]("src",n.videoDetails.thumbnailURL,i["\u0275\u0275sanitizeUrl"])}}function Yw(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",129),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/seo/map_only?key=",n.ghostWorkout,"&size=60,45",i["\u0275\u0275sanitizeUrl"])}}function Ww(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"highcharts-chart",130),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).chartsUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("update",a.chartsUpdated)("Highcharts",a.Highcharts)("oneToOne",!0)("options",r.graph)}}function Gw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,Yw,1,1,"img",127),i["\u0275\u0275template"](2,Ww,1,4,"highcharts-chart",128),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ghostWorkout),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.graph&&!n.ghostWorkout)}}function Uw(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",131),i["\u0275\u0275text"](1,"save"),i["\u0275\u0275elementEnd"]())}function qw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"secondsToHrsMin"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,n.durationDisplay))}}function Zw(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1,"N/A"),i["\u0275\u0275elementEnd"]())}function $w(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"milesToKm"),i["\u0275\u0275elementStart"](3,"span",76),i["\u0275\u0275text"](4,"km"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.totalDistance,!0)," ")}}function Xw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementStart"](3,"span",76),i["\u0275\u0275text"](4,"mi"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.totalDistance,"1.0-2")," ")}}function Kw(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,$w,5,4,"span",70),i["\u0275\u0275template"](2,Xw,5,4,"span",70),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Metric"==n.metric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Imperial"==n.metric)}}function Jw(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",75),i["\u0275\u0275text"](1,"--"),i["\u0275\u0275elementEnd"]())}function Qw(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",123),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](4).shareRoutine(t),e.stopPropagation()}),i["\u0275\u0275elementStart"](1,"mat-icon",124),i["\u0275\u0275text"](2," share "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",125),i["\u0275\u0275text"](4,"Share"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"span",125),i["\u0275\u0275text"](6,"Shared"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275property"]("disabled",0==r.sharable),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,Bw,0==r.sharable?"#3FAE48":"#b2b2b2")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!r.sharable),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",r.sharable)}}function eS(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",113),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](4).router.navigate(["/myroutines",e.id])}),i["\u0275\u0275elementStart"](1,"mat-icon"),i["\u0275\u0275text"](2,"edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span"),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,1,"ROOT.Edit")))}function tS(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",113),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](4).router.navigate(["/myroutines",e.id],{queryParams:{duplicate:!0}})}),i["\u0275\u0275elementStart"](1,"mat-icon"),i["\u0275\u0275text"](2,"content_copy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span"),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,1,"ROOT.Duplicate")))}function nS(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tbody"),i["\u0275\u0275elementStart"](1,"tr",103),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](4).navigateRoutine(e)}),i["\u0275\u0275elementStart"](2,"td",104),i["\u0275\u0275elementStart"](3,"div",105),i["\u0275\u0275element"](4,"img",106),i["\u0275\u0275elementStart"](5,"span",107),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"td",108),i["\u0275\u0275elementStart"](8,"div",105),i["\u0275\u0275elementStart"](9,"button",109),i["\u0275\u0275listener"]("click",function(e){return e.stopPropagation()}),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementStart"](11,"mat-icon",105),i["\u0275\u0275text"](12,"more_vert"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"mat-menu",110,9),i["\u0275\u0275template"](15,zw,7,6,"button",111),i["\u0275\u0275template"](16,Nw,6,3,"button",112),i["\u0275\u0275template"](17,Hw,6,3,"button",112),i["\u0275\u0275elementStart"](18,"button",113),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](4).deleteRoutine(e)}),i["\u0275\u0275elementStart"](19,"mat-icon"),i["\u0275\u0275text"](20,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"span"),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"tr",114),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](4).navigateRoutine(e)}),i["\u0275\u0275elementStart"](25,"td",115),i["\u0275\u0275template"](26,Vw,1,1,"img",116),i["\u0275\u0275template"](27,Gw,3,2,"span",2),i["\u0275\u0275template"](28,Uw,2,0,"span",117),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"td",118),i["\u0275\u0275elementStart"](30,"div",119),i["\u0275\u0275element"](31,"img",106),i["\u0275\u0275elementStart"](32,"span",120),i["\u0275\u0275text"](33),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"td",121),i["\u0275\u0275template"](35,qw,3,3,"span",70),i["\u0275\u0275template"](36,Zw,2,0,"span",70),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"td",121),i["\u0275\u0275template"](38,Kw,3,2,"span",2),i["\u0275\u0275template"](39,Jw,2,0,"span",70),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"td",101),i["\u0275\u0275elementStart"](41,"button",122),i["\u0275\u0275listener"]("click",function(e){return e.stopPropagation()}),i["\u0275\u0275pipe"](42,"translate"),i["\u0275\u0275elementStart"](43,"mat-icon",119),i["\u0275\u0275text"](44,"more_vert"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"mat-menu",110,9),i["\u0275\u0275template"](47,Qw,7,6,"button",111),i["\u0275\u0275template"](48,eS,6,3,"button",112),i["\u0275\u0275template"](49,tS,6,3,"button",112),i["\u0275\u0275elementStart"](50,"button",113),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](4).deleteRoutine(e)}),i["\u0275\u0275elementStart"](51,"mat-icon"),i["\u0275\u0275text"](52,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"span"),i["\u0275\u0275text"](54),i["\u0275\u0275pipe"](55,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275reference"](14),o=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate"]("src",o.WorkoutTypes.getWorkoutTypeIcon(r.workoutType,o.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.name),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("matMenuTriggerFor",a),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](10,23,"ROOT.Menu")),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",!r.hasSong&&"RoutineH"==r.model),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","RoutineH"==r.model),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","RoutineH"==r.model),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](23,25,"ROOT.Delete")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","RoutineShare"==r.model),i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate"]("src",o.WorkoutTypes.getWorkoutTypeIcon(r.workoutType,o.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.name),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0!=r.totalDuration),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==r.totalDuration),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0!=r.totalDistance),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==r.totalDistance),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("matMenuTriggerFor",a),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](42,27,"ROOT.Menu")),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",!r.hasSong&&"RoutineH"==r.model),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","X"==r.model),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","RoutineH"==r.model),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](55,29,"ROOT.Delete"))}}function iS(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",92),i["\u0275\u0275elementStart"](1,"mat-accordion"),i["\u0275\u0275elementStart"](2,"mat-expansion-panel",93),i["\u0275\u0275listener"]("closed",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).panelOpenState=!1})("opened",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).panelOpenState=!0}),i["\u0275\u0275elementStart"](3,"mat-expansion-panel-header",94),i["\u0275\u0275elementStart"](4,"mat-panel-title"),i["\u0275\u0275elementStart"](5,"div"),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-panel-description"),i["\u0275\u0275text"](9," \xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"table",95),i["\u0275\u0275listener"]("matSortChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sortData(e)}),i["\u0275\u0275elementStart"](11,"thead"),i["\u0275\u0275elementStart"](12,"tr"),i["\u0275\u0275elementStart"](13,"th",96),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](16,"th"),i["\u0275\u0275elementStart"](17,"th",97),i["\u0275\u0275element"](18,"img",98),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"th",99),i["\u0275\u0275element"](20,"img",100),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](21,"th",101),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](22,nS,56,31,"tbody",102),i["\u0275\u0275pipe"](23,"orderBy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("hidden",0==r.value.length),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("expanded",!0),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,5,"ROOT."+r.key)," "),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](15,7,"ROOT.Title")," "),i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind3"](23,9,r.value,a.sortedType,a.sortDirection))}}function rS(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",90),i["\u0275\u0275template"](1,iS,24,13,"div",91),i["\u0275\u0275pipe"](2,"keyvalue"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind1"](2,1,n.selectedRoutines))}}function aS(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",132),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.No Structured Workouts matching filters")," "))}function oS(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",139),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).router.navigate(["/routines_search"])}),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275elementStart"](2,"span",140),i["\u0275\u0275text"](3,"search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,2,"ROOT.Find a Workout")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,4,"ROOT.Find a Workout")," "))}function sS(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",141),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showViewOptions=!e.showViewOptions}),i["\u0275\u0275elementStart"](1,"span",35),i["\u0275\u0275text"](2,"settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function lS(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",46),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function cS(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",46),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function dS(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",46),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function uS(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",142),i["\u0275\u0275elementStart"](1,"mat-form-field",143),i["\u0275\u0275elementStart"](2,"mat-label"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"mat-select",144),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).changeZone(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).zoneSelected=e}),i["\u0275\u0275template"](6,lS,2,2,"mat-option",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"mat-form-field",143),i["\u0275\u0275elementStart"](8,"mat-label"),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"mat-select",144),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).changePaceZone(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).paceZoneSelected=e}),i["\u0275\u0275template"](12,cS,2,2,"mat-option",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"mat-form-field",143),i["\u0275\u0275elementStart"](14,"mat-label"),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"mat-select",144),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).localSearch(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).routineTypeSelection=e}),i["\u0275\u0275template"](18,dS,2,2,"mat-option",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,15,"ROOT.Heart Zones")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.zoneSelected)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.zones),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](10,17,"ROOT.Pace Zones")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.paceZoneSelected)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.paceZones),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](16,19,"ROOT.Types")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineTypeSelection)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.availableRoutineTypes)}}function pS(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",133),i["\u0275\u0275template"](1,oS,6,6,"button",134),i["\u0275\u0275template"](2,sS,3,0,"button",135),i["\u0275\u0275template"](3,uS,19,21,"div",136),i["\u0275\u0275element"](4,"div",137),i["\u0275\u0275element"](5,"div",138),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isStarTrainer),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showViewOptions)}}function hS(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",19),i["\u0275\u0275element"](1,"div",20),i["\u0275\u0275elementStart"](2,"div",21),i["\u0275\u0275elementStart"](3,"div",22),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.routinesRoutes="routes",e.filterAssessments=!1,e.localSearch(null)}),i["\u0275\u0275element"](4,"img",23),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",24),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.routinesRoutes="routines",e.filterAssessments=!1,e.localSearch(null)}),i["\u0275\u0275element"](9,"img",25),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](13,X_,5,9,"div",26),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",21),i["\u0275\u0275template"](15,K_,4,3,"button",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](16,lw,9,5,"div",28),i["\u0275\u0275template"](17,Sw,3,3,"div",2),i["\u0275\u0275template"](18,Fw,3,3,"div",2),i["\u0275\u0275template"](19,rS,3,3,"div",29),i["\u0275\u0275template"](20,aS,3,3,"div",30),i["\u0275\u0275template"](21,pS,6,3,"div",31),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!r.showLoadingOverlay),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](23,$_,"routes"==r.routinesRoutes?"#4597CB":"transparent")),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("alt",i["\u0275\u0275pipeBind1"](5,15,"ROOT.Routes")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,17,"ROOT.Routes")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](25,$_,"routines"==r.routinesRoutes?"#4597CB":"transparent")),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("alt",i["\u0275\u0275pipeBind1"](10,19,"ROOT.Routines")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](12,21,"ROOT.Routines")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.ThemeService.isThemeSpinning),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showFilters),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.tableView),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.tableView),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.tableView),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.noRoutines&&!r.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.showLoadingOverlay)}}function mS(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",8),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).cancel()}),i["\u0275\u0275element"](1,"img",9),i["\u0275\u0275elementStart"](2,"strong"),i["\u0275\u0275elementStart"](3,"h4",10),i["\u0275\u0275text"](4,"Share"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function gS(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",6),i["\u0275\u0275template"](1,mS,5,0,"a",7),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.routineData)}}function fS(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",24),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",r.WorkoutTypes.getWorkoutTypeName(n.id,r.translate.currentLang)," ")}}function vS(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",24),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,2,"ROOT."+n))}}function yS(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",24),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name,"")}}function bS(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",24),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.name)}}function xS(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",24),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n," ")}}function _S(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",14),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2,"Brand"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"mat-select",15),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).brand=e}),i["\u0275\u0275template"](4,xS,2,2,"mat-option",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngModel",r.brand),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.brands)}}function wS(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p",25),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.errorMsg)}}function SS(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",11),i["\u0275\u0275elementStart"](1,"div",12),i["\u0275\u0275elementStart"](2,"div",13),i["\u0275\u0275elementStart"](3,"mat-form-field",14),i["\u0275\u0275elementStart"](4,"mat-label"),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"mat-select",15),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().selectedWorkoutType=e}),i["\u0275\u0275template"](8,fS,2,2,"mat-option",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"mat-form-field"),i["\u0275\u0275elementStart"](10,"mat-label",17),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"input",18),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().routineData.name=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](14,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"mat-form-field"),i["\u0275\u0275elementStart"](16,"mat-label",17),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"textarea",19),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().routineData.description=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](20,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"mat-form-field"),i["\u0275\u0275elementStart"](22,"mat-label"),i["\u0275\u0275text"](23),i["\u0275\u0275pipe"](24,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"mat-select",20),i["\u0275\u0275listener"]("valueChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().routineData.categories=e}),i["\u0275\u0275template"](26,vS,3,4,"mat-option",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"mat-form-field"),i["\u0275\u0275elementStart"](28,"mat-label"),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"mat-select",21),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().routineData.classType=e})("valueChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().routineData.classType=e}),i["\u0275\u0275template"](32,yS,2,2,"mat-option",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"mat-form-field"),i["\u0275\u0275elementStart"](34,"mat-label"),i["\u0275\u0275text"](35),i["\u0275\u0275pipe"](36,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"mat-select",15),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().selectedLanguage=e}),i["\u0275\u0275template"](38,bS,2,2,"mat-option",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](39,_S,5,2,"mat-form-field",22),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](40,"br"),i["\u0275\u0275elementStart"](41,"span"),i["\u0275\u0275elementStart"](42,"em"),i["\u0275\u0275text"](43),i["\u0275\u0275pipe"](44,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](45,"br"),i["\u0275\u0275template"](46,wS,2,1,"p",23),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,21,"ROOT.Activity")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.selectedWorkoutType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.availableWorkoutTypes),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](12,23,"ROOT.Name")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineData.name),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](18,25,"ROOT.Description")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineData.description),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](24,27,"ROOT.Categories")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("value",r.routineData.categories),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.searchableCategories),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](30,29,"ROOT.Class Type")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineData.classType)("value",r.routineData.classType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.classTypeSearchOptions),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](36,31,"ROOT.Language")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.selectedLanguage),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.languages),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.PermissionsService.starTrainerAccess),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](44,33,"ROOT.Sharing this workout")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.errorMsg)}}function CS(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",3),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().cancel()}),i["\u0275\u0275elementStart"](1,"span"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,"ROOT.Cancel")))}var kS=".routineGraph[_ngcontent-%COMP%]{width:120px;height:90px;display:block}.routineGraphSm[_ngcontent-%COMP%]{width:60px;height:45px;float:left}.routineGraphCarousel[_ngcontent-%COMP%]{width:200px;height:150px;display:block}.routineTable[_ngcontent-%COMP%]{border:none;float:left;margin-top:5px;margin-bottom:5px;font-family:Helvetica neue,Helvetica,sans-serif!important}.routineSelectors[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-bottom:20px;float:left}.routineFilterOption[_ngcontent-%COMP%], .routineSelectors[_ngcontent-%COMP%], .routineViewOptions[_ngcontent-%COMP%]{margin-left:0;width:100%}.routineViewOptions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-bottom:25px;float:left}.routineDetailSection[_ngcontent-%COMP%]{margin-left:20px;margin-bottom:5px;margin-top:5px}.structuredDetails[_ngcontent-%COMP%]{border-top:none}.thumbnailContainer[_ngcontent-%COMP%]{border:none!important;padding:0;visibility:hidden}.thumbnailContainerRow[_ngcontent-%COMP%]{visibility:hidden;height:0}.thumbnailSmall[_ngcontent-%COMP%]{visibility:visible}.activityFilterOption[_ngcontent-%COMP%]{margin:10px 0 0;max-width:220px}.multiActivityFilterOption[_ngcontent-%COMP%]{margin:10px 0 0 10px;max-width:220px;clear:none}.seriesRepeats[_ngcontent-%COMP%]{font-weight:700;margin:10px 0;clear:both}.carousel-type-icon[_ngcontent-%COMP%]{width:40px!important;float:left;margin-top:-40px;z-index:10}.showStructuredDetail[_ngcontent-%COMP%]{color:#4597cb;float:right;cursor:pointer;font-weight:400;width:100px;text-align:right;margin-bottom:20px}.categoryDisplay[_ngcontent-%COMP%]{border:1px solid #b2b2b2;padding:3px;float:left;margin-right:5px;margin-top:5px}.structruedDetailTitles[_ngcontent-%COMP%]{font-weight:700}.seriesContainer[_ngcontent-%COMP%]{border-top:1px solid #b2b2b2;padding-top:5px}.healthTableDiv[_ngcontent-%COMP%]{width:100%;padding-left:20px;padding-right:20px;float:left}.routineSeriesHeader[_ngcontent-%COMP%]{padding-bottom:0;font-weight:500}.noRoutines[_ngcontent-%COMP%]{width:100%;display:flex;margin-bottom:30px}.PrivacyGroup[_ngcontent-%COMP%]{display:flex;flex-direction:column}.categoryInputWrap[_ngcontent-%COMP%]{max-width:400px}.categoryInput[_ngcontent-%COMP%]{border-bottom:1px solid #b2b0b0;border-radius:0;height:30px}.routineShareInput[_ngcontent-%COMP%]{display:flex;flex-direction:column}.th-health[_ngcontent-%COMP%]{padding:8px!important;font-size:18px;font-weight:400!important;border:none!important}.routineTitle[_ngcontent-%COMP%], .th-health[_ngcontent-%COMP%]{font-family:Helvetica neue,Helvetica,sans-serif!important}.routineTitle[_ngcontent-%COMP%]{font-size:14px;font-weight:400;padding:10px 0 0}.routineTitle[_ngcontent-%COMP%], .routineTitleRow[_ngcontent-%COMP%]{vertical-align:middle!important}.myRoutineTitleRow[_ngcontent-%COMP%]{cursor:pointer;border-top:1px solid #efefef}.menuTH[_ngcontent-%COMP%]{width:20px}.menuBtn[_ngcontent-%COMP%]{padding:0 10px}.routineTitleSmThumb[_ngcontent-%COMP%]{width:80px;vertical-align:middle!important;padding:10px 0;margin-bottom:10px}.hideWhenLarge[_ngcontent-%COMP%]{visibility:hidden;padding:0;width:0!important;height:0;margin:0!important}.videoThumbnail2[_ngcontent-%COMP%]{float:left;width:60px}.routineFilters[_ngcontent-%COMP%]{margin-bottom:20px;float:left;width:100%}.routesPicker[_ngcontent-%COMP%]{border-top-left-radius:5px;border-bottom-left-radius:5px}.assessmentPicker[_ngcontent-%COMP%]{border-top-right-radius:5px;border-bottom-right-radius:5px}.findWorkoutBtn[_ngcontent-%COMP%]{float:left;position:absolute;left:30px}.settingsBtn[_ngcontent-%COMP%]{float:right;position:absolute;right:30px;margin-top:-20px}.zoneOptions[_ngcontent-%COMP%]{clear:both;margin-top:54px}.searchContainer[_ngcontent-%COMP%]{margin-top:5px;float:right}.searchBtn[_ngcontent-%COMP%]{float:left;margin-left:5px}.favoriteCarousel[_ngcontent-%COMP%]{z-index:0;height:210px}.thumbnailContainer3[_ngcontent-%COMP%]{width:200px}.stackInFront[_ngcontent-%COMP%]{z-index:1}.categoryHeader[_ngcontent-%COMP%]{border-bottom:1px solid #4597cb;margin-bottom:8px;background:rgba(226,227,228,.2)}.titleHeaderText[_ngcontent-%COMP%]{text-align:left;min-width:100px;font-weight:400;margin-bottom:10px}.panel-container[_ngcontent-%COMP%], .routineTableList[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .routineTableList[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{border:none}.sharedText[_ngcontent-%COMP%]{float:right;text-align:right;color:#3fae48;font-weight:700}.shareButton[_ngcontent-%COMP%]{margin:0 0 0 10px;float:right}.mat-radio-label[_ngcontent-%COMP%], label[_ngcontent-%COMP%]{font-weight:400!important}.actvityIcon[_ngcontent-%COMP%]{width:24px;margin-right:10px;margin-top:4px}.routineDescription[_ngcontent-%COMP%]{margin-top:10px}.distanceIcon[_ngcontent-%COMP%]{float:right;margin:0 0 0 40px;width:24px}.durationIcon[_ngcontent-%COMP%]{float:right;width:20px;margin:0 0 10px 80px}.previewVideo[_ngcontent-%COMP%]{margin:auto;width:640px;height:480px;text-align:center}.routineSegment[_ngcontent-%COMP%]{display:block;height:60px;width:33.33%;float:left;padding:20px;text-align:center;border:1px solid;cursor:pointer;margin-bottom:5px}.routineSegment[_ngcontent-%COMP%]:hover{background-color:rgba(69,151,203,.3)!important}.tab_menu_icons[_ngcontent-%COMP%]{max-width:20px;max-height:20px;margin-top:0;vertical-align:middle;margin-left:-20px}.routineFilterButton[_ngcontent-%COMP%]{float:right;margin-top:10px;clear:both;z-index:10}.routineFavoriteButton[_ngcontent-%COMP%]{float:left;margin-top:10px;margin-bottom:20px}.favCarousel[_ngcontent-%COMP%]{clear:both}.routineTableButton[_ngcontent-%COMP%]{float:left;margin:10px 0 20px}.save-icon[_ngcontent-%COMP%]{margin-left:-15px}.save-icon[_ngcontent-%COMP%], .save-icon-carousel[_ngcontent-%COMP%]{font-size:14px;z-index:10;position:relative;color:#236231}.save-icon-carousel[_ngcontent-%COMP%]{margin-top:-15px;float:right}.durationCarousel[_ngcontent-%COMP%]{width:49%;float:right;text-align:right}.distanceCarousel[_ngcontent-%COMP%]{width:49%;float:left}.betaNotice[_ngcontent-%COMP%]{width:100%;float:left;text-align:center;border:1px solid rgba(226,227,228,.3);border-radius:5px;padding:10px;margin:5px 0}.menu-text[_ngcontent-%COMP%]{margin-left:10px}.menu-icons[_ngcontent-%COMP%]{margin-top:13px;float:left}.filterContainer[_ngcontent-%COMP%]{margin-top:5px;width:100%;clear:both}.searchByText[_ngcontent-%COMP%]{float:left;margin-left:5px}.routineSearchMenu[_ngcontent-%COMP%]{font-size:35px;margin-left:-10px}.routineMenuButton[_ngcontent-%COMP%]{margin-top:-8px}.routineMetric[_ngcontent-%COMP%]{padding-right:5px}.green[_ngcontent-%COMP%]{color:#3fae48}.blue[_ngcontent-%COMP%]{color:#4597cb}.greenFilter[_ngcontent-%COMP%]{color:#3fae48}@media(max-width:767px){.healthTableDiv[_ngcontent-%COMP%]{padding-left:5px;padding-right:5px}.routineSelectors[_ngcontent-%COMP%]{margin-left:5px}.routineTitle[_ngcontent-%COMP%]{font-size:18px}.noDistanceLabel[_ngcontent-%COMP%]{padding-right:5px}}@media(max-width:620px){.shareButton[_ngcontent-%COMP%]{margin-right:0}.thumbnailContainer[_ngcontent-%COMP%]{padding:0 0 10px 10px;visibility:visible}.thumbnailContainerRow[_ngcontent-%COMP%]{visibility:visible;height:auto}.hideWhenSmall[_ngcontent-%COMP%]{visibility:hidden;padding:0;width:0;height:0}.hideWhenLarge[_ngcontent-%COMP%]{visibility:visible;padding:inherit;width:auto!important;height:inherit}}@media(max-width:479px){.shareButton[_ngcontent-%COMP%]{clear:both}.distanceIcon[_ngcontent-%COMP%]{float:right;margin-right:10px}.moreVertBtn[_ngcontent-%COMP%]{padding:0 10px}.myRoutineDistanceIcon[_ngcontent-%COMP%]{float:right;margin-right:10px;width:24px}.previewVideo[_ngcontent-%COMP%]{margin:auto;width:100%;height:auto}.tab_menu_icons[_ngcontent-%COMP%]{margin-left:0}.routineSegment[_ngcontent-%COMP%]{padding:10px 0 0;height:40px}}";n("jM2W")(re),V_()(re);var OS=function(){function e(e,t,n,i,r,a,o,s,c,d,u){this.routineService=e,this.AccountService=t,this.ThemeService=n,this.router=i,this.PermissionsService=r,this.ZoneService=a,this.translate=o,this.dialog=s,this.floatToPace=c,this.WorkoutTypes=d,this.WorkoutsService=u,this.selectedTabIndex=0,this.showLoadingOverlay=!1,this.Highcharts=re,this.showTextSearch=!1,this.noRoutines=!1,this.showSearch=!1,this.filterAssessments=!1,this.hideActivityType=!1,this.routines=[],this.sortedData=[],this.selectedCategories=[],this.showFilters=!1,this.showVideos=!1,this.isStarTrainer=!1,this.searchParams="",this.searchChanged=new l.a,this.showRoutineIntervals=!1,this.showViewOptions=!1,this.showYouTube=!0,this.searchableCategories=Object(Wn.cloneDeep)(Yn.o),this.paceZones=[],this.metric="Imperial",this.tableView=!0,this.metricSearch=null,this.metricSearchOptions=[{name:"All",value:null},{name:"Imperial",value:"US"},{name:"Metric",value:"metric"}],this.classTypeSearch=null,this.classTypeSearchOptions=[{name:"All",value:null},{name:"Advanced",value:"Advanced"},{name:"Beginner",value:"Beginner"},{name:"Tutorial",value:"Tutorial"}],this.lengthSearch=null,this.lengthSearchOptions=[{name:"All",value:null},{name:"60m",value:"60"},{name:"45m",value:"45"},{name:"30m",value:"30"},{name:"20m",value:"20"},{name:"5m",value:"5"}],this.routineTypeSelection="heartRate",this.groupByCategory=!0,this.routinesRoutes="assessments",this.selectedRoutines={Ungrouped:[],Favorites:[]},this.availableWorkoutTypes=[],this.availableRoutineTypes=[{id:"heartRate",name:"Heart Rate"},{id:"pace",name:"Pace"}],this.panelOpenState=!0,this.sortedData=this.routines.slice()}return e.prototype.sortData=function(e){var t=this.routines.slice();this.sortedData=e.active&&""!==e.direction?t.sort(function(t,n){var i="asc"===e.direction;switch(e.active){case"name":return ES(t.name,n.name,i);case"totalDuration":return ES(t.totalDuration,n.totalDuration,i);case"totalDistance":return ES(t.totalDistance,n.totalDistance,i);default:return 0}}):t},e.prototype.create=function(){this.PermissionsService.starAccess?this.router.navigate(["/myroutines/create"]):this.dialog.open(W_.a,{data:{type:"star_required",text:this.translate.instant("ROOT.Routes & Routines are a Premium Star Membership Feature."),learnMore:"https://my.fitdigits.com/routes"},maxWidth:"200vw",maxHeight:"100vh"})},e.prototype.localSearch=function(e){var t={Ungrouped:[],Favorites:[]};this.groupByCategory&&(t={Uncategorized:[],Favorites:[]});var n=!1,i=!1;-1!==this.workoutTypeSelection&&(n=!0),null!==this.metricSearch&&(i=!0),"all"==this.routinesRoutes&&(this.routinesRoutes="routines"),"routines"==this.routinesRoutes?(this.showVideos=!1,this.showYouTube=!1):"youtube"==this.routinesRoutes?(this.showVideos=!0,this.showYouTube=!0):"spinning"==this.routinesRoutes?(this.showVideos=!0,this.showYouTube=!1):("routes"==this.routinesRoutes||"assessments"==this.routinesRoutes)&&(this.showVideos=!1,this.showYouTube=!1),this.routineService.routinesRoutesFilter=this.routinesRoutes;for(var r=0;r<this.routines.length;r++){var a=!0;if(this.routines[r].hasVideo?(0==this.showVideos||0==this.showYouTube&&"youtube"==this.routines[r].videoDetails.videoType||1==this.showYouTube&&"direct_url"==this.routines[r].videoDetails.videoType)&&(a=!1):1!=this.showVideos||this.routines[r].hasVideo||(a=!1),"all"!=this.routinesRoutes&&("routines"==this.routinesRoutes&&this.routines[r].ghostWorkout||"routes"==this.routinesRoutes&&null==this.routines[r].ghostWorkout||"videos"==this.routinesRoutes&&0==this.routines[r].hasVideo)&&(a=!1),this.filterAssessments&&!this.routines[r].isAssessment&&(a=!1),"all"==this.routinesRoutes&&(this.routinesRoutes="routines"),n&&this.routines[r].routineDef.workoutType!=this.workoutTypeSelection&&-1!=this.routines[r].routineDef.workoutType&&1!=this.routines[r].routineDef.workoutType&&0==this.showVideos&&(a=!1),i&&("time"==this.routines[r].unitOfMeasure||this.routines[r].unitOfMeasure!=this.metricSearch&&(a=!1)),this.classTypeSearch&&this.classTypeSearch!=this.routines[r].classType&&(a=!1),this.lengthSearch&&this.routines[r].totalDuration>=60*this.lengthSearch&&(a=!1),this.searchParams.length>0){var o=!1;try{for(var s=0;s<this.routines[r].search.length;s++)this.routines[r].search[s]==this.searchParams&&(o=!0)}catch(p){}try{var l=this.routines[r].name.split(" ");for(s=0;s<l.length;s++)l[s]==this.searchParams&&(o=!0)}catch(p){}a=o}if(a)if(this.groupByCategory){for(var c=0;c<this.selectedCategories.length;c++)if("All"==this.selectedCategories[c]){this.selectedCategories=[];break}if(this.routines[r].isFavorite){t.Favorites.push(this.routines[r]);continue}if(this.selectedCategories.length>0&&0==this.routines[r].categories.length);else if(0==this.routines[r].categories.length)t.Uncategorized.push(this.routines[r]);else for(var d=0;d<this.routines[r].categories.length;d++){var u=!1;if(0==this.selectedCategories.length)u=!0;else for(c=0;c<this.selectedCategories.length;c++)this.routines[r].categories[d]==this.selectedCategories[c]&&(u=!0);if(u)try{t[this.routines[r].categories[d]].push(this.routines[r])}catch(p){t[this.routines[r].categories[d]]=[],t[this.routines[r].categories[d]].push(this.routines[r])}}}else t.Ungrouped.push(this.routines[r])}this.noRoutines=1==Object.keys(t).length&&0==t[Object.keys(t)[0]].length,this.selectedRoutines=t},e.prototype.getAssessments=function(){var e=this,t={Assessments:[],Favorites:[]};this.routineService.getAssessments().subscribe(function(n){for(var i=0;i<n.response.routines.length;i++){for(var r=new Yn.a(n.response.routines[i],null,null,e),a=0;a<e.workoutTypes.length;a++)e.workoutTypes[a].id==r.workoutType&&-1==e.availableWorkoutTypes.indexOf(e.workoutTypes[a])&&-1!=e.workoutTypes[a].id&&e.availableWorkoutTypes.push(e.workoutTypes[a]);try{r.graph=e.plotRoutineChart(r)}catch(o){console.error(o),console.log("ERROR plotting routine chart")}t.Assessments.push(r)}e.availableWorkoutTypes=e.availableWorkoutTypes.sort(function(e,t){return e.title.toLowerCase().localeCompare(t.title.toLowerCase())}),e.noRoutines=1==Object.keys(t).length&&0==t[Object.keys(t)[0]].length,e.selectedRoutines=t})},e.prototype.handleCarouselEvents=function(e,t){"click"==e.name&&this.navigateRoutine(t.value[e.cellIndex])},e.prototype.plotRoutineChart=function(e){for(var t=[],n=0;n<e.routineDef.segmentDef.length;n++)for(var i=Number(e.routineDef.segmentDef[n].repeats),r=0;r<i;r++)for(var a=0;a<e.routineDef.segmentDef[n].intervalDef.length;a++)t.push(e.routineDef.segmentDef[n].intervalDef[a]);var o=this.zone.zoneHigh,s=this.zone.zoneLow,l=B.i.FITDIGITS,c=[],d=[],u=0,p=0;for(a=0;a<t.length;a++){var h=s[Number(t[a].zoneRef[0].zonePos)+1],m=o[Number(t[a].zoneRef[0].zonePos)+1];if(p+=t[a].duration,t[a].zoneRef[0].zonePos<0||t[a].zoneRef[0].zonePos>4);else{var g=[{x:u,y:h,id:"1"},{x:u,y:m,id:"2"},{x:p,y:m,id:"3"},{x:p,y:h,id:"4"}],f=l.zone[Number(t[a].zoneRef[0].zonePos)+1].tizColor;c.push(g),d.push(f)}u=p}for(var v={chart:{type:"spline",margin:[0,0,0,0],spacingTop:0},credits:{enabled:!1},title:{text:null},xAxis:{title:{},labels:{enabled:!0},minorTickLength:0,tickLength:0},yAxis:{title:{},labels:{enabled:!1,zIndex:999},endOnTick:!1,maxPadding:0,minorTickLength:0,tickLength:0,min:this.zone.zone0.bpmMax,max:this.zone.zone6.bpmMin,minorGridLineWidth:0,gridLineWidth:0,alternateGridColor:null,plotBands:[{from:this.zone.zone0.bpmMin,to:this.zone.zone1.bpmMin,color:l.zone[0].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone1.bpmMin),to:Number(this.zone.zone1.bpmMax),color:l.zone[1].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone2.bpmMin),to:Number(this.zone.zone2.bpmMax),color:l.zone[2].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone3.bpmMin),to:Number(this.zone.zone3.bpmMax),color:l.zone[3].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone4.bpmMin),to:Number(this.zone.zone4.bpmMax),color:l.zone[4].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone5.bpmMin),to:Number(this.zone.zone5.bpmMax),color:l.zone[5].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone6.bpmMin),to:Number(this.zone.zone6.bpmMin),color:l.zone[6].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}}]},plotOptions:{spline:{lineWidth:4,states:{hover:{lineWidth:5}},marker:{enabled:!1}}},legend:{enabled:!1},series:[{type:"line",data:[],color:"#FFFFFF",yAxis:0}],navigation:{menuItemStyle:{fontSize:"10px"}}},y=0;y<c.length;y++)v.series.push({name:"Target",type:"polygon",data:c[y],color:new re.Color(d[y]).setOpacity(1).get(),enableMouseTracking:!1});return v},e.prototype.delay=function(e){return Object(te.__awaiter)(this,void 0,void 0,function(){return Object(te.__generator)(this,function(t){switch(t.label){case 0:return[4,new Promise(function(t){return setTimeout(function(){return t()},e)}).then(function(){})];case 1:return t.sent(),[2]}})})},e.prototype.changeZone=function(e){var t=this;this.showLoadingOverlay=!0,this.delay(300).then(function(){t.zoneSelected=e.value;for(var n=0;n<t.zones.length;n++)t.zones[n].id==e.value&&(t.zone=new x.d(t.zones[n],null));for(n=0;n<t.routines.length;n++)t.routines[n].graph=!1,t.routines[n].graph=t.plotRoutineChart(t.routines[n]);for(n=0;n<t.routines.length;n++)t.routines[n].graph=!1,t.routines[n].graph=t.plotRoutineChart(t.routines[n]);t.chartsUpdated=!0,t.showLoadingOverlay=!1})},e.prototype.changePaceZone=function(e){var t=[];this.paceZoneSelected=e.value;for(var n=0;n<this.paceZones.length;n++)this.paceZones[n].id==e.value&&(this.paceZone=this.paceZones[n]);for(n=0;n<this.routines.length;n++)this.routines[n].updatePaceZoneset(this.paceZone),t.push(this.routines[n]);this.routines=t},e.prototype.deleteRoutine=function(e){var t=this;this.dialog.open(IS,{data:e,maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(n){!0===n&&t.routineService.uploadRoutine(e.toUploadDict("D")).subscribe(function(e){t.routineService.fetchNewRoutines(!0)})})},e.prototype.shareRoutine=function(e){this.router.navigate(["/myroutines",e.id,"share"])},e.prototype.fetchRoutines=function(){var e=this;this.routineObserver=this.routineService.fetchRoutinesObs.subscribe(function(t){e.routines=[],e.showLoadingOverlay=!0,e.routineService.listRoutines(null).subscribe(function(t){for(var n=0;n<t.response.routines.length;n++){for(var i=new Yn.a(t.response.routines[n],null,null,e),r=0;r<e.workoutTypes.length;r++)e.workoutTypes[r].id==i.workoutType&&-1==e.availableWorkoutTypes.indexOf(e.workoutTypes[r])&&-1!=e.workoutTypes[r].id&&e.availableWorkoutTypes.push(e.workoutTypes[r]);try{i.graph=e.plotRoutineChart(i)}catch(a){console.error(a),console.log("ERROR plotting routine chart")}e.routines.push(i)}e.availableWorkoutTypes=e.availableWorkoutTypes.sort(function(e,t){return e.title.toLowerCase().localeCompare(t.title.toLowerCase())}),e.availableWorkoutTypes.unshift({title:"All",id:-1}),e.workoutTypeSelection=-1,e.localSearch(null),e.routineService.clickRoutinesTab(0),e.showLoadingOverlay=!1})})},e.prototype.ngOnInit=function(){var e=this;this.isStarTrainer=this.PermissionsService.starTrainerAccess,this.routineService.clickRoutinesTabObs.subscribe(function(t){e.selectedTabIndex=t}),this.tableView=!0,this.routinesRoutes=this.routineService.routinesRoutesFilter;var t=50;if(this.AccountService.isLoggedIn){var n=_(this.AccountService.account.birthDate);t=_().diff(n,"years")}this.AccountService.account.isMetric()&&(this.metric="Metric"),this.baseZoneset=Object(x.f)(t),this.panelOpenState=!0,this.searchableCategories.sort(),this.workoutTypes=this.WorkoutTypes.getWorkoutTypeData(),this.workoutTypes.shift(),this.workoutTypes[-1]={title:"All",id:-1},this.workoutTypeSelection=-1,this.segmentDefNotes="Segment Notes go here",this.categories="List Categories",this.routineDescription="Routine Description here...",this.routineKeywords="Routine keywords here...",1==this.ThemeService.isDevMode&&(this.showVideos=!0,this.tableView=!0),this.isStarTrainer=this.PermissionsService.starTrainerAccess,this.searchSubscription=this.searchChanged.pipe(Object(Re.a)(1e3),Object(je.a)()).subscribe(function(t){e.searchParams=t,console.log(t),e.localSearch(null)}),this.zone=new x.d(this.baseZoneset,null),this.showLoadingOverlay=!0,this.WorkoutsService.getZonesets().subscribe(function(n){e.zones=n.response.customZoneSets,e.zones.unshift(Object(x.e)(t)),e.zones.unshift(e.baseZoneset),e.zoneSelected="1"}),this.WorkoutsService.getPaceZonesets().subscribe(function(t){if(0==t.response.customPaceZoneSets.length)e.paceZones.push(new x.a(e.WorkoutsService.DEFAULT_RUN_PACE_ZONESET,"A",e.floatToPace));else for(var n=0;n<t.response.customPaceZoneSets.length;n++)e.paceZones.push(new x.a(t.response.customPaceZoneSets[n],"U",e.floatToPace));try{e.paceZoneSelected=e.paceZones[0].id}catch(i){}e.fetchRoutines(),e.routineService.fetchNewRoutines(!0)})},e.prototype.navigateRoutine=function(e){this.router.navigate("RoutineShare"==e.model?["/routines_search/"+e.hhc+"/detail"]:["/myroutines/"+e.id+"/detail"],{queryParams:{navFrom:"myroutines"}})},e.prototype.ngOnDestroy=function(){this.AccountService.isLoggedIn&&this.routineObserver.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](Yn.b),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](Y_.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](B.B),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](v.b))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["my-routines"]],decls:4,vars:4,consts:[[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"main-menu-section-heading"],[1,"float-right"],["mat-icon-button","",1,"routineMenuButton",3,"matMenuTriggerFor","click"],[1,"routineSearchMenu"],["yPosition","below"],["menu","matMenu"],["mat-menu-item","",1,"material-icon-text",3,"click"],[1,"material-icons","menu-icons"],[1,"menu-text"],[1,"material-icons","menu-icons","green"],["class","menu-text",4,"ngIf"],[1,"material-icons","menu-icons","blue"],["routerLink","/activities"],["src","/static/img/grey-arrow-back.png","alt","back",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"loading-overlay",3,"hidden"],[1,"routineFilters"],[1,"routineSegment","routesPicker",3,"ngStyle","click"],["src","/static/img/routes-icon.png",1,"tab_menu_icons",3,"alt"],["disabled","",1,"routineSegment",3,"ngStyle","click"],["src","/static/img/structured-workouts-icon.png",1,"tab_menu_icons",3,"alt"],["class","routineSegment assessmentPicker",3,"ngStyle","click",4,"ngIf"],["class","routineFilterButton","mat-fab","",3,"click",4,"ngIf"],["class","routineSelectors",4,"ngIf"],["class","routineTableDiv",4,"ngIf"],["class","noRoutines",4,"ngIf"],["class","routineViewOptions noRoutines float-left",4,"ngIf"],[1,"routineSegment","assessmentPicker",3,"ngStyle","click"],["src","/static/img/assessments-icon.png",1,"tab_menu_icons",3,"alt"],["mat-fab","",1,"routineFilterButton",3,"click"],[1,"material-icons","green"],[1,"routineSelectors"],["class","activityFilterOption",4,"ngIf"],["class","multiActivityFilterOption",4,"ngIf"],[1,"searchContainer"],[1,"searchSection"],["mat-stroked-button","","class","searchBtn",3,"click",4,"ngIf"],["class","searchSectionExpanded",4,"ngIf"],[1,"activityFilterOption"],[1,"zoneset-selection",3,"ngModel","selectionChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"multiActivityFilterOption"],["value","routines"],["value","routes"],["value","spinning",4,"ngIf"],["value","all"],["value","spinning"],["mat-stroked-button","",1,"searchBtn",3,"click"],[1,"searchSectionExpanded"],["id","searchBox","placeholder","Search...",1,"routineSearchBox",3,"ngModel","ngModelChange"],[1,"search-selection"],["multiple","",3,"ngModel","selectionChange","ngModelChange"],[1,"search-selection",3,"ngClass"],[3,"ngModel","ngClass","selectionChange","ngModelChange"],["class","routineTableDiv favCarousel",4,"ngFor","ngForOf"],[1,"routineTableDiv","favCarousel"],["src","/static/img/icons/star_on_icon.png",3,"alt"],[1,"favoriteCarousel",3,"events"],["class","carousel-cell thumbnailContainer3",4,"ngFor","ngForOf"],[1,"carousel-cell","thumbnailContainer3"],["class","stackInFront",3,"src",4,"ngIf"],["class","routineGraphCarousel stackInFront",3,"update","Highcharts","oneToOne","options","updateChange",4,"ngIf"],["class","carousel-type-icon",3,"src",4,"ngIf"],[1,"durationCarousel"],["class","routineMetric",4,"ngIf"],[1,"distanceCarousel"],[1,"stackInFront",3,"src"],[1,"routineGraphCarousel","stackInFront",3,"update","Highcharts","oneToOne","options","updateChange"],[1,"carousel-type-icon",3,"src"],[1,"routineMetric"],[1,"metricLabel"],["class","routineTableDiv",3,"hidden",4,"ngFor","ngForOf"],[1,"routineTableDiv",3,"hidden"],[2,"z-index","0","height","210px",3,"events"],["class","carousel-cell",4,"ngFor","ngForOf"],[1,"carousel-cell"],[3,"src"],[3,"src",4,"ngIf"],["class","routineGraphCarousel",3,"update","Highcharts","oneToOne","options","updateChange",4,"ngIf"],["class","material-icons save-icon-carousel",4,"ngIf"],["class","noDistanceLabel",4,"ngIf"],[1,"routineGraphCarousel",3,"update","Highcharts","oneToOne","options","updateChange"],[1,"material-icons","save-icon-carousel"],[1,"noDistanceLabel"],[1,"routineTableDiv"],["class","table table-responsive member-status routineTable",3,"hidden",4,"ngFor","ngForOf"],[1,"table","table-responsive","member-status","routineTable",3,"hidden"],[1,"panel-container",3,"expanded","closed","opened"],[1,"categoryHeader"],["matSort","",2,"width","100%",3,"matSortChange"],["mat-sort-header","name",1,"titleHeaderText"],["mat-sort-header","totalDuration",1,"right-align","durationHead"],["src","/static/img/icons/squareDurationIcon.png",1,"durationIcon"],["mat-sort-header","totalDistance",1,"right-align","distanceHead"],["src","/static/img/icons/squareDistanceIcon.png",1,"distanceIcon"],[1,"menuTH"],[4,"ngFor","ngForOf"],[1,"myRoutineTitleRow",3,"click"],["colspan","4",1,"thumbnailContainerRow"],[1,"hideWhenLarge"],[1,"actvityIcon",3,"src"],[1,"routineTitle"],[1,"thumbnailContainerRow","menuTH"],["mat-icon-button","",1,"hideWhenLarge","menuBtn",3,"matMenuTriggerFor","click"],["yPosition","above"],["mat-menu-item","",3,"disabled","click",4,"ngIf"],["mat-menu-item","",3,"click",4,"ngIf"],["mat-menu-item","",3,"click"],[1,"pointer",3,"click"],[1,"routineTitleSmThumb","left-align"],["class","thumbnailSmall videoThumbnail2",3,"src",4,"ngIf"],["class","material-icons save-icon",4,"ngIf"],[1,"routineTitleRow","hideWhenSmall"],[1,"hideWhenSmall"],[1,"routineTitle","hideWhenSmall"],[1,"routineTitle","right-align"],["mat-icon-button","",1,"hideWhenSmall","moreVertBtn",3,"matMenuTriggerFor","click"],["mat-menu-item","",3,"disabled","click"],[3,"ngStyle"],[3,"hidden"],[1,"thumbnailSmall","videoThumbnail2",3,"src"],["class","thumbnailSmall",3,"src",4,"ngIf"],["class","routineGraphSm thumbnailSmall",3,"update","Highcharts","oneToOne","options","updateChange",4,"ngIf"],[1,"thumbnailSmall",3,"src"],[1,"routineGraphSm","thumbnailSmall",3,"update","Highcharts","oneToOne","options","updateChange"],[1,"material-icons","save-icon"],[1,"noRoutines"],[1,"routineViewOptions","noRoutines","float-left"],["class","themed-clear-button float-left",3,"click",4,"ngIf"],["mat-fab","","class","settingsBtn",3,"click",4,"ngIf"],["class","routineSelectors zoneOptions",4,"ngIf"],[2,"clear","both","height","30px"],[2,"clear","both","height","10px"],[1,"themed-clear-button","float-left",3,"click"],[1,"material-icons","green","float-left"],["mat-fab","",1,"settingsBtn",3,"click"],[1,"routineSelectors","zoneOptions"],[1,"routineFilterOption",3,"ngClass"],[1,"zoneset-selection",3,"ngModel","ngClass","selectionChange","ngModelChange"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275template"](1,q_,37,18,"div",1),i["\u0275\u0275template"](2,Z_,1,0,"app-login-notify",2),i["\u0275\u0275template"](3,hS,22,27,"div",3),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn))},directives:[y.NgClass,y.NgIf,k.b,gt.d,O.a,gt.a,gt.b,S.f,Yo.a,y.NgStyle,fe.c,fe.g,Ae.a,de.o,de.r,y.NgForOf,m.o,de.c,oi,si.a,Wo.a,Wo.c,Wo.f,Wo.g,Wo.e,sf.a,sf.b],pipes:[M.c,y.KeyValuePipe,B.hb,B.Q,y.DecimalPipe,B.f],styles:[".routineTable[_ngcontent-%COMP%]{border:none;float:left;margin-top:30px;margin-bottom:50px}.routineTable[_ngcontent-%COMP%], .th-health[_ngcontent-%COMP%]{font-family:Helvetica neue,Helvetica,sans-serif!important}.th-health[_ngcontent-%COMP%]{padding:8px!important;font-size:18px;font-weight:400!important;border:none!important}.routineSelectors[_ngcontent-%COMP%]{margin-left:0;display:flex;flex-wrap:wrap;margin-top:0;float:left;width:100%}.structuredDetails[_ngcontent-%COMP%]{border-top:none}.thumbnailContainer[_ngcontent-%COMP%]{border:none!important;padding:0 0 10px 10px;visibility:visible}.seriesRepeats[_ngcontent-%COMP%]{margin:10px 0;clear:both;float:left;width:100%;border:1px solid #b2b2b2;border-radius:5px;padding:10px}.showStructuredDetail[_ngcontent-%COMP%]{color:#4597cb;cursor:pointer;font-weight:400;width:100%;text-align:right;float:right;width:80px;padding:10px 0}.categoryDisplay[_ngcontent-%COMP%]{border:1px solid #b2b2b2;padding:3px;float:left;margin-right:5px}.structruedDetailTitles[_ngcontent-%COMP%]{font-weight:400;font-size:14px;float:right;width:100%;text-align:right;max-width:45%}.seriesContainer[_ngcontent-%COMP%]{padding-inline-start:0;list-style-type:none}.search-selection[_ngcontent-%COMP%]{margin:0 10px 0 0}.videoShareButton[_ngcontent-%COMP%]{background:none;border:none;float:right;position:absolute;z-index:999999;bottom:48px;right:0}.videoButtons[_ngcontent-%COMP%]{clear:both;float:left;width:100%;margin-top:-10px;margin-bottom:20px}.routineTableDiv[_ngcontent-%COMP%]{margin-top:20px;clear:both}.routineViewOptions[_ngcontent-%COMP%]{margin-left:0;display:flex;flex-wrap:wrap;margin-bottom:25px;float:left;width:100%}.activityFilterOption[_ngcontent-%COMP%]{margin:10px 0 0;max-width:220px;clear:left;float:left}.noText[_ngcontent-%COMP%]{float:left}.searchSection[_ngcontent-%COMP%]{float:left;margin:0 0 10px -5px;border:0 solid}.searchSectionExpanded[_ngcontent-%COMP%]{min-width:240px}.routineSearchBox[_ngcontent-%COMP%]{height:35px;background-color:transparent;border-top:none;border-left:none;border-right:none;margin-bottom:20px;clear:left}.formType[_ngcontent-%COMP%]{clear:none;margin-right:10px}.carouselRow[_ngcontent-%COMP%]{z-index:0;height:210px}.durationIcon2[_ngcontent-%COMP%]{float:left;margin-right:3px}.noRoutines[_ngcontent-%COMP%]{width:100%;float:left;clear:both;margin:30px auto;text-align:center}.availableWorkouts[_ngcontent-%COMP%]{float:left;margin-top:6px;cursor:pointer}.actvityIcon[_ngcontent-%COMP%]{width:24px;margin-right:10px}.routineTitle[_ngcontent-%COMP%]{font-size:14px;font-family:Helvetica neue,Helvetica,sans-serif!important;font-weight:400}.routineTitleRow[_ngcontent-%COMP%]{vertical-align:baseline!important}.routineSeriesRepeats[_ngcontent-%COMP%]{float:right;margin-right:8px}.routineGraph[_ngcontent-%COMP%]{width:100px;height:75px;display:block}.distanceIcon[_ngcontent-%COMP%]{float:left;margin-right:3px}.routineGraphCarousel[_ngcontent-%COMP%]{width:200px;height:150px;display:block}.routineDescriptionText[_ngcontent-%COMP%]{margin-top:10px}.routineIntervals[_ngcontent-%COMP%]{clear:both;width:100%;float:left}.deleteBtn2[_ngcontent-%COMP%]{margin-top:-8px;float:right}.categoryHead[_ngcontent-%COMP%]{width:100%}.categoryName[_ngcontent-%COMP%]{text-align:right;min-width:100px}.metricLabel[_ngcontent-%COMP%]{font-size:14px}.durationHead[_ngcontent-%COMP%]{text-align:right;width:90px}.distanceHead[_ngcontent-%COMP%]{width:90px}.videoThumbnail[_ngcontent-%COMP%]{float:left;width:200px}.shareIcon[_ngcontent-%COMP%]{margin-top:0}.routineOptionsButton[_ngcontent-%COMP%]{float:right;clear:right;margin-top:20px}.video-player-container[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:100%;padding-top:56.25%}.responsive-iframe[_ngcontent-%COMP%]{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.routineFilterButton[_ngcontent-%COMP%]{float:right;margin:10px 10px 0 -2px;clear:both;z-index:10}@media(max-width:767px){.setGoalHeaderTextMain[_ngcontent-%COMP%]{font-size:20px}.routineTitle[_ngcontent-%COMP%]{font-size:18px}.routineSelectors[_ngcontent-%COMP%]{margin-left:5px}}@media(max-width:520px){.backarrow[_ngcontent-%COMP%]{padding-left:0}.seriesRepeats[_ngcontent-%COMP%]{padding:20px 10px}}@media(max-width:320px){.noText[_ngcontent-%COMP%]{visibility:hidden;width:0;float:left}.activityFilterOption[_ngcontent-%COMP%]{max-width:150px}.searchSectionExpanded[_ngcontent-%COMP%]{min-width:auto;max-width:220px}}",kS]}),e}();function ES(e,t,n){return(e<t?-1:1)*(n?1:-1)}var MS=function(){function e(e,t,n,i,r,a,o,s,l,c){this.route=e,this.translate=t,this.ThemeService=n,this.RoutinesService=i,this.WorkoutTypes=r,this.PermissionsService=a,this.WorkoutsService=o,this.floatToPace=s,this.AccountService=l,this.router=c,this.privacy=1,this.selectedMeasurement="Time",this.measurementOptions=["US","Metric","Time"],this.selectedLanguage="en",this.languages=[{name:"All",value:"all"},{name:"EN",value:"en"},{name:"ES",value:"es"},{name:"FR",value:"fr"},{name:"IT",value:"it"},{name:"DE",value:"de"}],this.selectedCategories=[],this.brand="fitdigits",this.brands=["spinning","fitdigits"],this.availableWorkoutTypes=[],this.allTypes=!1,this.classTypeSearchOptions=[{name:"All",value:"all"},{name:"Advanced",value:"Advanced"},{name:"Beginner",value:"Beginner"},{name:"Tutorial",value:"Tutorial"}],this.searchableCategories=Object(Wn.cloneDeep)(Yn.o),this.separatorKeysCodes=[me.g,me.c],this.routinePrivacies=[{value:1,header:"Public",text:"Shared publicly to a list of all available routines."},{value:2,header:"Private",text:"Direct sharing only using a link."},{value:0,header:"My Groups Only",text:"Sharing to group members."}]}return e.prototype.share=function(){var e=this;if(this.errorMsg=null,this.routineData.description){var t=this.routineData.unitOfMeasure;console.log(t),0==this.routineData.totalDistance&&(t="time");var n=this.routineData.classType;"all"!=n&&"all_levels"!=n||(n=null),this.routineData.workoutType=this.selectedWorkoutType.id,this.routineData.routineDef.workoutType=this.selectedWorkoutType.id,this.RoutinesService.shareRoutine(this.routineData,this.privacy,this.routineData.categories,t,n,this.brand,this.selectedWorkoutType).subscribe(function(t){t.response.error&&(e.errorMsg=t.response.error.message),1===e.privacy&&e.router.navigate(["/routines_search/",t.response.hhc,"detail"])})}else this.errorMsg=this.translate.instant("ERROR.DescriptionRequired")},e.prototype.cancel=function(){this.router.navigate(["/myroutines",this.routineData.id,"detail"])},e.prototype.ngOnInit=function(){var e=this,t="RoutineH",n=null;this.searchableCategories.sort(),this.routineId=this.route.snapshot.paramMap.get("routineId"),isNaN(Number(this.routineId))&&this.router.url.includes("myroutines")?(t=null,n=this.routineId,this.routineId=null):this.router.url.includes("myroutines")&&(t="RoutineH"),this.RoutinesService.routineDetails(this.routineId,t,n).subscribe(function(t){e.routineData=new Yn.a(t.response,null,"RoutineH",e),e.selectedWorkoutType=e.routineData.workoutType;var n=e.WorkoutTypes.getWorkoutTypeData();e.availableWorkoutTypes=[{id:-1}];for(var i=0;i<n.length;i++)n[i].id==e.routineData.workoutType&&-1==e.availableWorkoutTypes.indexOf(n[i])&&e.availableWorkoutTypes.push(n[i])})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](Yn.b),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](B.B),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](S.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["routine-share"]],decls:10,vars:6,consts:[["class","main-menu-section-heading",4,"ngIf"],["mat-dialog-content","",3,"ngClass",4,"ngIf"],["mat-dialog-actions","","layout","row"],["mat-raised-button","",1,"md-primary",2,"margin-left","20px",3,"click"],["mat-raised-button","","class","md-primary","style","margin-left:20px;",3,"click",4,"ngIf"],[2,"clear","both"],[1,"main-menu-section-heading"],[3,"click",4,"ngIf"],[3,"click"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],["mat-dialog-content","",3,"ngClass"],[2,"margin","20px"],[1,"routineShareInput"],[1,"activityFilterOption"],[1,"zoneset-selection",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[2,"font-weight","400 !important"],["matInput","","name","routineName","id","routineName",3,"ngModel","ngModelChange"],["matInput","","placeholder","Video description","matTextareaAutosize","","matAutosizeMinRows","2","matAutosizeMaxRows","5","id","routineDescription",3,"ngModel","ngModelChange"],["multiple","",3,"value","valueChange"],[1,"zoneset-selection",3,"ngModel","value","ngModelChange","valueChange"],["class","activityFilterOption",4,"ngIf"],["style","color: red",4,"ngIf"],[3,"value"],[2,"color","red"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,gS,2,1,"div",0),i["\u0275\u0275template"](1,SS,47,35,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"button",3),i["\u0275\u0275listener"]("click",function(){return t.share()}),i["\u0275\u0275elementStart"](4,"span"),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,CS,4,3,"button",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",5),i["\u0275\u0275text"](9,"\xa0"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.routineData),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,4,"ROOT.Share")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded))},directives:[y.NgIf,g.c,k.b,g.d,y.NgClass,fe.c,fe.g,Ae.a,de.o,de.r,y.NgForOf,be.b,de.c,be.d,m.o],pipes:[M.c],styles:[kS]}),e}(),IS=function(){function e(e,t){this.dialogRef=e,this.data=t,this.routine=this.data}return e.prototype.delete=function(){this.dialogRef.close(!0)},e.prototype.cancel=function(){this.dialogRef.close(!1)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](g.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["delete-routine"]],decls:22,vars:12,consts:[[1,"mat-primary"],[1,"flex-span"],["mat-button","",1,"mat-icon-button",3,"click"],["src","/static/img/icons/deleteXIconWhite.png"],[2,"font-size","16px"],[2,"margin","20px"],[2,"margin","10px"],[1,"float-left",2,"cursor","pointer","padding","10px",3,"click"],[1,"delete-cancel","float-right",2,"margin-right","0px",3,"click"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-toolbar",0),i["\u0275\u0275elementStart"](1,"mat-toolbar-row"),i["\u0275\u0275elementStart"](2,"h2"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"span",1),i["\u0275\u0275elementStart"](6,"button",2),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275element"](7,"img",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-dialog-content",4),i["\u0275\u0275elementStart"](9,"div",5),i["\u0275\u0275elementStart"](10,"div",6),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"mat-dialog-actions"),i["\u0275\u0275elementStart"](14,"div",7),i["\u0275\u0275listener"]("click",function(){return t.cancel()}),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](17,"span",1),i["\u0275\u0275elementStart"](18,"button",8),i["\u0275\u0275listener"]("click",function(){return t.delete()}),i["\u0275\u0275elementStart"](19,"span"),i["\u0275\u0275text"](20),i["\u0275\u0275pipe"](21,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,4,"ROOT.Delete Routine")),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](12,6,"ROOT.Are you sure you want to delete this routine")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](16,8,"ROOT.Cancel")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](21,10,"ROOT.Delete")))},directives:[C.a,C.c,k.b,g.d,g.c],pipes:[M.c],encapsulation:2}),e}(),PS=n("Z2wJ"),TS=n("xgIS"),DS=n("itXk"),LS=["*"],RS=function(){var e=Object(_h.a)(function e(){Object(xh.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.VG_ENDED="ended",e.VG_PAUSED="paused",e.VG_PLAYING="playing",e.VG_LOADING="waiting",e.\u0275prov=i["\u0275\u0275defineInjectable"]({factory:function(){return new e},token:e,providedIn:"root"}),e}(),jS=function(){var e=function(){function e(){Object(xh.a)(this,e),this.medias={},this.playerReadyEvent=new i.EventEmitter(!0),this.isPlayerReady=!1}return Object(_h.a)(e,[{key:"onPlayerReady",value:function(e){this.fsAPI=e,this.isPlayerReady=!0,this.playerReadyEvent.emit(this)}},{key:"getDefaultMedia",value:function(){for(var e in this.medias)if(this.medias[e])return this.medias[e]}},{key:"getMasterMedia",value:function(){var e;for(var t in this.medias)if("true"===this.medias[t].vgMaster||!0===this.medias[t].vgMaster){e=this.medias[t];break}return e||this.getDefaultMedia()}},{key:"isMasterDefined",value:function(){var e=!1;for(var t in this.medias)if("true"===this.medias[t].vgMaster||!0===this.medias[t].vgMaster){e=!0;break}return e}},{key:"getMediaById",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=this.medias[e];return e&&"*"!==e||(t=this),t}},{key:"play",value:function(){for(var e in this.medias)this.medias[e]&&this.medias[e].play()}},{key:"pause",value:function(){for(var e in this.medias)this.medias[e]&&this.medias[e].pause()}},{key:"duration",get:function(){return this.$$getAllProperties("duration")}},{key:"currentTime",get:function(){return this.$$getAllProperties("currentTime")},set:function(e){this.$$setAllProperties("currentTime",e)}},{key:"state",get:function(){return this.$$getAllProperties("state")},set:function(e){this.$$setAllProperties("state",e)}},{key:"volume",get:function(){return this.$$getAllProperties("volume")},set:function(e){this.$$setAllProperties("volume",e)}},{key:"playbackRate",get:function(){return this.$$getAllProperties("playbackRate")},set:function(e){this.$$setAllProperties("playbackRate",e)}},{key:"canPlay",get:function(){return this.$$getAllProperties("canPlay")}},{key:"canPlayThrough",get:function(){return this.$$getAllProperties("canPlayThrough")}},{key:"isMetadataLoaded",get:function(){return this.$$getAllProperties("isMetadataLoaded")}},{key:"isWaiting",get:function(){return this.$$getAllProperties("isWaiting")}},{key:"isCompleted",get:function(){return this.$$getAllProperties("isCompleted")}},{key:"isLive",get:function(){return this.$$getAllProperties("isLive")}},{key:"isMaster",get:function(){return this.$$getAllProperties("isMaster")}},{key:"time",get:function(){return this.$$getAllProperties("time")}},{key:"buffer",get:function(){return this.$$getAllProperties("buffer")}},{key:"buffered",get:function(){return this.$$getAllProperties("buffered")}},{key:"subscriptions",get:function(){return this.$$getAllProperties("subscriptions")}},{key:"textTracks",get:function(){return this.$$getAllProperties("textTracks")}},{key:"seekTime",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];for(var n in this.medias)this.medias[n]&&this.$$seek(this.medias[n],e,t)}},{key:"$$seek",value:function(e,t){var n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=e.duration;i?(this.isMasterDefined()&&(r=this.getMasterMedia().duration),n=t*r/100):n=t,e.currentTime=n}},{key:"addTextTrack",value:function(e,t,n){for(var i in this.medias)this.medias[i]&&this.$$addTextTrack(this.medias[i],e,t,n)}},{key:"$$addTextTrack",value:function(e,t,n,i){e.addTextTrack(t,n,i)}},{key:"$$getAllProperties",value:function(e){var t,n={};for(var i in this.medias)this.medias[i]&&(n[i]=this.medias[i]);switch(Object.keys(n).length){case 0:switch(e){case"state":t=RS.VG_PAUSED;break;case"playbackRate":case"volume":t=1;break;case"time":t={current:0,total:0,left:0}}break;case 1:t=n[Object.keys(n)[0]][e];break;default:t=n[this.getMasterMedia().id][e]}return t}},{key:"$$setAllProperties",value:function(e,t){for(var n in this.medias)this.medias[n]&&(this.medias[n][e]=t)}},{key:"registerElement",value:function(e){this.videogularElement=e}},{key:"registerMedia",value:function(e){this.medias[e.id]=e}},{key:"unregisterMedia",value:function(e){delete this.medias[e.id]}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({factory:function(){return new e},token:e,providedIn:"root"}),e}(),AS=function(){var e=function(){function e(){Object(xh.a)(this,e),this.isHiddenSubject=new l.a,this.isHidden=this.isHiddenSubject.asObservable()}return Object(_h.a)(e,[{key:"state",value:function(e){this.isHiddenSubject.next(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({factory:function(){return new e},token:e,providedIn:"root"}),e}(),FS=function(){var e=function(){function e(){Object(xh.a)(this,e)}return Object(_h.a)(e,null,[{key:"getZIndex",value:function(){for(var e,t=1,n=document.getElementsByTagName("*"),i=0,r=n.length;i<r;i++)(e=parseInt(window.getComputedStyle(n[i])["z-index"],10))>t&&(t=e+1);return t}},{key:"isMobileDevice",value:function(){return void 0!==window.orientation||-1!==navigator.userAgent.indexOf("IEMobile")}},{key:"isiOSDevice",value:function(){return(navigator.userAgent.match(/ip(hone|ad|od)/i)||e.isIpadOS())&&!navigator.userAgent.match(/(iemobile)[\/\s]?([\w\.]*)/i)}},{key:"isIpadOS",value:function(){return navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/MacIntel/.test(navigator.platform)}},{key:"isCordova",value:function(){return-1===document.URL.indexOf("http://")&&-1===document.URL.indexOf("https://")}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({factory:function(){return new e},token:e,providedIn:"root"}),e}(),BS=function(){var e=function(){function e(){Object(xh.a)(this,e),this.nativeFullscreen=!0,this.isFullscreen=!1,this.onChangeFullscreen=new i.EventEmitter}return Object(_h.a)(e,[{key:"init",value:function(e,t){var n=this;this.videogularElement=e,this.medias=t;var i={w3:{enabled:"fullscreenEnabled",element:"fullscreenElement",request:"requestFullscreen",exit:"exitFullscreen",onchange:"fullscreenchange",onerror:"fullscreenerror"},newWebkit:{enabled:"webkitFullscreenEnabled",element:"webkitFullscreenElement",request:"webkitRequestFullscreen",exit:"webkitExitFullscreen",onchange:"webkitfullscreenchange",onerror:"webkitfullscreenerror"},oldWebkit:{enabled:"webkitIsFullScreen",element:"webkitCurrentFullScreenElement",request:"webkitRequestFullScreen",exit:"webkitCancelFullScreen",onchange:"webkitfullscreenchange",onerror:"webkitfullscreenerror"},moz:{enabled:"mozFullScreen",element:"mozFullScreenElement",request:"mozRequestFullScreen",exit:"mozCancelFullScreen",onchange:"mozfullscreenchange",onerror:"mozfullscreenerror"},ios:{enabled:"webkitFullscreenEnabled",element:"webkitFullscreenElement",request:"webkitEnterFullscreen",exit:"webkitExitFullscreen",onchange:"webkitendfullscreen",onerror:"webkitfullscreenerror"},ms:{enabled:"msFullscreenEnabled",element:"msFullscreenElement",request:"msRequestFullscreen",exit:"msExitFullscreen",onchange:"MSFullscreenChange",onerror:"MSFullscreenError"}};for(var r in i)if(i[r].enabled in document){this.polyfill=i[r];break}if(FS.isiOSDevice()&&(this.polyfill=i.ios),this.isAvailable=null!=this.polyfill,null!=this.polyfill){var a;switch(this.polyfill.onchange){case"mozfullscreenchange":a=document;break;case"webkitendfullscreen":a=this.medias.toArray()[0].elem;break;default:a=e}this.fsChangeSubscription=Object(TS.a)(a,this.polyfill.onchange).subscribe(function(){n.onFullscreenChange()})}}},{key:"onFullscreenChange",value:function(){this.isFullscreen=!!document[this.polyfill.element],this.onChangeFullscreen.emit(this.isFullscreen)}},{key:"toggleFullscreen",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.isFullscreen?this.exit():this.request(e)}},{key:"request",value:function(e){e||(e=this.videogularElement),this.isFullscreen=!0,this.onChangeFullscreen.emit(!0),this.isAvailable&&this.nativeFullscreen&&(FS.isMobileDevice()?((!this.polyfill.enabled&&e===this.videogularElement||FS.isiOSDevice())&&(e=this.medias.toArray()[0].elem),this.enterElementInFullScreen(e)):this.enterElementInFullScreen(this.videogularElement))}},{key:"enterElementInFullScreen",value:function(e){e[this.polyfill.request]()}},{key:"exit",value:function(){this.isFullscreen=!1,this.onChangeFullscreen.emit(!1),this.isAvailable&&this.nativeFullscreen&&document[this.polyfill.exit]()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i["\u0275\u0275defineInjectable"]({factory:function(){return new e},token:e,providedIn:"root"}),e}(),zS=function(){var e=Object(_h.a)(function e(){Object(xh.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.VG_ABORT="abort",e.VG_CAN_PLAY="canplay",e.VG_CAN_PLAY_THROUGH="canplaythrough",e.VG_DURATION_CHANGE="durationchange",e.VG_EMPTIED="emptied",e.VG_ENCRYPTED="encrypted",e.VG_ENDED="ended",e.VG_ERROR="error",e.VG_LOADED_DATA="loadeddata",e.VG_LOADED_METADATA="loadedmetadata",e.VG_LOAD_START="loadstart",e.VG_PAUSE="pause",e.VG_PLAY="play",e.VG_PLAYING="playing",e.VG_PROGRESS="progress",e.VG_RATE_CHANGE="ratechange",e.VG_SEEK="seek",e.VG_SEEKED="seeked",e.VG_SEEKING="seeking",e.VG_STALLED="stalled",e.VG_SUSPEND="suspend",e.VG_TIME_UPDATE="timeupdate",e.VG_VOLUME_CHANGE="volumechange",e.VG_WAITING="waiting",e.VG_LOAD="load",e.VG_ENTER="enter",e.VG_EXIT="exit",e.VG_START_ADS="startads",e.VG_END_ADS="endads",e.\u0275prov=i["\u0275\u0275defineInjectable"]({factory:function(){return new e},token:e,providedIn:"root"}),e}(),NS=function(){var e=function(){function e(t,n){Object(xh.a)(this,e),this.api=t,this.ref=n,this.state=RS.VG_PAUSED,this.time={current:0,total:0,left:0},this.buffer={end:0},this.canPlay=!1,this.canPlayThrough=!1,this.isMetadataLoaded=!1,this.isWaiting=!1,this.isCompleted=!1,this.isLive=!1,this.isBufferDetected=!1,this.checkInterval=200,this.currentPlayPos=0,this.lastPlayPos=0,this.playAtferSync=!1,this.bufferDetected=new l.a}return Object(_h.a)(e,[{key:"ngOnInit",value:function(){var e=this;this.elem=this.vgMedia.nodeName?this.vgMedia:this.vgMedia.elem,this.api.registerMedia(this),this.subscriptions={abort:Object(TS.a)(this.elem,zS.VG_ABORT),canPlay:Object(TS.a)(this.elem,zS.VG_CAN_PLAY),canPlayThrough:Object(TS.a)(this.elem,zS.VG_CAN_PLAY_THROUGH),durationChange:Object(TS.a)(this.elem,zS.VG_DURATION_CHANGE),emptied:Object(TS.a)(this.elem,zS.VG_EMPTIED),encrypted:Object(TS.a)(this.elem,zS.VG_ENCRYPTED),ended:Object(TS.a)(this.elem,zS.VG_ENDED),error:Object(TS.a)(this.elem,zS.VG_ERROR),loadedData:Object(TS.a)(this.elem,zS.VG_LOADED_DATA),loadedMetadata:Object(TS.a)(this.elem,zS.VG_LOADED_METADATA),loadStart:Object(TS.a)(this.elem,zS.VG_LOAD_START),pause:Object(TS.a)(this.elem,zS.VG_PAUSE),play:Object(TS.a)(this.elem,zS.VG_PLAY),playing:Object(TS.a)(this.elem,zS.VG_PLAYING),progress:Object(TS.a)(this.elem,zS.VG_PROGRESS),rateChange:Object(TS.a)(this.elem,zS.VG_RATE_CHANGE),seeked:Object(TS.a)(this.elem,zS.VG_SEEKED),seeking:Object(TS.a)(this.elem,zS.VG_SEEKING),stalled:Object(TS.a)(this.elem,zS.VG_STALLED),suspend:Object(TS.a)(this.elem,zS.VG_SUSPEND),timeUpdate:Object(TS.a)(this.elem,zS.VG_TIME_UPDATE),volumeChange:Object(TS.a)(this.elem,zS.VG_VOLUME_CHANGE),waiting:Object(TS.a)(this.elem,zS.VG_WAITING),startAds:Object(TS.a)(window,zS.VG_START_ADS),endAds:Object(TS.a)(window,zS.VG_END_ADS),mutation:new Y.a(function(t){var n=new MutationObserver(function(e){t.next(e)});return n.observe(e.elem,{childList:!0,attributes:!0}),function(){n.disconnect()}}),bufferDetected:this.bufferDetected},this.mutationObs=this.subscriptions.mutation.subscribe(this.onMutation.bind(this)),this.canPlayObs=this.subscriptions.canPlay.subscribe(this.onCanPlay.bind(this)),this.canPlayThroughObs=this.subscriptions.canPlayThrough.subscribe(this.onCanPlayThrough.bind(this)),this.loadedMetadataObs=this.subscriptions.loadedMetadata.subscribe(this.onLoadMetadata.bind(this)),this.waitingObs=this.subscriptions.waiting.subscribe(this.onWait.bind(this)),this.progressObs=this.subscriptions.progress.subscribe(this.onProgress.bind(this)),this.endedObs=this.subscriptions.ended.subscribe(this.onComplete.bind(this)),this.playingObs=this.subscriptions.playing.subscribe(this.onStartPlaying.bind(this)),this.playObs=this.subscriptions.play.subscribe(this.onPlay.bind(this)),this.pauseObs=this.subscriptions.pause.subscribe(this.onPause.bind(this)),this.timeUpdateObs=this.subscriptions.timeUpdate.subscribe(this.onTimeUpdate.bind(this)),this.volumeChangeObs=this.subscriptions.volumeChange.subscribe(this.onVolumeChange.bind(this)),this.errorObs=this.subscriptions.error.subscribe(this.onError.bind(this)),this.vgMaster&&this.api.playerReadyEvent.subscribe(function(){e.prepareSync()})}},{key:"prepareSync",value:function(){var e=this,t=[];for(var n in this.api.medias)this.api.medias[n]&&t.push(this.api.medias[n].subscriptions.canPlay);this.canPlayAllSubscription=Object(DS.a)(t).pipe(Object(he.a)(function(){for(var t=function(e){return!!(null==e?void 0:e.target)&&4===e.target.readyState},n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];var a=i.some(t);a&&!e.syncSubscription&&(e.startSync(),e.syncSubscription.unsubscribe())})).subscribe()}},{key:"startSync",value:function(){var e=this;this.syncSubscription=Object(ql.a)(0,1e3).subscribe(function(){for(var t in e.api.medias)if(e.api.medias[t]!==e){var n=e.api.medias[t].currentTime-e.currentTime;n<-.3||n>.3?(e.playAtferSync=e.state===RS.VG_PLAYING,e.pause(),e.api.medias[t].pause(),e.api.medias[t].currentTime=e.currentTime):e.playAtferSync&&(e.play(),e.api.medias[t].play(),e.playAtferSync=!1)}})}},{key:"onMutation",value:function(e){for(var t=0,n=e.length;t<n;t++){var i=e[t];if("attributes"===i.type&&"src"===i.attributeName){if(i.target.src&&i.target.src.length>0&&i.target.src.indexOf("blob:")<0){this.loadMedia();break}}else if("childList"===i.type&&i.removedNodes.length&&"source"===i.removedNodes[0].nodeName.toLowerCase()){this.loadMedia();break}}}},{key:"loadMedia",value:function(){var e=this;this.vgMedia.pause(),this.vgMedia.currentTime=0,this.stopBufferCheck(),this.isBufferDetected=!0,this.bufferDetected.next(this.isBufferDetected),setTimeout(function(){return e.vgMedia.load()},10)}},{key:"play",value:function(){var e=this;if(!(this.playPromise||this.state!==RS.VG_PAUSED&&this.state!==RS.VG_ENDED))return this.playPromise=this.vgMedia.play(),this.playPromise&&this.playPromise.then&&this.playPromise.catch&&this.playPromise.then(function(){e.playPromise=null}).catch(function(){e.playPromise=null}),this.playPromise}},{key:"pause",value:function(){var e=this;this.playPromise?this.playPromise.then(function(){e.vgMedia.pause()}):this.vgMedia.pause()}},{key:"id",get:function(){var e;return this.vgMedia&&(e=this.vgMedia.id),e}},{key:"duration",get:function(){return this.vgMedia.duration===1/0?this.specifiedDuration:this.vgMedia.duration}},{key:"currentTime",get:function(){return this.vgMedia.currentTime},set:function(e){this.vgMedia.currentTime=e}},{key:"volume",get:function(){return this.vgMedia.volume},set:function(e){this.vgMedia.volume=e}},{key:"playbackRate",get:function(){return this.vgMedia.playbackRate},set:function(e){this.vgMedia.playbackRate=e}},{key:"buffered",get:function(){return this.vgMedia.buffered}},{key:"textTracks",get:function(){return this.vgMedia.textTracks}},{key:"onCanPlay",value:function(e){this.isBufferDetected=!1,this.bufferDetected.next(this.isBufferDetected),this.canPlay=!0,this.ref.detectChanges()}},{key:"onCanPlayThrough",value:function(e){this.isBufferDetected=!1,this.bufferDetected.next(this.isBufferDetected),this.canPlayThrough=!0,this.ref.detectChanges()}},{key:"onLoadMetadata",value:function(e){this.isMetadataLoaded=!0,this.time={current:0,left:0,total:1e3*this.duration},this.state=RS.VG_PAUSED;var t=Math.round(this.time.total);this.isLive=t===1/0,this.ref.detectChanges()}},{key:"onWait",value:function(e){this.isWaiting=!0,this.ref.detectChanges()}},{key:"onComplete",value:function(e){this.isCompleted=!0,this.state=RS.VG_ENDED,this.ref.detectChanges()}},{key:"onStartPlaying",value:function(e){this.state=RS.VG_PLAYING,this.ref.detectChanges()}},{key:"onPlay",value:function(e){this.state=RS.VG_PLAYING,this.vgMaster&&(this.syncSubscription&&!this.syncSubscription.closed||this.startSync()),this.startBufferCheck(),this.ref.detectChanges()}},{key:"onPause",value:function(e){this.state=RS.VG_PAUSED,this.vgMaster&&(this.playAtferSync||this.syncSubscription.unsubscribe()),this.stopBufferCheck(),this.ref.detectChanges()}},{key:"onTimeUpdate",value:function(e){var t=this.buffered.length-1;this.time={current:1e3*this.currentTime,total:this.time.total,left:1e3*(this.duration-this.currentTime)},t>=0&&(this.buffer={end:1e3*this.buffered.end(t)}),this.ref.detectChanges()}},{key:"onProgress",value:function(e){var t=this.buffered.length-1;t>=0&&(this.buffer={end:1e3*this.buffered.end(t)}),this.ref.detectChanges()}},{key:"onVolumeChange",value:function(e){this.ref.detectChanges()}},{key:"onError",value:function(e){this.ref.detectChanges()}},{key:"bufferCheck",value:function(){var e=1/this.checkInterval;this.currentPlayPos=this.currentTime,!this.isBufferDetected&&this.currentPlayPos<this.lastPlayPos+e&&(this.isBufferDetected=!0),this.isBufferDetected&&this.currentPlayPos>this.lastPlayPos+e&&(this.isBufferDetected=!1),this.bufferDetected.closed||this.bufferDetected.next(this.isBufferDetected),this.lastPlayPos=this.currentPlayPos}},{key:"startBufferCheck",value:function(){var e=this;this.checkBufferSubscription=Object(ql.a)(0,this.checkInterval).subscribe(function(){e.bufferCheck()})}},{key:"stopBufferCheck",value:function(){this.checkBufferSubscription&&this.checkBufferSubscription.unsubscribe(),this.isBufferDetected=!1,this.bufferDetected.next(this.isBufferDetected)}},{key:"seekTime",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.duration;this.currentTime=t?e*n/100:e}},{key:"addTextTrack",value:function(e,t,n,i){var r=this.vgMedia.addTextTrack(e,t,n);return i&&(r.mode=i),r}},{key:"ngOnDestroy",value:function(){var e,t,n,i,r,a,o,s,l,c,d,u,p,h,m,g,f;this.vgMedia.src="",null===(e=this.mutationObs)||void 0===e||e.unsubscribe(),null===(t=this.canPlayObs)||void 0===t||t.unsubscribe(),null===(n=this.canPlayThroughObs)||void 0===n||n.unsubscribe(),null===(i=this.loadedMetadataObs)||void 0===i||i.unsubscribe(),null===(r=this.waitingObs)||void 0===r||r.unsubscribe(),null===(a=this.progressObs)||void 0===a||a.unsubscribe(),null===(o=this.endedObs)||void 0===o||o.unsubscribe(),null===(s=this.playingObs)||void 0===s||s.unsubscribe(),null===(l=this.playObs)||void 0===l||l.unsubscribe(),null===(c=this.pauseObs)||void 0===c||c.unsubscribe(),null===(d=this.timeUpdateObs)||void 0===d||d.unsubscribe(),null===(u=this.volumeChangeObs)||void 0===u||u.unsubscribe(),null===(p=this.errorObs)||void 0===p||p.unsubscribe(),null===(h=this.checkBufferSubscription)||void 0===h||h.unsubscribe(),null===(m=this.syncSubscription)||void 0===m||m.unsubscribe(),null===(g=this.bufferDetected)||void 0===g||g.complete(),null===(f=this.bufferDetected)||void 0===f||f.unsubscribe(),this.api.unregisterMedia(this)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](jS),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275dir=i["\u0275\u0275defineDirective"]({type:e,selectors:[["","vgMedia",""]],inputs:{vgMedia:"vgMedia",vgMaster:"vgMaster"}}),e}(),HS=function(){var e=function(){function e(t,n,r,a){Object(xh.a)(this,e),this.api=n,this.fsAPI=r,this.controlsHidden=a,this.isFullscreen=!1,this.isNativeFullscreen=!1,this.areControlsHidden=!1,this.onPlayerReady=new i.EventEmitter,this.onMediaReady=new i.EventEmitter,this.subscriptions=[],this.elem=t.nativeElement,this.api.registerElement(this.elem)}return Object(_h.a)(e,[{key:"ngAfterContentInit",value:function(){var e=this;this.medias.toArray().forEach(function(t){e.api.registerMedia(t)}),this.fsAPI.init(this.elem,this.medias),this.subscriptions.push(this.fsAPI.onChangeFullscreen.subscribe(this.onChangeFullscreen.bind(this))),this.subscriptions.push(this.controlsHidden.isHidden.subscribe(this.onHideControls.bind(this))),this.api.onPlayerReady(this.fsAPI),this.onPlayerReady.emit(this.api)}},{key:"onChangeFullscreen",value:function(e){this.fsAPI.nativeFullscreen?this.isNativeFullscreen=e:(this.isFullscreen=e,this.zIndex=e?FS.getZIndex().toString():"auto")}},{key:"onHideControls",value:function(e){this.areControlsHidden=e}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach(function(e){return e.unsubscribe()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](jS),i["\u0275\u0275directiveInject"](BS),i["\u0275\u0275directiveInject"](AS))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["vg-player"]],contentQueries:function(e,t,n){var r;1&e&&i["\u0275\u0275contentQuery"](n,NS,0),2&e&&i["\u0275\u0275queryRefresh"](r=i["\u0275\u0275loadQuery"]())&&(t.medias=r)},hostVars:8,hostBindings:function(e,t){2&e&&(i["\u0275\u0275styleProp"]("z-index",t.zIndex),i["\u0275\u0275classProp"]("fullscreen",t.isFullscreen)("native-fullscreen",t.isNativeFullscreen)("controls-hidden",t.areControlsHidden))},outputs:{onPlayerReady:"onPlayerReady",onMediaReady:"onMediaReady"},features:[i["\u0275\u0275ProvidersFeature"]([jS,BS,AS])],ngContentSelectors:LS,decls:1,vars:0,template:function(e,t){1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275projection"](0))},styles:["\n      vg-player {\n        font-family: 'videogular';\n        position: relative;\n        display: flex;\n        width: 100%;\n        height: 100%;\n        overflow: hidden;\n        background-color: black;\n      }\n      vg-player.fullscreen {\n        position: fixed;\n        left: 0;\n        top: 0;\n      }\n      vg-player.native-fullscreen.controls-hidden {\n        cursor: none;\n      }\n    "],encapsulation:2}),e}(),VS=[jS,AS,BS,FS,zS,RS],YS=function(){var e=Object(_h.a)(function e(){Object(xh.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[].concat(VS),imports:[[y.CommonModule]]}),e}(),WS=function(){var e=function(){function e(t,n,i,r){Object(xh.a)(this,e),this.API=n,this.fsAPI=i,this.controlsHidden=r,this.vgSkipIfControlsHidden=!1,this.vgSkipIfControlsHiddenDelay=.5,this.isNativeFullscreen=!1,this.areControlsHidden=!1,this.areControlsHiddenChangeTime=0,this.subscriptions=[],this.isBuffering=!1,this.elem=t.nativeElement}return Object(_h.a)(e,[{key:"ngOnInit",value:function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return e.onPlayerReady()}))}},{key:"onPlayerReady",value:function(){var e=this;this.target=this.API.getMediaById(this.vgFor),this.subscriptions.push(this.fsAPI.onChangeFullscreen.subscribe(this.onChangeFullscreen.bind(this))),this.subscriptions.push(this.controlsHidden.isHidden.subscribe(this.onHideControls.bind(this))),this.subscriptions.push(this.target.subscriptions.bufferDetected.subscribe(function(t){return e.onUpdateBuffer(t)}))}},{key:"onUpdateBuffer",value:function(e){this.isBuffering=e}},{key:"onChangeFullscreen",value:function(e){this.fsAPI.nativeFullscreen&&(this.isNativeFullscreen=e)}},{key:"onHideControls",value:function(e){this.vgSkipIfControlsHidden&&this.areControlsHidden!=e&&(this.areControlsHiddenChangeTime=Date.now()),this.areControlsHidden=e}},{key:"onClick",value:function(){if(!this.vgSkipIfControlsHidden||!(this.areControlsHidden||Date.now()-this.areControlsHiddenChangeTime<1e3*this.vgSkipIfControlsHiddenDelay))switch(this.getState()){case RS.VG_PLAYING:this.target.pause();break;case RS.VG_PAUSED:case RS.VG_ENDED:this.target.play()}}},{key:"getState",value:function(){var e=RS.VG_PAUSED;if(this.target)if(this.target.state instanceof Array){for(var t=0,n=this.target.state.length;t<n;t++)if(this.target.state[t]===RS.VG_PLAYING){e=RS.VG_PLAYING;break}}else e=this.target.state;return e}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach(function(e){return e.unsubscribe()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](jS),i["\u0275\u0275directiveInject"](BS),i["\u0275\u0275directiveInject"](AS))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["vg-overlay-play"]],hostVars:2,hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("click",function(){return t.onClick()}),2&e&&i["\u0275\u0275classProp"]("is-buffering",t.isBuffering)},inputs:{vgSkipIfControlsHidden:"vgSkipIfControlsHidden",vgSkipIfControlsHiddenDelay:"vgSkipIfControlsHiddenDelay",vgFor:"vgFor"},decls:2,vars:6,consts:[[1,"vg-overlay-play"],[1,"overlay-play-container"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275element"](1,"div",1),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275classProp"]("native-fullscreen",t.isNativeFullscreen)("controls-hidden",t.areControlsHidden),i["\u0275\u0275advance"](1),i["\u0275\u0275classProp"]("vg-icon-play_arrow","playing"!==t.getState()))},styles:["\n      vg-overlay-play {\n        z-index: 200;\n      }\n      vg-overlay-play.is-buffering {\n        display: none;\n      }\n      vg-overlay-play .vg-overlay-play {\n        transition: all 0.5s;\n        cursor: pointer;\n        position: absolute;\n        display: block;\n        color: white;\n        width: 100%;\n        height: 100%;\n        font-size: 80px;\n        filter: alpha(opacity=60);\n        opacity: 0.6;\n      }\n      vg-overlay-play .vg-overlay-play.native-fullscreen.controls-hidden {\n        cursor: none;\n      }\n      vg-overlay-play\n        .vg-overlay-play\n        .overlay-play-container.vg-icon-play_arrow {\n        pointer-events: none;\n        width: 100%;\n        height: 100%;\n        position: absolute;\n        display: flex;\n        align-items: center;\n        justify-content: center;\n        font-size: 80px;\n      }\n      vg-overlay-play .vg-overlay-play:hover {\n        filter: alpha(opacity=100);\n        opacity: 1;\n      }\n      vg-overlay-play\n        .vg-overlay-play:hover\n        .overlay-play-container.vg-icon-play_arrow:before {\n        transform: scale(1.2);\n      }\n    "],encapsulation:2}),e}(),GS=function(){var e=Object(_h.a)(function e(){Object(xh.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[y.CommonModule,YS]]}),e}(),US=function(){var e=function(){function e(t,n){Object(xh.a)(this,e),this.API=n,this.checkInterval=50,this.currentPlayPos=0,this.lastPlayPos=0,this.subscriptions=[],this.isBuffering=!1,this.elem=t.nativeElement}return Object(_h.a)(e,[{key:"ngOnInit",value:function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return e.onPlayerReady()}))}},{key:"onPlayerReady",value:function(){var e=this;this.target=this.API.getMediaById(this.vgFor),this.subscriptions.push(this.target.subscriptions.bufferDetected.subscribe(function(t){return e.onUpdateBuffer(t)}))}},{key:"onUpdateBuffer",value:function(e){this.isBuffering=e}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach(function(e){return e.unsubscribe()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](jS))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["vg-buffering"]],hostVars:2,hostBindings:function(e,t){2&e&&i["\u0275\u0275classProp"]("is-buffering",t.isBuffering)},inputs:{vgFor:"vgFor"},decls:3,vars:0,consts:[[1,"vg-buffering"],[1,"bufferingContainer"],[1,"loadingSpinner"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275element"](2,"div",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())},styles:["\n      vg-buffering {\n        display: none;\n        z-index: 201;\n      }\n      vg-buffering.is-buffering {\n        display: block;\n      }\n\n      .vg-buffering {\n        position: absolute;\n        display: block;\n        width: 100%;\n        height: 100%;\n      }\n      .vg-buffering .bufferingContainer {\n        width: 100%;\n        position: absolute;\n        cursor: pointer;\n        top: 50%;\n        margin-top: -50px;\n        zoom: 1;\n        filter: alpha(opacity=60);\n        opacity: 0.6;\n      }\n      /* Loading Spinner\n        * http://www.alessioatzeni.com/blog/css3-loading-animation-loop/\n        */\n      .vg-buffering .loadingSpinner {\n        background-color: rgba(0, 0, 0, 0);\n        border: 5px solid rgba(255, 255, 255, 1);\n        opacity: 0.9;\n        border-top: 5px solid rgba(0, 0, 0, 0);\n        border-left: 5px solid rgba(0, 0, 0, 0);\n        border-radius: 50px;\n        box-shadow: 0 0 35px #ffffff;\n        width: 50px;\n        height: 50px;\n        margin: 0 auto;\n        -moz-animation: spin 0.5s infinite linear;\n        -webkit-animation: spin 0.5s infinite linear;\n      }\n      .vg-buffering .loadingSpinner .stop {\n        -webkit-animation-play-state: paused;\n        -moz-animation-play-state: paused;\n      }\n      @-moz-keyframes spin {\n        0% {\n          -moz-transform: rotate(0deg);\n        }\n        100% {\n          -moz-transform: rotate(360deg);\n        }\n      }\n      @-moz-keyframes spinoff {\n        0% {\n          -moz-transform: rotate(0deg);\n        }\n        100% {\n          -moz-transform: rotate(-360deg);\n        }\n      }\n      @-webkit-keyframes spin {\n        0% {\n          -webkit-transform: rotate(0deg);\n        }\n        100% {\n          -webkit-transform: rotate(360deg);\n        }\n      }\n      @-webkit-keyframes spinoff {\n        0% {\n          -webkit-transform: rotate(0deg);\n        }\n        100% {\n          -webkit-transform: rotate(-360deg);\n        }\n      }\n    "],encapsulation:2}),e}(),qS=function(){var e=Object(_h.a)(function e(){Object(xh.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[y.CommonModule,YS]]}),e}(),ZS=n("KQm4"),$S=["*"],XS=["volumeBar"],KS=function(e){return{dragging:e}};function JS(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"LIVE"),i["\u0275\u0275elementEnd"]())}function QS(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"vgUtc"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](2,1,n.getTime(),n.vgFormat))}}function eC(e,t){1&e&&i["\u0275\u0275element"](0,"span",2)}var tC=function(){var e=function(){function e(t,n,i){Object(xh.a)(this,e),this.API=t,this.hidden=i,this.isAdsPlaying="initial",this.hideControls=!1,this.vgAutohide=!1,this.vgAutohideTime=3,this.subscriptions=[],this.elem=n.nativeElement}return Object(_h.a)(e,[{key:"ngOnInit",value:function(){var e=this;this.mouseMove$=Object(TS.a)(this.API.videogularElement,"mousemove"),this.subscriptions.push(this.mouseMove$.subscribe(this.show.bind(this))),this.touchStart$=Object(TS.a)(this.API.videogularElement,"touchstart"),this.subscriptions.push(this.touchStart$.subscribe(this.show.bind(this))),this.mouseClick$=Object(TS.a)(this.API.videogularElement,"click"),this.subscriptions.push(this.mouseClick$.subscribe(this.show.bind(this))),this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return e.onPlayerReady()}))}},{key:"onPlayerReady",value:function(){this.target=this.API.getMediaById(this.vgFor),this.subscriptions.push(this.target.subscriptions.play.subscribe(this.onPlay.bind(this))),this.subscriptions.push(this.target.subscriptions.pause.subscribe(this.onPause.bind(this))),this.subscriptions.push(this.target.subscriptions.startAds.subscribe(this.onStartAds.bind(this))),this.subscriptions.push(this.target.subscriptions.endAds.subscribe(this.onEndAds.bind(this)))}},{key:"ngAfterViewInit",value:function(){this.vgAutohide?this.hide():this.show()}},{key:"onPlay",value:function(){this.vgAutohide&&this.hide()}},{key:"onPause",value:function(){clearTimeout(this.timer),this.hideControls=!1,this.hidden.state(!1)}},{key:"onStartAds",value:function(){this.isAdsPlaying="none"}},{key:"onEndAds",value:function(){this.isAdsPlaying="initial"}},{key:"hide",value:function(){this.vgAutohide&&(clearTimeout(this.timer),this.hideAsync())}},{key:"show",value:function(){clearTimeout(this.timer),this.hideControls=!1,this.hidden.state(!1),this.vgAutohide&&this.hideAsync()}},{key:"hideAsync",value:function(){var e=this;this.API.state===RS.VG_PLAYING&&(this.timer=setTimeout(function(){e.hideControls=!0,e.hidden.state(!0)},1e3*this.vgAutohideTime))}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach(function(e){return e.unsubscribe()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](jS),i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](AS))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["vg-controls"]],hostVars:4,hostBindings:function(e,t){2&e&&(i["\u0275\u0275styleProp"]("pointer-events",t.isAdsPlaying),i["\u0275\u0275classProp"]("hide",t.hideControls))},inputs:{vgAutohide:"vgAutohide",vgAutohideTime:"vgAutohideTime",vgFor:"vgFor"},ngContentSelectors:$S,decls:1,vars:0,template:function(e,t){1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275projection"](0))},styles:["\n      vg-controls {\n        position: absolute;\n        display: flex;\n        width: 100%;\n        height: 50px;\n        z-index: 300;\n        bottom: 0;\n        background-color: rgba(0, 0, 0, 0.5);\n        -webkit-transition: bottom 1s;\n        -khtml-transition: bottom 1s;\n        -moz-transition: bottom 1s;\n        -ms-transition: bottom 1s;\n        transition: bottom 1s;\n      }\n      vg-controls.hide {\n        bottom: -50px;\n      }\n    "],encapsulation:2}),e}(),nC=function(){var e=function(){function e(t,n){Object(xh.a)(this,e),this.API=n,this.subscriptions=[],this.elem=t.nativeElement,this.isDragging=!1}return Object(_h.a)(e,[{key:"ngOnInit",value:function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return e.onPlayerReady()}))}},{key:"onPlayerReady",value:function(){this.target=this.API.getMediaById(this.vgFor),this.ariaValue=100*this.getVolume()}},{key:"onClick",value:function(e){this.setVolume(this.calculateVolume(e.clientX))}},{key:"onMouseDown",value:function(e){this.mouseDownPosX=e.clientX,this.isDragging=!0}},{key:"onDrag",value:function(e){this.isDragging&&this.setVolume(this.calculateVolume(e.clientX))}},{key:"onStopDrag",value:function(e){this.isDragging&&(this.isDragging=!1,this.mouseDownPosX===e.clientX&&this.setVolume(this.calculateVolume(e.clientX)))}},{key:"arrowAdjustVolume",value:function(e){38===e.keyCode||39===e.keyCode?(e.preventDefault(),this.setVolume(Math.max(0,Math.min(100,100*this.getVolume()+10)))):37!==e.keyCode&&40!==e.keyCode||(e.preventDefault(),this.setVolume(Math.max(0,Math.min(100,100*this.getVolume()-10))))}},{key:"calculateVolume",value:function(e){var t=this.volumeBarRef.nativeElement.getBoundingClientRect();return(e-t.left)/t.width*100}},{key:"setVolume",value:function(e){this.target.volume=Math.max(0,Math.min(1,e/100)),this.ariaValue=100*this.target.volume}},{key:"getVolume",value:function(){return this.target?this.target.volume:0}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach(function(e){return e.unsubscribe()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](jS))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["vg-volume"]],viewQuery:function(e,t){var n;1&e&&i["\u0275\u0275viewQuery"](XS,3),2&e&&i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.volumeBarRef=n.first)},hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("mousemove",function(e){return t.onDrag(e)},!1,i["\u0275\u0275resolveDocument"])("mouseup",function(e){return t.onStopDrag(e)},!1,i["\u0275\u0275resolveDocument"])("keydown",function(e){return t.arrowAdjustVolume(e)})},inputs:{vgFor:"vgFor"},decls:5,vars:9,consts:[["tabindex","0","role","slider","aria-label","volume level","aria-level","polite","aria-valuemin","0","aria-valuemax","100","aria-orientation","horizontal",1,"volumeBar",3,"click","mousedown"],["volumeBar",""],[1,"volumeBackground",3,"ngClass"],[1,"volumeValue"],[1,"volumeKnob"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0,1),i["\u0275\u0275listener"]("click",function(e){return t.onClick(e)})("mousedown",function(e){return t.onMouseDown(e)}),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275element"](3,"div",3),i["\u0275\u0275element"](4,"div",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275attribute"]("aria-valuenow",t.ariaValue)("aria-valuetext",t.ariaValue+"%"),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](7,KS,t.isDragging)),i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("width",85*t.getVolume()+"%"),i["\u0275\u0275advance"](1),i["\u0275\u0275styleProp"]("left",85*t.getVolume()+"%"))},directives:[y.NgClass],styles:["\n      vg-volume {\n        -webkit-touch-callout: none;\n        -webkit-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        user-select: none;\n        display: flex;\n        justify-content: center;\n        height: 50px;\n        width: 100px;\n        cursor: pointer;\n        color: white;\n        line-height: 50px;\n      }\n      vg-volume .volumeBar {\n        position: relative;\n        display: flex;\n        flex-grow: 1;\n        align-items: center;\n      }\n      vg-volume .volumeBackground {\n        display: flex;\n        flex-grow: 1;\n        height: 5px;\n        pointer-events: none;\n        background-color: #333;\n      }\n      vg-volume .volumeValue {\n        display: flex;\n        height: 5px;\n        pointer-events: none;\n        background-color: #fff;\n        transition: all 0.2s ease-out;\n      }\n      vg-volume .volumeKnob {\n        position: absolute;\n        width: 15px;\n        height: 15px;\n        left: 0;\n        top: 50%;\n        transform: translateY(-50%);\n        border-radius: 15px;\n        pointer-events: none;\n        background-color: #fff;\n        transition: all 0.2s ease-out;\n      }\n      vg-volume .volumeBackground.dragging .volumeValue,\n      vg-volume .volumeBackground.dragging .volumeKnob {\n        transition: none;\n      }\n    "],encapsulation:2}),e}(),iC=function(){var e=function(){function e(){Object(xh.a)(this,e)}return Object(_h.a)(e,[{key:"transform",value:function(e,t){var n=new Date(e),i=t,r=n.getUTCSeconds(),a=n.getUTCMinutes(),o=n.getUTCHours();return r<10&&(r="0"+r),a<10&&(a="0"+a),o<10&&(o="0"+o),(i=(i=i.replace(/ss/g,r)).replace(/mm/g,a)).replace(/hh/g,o)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i["\u0275\u0275definePipe"]({name:"vgUtc",type:e,pure:!0}),e}(),rC=function(){var e=function(){function e(t,n){Object(xh.a)(this,e),this.API=n,this.vgProperty="current",this.vgFormat="mm:ss",this.subscriptions=[],this.elem=t.nativeElement}return Object(_h.a)(e,[{key:"ngOnInit",value:function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return e.onPlayerReady()}))}},{key:"onPlayerReady",value:function(){this.target=this.API.getMediaById(this.vgFor)}},{key:"getTime",value:function(){var e=0;return this.target&&(e=Math.round(this.target.time[this.vgProperty]),e=isNaN(e)||this.target.isLive?0:e),e}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach(function(e){return e.unsubscribe()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](jS))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["vg-time-display"]],inputs:{vgProperty:"vgProperty",vgFormat:"vgFormat",vgFor:"vgFor"},ngContentSelectors:$S,decls:3,vars:2,consts:[[4,"ngIf"]],template:function(e,t){1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275template"](0,JS,2,0,"span",0),i["\u0275\u0275template"](1,QS,3,4,"span",0),i["\u0275\u0275projection"](2)),2&e&&(i["\u0275\u0275property"]("ngIf",null==t.target?null:t.target.isLive),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!(null!=t.target&&t.target.isLive)))},directives:[y.NgIf],pipes:[iC],styles:["\n      vg-time-display {\n        -webkit-touch-callout: none;\n        -webkit-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        user-select: none;\n        display: flex;\n        justify-content: center;\n        height: 50px;\n        width: 60px;\n        cursor: pointer;\n        color: white;\n        line-height: 50px;\n        pointer-events: none;\n        font-family: Helvetica Neue, Helvetica, Arial, sans-serif;\n      }\n    "],encapsulation:2}),e}(),aC=function(){var e=function(){function e(t,n,i){var r=this;Object(xh.a)(this,e),this.API=n,this.hideScrubBar=!1,this.vgSlider=!0,this.isSeeking=!1,this.wasPlaying=!1,this.subscriptions=[],this.elem=t.nativeElement,this.subscriptions.push(i.isHidden.subscribe(function(e){return r.onHideScrubBar(e)}))}return Object(_h.a)(e,[{key:"ngOnInit",value:function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return e.onPlayerReady()}))}},{key:"onPlayerReady",value:function(){this.target=this.API.getMediaById(this.vgFor)}},{key:"seekStart",value:function(){this.target.canPlay&&(this.isSeeking=!0,this.target.state===RS.VG_PLAYING&&(this.wasPlaying=!0),this.target.pause())}},{key:"seekMove",value:function(e){if(this.isSeeking){var t=Math.max(Math.min(100*e/this.elem.scrollWidth,99.9),0);this.target.time.current=t*this.target.time.total/100,this.target.seekTime(t,!0)}}},{key:"seekEnd",value:function(e){if(this.isSeeking=!1,this.target.canPlay){var t=Math.max(Math.min(100*e/this.elem.scrollWidth,99.9),0);this.target.seekTime(t,!0),this.wasPlaying&&(this.wasPlaying=!1,this.target.play())}}},{key:"touchEnd",value:function(){this.isSeeking=!1,this.wasPlaying&&(this.wasPlaying=!1,this.target.play())}},{key:"getTouchOffset",value:function(e){for(var t=0,n=e.target;n;)t+=n.offsetLeft,n=n.offsetParent;return e.touches[0].pageX-t}},{key:"onMouseDownScrubBar",value:function(e){this.target&&(this.target.isLive||(this.vgSlider?this.seekStart():this.seekEnd(e.offsetX)))}},{key:"onMouseMoveScrubBar",value:function(e){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.seekMove(e.offsetX)}},{key:"onMouseUpScrubBar",value:function(e){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.seekEnd(e.offsetX)}},{key:"onTouchStartScrubBar",value:function(e){this.target&&(this.target.isLive||(this.vgSlider?this.seekStart():this.seekEnd(this.getTouchOffset(e))))}},{key:"onTouchMoveScrubBar",value:function(e){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.seekMove(this.getTouchOffset(e))}},{key:"onTouchCancelScrubBar",value:function(e){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.touchEnd()}},{key:"onTouchEndScrubBar",value:function(e){this.target&&!this.target.isLive&&this.vgSlider&&this.isSeeking&&this.touchEnd()}},{key:"arrowAdjustVolume",value:function(e){this.target&&(38===e.keyCode||39===e.keyCode?(e.preventDefault(),this.target.seekTime((this.target.time.current+5e3)/1e3,!1)):37!==e.keyCode&&40!==e.keyCode||(e.preventDefault(),this.target.seekTime((this.target.time.current-5e3)/1e3,!1)))}},{key:"getPercentage",value:function(){return this.target?Math.round(100*this.target.time.current/this.target.time.total)+"%":"0%"}},{key:"onHideScrubBar",value:function(e){this.hideScrubBar=e}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach(function(e){return e.unsubscribe()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](jS),i["\u0275\u0275directiveInject"](AS))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["vg-scrub-bar"]],hostVars:2,hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("mousedown",function(e){return t.onMouseDownScrubBar(e)})("mousemove",function(e){return t.onMouseMoveScrubBar(e)},!1,i["\u0275\u0275resolveDocument"])("mouseup",function(e){return t.onMouseUpScrubBar(e)},!1,i["\u0275\u0275resolveDocument"])("touchstart",function(e){return t.onTouchStartScrubBar(e)})("touchmove",function(e){return t.onTouchMoveScrubBar(e)},!1,i["\u0275\u0275resolveDocument"])("touchcancel",function(e){return t.onTouchCancelScrubBar(e)},!1,i["\u0275\u0275resolveDocument"])("touchend",function(e){return t.onTouchEndScrubBar(e)},!1,i["\u0275\u0275resolveDocument"])("keydown",function(e){return t.arrowAdjustVolume(e)}),2&e&&i["\u0275\u0275classProp"]("hide",t.hideScrubBar)},inputs:{vgSlider:"vgSlider",vgFor:"vgFor"},ngContentSelectors:$S,decls:2,vars:2,consts:[["tabindex","0","role","slider","aria-label","scrub bar","aria-level","polite","aria-valuemin","0","aria-valuemax","100",1,"scrubBar"]],template:function(e,t){1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275projection"](1),i["\u0275\u0275elementEnd"]()),2&e&&i["\u0275\u0275attribute"]("aria-valuenow",t.getPercentage())("aria-valuetext",t.getPercentage())},styles:["\n      vg-scrub-bar {\n        -webkit-touch-callout: none;\n        -webkit-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        user-select: none;\n        position: absolute;\n        width: 100%;\n        height: 5px;\n        bottom: 50px;\n        margin: 0;\n        cursor: pointer;\n        align-items: center;\n        background: rgba(0, 0, 0, 0.75);\n        z-index: 250;\n        -webkit-transition: bottom 1s, opacity 0.5s;\n        -khtml-transition: bottom 1s, opacity 0.5s;\n        -moz-transition: bottom 1s, opacity 0.5s;\n        -ms-transition: bottom 1s, opacity 0.5s;\n        transition: bottom 1s, opacity 0.5s;\n      }\n      vg-scrub-bar .scrubBar {\n        position: relative;\n        display: flex;\n        flex-grow: 1;\n        align-items: center;\n        height: 100%;\n      }\n      vg-controls vg-scrub-bar {\n        position: relative;\n        bottom: 0;\n        background: transparent;\n        height: 50px;\n        flex-grow: 1;\n        flex-basis: 0;\n        margin: 0 10px;\n        -webkit-transition: initial;\n        -khtml-transition: initial;\n        -moz-transition: initial;\n        -ms-transition: initial;\n        transition: initial;\n      }\n      vg-scrub-bar.hide {\n        bottom: 0;\n        opacity: 0;\n      }\n      vg-controls vg-scrub-bar.hide {\n        bottom: initial;\n        opacity: initial;\n      }\n    "],encapsulation:2}),e}(),oC=function(){var e=function(){function e(t,n){Object(xh.a)(this,e),this.API=n,this.subscriptions=[],this.ariaValue=RS.VG_PAUSED,this.elem=t.nativeElement}return Object(_h.a)(e,[{key:"ngOnInit",value:function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return e.onPlayerReady()}))}},{key:"onPlayerReady",value:function(){this.target=this.API.getMediaById(this.vgFor)}},{key:"onClick",value:function(){this.playPause()}},{key:"onKeyDown",value:function(e){13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),this.playPause())}},{key:"playPause",value:function(){switch(this.getState()){case RS.VG_PLAYING:this.target.pause();break;case RS.VG_PAUSED:case RS.VG_ENDED:this.target.play()}}},{key:"getState",value:function(){return this.ariaValue=this.target?this.target.state:RS.VG_PAUSED,this.ariaValue}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach(function(e){return e.unsubscribe()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](jS))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["vg-play-pause"]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("click",function(){return t.onClick()})("keydown",function(e){return t.onKeyDown(e)})},inputs:{vgFor:"vgFor"},decls:1,vars:6,consts:[["tabindex","0","role","button",1,"icon"]],template:function(e,t){1&e&&i["\u0275\u0275element"](0,"div",0),2&e&&(i["\u0275\u0275classProp"]("vg-icon-pause","playing"===t.getState())("vg-icon-play_arrow","paused"===t.getState()||"ended"===t.getState()),i["\u0275\u0275attribute"]("aria-label","paused"===t.getState()?"play":"pause")("aria-valuetext",t.ariaValue))},styles:["\n      vg-play-pause {\n        -webkit-touch-callout: none;\n        -webkit-user-select: none;\n        -khtml-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        user-select: none;\n        display: flex;\n        justify-content: center;\n        height: 50px;\n        width: 50px;\n        cursor: pointer;\n        color: white;\n        line-height: 50px;\n      }\n      vg-play-pause .icon {\n        pointer-events: none;\n      }\n    "],encapsulation:2}),e}(),sC=function(){var e=function(){function e(t,n){Object(xh.a)(this,e),this.API=n,this.subscriptions=[],this.ariaValue="unmuted",this.elem=t.nativeElement}return Object(_h.a)(e,[{key:"ngOnInit",value:function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return e.onPlayerReady()}))}},{key:"onPlayerReady",value:function(){this.target=this.API.getMediaById(this.vgFor),this.currentVolume=this.target.volume}},{key:"onClick",value:function(){this.changeMuteState()}},{key:"onKeyDown",value:function(e){13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),this.changeMuteState())}},{key:"changeMuteState",value:function(){var e=this.getVolume();0===e?(0===this.target.volume&&0===this.currentVolume&&(this.currentVolume=1),this.target.volume=this.currentVolume):(this.currentVolume=e,this.target.volume=0)}},{key:"getVolume",value:function(){var e=this.target?this.target.volume:0;return this.ariaValue=e?"unmuted":"muted",e}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach(function(e){return e.unsubscribe()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](jS))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["vg-mute"]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("click",function(){return t.onClick()})("keydown",function(e){return t.onKeyDown(e)})},inputs:{vgFor:"vgFor"},decls:1,vars:9,consts:[["tabindex","0","role","button","aria-label","mute button",1,"icon"]],template:function(e,t){1&e&&i["\u0275\u0275element"](0,"div",0),2&e&&(i["\u0275\u0275classProp"]("vg-icon-volume_up",t.getVolume()>=.75)("vg-icon-volume_down",t.getVolume()>=.25&&t.getVolume()<.75)("vg-icon-volume_mute",t.getVolume()>0&&t.getVolume()<.25)("vg-icon-volume_off",0===t.getVolume()),i["\u0275\u0275attribute"]("aria-valuetext",t.ariaValue))},styles:["\n      vg-mute {\n        -webkit-touch-callout: none;\n        -webkit-user-select: none;\n        -khtml-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        user-select: none;\n        display: flex;\n        justify-content: center;\n        height: 50px;\n        width: 50px;\n        cursor: pointer;\n        color: white;\n        line-height: 50px;\n      }\n      vg-mute .icon {\n        pointer-events: none;\n      }\n    "],encapsulation:2}),e}(),lC=function(){var e=function(){function e(t,n,i){Object(xh.a)(this,e),this.API=n,this.fsAPI=i,this.isFullscreen=!1,this.subscriptions=[],this.ariaValue="normal mode",this.elem=t.nativeElement,this.subscriptions.push(this.fsAPI.onChangeFullscreen.subscribe(this.onChangeFullscreen.bind(this)))}return Object(_h.a)(e,[{key:"ngOnInit",value:function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return e.onPlayerReady()}))}},{key:"onPlayerReady",value:function(){this.target=this.API.getMediaById(this.vgFor)}},{key:"onChangeFullscreen",value:function(e){this.ariaValue=e?"fullscreen mode":"normal mode",this.isFullscreen=e}},{key:"onClick",value:function(){this.changeFullscreenState()}},{key:"onKeyDown",value:function(e){13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),this.changeFullscreenState())}},{key:"changeFullscreenState",value:function(){var e=this.target;this.target instanceof jS&&(e=null),this.fsAPI.toggleFullscreen(e)}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach(function(e){return e.unsubscribe()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](jS),i["\u0275\u0275directiveInject"](BS))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["vg-fullscreen"]],hostBindings:function(e,t){1&e&&i["\u0275\u0275listener"]("click",function(){return t.onClick()})("keydown",function(e){return t.onKeyDown(e)})},decls:1,vars:5,consts:[["tabindex","0","role","button","aria-label","fullscreen button",1,"icon"]],template:function(e,t){1&e&&i["\u0275\u0275element"](0,"div",0),2&e&&(i["\u0275\u0275classProp"]("vg-icon-fullscreen",!t.isFullscreen)("vg-icon-fullscreen_exit",t.isFullscreen),i["\u0275\u0275attribute"]("aria-valuetext",t.ariaValue))},styles:["\n      vg-fullscreen {\n        -webkit-touch-callout: none;\n        -webkit-user-select: none;\n        -khtml-user-select: none;\n        -moz-user-select: none;\n        -ms-user-select: none;\n        user-select: none;\n        display: flex;\n        justify-content: center;\n        height: 50px;\n        width: 50px;\n        cursor: pointer;\n        color: white;\n        line-height: 50px;\n      }\n      vg-fullscreen .icon {\n        pointer-events: none;\n      }\n    "],encapsulation:2}),e}(),cC=function(){var e=function(){function e(t,n){Object(xh.a)(this,e),this.API=n,this.vgSlider=!1,this.subscriptions=[],this.elem=t.nativeElement}return Object(_h.a)(e,[{key:"ngOnInit",value:function(){var e=this;this.API.isPlayerReady?this.onPlayerReady():this.subscriptions.push(this.API.playerReadyEvent.subscribe(function(){return e.onPlayerReady()}))}},{key:"onPlayerReady",value:function(){this.target=this.API.getMediaById(this.vgFor)}},{key:"getPercentage",value:function(){return this.target?Math.round(100*this.target.time.current/this.target.time.total)+"%":"0%"}},{key:"ngOnDestroy",value:function(){this.subscriptions.forEach(function(e){return e.unsubscribe()})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](i.ElementRef),i["\u0275\u0275directiveInject"](jS))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["vg-scrub-bar-current-time"]],inputs:{vgSlider:"vgSlider",vgFor:"vgFor"},decls:2,vars:3,consts:[[1,"background"],["class","slider",4,"ngIf"],[1,"slider"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275template"](1,eC,1,0,"span",1)),2&e&&(i["\u0275\u0275styleProp"]("width",t.getPercentage()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.vgSlider))},directives:[y.NgIf],styles:["\n      vg-scrub-bar-current-time {\n        display: flex;\n        width: 100%;\n        height: 5px;\n        pointer-events: none;\n        position: absolute;\n      }\n      vg-scrub-bar-current-time .background {\n        background-color: white;\n      }\n      vg-controls vg-scrub-bar-current-time {\n        position: absolute;\n        top: calc(50% - 3px);\n        -webkit-border-radius: 2px;\n        -moz-border-radius: 2px;\n        border-radius: 2px;\n      }\n      vg-controls vg-scrub-bar-current-time .background {\n        border: 1px solid white;\n        -webkit-border-radius: 2px;\n        -moz-border-radius: 2px;\n        border-radius: 2px;\n      }\n      vg-scrub-bar-current-time .slider {\n        background: white;\n        height: 15px;\n        width: 15px;\n        border-radius: 50%;\n        box-shadow: 0px 0px 10px black;\n        margin-top: -5px;\n        margin-left: -10px;\n      }\n    "],encapsulation:2}),e}(),dC=function(){var e=Object(_h.a)(function e(){Object(xh.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[y.CommonModule,YS]]}),e}();function uC(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Miles")))}function pC(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Kilometers")))}function hC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",4),i["\u0275\u0275elementStart"](1,"div",5),i["\u0275\u0275elementStart"](2,"div",6),i["\u0275\u0275element"](3,"img",7),i["\u0275\u0275template"](4,uC,3,3,"span",8),i["\u0275\u0275template"](5,pC,3,3,"span",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",9),i["\u0275\u0275elementStart"](7,"span"),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"milesToKm"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](10,"div",10),i["\u0275\u0275elementStart"](11,"div",5),i["\u0275\u0275elementStart"](12,"div",6),i["\u0275\u0275element"](13,"img",11),i["\u0275\u0275elementStart"](14,"span"),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"div",9),i["\u0275\u0275elementStart"](18,"span"),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](21,"div",10),i["\u0275\u0275elementStart"](22,"div",5),i["\u0275\u0275elementStart"](23,"div",6),i["\u0275\u0275element"](24,"img",12),i["\u0275\u0275elementStart"](25,"span"),i["\u0275\u0275text"](26),i["\u0275\u0275pipe"](27,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"div",9),i["\u0275\u0275elementStart"](29,"span"),i["\u0275\u0275text"](30),i["\u0275\u0275pipe"](31,"secondsToHrsMin"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!n.AccountService.account.isMetric()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.AccountService.account.isMetric()),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](9,7,n.totalDistance,n.AccountService.account.isMetric())),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](16,10,"ROOT.Calories")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](20,12,n.totalCalories,"1.0-0")),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](27,15,"ROOT.Duration")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](31,17,n.totalTime))}}function mC(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"km"),i["\u0275\u0275elementEnd"]())}function gC(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"mi"),i["\u0275\u0275elementEnd"]())}var fC=function(){return{"background-color":"rgba(226, 227, 228, .4)"}};function vC(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-checkbox",32),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().$implicit.checked=e})("ngModelChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](2).toggleCompare(e,t)}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit,a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngModel",r.checked)("color","primary")("ngStyle",i["\u0275\u0275pureFunction0"](4,fC))("disabled",!1===r.checked&&4===a.compareList.length)}}var yC=function(e){return[e]};function bC(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tr",22),i["\u0275\u0275elementStart"](1,"td",23),i["\u0275\u0275template"](2,vC,1,5,"mat-checkbox",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"td",25),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](2).goToActivity(e,r.hhc)}),i["\u0275\u0275elementStart"](4,"div",26),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"div",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"td",28),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](2).goToActivity(e,r.hhc)}),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"milesToKm"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"td",29),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](2).goToActivity(e,r.hhc)}),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"td",30),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](2).goToActivity(e,r.hhc)}),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"secondsToH"),i["\u0275\u0275elementStart"](17,"small",31),i["\u0275\u0275pipe"](18,"secondsToH"),i["\u0275\u0275text"](19,"h"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](20),i["\u0275\u0275pipe"](21,"secondsToM"),i["\u0275\u0275elementStart"](22,"small",31),i["\u0275\u0275pipe"](23,"secondsToM"),i["\u0275\u0275text"](24,"m"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](28,yC,r.id==a.sourceActivity?"rowHighlight":"")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",a.activitiesList.length>1),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](6,10,r.date,"MMM d, y")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("innerHtml",r.displayTitle,i["\u0275\u0275sanitizeHtml"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind3"](10,13,r.distance,a.isMetric,2)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](13,17,r.calories,"1.0-0")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](16,20,r.elapsedSeconds),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!i["\u0275\u0275pipeBind1"](18,22,r.elapsedSeconds)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](21,24,r.elapsedSeconds),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!i["\u0275\u0275pipeBind1"](23,26,r.elapsedSeconds))}}function xC(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"table",13),i["\u0275\u0275listener"]("matSortChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().sortData(e)}),i["\u0275\u0275elementStart"](1,"thead"),i["\u0275\u0275elementStart"](2,"tr"),i["\u0275\u0275element"](3,"th"),i["\u0275\u0275element"](4,"th",14),i["\u0275\u0275elementStart"](5,"th",15),i["\u0275\u0275element"](6,"img",16),i["\u0275\u0275template"](7,mC,2,0,"span",8),i["\u0275\u0275template"](8,gC,2,0,"span",8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"th",17),i["\u0275\u0275element"](10,"img",18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"th",19),i["\u0275\u0275element"](12,"img",20),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"tbody"),i["\u0275\u0275template"](14,bC,25,30,"tr",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("ngIf",r.isMetric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isMetric),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngForOf",r.sortedData)}}function _C(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",33),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().compare()}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("color","primary")("disabled",r.compareList.length<2),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,3,"ROOT.Compare"),"\n")}}function wC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",34),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",n.activitiesList.length,"\xa0",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Activities"),"\n")}}var SC=function(){function e(e,t,n,i,r){this.RoutinesService=e,this.AccountService=t,this.router=n,this.WorkoutTypes=i,this.translate=r,this.desserts=[{name:"Frozen yogurt",calories:159,fat:6,carbs:24,protein:4},{name:"Ice cream sandwich",calories:237,fat:9,carbs:37,protein:4},{name:"Eclair",calories:262,fat:16,carbs:24,protein:6},{name:"Cupcake",calories:305,fat:4,carbs:67,protein:4},{name:"Gingerbread",calories:356,fat:16,carbs:49,protein:4}],this.totalDistance=0,this.totalTime=0,this.totalCalories=0,this.isMetric=!1,this.activitiesList=[],this.sortedData=[],this.compareList=[],this.compareLimitReached=!1,this.currentSortedType="date",this.reverse=!0,this.sortedData=this.activitiesList.slice()}return e.prototype.getTotals=function(){},e.prototype.ngOnInit=function(){var e=this,t=null,n=null;this.routine&&(t=this.routine.hhc,n=this.routine.model,this.routine.ghostWorkout&&(this.sourceActivity=this.routine.ghostDetail.id.toString())),this.RoutinesService.getCompletedRoutines(t,n).subscribe(function(t){for(var n=0;n<t.response.records.length;n++){var i=new Te.a(t.response.records[n],e.WorkoutTypes,e.translate.currentLang);e.totalDistance+=i.distance,e.totalTime+=i.elapsedSeconds,e.totalCalories+=i.calories,e.activitiesList.push(i)}e.sortData({active:"date",direction:"desc"})})},e.prototype.sortData=function(e){var t=this.activitiesList.slice();this.sortedData=e.active&&""!==e.direction?t.sort(function(t,n){var i="asc"===e.direction;switch(e.active){case"date":return CC(t.dateString,n.dateString,i);case"title":return CC(t.title,n.title,i);case"calories":return CC(t.calories,n.calories,i);case"elapsedSeconds":return CC(t.elapsedSeconds,n.elapsedSeconds,i);case"distance":return CC(t.distance,n.distance,i);default:return 0}}):t},e.prototype.sortActivities=function(e){this.currentSortedType=e;var t=this.activitiesList.map(function(e){return Object.assign({},e)}),n="asc";this.reverse&&(n="desc"),this.activitiesList=Object(Wn.orderBy)(t,e,n),this.reverse=!this.reverse},e.prototype.compare=function(){for(var e="",t=0;t<this.compareList.length;t++)e+=t==this.compareList.length-1?this.compareList[t]:this.compareList[t]+",";this.router.navigate(["/activities-compare",e])},e.prototype.toggleCompare=function(e,t){for(var n=-1,i=0;i<this.compareList.length;i++)Number(t.id)===this.compareList[i]&&(n=i,t.checked=!1);if(n>=0)this.compareList.splice(n,1);else{if(this.compareLimitReached)return;this.compareList.push(Number(t.id)),t.checked=!0}},e.prototype.goToActivity=function(e,t){this.router.navigate(["activity",t,"detail"])},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](Yn.b),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](M.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-completed-routines"]],inputs:{routine:"routine"},decls:4,vars:4,consts:[["class","statWrap",4,"ngIf"],["matSort","","matSortActive","date","matSortDirection","desc","class","complete-routines full-width",3,"matSortChange",4,"ngIf"],["mat-raised-button","","class","compareButton",3,"color","disabled","click",4,"ngIf"],["style","text-align:center;",4,"ngIf"],[1,"statWrap"],[1,"statItem"],[1,"homeStatName"],["src","/static/img/icons/squareDistanceIcon.png","width","16px",2,"float","left","margin-right","3px"],[4,"ngIf"],[1,"homeStatValue"],[1,"statsSeparator"],["src","/static/img/theme/site/calorie-icon.png","width","10px",2,"float","left","margin-right","3px"],["src","/static/img/icons/squareDurationIcon.png","width","16px",2,"float","left","margin-right","3px"],["matSort","","matSortActive","date","matSortDirection","desc",1,"complete-routines","full-width",3,"matSortChange"],["mat-sort-header","date",2,"padding","10px 0px"],["mat-sort-header","distance",2,"font-weight","normal","padding-bottom","0px"],["src","/static/img/icons/squareDistanceIcon.png","width","20px",1,"headerIcon"],["mat-sort-header","calories"],["src","/static/img/theme/site/calorie-icon.png","width","14px",1,"headerIcon"],["mat-sort-header","elapsedSeconds"],["src","/static/img/icons/squareDurationIcon.png","width","20px",1,"headerIcon"],["class","activityRow",3,"ngClass",4,"ngFor","ngForOf"],[1,"activityRow",3,"ngClass"],[1,"tdCheckbox"],["name","activity_checkbox","style","margin:0px 3px;",3,"ngModel","color","ngStyle","disabled","ngModelChange",4,"ngIf"],[1,"tdDate",3,"click"],[2,"float","left"],[1,"displayTitle",3,"innerHtml"],[1,"tdDistance",3,"click"],[1,"tdCalories",3,"click"],[1,"tdDuration",3,"click"],[3,"hidden"],["name","activity_checkbox",2,"margin","0px 3px",3,"ngModel","color","ngStyle","disabled","ngModelChange"],["mat-raised-button","",1,"compareButton",3,"color","disabled","click"],[2,"text-align","center"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,hC,32,19,"div",0),i["\u0275\u0275template"](1,xC,15,3,"table",1),i["\u0275\u0275template"](2,_C,3,5,"button",2),i["\u0275\u0275template"](3,wC,3,4,"div",3)),2&e&&(i["\u0275\u0275property"]("ngIf",t.activitiesList.length>2),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.sortedData.length>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.activitiesList.length>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.activitiesList.length>2))},directives:[y.NgIf,sf.a,sf.b,y.NgForOf,y.NgClass,El.a,de.o,de.r,y.NgStyle,k.b],pipes:[B.Q,M.c,y.DecimalPipe,B.hb,y.DatePipe,B.cb,B.ib],styles:[".complete-routines[_ngcontent-%COMP%]{margin-top:20px}.compareButton[_ngcontent-%COMP%]{float:left;position:absolute}.statItem[_ngcontent-%COMP%]{display:flex;flex-direction:column;text-align:center;margin-top:0;margin-right:30px;margin-left:30px}.statWrap[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;clear:both;border-bottom:1px dashed}.homeStatName[_ngcontent-%COMP%]{padding:5px}.activityRow[_ngcontent-%COMP%]{background:none;vertical-align:top;border-bottom:1px dotted #b2b2b2}.rowHighlight[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3)}.headerIcon[_ngcontent-%COMP%]{margin-left:40px}.activityRow[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:10px 0;border:0 solid}.tdCheckbox[_ngcontent-%COMP%]{width:40px}.tdCalories[_ngcontent-%COMP%], .tdDistance[_ngcontent-%COMP%], .tdDuration[_ngcontent-%COMP%]{text-align:right;margin:15px 5px 0 0;border:0 solid;width:60px}.displayTitle[_ngcontent-%COMP%]{margin-left:10px;float:left}@media(max-width:767px){.tdTitle[_ngcontent-%COMP%]{vertical-align:top;max-width:200px}.displayTitle[_ngcontent-%COMP%]{width:1px;visibility:hidden;overflow:hidden;margin:0}.statItem[_ngcontent-%COMP%]{margin-top:10px;margin-right:10px;margin-left:10px}}@media(max-width:420px){.tdDate[_ngcontent-%COMP%]{width:170px}.tdCalories[_ngcontent-%COMP%], .tdDistance[_ngcontent-%COMP%], .tdDuration[_ngcontent-%COMP%]{width:auto}.complete-routines[_ngcontent-%COMP%]{margin-top:100px}}"]}),e}();function CC(e,t,n){return(e<t?-1:1)*(n?1:-1)}function kC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.error_message)}}function OC(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",4),i["\u0275\u0275elementStart"](2,"a",5),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().navigateBackNoRoutine()}),i["\u0275\u0275element"](3,"img",6),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275elementStart"](5,"h4",7),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](8,kC,3,1,"div",3),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](7,2,"ROOT.Workout Details")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.error_message)}}function EC(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",10),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).save()}),i["\u0275\u0275elementStart"](1,"span",11),i["\u0275\u0275text"](2,"save"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function MC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"button",16),i["\u0275\u0275listener"]("click",function(e){return e.stopPropagation()}),i["\u0275\u0275elementStart"](1,"mat-icon"),i["\u0275\u0275text"](2,"more_vert"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){i["\u0275\u0275nextContext"]();var n=i["\u0275\u0275reference"](3);i["\u0275\u0275property"]("matMenuTriggerFor",n)}}function IC(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,MC,3,1,"button",12),i["\u0275\u0275elementStart"](2,"mat-menu",13,14),i["\u0275\u0275elementStart"](4,"button",15),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.router.navigate(["/create_schedule"],{queryParams:{routineKey:e.routine.key}})}),i["\u0275\u0275elementStart"](5,"mat-icon"),i["\u0275\u0275text"](6,"event"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"span"),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"button",15),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).save()}),i["\u0275\u0275elementStart"](11,"mat-icon"),i["\u0275\u0275text"](12,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"span"),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routine),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,3,"ROOT.Schedule")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](15,5,"ROOT.Delete"))}}function PC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"button",16),i["\u0275\u0275listener"]("click",function(e){return e.stopPropagation()}),i["\u0275\u0275elementStart"](1,"mat-icon"),i["\u0275\u0275text"](2,"more_vert"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){i["\u0275\u0275nextContext"]();var n=i["\u0275\u0275reference"](3);i["\u0275\u0275property"]("matMenuTriggerFor",n)}}var TC=function(e){return{color:e}};function DC(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",18),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"](3);return t.shareRoutine(t.routine),e.stopPropagation()}),i["\u0275\u0275elementStart"](1,"mat-icon",19),i["\u0275\u0275text"](2,"share"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",20),i["\u0275\u0275text"](4,"Share"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"span",20),i["\u0275\u0275text"](6,"Shared"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("disabled",0==r.routine.sharable),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,TC,0==r.routine.sharable?"#3FAE48":"#b2b2b2")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!r.routine.sharable),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",r.routine.sharable)}}function LC(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,PC,3,1,"button",12),i["\u0275\u0275elementStart"](2,"mat-menu",13,14),i["\u0275\u0275template"](4,DC,7,6,"button",17),i["\u0275\u0275elementStart"](5,"button",15),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.router.navigate(["/create_schedule"],{queryParams:{routineKey:e.routine.key}})}),i["\u0275\u0275elementStart"](6,"mat-icon"),i["\u0275\u0275text"](7,"event"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"span"),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"button",15),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.router.navigate(["/myroutines",e.routine.id])}),i["\u0275\u0275elementStart"](12,"mat-icon"),i["\u0275\u0275text"](13,"edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"span"),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"button",15),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.router.navigate(["/myroutines",e.routine.id],{queryParams:{duplicate:!0}})}),i["\u0275\u0275elementStart"](18,"mat-icon"),i["\u0275\u0275text"](19,"content_copy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"span"),i["\u0275\u0275text"](21),i["\u0275\u0275pipe"](22,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"button",15),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).deleteRoutine()}),i["\u0275\u0275elementStart"](24,"mat-icon"),i["\u0275\u0275text"](25,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"span"),i["\u0275\u0275text"](27),i["\u0275\u0275pipe"](28,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routine),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.routine&&!r.routine.hasSong&&r.isStarTrainer),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](10,6,"ROOT.Schedule")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](16,8,"ROOT.Edit")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](22,10,"ROOT.Duplicate")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](28,12,"ROOT.Delete"))}}function RC(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",4),i["\u0275\u0275template"](1,EC,3,0,"button",9),i["\u0275\u0275template"](2,IC,16,7,"div",1),i["\u0275\u0275template"](3,LC,29,14,"div",1),i["\u0275\u0275elementStart"](4,"a",5),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().navigateBack()}),i["\u0275\u0275element"](5,"img",6),i["\u0275\u0275elementStart"](6,"strong"),i["\u0275\u0275elementStart"](7,"h4",7),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routine&&!r.saved&&!r.routine.isAssessment&&"RoutineShare"==r.routine.model),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.saved&&"RoutineShare"==r.routine.model),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","RoutineH"==r.routine.model),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,4,"ROOT.Workout Details"))}}function jC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.error_message)}}function AC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",40),i["\u0275\u0275element"](1,"img",41),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"secondsToHrsMin"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,1,n.routine.durationDisplay)," ")}}function FC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"h3",45),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"milesToKm"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind3"](2,1,n.routine.totalDistance,!0,1)," km")}}function BC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"h3",45),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.routine.totalDistance,"1.0-2")," mi")}}function zC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",43),i["\u0275\u0275template"](2,FC,3,5,"h3",44),i["\u0275\u0275template"](3,BC,3,4,"h3",44),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","Metric"==n.metric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Imperial"==n.metric)}}function NC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",42),i["\u0275\u0275template"](1,zC,4,2,"div",1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0!=n.routine.totalDistance)}}function HC(e,t){if(1&e&&i["\u0275\u0275element"](0,"app-like",46),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("recordKey",n.routine.key)("showCount",!1)}}function VC(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-icon",49),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).favorite()}),i["\u0275\u0275text"](1,"star_border "),i["\u0275\u0275elementEnd"]()}}function YC(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-icon",50),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).favorite()}),i["\u0275\u0275text"](1,"star"),i["\u0275\u0275elementEnd"]()}}function WC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,VC,2,0,"mat-icon",47),i["\u0275\u0275template"](2,YC,2,0,"mat-icon",48),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.saved&&!n.favorited),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.saved&&n.favorited)}}function GC(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",54),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/seo/map_only?key=",n.routine.ghostWorkout,"&size=320,240",i["\u0275\u0275sanitizeUrl"])}}function UC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,GC,1,1,"img",52),i["\u0275\u0275element"](2,"img",53),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.routine.ghostWorkout),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate2"]("src","https://my.fitdigits.com/api/v2/seo/routine_graph?key=",n.routine.key,"&size=64,48&cache=",n.imageCache,"",i["\u0275\u0275sanitizeUrl"])}}function qC(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",54),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275propertyInterpolate2"]("src","https://my.fitdigits.com/api/v2/seo/routine_graph?key=",n.routine.key,"&size=320,240&cache=",n.imageCache,"",i["\u0275\u0275sanitizeUrl"])}}function ZC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",51),i["\u0275\u0275template"](1,UC,3,3,"div",1),i["\u0275\u0275template"](2,qC,1,2,"img",52),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.routine.ghostWorkout),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.routine.ghostWorkout)}}function $C(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",55),i["\u0275\u0275elementStart"](1,"div",56),i["\u0275\u0275element"](2,"iframe",57),i["\u0275\u0275pipe"](3,"safe"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("src",i["\u0275\u0275pipeBind2"](3,1,"https://www.youtube.com/embed/"+n.routine.videoDetails.id+"?&origin=https://my.fitdigits.com","url"),i["\u0275\u0275sanitizeResourceUrl"])}}function XC(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",58),i["\u0275\u0275elementStart"](1,"vg-player"),i["\u0275\u0275elementStart"](2,"vg-player"),i["\u0275\u0275elementStart"](3,"vg-overlay-play"),i["\u0275\u0275element"](4,"img",54),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"vg-buffering"),i["\u0275\u0275elementStart"](6,"vg-controls"),i["\u0275\u0275element"](7,"vg-play-pause"),i["\u0275\u0275element"](8,"vg-time-display",59),i["\u0275\u0275elementStart"](9,"vg-scrub-bar"),i["\u0275\u0275element"](10,"vg-scrub-bar-current-time"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](11,"vg-time-display",60),i["\u0275\u0275element"](12,"vg-mute"),i["\u0275\u0275element"](13,"vg-volume"),i["\u0275\u0275element"](14,"vg-fullscreen"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"video",61,62),i["\u0275\u0275element"](17,"source",63),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275reference"](16),r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate"]("src",r.routine.videoDetails.thumbnailURL,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](11),i["\u0275\u0275property"]("vgMedia",n),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("src",r.routine.videoDetails.id,i["\u0275\u0275sanitizeUrl"])}}function KC(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"img",64),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).startRoutineHook()}),i["\u0275\u0275elementEnd"]()}}function JC(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",65),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"uppercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,i["\u0275\u0275pipeBind1"](3,3,"ROOT.deleted")),""))}function QC(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"highcharts-chart",71),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).chartsUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("Highcharts",r.Highcharts)("options",r.routine.graph)("update",r.chartsUpdated)("oneToOne",!0)}}function ek(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",66),i["\u0275\u0275elementStart"](1,"div",67),i["\u0275\u0275template"](2,QC,1,4,"highcharts-chart",68),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275elementStart"](4,"a",69),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p",70),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.routine.hasVideo),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](n.routine.videoDetails.author),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.routine.videoDetails.description)}}function tk(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"highcharts-chart",71),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).chartsUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("Highcharts",r.Highcharts)("options",r.routine.graph)("update",r.chartsUpdated)("oneToOne",!0)}}function nk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",91),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" \u2022 ",n.routine.totalRepeats," ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Repeats")," ")}}function ik(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"h3",95),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"milesToKm"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind3"](2,1,n.routine.totalDistance,!0,1)," km")}}function rk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"h3",95),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.routine.totalDistance,"1.0-2")," mi")}}function ak(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",92),i["\u0275\u0275elementStart"](1,"h3",45),i["\u0275\u0275element"](2,"img",41),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"secondsToHrsMin"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"img",93),i["\u0275\u0275template"](6,ik,3,5,"h3",94),i["\u0275\u0275template"](7,rk,3,4,"h3",94),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,3,n.routine.durationDisplay)," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","Metric"==n.metric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Imperial"==n.metric)}}function ok(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p",113),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.notes)}}function sk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",n.repeats," ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Repeats")," ")}}function lk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"li",109),i["\u0275\u0275elementStart"](1,"div",110),i["\u0275\u0275elementStart"](2,"p",111),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,ok,2,1,"p",112),i["\u0275\u0275template"](6,sk,3,4,"p",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2),r=n.index,a=n.$implicit;i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](4,4,"ROOT.Series")," ",r+1,""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",a.notes),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.repeats>1)}}function ck(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"hoursToHMS"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ~ ",i["\u0275\u0275pipeBind1"](2,1,n.estTime)," ")}}function dk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"secondsToHMS"),i["\u0275\u0275elementStart"](3,"mat-icon",114),i["\u0275\u0275text"](4,"lock"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,n.duration)," ")}}function uk(e,t){1&e&&i["\u0275\u0275element"](0,"img",115)}function pk(e,t){1&e&&i["\u0275\u0275element"](0,"img",116)}function hk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Zone")," ",n.zoneRef[0].zonePos+1," ")}}function mk(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Open Zone")," "))}function gk(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Above Zone")," 5 "))}function fk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",117),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"uppercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275pipe"](4,"milesToKm"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate3"](" ",i["\u0275\u0275pipeBind1"](2,3,i["\u0275\u0275pipeBind1"](3,5,"ROOT.avg"))," ",i["\u0275\u0275pipeBind3"](4,7,n.speedAvg,r.AccountService.account.isMetric(),2)," ",r.AccountService.account.isMetric()?" kph":" mph"," ")}}function vk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",117),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"uppercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275pipe"](4,"secondsToHMSNoZero"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate3"](" ",i["\u0275\u0275pipeBind1"](2,3,i["\u0275\u0275pipeBind1"](3,5,"ROOT.avg"))," ",i["\u0275\u0275pipeBind1"](4,7,60*n.paceAvg)," ",r.AccountService.account.isMetric()?" / km":" / mi"," ")}}function yk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ~ ",i["\u0275\u0275pipeBind2"](2,1,n.estDistance,"1.2-2")," ")}}function bk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"milesToKm"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind3"](2,1,n.duration,!0,2))}}function xk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](2,1,n.duration,"1.2-2"))}}function _k(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,bk,3,5,"span",1),i["\u0275\u0275template"](2,xk,3,4,"span",1),i["\u0275\u0275elementStart"](3,"mat-icon",114),i["\u0275\u0275text"](4,"lock"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Metric"==n.metric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Imperial"==n.metric)}}function wk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p",118),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.desc)}}function Sk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"ul",98),i["\u0275\u0275template"](1,lk,7,6,"li",99),i["\u0275\u0275elementStart"](2,"li",100),i["\u0275\u0275elementStart"](3,"span"),i["\u0275\u0275elementStart"](4,"div",101),i["\u0275\u0275template"](5,ck,3,3,"span",1),i["\u0275\u0275element"](6,"img",102),i["\u0275\u0275template"](7,dk,5,3,"span",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div"),i["\u0275\u0275template"](9,uk,1,0,"img",103),i["\u0275\u0275elementStart"](10,"div",95),i["\u0275\u0275template"](11,pk,1,0,"img",104),i["\u0275\u0275template"](12,hk,3,4,"span",1),i["\u0275\u0275template"](13,mk,3,3,"span",1),i["\u0275\u0275template"](14,gk,3,3,"span",1),i["\u0275\u0275element"](15,"br"),i["\u0275\u0275template"](16,fk,5,11,"span",105),i["\u0275\u0275template"](17,vk,5,9,"span",105),i["\u0275\u0275element"](18,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div",106),i["\u0275\u0275element"](20,"img",107),i["\u0275\u0275template"](21,yk,3,4,"span",1),i["\u0275\u0275template"](22,_k,5,2,"span",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](23,wk,2,1,"p",108),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=t.index,a=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==r),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",2==n.durationUnits),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==n.durationUnits),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==n.zoneRef[0].type),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",2==n.zoneRef[0].type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.zoneRef[0].zonePos>=0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.zoneRef[0].zonePos<0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",5==n.zoneRef[0].zonePos),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",a.routine.speedBased),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!a.routine.speedBased),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",1==n.durationUnits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",2==n.durationUnits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.desc)}}function Ck(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"ul",96),i["\u0275\u0275template"](1,Sk,24,13,"ul",97),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.intervalDef)}}function kk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",66),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275elementStart"](2,"a",69),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](n.routine.videoDetails.author),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.routine.videoDetails.description)}}function Ok(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("Brand: ",n.routine.brand,"")}}function Ek(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",123),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275propertyInterpolate2"]("src","https://storage.googleapis.com/image_manager/profile_image/",n.routine.creatorProfile.account,"/",n.routine.creatorProfile.image_filename,"",i["\u0275\u0275sanitizeUrl"])}}function Mk(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",124),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/group_member_photo/",n.routine.creatorProfile.account,"",i["\u0275\u0275sanitizeUrl"])}}function Ik(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",119),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).navigateToSharer()}),i["\u0275\u0275template"](1,Ek,1,2,"img",120),i["\u0275\u0275template"](2,Mk,1,1,"img",121),i["\u0275\u0275elementStart"](3,"p",122),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routine.creatorProfile.has_image),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.routine.creatorProfile.has_image),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.routine.creatorProfile.name)}}function Pk(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",106),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Shared: Public")))}function Tk(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Auto Recovery")))}function Dk(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Auto End")))}function Lk(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",125),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).deleteRoutine()}),i["\u0275\u0275elementStart"](1,"i",11),i["\u0275\u0275text"](2,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&i["\u0275\u0275property"]("color","warn")}function Rk(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",126),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).save()}),i["\u0275\u0275elementStart"](1,"i",11),i["\u0275\u0275text"](2,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function jk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",127),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT."+n))}}function Ak(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-accordion"),i["\u0275\u0275elementStart"](1,"mat-expansion-panel",72),i["\u0275\u0275listener"]("opened",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).panelOpenState=!0})("closed",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).panelOpenState=!1}),i["\u0275\u0275elementStart"](2,"mat-expansion-panel-header",73),i["\u0275\u0275elementStart"](3,"mat-panel-title"),i["\u0275\u0275elementStart"](4,"div"),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"uppercase"),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-panel-description"),i["\u0275\u0275text"](9," \xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div"),i["\u0275\u0275elementStart"](11,"div",74),i["\u0275\u0275elementStart"](12,"div",75),i["\u0275\u0275elementStart"](13,"div",76),i["\u0275\u0275template"](14,tk,1,4,"highcharts-chart",68),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"p",77),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275template"](18,nk,3,4,"span",78),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](19,ak,8,5,"div",79),i["\u0275\u0275template"](20,Ck,2,1,"ul",80),i["\u0275\u0275element"](21,"div",81),i["\u0275\u0275template"](22,kk,6,2,"div",36),i["\u0275\u0275template"](23,Ok,2,1,"p",1),i["\u0275\u0275elementStart"](24,"div",82),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.navigateToZones(e.routine)}),i["\u0275\u0275text"](25),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](26,Ik,5,3,"div",83),i["\u0275\u0275template"](27,Pk,3,3,"div",84),i["\u0275\u0275element"](28,"div",85),i["\u0275\u0275template"](29,Tk,3,3,"p",1),i["\u0275\u0275template"](30,Dk,3,3,"p",1),i["\u0275\u0275elementStart"](31,"p",86),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"translate"),i["\u0275\u0275pipe"](34,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"div",87),i["\u0275\u0275template"](36,Lk,3,1,"button",88),i["\u0275\u0275template"](37,Rk,3,0,"button",89),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](38,"div",29),i["\u0275\u0275elementStart"](39,"div"),i["\u0275\u0275text"](40),i["\u0275\u0275pipe"](41,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](42,jk,3,3,"div",90),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("expanded",!0),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,21,i["\u0275\u0275pipeBind1"](7,23,"ROOT.Details"))," "),i["\u0275\u0275advance"](9),i["\u0275\u0275property"]("ngIf",r.routine.ghostWorkout),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"](" ",r.routine.routineDef.segmentDef.length," ",i["\u0275\u0275pipeBind1"](17,25,"ROOT.Series")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.routine.totalRepeats>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0!=r.routine.durationDisplay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.routine.routineDef.segmentDef),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.routine.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routine.brand&&r.isStarTrainer),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.routine.zoneset.name),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.ThemeService.isDevMode&&r.routine&&"RoutineShare"==r.routine.model),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routine.shared),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.autoRecovery),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.autoEnd),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](33,27,"ROOT.Created")," ",i["\u0275\u0275pipeBind2"](34,29,r.routine.creationDate,"short"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.showDelete),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.saved&&"RoutineShare"==r.routine.model),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](41,32,"ROOT.Categories")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",r.routine.categories)}}function Fk(e,t){if(1&e&&i["\u0275\u0275element"](0,"app-completed-routines",128),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("routine",n.routine)}}function Bk(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"Star Trainer"),i["\u0275\u0275elementEnd"]())}function zk(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"Not Trainer / TBD"),i["\u0275\u0275elementEnd"]())}function Nk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",129),i["\u0275\u0275text"](1," Routine Key: "),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275elementStart"](3,"span",130),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"br"),i["\u0275\u0275text"](6),i["\u0275\u0275element"](7,"br"),i["\u0275\u0275text"](8),i["\u0275\u0275element"](9,"br"),i["\u0275\u0275text"](10),i["\u0275\u0275element"](11,"br"),i["\u0275\u0275text"](12),i["\u0275\u0275element"](13,"br"),i["\u0275\u0275text"](14),i["\u0275\u0275element"](15,"br"),i["\u0275\u0275text"](16," Member Level: "),i["\u0275\u0275template"](17,Bk,2,0,"span",1),i["\u0275\u0275template"](18,zk,2,0,"span",1),i["\u0275\u0275element"](19,"br"),i["\u0275\u0275text"](20),i["\u0275\u0275element"](21,"br"),i["\u0275\u0275text"](22),i["\u0275\u0275element"](23,"br"),i["\u0275\u0275text"](24),i["\u0275\u0275element"](25,"br"),i["\u0275\u0275text"](26),i["\u0275\u0275element"](27,"br"),i["\u0275\u0275text"](28),i["\u0275\u0275element"](29,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](n.routine.key),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" Routine HHC: ",n.routine.hhc," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" Routine ID: ",n.routine.id,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" Model: ",n.routine.model,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" Saved: ",n.saved,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" Favorite: ",n.favorited,""),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.isStarTrainer),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isStarTrainer),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" Ghost: ",n.routine.ghostWorkout,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" hasVideo: ",n.routine.hasVideo,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" videoType: ",n.routine.videoDetails.videoType,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" Creator Account: ",n.routine.creator,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" Unit of Measure: ",n.routine.unitOfMeasure," ")}}function Hk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275template"](1,AC,4,3,"div",23),i["\u0275\u0275template"](2,NC,2,1,"div",24),i["\u0275\u0275elementStart"](3,"h2",25),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,HC,1,2,"app-like",26),i["\u0275\u0275template"](6,WC,3,2,"div",1),i["\u0275\u0275elementStart"](7,"div",27),i["\u0275\u0275template"](8,ZC,3,2,"div",28),i["\u0275\u0275elementStart"](9,"div"),i["\u0275\u0275elementStart"](10,"div",29),i["\u0275\u0275template"](11,$C,4,4,"div",30),i["\u0275\u0275template"](12,XC,18,3,"div",31),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](13,KC,1,0,"img",32),i["\u0275\u0275elementStart"](14,"div",33),i["\u0275\u0275elementStart"](15,"div",34),i["\u0275\u0275text"](16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](17,JC,4,5,"div",35),i["\u0275\u0275template"](18,ek,8,3,"div",36),i["\u0275\u0275template"](19,Ak,43,34,"mat-accordion",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](20,Fk,1,1,"app-completed-routines",37),i["\u0275\u0275element"](21,"div",38),i["\u0275\u0275template"](22,Nk,30,13,"div",39),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0!=n.routine.durationDisplay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isIndoor),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.routine.name),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.routine.is_deleted),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.routine.is_deleted),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.routine.hasVideo),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.routine.hasVideo&&"youtube"==n.routine.videoDetails.videoType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.routine.hasVideo&&"direct_url"==n.routine.videoDetails.videoType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ThemeService.isMobileEmbedded&&"ios"!=n.ThemeService.clientType),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](n.routine.description),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.routine.is_deleted),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.routine.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.routine.is_deleted),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.routine.is_deleted),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.ThemeService.isDevMode)}}function Vk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275template"](1,jC,3,1,"div",21),i["\u0275\u0275template"](2,Hk,23,15,"div",21),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.error_message),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.error_message)}}var Yk=function(){function e(e,t,n,i,r,a,o,s,l,c,d,u,p,h,m){this.route=e,this.snackBar=t,this.PermissionsService=n,this.router=i,this.dialog=r,this.AccountService=a,this.RoutinesService=o,this.floatToPace=s,this.SocialService=l,this.ZoneService=c,this.window=d,this.translate=u,this.WorkoutTypes=p,this.ThemeService=h,this.WorkoutsService=m,this.showLoadingOverlay=!0,this.Highcharts=re,this.imageCache=!0,this.panelOpenState=!1,this.showDelete=!1,this.metric="Imperial",this.isStarTrainer=!1,this.liked=!1,this.favorited=!1,this.saved=!1,this.isAssessment=!1,this.embed=!0,this.autoEnd=!1,this.autoRecovery=!1}return e.prototype.addRoutine=function(e){var t=this;e.downloaded=!0,this.showLoadingOverlay=!0,this.RoutinesService.downloadRoutine(e.key).subscribe(function(e){t.showLoadingOverlay=!1})},e.prototype.ngOnInit=function(){var e=this;console.log("metric "+this.metric),1==this.AccountService.account.isMetric()&&(this.metric="Metric"),console.log("metric "+this.metric);var t=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});this.navFrom=t.get("navFrom"),this.imageCache=null==t.get("imageCache");var n=_(this.AccountService.account.birthDate),i=_().diff(n,"years");this.baseZoneset=Object(x.f)(i),this.zone=new x.d(this.baseZoneset,null),this.panelOpenState=!1,this.isStarTrainer=this.PermissionsService.starTrainerAccess,this.routineId=this.route.snapshot.paramMap.get("routineHhc");var r=null,a="RoutineShare";isNaN(Number(this.routineId))&&this.router.url.includes("/myroutines")?(a=null,r=this.routineId,this.routineId=null):this.router.url.includes("/myroutines")&&(a="RoutineH"),this.RoutinesService.routineDetails(this.routineId,a,r).subscribe(function(t){var n,i,r=e.AccountService.account.isMetric();if(console.log("metric "+r),t.response.error)e.error_message=t.response.error,e.showLoadingOverlay=!1;else{if(e.routine=new Yn.a(t.response,r,a,e),e.routine.creator==e.AccountService.account.accountId&&(e.showDelete=!0),e.routine.routineDef.triggers)try{for(var o=Object(te.__values)(e.routine.routineDef.triggers),s=o.next();!s.done;s=o.next()){var l=s.value;console.log(l.actionType),3==l.actionType&&23==l.eventType&&(e.autoEnd=!0),2==l.actionType&&23==l.eventType&&(e.autoRecovery=!0)}}catch(c){n={error:c}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}e.isIndoor=e.WorkoutTypes.getWorkoutTypeIndoor(e.routine.workoutType),console.log(e.isIndoor),e.routine.graph=e.plotRoutineChart(),e.chartsUpdated=!0,e.showLoadingOverlay=!1,e.SocialService.getLikeStatus(e.routine.key,!0).subscribe(function(t){e.favorited=t.response.has_liked}),e.SocialService.getLikeStatus(e.routine.key,null,!0).subscribe(function(t){e.saved=!!e.router.url.includes("/myroutines")||t.response.has_liked})}})},e.prototype.navigateBackNoRoutine=function(){this.router.navigate(["/myroutines"])},e.prototype.navigateBack=function(){this.navFrom?this.router.navigate(["/"+this.navFrom]):"RoutineH"!=this.routine.model||this.routine.hasVideo?"RoutineH"==this.routine.model&&this.routine.hasVideo?this.router.navigate(["/youtube"]):"RoutineShare"==this.routine.model&&this.routine.hasVideo?this.router.navigate(["/routines_search"],{queryParams:{showyoutube:"true"}}):"RoutineShare"==this.routine.model&&this.router.navigate(["/routines_search"]):this.router.navigate(["/myroutines"])},e.prototype.shareRoutine=function(e){this.router.navigate(["/myroutines",e.id,"share"])},e.prototype.startRoutineHook=function(){startRoutine()},e.prototype.navigateToSharer=function(){this.routine.creatorProfile.custom_uri&&this.router.navigate(["/member",this.routine.creatorProfile.custom_uri])},e.prototype.navigateToZones=function(e){var t="speed";e.zoneset instanceof x.a&&(t="pace"),this.router.navigate(["/zones"],{queryParams:{zonetype:t}})},e.prototype.favorite=function(){this.favorited=!this.favorited;var e="Removed from Favorites";this.favorited?(e="Saved to Favorites",this.SocialService.setLike(this.routine.key,!0).subscribe(function(e){})):this.SocialService.unsetLike(this.routine.key,!0).subscribe(function(e){}),this.snackBar.open(e,null,{duration:3e3,horizontalPosition:"center",panelClass:"snackClipboard"})},e.prototype.save=function(){if(this.PermissionsService.starAccess){this.saved=!this.saved;var e="Removed from Saved Routines";this.saved?(e="Saved to Routines",this.SocialService.setLike(this.routine.key,!1,!0).subscribe(function(e){})):this.SocialService.unsetSaved(this.routine.key).subscribe(function(e){}),this.snackBar.open(e,null,{duration:3e3,horizontalPosition:"center",panelClass:"snackClipboard"})}else this.dialog.open(W_.a,{data:{type:"star_required",text:this.translate.instant("ROOT.Routes & Routines are a Premium Star Membership Feature."),learnMore:"https://my.fitdigits.com/routes"},maxWidth:"200vw",maxHeight:"100vh"})},e.prototype.deleteRoutine=function(){var e=this;this.dialog.open(IS,{data:this.routine,maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(t){!0===t&&("RoutineH"==e.routine.model?e.RoutinesService.uploadRoutine(e.routine.toUploadDict("D")).subscribe(function(t){e.router.navigate(["/myroutines"])}):"RoutineShare"==e.routine.model&&e.RoutinesService.deleteSharedRoutine(e.routine.key).subscribe(function(t){e.router.navigate(["/routines_search"])}))})},e.prototype.plotRoutineChart=function(){for(var e=[],t=0;t<this.routine.routineDef.segmentDef.length;t++)for(var n=Number(this.routine.routineDef.segmentDef[t].repeats),i=0;i<n;i++)for(var r=0;r<this.routine.routineDef.segmentDef[t].intervalDef.length;r++)e.push(this.routine.routineDef.segmentDef[t].intervalDef[r]);var a=this.zone.zoneHigh,o=this.zone.zoneLow,s=B.i.FITDIGITS,l=[],c=[],d=0,u=0;for(r=0;r<e.length;r++){var p=o[e[r].zoneRef[0].zonePos+1],h=a[e[r].zoneRef[0].zonePos+1];if(u+=e[r].duration,e[r].zoneRef[0].zonePos<0||e[r].zoneRef[0].zonePos>4);else{var m=[{x:d,y:p,id:"1"},{x:d,y:h,id:"2"},{x:u,y:h,id:"3"},{x:u,y:p,id:"4"}],g=s.zone[Number(e[r].zoneRef[0].zonePos+1)].tizColor;l.push(m),c.push(g)}d=u}for(var f={chart:{type:"spline",margin:[0,0,0,0],spacingTop:0},credits:{enabled:!1},title:{text:null},xAxis:{title:{},labels:{enabled:!0},minorTickLength:0,tickLength:0},yAxis:{title:{},labels:{enabled:!1,zIndex:999},endOnTick:!1,maxPadding:0,minorTickLength:0,tickLength:0,min:this.zone.zone0.bpmMax,max:this.zone.zone6.bpmMin,minorGridLineWidth:0,gridLineWidth:0,alternateGridColor:null,plotBands:[{from:this.zone.zone0.bpmMin,to:this.zone.zone1.bpmMin,color:s.zone[0].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone1.bpmMin),to:Number(this.zone.zone1.bpmMax),color:s.zone[1].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone2.bpmMin),to:Number(this.zone.zone2.bpmMax),color:s.zone[2].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone3.bpmMin),to:Number(this.zone.zone3.bpmMax),color:s.zone[3].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone4.bpmMin),to:Number(this.zone.zone4.bpmMax),color:s.zone[4].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone5.bpmMin),to:Number(this.zone.zone5.bpmMax),color:s.zone[5].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone6.bpmMin),to:Number(this.zone.zone6.bpmMin),color:s.zone[6].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}}]},plotOptions:{spline:{lineWidth:4,states:{hover:{lineWidth:5}},marker:{enabled:!1}}},legend:{enabled:!1},series:[{type:"line",data:[],color:"#FFFFFF",yAxis:0}],navigation:{menuItemStyle:{fontSize:"10px"}}},v=0;v<l.length;v++)f.series.push({name:"Target",type:"polygon",data:l[v],color:new re.Color(c[v]).setOpacity(1).get(),enableMouseTracking:!1});return f},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](ee.b),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](Yn.b),i["\u0275\u0275directiveInject"](B.B),i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](Y_.a),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](v.b))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-routine-search-detail"]],decls:4,vars:4,consts:[[1,"loading-overlay",3,"hidden"],[4,"ngIf"],["class","main-menu-section-heading",4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"main-menu-section-heading"],[3,"click"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],["mat-button","","style","float: right;margin-top: -6px;",3,"click",4,"ngIf"],["mat-button","",2,"float","right","margin-top","-6px",3,"click"],[1,"material-icons"],["mat-icon-button","","style","float:right; margin-top:-8px;","aria-label","Edit Duplicate Delete",3,"matMenuTriggerFor","click",4,"ngIf"],["yPosition","above",2,"z-index","10"],["menu","matMenu"],["mat-menu-item","",3,"click"],["mat-icon-button","","aria-label","Edit Duplicate Delete",2,"float","right","margin-top","-8px",3,"matMenuTriggerFor","click"],["mat-menu-item","",3,"disabled","click",4,"ngIf"],["mat-menu-item","",3,"disabled","click"],[3,"ngStyle"],[3,"hidden"],["class","routine-detail-container",4,"ngIf"],[1,"routine-detail-container"],["class","routine-time-distance",4,"ngIf"],["class","routine-distance-time",4,"ngIf"],[1,"routine-name"],["class","routine-like-off",3,"recordKey","showCount",4,"ngIf"],[1,"title-graph-container"],["class","detail-graph-container",4,"ngIf"],[2,"clear","both"],["style","text-align: center;","class","video-wrap",4,"ngIf"],["class","video-player-container-detail",4,"ngIf"],["class","routineStart","src","/static/img/icons/play-icon.png",3,"click",4,"ngIf"],[2,"width","100%","float","left","margin-bottom","40px"],[1,"routineDescription"],["class","routineDescription","style","color:red;font-size:26px; font-weight: bold; border:1px solid;",4,"ngIf"],["class","video-details",4,"ngIf"],[3,"routine",4,"ngIf"],[2,"clear","both","height","50px"],["style","width:100%; margin-bottom:40px; overflow: hidden;",4,"ngIf"],[1,"routine-time-distance"],["src","/static/img/icons/squareDurationIcon.png",1,"routine-time-distance-icon"],[1,"routine-distance-time"],["src","/static/img/icons/squareDistanceIcon.png",1,"routine-distance-icon"],["style","margin-top:0px;",4,"ngIf"],[2,"margin-top","0px"],[1,"routine-like-off",3,"recordKey","showCount"],["class","fav-button fav-star-off",3,"click",4,"ngIf"],["class","fav-button fav-star-on",3,"click",4,"ngIf"],[1,"fav-button","fav-star-off",3,"click"],[1,"fav-button","fav-star-on",3,"click"],[1,"detail-graph-container"],[3,"src",4,"ngIf"],[1,"smallRouteIcon",3,"src"],[3,"src"],[1,"video-wrap",2,"text-align","center"],[1,"iframe-wrap"],["frameborder","0",3,"src"],[1,"video-player-container-detail"],["vgProperty","current","vgFormat","mm:ss"],["vgProperty","left","vgFormat","mm:ss"],["id","singleVideo","preload","auto",3,"vgMedia"],["media",""],["type","video/mp4",3,"src"],["src","/static/img/icons/play-icon.png",1,"routineStart",3,"click"],[1,"routineDescription",2,"color","red","font-size","26px","font-weight","bold","border","1px solid"],[1,"video-details"],[1,"routine-small-hr-chart"],["style","float: right","class","routineGraph",3,"Highcharts","options","update","oneToOne","updateChange",4,"ngIf"],["href","#"],[1,"video-details-description"],[1,"routineGraph",2,"float","right",3,"Highcharts","options","update","oneToOne","updateChange"],[1,"panel-container",3,"expanded","opened","closed"],[1,"categoryHeader"],[1,"detail-overall-metrics"],[1,"structruedDetailTitles"],[1,"routine-small-hr-chart-detail"],[2,"clear","right","float","right"],["style","white-space: nowrap;",4,"ngIf"],["style","float:right;text-align: right;",4,"ngIf"],["class","seriesIntervals",4,"ngFor","ngForOf"],[2,"clear","both","height","10px","float","left","width","100%"],[1,"zonesetName",3,"click"],["class","routine-author",3,"click",4,"ngIf"],["style","float:right;",4,"ngIf"],[1,"clear-both"],[1,"float-left"],[1,"delete-button-container"],["mat-button","","style","margin-top:-8px; float:right;",3,"color","click",4,"ngIf"],["mat-button","","style","margin-top:-8px; float:right;",3,"click",4,"ngIf"],["class","categoryDisplay","style","float:left;",4,"ngFor","ngForOf"],[2,"white-space","nowrap"],[2,"float","right","text-align","right"],["src","/static/img/icons/squareDistanceIcon.png",1,"interval-detail-icons",2,"margin","3px 5px 0px 0px","float","left"],["style","margin-top:0px;float:left;",4,"ngIf"],[2,"margin-top","0px","float","left"],[1,"seriesIntervals"],["class","seriesContainer",4,"ngFor","ngForOf"],[1,"seriesContainer"],["class","routineDetailsTableCell routineSeriesHeader",4,"ngIf"],[1,"routineDetailsTableCell","routineDetailSection"],[2,"width","50%","float","left"],["src","/static/img/icons/squareDurationIcon.png",1,"interval-detail-icons"],["src","/static/img/heart-icon.png","class","interval-detail-icons",4,"ngIf"],["src","/static/img/activityicons/DFITRunnerIcon.png","class","interval-detail-icons",4,"ngIf"],["class","labelText","style","margin-left: -20px;",4,"ngIf"],[2,"float","right"],["src","/static/img/icons/squareDistanceIcon.png",1,"interval-detail-icons"],["class","interval-description",4,"ngIf"],[1,"routineDetailsTableCell","routineSeriesHeader"],[2,"float","left"],[2,"font-weight","bold"],["class","series-notes",4,"ngIf"],[1,"series-notes"],[2,"font-size","10px"],["src","/static/img/heart-icon.png",1,"interval-detail-icons"],["src","/static/img/activityicons/DFITRunnerIcon.png",1,"interval-detail-icons"],[1,"labelText",2,"margin-left","-20px"],[1,"interval-description"],[1,"routine-author",3,"click"],["width","32","height","32","class","floatleft","style","margin-right:10px; border-radius:10px;",3,"src",4,"ngIf"],["width","32","height","32","class","activityIconDetails floatleft",3,"src",4,"ngIf"],[2,"margin-top","6px"],["width","32","height","32",1,"floatleft",2,"margin-right","10px","border-radius","10px",3,"src"],["width","32","height","32",1,"activityIconDetails","floatleft",3,"src"],["mat-button","",2,"margin-top","-8px","float","right",3,"color","click"],["mat-button","",2,"margin-top","-8px","float","right",3,"click"],[1,"categoryDisplay",2,"float","left"],[3,"routine"],[2,"width","100%","margin-bottom","40px","overflow","hidden"],[2,"font-size","12px"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275template"](1,OC,9,4,"div",1),i["\u0275\u0275template"](2,RC,10,6,"div",2),i["\u0275\u0275template"](3,Vk,3,2,"div",3)),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.error_message),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded&&t.routine),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.routine))},directives:[y.NgIf,k.b,gt.a,gt.b,O.a,gt.d,y.NgStyle,PS.a,HS,WS,US,tC,oC,rC,aC,cC,sC,nC,lC,NS,si.a,Wo.a,Wo.c,Wo.f,Wo.g,Wo.e,y.NgForOf,SC],pipes:[M.c,B.hb,B.Q,y.DecimalPipe,B.h,y.UpperCasePipe,y.DatePipe,B.G,B.db,B.eb],styles:[".video-details[_ngcontent-%COMP%]{float:left;width:100%;clear:both;margin-top:20px}.video-player-container-detail[_ngcontent-%COMP%]{width:100%;max-height:45%;max-width:800px;margin:auto;display:block;clear:both}.smallRouteIcon[_ngcontent-%COMP%]{margin-left:-64px;margin-top:160px;width:64px;height:48px}.labelText[_ngcontent-%COMP%]{font-size:12px}@media (min-width:720px){.video-wrap[_ngcontent-%COMP%]{width:40%;margin:0 auto}}.iframe-wrap[_ngcontent-%COMP%]{position:relative;padding-bottom:56.25%;height:0}.iframe-wrap[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%}.showRoutineIntervals[_ngcontent-%COMP%]{float:left;width:100%;margin:0 30px 10px 0}.detail-graph-container[_ngcontent-%COMP%]{text-align:center;margin-top:auto;width:100%;z-index:10;float:left;clear:both}.detail-graph[_ngcontent-%COMP%]{float:right;width:320px;height:240px;display:block}.title-graph-container[_ngcontent-%COMP%]{margin:40px auto 5px}.line-spacer[_ngcontent-%COMP%]{clear:both;border-bottom:1px solid;margin:10px 0;float:left;width:100%}.video-details-description[_ngcontent-%COMP%]{max-height:130px;overflow:hidden}.routine-distance-time[_ngcontent-%COMP%]{float:right;width:160px;text-align:right}.routine-detail-container[_ngcontent-%COMP%]{float:left;margin-top:10px;width:100%}.routine-time-distance[_ngcontent-%COMP%]{text-align:left;margin:0 0 10px}.routine-time-distance[_ngcontent-%COMP%], .routine-time-distance-detail[_ngcontent-%COMP%]{float:left;font-size:24px;font-weight:400}.fav-button[_ngcontent-%COMP%]{float:left;cursor:pointer}h3[_ngcontent-%COMP%]{font-size:24px;font-weight:400}.routine-author[_ngcontent-%COMP%]{clear:both;width:100%;cursor:pointer;float:left}.detail-overall-metrics[_ngcontent-%COMP%]{float:left;width:100%;border-bottom:1px solid;margin-bottom:10px}.routine-time-distance-icon[_ngcontent-%COMP%]{width:20px;margin:-3px 0 0}.routine-distance-icon[_ngcontent-%COMP%]{width:20px;margin:4px 0 0 10px;float:right}.routine-workout-type-icon[_ngcontent-%COMP%]{width:40px;float:right;z-index:10;left:unset;top:unset}.routine-icon[_ngcontent-%COMP%]{margin:-60px 0 0 -140px}.route-icon[_ngcontent-%COMP%]{margin:-50px 0 0;left:-260px}.youtube-icon[_ngcontent-%COMP%]{margin:-80px 0 0 20px;float:left;left:unset;top:unset}.interval-description[_ngcontent-%COMP%], .interval-notes[_ngcontent-%COMP%]{clear:both;margin-left:24px;font-size:14px}.routine-name[_ngcontent-%COMP%]{text-align:center;margin:20px;clear:both}.seriesRepeats[_ngcontent-%COMP%]{text-align:left;width:100%;float:left}.interval-detail-icons[_ngcontent-%COMP%]{width:20px;margin:3px 5px 0 0;float:left}.seriesIntervals[_ngcontent-%COMP%]{animation-delay:3.5s;padding-inline-start:0;list-style-type:none}.routine-small-hr-chart[_ngcontent-%COMP%]{margin:0 0 20px 20px;float:right;margin:0}.routineDetailSection[_ngcontent-%COMP%]{padding:20px;background-color:rgba(226,227,228,.2);font-size:18px}.routineDetailSection[_ngcontent-%COMP%], .routineSeriesHeader[_ngcontent-%COMP%]{border-bottom:1px solid;float:left;width:100%}.routineSeriesHeader[_ngcontent-%COMP%]{margin:30px 0 0;padding-bottom:10px}.zonesetName[_ngcontent-%COMP%]{float:right;cursor:pointer}.showStructuredDetail[_ngcontent-%COMP%]{float:left!important;text-align:left!important;margin-top:5px}.routineDescription[_ngcontent-%COMP%]{margin:20px 0;clear:both;font-size:16px;text-align:center}.routineStart[_ngcontent-%COMP%]{display:flex;height:90px;margin:-35px auto 0;z-index:1;position:relative}.fav-star-off[_ngcontent-%COMP%]{font-size:30px;color:#b2b2b2}.fav-star-on[_ngcontent-%COMP%]{font-size:30px;color:#fcb424}.routine-like-off[_ngcontent-%COMP%]{color:#b2b2b2;margin:-7px 0 8px;float:right}.panel-container[_ngcontent-%COMP%]{clear:both}.delete-button-container[_ngcontent-%COMP%]{float:right;text-align:right;margin-top:10px;clear:right}.series-notes[_ngcontent-%COMP%]{font-weight:400;font-size:18px}@media(max-width:767px){.routine-name[_ngcontent-%COMP%]{margin:50px 0 10px;text-align:center}.routine-time-distance[_ngcontent-%COMP%]{text-align:center;margin:0 0 10px}.fav-button[_ngcontent-%COMP%]{margin-left:0}.detail-graph[_ngcontent-%COMP%]{margin:auto;float:unset;width:320px;height:240px}.routine-workout-type-icon[_ngcontent-%COMP%]{float:left;position:absolute;z-index:10}.youtube-icon[_ngcontent-%COMP%]{margin:-80px 0 0 20px;position:relative;float:left;left:unset;top:unset}}@media(max-width:440px){.routine-detail-container[_ngcontent-%COMP%]{margin-top:20px;padding:0}}",".routineTable[_ngcontent-%COMP%]{border:none;float:left;margin-top:30px;margin-bottom:50px}.routineTable[_ngcontent-%COMP%], .th-health[_ngcontent-%COMP%]{font-family:Helvetica neue,Helvetica,sans-serif!important}.th-health[_ngcontent-%COMP%]{padding:8px!important;font-size:18px;font-weight:400!important;border:none!important}.routineSelectors[_ngcontent-%COMP%]{margin-left:0;display:flex;flex-wrap:wrap;margin-top:0;float:left;width:100%}.structuredDetails[_ngcontent-%COMP%]{border-top:none}.thumbnailContainer[_ngcontent-%COMP%]{border:none!important;padding:0 0 10px 10px;visibility:visible}.seriesRepeats[_ngcontent-%COMP%]{margin:10px 0;clear:both;float:left;width:100%;border:1px solid #b2b2b2;border-radius:5px;padding:10px}.showStructuredDetail[_ngcontent-%COMP%]{color:#4597cb;cursor:pointer;font-weight:400;width:100%;text-align:right;float:right;width:80px;padding:10px 0}.categoryDisplay[_ngcontent-%COMP%]{border:1px solid #b2b2b2;padding:3px;float:left;margin-right:5px}.structruedDetailTitles[_ngcontent-%COMP%]{font-weight:400;font-size:14px;float:right;width:100%;text-align:right;max-width:45%}.seriesContainer[_ngcontent-%COMP%]{padding-inline-start:0;list-style-type:none}.search-selection[_ngcontent-%COMP%]{margin:0 10px 0 0}.videoShareButton[_ngcontent-%COMP%]{background:none;border:none;float:right;position:absolute;z-index:999999;bottom:48px;right:0}.videoButtons[_ngcontent-%COMP%]{clear:both;float:left;width:100%;margin-top:-10px;margin-bottom:20px}.routineTableDiv[_ngcontent-%COMP%]{margin-top:20px;clear:both}.routineViewOptions[_ngcontent-%COMP%]{margin-left:0;display:flex;flex-wrap:wrap;margin-bottom:25px;float:left;width:100%}.activityFilterOption[_ngcontent-%COMP%]{margin:10px 0 0;max-width:220px;clear:left;float:left}.noText[_ngcontent-%COMP%]{float:left}.searchSection[_ngcontent-%COMP%]{float:left;margin:0 0 10px -5px;border:0 solid}.searchSectionExpanded[_ngcontent-%COMP%]{min-width:240px}.routineSearchBox[_ngcontent-%COMP%]{height:35px;background-color:transparent;border-top:none;border-left:none;border-right:none;margin-bottom:20px;clear:left}.formType[_ngcontent-%COMP%]{clear:none;margin-right:10px}.carouselRow[_ngcontent-%COMP%]{z-index:0;height:210px}.durationIcon2[_ngcontent-%COMP%]{float:left;margin-right:3px}.noRoutines[_ngcontent-%COMP%]{width:100%;float:left;clear:both;margin:30px auto;text-align:center}.availableWorkouts[_ngcontent-%COMP%]{float:left;margin-top:6px;cursor:pointer}.actvityIcon[_ngcontent-%COMP%]{width:24px;margin-right:10px}.routineTitle[_ngcontent-%COMP%]{font-size:14px;font-family:Helvetica neue,Helvetica,sans-serif!important;font-weight:400}.routineTitleRow[_ngcontent-%COMP%]{vertical-align:baseline!important}.routineSeriesRepeats[_ngcontent-%COMP%]{float:right;margin-right:8px}.routineGraph[_ngcontent-%COMP%]{width:100px;height:75px;display:block}.distanceIcon[_ngcontent-%COMP%]{float:left;margin-right:3px}.routineGraphCarousel[_ngcontent-%COMP%]{width:200px;height:150px;display:block}.routineDescriptionText[_ngcontent-%COMP%]{margin-top:10px}.routineIntervals[_ngcontent-%COMP%]{clear:both;width:100%;float:left}.deleteBtn2[_ngcontent-%COMP%]{margin-top:-8px;float:right}.categoryHead[_ngcontent-%COMP%]{width:100%}.categoryName[_ngcontent-%COMP%]{text-align:right;min-width:100px}.metricLabel[_ngcontent-%COMP%]{font-size:14px}.durationHead[_ngcontent-%COMP%]{text-align:right;width:90px}.distanceHead[_ngcontent-%COMP%]{width:90px}.videoThumbnail[_ngcontent-%COMP%]{float:left;width:200px}.shareIcon[_ngcontent-%COMP%]{margin-top:0}.routineOptionsButton[_ngcontent-%COMP%]{float:right;clear:right;margin-top:20px}.video-player-container[_ngcontent-%COMP%]{position:relative;overflow:hidden;width:100%;padding-top:56.25%}.responsive-iframe[_ngcontent-%COMP%]{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;height:100%}.routineFilterButton[_ngcontent-%COMP%]{float:right;margin:10px 10px 0 -2px;clear:both;z-index:10}@media(max-width:767px){.setGoalHeaderTextMain[_ngcontent-%COMP%]{font-size:20px}.routineTitle[_ngcontent-%COMP%]{font-size:18px}.routineSelectors[_ngcontent-%COMP%]{margin-left:5px}}@media(max-width:520px){.backarrow[_ngcontent-%COMP%]{padding-left:0}.seriesRepeats[_ngcontent-%COMP%]{padding:20px 10px}}@media(max-width:320px){.noText[_ngcontent-%COMP%]{visibility:hidden;width:0;float:left}.activityFilterOption[_ngcontent-%COMP%]{max-width:150px}.searchSectionExpanded[_ngcontent-%COMP%]{min-width:auto;max-width:220px}}"]}),e}(),Wk=function(){function e(){}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-spinning-privacy-policy"]],decls:327,vars:0,consts:[[1,"mdaPrivacy"],["align","center",2,"padding-top","30px"],[1,"fitdigitsPrivacy"],[2,"clear","both","width","100%"],[1,"privacyHeader"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"h2",1),i["\u0275\u0275elementStart"](2,"strong"),i["\u0275\u0275text"](3,"MADDOGG ATHLETICS, INC."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](4," \xa0 "),i["\u0275\u0275elementStart"](5,"h2"),i["\u0275\u0275text"](6,"Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"h4"),i["\u0275\u0275text"](8,"What information do we collect?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10,"We collect information from you when you register on our site, place an order or subscribe to our newsletter."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275text"](12,"When ordering or registering on our site, as appropriate, you may be asked to enter your: name, e-mail address, mailing address, phone number or credit card information. You may, however, visit our site anonymously."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14,"Like most websites, we use cookies and/or web beacons to enhance your experience, gather general visitor information, and track visits to our website. Please refer to the 'do we use cookies?' section below for information about cookies and how we use them."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"h4"),i["\u0275\u0275text"](16,"What do we use your information for?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"p"),i["\u0275\u0275text"](18,"Any of the information we collect from you may be used in one of the following ways:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"ul"),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21,"To personalize your experience"),i["\u0275\u0275element"](22,"br"),i["\u0275\u0275text"](23,"(your information helps us to better respond to your individual needs)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275text"](25,"To improve our website"),i["\u0275\u0275element"](26,"br"),i["\u0275\u0275text"](27,"(we continually strive to improve our website offerings based on the information and feedback we receive from you)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275text"](29,"To improve customer service"),i["\u0275\u0275element"](30,"br"),i["\u0275\u0275text"](31,"(your information helps us to more effectively respond to your customer service requests and support needs)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"li"),i["\u0275\u0275text"](33,"To process transactions"),i["\u0275\u0275element"](34,"br"),i["\u0275\u0275text"](35,"Your information, whether public or private, will not be sold, exchanged, transferred, or given to any other company for any reason whatsoever, without your consent, other than for the express purpose of delivering the purchased product or service requested.\n"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"li"),i["\u0275\u0275text"](37,"To administer a contest, promotion, survey or other site feature"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"li"),i["\u0275\u0275text"](39,"To send periodic e-mails"),i["\u0275\u0275element"](40,"br"),i["\u0275\u0275text"](41,"The e-mail address you provide for order processing, may be used to send you information and updates pertaining to your order, in addition to receiving occasional company news, updates, related product or service information, etc.\nNote: If at any time you would like to unsubscribe from receiving future e-mails, we include detailed unsubscribe instructions at the bottom of each e-mail."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"h4"),i["\u0275\u0275text"](43,"How do we protect your information?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"p"),i["\u0275\u0275text"](45,"We implement a variety of security measures to maintain the safety of your personal information when you place an order or access your personal information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"p"),i["\u0275\u0275text"](47,"We offer the use of a secure server. All supplied sensitive/credit information is transmitted via Secure Socket Layer (SSL) technology and then encrypted into our Payment gateway providers database only to be accessible by those authorized with special access rights to such systems, and are required to keep the information confidential."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"p"),i["\u0275\u0275text"](49,"After a transaction, your private information (credit cards, social security numbers, financials, etc.) will not be stored on our servers."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"h4"),i["\u0275\u0275text"](51,"Do we use cookies?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"p"),i["\u0275\u0275text"](53,"Yes (Cookies are small files that a site or its service provider transfers to your computers hard drive through your Web browser (if you allow) that enables the sites or service providers systems to recognize your browser and capture and remember certain information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](54,"p"),i["\u0275\u0275text"](55,"We use cookies to help us remember and process the items in your shopping cart and understand and save your preferences for future visits."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"p"),i["\u0275\u0275text"](57,"If you prefer, you can choose to have your computer warn you each time a cookie is being sent, or you can choose to turn off all cookies via your browser settings. Like most websites, if you turn your cookies off, some of our services may not function properly. However, you can still place orders over the telephone or by contacting customer service."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](58,"h4"),i["\u0275\u0275text"](59,"Do we disclose any information to outside parties?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](60,"p"),i["\u0275\u0275text"](61,"We do not sell, trade, or otherwise transfer to outside parties your personally identifiable information. This does not include trusted third parties who assist us in operating our website, conducting our business, or servicing you, so long as those parties agree to keep this information confidential. We may also release your information when we believe release is appropriate to comply with the law, enforce our site policies, or protect ours or others rights, property, or safety. However, non-personally identifiable visitor information may be provided to other parties for marketing, advertising, or other uses."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](62,"h4"),i["\u0275\u0275text"](63,"Third party links"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](64,"p"),i["\u0275\u0275text"](65,"Occasionally, at our discretion, we may include or offer third party products or services on our website. These third party sites have separate and independent privacy policies. We therefore have no responsibility or liability for the content and activities of these linked sites. Nonetheless, we seek to protect the integrity of our site and welcome any feedback about these sites."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](66,"h4"),i["\u0275\u0275text"](67,"California Online Privacy Protection Act Compliance"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](68,"p"),i["\u0275\u0275text"](69,"Because we value your privacy we have taken the necessary precautions to be in compliance with the California Online Privacy Protection Act. We therefore will not distribute your personal information to outside parties without your consent."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](70,"p"),i["\u0275\u0275text"](71,"As part of the California Online Privacy Protection Act, all users of our site may make any changes to their information at anytime by logging into their account and going to the 'Account Info' tab."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"h4"),i["\u0275\u0275text"](73,"Childrens Online Privacy Protection Act Compliance"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](74,"p"),i["\u0275\u0275text"](75,"We are in compliance with the requirements of COPPA (Childrens Online Privacy Protection Act), we do not collect any information from anyone under 13 years of age. Our website, products and services are all directed to people who are at least 13 years old or older."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](76,"h4"),i["\u0275\u0275text"](77,"Changes to our Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](78,"p"),i["\u0275\u0275text"](79,"If we decide to change our privacy policy, we will post those changes on this page, and/or update the Privacy Policy modification date below."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](80,"p"),i["\u0275\u0275text"](81,"This policy was last modified on March 31, 2009"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](82,"h4"),i["\u0275\u0275text"](83,"Contacting Us"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](84,"p"),i["\u0275\u0275text"](85,"If there are any questions regarding this privacy policy you may contact us using the information below."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](86,"p"),i["\u0275\u0275text"](87,"http://www.maddogg.com"),i["\u0275\u0275element"](88,"br"),i["\u0275\u0275text"](89," 2111 Narcissus Ct."),i["\u0275\u0275element"](90,"br"),i["\u0275\u0275text"](91," Venice, CA 90291"),i["\u0275\u0275element"](92,"br"),i["\u0275\u0275text"](93," United States"),i["\u0275\u0275element"](94,"br"),i["\u0275\u0275text"](95," info@maddogg.com"),i["\u0275\u0275element"](96,"br"),i["\u0275\u0275text"](97," 800-847-7746"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](98,"hr"),i["\u0275\u0275elementStart"](99,"div",2),i["\u0275\u0275elementStart"](100,"h2",1),i["\u0275\u0275elementStart"](101,"strong"),i["\u0275\u0275text"](102,"FITDIGITS, INC."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](103,"div"),i["\u0275\u0275elementStart"](104,"h2"),i["\u0275\u0275text"](105,"Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](106,"h2"),i["\u0275\u0275text"](107,"Introduction"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](108,"p"),i["\u0275\u0275text"](109,"At Fitdigits, we respect your privacy. We want to maintain your confidence in our handling of any data and information that is collected during your use of our applications, web services and your visit to our web site. We have developed and provided this Privacy Policy to inform you of our practices and policies regarding the collection, use, maintenance, and disclosure of your personal data and information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](110,"p"),i["\u0275\u0275text"](111,"We are committed to providing you with adequate information so you can make an informed decision whether to use our applications, web services, visit our web site and whether you wish to voluntarily provide any personal data or information, e.g., your name, e-mail address, etc. Our Privacy Policy is described in the following sections. See also our Terms of Service for app and website usage policies."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](112,"p"),i["\u0275\u0275text"](113,"Fitdigits is headquartered in Ventura, California and our Platform and Services are provided to you by Fitdigits, Inc. If you are a resident of the European Economic Area (\u201cEEA\u201d), Fitdigits, Inc. is the controller of your personal data for the purposes of EEA data protection law."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](114,"p"),i["\u0275\u0275text"](115,"This policy was written in English. To the extent a translated version conflicts with the English version, the English version controls. Unless indicated otherwise, this Privacy Policy does not apply to third party products or services or the practices of companies that we do not own or control, including other companies you might interact with on or through the Services."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](116,"p"),i["\u0275\u0275text"](117,"Questions or comments about this Privacy Policy may be submitted by mail to the address below or via https://my.fitdigits.com. "),i["\u0275\u0275element"](118,"br"),i["\u0275\u0275element"](119,"br"),i["\u0275\u0275text"](120,"Fitdigits, Inc."),i["\u0275\u0275element"](121,"br"),i["\u0275\u0275text"](122," 151 Nob Hill Lane"),i["\u0275\u0275element"](123,"br"),i["\u0275\u0275text"](124," Ventura, CA 93003"),i["\u0275\u0275element"](125,"br"),i["\u0275\u0275text"](126," USA"),i["\u0275\u0275element"](127,"br"),i["\u0275\u0275text"](128," Attn: Legal"),i["\u0275\u0275element"](129,"br"),i["\u0275\u0275text"](130," support @ fitdigits.com"),i["\u0275\u0275element"](131,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](132,"div",3),i["\u0275\u0275elementStart"](133,"p",4),i["\u0275\u0275text"](134,"We Do Not Sell Your Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](135,"p"),i["\u0275\u0275text"](136,"We do not, and will not, disclose, sell, rent or share any personally identifiable information received as a result of enrollment, registrations or e-commerce transactions on our web site with any third parties, other than our Partners or Service Companies, or as otherwise stated in this Privacy Policy."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](137,"p",4),i["\u0275\u0275text"](138,"Users Under 13 Years Old"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](139,"p"),i["\u0275\u0275text"](140,"If you are younger than 13, please do not use the service or at any time provide any personally identifiable information in connection with any unlawful use of Fitdigits applications or the web site."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](141,"h2"),i["\u0275\u0275text"](142,"Information Fitdigits Collects"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](143,"p"),i["\u0275\u0275text"](144,"Fitdigits collects information about you, including information that directly or indirectly identifies you, if you or your other members choose to share it with Fitdigits. Fitdigits receives information in different ways, including when you track or upload activities using the Fitdigits Platform. Fitdigits also collects information about how you use the apps, website and other services. There are also features that allow you to share information about yourself, your friends, and activities with Fitdigits Platform, which includes Fitdigits apps, website and related services. Examples include: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](145,"p",4),i["\u0275\u0275text"](146,"General Account, Profile & Activity Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](147,"p"),i["\u0275\u0275text"](148,"We collect basic account information such as your name, email address, date of birth, gender, weight, username and password that helps determine heart rate zones and health data, and to secure and provide you with access to our Platform."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](149,"p"),i["\u0275\u0275text"](150,"Other Profile information is collected about you when you choose to upload a picture, activity data which can include date, time and geo-location information as well as interpreted data such as your speed, pace and perceived exertion, or post, join a group, add a friend or equipment usage, view others\u2019 activities, or otherwise use the Fitdigits platform, including apps, website and related services."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](151,"p"),i["\u0275\u0275text"](152,"We use your contact information to notify you of any features you've opted into including things like friends activity, goal progress, account changes, and team or group information, and also to respond to your support requests and comments."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](153,"p",4),i["\u0275\u0275text"](154,"Location Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](155,"p"),i["\u0275\u0275text"](156,"We collect location information when you use the Platform. We do not track your device location while you are not using Fitdigits Platform, but our core feature set is tied to collecting and processing geo-location data from your device while the Platform is being used by you. To stop the device location tracking, you may adjust the permissions in your device settings or within the specific apps Sensors section."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](157,"p",4),i["\u0275\u0275text"](158,"Shared Content"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](159,"p"),i["\u0275\u0275text"](160,"Fitdigits gets information from photos, comments, LiveCheers(tm), reviews, favorites and like, and other content you share on the Platform, including when you link 3rd party participating partners, team or group events, or create routes, routines, goals or teams."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](161,"p",4),i["\u0275\u0275text"](162,"Personal Health Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](163,"p"),i["\u0275\u0275text"](164,"Fitdigits collects or infers health information from information you enter directly, inferred through analysis, or from 3rd party partners you authorize to share such information. Health metrics may be received from heart rate monitors, cadence sensors, power meters, accelerometers, or other sources. You must give explicit consent to the processing of that health information by Fitdigits in order to upload this information. You can withdraw your consent for processing your health information to the Platform at any time."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](165,"p",4),i["\u0275\u0275text"](166,"3rd Party Partners, Connected Apps and Devices"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](167,"p"),i["\u0275\u0275text"](168,"Fitdigits collects information from 3rd party partners, including devices and apps you connect to the Platform. For example, you may connect Fitbit or a Garmin account to Fitdigits and information from these devices and apps will be passed along to Fitdigits, or Fitdigits may share activity and other information to these partners with your authorization. You can withdraw your consent for processing your information from Partners at any time. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](169,"p",4),i["\u0275\u0275text"](170,"Contacts Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](171,"p"),i["\u0275\u0275text"](172,"If you choose to add your contacts\u2019 information by connecting them from a mobile device or social network account such as Facebook to the Fitdigits Platform, Fitdigits can, depending on your choices, access and store your contacts\u2019 information to identify connections and help you connect with them. This can include LiveTracking, where you and your contacts can see your activity details including but not limited to routes, heart rate, cadence and other data, user comments, LiveCheers(tm), group or team contacts and activities, goals and progress, and contact names and profile photos who may or may not be currently signed up on the Fitdigits Platform. To disconnect from Facebook, send a request to Support through your app in Menu > Support > Send Support Email."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](173,"p",4),i["\u0275\u0275text"](174,"Cookies"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](175,"p"),i["\u0275\u0275text"](176,'"Cookies" are small data files that are written to and stored on your hard drive when you visit a web site. They do not read files on your hard drive. Like most web sites, we may use cookies to personalize a user\'s experience of our web site and to make it easier for users to complete forms.'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](177,"p"),i["\u0275\u0275text"](178,"We may use data and information received from cookies for marketing purposes and to improve our on-line offering of services and products. We may also do so to evaluate our site's technical capacity and to review the navigational structure of our site, e.g., to revise or restructure our web site for easier and more intuitive movement throughout."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](179,"p"),i["\u0275\u0275text"](180,"Currently, the data and information we collect with cookies is only reviewed in an aggregated form, which is not personally identifiable. In the future, however, we may correlate the data and information received from cookies with personally identifiable information, to identify specific users and track their web site usage."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](181,"p",4),i["\u0275\u0275text"](182,"Log Files and Technical Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](183,"p"),i["\u0275\u0275text"](184,"Fitdigits collects information from your browser, computer, or mobile device, which provide us with technical information when you access or use the Platform. This technical information includes device and network information, cookies, log files and analytics information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](185,"p"),i["\u0275\u0275text"](186,"We may also review data and information contained in log files located on our Platform, including our web server and support portals, which record the date and time of each visit, IP (internet protocol) address, the referring IP address or domain (the prior web site visited), referring/exit pages, platform type, number of clicks, and the files and views on our Platform (including HTML pages, graphics, etc.). We may use log file information to analyze trends, administer, protect and secure the Platform, track member movement in the aggregate, and gather broad demographic information for aggregate use. This information may be linked to session IDs, member IDs and device identifiers."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](187,"p",4),i["\u0275\u0275text"](188,"Other Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](189,"p"),i["\u0275\u0275text"](190,"If you make purchases from our on-line offerings, respond to a request for information or make any other on-line request of us, you will be voluntarily providing personally identifiable information. If you do not agree with this Privacy Policy, we ask that you please do not provide the requested information. You may nevertheless continue to use our web site, subject, however, to the collection of information through cookies and log files as discussed above. If you have previously provided personally identifiable information by registration through our web site, you may request to be removed from our active database of mailing lists (see below)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](191,"p"),i["\u0275\u0275text"](192,'Voluntarily provided information is used to send you announcements of new products, updates, and promotional information, as well as to provide the services or goods that you request and give you better customer service. We may share personally identifiable information with our affiliated entities, as well as with our third-party business partners, sales representatives and distributors (collectively, "Partners") who may provide the requested goods or services to you directly or otherwise contact you directly. Moreover, we rely on various third-party service companies ("Service Companies") to provide certain services (e.g., shipping, credit card billing) for which it is necessary to provide users\' personally identifiable information.'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](193,"p"),i["\u0275\u0275text"](194,"We may collect information from you through third parties, such as when we collect your feedback through surveys. We may also collect information about you from other members such as when they give you comments, LiveCheers(tm) or comments on your activities."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](195,"p"),i["\u0275\u0275text"](196,"Please note that although we may seek to require that Partners and Service Companies use information regarding our users only in the ways permitted by this Privacy Policy, we do not control and are not responsible for their privacy practices, or those of any other party."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](197,"p",4),i["\u0275\u0275text"](198,"Links to Third-Party Apps and Web Sites"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](199,"p"),i["\u0275\u0275text"](200,"Through our web pages or apps, you may connect to third parties' platforms, and the connections may or may not be obvious. We are not responsible for the collection, use, maintenance, sharing, or disclosure of data and information by such third parties. We encourage our users to be aware of the varied privacy policies of web sites that they visit."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](201,"h2"),i["\u0275\u0275text"](202,"How Fitdigits Uses Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](203,"p",4),i["\u0275\u0275text"](204,"To provide services to You"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](205,"p"),i["\u0275\u0275text"](206,"Fitdigits uses the information we collect and receive to provide the Platform services, including providing the ability to do the following:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](207,"ul"),i["\u0275\u0275elementStart"](208,"li"),i["\u0275\u0275text"](209,"Record your activities and analyze your information and performance, including showing metrics on given activities, individually or in aggregate, comparing your past efforts, analyzing your heart rate, and other analysis to help provide you with performance analysis and engaging content."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](210,"li"),i["\u0275\u0275text"](211,"Manage your activities. For example, to set goals or use your activities dashboard."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](212,"li"),i["\u0275\u0275text"](213,"Find new workouts, routes and routines. For example, to discover new workout videos or routes where you can do a variety of activities like running, riding, or gym circuts."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](214,"li"),i["\u0275\u0275text"](215,"Interact with other members. For example, to participate in teams or groups, follow other members, and use features that help members interact with one another, such as group leaderboards or challenges and group goals."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](216,"li"),i["\u0275\u0275text"](217,"Visualize your activities. For example, by creating individual or aggregate heart rate or power graphs, personal goal streaks, or your overall activities log."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](218,"p",4),i["\u0275\u0275text"](219,"To protect you and the Platform"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](220,"p"),i["\u0275\u0275text"](221,"Fitdigits uses information collected to protect you, enforce our Terms of Service, and promote safety. We check and remove content that violates our terms, including hate speech or spam, and can suspend or terminate accounts that share such content. We also check for system abuses and non-standard activities that could harm the overall user experience of the majority of users on the Platform."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](222,"p",4),i["\u0275\u0275text"](223,"To improve our Services"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](224,"p"),i["\u0275\u0275text"](225,"Fitdigits can use data in aggregate or individually to help us promote or develop relevant or new features, events, or views to help engage and improve the Platform."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](226,"p",4),i["\u0275\u0275text"](227,"Correspondence"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](228,"p"),i["\u0275\u0275text"](229,"Fitdigits uses information we collect to provide support in response to your requests and comments. We may also use the information we collect to market and promote the Platform, activities and events on Fitdigits, and other products or services. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](230,"p"),i["\u0275\u0275text"](231,"Fitdigits may use email and push communications, where you have not opted out of receiving such messages and notifications."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](232,"p"),i["\u0275\u0275text"](233,"We maintain and review correspondence that you send to us. We may use the personally identifiable information disclosed in the e-mail. Because such correspondence contains information that is not transmitted through the operation of our Platform, it is not subject to the terms of this Privacy Policy."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](234,"p",4),i["\u0275\u0275text"](235,"To Enable Service Providers"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](236,"p"),i["\u0275\u0275text"](237,"Fitdigits may share your information with third parties who provide services for supporting, improving, promoting and securing the Platform, processing payments, or analyzing aggregate data. These service providers only have access to the information necessary to perform these limited functions on our behalf and are required to protect and secure your information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](238,"p",4),i["\u0275\u0275text"](239,"Publicly Available Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](240,"p"),i["\u0275\u0275text"](241,"When you join the Fitdigits Platform, your profile and your activities are not viewable by others by default unless explilcitly shared by you."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](242,"p"),i["\u0275\u0275text"](243,"If you opt-in to Groups or Teams, or create a Member URL in your Profile, subject to your privacy controls, your information, including parts of your profile, member URL, photos, members you follow and who follow you, teams and groups you belong to, your activities, the devices you use, and LiveCheers(tm) and comments you give and receive will be shared on Fitdigits so that you may be able to participate in the Platform services. For example your recent activities and the ability to follow or be followed. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](244,"p"),i["\u0275\u0275text"](245,"Certain information (e.g., your name, and some profile information) is also available to non-members on the web if you create a member URL in your Profile. Your precise location information, such as where you run or ride, may also be shared on Fitdigits or to non-members, in accordance with your privacy controls. To remove your member information from non-members or members in the Friends area, delete your Member URL in the profile section at https://my.fitdigits.com/member"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](246,"p",4),i["\u0275\u0275text"](247,"Required Disclosures of Data & Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](248,"p"),i["\u0275\u0275text"](249,"In addition to disclosures to our Partners and Service Companies, and regardless of anything in this Privacy Policy to the contrary, we may disclose personally identifiable information, with or without prior notice to you, when we believe that the law requires it, in response to subpoenas or at the demand of governmental agencies, to protect our systems or business, to protect other visitors to the web site, or to respond to an emergency. If you engage, or we reasonably suspect you of engaging in any illegal activity, we may also disclose your personally identifiable information, even without a subpoena, warrant or court order. We may also make disclosures of your personally identifiable information with your affirmative consent."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](250,"p",4),i["\u0275\u0275text"](251,"Maintenance & Transmission of Data & Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](252,"p"),i["\u0275\u0275text"](253,"Although we use reasonable efforts to maintain the privacy of your personally identifiable data and information, due to technological limitations, and the risk of unlawful interceptions and accessing of transmissions and/or data, we cannot completely assure you, and you should not expect, that your personally identifiable data and information, and any other electronically communicated information, will be absolutely confidential."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](254,"p"),i["\u0275\u0275text"](255,"For all e-commerce transactions, we use commercial encryption technology to protect the data and information that you transmit to us via our web site. Although this technology is not flawless, we believe that it provides reasonable protection for your data and information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](256,"p"),i["\u0275\u0275text"](257,"We generally seek to require our Partners and Service Companies to exercise reasonable efforts to maintain the confidentiality of your information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](258,"p",4),i["\u0275\u0275text"](259,"DMCA Notices"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](260,"p"),i["\u0275\u0275text"](261,"FItdigits may share your information with third parties when we forward Digital Millennium Copyright Act (DMCA) notifications, which will be forwarded as submitted to us without any deletions."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](262,"p",4),i["\u0275\u0275text"](263,"How We Protect Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](264,"p"),i["\u0275\u0275text"](265,"Fitdigits take many measures to safeguard the collection, transmission and storage of the data we collect. We employ reasonable protections for your information that are appropriate to its sensitivity. The Platform uses industry standard Secure Sockets Layer (SSL) technology to allow for encryption of personal information. Fitdigits engages providers that are industry leaders in online security to strengthen the security of our Platform. The Platform is registered with site identification authorities so your browser can confirm Fitdigits\u2019 identity before any personal information is sent. In addition, Fitdigits\u2019 secure servers protect this information using advanced firewall security detection and protection technology."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](266,"p",4),i["\u0275\u0275text"](267,"Assignment"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](268,"p"),i["\u0275\u0275text"](269,"We may share your information with affiliates under common control with us, who are required to comply with the terms of this Privacy Policy with regard to your information. If Fitdigits becomes involved in a business combination, securities offering, bankruptcy, reorganization, dissolution or other similar transaction, we may share or transfer your information in connection with such transaction."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](270,"h2"),i["\u0275\u0275text"](271,"Managing Your Privacy Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](272,"p",4),i["\u0275\u0275text"](273,"Your Right to Review & Modify Data & Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](274,"p"),i["\u0275\u0275text"](275,"Most Fitdigits Platform privacy and share settings are located on the Profile section of the apps and/or website, including the ability to set and change account and profile information. If you need assistance correcting inaccurate information, please contact Fitdigits at https://my.fitdigits.com."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](276,"p"),i["\u0275\u0275text"](277,"You may remove yourself from our active databases and e-mail lists. Email management links are located within the emails sent to you after sign up and any followup correspondence. Any transactional emails (confirmation of purchases, password reminders, or other transactions) generally do not offer an unsubscribe option as they are necessary to provide the service you request. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](278,"p"),i["\u0275\u0275text"](279,"To remove yourself from active databases, you can go to the Profile section in your app and tap Delete, or you can send an e-mail to support@fitdigits.com requesting that you be removed from our databases and active e-mail lists. We will endeavor to comply with your request as soon as reasonably possible, at maximum within 90 days. Our back-up files may maintain copies of your personally identifiable information. We reserve the right to contact former customers or users of the Platform from time to time."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](280,"p"),i["\u0275\u0275text"](281,"Fitdigits may retain information where deletion requests are made to comply with the law and take other actions permitted by law. Content you have shared with others, such as photos or routines, or that others have copied may also remain visible after you have deleted your account or deleted specific information from your own profile. Your public member URL profile may be displayed in search engine results until the search engine refreshes its cache."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](282,"p"),i["\u0275\u0275text"](283,"Fitdigits also provides you the option to remove individual activities you have posted without deleting your account. Once removed, the activities may remain on Fitdigits\u2019 Platform until you delete your account."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](284,"p"),i["\u0275\u0275text"](285,"To download your data, visit https://my.fitdigits.com/activities, select All from the date range, then click Export from the bottom left of the view."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](286,"h2"),i["\u0275\u0275text"](287,"Your Rights and Our Legal Bases"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](288,"p"),i["\u0275\u0275text"](289,"Fitdigits provides privacy tools and controls to all of our members worldwide. Particular rights may be available to you if you reside in certain locations, such as the EEA, Brazil or California. If you are habitually located in the EEA, you have the right to access, rectify, download or erase your information, as well as the right to restrict and object to certain processing of your information. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](290,"p",4),i["\u0275\u0275text"](291,"Our Legal Bases"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](292,"p"),i["\u0275\u0275text"](293,"Fitdigits relies on a number of legal bases to collect, use, share, and otherwise process the information about you for the purposes described in this Privacy Policy, including:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](294,"ul"),i["\u0275\u0275elementStart"](295,"li"),i["\u0275\u0275text"](296,"To provide the Platform services and fulfill our obligations pursuant to the Terms of Service. For example, Fitdigits cannot provide your platform services unless we collect and use your location information;"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](297,"li"),i["\u0275\u0275text"](298,"Where you have consented to the processing of the related information;"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](299,"li"),i["\u0275\u0275text"](300,"Where necessary to comply with a legal obligation, a court order, or to exercise and defend legal claims;"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](301,"li"),i["\u0275\u0275text"](302,"To protect your vital interests, or those of others, such as in the case of emergencies; and"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](303,"li"),i["\u0275\u0275text"](304,"Where necessary for the purposes of Fitdigits\u2019 or a third party\u2019s legitimate interests, such as our interests in protecting our members, our partners\u2019 interests in collaborating with our members, and our commercial interests in ensuring the sustainability of the Services."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](305,"p",4),i["\u0275\u0275text"](306,"Transfers"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](307,"p"),i["\u0275\u0275text"](308,"The Platform services are operated from the United States. If you are located outside of the United States and choose to use the Platform or provide information to us, you acknowledge and understand that your information will be transferred, processed and stored in the United States, as it is necessary to provide the Platform services and perform the Terms of Service. United States privacy laws may not be as protective as those in your jurisdiction."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](309,"p",4),i["\u0275\u0275text"](310,"Retention of Information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](311,"p"),i["\u0275\u0275text"](312,"We retain information as long as it is necessary to provide the Platform to you and others, subject to any legal obligations to further retain such information. Information associated with your account will generally be kept until it is no longer necessary to provide the Platform or until your account is deleted or inactive for over 30 months. In addition, you can delete some items of information (e.g., profile information) and you can remove individual activities from view without deleting your account. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](313,"p"),i["\u0275\u0275text"](314,"Additionally, we may retain information to comply with the law, prevent fraud, resolve disputes, troubleshoot issues, assist with investigations, enforce the Terms of Service and take other actions permitted by law. The information we retain will be handled in accordance with this Privacy Policy."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](315,"p"),i["\u0275\u0275text"](316,"Information connected to you that is no longer necessary and relevant to provide our Platform services may be de-identified or aggregated with other non-personal data to provide insights which are commercially valuable to Fitdigits, such as statistics of the use of the Services."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](317,"h2"),i["\u0275\u0275text"](318,"Conclusion"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](319,"p"),i["\u0275\u0275text"](320,"We hope that this Privacy Policy helps you to make an informed decision whether to use our Platform, visit our web site, use our apps and/or to provide us with certain information."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](321,"p"),i["\u0275\u0275text"](322,"If you have any questions, concerns or problems, we encourage you to email to support@fitdigits.com. We appreciate your suggestions on how we can improve our Privacy Policy or any aspects of our web site."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](323,"p",4),i["\u0275\u0275text"](324,"Changes to this Privacy Policy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](325,"p"),i["\u0275\u0275text"](326,"Due to changing technological and marketing demands, we reserve the right to change our policies regarding the privacy of your personally identifiable information in the future. If that happens, we will endeavor to promptly update this Privacy Policy. Please review it occasionally. Your continued use of the web site following changes to this policy will indicate that you accept the changes. If you object to any of the changes to this Privacy Policy, you should stop using the Platform and delete your account."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())},styles:["#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:960px;margin:auto;text-align:left}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;border-top:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;font-size:26px;background-color:#e2e3e4}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin:auto;padding:10px 40px;max-width:1100px}.privacyHeader[_ngcontent-%COMP%]{font-weight:700;font-size:18px}.welcomeLogo[_ngcontent-%COMP%]{position:absolute;top:20px;left:20px}.signin-header[_ngcontent-%COMP%]{position:absolute;top:20px;right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff}.header-band[_ngcontent-%COMP%]{background-color:#eaebec;text-align:center;width:100%;margin-top:70px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%]{background-color:transparent}.supportHeaderIcon[_ngcontent-%COMP%]{margin-top:-2px}.leftFooter[_ngcontent-%COMP%]{float:left;max-width:50%;text-align:left;padding:18px}.rightFooter[_ngcontent-%COMP%]{float:right;text-align:right}.centerFoooterImg[_ngcontent-%COMP%]{margin:-40px auto 0;text-align:center}.downloadFooter[_ngcontent-%COMP%]{padding:0 20px;max-height:140px;margin-bottom:-70px}.fitdigitsPrivacy[_ngcontent-%COMP%], .mdaPrivacy[_ngcontent-%COMP%]{padding:10px;margin-left:30px}@media (max-width:600px){.centerFoooterImg[_ngcontent-%COMP%], .leftFooter[_ngcontent-%COMP%]{visibility:hidden;width:0}}@media (max-width:600px){.partner-wrap[_ngcontent-%COMP%]{padding:10px}h3[_ngcontent-%COMP%]{font-size:18px}}","h2[_ngcontent-%COMP%] {\n\t\t\tmargin: 30px 0px;\n\t\t\twidth:100%;\n\t\t}\n\t\th4[_ngcontent-%COMP%] {\n\t\t\tmargin: 20px 0px;\n\t\t\twidth:100%;\n\t\t}\n\t\t.privacyHeader[_ngcontent-%COMP%] {\n\t\t\tmargin: 20px 0px;\n\t\t\twidth:100%;\n\t\t}\n\t\tul[_ngcontent-%COMP%] {\n\t\t\tlist-style-type: circle;\n\t\t\tlist-style-position: outside;\n\t\t}\n\t\tli[_ngcontent-%COMP%] {\n    \t\tmargin-left: 1.5rem;\n\t\t}"]}),e}();function Gk(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",16),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Table View")))}function Uk(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",16),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Carousel View")))}function qk(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",9),i["\u0275\u0275elementStart"](1,"button",10),i["\u0275\u0275listener"]("click",function(e){return e.stopPropagation()}),i["\u0275\u0275elementStart"](2,"mat-icon",11),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275text"](4,"more_horiz"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"mat-menu",12,13),i["\u0275\u0275elementStart"](7,"button",14),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).router.navigate(["/routines_search"],{queryParams:{showyoutube:!0}})}),i["\u0275\u0275elementStart"](8,"div",15),i["\u0275\u0275text"](9,"search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"span",16),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"button",14),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).addYoutube()}),i["\u0275\u0275elementStart"](14,"div",17),i["\u0275\u0275text"](15,"add_circle"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"span",16),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"button",14),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.tableView=!e.tableView}),i["\u0275\u0275elementStart"](20,"div",15),i["\u0275\u0275text"](21,"view_list"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](22,Gk,3,3,"span",18),i["\u0275\u0275template"](23,Uk,3,3,"span",18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275reference"](6),a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("matMenuTriggerFor",r),i["\u0275\u0275advance"](1),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](3,6,"ROOT.Menu")),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](12,8,"ROOT.Library")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](18,10,"ROOT.Create")),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!a.tableView),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.tableView)}}function Zk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",4),i["\u0275\u0275template"](1,qk,24,12,"div",5),i["\u0275\u0275elementStart"](2,"a",6),i["\u0275\u0275element"](3,"img",7),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275elementStart"](5,"h4",8),i["\u0275\u0275text"](6,"YouTube"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.AccountService.isLoggedIn)}}function $k(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}function Xk(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",31),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showFilters=!e.showFilters}),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275elementStart"](2,"span",32),i["\u0275\u0275text"](3,"filter_list"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,1,"ROOT.Filters"))}function Kk(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",42),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",r.WorkoutTypes.getWorkoutTypeName(n.id,r.translate.currentLang)," ")}}function Jk(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field",39),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"mat-select",40),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).localSearch(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).workoutTypeSelection=e}),i["\u0275\u0275template"](5,Kk,2,2,"mat-option",41),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,3,"ROOT.Activity")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.workoutTypeSelection),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.availableWorkoutTypes)}}function Qk(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",43),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showTextSearch=!e.showTextSearch}),i["\u0275\u0275elementStart"](1,"span",32),i["\u0275\u0275text"](2,"search"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function eO(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",44),i["\u0275\u0275elementStart"](1,"input",45),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).searchParams=e})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).searchChanged.next(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",r.searchParams)}}function tO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",42),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,2,"ROOT."+n))}}function nO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",42),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.name)}}function iO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",42),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.name)}}function rO(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",33),i["\u0275\u0275elementStart"](1,"mat-form-field",46),i["\u0275\u0275elementStart"](2,"mat-label"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"mat-select",47),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).selectedCategories=e})("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).localSearch(e)}),i["\u0275\u0275template"](6,tO,3,4,"mat-option",41),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"mat-form-field",48),i["\u0275\u0275elementStart"](8,"mat-label"),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"mat-select",49),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).localSearch(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).lengthSearch=e}),i["\u0275\u0275template"](12,nO,2,2,"mat-option",41),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"mat-form-field",48),i["\u0275\u0275elementStart"](14,"mat-label"),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"mat-select",49),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).localSearch(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).classTypeSearch=e}),i["\u0275\u0275template"](18,iO,2,2,"mat-option",41),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,13,"ROOT.Categories")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.selectedCategories),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.searchableCategories),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](10,15,"ROOT.Length")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.lengthSearch)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.lengthSearchOptions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](16,17,"ROOT.Class Level")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.classTypeSearch)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.classTypeSearchOptions)}}function aO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",33),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275template"](2,Jk,6,5,"mat-form-field",34),i["\u0275\u0275elementStart"](3,"div",35),i["\u0275\u0275elementStart"](4,"div",36),i["\u0275\u0275template"](5,Qk,3,0,"button",37),i["\u0275\u0275template"](6,eO,2,1,"div",38),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,rO,19,19,"div",22),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.hideActivityType&&!n.showSearch),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!n.showSearch),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showTextSearch),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showFilters)}}function oO(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",62),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275propertyInterpolate"]("src",n.videoDetails.thumbnailURL,i["\u0275\u0275sanitizeUrl"])}}function sO(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",62),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/seo/map_only?key=",n.ghostWorkout,"&size=200,150",i["\u0275\u0275sanitizeUrl"])}}function lO(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"highcharts-chart",63),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).chartsUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit,a=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("Highcharts",a.Highcharts)("options",r.graph)("update",a.chartsUpdated)("oneToOne",!0)}}function cO(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",64),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275propertyInterpolate"]("src",r.WorkoutTypes.getWorkoutTypeIcon(n.workoutType,r.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"])}}function dO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",65),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"secondsToHrsMin"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,n.durationDisplay))}}function uO(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",65),i["\u0275\u0275text"](1,"N/A"),i["\u0275\u0275elementEnd"]())}function pO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",65),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"milesToKm"),i["\u0275\u0275elementStart"](3,"span",66),i["\u0275\u0275text"](4,"km"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.totalDistance,!0)," ")}}function hO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",65),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementStart"](3,"span",66),i["\u0275\u0275text"](4,"mi"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.totalDistance,"1.0-2")," ")}}function mO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,pO,5,4,"span",59),i["\u0275\u0275template"](2,hO,5,4,"span",59),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Metric"==n.metric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Imperial"==n.metric)}}function gO(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",65),i["\u0275\u0275text"](1,"--"),i["\u0275\u0275elementEnd"]())}function fO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",54),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275template"](2,oO,1,1,"img",55),i["\u0275\u0275template"](3,sO,1,1,"img",55),i["\u0275\u0275template"](4,lO,1,4,"highcharts-chart",56),i["\u0275\u0275template"](5,cO,1,1,"img",57),i["\u0275\u0275elementStart"](6,"div",58),i["\u0275\u0275template"](7,dO,3,3,"span",59),i["\u0275\u0275template"](8,uO,2,0,"span",59),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",60),i["\u0275\u0275template"](10,mO,3,2,"span",2),i["\u0275\u0275template"](11,gO,2,0,"span",59),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"div"),i["\u0275\u0275text"](13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",61),i["\u0275\u0275text"](15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ghostWorkout&&!n.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.graph&&!n.ghostWorkout&&!n.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.hasVideo),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0!=n.totalDuration),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==n.totalDuration),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0==r.WorkoutTypes.getWorkoutTypeIndoor(n.workoutType)&&0!=n.totalDistance),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==n.totalDistance),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.name," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function vO(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275element"](2,"img",51),i["\u0275\u0275text"](3," Favorites"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"carousel",52),i["\u0275\u0275listener"]("events",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](2).handleCarouselEvents(e,t)}),i["\u0275\u0275template"](5,fO,16,10,"div",53),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngForOf",r.value)}}function yO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",50),i["\u0275\u0275template"](1,vO,6,1,"div",2),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Favorites"==n.key&&n.value.length>0)}}function bO(e,t){1&e&&i["\u0275\u0275element"](0,"div",67)}function xO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",72),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",n.videoDetails.thumbnailURL,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function _O(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",72),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/seo/map_only?key=",n.ghostWorkout,"&size=200,150",i["\u0275\u0275sanitizeUrl"])}}function wO(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"highcharts-chart",75),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).chartsUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("Highcharts",a.Highcharts)("options",r.graph)("update",a.chartsUpdated)("oneToOne",!0)}}function SO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,_O,1,1,"img",73),i["\u0275\u0275template"](2,wO,1,4,"highcharts-chart",74),i["\u0275\u0275text"](3),i["\u0275\u0275element"](4,"img",64),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ghostWorkout),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.graph&&!n.ghostWorkout),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," "),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",r.WorkoutTypes.getWorkoutTypeIcon(n.workoutType,r.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"])}}function CO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",71),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275template"](2,xO,3,2,"div",2),i["\u0275\u0275template"](3,SO,5,4,"div",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.hasVideo)}}function kO(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",69),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"carousel",52),i["\u0275\u0275listener"]("events",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](3).handleCarouselEvents(e,r)}),i["\u0275\u0275template"](4,CO,4,2,"div",70),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275property"]("hidden",0==r.value.length||"Favorites"==r.key),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.key),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",r.value)}}function OO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,kO,5,3,"div",68),i["\u0275\u0275pipe"](2,"keyvalue"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind1"](2,1,n.selectedRoutines))}}function EO(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",91),i["\u0275\u0275text"](1,"arrow_drop_up"),i["\u0275\u0275elementEnd"]())}function MO(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",91),i["\u0275\u0275text"](1,"arrow_drop_down"),i["\u0275\u0275elementEnd"]())}function IO(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",92),i["\u0275\u0275text"](1,"arrow_drop_up"),i["\u0275\u0275elementEnd"]())}function PO(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",92),i["\u0275\u0275text"](1,"arrow_drop_down"),i["\u0275\u0275elementEnd"]())}function TO(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",92),i["\u0275\u0275text"](1,"arrow_drop_up"),i["\u0275\u0275elementEnd"]())}function DO(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",92),i["\u0275\u0275text"](1,"arrow_drop_down"),i["\u0275\u0275elementEnd"]())}function LO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"minToHrsMin"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,60*n.totalDuration))}}function RO(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"N/A"),i["\u0275\u0275elementEnd"]())}function jO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"milesToKm"),i["\u0275\u0275elementStart"](3,"span",66),i["\u0275\u0275text"](4,"km"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.totalDistance,!0)," ")}}function AO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementStart"](3,"span",66),i["\u0275\u0275text"](4,"mi"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](2,1,n.totalDistance,"1.0-2")," ")}}function FO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,jO,5,4,"span",2),i["\u0275\u0275template"](2,AO,5,4,"span",2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Metric"==n.metric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Imperial"==n.metric)}}function BO(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"N/A"),i["\u0275\u0275elementEnd"]())}var zO=function(e){return{color:e}};function NO(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",111),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](4).shareRoutine(t),e.stopPropagation()}),i["\u0275\u0275elementStart"](1,"mat-icon",112),i["\u0275\u0275text"](2,"share "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"span",113),i["\u0275\u0275text"](4,"Share"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"span",113),i["\u0275\u0275text"](6,"Shared"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275property"]("disabled",0==r.sharable),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,zO,0==r.sharable?"#3FAE48":"#b2b2b2")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!r.sharable),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",r.sharable)}}function HO(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",114),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275propertyInterpolate"]("src",n.videoDetails.thumbnailURL,i["\u0275\u0275sanitizeUrl"])}}function VO(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",72),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/seo/map_only?key=",n.ghostWorkout,"&size=120,90",i["\u0275\u0275sanitizeUrl"])}}function YO(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"highcharts-chart",116),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).chartsUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("Highcharts",a.Highcharts)("options",r.graph)("update",a.chartsUpdated)("oneToOne",!0)}}function WO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,VO,1,1,"img",73),i["\u0275\u0275template"](2,YO,1,4,"highcharts-chart",115),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ghostWorkout),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.graph&&!n.ghostDetail)}}function GO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",120),i["\u0275\u0275element"](1,"iframe",121),i["\u0275\u0275pipe"](2,"safe"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",i["\u0275\u0275pipeBind2"](2,1,"https://www.youtube.com/embed/"+n.videoDetails.id+"?&origin=https://my.fitdigits.com","url"),i["\u0275\u0275sanitizeResourceUrl"])}}function UO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",122),i["\u0275\u0275elementStart"](1,"vg-player"),i["\u0275\u0275elementStart"](2,"vg-player"),i["\u0275\u0275elementStart"](3,"vg-overlay-play"),i["\u0275\u0275element"](4,"img",72),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"vg-buffering"),i["\u0275\u0275elementStart"](6,"vg-controls"),i["\u0275\u0275element"](7,"vg-play-pause"),i["\u0275\u0275element"](8,"vg-time-display",123),i["\u0275\u0275elementStart"](9,"vg-scrub-bar"),i["\u0275\u0275element"](10,"vg-scrub-bar-current-time"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](11,"vg-time-display",124),i["\u0275\u0275element"](12,"vg-mute"),i["\u0275\u0275element"](13,"vg-volume"),i["\u0275\u0275element"](14,"vg-fullscreen"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"video",125,126),i["\u0275\u0275element"](17,"source",127),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275reference"](16),r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate"]("src",r.videoDetails.thumbnailURL,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](11),i["\u0275\u0275property"]("vgMedia",n),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("src",r.videoDetails.id,i["\u0275\u0275sanitizeUrl"])}}function qO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275elementStart"](2,"ul"),i["\u0275\u0275elementStart"](3,"li"),i["\u0275\u0275elementStart"](4,"a",117),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](8,GO,3,4,"div",118),i["\u0275\u0275template"](9,UO,18,3,"div",119),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](n.videoDetails.author),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.videoDetails.description),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","youtube"==n.videoDetails.videoType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","direct_url"==n.videoDetails.videoType)}}function ZO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",128),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n)}}function $O(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Shared: Public")))}function XO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2),r=n.index,a=n.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"]("Series ",r+1," | ",a.repeats>1?a.repeats+" Repeats":"One Time","")}}function KO(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.BPM")))}function JO(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.PACE")))}function QO(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"secondsToHMS"),i["\u0275\u0275template"](3,KO,3,3,"span",2),i["\u0275\u0275template"](4,JO,3,3,"span",2),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("Duration: ",i["\u0275\u0275pipeBind1"](2,5,n.duration)," | "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==n.zoneRef[0].type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",2==n.zoneRef[0].type),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" | ",i["\u0275\u0275pipeBind1"](6,7,"ROOT.Zone")," ",n.zoneRef[0].zonePos+1," ")}}function eE(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.BPM")))}function tE(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.PACE")))}function nE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("| ",n.desc,"")}}function iE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275pipe"](3,"number"),i["\u0275\u0275template"](4,eE,3,3,"span",2),i["\u0275\u0275template"](5,tE,3,3,"span",2),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275template"](8,nE,2,1,"span",2),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](2,7,"ROOT.Distance")," : ",i["\u0275\u0275pipeBind2"](3,9,n.duration,"1.0-2")," | "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",1==n.zoneRef[0].type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",2==n.zoneRef[0].type),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" | ",i["\u0275\u0275pipeBind1"](7,12,"ROOT.Zone")," ",n.zoneRef[0].zonePos+1," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.desc)}}function rE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.notes)}}function aE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"ul",131),i["\u0275\u0275elementStart"](1,"li",132),i["\u0275\u0275template"](2,XO,2,2,"span",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"li",133),i["\u0275\u0275template"](4,QO,7,9,"span",2),i["\u0275\u0275template"](5,iE,9,14,"span",2),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275template"](7,rE,2,1,"p",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=t.index,a=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0==r),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==n.durationUnits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",2==n.durationUnits),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",a.notes)}}function oE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"ul"),i["\u0275\u0275template"](1,aE,8,4,"ul",130),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.intervalDef)}}function sE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,$O,3,3,"div",2),i["\u0275\u0275elementStart"](2,"p",129),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,oE,2,1,"ul",90),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.shared),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate5"](" ",i["\u0275\u0275pipeBind1"](4,7,"ROOT.Total")," : ",n.routineDef.segmentDef.length," ",i["\u0275\u0275pipeBind1"](5,9,"ROOT.Series")," \u2022 ",n.totalRepeats," ",i["\u0275\u0275pipeBind1"](6,11,"ROOT.Repeats")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngForOf",n.routineDef.segmentDef)}}function lE(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tbody"),i["\u0275\u0275elementStart"](1,"tr",93),i["\u0275\u0275listener"]("click",function(){var e=t.$implicit;return e.hidden=!e.hidden}),i["\u0275\u0275elementStart"](2,"td",94),i["\u0275\u0275element"](3,"img",95),i["\u0275\u0275elementStart"](4,"span",96),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"td",97),i["\u0275\u0275template"](7,LO,3,3,"span",2),i["\u0275\u0275template"](8,RO,2,0,"span",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"td",98),i["\u0275\u0275template"](10,FO,3,2,"span",2),i["\u0275\u0275template"](11,BO,2,0,"span",2),i["\u0275\u0275elementStart"](12,"button",99),i["\u0275\u0275listener"]("click",function(e){return e.stopPropagation()}),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementStart"](14,"mat-icon"),i["\u0275\u0275text"](15,"more_vert"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"mat-menu",100,13),i["\u0275\u0275template"](18,NO,7,6,"button",101),i["\u0275\u0275elementStart"](19,"button",102),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](4).router.navigate(["/myroutines",e.id])}),i["\u0275\u0275elementStart"](20,"mat-icon"),i["\u0275\u0275text"](21,"edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"span"),i["\u0275\u0275text"](23),i["\u0275\u0275pipe"](24,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"button",102),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](4).router.navigate(["/myroutines",e.id],{queryParams:{duplicate:!0}})}),i["\u0275\u0275elementStart"](26,"mat-icon"),i["\u0275\u0275text"](27,"content_copy"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"span"),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"button",102),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](4).deleteRoutine(e)}),i["\u0275\u0275elementStart"](32,"mat-icon"),i["\u0275\u0275text"](33,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"span"),i["\u0275\u0275text"](35),i["\u0275\u0275pipe"](36,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"tr",103),i["\u0275\u0275listener"]("click",function(){var e=t.$implicit;return e.hidden=!e.hidden}),i["\u0275\u0275elementStart"](38,"td",104),i["\u0275\u0275template"](39,HO,1,1,"img",105),i["\u0275\u0275template"](40,WO,3,2,"span",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"tr"),i["\u0275\u0275elementStart"](42,"td",106),i["\u0275\u0275elementStart"](43,"p"),i["\u0275\u0275text"](44),i["\u0275\u0275pipe"](45,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"div"),i["\u0275\u0275elementStart"](47,"p",107),i["\u0275\u0275text"](48),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](49,qO,10,4,"div",2),i["\u0275\u0275template"](50,ZO,2,1,"div",108),i["\u0275\u0275elementStart"](51,"div",109),i["\u0275\u0275elementStart"](52,"div",110),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.showRoutineIntervals=!e.showRoutineIntervals}),i["\u0275\u0275text"](53),i["\u0275\u0275pipe"](54,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](55,sE,8,13,"div",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275reference"](17),o=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate"]("src",o.WorkoutTypes.getWorkoutTypeIcon(r.workoutType,o.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](r.name),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0!=r.totalDuration),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==r.totalDuration),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0==o.WorkoutTypes.getWorkoutTypeIndoor(r.workoutType)&&0!=r.totalDistance),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==r.totalDistance),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("matMenuTriggerFor",a),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](13,21,"ROOT.Edit Duplicate Delete")),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",!r.hasSong),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](24,23,"ROOT.Edit")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](30,25,"ROOT.Duplicate")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](36,27,"ROOT.Delete")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.hasVideo),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!r.hidden),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](45,29,r.creationDate,"short")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](r.description),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.hasVideo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.categories),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](54,32,"ROOT.Details")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",o.showRoutineIntervals)}}function cE(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"table",78),i["\u0275\u0275elementStart"](1,"thead",79),i["\u0275\u0275elementStart"](2,"tr",80),i["\u0275\u0275elementStart"](3,"th",81),i["\u0275\u0275elementStart"](4,"span",82),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sort("name")}),i["\u0275\u0275text"](5),i["\u0275\u0275template"](6,EO,2,0,"span",83),i["\u0275\u0275template"](7,MO,2,0,"span",83),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"th",84),i["\u0275\u0275elementStart"](9,"span",85),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sort("totalDuration")}),i["\u0275\u0275template"](10,IO,2,0,"span",86),i["\u0275\u0275template"](11,PO,2,0,"span",86),i["\u0275\u0275element"](12,"img",87),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"th",88),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sort("totalDistance")}),i["\u0275\u0275template"](14,TO,2,0,"span",86),i["\u0275\u0275template"](15,DO,2,0,"span",86),i["\u0275\u0275element"](16,"img",89),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](17,lE,56,34,"tbody",90),i["\u0275\u0275pipe"](18,"orderBy"),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("hidden",0==r.value.length),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",r.key," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","name"==a.sortedType&&"asc"==a.sortDirection),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","name"==a.sortedType&&"desc"==a.sortDirection),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","totalDuration"==a.sortedType&&"asc"==a.sortDirection),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","totalDuration"==a.sortedType&&"desc"==a.sortDirection),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","totalDistance"==a.sortedType&&"asc"==a.sortDirection),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","totalDistance"==a.sortedType&&"desc"==a.sortDirection),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind3"](18,9,r.value,a.sortedType,a.sortDirection))}}function dE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",76),i["\u0275\u0275template"](1,cE,19,13,"table",77),i["\u0275\u0275pipe"](2,"keyvalue"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind1"](2,1,n.selectedRoutines))}}function uE(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",134),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.No Structured Workouts matching filters")," "))}var pE=function(e,t){return{"background-color":e,color:t}};function hE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",135),i["\u0275\u0275elementStart"](1,"div",136),i["\u0275\u0275element"](2,"img",137),i["\u0275\u0275elementStart"](3,"span",112),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction2"](7,pE,0==n.ThemeService.isDarkTheme?"#FFF":"#000",1==n.ThemeService.isDarkTheme?"#FFF":"#000")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" YouTube ",i["\u0275\u0275pipeBind1"](5,3,"ROOT.on iCardio")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,5,"ROOT.More Info")," ")}}function mE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",42),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function gE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",42),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function fE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",42),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function vE(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",145),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.tableView=!e.tableView}),i["\u0275\u0275elementStart"](1,"mat-icon"),i["\u0275\u0275text"](2,"view_list"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function yE(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",141),i["\u0275\u0275elementStart"](1,"mat-form-field",142),i["\u0275\u0275elementStart"](2,"mat-label"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"mat-select",143),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).changeZone(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).zoneSelected=e}),i["\u0275\u0275template"](6,mE,2,2,"mat-option",41),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"mat-form-field",142),i["\u0275\u0275elementStart"](8,"mat-label"),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"mat-select",143),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).changePaceZone(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).paceZoneSelected=e}),i["\u0275\u0275template"](12,gE,2,2,"mat-option",41),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"mat-form-field",142),i["\u0275\u0275elementStart"](14,"mat-label"),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"mat-select",143),i["\u0275\u0275listener"]("selectionChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).localSearch(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).routineTypeSelection=e}),i["\u0275\u0275template"](18,fE,2,2,"mat-option",41),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](19,vE,3,0,"button",144),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,16,"ROOT.Heart Zones")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.zoneSelected)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.zones),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](10,18,"ROOT.Pace Zones")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.paceZoneSelected)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.paceZones),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](16,20,"ROOT.Types")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.routineTypeSelection)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.availableRoutineTypes),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isStarTrainer)}}function bE(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",138),i["\u0275\u0275elementStart"](1,"button",139),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showViewOptions=!e.showViewOptions}),i["\u0275\u0275elementStart"](2,"span",32),i["\u0275\u0275text"](3,"settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,yE,20,22,"div",140),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.showViewOptions)}}function xE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",19),i["\u0275\u0275element"](1,"div",20),i["\u0275\u0275template"](2,Xk,4,3,"button",21),i["\u0275\u0275template"](3,aO,8,4,"div",22),i["\u0275\u0275template"](4,yO,2,1,"div",23),i["\u0275\u0275pipe"](5,"keyvalue"),i["\u0275\u0275template"](6,bO,1,0,"div",24),i["\u0275\u0275template"](7,OO,3,3,"div",2),i["\u0275\u0275template"](8,dE,3,3,"div",25),i["\u0275\u0275template"](9,uE,3,3,"div",26),i["\u0275\u0275element"](10,"div",27),i["\u0275\u0275template"](11,hE,9,10,"a",28),i["\u0275\u0275element"](12,"div",29),i["\u0275\u0275template"](13,bE,5,1,"div",30),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!n.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showFilters),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind1"](5,10,n.selectedRoutines)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0==n.selectedRoutines.Favorites.length&&!n.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.tableView),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.tableView),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.noRoutines&&!n.showLoadingOverlay),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay)}}n("jM2W")(re),V_()(re);var _E=function(){function e(e,t,n,i,r,a,o,s,c,d){this.routineService=e,this.AccountService=t,this.ThemeService=n,this.router=i,this.PermissionsService=r,this.translate=a,this.dialog=o,this.floatToPace=s,this.WorkoutTypes=c,this.WorkoutsService=d,this.showLoadingOverlay=!1,this.Highcharts=re,this.noRoutines=!1,this.showSearch=!1,this.showTextSearch=!1,this.hideActivityType=!1,this.routines=[],this.selectedCategories=[],this.showFilters=!1,this.searchParams="",this.searchChanged=new l.a,this.showVideos=!0,this.isStarTrainer=!1,this.showRoutineIntervals=!1,this.showViewOptions=!1,this.showYouTube=!0,this.searchableCategories=["All","HIIT","Inspirational","Master Instructor","New","Recovery","Speed","Stamina","Strength","Tutorial"],this.paceZones=[],this.metric="Imperial",this.tableView=!0,this.metricSearch=null,this.metricSearchOptions=[{name:"All",value:null},{name:"Imperial",value:"US"},{name:"Metric",value:"metric"}],this.classTypeSearch=null,this.classTypeSearchOptions=[{name:"All",value:null},{name:"Advanced",value:"Advanced"},{name:"Beginner",value:"Beginner"},{name:"Tutorial",value:"Tutorial"}],this.lengthSearch=null,this.lengthSearchOptions=[{name:"All",value:null},{name:"60m",value:"60"},{name:"45m",value:"45"},{name:"30m",value:"30"},{name:"20m",value:"20"},{name:"5m",value:"5"}],this.routineTypeSelection="heartRate",this.groupByCategory=!0,this.routinesRoutes="youtube",this.selectedRoutines={Ungrouped:[],Favorites:[]},this.availableWorkoutTypes=[],this.availableRoutineTypes=[{id:"heartRate",name:"Heart Rate"},{id:"pace",name:"Pace"}]}return e.prototype.localSearch=function(e){var t={Ungrouped:[],Favorites:[]};this.groupByCategory&&(t={Uncategorized:[],Favorites:[]});var n=!1,i=!1;0!==this.workoutTypeSelection&&(n=!0),null!==this.metricSearch&&(i=!0),this.routineService.routinesRoutesFilter=this.routinesRoutes;for(var r=0;r<this.routines.length;r++){var a=!0;if(this.routines[r].hasVideo?(0==this.showVideos||0==this.showYouTube&&"youtube"==this.routines[r].videoDetails.videoType||1==this.showYouTube&&"direct_url"==this.routines[r].videoDetails.videoType)&&(a=!1):1!=this.showVideos||this.routines[r].hasVideo||(a=!1),"all"!=this.routinesRoutes&&("routines"==this.routinesRoutes&&this.routines[r].ghostWorkout||"routes"==this.routinesRoutes&&null==this.routines[r].ghostWorkout||"videos"==this.routinesRoutes&&0==this.routines[r].hasVideo)&&(a=!1),n&&this.routines[r].routineDef.workoutType!=this.workoutTypeSelection&&(a=!1),i&&("time"==this.routines[r].unitOfMeasure||this.routines[r].unitOfMeasure!=this.metricSearch&&(a=!1)),this.classTypeSearch&&this.classTypeSearch!=this.routines[r].classType&&(a=!1),this.lengthSearch&&this.routines[r].totalDuration>=60*this.lengthSearch&&(a=!1),this.searchParams.length>0){for(var o=!1,s=0;s<this.routines[r].search.length;s++)this.routines[r].search[s]==this.searchParams&&(o=!0);var l=this.routines[r].name.split(" ");for(s=0;s<l.length;s++)l[s]==this.searchParams&&(o=!0);a=o}if(a)if(this.groupByCategory){for(var c=0;c<this.selectedCategories.length;c++)if("All"==this.selectedCategories[c]){this.selectedCategories=[];break}if(this.routines[r].isFavorite){t.Favorites.push(this.routines[r]);continue}if(this.selectedCategories.length>0&&0==this.routines[r].categories.length);else if(0==this.routines[r].categories.length)t.Uncategorized.push(this.routines[r]);else for(var d=0;d<this.routines[r].categories.length;d++){var u=!1;if(0==this.selectedCategories.length)u=!0;else for(c=0;c<this.selectedCategories.length;c++)this.routines[r].categories[d]==this.selectedCategories[c]&&(u=!0);if(u)try{t[this.routines[r].categories[d]].push(this.routines[r])}catch(p){t[this.routines[r].categories[d]]=[],t[this.routines[r].categories[d]].push(this.routines[r])}}}else t.Ungrouped.push(this.routines[r])}console.log(t),this.noRoutines=1==Object.keys(t).length&&0==t[Object.keys(t)[0]].length,this.selectedRoutines=t},e.prototype.handleCarouselEvents=function(e,t){if("click"==e.name){var n=t.value[e.cellIndex];this.router.navigate("RoutineShare"==n.model?["/routines_search/",n.hhc,"detail"]:["/myroutines/",n.id,"detail"])}},e.prototype.plotRoutineChart=function(e){for(var t=[],n=0;n<e.routineDef.segmentDef.length;n++)for(var i=Number(e.routineDef.segmentDef[n].repeats),r=0;r<i;r++)for(var a=0;a<e.routineDef.segmentDef[n].intervalDef.length;a++)t.push(e.routineDef.segmentDef[n].intervalDef[a]);var o=this.zone.zoneHigh,s=this.zone.zoneLow,l=B.i.FITDIGITS,c=[],d=[],u=0,p=0;for(a=0;a<t.length;a++){var h=s[Number(t[a].zoneRef[0].zonePos)+1],m=o[Number(t[a].zoneRef[0].zonePos)+1];if(p+=t[a].duration,t[a].zoneRef[0].zonePos<0||t[a].zoneRef[0].zonePos>4);else{var g=[{x:u,y:h,id:"1"},{x:u,y:m,id:"2"},{x:p,y:m,id:"3"},{x:p,y:h,id:"4"}],f=l.zone[Number(t[a].zoneRef[0].zonePos)+1].tizColor;c.push(g),d.push(f)}u=p}for(var v={chart:{type:"spline",margin:[0,0,0,0],spacingTop:0},credits:{enabled:!1},title:{text:null},xAxis:{title:{},labels:{enabled:!0},minorTickLength:0,tickLength:0},yAxis:{title:{},labels:{enabled:!1,zIndex:999},endOnTick:!1,maxPadding:0,minorTickLength:0,tickLength:0,min:this.zone.zone0.bpmMax,max:this.zone.zone6.bpmMin,minorGridLineWidth:0,gridLineWidth:0,alternateGridColor:null,plotBands:[{from:this.zone.zone0.bpmMin,to:this.zone.zone1.bpmMin,color:l.zone[0].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone1.bpmMin),to:Number(this.zone.zone1.bpmMax),color:l.zone[1].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone2.bpmMin),to:Number(this.zone.zone2.bpmMax),color:l.zone[2].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone3.bpmMin),to:Number(this.zone.zone3.bpmMax),color:l.zone[3].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone4.bpmMin),to:Number(this.zone.zone4.bpmMax),color:l.zone[4].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone5.bpmMin),to:Number(this.zone.zone5.bpmMax),color:l.zone[5].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}},{from:Number(this.zone.zone6.bpmMin),to:Number(this.zone.zone6.bpmMin),color:l.zone[6].tizLightColor,label:{zIndex:999,style:{color:"#606060"}}}]},plotOptions:{spline:{lineWidth:4,states:{hover:{lineWidth:5}},marker:{enabled:!1}}},legend:{enabled:!1},series:[{type:"line",data:[],color:"#FFFFFF",yAxis:0}],navigation:{menuItemStyle:{fontSize:"10px"}}},y=0;y<c.length;y++)v.series.push({name:"Target",type:"polygon",data:c[y],color:new re.Color(d[y]).setOpacity(1).get(),enableMouseTracking:!1});return v},e.prototype.delay=function(e){return Object(te.__awaiter)(this,void 0,void 0,function(){return Object(te.__generator)(this,function(t){switch(t.label){case 0:return[4,new Promise(function(t){return setTimeout(function(){return t()},e)}).then(function(){})];case 1:return t.sent(),[2]}})})},e.prototype.addYoutube=function(){this.PermissionsService.starAccess?this.router.navigate(["/video_search"]):this.dialog.open(W_.a,{data:{type:"star_required",text:this.translate.instant("ROOT.YouTube is a Premium Star Membership Feature."),learnMore:"https://my.fitdigits.com/youtube"},maxWidth:"200vw",maxHeight:"100vh"})},e.prototype.changeZone=function(e){var t=this;this.showLoadingOverlay=!0,this.delay(300).then(function(){t.zoneSelected=e.value;for(var n=0;n<t.zones.length;n++)t.zones[n].id==e.value&&(t.zone=new x.d(t.zones[n],null));for(n=0;n<t.routines.length;n++)t.routines[n].graph=!1,t.routines[n].graph=t.plotRoutineChart(t.routines[n]);for(n=0;n<t.routines.length;n++)t.routines[n].graph=!1,t.routines[n].graph=t.plotRoutineChart(t.routines[n]);t.chartsUpdated=!0,t.showLoadingOverlay=!1})},e.prototype.changePaceZone=function(e){var t=[];this.paceZoneSelected=e.value;for(var n=0;n<this.paceZones.length;n++)this.paceZones[n].id==e.value&&(this.paceZone=this.paceZones[n]);for(n=0;n<this.routines.length;n++)this.routines[n].updatePaceZoneset(this.paceZone),t.push(this.routines[n]);this.routines=t},e.prototype.deleteRoutine=function(e){var t=this;this.dialog.open(IS,{data:e,maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(n){!0===n&&t.routineService.uploadRoutine(e.toUploadDict("D")).subscribe(function(e){t.routineService.fetchNewRoutines(!0)})})},e.prototype.shareRoutine=function(e){this.router.navigate(["/myroutines",e.id,"share"])},e.prototype.fetchRoutines=function(){var e=this;this.routineObserver=this.routineService.fetchRoutinesObs.subscribe(function(t){e.routines=[],e.showLoadingOverlay=!0,e.routineService.listRoutines(null).subscribe(function(t){for(var n=0;n<t.response.routines.length;n++){for(var i=new Yn.a(t.response.routines[n],e.paceZones[0],null,e),r=0;r<e.workoutTypes.length;r++)e.workoutTypes[r].id==i.workoutType&&-1==e.availableWorkoutTypes.indexOf(e.workoutTypes[r])&&e.availableWorkoutTypes.push(e.workoutTypes[r]);try{i.graph=e.plotRoutineChart(i)}catch(a){console.error(a),console.log("ERROR plotting routine chart")}e.routines.push(i)}e.availableWorkoutTypes=e.availableWorkoutTypes.sort(function(e,t){return e.title.toLowerCase().localeCompare(t.title.toLowerCase())}),e.availableWorkoutTypes.unshift({title:"All",id:0}),e.workoutTypeSelection=0,e.localSearch(null),e.routineService.clickRoutinesTab(0),e.showLoadingOverlay=!1})})},e.prototype.ngOnInit=function(){var e=this;this.routinesRoutes=this.routineService.routinesRoutesFilter;var t=50;if(this.AccountService.isLoggedIn){var n=_(this.AccountService.account.birthDate);t=_().diff(n,"years")}this.baseZoneset=Object(x.f)(t),this.workoutTypes=this.WorkoutTypes.getWorkoutTypeData(),this.workoutTypes.shift(),this.workoutTypes[-1]={title:"All",id:-1},this.workoutTypeSelection=-1,this.segmentDefNotes="Segment Notes go here",this.categories="List Categories",this.routineDescription="Routine Description here...",this.routineKeywords="Routine keywords here...",this.isStarTrainer=this.PermissionsService.starTrainerAccess,this.zone=new x.d(this.baseZoneset,null),this.showLoadingOverlay=!0,this.searchSubscription=this.searchChanged.pipe(Object(Re.a)(1e3),Object(je.a)()).subscribe(function(t){e.searchParams=t,console.log(t),e.localSearch(null)}),this.WorkoutsService.getZonesets().subscribe(function(n){e.zones=n.response.customZoneSets,e.zones.unshift(Object(x.e)(t)),e.zones.unshift(e.baseZoneset),e.zoneSelected="1"}),this.WorkoutsService.getPaceZonesets().subscribe(function(t){if(0==t.response.customPaceZoneSets.length)e.paceZones.push(new x.a(e.WorkoutsService.DEFAULT_RUN_PACE_ZONESET,"A",e.floatToPace));else for(var n=0;n<t.response.customPaceZoneSets.length;n++)e.paceZones.push(new x.a(t.response.customPaceZoneSets[n],"U",e.floatToPace));try{e.paceZoneSelected=e.paceZones[0].id}catch(i){}e.fetchRoutines(),e.routineService.fetchNewRoutines(!0)})},e.prototype.ngOnDestroy=function(){this.AccountService.isLoggedIn&&this.routineObserver.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](Yn.b),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](B.B),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](v.b))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-youtube"]],decls:4,vars:4,consts:[[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"main-menu-section-heading"],["style","float:right",4,"ngIf"],["routerLink","/activities"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[2,"float","right"],["mat-icon-button","",2,"margin-top","-4px",3,"matMenuTriggerFor","click"],[2,"font-size","35px","margin-left","-10px"],["yPosition","below"],["menu","matMenu"],["mat-menu-item","",1,"material-icon-text",3,"click"],[1,"material-icons","menu-icons"],[1,"menu-text"],[1,"material-icons","menu-icons",2,"color","#3FAE48"],["class","menu-text",4,"ngIf"],[1,"sectionStructure"],[1,"loading-overlay",3,"hidden"],["mat-fab","","class","routineFilterButton",3,"click",4,"ngIf"],["class","routineSelectors",4,"ngIf"],["class","routineTableDiv favCarousel",4,"ngFor","ngForOf"],["class","favCarousel",4,"ngIf"],["class","routineTableDiv",4,"ngIf"],["class","noRoutines",4,"ngIf"],[2,"clear","both","height","30px"],["routerLink","/youtube/overview",4,"ngIf"],[2,"clear","both","height","10px"],["class","youtube_settings",4,"ngIf"],["mat-fab","",1,"routineFilterButton",3,"click"],[1,"material-icons",2,"color","#3FAE48"],[1,"routineSelectors"],["class","activityFilterOption","style","float:left;",4,"ngIf"],[2,"margin-top","5px","float","right"],[1,"searchSection"],["mat-stroked-button","","style","float:left; margin-left:5px;",3,"click",4,"ngIf"],["class","searchSectionExpanded",4,"ngIf"],[1,"activityFilterOption",2,"float","left"],[1,"zoneset-selection",3,"ngModel","selectionChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-stroked-button","",2,"float","left","margin-left","5px",3,"click"],[1,"searchSectionExpanded"],["id","searchBox","placeholder","Search...",1,"routineSearchBox",3,"ngModel","ngModelChange"],[1,"search-selection"],["multiple","",3,"ngModel","ngModelChange","selectionChange"],[1,"search-selection",3,"ngClass"],[3,"ngModel","ngClass","selectionChange","ngModelChange"],[1,"routineTableDiv","favCarousel"],["src","/static/img/icons/star_on_icon.png"],[2,"z-index","0","height","210px",3,"events"],["class","carousel-cell","style","width: 200px",4,"ngFor","ngForOf"],[1,"carousel-cell",2,"width","200px"],["style","z-index:1;",3,"src",4,"ngIf"],["style","z-index:1;","class","routineGraphCarousel",3,"Highcharts","options","update","oneToOne","updateChange",4,"ngIf"],["style","width: 40px; float:left; margin-top:-40px;",3,"src",4,"ngIf"],[1,"durationCarousel"],["style","padding-right:5px;",4,"ngIf"],[1,"distanceCarousel"],[2,"max-width","130px","overflow","hidden","float","left","margin-top","5px"],[2,"z-index","1",3,"src"],[1,"routineGraphCarousel",2,"z-index","1",3,"Highcharts","options","update","oneToOne","updateChange"],[2,"width","40px","float","left","margin-top","-40px",3,"src"],[2,"padding-right","5px"],[2,"font-size","14px"],[1,"favCarousel"],["class","routineTableDiv",3,"hidden",4,"ngFor","ngForOf"],[1,"routineTableDiv",3,"hidden"],["class","carousel-cell",4,"ngFor","ngForOf"],[1,"carousel-cell"],[3,"src"],[3,"src",4,"ngIf"],["class","routineGraphCarousel",3,"Highcharts","options","update","oneToOne","updateChange",4,"ngIf"],[1,"routineGraphCarousel",3,"Highcharts","options","update","oneToOne","updateChange"],[1,"routineTableDiv"],["class","table table-responsive member-status routineTable",3,"hidden",4,"ngFor","ngForOf"],[1,"table","table-responsive","member-status","routineTable",3,"hidden"],[2,"width","100%"],[1,"healthTableHeader"],[1,"th-health",2,"text-align","right","min-width","100px"],[2,"float","left",3,"click"],["style","float: left;","class","material-icons",4,"ngIf"],[1,"th-health",2,"text-align","right","width","90px"],[1,"right-align",3,"click"],["style","float: right;","class","material-icons",4,"ngIf"],["src","/static/img/icons/squareDurationIcon.png","width","24px",2,"float","left","margin-right","3px"],[1,"th-health","right-align",2,"width","90px",3,"click"],["src","/static/img/icons/squareDistanceIcon.png","width","24px",1,"distanceIcon",2,"float","left","margin-right","3px"],[4,"ngFor","ngForOf"],[1,"material-icons",2,"float","left"],[1,"material-icons",2,"float","right"],[2,"cursor","pointer",3,"click"],[1,"routineTitleRow"],[1,"actvityIcon",3,"src"],[1,"routineTitle"],[1,"routineTitle","left-align"],[1,"routineTitle","left-align",2,"min-width","120px"],["mat-icon-button","",2,"margin-top","-10px","float","right",3,"matMenuTriggerFor","click"],["yPosition","above"],["mat-menu-item","",3,"disabled","click",4,"ngIf"],["mat-menu-item","",3,"click"],[3,"click"],["colspan","3",1,"thumbnailContainer"],["style","float:left; width:200px;",3,"src",4,"ngIf"],["colspan","3",1,"structuredDetails",3,"hidden"],[2,"margin-top","10px"],["class","categoryDisplay",4,"ngFor","ngForOf"],[1,"seriesRepeats"],[1,"showStructuredDetail",3,"click"],["mat-menu-item","",3,"disabled","click"],[3,"ngStyle"],[3,"hidden"],[2,"float","left","width","200px",3,"src"],["class","routineGraph",3,"Highcharts","options","update","oneToOne","updateChange",4,"ngIf"],[1,"routineGraph",3,"Highcharts","options","update","oneToOne","updateChange"],["href","#"],["class","video-player-container",4,"ngIf"],["style","width: 400px;height: 300px",4,"ngIf"],[1,"video-player-container"],["frameborder","0",1,"responsive-iframe",3,"src"],[2,"width","400px","height","300px"],["vgProperty","current","vgFormat","mm:ss"],["vgProperty","left","vgFormat","mm:ss"],["id","singleVideo","preload","auto",3,"vgMedia"],["media",""],["type","video/mp4",3,"src"],[1,"categoryDisplay"],[1,"structruedDetailTitles"],["class","seriesContainer",4,"ngFor","ngForOf"],[1,"seriesContainer"],[1,"routineDetailsTableCell","routineSeriesHeader"],[1,"routineDetailsTableCell","routineDetailSection"],[1,"noRoutines"],["routerLink","/youtube/overview"],[1,"betaNotice"],["src","/static/img/youtube_icon_sm.png",2,"margin-right","10px"],[1,"youtube_settings"],["mat-stroked-button","",2,"float","right",3,"click"],["class","routineSelectors","style","clear:both;margin-top:54px;",4,"ngIf"],[1,"routineSelectors",2,"clear","both","margin-top","54px"],[1,"routineFilterOption",3,"ngClass"],[1,"zoneset-selection",3,"ngModel","ngClass","selectionChange","ngModelChange"],["mat-stroked-button","","style","float:right; margin:0px 0px 20px 0px;clear:right;",3,"click",4,"ngIf"],["mat-stroked-button","",2,"float","right","margin","0px 0px 20px 0px","clear","right",3,"click"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275template"](1,Zk,7,1,"div",1),i["\u0275\u0275template"](2,$k,1,0,"app-login-notify",2),i["\u0275\u0275template"](3,xE,14,12,"div",3),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn))},directives:[y.NgClass,y.NgIf,S.f,k.b,gt.d,O.a,gt.a,gt.b,Yo.a,y.NgForOf,fe.c,fe.g,Ae.a,de.o,de.r,m.o,de.c,oi,si.a,y.NgStyle,HS,WS,US,tC,oC,rC,aC,cC,sC,nC,lC,NS],pipes:[M.c,y.KeyValuePipe,B.hb,B.Q,y.DecimalPipe,B.f,y.DatePipe,B.R,B.h,B.db],styles:[".routineGraph[_ngcontent-%COMP%]{width:120px;height:90px;display:block}.routineGraphCarousel[_ngcontent-%COMP%]{width:200px;height:150px;display:block}.routineTable[_ngcontent-%COMP%]{border:none;float:left;margin-top:30px;margin-bottom:50px;font-family:Helvetica neue,Helvetica,sans-serif!important}.routineSelectors[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-bottom:20px;float:left}.routineFilterOption[_ngcontent-%COMP%], .routineSelectors[_ngcontent-%COMP%], .routineViewOptions[_ngcontent-%COMP%]{margin-left:0;width:100%}.routineViewOptions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-bottom:25px;float:left}.routineDetailSection[_ngcontent-%COMP%]{margin-left:20px;margin-bottom:5px;margin-top:5px}.structuredDetails[_ngcontent-%COMP%]{border-top:none}.thumbnailContainer[_ngcontent-%COMP%]{border:none!important;padding:0 0 10px 10px}.activityFilterOption[_ngcontent-%COMP%]{margin:10px 0 0;max-width:220px}.seriesRepeats[_ngcontent-%COMP%]{font-weight:700;margin:10px 0;clear:both}.showStructuredDetail[_ngcontent-%COMP%]{color:#4597cb;float:right;cursor:pointer;font-weight:400;width:100%;text-align:right;margin-bottom:20px}.categoryDisplay[_ngcontent-%COMP%]{border:1px solid #b2b2b2;padding:3px;float:left;margin-right:5px;margin-top:5px}.structruedDetailTitles[_ngcontent-%COMP%]{font-weight:700}.seriesContainer[_ngcontent-%COMP%]{border-top:1px solid #b2b2b2;padding-top:5px}.healthTableDiv[_ngcontent-%COMP%]{width:100%;padding-left:20px;padding-right:20px;float:left}.routineSeriesHeader[_ngcontent-%COMP%]{padding-bottom:0;font-weight:500}.noRoutines[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center;margin-bottom:20px}.PrivacyGroup[_ngcontent-%COMP%]{display:flex;flex-direction:column}.categoryInputWrap[_ngcontent-%COMP%]{max-width:400px}.categoryInput[_ngcontent-%COMP%]{border-bottom:1px solid #b2b0b0;border-radius:0;height:30px}.routineShareInput[_ngcontent-%COMP%]{display:flex;flex-direction:column}.th-health[_ngcontent-%COMP%]{padding:8px!important;font-weight:400!important;border:none!important}.routineTitle[_ngcontent-%COMP%], .th-health[_ngcontent-%COMP%]{font-size:18px;font-family:Helvetica neue,Helvetica,sans-serif!important}.routineTitle[_ngcontent-%COMP%]{color:#4597cb;font-weight:400}.routineTitleRow[_ngcontent-%COMP%]{vertical-align:baseline!important}.sharedText[_ngcontent-%COMP%]{float:right;text-align:right;color:#3fae48;font-weight:700}.shareButton[_ngcontent-%COMP%]{margin:0 0 0 10px;float:right}.mat-radio-label[_ngcontent-%COMP%], label[_ngcontent-%COMP%]{font-weight:400!important}.actvityIcon[_ngcontent-%COMP%]{width:24px;margin-right:10px}.routineDescription[_ngcontent-%COMP%]{margin-top:10px}.distanceIcon[_ngcontent-%COMP%]{float:right;margin-right:75px}.previewVideo[_ngcontent-%COMP%]{margin:auto;width:640px;height:480px;text-align:center}.routineSegment[_ngcontent-%COMP%]{display:block;height:40px;width:100%;float:left;padding:10px;text-align:center;border:1px solid;cursor:pointer;margin-bottom:5px}.routineSegment[_ngcontent-%COMP%]:hover{background-color:rgba(69,151,203,.3)!important}.tab_menu_icons[_ngcontent-%COMP%]{max-width:20px;max-height:20px;margin-top:0;vertical-align:middle;margin-left:-20px}.routineFilterButton[_ngcontent-%COMP%]{float:right;margin-top:10px;margin-bottom:-25px;clear:both;z-index:10}.routineFavoriteButton[_ngcontent-%COMP%]{float:left;margin-top:10px;margin-bottom:20px}.favCarousel[_ngcontent-%COMP%]{clear:both}.betaNotice[_ngcontent-%COMP%]{width:100%;float:left;text-align:center;border:1px solid rgba(226,227,228,.3);border-radius:5px;padding:10px;margin:5px 0}.header_add_button[_ngcontent-%COMP%]{float:right;margin-top:-7px}.menu-icons[_ngcontent-%COMP%]{margin-top:13px;float:left}.youtube_settings[_ngcontent-%COMP%]{float:left;width:100%;clear:both;margin-bottom:20px}@media(max-width:767px){.healthTableDiv[_ngcontent-%COMP%]{padding-left:5px;padding-right:5px}.routineSelectors[_ngcontent-%COMP%]{margin-left:5px}}@media(max-width:620px){.shareButton[_ngcontent-%COMP%]{margin-right:0}}@media(max-width:479px){.shareButton[_ngcontent-%COMP%]{clear:both}.distanceIcon[_ngcontent-%COMP%]{float:right;margin-right:10px}.previewVideo[_ngcontent-%COMP%]{margin:auto;width:100%;height:auto}}"]}),e}(),wE=n("1kSV");function SE(e,t){1&e&&i["\u0275\u0275element"](0,"div",6)}function CE(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Kilometers")))}function kE(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Miles")))}function OE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"secondsToH"),i["\u0275\u0275elementStart"](3,"span"),i["\u0275\u0275elementStart"](4,"small"),i["\u0275\u0275text"](5,"h"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,n.durationCount)," ")}}function EE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.displayTitle)}}function ME(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.description.title)}}function IE(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Kilometers")))}function PE(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Miles")))}function TE(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"small"),i["\u0275\u0275elementStart"](1,"small"),i["\u0275\u0275text"](2,"h"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function DE(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"small"),i["\u0275\u0275elementStart"](1,"small"),i["\u0275\u0275text"](2,"m"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function LE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"td",30),i["\u0275\u0275elementStart"](1,"a",31),i["\u0275\u0275elementStart"](2,"div"),i["\u0275\u0275elementStart"](3,"div",32),i["\u0275\u0275elementStart"](4,"div",33),i["\u0275\u0275template"](5,EE,2,1,"span",4),i["\u0275\u0275template"](6,ME,2,1,"span",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",26),i["\u0275\u0275element"](8,"img",34),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",26),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"number"),i["\u0275\u0275pipe"](12,"milesToKm"),i["\u0275\u0275elementStart"](13,"div",25),i["\u0275\u0275template"](14,IE,3,3,"span",4),i["\u0275\u0275template"](15,PE,3,3,"span",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"div",26),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"number"),i["\u0275\u0275elementStart"](19,"div",25),i["\u0275\u0275text"](20),i["\u0275\u0275pipe"](21,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"div",26),i["\u0275\u0275text"](23),i["\u0275\u0275pipe"](24,"secondsToH"),i["\u0275\u0275template"](25,TE,3,0,"small",4),i["\u0275\u0275pipe"](26,"secondsToH"),i["\u0275\u0275text"](27),i["\u0275\u0275pipe"](28,"secondsToM"),i["\u0275\u0275template"](29,DE,3,0,"small",4),i["\u0275\u0275pipe"](30,"secondsToM"),i["\u0275\u0275elementStart"](31,"div",25),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate1"]("href","activity/",n.id,"/detail",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",n.description.title!=n.displayTitle),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.description.title==n.displayTitle),i["\u0275\u0275advance"](2),i["\u0275\u0275classMap"](n.iconBorder),i["\u0275\u0275propertyInterpolate"]("src",n.icon,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.isMetric?n.distance?i["\u0275\u0275pipeBind1"](12,20,n.distance):"--":n.distance?i["\u0275\u0275pipeBind2"](11,17,n.distance,"1.0-2"):"--"," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.isMetric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isMetric),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("",n.summary.calories?i["\u0275\u0275pipeBind2"](18,22,n.summary.calories,"1.0-0"):"--"," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](21,25,"ROOT.Calories")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](24,27,n.summary.elapsedSeconds),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",i["\u0275\u0275pipeBind1"](26,29,n.summary.elapsedSeconds)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](28,31,n.summary.elapsedSeconds),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",i["\u0275\u0275pipeBind1"](30,33,n.summary.elapsedSeconds)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](33,35,"ROOT.Duration"))}}function RE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"tr",22),i["\u0275\u0275template"](1,LE,34,37,"td",29),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showActivities)}}function jE(e,t){if(1&e&&i["\u0275\u0275element"](0,"img",39),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275propertyInterpolate"]("src",n.routineIcon,i["\u0275\u0275sanitizeUrl"])}}function AE(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"td",36),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).router.navigate(["/scheduling"])}),i["\u0275\u0275elementStart"](1,"div",26),i["\u0275\u0275element"](2,"img",37),i["\u0275\u0275template"](3,jE,1,1,"img",38),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",26),i["\u0275\u0275text"](5),i["\u0275\u0275elementStart"](6,"div",25),i["\u0275\u0275elementStart"](7,"span"),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",26),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",26),i["\u0275\u0275text"](12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("src",r.icon,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.routineIcon),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.workoutType," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](r.routineName),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.scheduledType," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.timeDisplay," ")}}function FE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"tr",22),i["\u0275\u0275template"](1,AE,13,6,"td",35),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.workoutType)}}function BE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"tr",22),i["\u0275\u0275elementStart"](1,"td",30),i["\u0275\u0275elementStart"](2,"div",40),i["\u0275\u0275elementStart"](3,"div",26),i["\u0275\u0275element"](4,"img",41),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"div",26),i["\u0275\u0275elementStart"](6,"div",26),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"number"),i["\u0275\u0275elementStart"](9,"div",25),i["\u0275\u0275elementStart"](10,"span"),i["\u0275\u0275text"](11,"BMI"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"div",26),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"number"),i["\u0275\u0275pipe"](15,"number"),i["\u0275\u0275elementStart"](16,"div",25),i["\u0275\u0275elementStart"](17,"span"),i["\u0275\u0275text"](18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngbPopover",n.weightPopover)("popoverClass","popoverClass"),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](8,5,n.weight.measures.weight/(n.AccountService.account.height*n.AccountService.account.height)*703,"1.0-1")||"-"," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",n.isMetric?i["\u0275\u0275pipeBind2"](14,8,.453592*n.weight.measures.weight,"1.0-1"):i["\u0275\u0275pipeBind2"](15,11,n.weight.measures.weight,"1.0-1")||"-"," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](n.kgOrlbs)}}function zE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"tr",22),i["\u0275\u0275elementStart"](1,"td",30),i["\u0275\u0275elementStart"](2,"div",40),i["\u0275\u0275elementStart"](3,"div",26),i["\u0275\u0275element"](4,"img",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"div",26),i["\u0275\u0275elementStart"](6,"div",26),i["\u0275\u0275text"](7),i["\u0275\u0275elementStart"](8,"div",25),i["\u0275\u0275elementStart"](9,"span"),i["\u0275\u0275text"](10,"Z-Score"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",26),i["\u0275\u0275text"](12),i["\u0275\u0275elementStart"](13,"div",25),i["\u0275\u0275element"](14,"span"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",n.sleep.measures.sleepScore||"-"," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",n.returnZ(n.sleep.measures.totalZ)||"-"," ")}}function NE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"tr",22),i["\u0275\u0275elementStart"](1,"td",30),i["\u0275\u0275elementStart"](2,"div",40),i["\u0275\u0275elementStart"](3,"div",26),i["\u0275\u0275element"](4,"img",43),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"div",26),i["\u0275\u0275elementStart"](6,"div",26),i["\u0275\u0275text"](7),i["\u0275\u0275elementStart"](8,"div",25),i["\u0275\u0275elementStart"](9,"span"),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"div",26),i["\u0275\u0275text"](13),i["\u0275\u0275elementStart"](14,"div",25),i["\u0275\u0275elementStart"](15,"span"),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",n.bloodpressure.measures.pulse||"-"," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](11,6,"ROOT.Pulse")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",n.bloodpressure.measures.systolic||"-"," / ",n.bloodpressure.measures.diastolic||"-"," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](17,8,"ROOT.systolic")," / ",i["\u0275\u0275pipeBind1"](18,10,"ROOT.diastolic"),"")}}function HE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"tr",22),i["\u0275\u0275elementStart"](1,"td",30),i["\u0275\u0275elementStart"](2,"div",40),i["\u0275\u0275elementStart"](3,"div",26),i["\u0275\u0275element"](4,"img",44),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"div",26),i["\u0275\u0275element"](6,"div",26),i["\u0275\u0275elementStart"](7,"div",26),i["\u0275\u0275text"](8),i["\u0275\u0275elementStart"](9,"div",25),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"](" ",n.pulse.measures.pulse||"-"," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](11,2,"ROOT.RHR"))}}function VE(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",7),i["\u0275\u0275elementStart"](2,"table",1),i["\u0275\u0275elementStart"](3,"tbody"),i["\u0275\u0275elementStart"](4,"tr"),i["\u0275\u0275elementStart"](5,"td",8),i["\u0275\u0275elementStart"](6,"div",9),i["\u0275\u0275elementStart"](7,"div",10),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().arrowClicked(-1)}),i["\u0275\u0275element"](8,"img",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"mat-form-field",12),i["\u0275\u0275elementStart"](10,"button",13),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275reference"](19).open()}),i["\u0275\u0275element"](11,"img",14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"div",15),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275reference"](19).open()}),i["\u0275\u0275elementStart"](13,"span",16),i["\u0275\u0275text"](14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"span"),i["\u0275\u0275text"](16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"input",17),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275reference"](19).open()})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().changeDate(e)})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().dateBinding=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](18,"mat-datepicker",18,19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"div",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().arrowClicked(1)}),i["\u0275\u0275element"](21,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"tr",22),i["\u0275\u0275elementStart"](23,"td",23),i["\u0275\u0275elementStart"](24,"div"),i["\u0275\u0275elementStart"](25,"div",24),i["\u0275\u0275text"](26),i["\u0275\u0275pipe"](27,"number"),i["\u0275\u0275elementStart"](28,"div",25),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"div",26),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"number"),i["\u0275\u0275elementStart"](34,"div",25),i["\u0275\u0275template"](35,CE,3,3,"span",4),i["\u0275\u0275template"](36,kE,3,3,"span",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"div",26),i["\u0275\u0275text"](38),i["\u0275\u0275pipe"](39,"number"),i["\u0275\u0275elementStart"](40,"div",25),i["\u0275\u0275text"](41),i["\u0275\u0275pipe"](42,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"div",26),i["\u0275\u0275template"](44,OE,6,3,"span",4),i["\u0275\u0275pipe"](45,"secondsToH"),i["\u0275\u0275text"](46),i["\u0275\u0275pipe"](47,"secondsToM"),i["\u0275\u0275elementStart"](48,"small"),i["\u0275\u0275text"](49,"m"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"div",25),i["\u0275\u0275text"](51),i["\u0275\u0275pipe"](52,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](53,RE,2,1,"tr",27),i["\u0275\u0275template"](54,FE,2,1,"tr",27),i["\u0275\u0275template"](55,BE,19,14,"tr",28),i["\u0275\u0275template"](56,zE,15,2,"tr",28),i["\u0275\u0275template"](57,NE,19,12,"tr",28),i["\u0275\u0275template"](58,HE,12,4,"tr",28),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275reference"](19),a=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](14),i["\u0275\u0275textInterpolate"](a.dateBinding.format("MMMM Do, YYYY")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](a.dateBinding.format("dddd")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("matDatepicker",r)("ngModel",a.dateBinding),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](27,20,a.stepsCount,"1.0-1")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](30,23,"ROOT.Steps")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](33,25,a.distanceCount,"1.0-1")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",a.isMetric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!a.isMetric),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](39,28,a.caloriesCount,"1.0-1")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](42,31,"ROOT.Calories")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",i["\u0275\u0275pipeBind1"](45,33,a.durationCount)>0),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](47,35,a.durationCount),""),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](52,37,"ROOT.Duration")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",a.activities),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",a.scheduled),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.hasWeight),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.hasSleep),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.hasBloodPressure),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.hasPulse)}}function YE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"h3",63),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.description," ")}}function WE(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Exercise")," "))}function GE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT."+n.evalInstruction.activityType)," ")}}function UE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,WE,3,3,"span",4),i["\u0275\u0275template"](2,GE,3,3,"span",4),i["\u0275\u0275elementStart"](3,"h1",63),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"number"),i["\u0275\u0275pipe"](6,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275pipe"](9,"lowercase"),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","ALL"==n.evalInstruction.activityType&&n.evalInstruction.units),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.evalInstruction.activityType&&"ALL"!=n.evalInstruction.activityType),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](5,6,n.evalInstruction.minValue,"1.0-0")," ",i["\u0275\u0275pipeBind2"](6,9,n.evalInstruction.maxValue,"1.0-0")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](8,12,"ROOT."+n.evalInstruction.units)," ",i["\u0275\u0275pipeBind1"](9,14,i["\u0275\u0275pipeBind1"](10,16,"ROOT."+n.dateInstruction.dateRange))," ")}}function qE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",64),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](2,1,100*n.score,"1.0-0"),"% ")}}function ZE(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Congratulations! You hit your goal!")," "))}function $E(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate3"](" ",n.evalVal," ",i["\u0275\u0275pipeBind1"](2,5,"ROOT."+n.evalInstruction.units)," ",i["\u0275\u0275pipeBind1"](3,7,"ROOT.complete"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"](" ",n.goalTarget-n.evalVal," ",i["\u0275\u0275pipeBind1"](6,9,"ROOT.remaining")," ")}}function XE(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",65),i["\u0275\u0275template"](1,ZE,3,3,"span",4),i["\u0275\u0275template"](2,$E,7,11,"span",4),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==n.score),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1!=n.score&&n.score>0)}}var KE=function(e){return{width:e}};function JE(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-expansion-panel",45),i["\u0275\u0275elementStart"](1,"mat-expansion-panel-header",46),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"]().navigateGoal(e)}),i["\u0275\u0275element"](2,"canvas",47),i["\u0275\u0275elementStart"](3,"div",48),i["\u0275\u0275elementStart"](4,"div",49),i["\u0275\u0275element"](5,"img",50),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",51),i["\u0275\u0275elementStart"](7,"div",52),i["\u0275\u0275template"](8,YE,3,1,"div",4),i["\u0275\u0275template"](9,UE,11,18,"div",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",53),i["\u0275\u0275elementStart"](11,"div",54),i["\u0275\u0275template"](12,qE,3,4,"span",55),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",56),i["\u0275\u0275elementStart"](14,"div",57),i["\u0275\u0275elementStart"](15,"div",58),i["\u0275\u0275element"](16,"img",59),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](17,"div",60),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](18,"div",61),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](19,XE,3,2,"div",62),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("id",r.goalID),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("src",r.getGoalIcon(),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","WEIGHT_COMPARE_SIMPLE_TARGET"==r.goalType||"WORKOUT_FITNESS_PLAN"==r.goalType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","WEIGHT_COMPARE_SIMPLE_TARGET"!=r.goalType&&"WORKOUT_FITNESS_PLAN"!=r.goalType),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.score<1),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](8,KE,r.progressBarMark+"px")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](10,KE,r.progressBarMark+"px")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==r.score||r.panelOpen)}}var QE=function(){function e(e,t,n,i,r,a,o,s,l,c,d){var u=this;this.AccountService=e,this.router=t,this.WorkoutService=n,this.WorkoutTypes=i,this.translate=r,this.ThemeService=a,this.HealthService=o,this.ScheduleService=s,this.GoalService=l,this.Location=c,this.route=d,this.showLoadingOverlay=!0,this.showActivities=!0,this.goals=[],this.dailyDate=new Date,this.stepsCount=0,this.distanceCount=0,this.caloriesCount=0,this.durationCount=0,this.hasSteps=!1,this.calories=0,this.distance=0,this.duration=0,this.activities=[],this.scheduled=[],this.sleep={},this.hasSleep=!1,this.weight={},this.hasWeight=!1,this.bloodpressure={},this.hasBloodPressure=!1,this.pulse={},this.hasPulse=!1,this.ranConfetti=!1,this.isMetric=this.AccountService.account.isMetric(),this.route.queryParams.subscribe(function(e){u.inputStart=Number(e.date),u.dateBinding=w()(u.inputStart)})}return e.prototype.arrowClicked=function(e){this.showLoadingOverlay=!0;var t=this.dateBinding;t.add(e,"days"),this.inputStart=t.toDate().getTime(),this.dateBinding=w()(t.toDate()),this.Location.go("daily","date="+this.inputStart),this.ngOnInit(),this.ranConfetti=!1},e.prototype.ngOnInit=function(){var e=this;this.scheduled=[],this.sleep={},this.weight={},this.pulse={},this.steps=null,this.stepsCount=0,this.distanceCount=0,this.caloriesCount=0,this.durationCount=0,this.goals=[],this.hasPulse=!1,this.hasSleep=!1,this.hasBloodPressure=!1,this.hasSteps=!1,this.hasWeight=!1,this.inputStart?(this.startDate=w()(this.inputStart),this.startDate.hour(0),this.startDate.minute(0),this.startDate.second(0),this.dailyDate=this.startDate.toDate(),this.endDate=w()(this.inputStart),this.endDate.hour(23),this.endDate.minute(59),this.endDate.second(59),this.endDate.minutes(this.endDate.utcOffset())):(this.startDate=w()(),this.startDate.hour(0),this.startDate.minute(0),this.startDate.second(0),this.endDate=w()(),this.endDate.hour(23),this.endDate.minute(59),this.endDate.second(59)),this.activities=[],this.distance=0,this.duration=0,this.calories=0,Object(ie.a)([this.HealthService.getHealthData(this.startDate,this.endDate,"BP"),this.HealthService.getHealthData(this.startDate,this.endDate,"WT"),this.HealthService.getHealthData(this.startDate,this.endDate,"SLP"),this.WorkoutService.getWorkouts(this.startDate,this.endDate),this.HealthService.getSteps(this.startDate,this.endDate,this.AccountService.account.activityMonitor),this.ScheduleService.listSchedules(),this.GoalService.getDailyGoals(this.startDate)]).subscribe(function(t){for(var n=0;n<t[3].response.workouts.length;n++){var i=new Te.a(t[3].response.workouts[n],e.WorkoutTypes,e.translate.currentLang,e.ThemeService.isDarkTheme);e.activities.push(i)}if(t[0].response.records.length>0){var r=new nf.b(t[0].response.records[0]);r.measures.pulse?(e.hasPulse=!0,e.pulse=r):(e.hasBloodPressure=!0,e.bloodpressure=r)}t[1].response.records.length>0&&(e.hasWeight=!0,e.weight=new nf.b(t[1].response.records[0])),t[2].response.records.length>0&&(e.hasSleep=!0,e.sleep=new nf.b(t[2].response.records[0])),t[4].response.records.length>0&&(e.hasSteps=!0,e.steps=new nf.b(t[4].response.records[0]),e.stepsCount=e.steps.measures.steps,e.distanceCount=e.steps.measures.distance,e.caloriesCount=e.steps.measures.calories,e.durationCount=(Number(e.steps.measures.secondsFairlyActive)||0)+(Number(e.steps.measures.secondsLightlyActive)||0)+(Number(e.steps.measures.secondsVeryActive)||0),e.durationCount=60*(Number(e.durationCount)||0));for(var a,o=e.startDate.toDate().getFullYear()+"-"+Object(B.I)(e.startDate.toDate().getMonth()+1)+"-"+Object(B.I)(e.startDate.toDate().getDate()),s=0;s<t[6].response.records.length;s++){var l=new xu.a(t[6].response.records[s],null,e.translate,o);l.isDailyGoal&&e.goals.push(l)}for(var c=t[5].response,d=0;d<t[5].response.schedules.length;d++){var u=!1,p=new bh.a(c.schedules[d],e.WorkoutTypes,e.translate.currentLang),h=new Date(p.scheduleDate).getDate()==e.startDate.toDate().getDate(),m="achievements"+e.WorkoutTypes.getWorkoutType(p.ecomodule.toString()).title.replace(/\s+/g,"").toUpperCase()+"_icon.png",g={scheduled:!0,scheduleComplete:!1,summary:{startTime:p.scheduleDate},icon:"https://my.fitdigits.com/static/img/theme/site/workout_type_icons/"+m,dateDisplay:"",timeDisplay:"",scheduledType:"",workoutType:p.workoutType,routineName:"",routineIcon:""};if(null!=p.routine&&(g.routineName=p.routine.name,g.routineIcon="/static/img/structured-workouts-icon.png"),p.isDaily?(g.scheduledType="Daily",g.dateDisplay=p.scheduleDateMoment.format("h:mm a")):p.isOneTime?a=new Date(p.scheduleDateMoment).getDate():p.isWeekly?(a=new Date(p.scheduleDateMoment).getDay(),g.dateDisplay=p.scheduleDateMoment.format("dddd")+" "+p.scheduleDateMoment.format("h:mm a"),g.scheduledType="Weekly"):p.isMonthly&&(a=new Date(p.scheduleDateMoment).getDate(),g.scheduledType="Monthly",g.dateDisplay=p.scheduleDateMoment.format("h:mm a")+" on day "+p.scheduleDateMoment.date()),g.timeDisplay=p.scheduleDateMoment.format("h:mm a"),(p.isWeekly&&a==e.startDate.toDate().getDay()||h)&&(u=!0),u){var f=!1;for(n=0;n<e.activities.length;n++)e.activities[n].ecomodule==p.ecomodule&&(f=!0);f||e.scheduled.push(g)}}e.showLoadingOverlay=!1})},e.prototype.changeDate=function(e){this.inputStart=e.toDate().getTime(),this.ngOnInit()},e.prototype.navigateGoal=function(e){this.router.navigate(["/goals",e.goalID])},e.prototype.returnZ=function(e){if(!e||e<=0)return!1;var t=Math.floor(e/60),n=Math.round(e%60);return t>0&&0==n?t+"h":t>0?t+"h "+n+"m":n+"m"},e.prototype.confetti=function(e){console.log("Checking confetti"),new $l({target:e}).render()},e.prototype.ngAfterViewChecked=function(){if(0==this.showLoadingOverlay&&this.AccountService.isLoggedIn&&0==this.ranConfetti){for(var e=0;e<this.goals.length;e++)1==this.goals[e].score&&this.confetti(document.getElementById(this.goals[e].goalID));this.ranConfetti=!0}},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](nf.a),i["\u0275\u0275directiveInject"](bh.b),i["\u0275\u0275directiveInject"](o.a),i["\u0275\u0275directiveInject"](y.Location),i["\u0275\u0275directiveInject"](S.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-daily-summary"]],features:[i["\u0275\u0275ProvidersFeature"]([{provide:m.c,useClass:Ih,deps:[m.f,Eh]},{provide:m.e,useValue:B.e}])],decls:10,vars:3,consts:[["class","loading-overlay",4,"ngIf"],[1,"full-width"],[1,"calendarTableBodyWeek"],[1,"noBorder"],[4,"ngIf"],["id","dailyGoalsList","class","goalslist list-group","data-icon","false","hideToggle","",4,"ngFor","ngForOf"],[1,"loading-overlay"],[1,"stats-container"],[1,"dayDateTitle"],[2,"display","flex","justify-content","center"],[2,"width","7%",3,"click"],["src","/static/img/grey-arrow-back.png",1,"left-datepicker-arrow"],["appearance","none",1,"date-picker-main"],["mat-button","",2,"padding","0","float","left",3,"click"],["src","/static/img/calendar-icon-color.png",2,"width","40px"],[2,"display","flex","justify-content","center","flex-direction","column","text-align","center","cursor","pointer",3,"click"],[2,"font-size","25px"],["matInput","","hidden","",2,"flex-grow","2","text-align","center",3,"matDatepicker","ngModel","click","ngModelChange"],[2,"border","0"],["input2",""],[2,"width","7%","text-align","right",3,"click"],["src","/static/img/grey-arrow-forward.png",1,"right-datepicker-arrow"],[1,"w_calendarWorkoutListSmall"],[1,"weeklyCalendarDayRow",2,"border","0px"],[1,"col1ActivityDetail","stepsRow"],[1,"calStatTotalsLabel"],[1,"col1ActivityDetail"],["class","w_calendarWorkoutListSmall",4,"ngFor","ngForOf"],["class","w_calendarWorkoutListSmall",4,"ngIf"],["class","weeklyCalendarDayRow",4,"ngIf"],[1,"weeklyCalendarDayRow"],[3,"href"],[1,"planItemTitle"],[2,"float","left"],[2,"width","50px",3,"src"],["class","weeklyCalendarDayRow",3,"click",4,"ngIf"],[1,"weeklyCalendarDayRow",3,"click"],["align","middle",2,"width","50px",3,"src"],["style","width: 20px;",3,"src",4,"ngIf"],[2,"width","20px",3,"src"],[1,"detailHealthRow"],["src","/static/img/icons/squareWeightIcon.png","triggers","mouseenter:mouseleave",1,"healthIconWeekly",3,"ngbPopover","popoverClass"],["src","/static/img/icons/sleep-icon.png",1,"healthIconWeekly"],["src","/static/img/icons/bp-icon.png",1,"healthIconWeekly"],["src","/static/img/icons/resting-pulse-icon.png",1,"healthIconWeekly"],["id","dailyGoalsList","data-icon","false","hideToggle","",1,"goalslist","list-group"],[1,"goalsListItem",2,"min-height","100px","height","unset !important","cursor","pointer",3,"click"],[2,"position","absolute",3,"id"],[2,"display","flex","width","100%","justify-content","center","flex-wrap","wrap"],[2,"display","flex","align-items","center"],[1,"goalTypeIcon",3,"src"],[2,"flex-grow","1","display","flex","flex-direction","column","align-items","center"],[1,"goalDescriptionText",2,"margin-left","0px"],[1,"progressBarContent"],[1,"goalsListProgressPct"],["class","redText bold",4,"ngIf"],[1,"goalProgressBarContainer","progressBarContainer"],[1,"absolute"],[1,"progressBarMarker",3,"ngStyle"],["width","24","height","22","src","/static/img/icons/progressBarMarkerIcon2.png",1,"progressBarMarkerImg"],[1,"progressBarOnBkgrnd",2,"float","unset !important",3,"ngStyle"],[1,"clearboth"],["class","goalDetailProgressDescription",4,"ngIf"],[2,"margin-top","4px"],[1,"redText","bold"],[1,"goalDetailProgressDescription"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,SE,1,0,"div",0),i["\u0275\u0275elementStart"](1,"table",1),i["\u0275\u0275elementStart"](2,"tbody",2),i["\u0275\u0275elementStart"](3,"tr"),i["\u0275\u0275elementStart"](4,"td",3),i["\u0275\u0275elementStart"](5,"div"),i["\u0275\u0275elementStart"](6,"div"),i["\u0275\u0275template"](7,VE,59,39,"div",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-accordion"),i["\u0275\u0275template"](9,JE,20,12,"mat-expansion-panel",5),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngIf",t.showLoadingOverlay),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("ngIf",!t.showLoadingOverlay),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.goals))},directives:[y.NgIf,Wo.a,y.NgForOf,fe.c,k.b,be.b,Ol.b,de.c,de.o,de.r,Ol.a,wE.b,Wo.c,Wo.f,y.NgStyle],pipes:[y.DecimalPipe,M.c,B.cb,B.ib,B.Q,y.LowerCasePipe],styles:[".mat-expansion-indicator{margin-right:5px}  .mat-expansion-panel-body{padding:0!important}  .mat-accordion .mat-expansion-panel:first-of-type{border-top-right-radius:0!important;border-top-left-radius:0!important}.progressBarContainer[_ngcontent-%COMP%]{width:256px;height:18px;background:transparent url(/static/img/bkgrnd/progressBarOffBkgrnd.png) 0 no-repeat;margin:auto}.progressBarOnBkgrnd[_ngcontent-%COMP%]{height:18px;background:transparent url(/static/img/bkgrnd/progressBarOnBkgrnd.png) 0 no-repeat;float:left}.absolute[_ngcontent-%COMP%]{position:absolute}.redText[_ngcontent-%COMP%]{color:#c82d33}.bold[_ngcontent-%COMP%]{font-weight:700}.progressBarMarkerImg[_ngcontent-%COMP%]{float:right;position:relative;left:12px}.goalProgressStats[_ngcontent-%COMP%]{margin-left:5px;font-size:14px;color:#6d6b6b}.addGoalEmbeded[_ngcontent-%COMP%]{float:left;width:100%;margin-top:5px}.goalsListDivider[_ngcontent-%COMP%]{margin-top:25px!important;background-color:#b2b2b2}.goalsFavItem[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:60px;background-position:0 0;padding:10px 0;border-bottom:0 solid #b2b2b2}.goalsSetContainer[_ngcontent-%COMP%]{text-decoration:none!important;border:0 solid #b2b2b2;float:left;width:100%;margin-bottom:20px}.FavGoalDescriptionText[_ngcontent-%COMP%]{width:100%;max-width:920px}.goalTypeIcon[_ngcontent-%COMP%]{width:50px;margin:auto;text-align:center;padding-top:10px}.goalTypeIconContainer[_ngcontent-%COMP%]{float:left;width:100%;text-align:center;margin-top:20px}.goals_progress2[_ngcontent-%COMP%]{padding-bottom:30px}.goals_history2[_ngcontent-%COMP%], .goals_progress2[_ngcontent-%COMP%]{float:left;width:100%}#goals_history_overlay[_ngcontent-%COMP%]{width:45%;float:right}.goalTopIcon[_ngcontent-%COMP%]{width:0;visibility:hidden}.goalFavIcon[_ngcontent-%COMP%]{float:none;margin-top:20px;margin-bottom:20px}.goalRightMore[_ngcontent-%COMP%]{margin:0}.goalsListItem[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:60px;background-position:10px 20px;margin:0;text-align:center}.goalsListItem[_ngcontent-%COMP%]:hover{background-color:rgba(226,227,228,.2)}.goalsListItem[_ngcontent-%COMP%]:active{background-color:rgba(226,227,228,.2)!important}.goalsDetailRow[_ngcontent-%COMP%]{padding:10px 15px .2em!important;background-color:transparent!important;background-image:url(/static/img/icons/right_arrow_gray.png)!important;background-repeat:no-repeat!important;background-position:100%!important;border:none!important;border-bottom:1px solid #b2b2b2!important}.goalDetailStats[_ngcontent-%COMP%]{border-bottom:0 solid #b2b2b2;padding:25px 25px 0;background-repeat:no-repeat;background-size:100px;background-position:0}.goalDetailProgressDescription[_ngcontent-%COMP%]{margin-bottom:10px;padding:0 20px 10px}.favGoalDescription[_ngcontent-%COMP%]{margin-top:10px}.goalProgressText[_ngcontent-%COMP%]{margin-top:0;margin-bottom:20px;font-size:18px;padding:0 20px 10px}.progressBarContent[_ngcontent-%COMP%]{clear:both;margin-top:20px;margin-bottom:20px}.mainGoaldesc[_ngcontent-%COMP%]{margin:auto;font-size:24px;font-weight:400;padding-top:10px}.goalIconImage[_ngcontent-%COMP%]{max-height:50px;max-width:50px;padding:0 5px}#goalProgressBar[_ngcontent-%COMP%]{display:inline-block;margin-top:10px}.deleteGoalButton[_ngcontent-%COMP%]{clear:both;margin:auto;text-align:center;padding-top:60px}.goalGraphTitle[_ngcontent-%COMP%]{text-align:center}.myGoalText[_ngcontent-%COMP%]{clear:both;margin-bottom:10px;font-size:24px}.goalIconPopoup[_ngcontent-%COMP%]{width:30px;margin-left:-45px;margin-top:-7px}.goalsDurationSegment[_ngcontent-%COMP%]{float:left;width:100%}.fullGoalListContainer[_ngcontent-%COMP%]{float:left;margin-bottom:60px;width:100%}#goalsPageSetGoalText[_ngcontent-%COMP%]{font-weight:400}.goalslist[_ngcontent-%COMP%]{clear:both;margin:0;background:unset}.progressPercent[_ngcontent-%COMP%]{font-size:18px;margin-top:10px}.goalsDivider[_ngcontent-%COMP%]{cursor:pointer;background-image:none!important;background-color:transparent!important;text-shadow:none!important;font-size:16px!important;font-weight:500!important;padding:10px 10px 10px 15px!important;border-top:none!important;border-right:none!important;border-left:none!important;margin-bottom:0;width:100%;float:left;clear:both;margin-top:0}#goalslist[_ngcontent-%COMP%]{margin-top:15px!important;border-top:5px solid #000}#goals_history_graph_canvas[_ngcontent-%COMP%], #goals_progress_graph_canvas[_ngcontent-%COMP%]{width:100%!important;max-height:300px!important}#goals_favorite_graph_canvas[_ngcontent-%COMP%]{width:97%!important;height:300px!important;margin:-15px}#goalsPageMainGoalProgress[_ngcontent-%COMP%]{font-size:18px;padding-bottom:10px}.goalOptions[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{color:#000!important}#headerGoalImage[_ngcontent-%COMP%]{max-width:500px;margin:0 auto 10px}#goalsListPageGoalProgress[_ngcontent-%COMP%]{font-size:16px;padding-bottom:0;text-align:center;margin:10px auto}#goalsPageMainGoalProgress[_ngcontent-%COMP%]{padding-bottom:0;text-align:center;margin:-5px auto}.goalListProgressDescription[_ngcontent-%COMP%]{margin-top:10px}.goalsListProgressPct[_ngcontent-%COMP%]{width:340px;text-align:right;margin:-20px auto}.goalsProgressTimeText[_ngcontent-%COMP%]{font-size:14px;color:#000;padding-bottom:10px}.goalOptions[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:20px!important;font-weight:400!important}#goalsPageMainGoalProgress[_ngcontent-%COMP%]{font-size:16px}.goalMetric[_ngcontent-%COMP%]{margin-top:4px;font-size:36px;font-weight:500}.goalMetricLarge[_ngcontent-%COMP%]{font-size:50px;font-weight:500}.fieldBorder50[_ngcontent-%COMP%]{border:1px solid #999;width:50%}.popupFieldLabel[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{display:inline;margin-left:5px;font-size:32px}.goalSelectLabel[_ngcontent-%COMP%]{margin-left:5px;font-size:32px;font-weight:400}#goalsPageSetGoal[_ngcontent-%COMP%]{margin:20px auto 40px;width:80%;max-width:640px;padding:17px;border-radius:6px;font-size:20px;font-weight:200;border:1px solid #b2b2b2;background-color:#4597cb;color:#fff;cursor:pointer;display:block}#goalsPageSetGoal[_ngcontent-%COMP%], .goalsPageSetGoalText[_ngcontent-%COMP%]{text-decoration:none!important;text-align:center}.goalsPageSetGoalText[_ngcontent-%COMP%]{text-shadow:none!important;margin:25px auto auto}#newGoalBtn2[_ngcontent-%COMP%]{float:left;padding-right:15px;margin-top:-10px}#goalsPageMaxGoalsReached[_ngcontent-%COMP%]{border-top:0 solid #ccc;padding:40px 20px 20px}.oneHalf[_ngcontent-%COMP%]{width:50%}.createGoalInput[_ngcontent-%COMP%]{color:#4597cb!important;font-size:24px!important;font-weight:400!important;padding:0;width:150px!important;border:none;border-bottom:2px solid #4597cb;float:left;text-align:center;text-transform:lowercase;border-radius:0!important}.borderGrey[_ngcontent-%COMP%]{border:none!important;border-bottom:1px solid #b2b2b2!important}.borderGreyLeft[_ngcontent-%COMP%]{border-left:1px solid #b2b2b2}.createGoalDialog[_ngcontent-%COMP%]{padding:0}.createGoalDialog[_ngcontent-%COMP%], .createGoalMDInput[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;text-align:center}.createGoalMDInput[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;color:#4597cb!important;border-radius:0!important;margin:20px auto!important;float:none}.mdinputcontainer[_ngcontent-%COMP%]{margin:0!important}.goalInputLabel[_ngcontent-%COMP%]{vertical-align:middle;font-weight:400;margin-bottom:0}.createGoalWizardActivity[_ngcontent-%COMP%]{margin:auto}#createGoalWizardActivity_dummy[_ngcontent-%COMP%], .createGoalWizardActivity[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;font-weight:400;font-size:24px!important;padding:0;width:320px;border-radius:0!important}.goalHeader[_ngcontent-%COMP%]{font-size:32px;padding-top:25px;padding-bottom:0;margin:auto;text-align:center;width:100%}.goalHeaderImage[_ngcontent-%COMP%]{float:left;width:75px;padding-right:20px}.goalDistanceInput[_ngcontent-%COMP%]{border:0 solid #000;min-width:320px;max-width:420px;margin:0 auto 10px}@media (min-width:768px){#createGoalWizardActivity_dummy[_ngcontent-%COMP%]{font-size:32px!important;width:420px}.goalHeader[_ngcontent-%COMP%]{padding-top:50px}.goalHeaderImage[_ngcontent-%COMP%]{width:150px;height:150px}}.accordion-section-content[_ngcontent-%COMP%]{display:none}#createGoalWizardSource[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;font-size:18px;font-weight:400;padding:0;border-radius:0!important}#setGoalHeader[_ngcontent-%COMP%]{margin:0 auto}#createGoalWizardWeightGoal_dummy[_ngcontent-%COMP%], #createGoalWizardWeightGoalA_dummy[_ngcontent-%COMP%], #createGoalWizardWeightGoalM_dummy[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;font-size:24px;font-weight:400;padding:0;width:320px!important;margin:auto;border-radius:0!important}.noBorder[_ngcontent-%COMP%]{border:none}.textCenter[_ngcontent-%COMP%]{text-align:center}.greyText[_ngcontent-%COMP%]{color:#999}.setGoalHeaderText[_ngcontent-%COMP%]{font-style:italic;line-height:1.5;text-align:center;margin:25px auto 0;width:95%}.goalEntry[_ngcontent-%COMP%]{margin-bottom:30px}.createGoalButton[_ngcontent-%COMP%], .goalEntry[_ngcontent-%COMP%]{text-align:center;font-size:20px}.createGoalButton[_ngcontent-%COMP%]{max-width:640px;width:90%;margin:40px auto 10px;padding-top:17px;padding-bottom:17px;border-radius:6px;border:1px solid #1e597e;background-color:#4597cb;color:#fff;cursor:pointer;font-weight:400;text-shadow:none;text-decoration:none!important;clear:both}.goalCreationText[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;float:left;padding-top:0;text-align:right}.weightGoalCreationText[_ngcontent-%COMP%]{float:right;text-align:center;margin:0 auto 40px}.weightGoalCreationMetricText[_ngcontent-%COMP%], .weightGoalCreationText[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;text-transform:lowercase}.sinkLabelGoal[_ngcontent-%COMP%]{margin-top:12px!important}#createGoalWizardWeightLastDateDisplay[_ngcontent-%COMP%]{font-size:10px;margin:-20px 0 0 110px;color:#b2b2b2}.createGoalDifferenceDisplay[_ngcontent-%COMP%]{text-align:center}#createGoalWizardWeightDiffDisplay[_ngcontent-%COMP%]{margin-top:10px;color:#56c056;font-size:40px;font-weight:400;margin-bottom:2px}#createGoalWizardWeightObjectiveDisplay[_ngcontent-%COMP%]{margin:auto;text-align:center}.createWeightGoalDiff[_ngcontent-%COMP%]{margin:0 auto;text-align:center;width:100%}.inputOnlyWeightGoal[_ngcontent-%COMP%]{border:none!important;border-bottom:2px #4597cb!important;color:#4597cb;margin:20px!important;padding:0!important;margin-bottom:0;position:relative;bottom:10px;left:5px;font-size:24px!important;font-weight:400;border-radius:0!important}.icon64[_ngcontent-%COMP%]{width:64px;padding-left:2px;padding-top:5px;margin-bottom:10px}.healthListItem[_ngcontent-%COMP%]{background:#fff;clear:both}.healthListItem[_ngcontent-%COMP%], .healthListItem[_ngcontent-%COMP%]:hover{border:none;border-top:1px solid #b2b2b2;border-bottom:0 solid #b2b2b2;width:100%}.healthListItem[_ngcontent-%COMP%]:hover{background:#eaebec}.myGoalTextContainer[_ngcontent-%COMP%]{padding-top:30px;padding-bottom:0;text-align:center;background-size:0}.goalDescriptionText[_ngcontent-%COMP%]{width:100%;max-width:920px;padding-bottom:4px;margin:10px 0 0;padding-top:1px;color:#4597cb}.goalDescriptionTextCUHP[_ngcontent-%COMP%]{width:100%;max-width:920px;padding-bottom:4px;text-align:center;margin:0 auto;font-size:14px}.goalDescriptionText[_ngcontent-%COMP%]:hover{text-decoration:none}@media (max-width:500px){.goalDescriptionText[_ngcontent-%COMP%]{max-width:230px;text-align:center}#goalsListPageGoalProgress[_ngcontent-%COMP%], #goalsPageMainGoalProgress[_ngcontent-%COMP%]{max-width:300px}.goalsListItem[_ngcontent-%COMP%]{background-size:60px}.goalsListItem[_ngcontent-%COMP%]:hover{background-color:unset}.achievementsSection[_ngcontent-%COMP%]{padding:10px 5px 20px}.achievementsHeader[_ngcontent-%COMP%]{margin-left:0}.goalMetric[_ngcontent-%COMP%]{font-size:80px}}.goalOptions[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin-left:100px;text-align:left;height:82px;padding-top:30px;margin-top:-18px}.goalOptions[_ngcontent-%COMP%]{margin-top:-12px}.goalDetailLink[_ngcontent-%COMP%]{margin-top:0!important;background-color:transparent!important;border:none!important}#setGoalHeader[_ngcontent-%COMP%]{max-width:500px;margin:20px auto 5px}.setGoalHeaderImg[_ngcontent-%COMP%]{width:100%;padding-bottom:20px}.goalSmallIcon[_ngcontent-%COMP%]{width:44px!important;float:left;margin:-10px 30px 0 20px}.goalBackBar[_ngcontent-%COMP%]{background-color:#eaebec;width:100%;height:34px;text-align:left}.setGoalHeaderTextMain[_ngcontent-%COMP%]{line-height:1.5;text-align:center;margin:auto;font-size:24px;color:#4597cb;font-family:Helvetica neue,Helvetica,sans-serif!important}.ui-listview[_ngcontent-%COMP%]   .ui-li-icon[_ngcontent-%COMP%]{max-height:28px!important;max-width:28px!important;left:10px!important;top:.3em!important}#back[_ngcontent-%COMP%]{font-size:20px;width:100%;height:40px;background:#b2b2b2;padding-top:0}li[_ngcontent-%COMP%]{cursor:pointer}a[_ngcontent-%COMP%]:hover{text-decoration:none}.goalCreateImg[_ngcontent-%COMP%]{float:right;margin-right:20px;width:30px}.goalSelectionPage[_ngcontent-%COMP%]{padding:0 0 30px!important;max-width:768px;margin:auto}.setGoalListContainer[_ngcontent-%COMP%]{padding:0 0 60px;max-width:768px;margin:auto;clear:both}@media(min-width:769px){.setGoalListContainer[_ngcontent-%COMP%]{margin:0 auto 80px;padding:0;max-width:768px}.goalDetailIcon[_ngcontent-%COMP%]{margin:-10px auto 10px}.goalDetailIcon[_ngcontent-%COMP%], .goals_history2[_ngcontent-%COMP%], .goals_progress2[_ngcontent-%COMP%]{float:left;width:100%}#goals_history_overlay[_ngcontent-%COMP%]{width:100%;float:right}}@media(max-width:480px){.myGoalTextContainer[_ngcontent-%COMP%]{padding-top:0;background-position:100% 0;background-repeat:no-repeat;background-size:50px}.mainGoaldesc[_ngcontent-%COMP%]{padding-top:15px;padding-bottom:5px}.goalTopIcon[_ngcontent-%COMP%]{width:50px;visibility:visible;float:right}.goalsListItem[_ngcontent-%COMP%]{background-size:40px;background-position:20px 40px;padding:0}.setGoalListContainer[_ngcontent-%COMP%]{padding:0 5px}.smallGoalText[_ngcontent-%COMP%]{font-size:16px!important}.goalDetailStats[_ngcontent-%COMP%]{background-size:50px;background-position:top;margin-top:0;padding-top:10px;padding-bottom:30px;clear:both}.goalFavoriteIcon[_ngcontent-%COMP%]{float:right;margin-right:0}.myGoalText[_ngcontent-%COMP%]{float:none}.smallInputLabel[_ngcontent-%COMP%]{margin-bottom:-60px;margin-top:-60px}}.setGoalChoice[_ngcontent-%COMP%]{margin:0 0 20px;border-radius:4px;border-color:#b2b2b2}.setGoalChoice[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{background-color:rgba(226,227,228,.2)}.setGoalHeaderClear[_ngcontent-%COMP%]{clear:both;height:5px}@media (max-width:767px){.setGoalHeaderImg[_ngcontent-%COMP%]{padding-top:0}#createGoalWizardWeightLastDateDisplay[_ngcontent-%COMP%]{margin-top:-25px;text-align:center;margin-bottom:20px}.setGoalHeaderContainer[_ngcontent-%COMP%]{background-size:100px}.setGoalHeaderText[_ngcontent-%COMP%]{background-size:50px;margin-top:20px}.goalsFavItem[_ngcontent-%COMP%]{padding-top:0;margin-bottom:0}}@media (max-width:360px){.setGoalHeaderText[_ngcontent-%COMP%]{background-image:none}.goalSmallIcon[_ngcontent-%COMP%]{margin-left:6px;margin-top:-10px;width:44px!important;margin-right:10px}}@media (max-width:330px){.setGoalHeaderTextMain[_ngcontent-%COMP%]{margin-top:20px}.setGoalHeaderContainer[_ngcontent-%COMP%]{background-image:none}}.goalEveryText[_ngcontent-%COMP%]{padding-top:20px;padding-bottom:20px;padding-right:10px;text-align:right;float:left}.goalEveryInput[_ngcontent-%COMP%]{padding-top:36px;padding-bottom:20px;padding-left:0;float:left;max-width:200px;border-radius:0!important}.goalMeasureWithText[_ngcontent-%COMP%]{text-align:right;float:left;padding-bottom:0;padding-right:10px;padding-top:15px;font-weight:400}.goalMeasureWithInput[_ngcontent-%COMP%]{text-align:left;float:left;width:200px;padding-top:15px}.goalCancelText[_ngcontent-%COMP%]{float:right;width:160px}.goalTitleText[_ngcontent-%COMP%]{font-weight:400;box-sizing:unset;outline:none!important;margin:0;padding:36px 0 36px 100px}#goalDuration[_ngcontent-%COMP%]{max-width:200px}.weightGoalCreationPeriod[_ngcontent-%COMP%]{width:500px;text-align:center;margin:auto auto 20px}.weightGoalInput[_ngcontent-%COMP%]{border:none!important;border-bottom:2px solid #4597cb!important;text-align:center;color:#4597cb;padding:0;border-radius:0!important;font-size:24px}.goalSelect[_ngcontent-%COMP%]{margin:30px auto 40px}.mainGoalEntrySection[_ngcontent-%COMP%]{background-color:transparent;width:500px;min-height:370px;margin:auto}.popupErrorAndButtons[_ngcontent-%COMP%]{margin:auto;width:100%;text-align:center;padding-top:10px}.openArrow[_ngcontent-%COMP%]{float:right;padding-right:0}.midGoalText[_ngcontent-%COMP%]{width:40%}@media (max-width:767px){.mainGoalEntrySection[_ngcontent-%COMP%]{background-color:transparent;width:auto;min-height:none}.openArrow[_ngcontent-%COMP%]{padding-right:6px}.goalTitleText[_ngcontent-%COMP%]{padding-left:0;padding-top:30px;text-align:left;margin-left:80px}.midGoalText[_ngcontent-%COMP%]{width:auto;padding-left:20px}.oneHalf[_ngcontent-%COMP%]{width:auto}.goalMeasureWithInput[_ngcontent-%COMP%], .oneHalf[_ngcontent-%COMP%]{padding-left:10px}.weightGoalCreationPeriod[_ngcontent-%COMP%]{width:auto}.weightGoalCurrentText[_ngcontent-%COMP%]{margin-left:0;padding-left:0}.weightGoalCreationText[_ngcontent-%COMP%]{margin-bottom:20px}#createGoalWizardWeightCurrent[_ngcontent-%COMP%]{float:none;text-align:center;margin:auto auto 30px 120px}}@media (max-width:480px){.goalTitleText[_ngcontent-%COMP%]{margin-left:0}.goalDetailProgressDescription[_ngcontent-%COMP%]{margin-top:0;font-size:18px}}@media (max-width:380px){  .mat-expansion-indicator{right:0;position:absolute}.goalsListProgressPct[_ngcontent-%COMP%]{text-align:center;margin:0}}",".date-picker-main[_ngcontent-%COMP%]{min-width:250px;margin-top:-15px}"]}),e}();function eM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",12),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",r.WorkoutTypesService.getWorkoutTypeIcon(n,r.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"])}}function tM(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",3),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().navigate("heart")}),i["\u0275\u0275elementStart"](1,"span",4),i["\u0275\u0275elementStart"](2,"span",5),i["\u0275\u0275elementStart"](3,"span"),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"span"),i["\u0275\u0275elementStart"](6,"span",6),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,eM,2,1,"span",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",8),i["\u0275\u0275elementStart"](11,"highcharts-chart",9),i["\u0275\u0275listener"]("updateChange",function(e){return t.$implicit.update=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"span",10),i["\u0275\u0275element"](13,"img",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",r.zoneset.name," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,6,"ROOT.DEFAULT")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",r.zoneset.activityTypes),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("Highcharts",a.Highcharts)("update",r.update)("options",r.chart)}}function nM(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementStart"](3,"a",13),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().navigate("heart")}),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.No Heart defaults set.")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,4,"ROOT.Set one now")))}function iM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",12),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",r.WorkoutTypesService.getWorkoutTypeIcon(n,r.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"])}}function rM(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",3),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().navigate("pace")}),i["\u0275\u0275elementStart"](1,"span",4),i["\u0275\u0275elementStart"](2,"span",5),i["\u0275\u0275elementStart"](3,"span"),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"span"),i["\u0275\u0275elementStart"](6,"span",6),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,iM,2,1,"span",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",8),i["\u0275\u0275elementStart"](11,"highcharts-chart",9),i["\u0275\u0275listener"]("updateChange",function(e){return t.$implicit.update=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"span",10),i["\u0275\u0275element"](13,"img",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",r.zoneset.name," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,6,"ROOT.DEFAULT")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",r.zoneset.activityTypes),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("Highcharts",a.Highcharts)("update",r.update)("options",r.chart)}}function aM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",12),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",r.WorkoutTypesService.getWorkoutTypeIcon(n,r.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"])}}function oM(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",3),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().navigate("pace")}),i["\u0275\u0275elementStart"](1,"span",4),i["\u0275\u0275elementStart"](2,"span",5),i["\u0275\u0275elementStart"](3,"span"),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"span"),i["\u0275\u0275elementStart"](6,"span",6),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,aM,2,1,"span",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",8),i["\u0275\u0275elementStart"](11,"highcharts-chart",9),i["\u0275\u0275listener"]("updateChange",function(e){return t.$implicit.update=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"span",10),i["\u0275\u0275element"](13,"img",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",r.zoneset.name," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,6,"ROOT.DEFAULT")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",r.zoneset.activityTypes),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("Highcharts",a.Highcharts)("update",r.update)("options",r.chart)}}function sM(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementStart"](3,"a",13),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().navigate("pace")}),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.No pace or speed defaults set.")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,4,"ROOT.Set one now")))}function lM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",12),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",r.WorkoutTypesService.getWorkoutTypeIcon(n,r.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"])}}function cM(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",3),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().navigate("power")}),i["\u0275\u0275elementStart"](1,"span",4),i["\u0275\u0275elementStart"](2,"span",5),i["\u0275\u0275elementStart"](3,"span"),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"span"),i["\u0275\u0275elementStart"](6,"span",6),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,lM,2,1,"span",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",8),i["\u0275\u0275elementStart"](11,"highcharts-chart",9),i["\u0275\u0275listener"]("updateChange",function(e){return t.$implicit.update=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"span",10),i["\u0275\u0275element"](13,"img",11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",r.zoneset.name," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,6,"ROOT.DEFAULT")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",r.zoneset.activityTypes),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("Highcharts",a.Highcharts)("update",r.update)("options",r.chart)}}function dM(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementStart"](3,"a",13),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().navigate("power")}),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.No Power defaults set.")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,4,"ROOT.Set one now")))}var uM=function(){function e(e,t,n,i,r){this.router=e,this.WorkoutTypesService=t,this.WorkoutsService=n,this.floatToPace=i,this.ThemeService=r,this.Highcharts=re,this.bpmZonesets=[],this.paceZonesets=[],this.powerZonesets=[],this.speedZonesets=[]}return e.prototype.ngOnInit=function(){var e=this;this.WorkoutsService.getAllDefaultZonesets().subscribe(function(t){for(var n=0;n<t.response.bpm.length;n++){var i=new x.d(t.response.bpm[n],"U");e.bpmZonesets.push({chart:e.generateZonesetGraph(i,x.g,"bpm"),zoneset:i,update:!1,isEditing:!1,savedZoneset:Object(Wn.cloneDeep)(i),name:i.name})}for(n=0;n<t.response.pace.length;n++)i=new x.a(t.response.bpm[n],"U",e.floatToPace),e.paceZonesets.push({chart:e.generateZonesetGraph(i,null,"pace"),zoneset:i,update:!1,isEditing:!1,savedZoneset:Object(Wn.cloneDeep)(i),name:i.name});for(n=0;n<t.response.power.length;n++)i=new x.b(t.response.bpm[n],"U"),e.paceZonesets.push({chart:e.generateZonesetGraph(i,x.h,"power"),zoneset:i,update:!1,isEditing:!1,savedZoneset:Object(Wn.cloneDeep)(i),name:i.name})})},e.prototype.navigate=function(e){this.router.navigate(["/zones"],{queryParams:{zonetype:e}})},e.prototype.generateZonesetGraph=function(e,t,n){var i=this.WorkoutsService.TIME_IN_ZONES_DISPLAY_CONFIG_OPTS.FITDIGITS;"power"==n&&(i=this.WorkoutsService.TIME_IN_ZONES_DISPLAY_CONFIG_OPTS.SPINNING_POWER);var r="bpmMin",a="bpmMax";return"pace"==n?(r="paceMin",a="paceMax"):"power"==n&&(r="wattsMin",a="wattsMax"),{chart:{width:431,height:161,type:"spline",margin:[0,0,0,0],spacingTop:0},credits:{enabled:!1},title:{text:null},xAxis:{title:!1,labels:{enabled:!1},minorTickLength:0,tickLength:0},yAxis:{title:!1,labels:{enabled:!1},endOnTick:!1,maxPadding:0,minorTickLength:0,tickLength:0,min:e.zone1[r],max:e.zone5[a],minorGridLineWidth:0,gridLineWidth:0,alternateGridColor:null,plotBands:[{from:e.zone1[r],to:e.zone1[a],color:i.zone[1].tizColor},{from:e.zone2[r],to:e.zone2[a],color:i.zone[2].tizColor},{from:e.zone3[r],to:e.zone3[a],color:i.zone[3].tizColor},{from:e.zone4[r],to:e.zone4[a],color:i.zone[4].tizColor},{from:e.zone5[r],to:e.zone5[a],color:i.zone[5].tizColor}]},plotOptions:{spline:{lineWidth:4,states:{hover:{lineWidth:5}},marker:{enabled:!1}},series:{states:{hover:{enabled:!1}}}},legend:{enabled:!1},tooltip:{enabled:!1},series:[{data:t,color:"#FFFFFF",yAxis:0}],navigation:{menuItemStyle:{fontSize:"10px"}}}},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](B.B),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-zoneset-defaults"]],decls:22,vars:16,consts:[[1,"zoneWrap"],["class","zones-container","style","display: flex;justify-content: space-between",3,"click",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"zones-container",2,"display","flex","justify-content","space-between",3,"click"],[2,"display","flex","justify-content","flex-start","flex-direction","column"],[1,"zone-title"],[2,"background-color","#ccc","border-radius","5px","font-size","12px","padding","7px","color","white"],[4,"ngFor","ngForOf"],[1,"heartRateZonesGraphSampleContainer"],[2,"width","300px","height","150px !important","display","block",3,"Highcharts","update","options","updateChange"],[2,"align-self","center"],["src","/static/img/grey-arrow-forward.png",1,"right-datepicker-arrow"],[2,"width","30px",3,"src"],[3,"click"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"h2"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",0),i["\u0275\u0275template"](5,tM,14,8,"div",1),i["\u0275\u0275template"](6,nM,6,6,"div",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div"),i["\u0275\u0275elementStart"](8,"h2"),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",0),i["\u0275\u0275template"](12,rM,14,8,"div",1),i["\u0275\u0275template"](13,oM,14,8,"div",1),i["\u0275\u0275template"](14,sM,6,6,"div",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div"),i["\u0275\u0275elementStart"](16,"h2"),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div",0),i["\u0275\u0275template"](20,cM,14,8,"div",1),i["\u0275\u0275template"](21,dM,6,6,"div",2),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,10,"ROOT.Heart")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",t.bpmZonesets),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==t.bpmZonesets.length),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](10,12,"ROOT.Pace & Speed Zones")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",t.paceZonesets),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",t.speedZonesets),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==t.paceZonesets.length&&0==t.speedZonesets.length),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](18,14,"ROOT.Power")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",t.powerZonesets),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==t.powerZonesets.length))},directives:[y.NgForOf,y.NgIf,si.a],pipes:[M.c],styles:[".mat-tab-labels[_ngcontent-%COMP%]{justify-content:center!important}.header-less-tabs[_ngcontent-%COMP%]   .mat-tab-header[_ngcontent-%COMP%]{display:none}.zoneWrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-content:center;margin:0 auto 40px;font-size:16px}.bpmSlider1   [_nghost-%COMP%]     .mat-accent .mat-slider-track-fill{background-color:red!important}.bpmSlider2   [_nghost-%COMP%]     .mat-accent .mat-slider-track-fill{background-color:#00f!important}.create-zone-icon[_ngcontent-%COMP%]{height:24px}#container-3[_ngcontent-%COMP%]     .mat-accent .mat-slider-track-fill{background:green!important}#container-4[_ngcontent-%COMP%]     .mat-accent .mat-slider-track-fill{background:#ff0!important}#container-5[_ngcontent-%COMP%]     .mat-accent .mat-slider-track-fill{background:purple!important}.heartRateZonesGraphSampleContainer[_ngcontent-%COMP%], .paceZonesGraphSampleContainer[_ngcontent-%COMP%]{float:right;max-width:50%;margin-top:20px;overflow-x:hidden}.hrzones-andy[_ngcontent-%COMP%]{float:right;width:200px;text-align:center}.hrZonesCreate[_ngcontent-%COMP%]{display:flex;margin:20px 30px 30px 40px}.heartzonespromo2[_ngcontent-%COMP%]{width:100%}@media (max-width:901px){.heartRateZonesGraphSampleContainer[_ngcontent-%COMP%], .paceZonesGraphSampleContainer[_ngcontent-%COMP%]{float:right;margin:20px 30px 10px 0;overflow:hidden;width:243px;max-width:none}}@media (max-width:769px){.hrzones-andy[_ngcontent-%COMP%]{visibility:hidden;width:0}.heartRateZonesGraphSampleContainer[_ngcontent-%COMP%], .paceZonesGraphSampleContainer[_ngcontent-%COMP%]{float:left}}.zoneSliderWrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:25%}#heartRateZonesNewBtn[_ngcontent-%COMP%]{display:none;float:right;margin-top:30px;margin-right:40px}.heartRateZone[_ngcontent-%COMP%], .paceZone[_ngcontent-%COMP%]{color:#fff;font-weight:700;text-align:center;font-size:16px;padding:5px 0;line-height:35px;white-space:nowrap;overflow:hidden;border:1px solid;margin-bottom:2px}.heartRateZoneSet[_ngcontent-%COMP%]{padding-left:44px}.heartRateZoneSet[_ngcontent-%COMP%], .paceZoneSet[_ngcontent-%COMP%]{height:225px;border-color:#e1e1e1;border-style:none solid;border-width:2px}.heartRateLimits[_ngcontent-%COMP%], .paceLimits[_ngcontent-%COMP%]{float:left;font-size:16px;padding:0 10px;margin-top:5px}.heartRateZone[_ngcontent-%COMP%]   input[_ngcontent-%COMP%], .paceZone[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{font-size:16px}.zone1[_ngcontent-%COMP%]{border-color:#2077ae;background-color:#4c98c9}.zone2[_ngcontent-%COMP%]{border-color:#018e84;background-color:#00aa9f}.zone3[_ngcontent-%COMP%]{border-color:#339b6b;background-color:#03b061}.zone4[_ngcontent-%COMP%]{border-color:#dca634;background-color:#feb51a}.zone5[_ngcontent-%COMP%]{border-color:#ef5511;background-color:#ff5f19}.powerZone1[_ngcontent-%COMP%]{border-color:#5477ce;background-color:#5477ce}.powerZone2[_ngcontent-%COMP%]{border-color:#44afe3;background-color:#44afe3}.powerZone3[_ngcontent-%COMP%]{border-color:#f9eb4d;background-color:#f9eb4d}.powerZone4[_ngcontent-%COMP%]{border-color:#a8b4d9;background-color:#a8b4d9}.powerZone5[_ngcontent-%COMP%]{border-color:#f0844f;background-color:#f0844f}.zoneInput[_ngcontent-%COMP%]{color:#000;height:24px}#zoneSetNew[_ngcontent-%COMP%]{margin:25px 25px 0;font-size:16px}.heartRateZones[_ngcontent-%COMP%]{float:left;width:calc(100% - 130px);margin-top:20px}.paceZones[_ngcontent-%COMP%]{float:left;width:550px;margin-top:20px}.heartRateLimit[_ngcontent-%COMP%], .paceLimit[_ngcontent-%COMP%]{width:100px;height:30px;line-height:45px;text-align:center;margin-bottom:16px}.zone-container[_ngcontent-%COMP%]{display:inline-block;max-width:800px;width:100%;margin:auto}.zone-container-full[_ngcontent-%COMP%]{margin:auto;width:100%;text-align:center}@media (max-width:480px){.hrZonesCreate[_ngcontent-%COMP%]{display:flex;margin:20px 10px 30px}}",".heartRateZonesGraphSampleContainer[_ngcontent-%COMP%]{float:unset;max-width:unset}.zones-container[_ngcontent-%COMP%]{cursor:pointer}.zone-title[_ngcontent-%COMP%]{font-size:16px;padding:10px 0}"]}),e}(),pM=n("dArS"),hM=["typeInput"];function mM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",11),i["\u0275\u0275element"](1,"img",12),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",r.WorkoutTypes.getWorkoutTypeIcon(n.ecomodule,r.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," ")}}function gM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",9),i["\u0275\u0275template"](1,mM,3,2,"div",10),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.selectedTypes)}}function fM(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-option",13),i["\u0275\u0275elementStart"](1,"div",14),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"]().optionClicked(e,r)}),i["\u0275\u0275elementStart"](2,"mat-checkbox",15),i["\u0275\u0275listener"]("change",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"]().toggleSelection(e)})("click",function(e){return e.stopPropagation()}),i["\u0275\u0275element"](3,"img",16),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("value",a.selectedTypes),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("checked",r.selected)("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",a.WorkoutTypes.getWorkoutTypeIcon(r.ecomodule,a.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",r.name," ")}}function vM(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",17),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().unselectAll()}),i["\u0275\u0275elementStart"](1,"span",18),i["\u0275\u0275text"](2,"clear"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}var yM=function(){return function(e,t,n){this.ecomodule=e,this.name=t,this.selected=n}}(),bM=function(){function e(e,t,n){this.WorkoutTypes=e,this.translate=t,this.ThemeService=n,this.filterableTypes=[],this.reset=!1,this.showSelections=!0,this.hideReset=!0,this.typeControl=new de.e,this.rootTypes=this.WorkoutTypes.getWorkoutTypeList(this.translate.currentLang),this.availableWorkoutTypes=[],this.selectedTypesInput=[],this.selectedTypes=new Array,this.lastFilter="",this.separatorKeysCodes=[me.g,me.c]}return e.prototype.ngOnChanges=function(e){if(e.reset?this.unselectAll():this.reset=!1,0!=this.filterableTypes.length)try{this.setAvailableTypes()}catch(t){console.log(t)}},e.prototype.ngOnInit=function(){var e=this,t=[];for(var n in this.rootTypes)t.push(new yM(Number(n),this.rootTypes[n],!1));t.sort(function(e,t){return e.name.localeCompare(t.name)});var i=t[1];t.splice(1,1),t.unshift(i),this.rootTypes=t,this.setAvailableTypes();for(var r=0;r<this.selectedTypesInput.length;r++)for(var a=0;a<this.rootTypes.length;a++)this.rootTypes[a].ecomodule==this.selectedTypesInput[r]&&(this.rootTypes[a].selected=!0,this.selectedTypes.push(this.rootTypes[a]));this.filteredTypes=this.typeControl.valueChanges.pipe(Object(pe.a)(""),Object(he.a)(function(t){return"string"==typeof t?t:e.lastFilter}),Object(he.a)(function(t){return e.filter(t)}))},e.prototype.displayFn=function(e){var t;return Array.isArray(e)?e.forEach(function(e,n){0===n?t=e.name:t+=", "+e.name}):t=e,t},e.prototype.unselectAll=function(){for(var e=0;e<this.selectedTypes.length;e++)this.selectedTypes[e].selected=!1;this.selectedTypes=[],this.WorkoutTypes.addActivityTypeFilter([])},e.prototype.filter=function(e){return this.lastFilter=e,e?this.availableWorkoutTypes.filter(function(t){return t.name.toLowerCase().indexOf(e.toLowerCase())>=0}):this.availableWorkoutTypes.slice()},e.prototype.toggleSelection=function(e){if(console.log(e.selected),e.selected=!e.selected,-1==e.ecomodule&&e.selected){for(var t=0;t<this.selectedTypes.length;t++)-1!=this.selectedTypes[t].ecomodule&&(this.selectedTypes[t].selected=!1);for(this.selectedTypes=[],t=0;t<this.availableWorkoutTypes.length;t++)if(-1==this.availableWorkoutTypes[t].ecomodule){this.selectedTypes=[this.availableWorkoutTypes[t]];for(var n=[],i=0;i<this.selectedTypes.length;i++)n.push(this.selectedTypes[i].ecomodule);this.WorkoutTypes.addActivityTypeFilter(n),this.typeControl.setValue(""),this.typeInput.nativeElement.focus();break}}else{for(e.selected?this.selectedTypes.push(e):(t=this.selectedTypes.findIndex(function(t){return t.ecomodule===e.ecomodule}),this.selectedTypes.splice(t,1)),n=[],t=0;t<this.selectedTypes.length;t++)n.push(this.selectedTypes[t].ecomodule);this.WorkoutTypes.addActivityTypeFilter(n),this.typeControl.setValue(""),this.typeInput.nativeElement.focus()}},e.prototype.optionClicked=function(e,t){e.stopPropagation(),this.toggleSelection(t),this.typeControl.setValue(""),this.typeInput.nativeElement.focus(),this.reset=!1},e.prototype.setAvailableTypes=function(){if(this.filterableTypes.length>0){for(var e=0;e<this.rootTypes.length;e++)for(var t=0;t<this.filterableTypes.length;t++)if(this.rootTypes[e].ecomodule==this.filterableTypes[t]){this.availableWorkoutTypes.push(this.rootTypes[e]);break}}else this.availableWorkoutTypes=this.rootTypes},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-activity-filter"]],viewQuery:function(e,t){var n;1&e&&i["\u0275\u0275viewQuery"](hM,1),2&e&&i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.typeInput=n.first)},inputs:{filterableTypes:"filterableTypes",reset:"reset",showSelections:"showSelections",hideReset:"hideReset",selectedTypesInput:"selectedTypesInput"},features:[i["\u0275\u0275NgOnChangesFeature"]],decls:11,vars:11,consts:[[1,"activityTypeFilterWrap"],["style","width:100%;float:left;",4,"ngIf"],[2,"width","80%","margin-top","30px"],["type","text","aria-label","Activity Type","matInput","",1,"show-activity-types",3,"placeholder","matAutocomplete","formControl"],["typeInput",""],[3,"displayWith"],["auto","matAutocomplete"],[3,"value",4,"ngFor","ngForOf"],["mat-button","","style","float:right;",3,"click",4,"ngIf"],[2,"width","100%","float","left"],["class","show-activity-selections",4,"ngFor","ngForOf"],[1,"show-activity-selections"],[2,"width","25px","margin","5px",3,"src"],[3,"value"],[2,"border-bottom","1px dotted",3,"click"],[3,"checked","color","change","click"],[2,"width","25px",3,"src"],["mat-button","",2,"float","right",3,"click"],[1,"material-icons"]],template:function(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275template"](1,gM,2,1,"div",1),i["\u0275\u0275elementStart"](2,"mat-form-field",2),i["\u0275\u0275element"](3,"input",3,4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"mat-autocomplete",5,6),i["\u0275\u0275template"](8,fM,5,5,"mat-option",7),i["\u0275\u0275pipe"](9,"async"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](10,vM,3,0,"button",8),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275reference"](7);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.selectedTypes),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("placeholder",i["\u0275\u0275pipeBind1"](5,7,"ROOT.Activity Type")),i["\u0275\u0275property"]("matAutocomplete",n)("formControl",t.typeControl),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("displayWith",t.displayFn),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind1"](9,9,t.filteredTypes)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.selectedTypes.length>0&&t.hideReset)}},directives:[y.NgIf,fe.c,be.b,ye.c,de.c,de.o,de.f,ye.a,y.NgForOf,m.o,El.a,k.b],pipes:[M.c,y.AsyncPipe],styles:[".mat-select-arrow{margin-top:10px!important}.activityTypeFilterWrap[_ngcontent-%COMP%]{float:right;clear:both;width:100%}.routineFilterButton[_ngcontent-%COMP%]{float:right;margin-top:5px}.show-activity-selections[_ngcontent-%COMP%]{margin:5px 5px 30px;float:left;font-size:16px}.show-activity-types[_ngcontent-%COMP%]{width:80%;font-size:16px}"]}),e}();function xM(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",5),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",6),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,1,"ROOT.Activities")))}function _M(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}function wM(e,t){if(1&e&&i["\u0275\u0275element"](0,"highcharts-chart",26),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275property"]("Highcharts",n.Highcharts)("options",n.caloriesGraphOpts)("oneToOne",!0)}}function SM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275elementStart"](1,"div",21),i["\u0275\u0275element"](2,"img",22),i["\u0275\u0275elementStart"](3,"div",23),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",24),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"uppercase"),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,wM,1,3,"highcharts-chart",25),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](n.value),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,3,i["\u0275\u0275pipeBind1"](8,5,"ROOT.Calories"))," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",0==r.showLoadingOverlay)}}function CM(e,t){if(1&e&&i["\u0275\u0275element"](0,"highcharts-chart",26),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275property"]("Highcharts",n.Highcharts)("options",n.timeGraphOpts)("oneToOne",!0)}}function kM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275elementStart"](1,"div",21),i["\u0275\u0275element"](2,"img",27),i["\u0275\u0275elementStart"](3,"div",23),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",24),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"uppercase"),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,CM,1,3,"highcharts-chart",25),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](n.value),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,3,i["\u0275\u0275pipeBind1"](8,5,"ROOT.Time"))," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",0==r.showLoadingOverlay)}}function OM(e,t){if(1&e&&i["\u0275\u0275element"](0,"highcharts-chart",26),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275property"]("Highcharts",n.Highcharts)("options",n.distanceGraphOpts)("oneToOne",!0)}}function EM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275elementStart"](1,"div",21),i["\u0275\u0275element"](2,"img",28),i["\u0275\u0275elementStart"](3,"div",23),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",24),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"uppercase"),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,OM,1,3,"highcharts-chart",25),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](n.value),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,3,i["\u0275\u0275pipeBind1"](8,5,"ROOT.Distance"))," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",0==r.showLoadingOverlay)}}function MM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275template"](1,SM,10,7,"div",19),i["\u0275\u0275template"](2,kM,10,7,"div",19),i["\u0275\u0275template"](3,EM,10,7,"div",19),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Calories"===n.statstype),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Duration"===n.statstype),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Distance"===n.statstype)}}function IM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275template"](1,MM,4,3,"span",17),i["\u0275\u0275element"](2,"div",18),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.statsItems)}}function PM(e,t){1&e&&(i["\u0275\u0275element"](0,"img",37),i["\u0275\u0275elementStart"](1,"span",24),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"uppercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,i["\u0275\u0275pipeBind1"](4,3,"ROOT.Heart Rate"))))}function TM(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",38),i["\u0275\u0275elementStart"](1,"div",39),i["\u0275\u0275element"](2,"img",40),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function DM(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"highcharts-chart",41),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).chartsUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("update",r.chartsUpdated)("Highcharts",r.Highcharts)("options",r.aggregateTizGraphOpts)}}function LM(e,t){1&e&&(i["\u0275\u0275element"](0,"img",42),i["\u0275\u0275elementStart"](1,"span",24),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"uppercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,i["\u0275\u0275pipeBind1"](4,3,"ROOT.Time"))))}function RM(e,t){if(1&e&&i["\u0275\u0275element"](0,"highcharts-chart",43),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("Highcharts",n.Highcharts)("options",n.timeGraphOpts)("oneToOne",!0)}}function jM(e,t){1&e&&(i["\u0275\u0275element"](0,"img",44),i["\u0275\u0275elementStart"](1,"span",24),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"uppercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,1,i["\u0275\u0275pipeBind1"](4,3,"ROOT.Calories"))," "))}function AM(e,t){if(1&e&&i["\u0275\u0275element"](0,"highcharts-chart",43),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("Highcharts",n.Highcharts)("options",n.caloriesGraphOpts)("oneToOne",!0)}}function FM(e,t){1&e&&(i["\u0275\u0275element"](0,"img",45),i["\u0275\u0275elementStart"](1,"span",24),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"uppercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,i["\u0275\u0275pipeBind1"](4,3,"ROOT.Distance"))))}function BM(e,t){if(1&e&&i["\u0275\u0275element"](0,"highcharts-chart",43),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("Highcharts",n.Highcharts)("options",n.distanceGraphOpts)("oneToOne",!0)}}function zM(e,t){1&e&&(i["\u0275\u0275element"](0,"img",46),i["\u0275\u0275elementStart"](1,"span",24),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"uppercase"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,i["\u0275\u0275pipeBind1"](4,3,"ROOT.Routes"))))}function NM(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"ng-workout-map",47),i["\u0275\u0275listener"]("updateChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mapUpdated=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("workouts",r.activitiesList)("multipleWorkouts",!0)("tabEvent",r.tabEvent)("update",r.mapUpdated)("isMetric",r.isMetric)}}function HM(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",29),i["\u0275\u0275elementStart"](1,"mat-tab-group",30),i["\u0275\u0275listener"]("selectedTabChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).updateMap(e)}),i["\u0275\u0275elementStart"](2,"mat-tab"),i["\u0275\u0275template"](3,PM,5,5,"ng-template",31),i["\u0275\u0275template"](4,TM,3,0,"a",32),i["\u0275\u0275template"](5,DM,1,3,"highcharts-chart",33),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"mat-tab"),i["\u0275\u0275template"](7,LM,5,5,"ng-template",31),i["\u0275\u0275template"](8,RM,1,3,"highcharts-chart",34),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"mat-tab"),i["\u0275\u0275template"](10,jM,5,5,"ng-template",31),i["\u0275\u0275template"](11,AM,1,3,"highcharts-chart",34),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"mat-tab"),i["\u0275\u0275template"](13,FM,5,5,"ng-template",31),i["\u0275\u0275template"](14,BM,1,3,"highcharts-chart",34),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"mat-tab"),i["\u0275\u0275template"](16,zM,5,5,"ng-template",31),i["\u0275\u0275elementStart"](17,"div",35),i["\u0275\u0275template"](18,NM,1,5,"ng-workout-map",36),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("color","accent")("backgroundColor","primary"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!r.isStarUser&&!r.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isStarUser),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",0==r.showLoadingOverlay),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",0==r.showLoadingOverlay),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",0==r.showLoadingOverlay),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!r.showLoadingOverlay)}}function VM(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",48),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.No data for date range")," "))}function YM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",49),i["\u0275\u0275elementStart"](2,"div",50),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",n.totalActivities,"\xa0",n.Activities_txt," ")}}function WM(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",51),i["\u0275\u0275elementStart"](1,"button",52),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.showChartOptions=!e.showChartOptions}),i["\u0275\u0275element"](2,"img",53),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",54),i["\u0275\u0275elementStart"](4,"mat-slide-toggle",55),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).showWeight=e})("change",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).updateWeight()}),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"mat-slide-toggle",56),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).averagesOn=e})("change",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).updateAll()}),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",57),i["\u0275\u0275elementStart"](9,"div",58),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"mat-radio-group",59),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).grouping=e})("change",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).updateAll()}),i["\u0275\u0275elementStart"](12,"mat-radio-button",60),i["\u0275\u0275text"](13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"mat-radio-button",61),i["\u0275\u0275text"](15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"mat-radio-button",62),i["\u0275\u0275text"](17),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("hidden",!r.showChartOptions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",r.showWeight)("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",r.Weight_txt," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",r.averagesOn)("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",r.Averages_txt," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",r.Group_txt,":"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",r.grouping),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](r.Daily_txt),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](r.Weekly_txt),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("color","primary"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](r.Monthly_txt)}}function GM(e,t){1&e&&i["\u0275\u0275element"](0,"img",76)}function UM(e,t){1&e&&i["\u0275\u0275element"](0,"img",77)}function qM(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"\u03b4"),i["\u0275\u0275elementEnd"]())}function ZM(e,t){1&e&&i["\u0275\u0275element"](0,"img",78)}function $M(e,t){1&e&&i["\u0275\u0275element"](0,"img",79)}function XM(e,t){1&e&&i["\u0275\u0275element"](0,"img",80)}function KM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("(",i["\u0275\u0275pipeBind2"](2,1,n.percent,"1.0-0"),"%)")}}function JM(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",81),i["\u0275\u0275text"](1),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275elementStart"](3,"span",82),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.average," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("/ ",r.avgNumName,"")}}function QM(e,t){1&e&&i["\u0275\u0275element"](0,"li",83)}var eI=function(e){return{color:e}};function tI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275elementStart"](1,"li",65),i["\u0275\u0275elementStart"](2,"div",66),i["\u0275\u0275template"](3,GM,1,0,"img",67),i["\u0275\u0275template"](4,UM,1,0,"img",68),i["\u0275\u0275template"](5,qM,2,0,"span",3),i["\u0275\u0275template"](6,ZM,1,0,"img",69),i["\u0275\u0275template"](7,$M,1,0,"img",70),i["\u0275\u0275template"](8,XM,1,0,"img",71),i["\u0275\u0275text"](9),i["\u0275\u0275template"](10,KM,3,4,"span",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",72),i["\u0275\u0275elementStart"](12,"span",73),i["\u0275\u0275text"](13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,JM,5,2,"div",74),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](15,QM,1,0,"li",75),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=t.index,a=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf","Steps"===n.statstype),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Weight"===n.statstype),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Weight"===n.statstype),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Calories"===n.statstype),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Distance"===n.statstype),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Duration"===n.statstype),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.name," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",void 0!==n.percent),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](12,eI,n.color)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.averagesOn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r!=a.statsItems.length-1)}}function nI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",63),i["\u0275\u0275elementStart"](1,"ul",64),i["\u0275\u0275template"](2,tI,16,14,"span",17),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",n.statsItems)}}function iI(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",99),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).compare()}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("color","primary")("disabled",r.compareList.length<2),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,3,"ROOT.Compare")," ")}}function rI(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",100),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showFilters=!e.showFilters}),i["\u0275\u0275elementStart"](1,"span",101),i["\u0275\u0275text"](2,"filter_list"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function aI(e,t){if(1&e&&i["\u0275\u0275element"](0,"app-activity-filter",102),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("reset",n.searchReset)("hideReset",!0)("filterableTypes",n.filterableTypes)}}function oI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",103),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.name)}}function sI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",103),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.name)}}function lI(e,t){1&e&&i["\u0275\u0275element"](0,"mat-spinner",104)}function cI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.Mi_txt,"")}}function dI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.Km_txt,"")}}function uI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",137),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u2022 ",n.customRoutineName,"")}}function pI(e,t){1&e&&i["\u0275\u0275element"](0,"img",151)}function hI(e,t){1&e&&i["\u0275\u0275element"](0,"img",152)}function mI(e,t){1&e&&i["\u0275\u0275element"](0,"img",153)}function gI(e,t){1&e&&i["\u0275\u0275element"](0,"img",154)}function fI(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tbody",130),i["\u0275\u0275elementStart"](1,"tr",131),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](4).goToActivity(e,r.hhc)}),i["\u0275\u0275elementStart"](2,"td",132),i["\u0275\u0275elementStart"](3,"div",133),i["\u0275\u0275element"](4,"img",134),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"span",135),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"date"),i["\u0275\u0275pipe"](8,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"td",136),i["\u0275\u0275elementStart"](10,"div",137),i["\u0275\u0275text"](11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](12,uI,2,1,"div",138),i["\u0275\u0275elementStart"](13,"div",139),i["\u0275\u0275template"](14,pI,1,0,"img",140),i["\u0275\u0275template"](15,hI,1,0,"img",141),i["\u0275\u0275template"](16,mI,1,0,"img",142),i["\u0275\u0275template"](17,gI,1,0,"img",143),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"tr",144),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](4).goToActivity(e,r.hhc)}),i["\u0275\u0275elementStart"](19,"td",145),i["\u0275\u0275elementStart"](20,"mat-checkbox",146),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.$implicit.checked=e})("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](4).toggleCompare(e,r),e.stopPropagation()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](21,"img",147),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](22,"td",148),i["\u0275\u0275elementStart"](23,"td",149),i["\u0275\u0275text"](24),i["\u0275\u0275pipe"](25,"number"),i["\u0275\u0275pipe"](26,"milesToKm"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"td",149),i["\u0275\u0275text"](28),i["\u0275\u0275pipe"](29,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"td",149),i["\u0275\u0275elementStart"](31,"span",135),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"secondsToH"),i["\u0275\u0275elementStart"](34,"small",150),i["\u0275\u0275pipe"](35,"secondsToH"),i["\u0275\u0275text"](36,"h"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](37),i["\u0275\u0275pipe"](38,"secondsToM"),i["\u0275\u0275elementStart"](39,"small",150),i["\u0275\u0275pipe"](40,"secondsToM"),i["\u0275\u0275text"](41,"m"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](4),i["\u0275\u0275classMapInterpolate1"]("",r.iconBorder," activityIcon"),i["\u0275\u0275propertyInterpolate"]("src",r.icon,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](7,22,r.date,"shortDate")," ",i["\u0275\u0275pipeBind2"](8,25,r.date,"EE"),""),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("",r.displayTitle,"\xa0"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.customRoutine&&r.displayTitle!=r.customRoutineName),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.customRoutine),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isAssessment),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isImport&&0==r.isGarmin),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isGarmin),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngModel",r.checked)("color","primary")("disabled",!1===r.checked&&4===a.compareList.length),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src","https://my.fitdigits.com/api/v2/seo/thumbnail?key="+r.workout_key,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](a.isMetric?r.distance?i["\u0275\u0275pipeBind3"](26,31,r.distance,!0,2):"--":r.distance?i["\u0275\u0275pipeBind2"](25,28,r.distance,"1.2-2"):"--"),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](r.calories?i["\u0275\u0275pipeBind2"](29,35,r.calories,"1.0-0"):"--"),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](33,38,r.elapsedSeconds),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!i["\u0275\u0275pipeBind1"](35,40,r.elapsedSeconds)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](38,42,r.elapsedSeconds),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!i["\u0275\u0275pipeBind1"](40,44,r.elapsedSeconds))}}function vI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",155),i["\u0275\u0275elementStart"](1,"span",156),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.label)}}function yI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" / ",n.numPages,"")}}function bI(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"table",105),i["\u0275\u0275elementStart"](1,"thead",106),i["\u0275\u0275elementStart"](2,"th",107),i["\u0275\u0275elementStart"](3,"div",108),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sortActivities("ecomodule")}),i["\u0275\u0275text"](4),i["\u0275\u0275element"](5,"img",109),i["\u0275\u0275element"](6,"img",110),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",111),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sortActivities("date")}),i["\u0275\u0275text"](8),i["\u0275\u0275element"](9,"img",109),i["\u0275\u0275element"](10,"img",110),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"th",112),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sortActivities("displayTitle")}),i["\u0275\u0275text"](12),i["\u0275\u0275element"](13,"img",109),i["\u0275\u0275element"](14,"img",110),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"th",113),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sortActivities("distance")}),i["\u0275\u0275element"](16,"img",109),i["\u0275\u0275element"](17,"img",110),i["\u0275\u0275template"](18,cI,2,1,"span",3),i["\u0275\u0275template"](19,dI,2,1,"span",3),i["\u0275\u0275element"](20,"br"),i["\u0275\u0275element"](21,"img",114),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"th",113),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sortActivities("calories")}),i["\u0275\u0275element"](23,"img",109),i["\u0275\u0275element"](24,"img",110),i["\u0275\u0275text"](25),i["\u0275\u0275element"](26,"br"),i["\u0275\u0275element"](27,"img",115),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"th",113),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sortActivities("elapsedSeconds")}),i["\u0275\u0275element"](29,"img",109),i["\u0275\u0275element"](30,"img",110),i["\u0275\u0275text"](31," \xa0 "),i["\u0275\u0275element"](32,"br"),i["\u0275\u0275element"](33,"img",116),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](34,fI,42,46,"tbody",117),i["\u0275\u0275pipe"](35,"limitTo"),i["\u0275\u0275pipe"](36,"startFrom"),i["\u0275\u0275elementStart"](37,"tfoot"),i["\u0275\u0275elementStart"](38,"tr"),i["\u0275\u0275elementStart"](39,"td",118),i["\u0275\u0275elementStart"](40,"div",119),i["\u0275\u0275elementStart"](41,"div",120),i["\u0275\u0275elementStart"](42,"div",121),i["\u0275\u0275elementStart"](43,"div",122),i["\u0275\u0275elementStart"](44,"mat-form-field",123),i["\u0275\u0275elementStart"](45,"mat-label"),i["\u0275\u0275text"](46),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"mat-select",124),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).rowLimit=e})("ngModelChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).changeRowLimit()}),i["\u0275\u0275template"](48,vI,3,2,"mat-option",125),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](49,"div",126),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"div",127),i["\u0275\u0275elementStart"](51,"button",128),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.currentPage=e.currentPage-1}),i["\u0275\u0275text"](52," < "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](53),i["\u0275\u0275template"](54,yI,2,1,"span",3),i["\u0275\u0275elementStart"](55,"button",129),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.currentPage=e.currentPage+1}),i["\u0275\u0275text"](56,"> "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",r.Type_txt," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("ecomodule"==r.currentSortedType&&1==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("ecomodule"==r.currentSortedType&&0==r.reverse)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.Date_txt," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("date"==r.currentSortedType&&1==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("date"==r.currentSortedType&&0==r.reverse)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.Title_txt," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("displayTitle"==r.currentSortedType&&1==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("displayTitle"==r.currentSortedType&&0==r.reverse)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!("distance"==r.currentSortedType&&1==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("distance"==r.currentSortedType&&0==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isMetric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isMetric),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("hidden",!("calories"==r.currentSortedType&&0==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("calories"==r.currentSortedType&&1==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",r.Cal_txt," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("hidden",!("elapsedSeconds"==r.currentSortedType&&0==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("elapsedSeconds"==r.currentSortedType&&1==r.reverse)),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind2"](35,26,i["\u0275\u0275pipeBind2"](36,29,r.filteredActivitesList,r.currentPage*r.rowLimit),r.rowLimit)),i["\u0275\u0275advance"](12),i["\u0275\u0275textInterpolate"](r.Show_txt),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",r.rowLimit),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.rowLimitOptions),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("disabled",0==r.currentPage),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.currentPage+1,""),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.numPages>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",r.currentPage+1>=r.numPages)}}function xI(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",84),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275template"](2,iI,3,5,"button",85),i["\u0275\u0275template"](3,rI,3,0,"button",86),i["\u0275\u0275elementStart"](4,"div",87),i["\u0275\u0275elementStart"](5,"div",88),i["\u0275\u0275template"](6,aI,1,3,"app-activity-filter",89),i["\u0275\u0275elementStart"](7,"div"),i["\u0275\u0275elementStart"](8,"mat-form-field",90),i["\u0275\u0275elementStart"](9,"mat-label"),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"mat-select",91),i["\u0275\u0275listener"]("selectionChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).runFilters()})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).durationSearch=e}),i["\u0275\u0275template"](13,oI,2,2,"mat-option",92),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"mat-form-field",93),i["\u0275\u0275elementStart"](15,"mat-label"),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"mat-select",91),i["\u0275\u0275listener"]("selectionChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).runFilters()})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).distanceSearch=e}),i["\u0275\u0275template"](19,sI,2,2,"mat-option",92),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"mat-form-field",1),i["\u0275\u0275elementStart"](21,"mat-label"),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"input",94),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).searchParams=e})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).searchChanged.next(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"button",95),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.searchParams=null,e.distanceSearch=null,e.durationSearch=null,e.activityTypeFilter=[],e.searchChanged.next(),e.resetTimer(),e.searchReset=!0}),i["\u0275\u0275elementStart"](26,"span",96),i["\u0275\u0275text"](27,"clear"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](28,lI,1,0,"mat-spinner",97),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](29,bI,57,32,"table",98),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!r.showFilters),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.initLoaded),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](11,19,"ROOT.Duration")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.durationSearch)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.durationSearchOptions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](17,21,"ROOT.Distance")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.distanceSearch)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.distanceSearchOptions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](23,23,"ROOT.search")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.searchParams),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.searchResetLoading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.totalActivities>0)}}function _I(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",99),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).compare()}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("color","primary")("disabled",r.compareList.length<2),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,3,"ROOT.Compare")," ")}}function wI(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",100),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showFilters=!e.showFilters}),i["\u0275\u0275elementStart"](1,"span",101),i["\u0275\u0275text"](2,"filter_list"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function SI(e,t){if(1&e&&i["\u0275\u0275element"](0,"app-activity-filter",102),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("reset",n.searchReset)("hideReset",!0)("filterableTypes",n.filterableTypes)}}function CI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",103),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.name)}}function kI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",103),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.value),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.name)}}function OI(e,t){1&e&&i["\u0275\u0275element"](0,"mat-spinner",104)}function EI(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"uppercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,i["\u0275\u0275pipeBind1"](3,3,"ROOT.Mi")),""))}function MI(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"uppercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,i["\u0275\u0275pipeBind1"](3,3,"ROOT.Km")),""))}function II(e,t){1&e&&i["\u0275\u0275element"](0,"img",151)}function PI(e,t){1&e&&i["\u0275\u0275element"](0,"img",152)}function TI(e,t){1&e&&i["\u0275\u0275element"](0,"img",153)}function DI(e,t){1&e&&i["\u0275\u0275element"](0,"img",154)}function LI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",167),i["\u0275\u0275template"](1,II,1,0,"img",140),i["\u0275\u0275template"](2,PI,1,0,"img",141),i["\u0275\u0275template"](3,TI,1,0,"img",142),i["\u0275\u0275template"](4,DI,1,0,"img",143),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.customRoutine),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isAssessment),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isImport&&0==n.isGarmin),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isGarmin)}}function RI(e,t){1&e&&i["\u0275\u0275element"](0,"img",151)}function jI(e,t){1&e&&i["\u0275\u0275element"](0,"img",152)}function AI(e,t){1&e&&i["\u0275\u0275element"](0,"img",153)}function FI(e,t){1&e&&i["\u0275\u0275element"](0,"img",154)}function BI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",167),i["\u0275\u0275template"](2,RI,1,0,"img",140),i["\u0275\u0275template"](3,jI,1,0,"img",141),i["\u0275\u0275template"](4,AI,1,0,"img",142),i["\u0275\u0275template"](5,FI,1,0,"img",143),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.customRoutine),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isAssessment),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isImport&&0==n.isGarmin),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isGarmin),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.customRoutineName,"")}}function zI(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"tr",162),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](4).goToActivity(e,r.hhc)}),i["\u0275\u0275elementStart"](1,"td",163),i["\u0275\u0275elementStart"](2,"mat-checkbox",164),i["\u0275\u0275listener"]("ngModelChange",function(e){return t.$implicit.checked=e})("click",function(e){i["\u0275\u0275restoreView"](n);var r=t.$implicit;return i["\u0275\u0275nextContext"](4).toggleCompare(e,r),e.stopPropagation()}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"td"),i["\u0275\u0275elementStart"](4,"div",165),i["\u0275\u0275element"](5,"img",134),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"td"),i["\u0275\u0275elementStart"](7,"span",135),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"date"),i["\u0275\u0275pipe"](10,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"td"),i["\u0275\u0275template"](12,LI,5,4,"div",166),i["\u0275\u0275elementStart"](13,"div"),i["\u0275\u0275text"](14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](15,BI,7,5,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"td",149),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"number"),i["\u0275\u0275pipe"](19,"milesToKm"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"td",149),i["\u0275\u0275text"](21),i["\u0275\u0275pipe"](22,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"td",149),i["\u0275\u0275elementStart"](24,"span",135),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"secondsToH"),i["\u0275\u0275elementStart"](27,"small",150),i["\u0275\u0275pipe"](28,"secondsToH"),i["\u0275\u0275text"](29,"h"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](30),i["\u0275\u0275pipe"](31,"secondsToM"),i["\u0275\u0275elementStart"](32,"small",150),i["\u0275\u0275pipe"](33,"secondsToM"),i["\u0275\u0275text"](34,"m"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.checked)("color","primary")("disabled",!1===r.checked&&4===a.compareList.length),i["\u0275\u0275advance"](3),i["\u0275\u0275classMapInterpolate1"]("",r.iconBorder," activityIcon"),i["\u0275\u0275propertyInterpolate"]("src",r.icon,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind2"](9,18,r.date,"shortDate")," ",i["\u0275\u0275pipeBind2"](10,21,r.date,"EE"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.customRoutine&&r.displayTitle==r.customRoutineName),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("",r.displayTitle,"\xa0"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.customRoutine&&r.displayTitle!=r.customRoutineName),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](a.isMetric?r.distance?i["\u0275\u0275pipeBind3"](19,27,r.distance,!0,2):"--":r.distance?i["\u0275\u0275pipeBind2"](18,24,r.distance,"1.2-2"):"--"),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](r.calories?i["\u0275\u0275pipeBind2"](22,31,r.calories,"1.0-0"):"--"),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](26,34,r.elapsedSeconds),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!i["\u0275\u0275pipeBind1"](28,36,r.elapsedSeconds)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](31,38,r.elapsedSeconds),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!i["\u0275\u0275pipeBind1"](33,40,r.elapsedSeconds))}}function NI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-option",155),i["\u0275\u0275elementStart"](1,"span",156),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275property"]("value",n.id),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.label)}}function HI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" / ",n.numPages,"")}}function VI(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"table",158),i["\u0275\u0275elementStart"](1,"thead",159),i["\u0275\u0275elementStart"](2,"th"),i["\u0275\u0275text"](3," \xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"th"),i["\u0275\u0275elementStart"](5,"div",108),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sortActivities("ecomodule")}),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"uppercase"),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275element"](9,"img",109),i["\u0275\u0275element"](10,"img",110),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"th"),i["\u0275\u0275elementStart"](12,"div",111),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sortActivities("date")}),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"uppercase"),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275element"](16,"img",109),i["\u0275\u0275element"](17,"img",110),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"th",112),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sortActivities("displayTitle")}),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"uppercase"),i["\u0275\u0275pipe"](21,"translate"),i["\u0275\u0275element"](22,"img",109),i["\u0275\u0275element"](23,"img",110),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"th",160),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sortActivities("distance")}),i["\u0275\u0275element"](25,"img",109),i["\u0275\u0275element"](26,"img",110),i["\u0275\u0275element"](27,"img",114),i["\u0275\u0275template"](28,EI,4,5,"span",3),i["\u0275\u0275template"](29,MI,4,5,"span",3),i["\u0275\u0275element"](30,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"th",160),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sortActivities("calories")}),i["\u0275\u0275element"](32,"img",109),i["\u0275\u0275element"](33,"img",110),i["\u0275\u0275element"](34,"img",115),i["\u0275\u0275text"](35),i["\u0275\u0275pipe"](36,"uppercase"),i["\u0275\u0275pipe"](37,"translate"),i["\u0275\u0275element"](38,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"th",113),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).sortActivities("elapsedSeconds")}),i["\u0275\u0275element"](40,"img",109),i["\u0275\u0275element"](41,"img",110),i["\u0275\u0275text"](42," \xa0 "),i["\u0275\u0275element"](43,"img",116),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"tbody"),i["\u0275\u0275template"](45,zI,35,42,"tr",161),i["\u0275\u0275pipe"](46,"limitTo"),i["\u0275\u0275pipe"](47,"startFrom"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"tfoot"),i["\u0275\u0275elementStart"](49,"tr"),i["\u0275\u0275elementStart"](50,"td",118),i["\u0275\u0275elementStart"](51,"div",119),i["\u0275\u0275elementStart"](52,"div",120),i["\u0275\u0275elementStart"](53,"div",121),i["\u0275\u0275elementStart"](54,"div",122),i["\u0275\u0275elementStart"](55,"mat-form-field",123),i["\u0275\u0275elementStart"](56,"mat-label"),i["\u0275\u0275text"](57),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](58,"mat-select",124),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).rowLimit=e})("ngModelChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).changeRowLimit()}),i["\u0275\u0275template"](59,NI,3,2,"mat-option",125),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](60,"div",126),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](61,"div",127),i["\u0275\u0275elementStart"](62,"button",128),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.currentPage=e.currentPage-1}),i["\u0275\u0275text"](63," < "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](64),i["\u0275\u0275template"](65,HI,2,1,"span",3),i["\u0275\u0275elementStart"](66,"button",129),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.currentPage=e.currentPage+1}),i["\u0275\u0275text"](67,"> "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,26,i["\u0275\u0275pipeBind1"](8,28,"ROOT.Type"))," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("hidden",!("ecomodule"==r.currentSortedType&&1==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("ecomodule"==r.currentSortedType&&0==r.reverse)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](14,30,i["\u0275\u0275pipeBind1"](15,32,"ROOT.Date"))," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("hidden",!("date"==r.currentSortedType&&1==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("date"==r.currentSortedType&&0==r.reverse)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](20,34,i["\u0275\u0275pipeBind1"](21,36,"ROOT.Title"))," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("hidden",!("displayTitle"==r.currentSortedType&&1==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("displayTitle"==r.currentSortedType&&0==r.reverse)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!("distance"==r.currentSortedType&&1==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("distance"==r.currentSortedType&&0==r.reverse)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.isMetric),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isMetric),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("hidden",!("calories"==r.currentSortedType&&0==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("calories"==r.currentSortedType&&1==r.reverse)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](36,38,i["\u0275\u0275pipeBind1"](37,40,"ROOT.Cal"))," "),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("hidden",!("elapsedSeconds"==r.currentSortedType&&0==r.reverse)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!("elapsedSeconds"==r.currentSortedType&&1==r.reverse)),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind2"](46,42,i["\u0275\u0275pipeBind2"](47,45,r.filteredActivitesList,r.currentPage*r.rowLimit),r.rowLimit)),i["\u0275\u0275advance"](12),i["\u0275\u0275textInterpolate"](r.Show_txt),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",r.rowLimit),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.rowLimitOptions),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("disabled",0==r.currentPage),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.currentPage+1,""),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.numPages>1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",r.currentPage+1>=r.numPages)}}function YI(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275template"](2,_I,3,5,"button",85),i["\u0275\u0275template"](3,wI,3,0,"button",86),i["\u0275\u0275elementStart"](4,"div",87),i["\u0275\u0275elementStart"](5,"div",88),i["\u0275\u0275template"](6,SI,1,3,"app-activity-filter",89),i["\u0275\u0275elementStart"](7,"div"),i["\u0275\u0275elementStart"](8,"mat-form-field",90),i["\u0275\u0275elementStart"](9,"mat-label"),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"mat-select",91),i["\u0275\u0275listener"]("selectionChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).runFilters()})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).durationSearch=e}),i["\u0275\u0275template"](13,CI,2,2,"mat-option",92),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"mat-form-field",93),i["\u0275\u0275elementStart"](15,"mat-label"),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"mat-select",91),i["\u0275\u0275listener"]("selectionChange",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).runFilters()})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).distanceSearch=e}),i["\u0275\u0275template"](19,kI,2,2,"mat-option",92),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"mat-form-field",1),i["\u0275\u0275elementStart"](21,"mat-label"),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"input",94),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).searchParams=e})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).searchChanged.next(e)}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"button",95),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.searchParams=null,e.distanceSearch=null,e.durationSearch=null,e.activityTypeFilter=[],e.searchChanged.next(),e.resetTimer(),e.searchReset=!0}),i["\u0275\u0275elementStart"](26,"span",96),i["\u0275\u0275text"](27,"clear"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](28,OI,1,0,"mat-spinner",97),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](29,VI,68,48,"table",157),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!r.showFilters),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.initLoaded),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](11,19,"ROOT.Duration")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.durationSearch)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.durationSearchOptions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](17,21,"ROOT.Distance")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.distanceSearch)("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.distanceSearchOptions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",r.ThemeService.themeClass),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](23,23,"ROOT.search")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.searchParams),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.searchResetLoading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.totalActivities>0)}}function WI(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",168),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).exportWorkoutData()}),i["\u0275\u0275element"](1,"img",169),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" \xa0",i["\u0275\u0275pipeBind1"](3,1,"ROOT.Export")," "))}function GI(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",7),i["\u0275\u0275element"](1,"app-datepicker"),i["\u0275\u0275template"](2,IM,3,1,"div",8),i["\u0275\u0275template"](3,HM,19,8,"div",9),i["\u0275\u0275template"](4,VM,3,3,"div",10),i["\u0275\u0275template"](5,YM,4,2,"div",3),i["\u0275\u0275template"](6,WM,18,15,"div",11),i["\u0275\u0275element"](7,"div",12),i["\u0275\u0275template"](8,nI,3,1,"div",13),i["\u0275\u0275template"](9,xI,30,25,"div",14),i["\u0275\u0275template"](10,YI,30,25,"div",3),i["\u0275\u0275template"](11,WI,4,3,"button",15),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.ThemeService.isDevMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isDevMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==n.totalActivities),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0!=n.totalActivities),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isDevMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isDevMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ThemeService.isDevMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay)}}var UI=function(e){return{"dark-theme":e}},qI=function(){function e(e,t,n,i,r,a,o,s,c,d,u,p,h,m,g,f){var v=this;this.WorkoutService=e,this.daysBetween=t,this.DecimalPipe=n,this.lbsToKg=i,this.dateService=r,this.secondsToHrsMin=a,this.AccountService=o,this.WorkoutTypes=s,this.translate=c,this.router=d,this.HealthDataService=u,this.titleService=p,this.ThemeService=h,this.milesToKm=m,this.minToHrsMin=g,this.PermissionsService=f,this.newTop=!0,this.startDate=null,this.showFilters=!1,this.searchResetLoading=!1,this.searchReset=!1,this.initLoaded=!1,this.endDate=null,this.averagesOn=!1,this.showWeight=!1,this.showChartOptions=!1,this.durationSearch=null,this.durationSearchOptions=[],this.distanceSearch=null,this.distanceSearchOptions=[],this.mapUpdated=!1,this.searchChanged=new l.a,this.grouping="daily",this.showLoadingOverlay=!1,this.statsItems=[],this.Highcharts=re,this.weightData=[],this.dailyDateArray={},this.weeklyDateArray={},this.monthlyDateArray={},this.activitiesList=[],this.filteredActivitesList=[],this.compareList=[],this.isMetric=!1,this.compareLimitReached=!1,this.isMobileEmbedded=!1,this.currentSortedType="",this.currentPage=0,this.rowLimit=10,this.rowLimitOptions=[{id:10,label:"10"},{id:20,label:"20"},{id:50,label:"50"},{id:100,label:"100"},{id:200,label:"200"}],this.isDarkTheme=!1,this.showSearch=!1,this.below=0,this.zone1=0,this.zone2=0,this.zone3=0,this.zone4=0,this.zone5=0,this.above=0,this.defaultaxiscolor="#000000",this.initialFilter=!0,this.Day_txt="Day",this.Week_txt="Week",this.Month_txt="Month",this.Year_txt="Year",this.All_txt="All",this.per_day_txt="per day",this.per_week_txt="per week",this.per_month_txt="per month",this.per_year_txt="per year",this.TOTALS_txt="TOTALS",this.Export_txt="Export",this.Custom_txt="Custom",this.GRAPH_txt="GRAPH",this.LIST_txt="LIST",this.get_motivated_to_move_txt="Get Motivated to Move!",this.link_a_partner_txt="Link a partner to get daily calorie burn, steps, and motivation",this.partners_txt="Partners",this.calories_txt="calories",this.steps_txt="steps",this.Steps_txt="Steps",this.STEPS_txt="STEPS",this.DATE_txt="DATE",this.Date_txt="Date",this.daily_cal_txt="Daily Cal",this.Floors_txt="Floors",this.Active_minutes_txt="Active Min",this.Lifetime_Best_txt="Lifetime Best",this.Daily_Calorie_Burn_txt="Daily Calorie Burn",this.Active_min_txt="Active Minutes",this.Sedentary_cals_txt="Sedentary Calories",this.Km_txt="Km",this.Mi_txt="Mi",this.monday_txt="Monday",this.tuesday_txt="Tuesday",this.wednesday_txt="Wednesday",this.thursday_txt="Thursday",this.friday_txt="Friday",this.saturday_txt="Saturday",this.sunday_txt="Sunday",this.january_txt="January",this.february_txt="February",this.march_txt="March",this.april_txt="April",this.may_txt="May",this.june_txt="June",this.july_txt="July",this.august_txt="August",this.september_txt="September",this.october_txt="October",this.november_txt="November",this.december_txt="December",this.Activities_txt="Activities",this.Calories_txt="Calories",this.Miles_txt="Miles",this.Kilometers_txt="Kilometers",this.Duration_txt="Duration",this.Total_txt="TOTAL",this.Distance_txt="Distance",this.Dist_txt="Dist",this.Days_Steps_txt="Days Steps",this.Time_txt="Time",this.Daily_txt="Daily",this.Weekly_txt="Weekly",this.Monthly_txt="Monthly",this.Cal_txt="Cal",this.Steps_total_txt="Steps (Total)",this.Calories_total_txt="Calories (Total)",this.Time_hrs_txt="Time (hrs)",this.Average_txt="Average",this.Averages_txt="Averages",this.Group_txt="Group",this.Weight_txt="Weight",this.Show_txt="Show",this.COMPARE_txt="Compare",this.Routes_txt="Routes",this.Type_txt="Type",this.Title_txt="Title",this.activityTypeFilter=[],this.filterableTypes=[],this.titleService.setTitle("Activities | Fitdigits"),this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){v.localize(e.lang)})}return e.prototype.localize=function(e){"es"===e?(this.Day_txt="D\xeda",this.Week_txt="Semana",this.Month_txt="Mes",this.Year_txt="A\xf1o",this.All_txt="Todas",this.per_day_txt="por d\xeda",this.per_week_txt="por semana",this.per_month_txt="por mes",this.per_year_txt="por a\xf1o",this.TOTALS_txt="TOTALES",this.Export_txt="Exportar",this.Custom_txt="Personalizado",this.GRAPH_txt="GR\xc1FICO",this.LIST_txt="LISTA",this.get_motivated_to_move_txt="\xa1Mot\xedvate para moverte!",this.link_a_partner_txt="Vincular a un socios para obtener calor\xedas diarias, pasos y motivaci\xf3n",this.partners_txt="Fogonadura",this.calories_txt="calor\xedas",this.steps_txt="pasos",this.Steps_txt="Pasos",this.STEPS_txt="PASOS",this.DATE_txt="FECHA",this.Date_txt="Fecha",this.daily_cal_txt="Cal Diarias",this.Lifetime_Best_txt="Mejor de toda la Vida",this.Daily_Calorie_Burn_txt="Calor\xedas quemadas por dia",this.Floors_txt="Pisos",this.Active_min_txt="Min. activo",this.Sedentary_cals_txt="Calor\xedas sedentarias",this.monday_txt="Lunes",this.tuesday_txt="Martes",this.wednesday_txt="Mi\xe9rcoles",this.thursday_txt="Jueves",this.friday_txt="Viernes",this.saturday_txt="S\xe1bado",this.sunday_txt="Domingo",this.january_txt="Enero",this.february_txt="Febrero",this.march_txt="Marzo",this.april_txt="Abril",this.may_txt="Mayo",this.june_txt="Junio",this.july_txt="Julio",this.august_txt="Agosto",this.september_txt="Septiembre",this.october_txt="Octubure",this.november_txt="Noviembre",this.december_txt="Diciembre",this.Activities_txt="Ocupaciones",this.Calories_txt="Calor\xedas",this.Miles_txt="Millas",this.Kilometers_txt="Kil\xf3metros",this.Duration_txt="Duraci\xf3n",this.Steps_txt="Pasos",this.Total_txt="TOTAL",this.Distance_txt="Distancia",this.Dist_txt="Dist",this.Days_Steps_txt="Pasos de d\xedas",this.Time_txt="Hora",this.Daily_txt="Diario",this.Weekly_txt="Semanalmente",this.Monthly_txt="Mensualmente",this.Cal_txt="Cal",this.Steps_total_txt="Pasos (total)",this.Calories_total_txt="Calor\xedas (total)",this.Time_hrs_txt="Tiempo (hrs)",this.Average_txt="Promedio",this.Averages_txt="Promedios",this.Group_txt="Grupo",this.Weight_txt="Peso",this.Show_txt="mostrar",this.COMPARE_txt="Comparar",this.Routes_txt="Rutas",this.Type_txt="Tipo",this.Title_txt="T\xedtulo"):"fr"===e?(this.Day_txt="Jour",this.Week_txt="Semaines",this.Month_txt="Mois",this.Year_txt="Ann\xe9e",this.All_txt="Tout",this.per_day_txt="par jour",this.per_week_txt="pour semaine",this.per_month_txt="par mois",this.per_year_txt="par an",this.TOTALS_txt="TOTAUX",this.Export_txt="Exportation",this.Custom_txt="Douane",this.GRAPH_txt="GRAPHIQUE",this.LIST_txt="LISTE",this.get_motivated_to_move_txt="Soyez motiv\xe9 pour bouger!",this.link_a_partner_txt="Associez un partenaire pour obtenir une d\xe9pense calorique quotidienne, des \xe9tapes et de la motivation",this.partners_txt="Les partenaires",this.calories_txt="calories",this.steps_txt="pas",this.Steps_txt="Pas",this.STEPS_txt="PAS",this.DATE_txt="DATE",this.Date_txt="Date",this.daily_cal_txt="Cal Quotidiennes",this.Lifetime_Best_txt="Vie Meilleure",this.Daily_Calorie_Burn_txt="Calorie Quotidiennen",this.Floors_txt="Des sols",this.Active_min_txt="Min. actives",this.Sedentary_cals_txt="Calories S\xe9dentaires",this.monday_txt="lundi",this.tuesday_txt="mardi",this.wednesday_txt="mercredi ",this.thursday_txt="jeudi",this.friday_txt="vendredi",this.saturday_txt="samedi",this.sunday_txt="dimanche",this.january_txt="Janvier",this.february_txt="F\xe9vrier",this.march_txt="Mars",this.april_txt="Avril",this.may_txt="Mai",this.june_txt="Juin",this.july_txt="Juilet",this.august_txt="Ao\xfbt",this.september_txt="Septembre",this.october_txt="Octobre",this.november_txt="Novembre",this.december_txt="D\xe9cembre",this.Activities_txt="Activit\xe9s",this.Calories_txt="Calories",this.Miles_txt="Miles",this.Kilometers_txt="Kilom\xe8tres",this.Duration_txt="Dur\xe9e",this.Steps_txt="Pas",this.Total_txt="Total",this.Distance_txt="Distance",this.Dist_txt="Dist",this.Days_Steps_txt="\xc9tapes des jours",this.Time_txt="Temps",this.Daily_txt="du quotidien",this.Weekly_txt="Hebdomadaire",this.Monthly_txt="Mensuel",this.Cal_txt="Cal",this.Steps_total_txt="\xc9tapes (total)",this.Calories_total_txt="Calories (Total)",this.Time_hrs_txt="Temps (heures)",this.Average_txt="Moyenne",this.Averages_txt="Moyennes",this.Group_txt="Groupe",this.Weight_txt="Poids",this.Show_txt="Spectacle",this.COMPARE_txt="Comparer",this.Routes_txt="Itin\xe9raires",this.Type_txt="Type",this.Title_txt="Titre"):"it"===e?(this.Day_txt="Giorno",this.Week_txt="Settimana",this.Month_txt="Mese",this.Year_txt="Anno",this.All_txt="Tutti",this.per_day_txt="al giorno",this.per_week_txt="a settimana",this.per_month_txt="al mese",this.per_year_txt="all'anno",this.TOTALS_txt="TOTALI",this.Export_txt="Esportare",this.Custom_txt="Costume",this.GRAPH_txt="GRAFICO",this.LIST_txt="ELENCO",this.get_motivated_to_move_txt="Diventa motivato a muoversi!",this.link_a_partner_txt="Collegare un partner per ottenere bruciature, passi e motivazione giornalieri",this.partners_txt="Partner",this.calories_txt="calorie",this.steps_txt="passaggi",this.Steps_txt="Passaggi",this.STEPS_txt="PASSAGGI",this.DATE_txt="DATA",this.Date_txt="Data",this.daily_cal_txt="Cal Giorbakuere",this.Lifetime_Best_txt="Migliore a Vita",this.Daily_Calorie_Burn_txt="Calorie quotidiane bruciate",this.Floors_txt="Piani",this.Active_min_txt="Min. attivi",this.Sedentary_cals_txt="Calorie sedentarie",this.monday_txt="Luned\xec",this.tuesday_txt="Marted\xec",this.wednesday_txt="Mercoled\xec",this.thursday_txt="Gioved\xec",this.friday_txt="Venerd\xec",this.saturday_txt="Sabato",this.sunday_txt="Domenica",this.january_txt="Gennaio",this.february_txt="Febbraio",this.march_txt="Marzo",this.april_txt="Aprile",this.may_txt="Maggio",this.june_txt="Giugno",this.july_txt="Luglio",this.august_txt="Agosto",this.september_txt="Settembre",this.october_txt="Ottobre",this.november_txt="Novembre",this.december_txt="Dicembre",this.Activities_txt="Attivit\xe0",this.Calories_txt="Calorie",this.Miles_txt="Miglia",this.Kilometers_txt="Chilometri",this.Duration_txt="Durata",this.Steps_txt="Passi",this.Total_txt="Totale",this.Day_txt="Giorno",this.Week_txt="Settimana",this.Month_txt="Mese",this.Year_txt="Anno",this.All_txt="Tutti",this.Custom_txt="Costume",this.Distance_txt="Distanza",this.Dist_txt="Dist",this.Days_Steps_txt="Giorni Passi",this.Time_txt="Tempo",this.Daily_txt="Quotidiano",this.Weekly_txt="Settimanale",this.Monthly_txt="Mensile",this.Cal_txt="Cal",this.Steps_total_txt="Passaggi (totale)",this.Calories_total_txt="Calorie (totale)",this.Time_hrs_txt="Tempo (ore)",this.Average_txt="Media",this.Averages_txt="Medi",this.Group_txt="Gruppo",this.Weight_txt="Peso",this.Show_txt="Mostrare",this.COMPARE_txt="Confrontare",this.Routes_txt="Itinerari",this.Type_txt="genere",this.Title_txt="Titolo"):"de"===e&&(this.Day_txt="Tag",this.Week_txt="Woche",this.Month_txt="Monat",this.Year_txt="Jahr",this.All_txt="Aalles",this.per_day_txt="pro Tag",this.per_week_txt="pro Woche",this.per_month_txt="pro Monat",this.per_year_txt="pro Jahr",this.TOTALS_txt="SUMMEN",this.Export_txt="Export",this.Custom_txt="Brauch",this.GRAPH_txt="GRAPH",this.LIST_txt="LISTE",this.get_motivated_to_move_txt="Beweg dich motivieren!",this.link_a_partner_txt="Verkn\xfcpfen Sie einen Partner, um t\xe4gliche Kalorienverbrennung, Schritte und Motivation zu erhalten",this.partners_txt="Partner",this.calories_txt="kalorien",this.steps_txt="schritte",this.Steps_txt="Schritte",this.STEPS_txt="SCHRITTE",this.DATE_txt="DATUM",this.Date_txt="Datum",this.daily_cal_txt="T\xe4gliche Kal",this.Lifetime_Best_txt="Lebensdauer am besten",this.Daily_Calorie_Burn_txt="T\xe4gliche Kalorienverbrennung",this.Floors_txt="Fu\xdfb\xf6den",this.Active_min_txt="Aktive Min.",this.Sedentary_cals_txt="Sitzende Kalorien",this.monday_txt="Montag",this.tuesday_txt="Dienstag",this.wednesday_txt="Mittwoch",this.thursday_txt="Donnerstag",this.friday_txt="Freitag",this.saturday_txt="Samstag",this.sunday_txt="Sonntag",this.january_txt="Januar",this.february_txt="Februar",this.march_txt="Marz",this.april_txt="April",this.may_txt="Mai",this.june_txt="Juni",this.july_txt="Juli",this.august_txt="August",this.september_txt="September",this.october_txt="Oktober",this.november_txt="November",this.december_txt="Dezember",this.Activities_txt="Aktivit\xe4ten",this.Calories_txt="Kalorien",this.Miles_txt="Meilen",this.Kilometers_txt="Kilometer",this.Duration_txt="Dauer",this.Steps_txt="Schritte",this.Total_txt="Gesamt",this.Day_txt="Tag",this.Week_txt="Woche",this.Month_txt="Monat",this.Year_txt="Jahr",this.All_txt="Aalles",this.Custom_txt="Brauch",this.Distance_txt="Entfernung",this.Dist_txt="Entf",this.Days_Steps_txt="Tage Schritte",this.Time_txt="Zeit",this.Daily_txt="T\xe4glich",this.Weekly_txt="W\xf6chentlich",this.Monthly_txt="Monatlich",this.Cal_txt="Kal",this.Steps_total_txt="Schritte (insgesamt)",this.Calories_total_txt="Kalorien (insgesamt)",this.Time_hrs_txt="Zeit (Std.)",this.Average_txt="Durchschnittlich",this.Averages_txt="Durchschnittswerte",this.Group_txt="Gruppe",this.Weight_txt="Gewicht",this.Show_txt="Show",this.COMPARE_txt="Vergleichen Sie",this.Routes_txt="Routen",this.Type_txt="Art",this.Title_txt="Titel")},e.prototype.goToActivity=function(e,t){if(!0===e.ctrlKey){var n=this.router.createUrlTree(["activity",t,"detail"]);window.open(this.router.serializeUrl(n),"_blank")}else this.router.navigate(["/activity",t,"detail"])},e.prototype.compare=function(){for(var e="",t=0;t<this.compareList.length;t++)e+=t==this.compareList.length-1?this.compareList[t]:this.compareList[t]+",";this.router.navigate(["/activities-compare",e])},e.prototype.updateMap=function(e){this.tabEvent=e,3===e.index&&(this.mapUpdated=!0)},e.prototype.getDateArray=function(e,t){for(var n={},i=e;i<=t;){var r=Number(Object(B.t)(i)),a=new Date(r);a=a.getTime()+60*i.getTimezoneOffset()*1e3,n[r]={date:a,activities:[],health:{}},i=Object(B.m)(1,i)}return n},e.prototype.exportWorkoutData=function(){var e=new Date(this.startDate),t=new Date(this.endDate);t.setHours(23),t.setMinutes(59),t.setSeconds(59);var n=this.dateService.dateObjToDateString(e),i=this.dateService.dateObjToDateString(t);window.location.href=this.AccountService.getPy3Host()+"/api/v2/table/export?date_from="+n+"&date_to="+i+"&type=workouts"},e.prototype.generateGraphData=function(){this.stepsGraphData=[],this.caloriesGraphData=[],this.fdCaloriesGraphData=[],this.distanceGraphData=[],this.daDistanceGraphData=[],this.veryActiveTimeGraphData=[],this.fairlyActiveTimeGraphData=[],this.lightlyActiveTimeGraphData=[],this.tooltipDataDaily={},this.tooltipDataWeekly={},this.tooltipDataMonthly={};var e=0,t=0,n=0,i=0,r=0,a=0,o=0,s=0,l=0,c=0,d=0,u=0,p=0;for(var h in this.weightData=[],this.dailyDateArray)this.dailyDateArray.hasOwnProperty(h)&&this.dailyDateArray[h].health.weight&&(u||(u=Number(this.dailyDateArray[h].health.weight.measures.weight)),p=Number(this.dailyDateArray[h].health.weight.measures.weight),this.weightData.push([Number(h),Number(this.dailyDateArray[h].health.weight.measures.weight)]));if(this.weightData&&this.weightData.sort(),"daily"===this.grouping){for(var m in this.dailyDateArray)if(this.dailyDateArray.hasOwnProperty(m)){if(m=Number(m),i=0,r=0,a=0,o=0,s=0,l=0,c=0,d=0,this.dailyDateArray[m]){this.dailyDateArray[m].health.steps&&(i=Number(this.dailyDateArray[m].health.steps.measures.steps),r=Number(this.dailyDateArray[m].health.steps.measures.calories),s=Number(this.dailyDateArray[m].health.steps.measures.distance));for(var g=0;g<this.dailyDateArray[m].activities.length;g++)o+=Number(this.dailyDateArray[m].activities[g].distance),c+=Number(this.dailyDateArray[m].activities[g].elapsedSeconds),a+=Number(this.dailyDateArray[m].activities[g].calories)}e+=a,t+=s,t+=o,n+=Number.isNaN(l)?0:l,n+=Number.isNaN(c)?0:c,n+=Number.isNaN(d)?0:d,this.tooltipDataDaily[m]={steps:i,calories:r,fdCalories:a,distance:o,daDistance:s,veryActiveTime:l,fairlyActiveTime:c,lightlyActiveTime:d},r>a&&(r-=a),this.stepsGraphData.push([m,i]),this.caloriesGraphData.push([m,r]),this.fdCaloriesGraphData.push([m,a]),this.distanceGraphData.push([m,this.isMetric?Number(Object(B.P)(o)):o]),this.daDistanceGraphData.push([m,this.isMetric?Number(Object(B.P)(s)):s]),this.veryActiveTimeGraphData.push([m,l/60/60]),this.fairlyActiveTimeGraphData.push([m,c/60/60]),this.lightlyActiveTimeGraphData.push([m,d/60/60])}}else if("weekly"===this.grouping){for(var f in this.weeklyDateArray)if(this.weeklyDateArray.hasOwnProperty(f)){if(f=Number(f),i=0,r=0,a=0,o=0,s=0,l=0,c=0,d=0,this.weeklyDateArray[f]){for(var v=0;v<this.weeklyDateArray[f].health.steps.length;v++)i+=Number(this.weeklyDateArray[f].health.steps[v].measures.steps),r+=Number(this.weeklyDateArray[f].health.steps[v].measures.calories),s+=Number(this.weeklyDateArray[f].health.steps[v].measures.distance);for(var y=0;y<this.weeklyDateArray[f].activities.length;y++)o+=Number(this.weeklyDateArray[f].activities[y].distance),c+=Number(this.weeklyDateArray[f].activities[y].elapsedSeconds),a+=Number(this.weeklyDateArray[f].activities[y].calories)}e+=a,t+=s,t+=o,n+=Number.isNaN(l)?0:l,n+=Number.isNaN(c)?0:c,n+=Number.isNaN(d)?0:d,this.tooltipDataWeekly[f]={steps:i,calories:r,fdCalories:a,distance:o,daDistance:s,veryActiveTime:l,fairlyActiveTime:c,lightlyActiveTime:d},r>a&&(r-=a),this.stepsGraphData.push([f,i]),this.caloriesGraphData.push([f,r]),this.fdCaloriesGraphData.push([f,a]),this.distanceGraphData.push([f,this.isMetric?Number(Object(B.P)(o)):o]),this.daDistanceGraphData.push([f,this.isMetric?Number(Object(B.P)(s)):s]),this.veryActiveTimeGraphData.push([f,l/60/60]),this.fairlyActiveTimeGraphData.push([f,c/60/60]),this.lightlyActiveTimeGraphData.push([f,d/60/60])}}else if("monthly"===this.grouping)for(var b in this.monthlyDateArray)if(this.monthlyDateArray.hasOwnProperty(b)){if(b=Number(b),i=0,r=0,a=0,o=0,s=0,l=0,c=0,d=0,this.monthlyDateArray[b]){for(var x=0;x<this.monthlyDateArray[b].health.steps.length;x++)i+=Number(this.monthlyDateArray[b].health.steps[x].measures.steps),r+=Number(this.monthlyDateArray[b].health.steps[x].measures.calories),s+=Number(this.monthlyDateArray[b].health.steps[x].measures.distance);for(var _=0;_<this.monthlyDateArray[b].activities.length;_++)o+=Number(this.monthlyDateArray[b].activities[_].distance),c+=Number(this.monthlyDateArray[b].activities[_].elapsedSeconds),a+=Number(this.monthlyDateArray[b].activities[_].calories)}e+=a,t+=s,t+=o,n+=Number.isNaN(l)?0:l,n+=Number.isNaN(c)?0:c,n+=Number.isNaN(d)?0:d,this.tooltipDataMonthly[b]={steps:i,calories:r,fdCalories:a,distance:o,daDistance:s,veryActiveTime:l,fairlyActiveTime:c,lightlyActiveTime:d},r>a&&(r-=a),this.stepsGraphData.push([b,i]),this.caloriesGraphData.push([b,r]),this.fdCaloriesGraphData.push([b,a]),this.distanceGraphData.push([b,this.isMetric?Number(Object(B.P)(o)):o]),this.daDistanceGraphData.push([b,this.isMetric?Number(Object(B.P)(s)):s]),this.veryActiveTimeGraphData.push([b,l/60/60]),this.fairlyActiveTimeGraphData.push([b,c/60/60]),this.lightlyActiveTimeGraphData.push([b,d/60/60])}var w=0,S=0,C=0;"daily"===this.grouping?(w=Number(e/this.numOfDays),C=Number(n/60/this.numOfDays),S=Number(t/this.numOfDays)):("weekly"===this.grouping||"monthly"===this.grouping)&&(w=Number(e/this.caloriesGraphData.length),C=Number(n/60/this.fairlyActiveTimeGraphData.length),S=Number(t/this.distanceGraphData.length)),this.avgCalData=[[Object(B.t)(new Date(this.startDate)),w],[Object(B.t)(new Date(this.endDate)),w]],this.avgDistanceData=[[Object(B.t)(new Date(this.startDate)),S],[Object(B.t)(new Date(this.endDate)),S]],this.avgTimeData=[[Object(B.t)(new Date(this.startDate)),C],[Object(B.t)(new Date(this.endDate)),C]],this.weightChange=p-u},e.prototype.generateGraphs=function(){var e={chart:{alignTicks:!1,type:"column",style:{fontFamily:"Helvetica Neue,Helvetica,Arial,sans-serif"},backgroundColor:"rgba(255,255,255,0.0)",animation:{duration:1200}},legend:{enabled:!1,floating:!1,align:"left",verticalAlign:"bottom",borderWidth:0,y:20,itemStyle:{cursor:"default",color:this.defaultaxiscolor,fontSize:"14px"},itemMarginTop:15,itemMarginBottom:5},title:{text:null},credits:{enabled:!1},xAxis:[{type:"datetime",startOfWeek:0,title:{text:null},labels:{style:{fontSize:14}}},{type:"datetime",startOfWeek:0,title:{text:null},labels:{enabled:!1},tickWidth:0,lineWidth:0}],yAxis:[{min:0,title:{text:null,style:{color:this.defaultaxiscolor,fontSize:14}},labels:{style:{color:this.defaultaxiscolor,fontSize:14}}}],plotOptions:{column:{stacking:"normal",shadow:!1,pointPadding:0,groupPadding:0,borderRadius:2,point:{events:{}}},series:{events:{legendItemClick:function(){return!1}}}},tooltip:{}};if(this.caloriesGraphOpts=Object(B.q)(e),this.distanceGraphOpts=Object(B.q)(e),this.timeGraphOpts=Object(B.q)(e),this.caloriesGraphOpts.yAxis[0].title.text=this.Calories_total_txt,this.distanceGraphOpts.yAxis[0].title.text=this.Distance_txt+(this.isMetric?" (KM)":" (MI)"),this.timeGraphOpts.yAxis[0].title.text=this.Time_hrs_txt,this.caloriesGraphOpts.series=[{name:"Fitdigits",data:this.fdCaloriesGraphData,color:"#FF9210"}],this.distanceGraphOpts.series=[{name:"Fitdigits",data:this.distanceGraphData,color:"#FF9210"}],this.timeGraphOpts.series=[{name:this.Duration_txt,data:this.fairlyActiveTimeGraphData,color:"#52B8BA"}],this.showWeight){var t={title:{text:"Weight (lbs)",style:{color:this.defaultaxiscolor}},labels:{style:{color:this.defaultaxiscolor}},allowDecimals:!1,gridLineWidth:0,opposite:!0};this.caloriesGraphOpts.yAxis.push(t),this.distanceGraphOpts.yAxis.push(t),this.timeGraphOpts.yAxis.push(t)}if(this.averagesOn){var n={title:!1,allowDecimals:!1,gridLineWidth:0,opposite:!0};this.caloriesGraphOpts.yAxis.push(n),this.distanceGraphOpts.yAxis.push(n),this.timeGraphOpts.yAxis.push(n)}var i={name:this.Weight_txt,data:this.weightData,type:"spline",color:"#C6C6C4",yAxis:1,xAxis:1},r={name:"Weight Trend",type:"line",color:"#1E3C4F",marker:{enabled:!1},dashStyle:"Dash",states:{hover:{enabled:!1}},enableMouseTracking:!1,yAxis:1,xAxis:1,data:Object(pM.a)(this.weightData,"exponential").data},a={name:this.Average_txt,data:this.avgCalData,marker:{enabled:!1},states:{hover:{enabled:!1}},enableMouseTracking:!1,dashStyle:"Solid",type:"line",color:"#3FAE48",yAxis:0,xAxis:0},o={name:this.Average_txt,data:this.avgDistanceData,marker:{enabled:!1},states:{hover:{enabled:!1}},enableMouseTracking:!1,dashStyle:"Solid",type:"line",color:"#3FAE48",yAxis:0,xAxis:0},s={name:this.Average_txt,data:this.avgTimeData,marker:{enabled:!1},states:{hover:{enabled:!1}},enableMouseTracking:!1,dashStyle:"Solid",type:"line",color:"#3FAE48",yAxis:0,xAxis:0};this.showWeight&&(this.caloriesGraphOpts.series.push(i),this.caloriesGraphOpts.series.push(r),this.distanceGraphOpts.series.push(i),this.distanceGraphOpts.series.push(r),this.timeGraphOpts.series.push(i),this.timeGraphOpts.series.push(r)),this.averagesOn&&(this.caloriesGraphOpts.series.push(a),this.distanceGraphOpts.series.push(o),this.timeGraphOpts.series.push(s));var l=this;this.caloriesGraphOpts.tooltip.formatter=function(){var e,t=this.series.name,n=moment.unix(this.x/1e3+60*moment.unix(this.x/1e3)._d.stdTimezoneOffset()).format("MMMM D, YYYY");if(t===this.Weight_txt)e='<span style="font-weight: bold;">Weight: </span>'+Object(B.ab)(this.y,2)+"</br>";else{if("Trend"===t)return!1;var i,r=this.x,a=this.series.color;if(i="monthly"===l.grouping?l.tooltipDataMonthly[r=this.x]:"weekly"===l.grouping?l.tooltipDataWeekly[r]:l.tooltipDataDaily[r]){var o=i.fdCalories+i.calories;i.calories>i.fdCalories&&(o=i.calories);var s=l.DecimalPipe.transform(o/l.numOfDays,"1.0-0");e='<span style="color:'+a+';font-weight: bold;">Calories: </span>'+l.DecimalPipe.transform(o,"1.0-0")+"<br>"+(l.averagesOn?"Average Calories: "+s:"")}}return'<span style="font-weight: bold; font-size: 13px;">'+n+"</span><br/>"+e},this.distanceGraphOpts.tooltip.formatter=function(){var e,t=this.series.name,n=moment.unix(this.x/1e3+60*moment.unix(this.x/1e3)._d.stdTimezoneOffset()).format("MMMM D, YYYY");if(t===this.Weight_txt)e='<span style="font-weight: bold;">Weight: </span>'+Object(B.ab)(this.y,2)+"</br>";else{if("Trend"===t)return!1;var i,r=this.x,a=this.series.color;if(i="monthly"===l.grouping?l.tooltipDataMonthly[r]:"weekly"===l.grouping?l.tooltipDataWeekly[r]:l.tooltipDataDaily[r]){var o=l.isMetric?Number(Object(B.P)(i.distance)):i.distance,s=l.isMetric?Number(Object(B.P)(i.daDistance)):i.daDistance,c=l.DecimalPipe.transform(o+s,"1.0-2"),d=l.DecimalPipe.transform(Number(o+s)/l.numOfDays,"1.0-2");e='<span style="color:'+a+';font-weight: bold;">Distance: </span>'+c+(l.isMetric?" km":" mi")+"<br>"+(l.averagesOn?"Average Distance: "+d:"")}}return'<span style="font-weight: bold; font-size: 13px;">'+n+"</span><br/>"+e},this.timeGraphOpts.tooltip.formatter=function(){var e,t=this.series.name,n=moment.unix(this.x/1e3+60*moment.unix(this.x/1e3)._d.stdTimezoneOffset()).format("MMMM D, YYYY");if(t===this.Weight_txt)e='<span style="font-weight: bold;">Weight: </span>'+Object(B.ab)(this.y,2)+"</br>";else{if("Trend"===t)return!1;var i,r=this.x,a=this.series.color;if(i="monthly"===l.grouping?l.tooltipDataMonthly[r]:"weekly"===l.grouping?l.tooltipDataWeekly[r]:l.tooltipDataDaily[r]){var o=l.minToHrsMin.transform(i.fairlyActiveTime/60),s=l.minToHrsMin.transform(Number(i.fairlyActiveTime/60)/l.numOfDays);e='<span style="color:'+a+';font-weight: bold;">Duration: </span>'+o+"<br/>"+(l.averagesOn?"Average Distance: "+s:"")}}return'<span style="font-weight: bold; font-size: 13px;">'+n+"</span><br/>"+e}},e.prototype.toggleCompare=function(e,t){e.preventDefault();for(var n=-1,i=0;i<this.compareList.length;i++)Number(t.id)===this.compareList[i]&&(n=i,t.checked=!1);if(n>=0)this.compareList.splice(n,1);else{if(this.compareLimitReached)return;this.compareList.push(Number(t.id)),t.checked=!0}},e.prototype.changeRowLimit=function(){this.numPages=Math.ceil(this.activitiesList.length/this.rowLimit)},e.prototype.updateWeight=function(){this.generateGraphs()},e.prototype.updateAll=function(){this.generateGraphData(),this.generateGraphs(),this.generateStats(),this.isStarUser&&this.getHRAnalysisData()},e.prototype.generateStats=function(){this.statsItems=[];var e=this.numOfDays;this.avgNumName="day","weekly"===this.grouping?(e=this.caloriesGraphData.length,this.avgNumName="week"):"monthly"===this.grouping&&(e=this.caloriesGraphData.length,this.avgNumName="month");var t=this.secondsToHrsMin.transform(Number(this.totalDuration)),n=this.secondsToHrsMin.transform(Number(this.totalDuration/e)),i=(this.DecimalPipe.transform(this.totalSteps,"1.0-0"),this.DecimalPipe.transform(this.totalSteps/e,"1.0-0"),this.isMetric?this.lbsToKg.transform(this.weightChange):this.DecimalPipe.transform(this.weightChange,"1.0-1")),r=(this.DecimalPipe.transform(Number(i)/e,"1.0-0"),this.DecimalPipe.transform(Number(this.totalDistance)+Number(this.totalDailyDistance||0),"1.0-2")),a=this.DecimalPipe.transform(Number(r)/e,"1.0-2"),o=(this.DecimalPipe.transform(Number(this.totalDistance),"1.0-2"),this.DecimalPipe.transform(Number(this.totalDistance/e),"1.0-2"),this.DecimalPipe.transform(Number(this.totalDailyDistance),"1.0-2"),this.DecimalPipe.transform(Number(this.totalDailyDistance/e),"1.0-2"),Number(this.totalDailyCalories)),s=Number(this.totalCalories)+(Number(this.totalDailyCalories)||0);Number(this.totalDailyCalories)>Number(this.totalCalories)&&(o=Number(this.totalDailyCalories)-Number(this.totalCalories),s=Number(this.totalDailyCalories));var l=this.DecimalPipe.transform(s,"1.0-0"),c=this.DecimalPipe.transform(s/e,"1.0-0");this.DecimalPipe.transform(Number(this.totalCalories),"1.0-0"),this.DecimalPipe.transform(Number(this.totalCalories/e),"1.0-0"),this.DecimalPipe.transform(Number(this.totalDailyCalories),"1.0-0"),this.DecimalPipe.transform(Number(o/e),"1.0-0"),this.statsItems.push({name:this.Duration_txt,color:"#52B8BA",value:t,average:n,statstype:"Duration"}),Number(this.totalDistance),Number(this.totalDailyDistance),this.statsItems.push({name:this.Distance_txt+(this.isMetric?" (KM)":" (MI)"),color:"#52B8BA",value:r,average:a,statstype:"Distance"}),Number(this.totalCalories),Number(this.totalDailyCalories),this.statsItems.push({name:this.Calories_txt,color:"#52B8BA",value:l,average:c,statstype:"Calories"})},e.prototype.runFilters=function(){var e=this,t=this;this.initialFilter=!0,this.filteredActivitesList=this.activitiesList.filter(function(n){var i,r,a,o=n.elapsedSeconds/60,s=n.distance;return t.AccountService.account.isMetric()&&(s=Object(B.P)(s)),t.activityTypeFilter.length>0?(i=t.activityTypeFilter.includes(n.ecomodule),e.initialFilter=!1):i=!0,t.durationSearch?200==t.durationSearch[1]&&o>180?r=!0:(r=o<t.durationSearch[1]&&o>t.durationSearch[0],e.initialFilter=!1):r=!0,t.distanceSearch?30==t.distanceSearch[1]&&s>20?a=!0:(a=s<t.distanceSearch[1]&&s>t.distanceSearch[0],e.initialFilter=!1):a=!0,i&&r&&a}),this.totalActivities=this.filteredActivitesList.length,this.generateBaseData(),this.generateGraphData(),this.generateGraphs(),this.generateStats(),this.isStarUser&&this.getHRAnalysisData()},e.prototype.generateBaseData=function(){this.dailyDateArray=this.getDateArray(new Date(this.startDate),new Date(this.endDate)),this.weeklyDateArray={},this.monthlyDateArray={},this.totalCalories=0,this.totalDuration=0,this.totalDistance=0;for(var e=0;e<this.filteredActivitesList.length;e++){var t=this.filteredActivitesList[e],n=Number(Object(B.t)(t.dateObj)),i=Number(Object(B.t)(Object(B.F)(t.dateObj))),r=Number(Object(B.t)(new Date(t.dateObj.getFullYear(),t.dateObj.getMonth(),1)));void 0===this.dailyDateArray[n]&&(this.dailyDateArray[n]={date:n,activities:[],health:{}}),void 0===this.weeklyDateArray[i]&&(this.weeklyDateArray[i]={date:i,activities:[],health:{steps:[],weight:[]}}),void 0===this.monthlyDateArray[r]&&(this.monthlyDateArray[r]={date:r,activities:[],health:{steps:[],weight:[]}}),this.dailyDateArray[n].activities.push(t),this.weeklyDateArray[i].activities.push(t),this.monthlyDateArray[r].activities.push(t),this.totalDuration+=Number(t.elapsedSeconds)||0,this.totalDistance+=Number(t.distance)||0,this.totalCalories+=Number(t.calories)||0}},e.prototype.getWorkouts=function(e){var t=this;this.AccountService.isLoggedIn&&(this.showLoadingOverlay=!0),this.workoutsCall=this.WorkoutService.getWorkouts(this.startDate,this.endDate,e).subscribe(function(e){t.activitiesList=[],t.filterableTypes=[],t.totalDuration=0,t.totalDistance=0,t.totalCalories=0,t.activityTypesList=[],t.durationSearchOptions=[{name:t.translate.instant("ROOT.All"),value:null}],t.distanceSearchOptions=[{name:t.translate.instant("ROOT.All"),value:null}];var n=0,i=0;e.response.workouts.reverse();for(var r=0;r<e.response.workouts.length;r++){var a=new Te.a(e.response.workouts[r],t.WorkoutTypes,t.translate.currentLang,t.ThemeService.isDarkTheme);a.elapsedSeconds>n&&(n=a.elapsedSeconds),a.distance>i&&(i=a.distance),t.activitiesList.push(a),t.filterableTypes.push(a.ecomodule),t.generateBaseData()}t.initLoaded=!0;var o=[[0,30],[30,60],[60,90],[90,120],[120,180],[180,200]];n/=60;for(var s=0;s<o.length&&!(o[s][0]>n);s++){var l=(0==o[s][0]?"0m":Object(B.S)(o[s][0],!0))+" - "+Object(B.S)(o[s][1],!0);200==o[s][1]&&(l="3h+"),t.durationSearchOptions.push({name:l,value:o[s]})}var c=[[0,1],[1,2],[2,4],[4,6],[6,10],[10,20],[20,30]];for(s=0;s<c.length&&!(c[s][0]>i);s++){var d="m";t.AccountService.account.isMetric()&&(d="km");var u=c[s][0]+" - "+c[s][1]+d;30==c[s][1]&&(u="20"+d+"+"),t.distanceSearchOptions.push({name:u,value:c[s]})}t.numPages=Math.ceil(t.activitiesList.length/t.rowLimit),t.activityTypesField.setValue(t.activityTypesList),t.HealthDataService.getHealthData(t.startDate,t.endDate,nf.c.WEIGHT).subscribe(function(e){for(var n=0;n<e.response.records.length;n++){var i=new nf.b(e.response.records[n]),r=Number(Object(B.t)(i.dateObj));try{t.dailyDateArray[r].health.weight=i}catch(a){}}t.runFilters(),t.showLoadingOverlay=!1})})},e.prototype.sortActivities=function(e){this.currentSortedType=e;var t=this.filteredActivitesList.map(function(e){return Object.assign({},e)}),n="asc";this.reverse&&(n="desc"),this.filteredActivitesList=Object(Wn.orderBy)(t,e,n),this.reverse=!this.reverse},e.prototype.ngOnInit=function(){var e=this;this.activityTypeFilterSubscription=this.WorkoutTypes.activityTypeFilter().subscribe(function(t){e.activityTypeFilter=t,e.searchReset=!1,e.runFilters()}),this.AccountService.isMobileEmbedded().subscribe(function(t){e.isMobileEmbedded=t}),this.isDarkTheme=this.ThemeService.isDarkTheme,1==this.isDarkTheme&&(this.defaultaxiscolor="#FFFFFF"),this.isStarUser=this.PermissionsService.starAccess,this.AccountService.isLoggedIn&&(this.isStarUser&&this.WorkoutService.getZonesets().subscribe(function(t){for(var n=0;n<t.response.customZoneSets.length;n++)t.response.customZoneSets[n].activity_types[0]==[-1]&&(e.zoneSelected=t.response.customZoneSets[n]);e.zones=t.response.customZoneSets,e.dateSubscription=e.dateService.dateRange.subscribe(function(t){e.startDate=t.startDate,e.endDate=t.endDate,e.numOfDays=e.daysBetween.transform(new Date(e.startDate),new Date(e.endDate))})}),this.dateService.setFirstdate(this.AccountService.account.creationDate),this.searchSubscription=this.searchChanged.pipe(Object(Re.a)(1e3),Object(je.a)()).subscribe(function(t){e.searchParams=t,e.getWorkouts(t)}),this.availableWorkoutTypes=this.WorkoutTypes.getWorkoutTypeList(this.translate.currentLang),this.activityTypesField=new de.e,this.activityTypesField.valueChanges.subscribe(function(e){}),this.dateSubscription=this.dateService.dateRange.subscribe(function(t){e.startDate=t.startDate,e.endDate=t.endDate,e.numOfDays=e.daysBetween.transform(new Date(e.startDate),new Date(e.endDate)),e.getWorkouts()}),this.isMetric=this.AccountService.account.isMetric())},e.prototype.resetTimer=function(){var e=this;this.searchResetLoading=!0,this.resetTimerSub=Object(ql.a)(1e3);var t=this.resetTimerSub.subscribe(function(){e.searchResetLoading=!1,t.unsubscribe()})},e.prototype.ngOnDestroy=function(){this.AccountService.isLoggedIn&&(this.workoutsCall.unsubscribe(),this.dateSubscription.unsubscribe(),this.activityTypeFilterSubscription.unsubscribe())},e.prototype.getHRAnalysisData=function(){var e=this,t=this.filteredActivitesList.map(function(e){return e.hhc});console.log(t),this.WorkoutService.getAggregates(this.startDate,this.endDate,this.zoneSelected.id,t).subscribe(function(t){e.aggregateData=t.response.workouts.all,e.generateHRAnalysisChart();var n=e.aggregateData.timeInZones.reduce(function(e,t){return e+t},0);e.below=Math.round(e.aggregateData.timeInZones[0]/n*100)||0,e.zone1=Math.round(e.aggregateData.timeInZones[1]/n*100)||0,e.zone2=Math.round(e.aggregateData.timeInZones[2]/n*100)||0,e.zone3=Math.round(e.aggregateData.timeInZones[3]/n*100)||0,e.zone4=Math.round(e.aggregateData.timeInZones[4]/n*100)||0,e.zone5=Math.round(e.aggregateData.timeInZones[5]/n*100)||0,e.above=Math.round(e.aggregateData.timeInZones[6]/n*100)||0})},e.prototype.generateHRAnalysisChart=function(){for(var e=this.aggregateData.timeInZones,t=e.reduce(function(e,t){return e+t},0),n=this.WorkoutService.TIME_IN_ZONES_DISPLAY_CONFIG_OPTS.FITDIGITS,i=[{y:e[0],color:n.zone[0].tizColor,name:"Below"},{y:e[1],color:n.zone[1].tizColor,name:"Zone 1"},{y:e[2],color:n.zone[2].tizColor,name:"Zone 2"},{y:e[3],color:n.zone[3].tizColor,name:"Zone 3"},{y:e[4],color:n.zone[4].tizColor,name:"Zone 4"},{y:e[5],color:n.zone[5].tizColor,name:"Zone 5"},{y:e[6],color:n.zone[6].tizColor,name:"Above"}],r=Object(Wn.cloneDeep)(this.zoneSelected),a=this.aggregateData.bpmHistogram,o=a.nBins,s=a.binWidth,l=a.values,c=[],d=0,u=a.binStart;d<o;d++){var p=l[d];p>0&&c.push([u,p]),u+=s}this.bpmHistogramDataOpts={chart:{type:"spline",backgroundColor:"rgba(255,255,255,0.0)",animation:{duration:1200}},legend:{enabled:!1},title:{text:null},credits:{enabled:!1},xAxis:{labels:{style:{color:this.defaultaxiscolor}},title:{text:"BPM ("+Object(B.J)(r.name,50)+")",style:{color:this.defaultaxiscolor}},plotBands:[{from:r.zone1.bpmMin,to:r.zone1.bpmMax,color:"rgba(76,152,201,0.4)"},{from:r.zone2.bpmMin,to:r.zone2.bpmMax,color:"rgba(0,170,159,0.4)"},{from:r.zone3.bpmMin,to:r.zone3.bpmMax,color:"rgba(3,176,97,0.4)"},{from:r.zone4.bpmMin,to:r.zone4.bpmMax,color:"rgba(254,181,26,0.4)"},{from:r.zone5.bpmMin,to:r.zone5.bpmMax,color:"rgba(255,95,25,0.4)"}],min:50},yAxis:{title:{text:"Time (Hours)",style:{color:this.defaultaxiscolor}},labels:{formatter:function(){return Object(B.ab)(this.value/3600,0)}},allowDecimals:!1,min:0},plotOptions:{spline:{marker:{enabled:!1},enableMouseTracking:!1}},tooltip:{enabled:!1},series:[{color:"#c82d33",data:c}]},this.aggregateTizGraphOpts={chart:{renderTo:"aggregate_tiz_chart",backgroundColor:"rgba(255,255,255,0.0)",animation:{duration:1200}},legend:{enabled:!1},title:{text:null},credits:{enabled:!1},xAxis:{labels:{style:{color:this.defaultaxiscolor}},categories:["Below","Zone 1","Zone 2","Zone 3","Zone 4","Zone 5","Above"],title:{text:null}},yAxis:{title:{text:null},gridLineWidth:0,labels:{enabled:!1}},plotOptions:{column:{shadow:!0,groupPadding:0,dataLabels:{enabled:!0,formatter:function(){return(0==t?0:Object(B.ab)(this.y/t*100,0))+"%"}}}},tooltip:{formatter:function(){var e="";return this.point.name&&(e='<span style="font-weight: bold; color:'+this.point.color+'">'+this.point.name+'</span><br/><span style="font-weight: bold">Time in Zone: </span>'+Object(B.fb)(this.y)+" ("+(0==t?0:Object(B.ab)(this.y/t*100,0))+"%)"),e}},series:[{type:"column",data:i}]},this.chartsUpdated=!0},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](B.w),i["\u0275\u0275directiveInject"](y.DecimalPipe),i["\u0275\u0275directiveInject"](B.H),i["\u0275\u0275directiveInject"](xg.a),i["\u0275\u0275directiveInject"](B.hb),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](nf.a),i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](B.Q),i["\u0275\u0275directiveInject"](B.R),i["\u0275\u0275directiveInject"](ae.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-activities"]],decls:5,vars:7,consts:[[1,"loading-overlay",3,"hidden"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],["class","topGraphs",4,"ngIf"],["class","homeMultiGraph",4,"ngIf"],["class","noDataFound",4,"ngIf"],["class","chartOptionContainer",4,"ngIf"],[1,"float-left","full-width","clear-both"],["class","statsContainer",4,"ngIf"],["style","font-size: 14px",4,"ngIf"],["mat-stroked-button","","class","themedButton export-button","style","margin:10px 0px 30px 10px;",3,"click",4,"ngIf"],[1,"topGraphs"],[4,"ngFor","ngForOf"],[2,"clear","both","width","100%","float","left","height","40px"],["class","homeGraphSmallCell",4,"ngIf"],[1,"homeGraphSmallCell"],[1,"titleBlock"],["src","/static/img/theme/site/calorie-icon.png",1,"newSmallMetricIcon",2,"height","20px","width","auto"],[1,"metricValue"],[1,"graphHeaderTitle"],["class","homeGraphSmall",3,"Highcharts","options","oneToOne",4,"ngIf"],[1,"homeGraphSmall",3,"Highcharts","options","oneToOne"],["src","/static/img/icons/squareDurationIcon.png",1,"newSmallMetricIcon",2,"width","20px"],["src","/static/img/icons/squareDistanceIcon.png",1,"newSmallMetricIcon",2,"width","20px"],[1,"homeMultiGraph"],["dynamicHeight","","mat-align-tabs","center",3,"color","backgroundColor","selectedTabChange"],["mat-tab-label",""],["routerLink","/memberships",4,"ngIf"],["class","homeGraph",3,"update","Highcharts","options","updateChange",4,"ngIf"],["class","homeGraph",3,"Highcharts","options","oneToOne",4,"ngIf"],[2,"height","350px"],[3,"workouts","multipleWorkouts","tabEvent","update","isMetric","updateChange",4,"ngIf"],["src","/static/img/icons/assessmentIcon.png",1,"smallMetricIcon"],["routerLink","/memberships"],[1,"isNotStar"],["src","/static/img/advancedBpmStar.png",2,"max-width","100%"],[1,"homeGraph",3,"update","Highcharts","options","updateChange"],["src","/static/img/icons/squareDurationIcon.png",1,"smallMetricIcon",2,"width","20px"],[1,"homeGraph",3,"Highcharts","options","oneToOne"],["src","/static/img/theme/site/calorie-icon.png",1,"smallMetricIcon"],["src","/static/img/icons/squareDistanceIcon.png",1,"smallMetricIcon",2,"width","20px"],["src","/static/img/routes-icon.png",1,"smallMetricIcon",2,"width","20px"],[3,"workouts","multipleWorkouts","tabEvent","update","isMetric","updateChange"],[1,"noDataFound"],[1,"monthlyTotalStatsList"],[2,"text-align","center","margin-top","0px"],[1,"chartOptionContainer"],["mat-button","","aria-label","Show Chart Options",1,"chartOptionBtn",2,"margin","-8px 0px 5px",3,"click"],["src","/static/img/btn/options_button.png",1,"chartOptionBtnImg"],[2,"padding-top","0px","border-top","0px solid #000",3,"hidden"],["aria-label","Weight",1,"md-primary","weightOption",3,"ngModel","color","ngModelChange","change"],["aria-label","Averages",1,"md-primary","averageOption",2,"padding-right","25px",3,"ngModel","color","ngModelChange","change"],[1,"groupByRadio"],[1,"groupByLabel"],[1,"chartGroupContainer",3,"ngModel","ngModelChange","change"],["value","daily",1,"groupByButton",3,"color"],["value","weekly",1,"groupByButton",3,"color"],["value","monthly",1,"groupByButton",3,"color"],[1,"statsContainer"],[1,"statsList"],[1,"statsListItem"],[1,"homeStatName"],["src","/static/img/theme/site/steps-icon.png","width","14px","style","float:left;",4,"ngIf"],["src","/static/img/icons/squareWeightIcon.png","width","16px","style","float:left; margin: 2px 3px 0px 0px;",4,"ngIf"],["src","/static/img/theme/site/calorie-icon.png","width","10px","style","float:left; margin-right:3px;",4,"ngIf"],["src","/static/img/icons/squareDistanceIcon.png","width","16px","style","float:left; margin-right:3px;",4,"ngIf"],["src","/static/img/icons/squareDurationIcon.png","width","16px","style","float:left; margin-right:3px;",4,"ngIf"],[1,"homeStatValue"],[3,"ngStyle"],["class","fitbitStatAvg",4,"ngIf"],["class","statsSeparator",4,"ngIf"],["src","/static/img/theme/site/steps-icon.png","width","14px",2,"float","left"],["src","/static/img/icons/squareWeightIcon.png","width","16px",2,"float","left","margin","2px 3px 0px 0px"],["src","/static/img/theme/site/calorie-icon.png","width","10px",2,"float","left","margin-right","3px"],["src","/static/img/icons/squareDistanceIcon.png","width","16px",2,"float","left","margin-right","3px"],["src","/static/img/icons/squareDurationIcon.png","width","16px",2,"float","left","margin-right","3px"],[1,"fitbitStatAvg"],[1,"subAvgLabel"],[1,"statsSeparator"],[2,"font-size","14px"],["mat-raised-button","","class","compareButton export-button",3,"color","disabled","click",4,"ngIf"],["mat-fab","","class","routineFilterButton","style","float:right; margin:0px 0px 20px;",3,"click",4,"ngIf"],[1,"show-filters",3,"hidden"],[2,"display","flex","flex-wrap","wrap","border","1px solid"],["style","margin-left: 10px; width:100%; clear:both; float:left;",3,"reset","hideReset","filterableTypes",4,"ngIf"],[2,"top","-1px","margin-left","10px",3,"ngClass"],[3,"ngModel","ngClass","selectionChange","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],[2,"top","-1px",3,"ngClass"],["matInput","",3,"ngModel","ngModelChange"],["mat-button","",3,"click"],[1,"material-icons"],["diameter","20",4,"ngIf"],["class","full-width",4,"ngIf"],["mat-raised-button","",1,"compareButton","export-button",3,"color","disabled","click"],["mat-fab","",1,"routineFilterButton",2,"float","right","margin","0px 0px 20px",3,"click"],[1,"material-icons",2,"color","#3FAE48"],[2,"margin-left","10px","width","100%","clear","both","float","left",3,"reset","hideReset","filterableTypes"],[3,"value"],["diameter","20"],[1,"full-width"],[1,"listingHeader"],[1,"dateTH"],[1,"typeSort",2,"float","left",3,"click"],["src","/images/sort_descending.png",3,"hidden"],["src","/images/sort_ascending.png",3,"hidden"],[2,"float","left",3,"click"],[1,"titleSection",3,"click"],[1,"metricTD",3,"click"],["src","/static/img/icons/squareDistanceIcon.png",1,"distanceIcon"],["src","/static/img/theme/site/calorie-icon.png",1,"calorieIcon"],["src","/static/img/icons/squareDurationIcon.png",1,"durationIcon"],["class","activityRow",4,"ngFor","ngForOf"],["colspan","5",2,"border","none !important","padding-top","25px","padding-right","30px"],[1,"paginationContainer"],[1,"paginationContent"],[1,"paginationChoice"],[1,"paginationTotals"],["appearance","legacy"],["color","primary",3,"ngModel","ngModelChange"],["color","primary","style","color:#4597CB !important;",3,"value",4,"ngFor","ngForOf"],[1,"paginationLabel",2,"color","#4597CB !important"],[1,"paginationContainer2"],["mat-mini-fab","","routerLink",".",2,"margin-right","15px",3,"disabled","click"],["mat-mini-fab","","routerLink",".","aria-label","Next Page",2,"margin-left","15px",3,"disabled","click"],[1,"activityRow"],[2,"cursor","pointer",3,"click"],["colspan","1",2,"padding-bottom","0px"],[2,"visibility","visible","float","left"],[3,"src"],[2,"white-space","nowrap"],["colspan","4",2,"text-align","left","padding-bottom","0px"],[1,"titleRoutine"],["class","titleRoutine",4,"ngIf"],[1,"activityTypeSubCategorySection",2,"float","right","margin-top","-5px"],["src","/static/img/structured-workouts-icon.png","class","activityTypeSubCategory",4,"ngIf"],["src","/static/img/assessments-icon.png","class","activityTypeSubCategory",4,"ngIf"],["src","/static/img/icons/gpxtcximport_icon.png","class","activityTypeSubCategory",4,"ngIf"],["src","/static/img/icons/garmin-icon.png","class","activityTypeSubCategory",4,"ngIf"],[1,"activityRowBottom",3,"click"],[1,"iconTD","no-text-select"],["name","activity_checkbox",2,"position","absolute",3,"ngModel","color","disabled","ngModelChange","click"],[1,"thumbnailChartImg",3,"src"],[1,"titleSection"],[1,"metricTD"],[3,"hidden"],["src","/static/img/structured-workouts-icon.png",1,"activityTypeSubCategory"],["src","/static/img/assessments-icon.png",1,"activityTypeSubCategory"],["src","/static/img/icons/gpxtcximport_icon.png",1,"activityTypeSubCategory"],["src","/static/img/icons/garmin-icon.png",1,"activityTypeSubCategory"],["color","primary",2,"color","#4597CB !important",3,"value"],[2,"color","#4597CB !important"],["class","full-width activityTable",4,"ngIf"],[1,"full-width","activityTable"],[1,"newListingHeader"],[1,"metricTD",2,"min-width","86px",3,"click"],["class","activityRow","style","cursor: pointer;",3,"click",4,"ngFor","ngForOf"],[1,"activityRow",2,"cursor","pointer",3,"click"],[1,"no-text-select"],["name","activity_checkbox",3,"ngModel","color","disabled","ngModelChange","click"],[1,"activityIcondiv"],["class","activityTypeSubCategorySection","style","float:left",4,"ngIf"],[1,"activityTypeSubCategorySection",2,"float","left"],["mat-stroked-button","",1,"themedButton","export-button",2,"margin","10px 0px 30px 10px",3,"click"],["title","Export","src","/static/img/icons/exportIcon.png"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,xM,5,3,"div",2),i["\u0275\u0275template"](3,_M,1,0,"app-login-notify",3),i["\u0275\u0275template"](4,GI,12,9,"div",4),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](5,UI,t.isDarkTheme)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn))},directives:[y.NgClass,y.NgIf,Yo.a,_g.a,y.NgForOf,si.a,ft.b,ft.a,ft.c,S.f,Pr.a,k.b,Th.a,de.o,de.r,kl.b,kl.a,y.NgStyle,fe.c,fe.g,Ae.a,be.b,de.c,bM,m.o,E.c,S.e,El.a],pipes:[M.c,y.UpperCasePipe,y.DecimalPipe,B.K,B.lb,y.DatePipe,B.Q,B.cb,B.ib],styles:[".homeGraph[_ngcontent-%COMP%]{width:100%;height:300px;display:block}.homeGraphSmall[_ngcontent-%COMP%]{width:100%;height:200px;float:left}.homeGraphSmallCell[_ngcontent-%COMP%]{width:33%;height:200px;float:left;margin:0;padding:0}.compareButton[_ngcontent-%COMP%]{margin:6px 8px}.show-filters[_ngcontent-%COMP%]{margin-top:10px;clear:both;float:left;width:100%}.activityRow[_ngcontent-%COMP%]{background:none}.activityRow[_ngcontent-%COMP%]:hover{background-color:rgba(226,227,228,.4)}.activityRowBottom[_ngcontent-%COMP%]{padding-top:0;border-bottom:1px dotted #b2b2b2;cursor:pointer}.activityRow[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .activityRow[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]   mat-checkbox[_ngcontent-%COMP%]{padding:8px}.titleRoutine[_ngcontent-%COMP%]{float:left;margin-top:-8px}.activityIcon[_ngcontent-%COMP%]{width:30px;margin-right:2px;z-index:20;position:relative}.activityTypeSubCategory[_ngcontent-%COMP%]{width:18px;margin-top:-5px}.metricTD[_ngcontent-%COMP%]{width:70px;text-align:right}.iconTD[_ngcontent-%COMP%]{width:90px}.thumbnailChartImg[_ngcontent-%COMP%]{width:75px;height:75px;clear:left;margin-left:0;z-index:10}.dateTH[_ngcontent-%COMP%]{width:140px}.typeSort[_ngcontent-%COMP%]{width:70px}.listingHeader[_ngcontent-%COMP%]{color:#808284;border-bottom:4px solid #4597cb;font-size:18px;padding:8px;-webkit-user-select:none;user-select:none;-moz-user-select:none}.listingHeader[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{font-weight:400}.newListingHeader[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{font-size:16px;padding:5px}.additional-selection[_ngcontent-%COMP%]{opacity:.75;font-size:.75em}.compareCheckboxTD[_ngcontent-%COMP%]{width:10px;border:1px}.distanceIcon[_ngcontent-%COMP%]{margin-right:3px;width:24px}.calorieIcon[_ngcontent-%COMP%]{margin-right:3px;width:16px}.durationIcon[_ngcontent-%COMP%]{margin-right:3px;width:24px;float:right}.newSmallMetricIcon[_ngcontent-%COMP%], .smallMetricIcon[_ngcontent-%COMP%]{width:16px;float:left;margin-right:3px}.newSmallMetricIcon[_ngcontent-%COMP%]{margin-left:30px}.titleBlock[_ngcontent-%COMP%]{height:50px;border-bottom:1px solid}.topGraphs[_ngcontent-%COMP%]{width:100%;float:left;margin-top:20px}.graphHeaderTitle[_ngcontent-%COMP%]{float:right;clear:both}.routineSearchBox[_ngcontent-%COMP%]{border-top:none!important;border-left:none!important;border-right:none!important;margin-top:3px}.metricValue[_ngcontent-%COMP%]{float:right;font-size:24px;margin-top:-7px}.activityTable[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border-bottom:1px solid;font-size:16px}.activityTable[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{border:0 solid}.activityIcondiv[_ngcontent-%COMP%]{visibility:visible;float:left;border:0 dotted}@media (max-width:760px){.distanceIcon[_ngcontent-%COMP%]{width:16px}.calorieIcon[_ngcontent-%COMP%]{width:10px}.durationIcon[_ngcontent-%COMP%]{width:16px}.listingHeader[_ngcontent-%COMP%]{font-size:16px;padding:4px}}@media (max-width:480px){.activityRow[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:2px}.metricTD[_ngcontent-%COMP%]{width:50px;text-align:right}.dateTH[_ngcontent-%COMP%]{width:120px}.typeSort[_ngcontent-%COMP%]{width:54px}.listingHeader[_ngcontent-%COMP%]{font-size:14px;font-weight:500}}"]}),e}();function ZI(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",18),i["\u0275\u0275elementStart"](1,"a",19),i["\u0275\u0275element"](2,"img",20),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",21),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,1,"ROOT.Fitness Sensors")))}function $I(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275elementStart"](1,"a",23),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](3,2,"ROOT.Pairing")," & ",i["\u0275\u0275pipeBind1"](4,4,"ROOT.Troubleshooting"),""))}function XI(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275elementStart"](1,"a",24),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementStart"](5,"a",25),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,3,"ROOT.Compatibility"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](7,5,"ROOT.Pairing")," & ",i["\u0275\u0275pipeBind1"](8,7,"ROOT.Troubleshooting"),""))}function KI(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275elementStart"](1,"a",24),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementStart"](5,"a",26),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,3,"ROOT.Compatibility"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](7,5,"ROOT.Pairing")," & ",i["\u0275\u0275pipeBind1"](8,7,"ROOT.Troubleshooting"),""))}function JI(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275elementStart"](1,"a",24),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementStart"](5,"a",27),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,3,"ROOT.Compatibility"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](7,5,"ROOT.Pairing")," & ",i["\u0275\u0275pipeBind1"](8,7,"ROOT.Troubleshooting"),""))}function QI(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275elementStart"](1,"a",24),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementStart"](5,"a",28),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,3,"ROOT.Compatibility"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](7,5,"ROOT.Pairing")," & ",i["\u0275\u0275pipeBind1"](8,7,"ROOT.Troubleshooting"),""))}function eP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275elementStart"](1,"a",24),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementStart"](5,"a",29),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,3,"ROOT.Compatibility"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](7,5,"ROOT.Pairing")," & ",i["\u0275\u0275pipeBind1"](8,7,"ROOT.Troubleshooting"),""))}function tP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275elementStart"](1,"a",24),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementStart"](5,"a",30),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,3,"ROOT.Compatibility"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](7,5,"ROOT.Pairing")," & ",i["\u0275\u0275pipeBind1"](8,7,"ROOT.Troubleshooting"),""))}function nP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",22),i["\u0275\u0275elementStart"](1,"a",24),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementStart"](5,"a",31),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,3,"ROOT.Compatibility"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](7,5,"ROOT.Pairing")," & ",i["\u0275\u0275pipeBind1"](8,7,"ROOT.Troubleshooting"),""))}function iP(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",32),i["\u0275\u0275elementStart"](1,"a",33),i["\u0275\u0275element"](2,"img",34),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"h4"),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275text"](6,"We pair natively through the Bluetooth Low Energy channel on Apple and Android. However, there is a lot of gym equipment and fitness sensors that transmit through ANT+ instead, or sometimes, in addition to bluetooth."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"To connect to equipment that transmits in an ANT+, like Garmin Watches, Heart Rate Belts, Spinning Chrono or SpinCrank Power Meters, or any fitness equipment that supports the ANT+ protocol, use the "),i["\u0275\u0275elementStart"](9,"a",35),i["\u0275\u0275text"](10,"C.A.B.L.E. device from North Pole Engineering."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](11," It is a small $50 translator that can read in ANT+ and read out the same signal in Bluetooth. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"p"),i["\u0275\u0275text"](13,"Some fitness equipment transmits in two channels, like the Spinning\xae power meters, ANT+ and Bluetooth. This means you can pair Bluetooth with another app, like Zwift, or the fitness equipment, then pair us with the ANT+ channel translated into the app. That way you get credit for your awesome Zwift rides in both places! "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275text"](15,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"h4"),i["\u0275\u0275text"](17,"Setting Up the C.A.B.L.E."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19,"First, you\u2019ll need to set up your SpinCrank or Spinning Chrono bike with the C.A.B.L.E. device. Simply start pedaling with the C.A.B.L.E. nearby, and tap Menu > Scan Sensors in the CABLEUtil App. It should find the signal fairly quickly. Tap the ANT+>BLE tab at the top, and select both the Power and Speed & Cadence protocols, then in the BLE Out tab, it should show two feeds available."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](20,"img",36),i["\u0275\u0275element"](21,"br"),i["\u0275\u0275elementStart"](22,"ul",37),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24,"Select Menu > Settings > Sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275text"](26,"First, select + by Power sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275text"](28,"When "),i["\u0275\u0275elementStart"](29,"strong"),i["\u0275\u0275text"](30,">CABLE"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](31," shows, select it"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"li"),i["\u0275\u0275text"](33,"In the sensor listing, tap on "),i["\u0275\u0275elementStart"](34,"strong"),i["\u0275\u0275text"](35,">CABLE"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](36," to go to the sensor detail screen "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"li"),i["\u0275\u0275text"](38,"Turn OFF "),i["\u0275\u0275elementStart"](39,"strong"),i["\u0275\u0275text"](40,"Use as Cadence"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](41," in the sensor details section. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"li"),i["\u0275\u0275text"](43,"Go back to the Sensors view"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"li"),i["\u0275\u0275text"](45,"Tap + to add a Cadence sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"li"),i["\u0275\u0275text"](47,"When "),i["\u0275\u0275elementStart"](48,"strong"),i["\u0275\u0275text"](49,">CABLE"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](50," shows, select it"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](51,"p"),i["\u0275\u0275text"](52,"That is it! You now can connect with millions more fitness sensors, or run multiple apps at the same time, enjoying the virtual worlds of Zwift and maintaining a record with your favorite app. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("Using ",n.ThemeService.baseAppName," App with ANT+ Fitness Equipment")}}var rP=function(){function e(e,t,n){this.route=e,this.ThemeService=t,this.router=n,this.showPowerInfo=!1,this.showGPSInfo=!1,this.showSpeedInfo=!1,this.showCadenceInfo=!1,this.showSpeedCadenceInfo=!1,this.showHeartRateInfo=!1,this.showStepsInfo=!1,this.showWatchInfo=!1,this.showANTInfo=!1,this.categoryTypeInput=this.route.snapshot.paramMap.get("categoryType")}return e.prototype.ngOnInit=function(){"ant"==this.categoryTypeInput&&(this.showANTInfo=!0)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](S.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-fitness-sensors"]],decls:84,vars:43,consts:[["class","main-menu-section-heading",4,"ngIf"],[1,"sectionStructure"],[1,"sensor-table"],["colspan","3",1,"sensor-location-td"],[1,"sensor-section",3,"click"],["src","/static/img/apple_watches.png","alt","Apple Watch",1,"sensor-icon"],["class","showSensorInfo",4,"ngIf"],["data-align","center",1,"sensor-td"],["src","/static/img/heart-icon.png","alt","Heart Rate Monitor",1,"sensor-icon"],["src","/static/img/icons/speed-cadence.png","alt","Speed & Cadence Sensors",1,"sensor-icon",2,"margin-bottom","10px"],["src","/static/img/steps-icon.png","alt","Steps & Foot Pods",1,"sensor-icon","foot-icon"],["src","/static/img/icons/cadence-green.png","alt","Cadence Sensors",1,"sensor-icon"],["src","/static/img/icons/speed_green.png","alt","Speed Sensor",1,"sensor-icon"],["src","/static/img/icons/power-yellow.png","alt","Power & Watts",1,"sensor-icon"],["src","/static/img/location-icon.png","alt","GPS & Location",1,"sensor-icon"],[1,"sensor-section","ant",3,"click"],["src","/static/img/ant-plus.png","alt","Working with ANT+",1,"sensor-icon",2,"margin","3px","width","38px"],["class","showSensorInfo","style","text-align: left;",4,"ngIf"],[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"showSensorInfo"],["routerLink","/fitness-sensors/apple-watch"],["routerLink","/compatibility.html"],["routerLink","/fitness-sensors/heart-rate-monitors"],["routerLink","/fitness-sensors/speed-and-cadence"],["routerLink","/fitness-sensors/footpods"],["routerLink","/fitness-sensors/cadence"],["routerLink","/fitness-sensors/speed"],["routerLink","/fitness-sensors/power-meters"],["routerLink","/fitness-sensors/location-and-gps"],[1,"showSensorInfo",2,"text-align","left"],["href","https://npe-inc.com/cableinfo/"],["src","/static/img/cable-fitness-sensor.png",2,"float","right","width","200px"],["href","https://store.npe-inc.com/cable-connect-ant-to-ble/"],["src","/static/img/using_cable_ios.png",1,"support-image-large"],[1,"list-spacing"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,ZI,7,3,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"table",2),i["\u0275\u0275elementStart"](3,"tbody"),i["\u0275\u0275elementStart"](4,"tr"),i["\u0275\u0275elementStart"](5,"td",3),i["\u0275\u0275elementStart"](6,"div",4),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/fitness-sensors/apple-watch"])}),i["\u0275\u0275element"](7,"img",5),i["\u0275\u0275element"](8,"br"),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](11,"br"),i["\u0275\u0275template"](12,$I,5,6,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"tr"),i["\u0275\u0275elementStart"](14,"td",7),i["\u0275\u0275elementStart"](15,"div",4),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/fitness-sensors/heart-rate-monitors"])}),i["\u0275\u0275element"](16,"img",8),i["\u0275\u0275element"](17,"br"),i["\u0275\u0275text"](18),i["\u0275\u0275pipe"](19,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](20,"br"),i["\u0275\u0275template"](21,XI,9,9,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"td",7),i["\u0275\u0275elementStart"](23,"div",4),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/fitness-sensors/speed-and-cadence"])}),i["\u0275\u0275element"](24,"img",9),i["\u0275\u0275element"](25,"br"),i["\u0275\u0275text"](26),i["\u0275\u0275pipe"](27,"translate"),i["\u0275\u0275pipe"](28,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](29,"br"),i["\u0275\u0275template"](30,KI,9,9,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"td",7),i["\u0275\u0275elementStart"](32,"div",4),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/fitness-sensors/footpods"])}),i["\u0275\u0275element"](33,"img",10),i["\u0275\u0275element"](34,"br"),i["\u0275\u0275text"](35),i["\u0275\u0275pipe"](36,"translate"),i["\u0275\u0275pipe"](37,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](38,"br"),i["\u0275\u0275template"](39,JI,9,9,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"tr"),i["\u0275\u0275elementStart"](41,"td",7),i["\u0275\u0275elementStart"](42,"div",4),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/fitness-sensors/cadence"])}),i["\u0275\u0275element"](43,"img",11),i["\u0275\u0275element"](44,"br"),i["\u0275\u0275text"](45),i["\u0275\u0275pipe"](46,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](47,"br"),i["\u0275\u0275template"](48,QI,9,9,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"td",7),i["\u0275\u0275elementStart"](50,"div",4),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/fitness-sensors/speed"])}),i["\u0275\u0275element"](51,"img",12),i["\u0275\u0275element"](52,"br"),i["\u0275\u0275text"](53),i["\u0275\u0275pipe"](54,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](55,"br"),i["\u0275\u0275template"](56,eP,9,9,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](57,"td",7),i["\u0275\u0275elementStart"](58,"div",4),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/fitness-sensors/power-meters"])}),i["\u0275\u0275element"](59,"img",13),i["\u0275\u0275element"](60,"br"),i["\u0275\u0275text"](61),i["\u0275\u0275pipe"](62,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](63,"br"),i["\u0275\u0275template"](64,tP,9,9,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](65,"tr"),i["\u0275\u0275elementStart"](66,"td",3),i["\u0275\u0275elementStart"](67,"div",4),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/fitness-sensors/location-and-gps"])}),i["\u0275\u0275element"](68,"img",14),i["\u0275\u0275element"](69,"br"),i["\u0275\u0275text"](70),i["\u0275\u0275pipe"](71,"translate"),i["\u0275\u0275pipe"](72,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](73,"br"),i["\u0275\u0275template"](74,nP,9,9,"div",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](75,"tr"),i["\u0275\u0275elementStart"](76,"td",3),i["\u0275\u0275elementStart"](77,"div",15),i["\u0275\u0275listener"]("click",function(){return t.showANTInfo=!t.showANTInfo}),i["\u0275\u0275element"](78,"br"),i["\u0275\u0275text"](79,"Working with "),i["\u0275\u0275element"](80,"img",16),i["\u0275\u0275text"](81," ANT+ sensors "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](82,"br"),i["\u0275\u0275template"](83,iP,53,1,"div",17),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](10,21,"ROOT.Apple Watch")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showWatchInfo),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](19,23,"ROOT.Heart Rate Monitors")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showHeartRateInfo),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](27,25,"ROOT.Speed")," & ",i["\u0275\u0275pipeBind1"](28,27,"ROOT.Cadence")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",t.showSpeedCadenceInfo),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](36,29,"ROOT.Steps")," & ",i["\u0275\u0275pipeBind1"](37,31,"ROOT.Foot Pods")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",t.showStepsInfo),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](46,33,"ROOT.Cadence")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showCadenceInfo),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](54,35,"ROOT.Speed")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showSpeedInfo),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](62,37,"ROOT.Power")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showPowerInfo),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](71,39,"ROOT.GPS")," & ",i["\u0275\u0275pipeBind1"](72,41,"ROOT.Location")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",t.showGPSInfo),i["\u0275\u0275advance"](9),i["\u0275\u0275property"]("ngIf",t.showANTInfo))},directives:[y.NgIf,S.f],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",".sensor-icon[_ngcontent-%COMP%]{width:48px;margin:10px}.sensor-td[_ngcontent-%COMP%]{text-align:center;font-size:24px;width:33.3%;vertical-align:top}.sensor-td[_ngcontent-%COMP%]:hover{background-color:rgba(226,227,228,.1)}.sensor-section[_ngcontent-%COMP%]{cursor:pointer;font-size:16px}.sensor-location-td[_ngcontent-%COMP%]{text-align:center}.sensor-location-td[_ngcontent-%COMP%]:hover{background-color:rgba(226,227,228,.1)}.sensor-table[_ngcontent-%COMP%]{width:100%;margin:30px 0}.showSensorInfo[_ngcontent-%COMP%]{text-align:center;font-size:16px;background-color:rgba(226,227,228,.1);padding:20px;line-height:2em}.ant[_ngcontent-%COMP%]{border-top:1px dotted;font-size:16px;margin-top:40px}@media (max-width:760px){.sensor-icon[_ngcontent-%COMP%]{width:48px;margin:20px}.sensor-td[_ngcontent-%COMP%]{border:0 solid}.sensor-location-td[_ngcontent-%COMP%], .sensor-td[_ngcontent-%COMP%]{font-size:16px}a[_ngcontent-%COMP%]{color:#fff}}"]}),e}();function aP(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function oP(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function sP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275element"](1,"img",15),i["\u0275\u0275elementStart"](2,"p"),i["\u0275\u0275text"](3," Routes are GPS tracks of places you\u2019ve been and tracked. If you frequent a particular path or route, which most of us do, this is the option for you. Track your neighborhood runs, rides, and walks. See how they compare with each other. See the route on the maps, and even assign heart rate zones to the segments and get voice coaching along the way. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5," Routines are more oriented to indoor workouts without GPS, but that you do on a regular basis. For example a 30 minute elliptical HIIT workout, or indoor cycling workout for stamina, endurance, recovery or just about anything."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7," You can assign heart rate zones to help guide you through the workout, with audio coaching to help motivate and guide you to success. We also offer \u201copen\u201d zones, for when you just want to be able to do your own thing \u2013 no pressure, just get it done. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9,"Favorite a workout route our routine by tapping the favorite star. Favorited routes and routines show on a long tap (not a force tap / hard tap) on the activity icon, for easier launching from the home screen. It also shows favorited on the top of the Routes & Routines section. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function lP(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function cP(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function dP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"ol",16),i["\u0275\u0275elementStart"](2,"li"),i["\u0275\u0275text"](3,"To create your own custom Route, first track a workout along a path with GPS."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"li"),i["\u0275\u0275text"](5,'In the activity results, tap the Menu icon in the top right and choose "Create Workout". '),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Fill out the information for the Route, and review the created Series and Intervals. Every route must have at least one series, made up of one or more intervals. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"In the intervals section, you can change the intervals to be distance or time based. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Add or subtract and edit intervals as you wish."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"Tap Save to save the Route."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15,"To "),i["\u0275\u0275elementStart"](16,"strong"),i["\u0275\u0275text"](17,"Edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18," any Route, tap Menu > Edit."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](19,"p"),i["\u0275\u0275elementStart"](20,"p"),i["\u0275\u0275text"](21," If you would like to Favorite a Route, tap the Star icon in the top left of the view after you recorded it. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function uP(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function pP(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function hP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2," The apps come with some stock routines, targeting different heart rate zones and outcomes, that make a good base for workouts. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"h4"),i["\u0275\u0275text"](4,"Create a Routine from Scratch"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"ol",16),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Tap the Activity Options (gear icon) under the activity type you would like to do on the home screen. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Select Routes & Routines, then Routines. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Tap Menu > Create Routine."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,'Fill out the information for the routine, and then fill in the first Series. Every routine must have at least one series, made up of one or more intervals. In the intervals section, decide whether you want the intervals to be distance or time based. For most indoor workouts, time is the best choice. Add more intervals as you wish, and note you can repeat a series of intervals by changing the "repeats" value next to the series title. '),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15,"To "),i["\u0275\u0275elementStart"](16,"strong"),i["\u0275\u0275text"](17,"Edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18," any Route, tap Menu > Edit."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"h4"),i["\u0275\u0275text"](20,"Create a Routine from a Workout you already Completed"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22,"To create a custom routine from a workout you have already completed (without GPS - if you have GPS you will be creating a Route - see above):"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"ol",16),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275text"](25,"In the activity results, tap tinto the detail of the workout you want to make a routine."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275text"](27,'Tap Menu (top right) and choose "Create Workout".'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275text"](29,"Review the routine details. If you want, you can delete individual series, intervals, convert target zones (including setting to Open zones), and more. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"li"),i["\u0275\u0275text"](31,"Tap Save to save the Routine."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"li"),i["\u0275\u0275text"](33,"If you would like to Favorite a routine, tap the Star icon in the top left of the routine detail view. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"h4"),i["\u0275\u0275text"](35,"Use a Routine from the Library"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"ol",16),i["\u0275\u0275elementStart"](37,"li"),i["\u0275\u0275text"](38,"To choose from a library designed especially for you, select the activity type you would like to do on the home screen, then tap the Activity Options (gear icon). "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"li"),i["\u0275\u0275text"](40,"Select Routes & Routines, then Routines. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"li"),i["\u0275\u0275text"](42,"Tap Menu > Library. You can start a Routine right from the Library."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"li"),i["\u0275\u0275text"](44,"If you would like to save one of the routines to your own library, tap the Save icon in the top left. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"li"),i["\u0275\u0275text"](46,"If you would like to Favorite a library Routine, or any Routine you create, tap the Star icon in the top left of the view. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"li"),i["\u0275\u0275text"](48,"You cannot edit Library Routines"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function mP(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function gP(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}var fP=function(){return["/overview/audio-coaching"]};function vP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2," When you are working out with Routes & Routines, you are offered a bunch of new options for audio coaching! Under "),i["\u0275\u0275elementStart"](3,"a",17),i["\u0275\u0275text"](4,"Voice Coaching Content"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](5,", these extra features are available for you to enjoy: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"ul",16),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275elementStart"](8,"span",18),i["\u0275\u0275text"](9,"Routine Transitions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](10,": get coached for series and interval transitions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275elementStart"](12,"span",18),i["\u0275\u0275text"](13,"Routine Series Notes"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14,": have the coach read the notes for the series before it begins"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275elementStart"](16,"span",18),i["\u0275\u0275text"](17,"Routine Interval Notes"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18,": have the coach read notes for the interval before it begins"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275elementStart"](20,"span",18),i["\u0275\u0275text"](21,"Target Zone Coaching"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](22,": set the interval for being coached on whether you are in, above, or below the target zone "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](23,"br"),i["\u0275\u0275elementStart"](24,"a",19),i["\u0275\u0275text"](25," Setting Voice Coaching Content"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](2,fP)),i["\u0275\u0275advance"](21),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](3,fP)))}function yP(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function bP(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function xP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Almost all structured, intentional workouts share the same basic properties. A routine is broken into time or distance \u201cSeries\u201d, then from there a \u201cIntervals\u201d of time or distance performing a certain specific action. With our iOS apps, we give you the choice of workouts based on either Heart Rate Zones or Pace Zones."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"pre"),i["\u0275\u0275text"](4,"<Routine (for a specific workout type) >\n\t<Series 1 - do this\xa0Z times>\n\t\t<Interval 1>\n\t\t     <Do Pace / Effort Level A\xa0for X\xa0time / dist.>\n\t\t</End Interval 1>\n\t</End Series 1>\n\t<Series 2 - do this Z times>\n\t\t<Interval 1>\n\t\t     <Do Pace / Effort Level B\xa0for Y\xa0time / dist.>\n\t\t</End Interval 1>\n\t\t<Interval 2>\n\t\t     <Do Pace / Effort Level C\xa0for Z\xa0time / dist.>\n\t\t</End Interval 2>\n\t</End Series 1>\n\t<Series\xa03\xa0- do this Z times>\n\t\t<Interval 1>\n\t\t    <Do Pace / Effort Level A\xa0for X\xa0time / dist.>\n\t\t</End Interval 1>\n\t</End Series 1>\n</End Routine>"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"h4"),i["\u0275\u0275text"](6,"Examples of Custom Workout Routines "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275elementStart"](8,"strong"),i["\u0275\u0275text"](9,"Recovery Run 30 min Run:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](10," Warm Up, Easy Run, Warm Down"),i["\u0275\u0275element"](11,"br"),i["\u0275\u0275text"](12," Translates to: Interval 1 (repeat 1 time) \u2013 Zone 1 for 5 min. Then Interval 2 (repeat 1 time) Zone 2 for 20 min. Finish with Interval 3 (repeat 1 time) \u2013 Zone 1 for 5 min. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275elementStart"](14,"strong"),i["\u0275\u0275text"](15,"Steady State 4 mile Run:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](16," Warm Up, Strong Run, Warm Down"),i["\u0275\u0275element"](17,"br"),i["\u0275\u0275text"](18," (Interval 1 (repeat 1 time) \u2013 Zone 1 for .25 miles. Then Interval 2 (repeat 1 time) Zone 3 for 3.5 miles. Finish with Interval 3 (repeat 1 time) \u2013 Zone 1 for .25 miles. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275elementStart"](20,"strong"),i["\u0275\u0275text"](21,"Walk / Jog 30 min:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](22," Warm up, Jog 1 min, Walk 1 min (do this for 20 min), Warm down. "),i["\u0275\u0275element"](23,"br"),i["\u0275\u0275text"](24," (Interval 1 (repeat 1 time) \u2013 Walking Pace Zone 5 min. Then Interval 2 (repeat 10 times) \u2013 Jogging Pace Zone for 1 minute then Walking Pace Zone for 1 minute. Finish with Interval 3 (repeat 1 time) \u2013 Walking Pace Zone 5 min. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var _P=function(){function e(){this.showLoadingOverlay=!1,this.showRoutineInfo=!1,this.showRouteInfo=!1,this.showRouteAudio=!1,this.showRoutineStructure=!1,this.showRouteOverview=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-routes"]],decls:42,vars:18,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[2,"text-align","center"],["controls","","src","https://storage.googleapis.com/media_manager/videos/Routines%20Overview.mp4#t=0.001",1,"support-audio"],[1,"header-view",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","support-content",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content"],["src","/static/img/quickpick-routine.gif",1,"main-img"],[1,"list-spacing"],[3,"routerLink"],[2,"font-weight","bold"],[2,"margin","10px 0px","padding","5px","border","1px solid","border-radius","5px",3,"routerLink"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275elementStart"](8,"div",5),i["\u0275\u0275element"](9,"video",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showRouteOverview=!t.showRouteOverview}),i["\u0275\u0275template"](11,aP,1,0,"img",8),i["\u0275\u0275template"](12,oP,1,0,"img",9),i["\u0275\u0275elementStart"](13,"div",10),i["\u0275\u0275text"](14," Overview "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](15,sP,10,0,"div",11),i["\u0275\u0275elementStart"](16,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showRouteInfo=!t.showRouteInfo}),i["\u0275\u0275template"](17,lP,1,0,"img",8),i["\u0275\u0275template"](18,cP,1,0,"img",9),i["\u0275\u0275elementStart"](19,"div",10),i["\u0275\u0275text"](20," Creating & Running a Workout Route "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](21,dP,22,0,"div",11),i["\u0275\u0275elementStart"](22,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showRoutineInfo=!t.showRoutineInfo}),i["\u0275\u0275template"](23,uP,1,0,"img",8),i["\u0275\u0275template"](24,pP,1,0,"img",9),i["\u0275\u0275elementStart"](25,"div",10),i["\u0275\u0275text"](26," Creating & Running a Workout Routine "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](27,hP,49,0,"div",11),i["\u0275\u0275elementStart"](28,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showRouteAudio=!t.showRouteAudio}),i["\u0275\u0275template"](29,mP,1,0,"img",8),i["\u0275\u0275template"](30,gP,1,0,"img",9),i["\u0275\u0275elementStart"](31,"div",10),i["\u0275\u0275text"](32," Setting Audio on a Workout Route or Routine "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](33,vP,26,4,"div",11),i["\u0275\u0275elementStart"](34,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showRoutineStructure=!t.showRoutineStructure}),i["\u0275\u0275template"](35,yP,1,0,"img",8),i["\u0275\u0275template"](36,bP,1,0,"img",9),i["\u0275\u0275elementStart"](37,"div",10),i["\u0275\u0275text"](38," Basic Routine Structure "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](39,xP,25,0,"div",11),i["\u0275\u0275elementStart"](40,"p"),i["\u0275\u0275text"](41,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,16,"ROOT.Routes & Routines")),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",!t.showRouteOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showRouteOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showRouteOverview),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showRouteInfo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showRouteInfo),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showRouteInfo),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showRoutineInfo),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showRoutineInfo),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showRoutineInfo),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showRouteAudio),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showRouteAudio),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showRouteAudio),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showRoutineStructure),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showRoutineStructure),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showRoutineStructure))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}(),wP=function(){function e(){}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-overview"]],decls:2,vars:0,template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1,"overview works!"),i["\u0275\u0275elementEnd"]())},styles:[""]}),e}(),SP=n("eA8f");function CP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",36),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",37),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,1,"ROOT.Support")))}function kP(e,t){1&e&&i["\u0275\u0275element"](0,"app-coach-support")}function OP(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"img",54),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.playiOS=!e.playiOS}),i["\u0275\u0275elementEnd"]()}}function EP(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"img",55),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.playiOS=!e.playiOS}),i["\u0275\u0275elementEnd"]()}}function MP(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"img",56),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.playAndroid=!e.playAndroid}),i["\u0275\u0275elementEnd"]()}}function IP(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"img",57),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.playAndroid=!e.playAndroid}),i["\u0275\u0275elementEnd"]()}}function PP(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"table",41),i["\u0275\u0275elementStart"](1,"tbody"),i["\u0275\u0275elementStart"](2,"tr"),i["\u0275\u0275elementStart"](3,"td",42),i["\u0275\u0275elementStart"](4,"h3",43),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.playiOS=!e.playiOS}),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div"),i["\u0275\u0275elementStart"](8,"a",44),i["\u0275\u0275element"](9,"img",45),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"td",42),i["\u0275\u0275elementStart"](11,"h3",43),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.playAndroid=!e.playAndroid}),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"a",44),i["\u0275\u0275element"](15,"img",46),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"tr",47),i["\u0275\u0275elementStart"](17,"td",48),i["\u0275\u0275template"](18,OP,1,0,"img",49),i["\u0275\u0275template"](19,EP,1,0,"img",50),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"td",51),i["\u0275\u0275template"](21,MP,1,0,"img",52),i["\u0275\u0275template"](22,IP,1,0,"img",53),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("iOS ",i["\u0275\u0275pipeBind1"](6,8,"ROOT.Overview"),""),i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate"]("href",r.app_download_url_ios,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("Android ",i["\u0275\u0275pipeBind1"](13,10,"ROOT.Overview"),""),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("href",r.app_download_url_android,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!r.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.ThemeService.isThemeBecolorado)}}function TP(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",65),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.playAndroid=!e.playAndroid}),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275elementStart"](2,"mat-icon"),i["\u0275\u0275text"](3,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,1,"ROOT.Close"))}function DP(e,t){1&e&&i["\u0275\u0275element"](0,"video",66)}function LP(e,t){1&e&&i["\u0275\u0275element"](0,"video",67)}function RP(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",65),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.playiOS=!e.playiOS}),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275elementStart"](2,"mat-icon"),i["\u0275\u0275text"](3,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,1,"ROOT.Close"))}function jP(e,t){1&e&&i["\u0275\u0275element"](0,"video",68)}function AP(e,t){1&e&&i["\u0275\u0275element"](0,"video",69)}function FP(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"table",58),i["\u0275\u0275elementStart"](1,"tbody"),i["\u0275\u0275elementStart"](2,"tr"),i["\u0275\u0275elementStart"](3,"td",59),i["\u0275\u0275template"](4,TP,4,3,"button",60),i["\u0275\u0275template"](5,DP,1,0,"video",61),i["\u0275\u0275template"](6,LP,1,0,"video",62),i["\u0275\u0275template"](7,RP,4,3,"button",60),i["\u0275\u0275template"](8,jP,1,0,"video",63),i["\u0275\u0275template"](9,AP,1,0,"video",64),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",n.playAndroid),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.playAndroid&&!n.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.playAndroid&&n.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.playiOS),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.playiOS&&!n.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.playiOS&&n.ThemeService.isThemeBecolorado)}}function BP(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",38),i["\u0275\u0275template"](1,PP,23,12,"table",39),i["\u0275\u0275template"](2,FP,10,6,"table",40),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.playAndroid&&!n.playiOS),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.playAndroid||n.playiOS)}}function zP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",70),i["\u0275\u0275elementStart"](1,"a",71),i["\u0275\u0275elementStart"](2,"strong"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275elementStart"](6,"a",72),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,2,"ROOT.Official Program FAQs")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](8,4,"ROOT.Checking Progress on Earning Incentives"),""))}function NP(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",7),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().router.navigate(["/fitness-sensors/apple-watch"])}),i["\u0275\u0275elementStart"](1,"div",8),i["\u0275\u0275element"](2,"img",73),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",10),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275elementStart"](7,"span",11),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,2,"ROOT.Improved Apple Watch Experiences"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,4,"ROOT.faster linking, expanded data support & more")))}function HP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",77),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Please include your"),""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,4,"ROOT.Employee ID in all correspondence.")," "))}function VP(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",74),i["\u0275\u0275elementStart"](1,"h3"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275element"](7,"br"),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementStart"](13,"a",75),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](16,HP,6,6,"div",76),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,6,"ROOT.Contact Us")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,8,"ROOT.App questions please contact us from the app:")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](9,10,"ROOT.Menu > Support > Email Support"),""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](12,12,"ROOT.For general feedback, please")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](15,14,"ROOT.contact us here.")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.ThemeService.isThemeBecolorado)}}function YP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",78),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"If you are interested in beta testing some of our newest and greatest stuff, you\u2019ve come to the right place!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275elementStart"](6,"strong"),i["\u0275\u0275text"](7,"Step 1: Request and get an invite"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9,"Contact us through the app at "),i["\u0275\u0275elementStart"](10,"strong"),i["\u0275\u0275text"](11,"Menu > Support > Send Support Email"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](12,", and let us know you would like to participate as a beta tester. You will need to provide us with the exact email you have associated with iTunes. You can see this email by going to the iPhone/iPad Settings > iTunes & App Stores > Apple ID."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14,"When you are signed up, you will get you are part of the beta, you will get an invite to the Apple beta testing platform TestFlight giving you access to the beta version of the app."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"img",79),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275elementStart"](17,"strong"),i["\u0275\u0275text"](18,"Step 2: Download and Install from "),i["\u0275\u0275elementStart"](19,"a",80),i["\u0275\u0275text"](20,"Testflight"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22,"If you are part of the beta, you already have your iTunes associated email in the system, so as soon as Apple approves the beta, it should show up as as an option in the app TestFlight."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"p"),i["\u0275\u0275text"](24,"If you have an "),i["\u0275\u0275elementStart"](25,"a",81),i["\u0275\u0275text"](26,"Apple Watch"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](27," after install you need to switch the switch allowing the program to install to your paired Watch."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"p"),i["\u0275\u0275text"](29,"Turn on Menu > Support > Debug Logging to report any repeatable issues. If you have an Apple Watch, also tap the gear icon there and turn on Debug Logging there. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](30,"div",82),i["\u0275\u0275elementEnd"]())}function WP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",78),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Thank you for your interest in the Fitdigits Andriod beta program. We are now in Open Beta testing, a whole new level for the Android version of our activity tracking app."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275elementStart"](6,"strong"),i["\u0275\u0275text"](7,"Sign up on Google Play:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](8,"br"),i["\u0275\u0275elementStart"](9,"a",83),i["\u0275\u0275text"](10,"https://play.google.com/apps/testing/com.fitdigits.icardio.app"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275text"](12,"Turn on Menu > Support > Debug Logging to report any repeatable issues."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14,"Please submit any feedback through the app under Menu > Support > Send Support Email or throught Menu > Support > Send Debug Logs"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"p"),i["\u0275\u0275text"](16,'Once added to the program, you will be able to download the beta version of the app. Once you\u2019ve clicked on it, Google Play will download the beta version. You can, at any time, go to the app page in Google Play and tap "Stop Testing".'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function GP(e,t){1&e&&i["\u0275\u0275element"](0,"app-coach-support")}var UP=function(e){return{"dark-theme":e}},qP=function(e){return[e]},ZP=function(){function e(e,t,n,i,r){this.ThemeService=e,this.route=t,this.router=n,this.AccountService=i,this.PermissionsService=r,this.wavingHandEmoji="\ud83d\udc4b",this.playAndroid=!1,this.playiOS=!1,this.showAppleBeta=!1,this.showAndroidBeta=!1,this.Search_txt="Search our Knowledge Base",this.supportForm=new de.h({support_search_field:new de.e("")}),this.isStarTrainer=!1,this.show_response=!1,this.show_response_coming=!1,this.coach_sleeping=!0,this.app_name=null,this.app_download_url_ios="https://apps.apple.com/us/app/icardio-workout-tracker/id314841648",this.app_download_url_android="https://play.google.com/store/apps/details?id=com.fitdigits.icardio.app",this.categoryTypeInput=this.route.snapshot.paramMap.get("categoryType")}return e.prototype.ngOnInit=function(){this.playAndroid=!1,this.playiOS=!1,this.app_name="iCardio",this.isStarTrainer=this.PermissionsService.starTrainerAccess,"ios"==this.categoryTypeInput&&(this.playiOS=!0,this.playAndroid=!1),"android"==this.categoryTypeInput&&(this.playiOS=!1,this.playAndroid=!0),"irunner"==this.categoryTypeInput.toLowerCase()&&(this.app_name="iRunner",this.app_download_url_ios="https://apps.apple.com/us/app/irunner-run-jog-tracker/id304074554"),"ibiker"==this.categoryTypeInput.toLowerCase()&&(this.app_name="iBiker",this.app_download_url_ios="https://apps.apple.com/us/app/ibiker-cycling-heart-trainer/id292015062"),"cuhealth"==this.categoryTypeInput.toLowerCase()&&(this.app_name="Move",this.app_download_url_ios="https://apps.apple.com/us/app/cu-health-plan-move/id616346637",this.app_download_url_android="https://play.google.com/store/apps/details?id=com.fitdigits.becolorado.app"),this.isStarTrainer&&this.getSmartCoach()},e.prototype.supportSearch=function(){var e=this;this.show_response_coming=!0,this.app_name="Move"==this.ThemeService.baseAppName?this.ThemeService.baseAppName:this.AccountService.account.appName,this.AccountService.supportQuery(this.supportForm.value.support_search_field,this.app_name).subscribe(function(t){e.supportResult=t.response.result.replace(/\n/g,"<br>"),e.show_response_coming=!1,console.log(e.show_response_coming)})},e.prototype.newQuestion=function(){this.supportResult=null,this.show_response=!1,this.supportForm.reset()},e.prototype.getSmartCoach=function(){return Object(te.__awaiter)(this,void 0,void 0,function(){var e=this;return Object(te.__generator)(this,function(t){return this.AccountService.getSmartCoach().subscribe(function(t){e.coach_name=t.response.coach_name,e.coach_account=t.response.smart_coach,e.smart_coach_profile_image=t.response.smart_coach_profile_image,e.coach_persona=t.response.coach_persona,e.coach_fav_food=t.response.coach_meta_data.favorite_food,e.coach_fav_movie=t.response.coach_meta_data.favorite_movie,e.coach_fav_music=t.response.coach_meta_data.favorite_music,e.coach_occupation=t.response.coach_meta_data.occupation,null!=t.response.meta_data&&(e.favorite_food=t.response.meta_data.favorite_food,e.favorite_movie=t.response.meta_data.favorite_movie,e.favorite_music=t.response.meta_data.favorite_music,e.occupation=t.response.meta_data.occupation)}),[2]})})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](ae.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-app-overview"]],decls:233,vars:144,consts:[[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[1,"sectionStructure"],[1,"clear-both"],[4,"ngIf"],["style","float:left;width:100%; margin-bottom:20px; clear:both;",4,"ngIf"],["class","cuhp-support-specific",4,"ngIf"],[1,"overviewItem",3,"click"],[1,"iconContainer"],["src","/static/img/icons/speed-cadence.png",1,"featureIcon",2,"padding","5px"],[1,"textContainer"],[2,"font-size","14px"],["class","overviewItem",3,"click",4,"ngIf"],["src","/static/img/settings_gear.png",1,"featureIcon",2,"padding","8px"],["src","/static/img/workout-icon.png",1,"featureIcon",2,"height","auto"],["src","/static/img/dashboard_sample.png",1,"featureIcon",2,"padding","5px"],["src","/static/email/graphics/coach_whistle.png",1,"featureIcon",2,"padding","8px"],["src","/static/img/default.profile.male.png",1,"featureIcon",2,"width","auto","padding","10px"],["src","/static/img/icons/settings_sync.png",1,"featureIcon",2,"width","auto"],["src","/static/img/assessments-icon.png",1,"featureIcon","wrapIcon"],["src","/static/img/structured-workouts-icon.png",1,"featureIcon","wrapIcon"],["src","/static/img/routes-icon.png",1,"featureIcon",2,"padding","8px"],["src","/static/img/steps-icon.png",1,"featureIcon",2,"height","auto","padding","5px"],["src","/static/img/icons/confetti.png",1,"featureIcon",2,"padding","8px"],["src","/static/img/icons/settings_partners.png",1,"featureIcon",2,"margin-top","-5px"],["src","/static/img/partners-icon.png",1,"featureIcon"],["src","/static/img/groups-icon-color.png",1,"featureIcon"],["src","/static/img/theme/site/calorie-icon.png",1,"featureIcon",2,"width","auto","margin","5px 20px 0px 15px"],["src","/static/img/import-icon.png",1,"featureIcon",2,"width","auto","padding","8px"],[2,"width","100%","float","left","clear","both","border","0px solid"],["href","https://thechosensupport.zendesk.com/hc/en-us/articles/1500007691421-How-to-Hard-Close-Force-Close-Your-Apps"],["href","https://www.digitaltrends.com/mobile/how-to-force-close-apps-android/"],["class","support-contact",4,"ngIf"],[1,"beta-banner"],[2,"font-weight","bold","cursor","pointer",3,"click"],["style","text-align: left;",4,"ngIf"],[1,"main-menu-section-heading"],[1,"title"],[2,"float","left","width","100%","margin-bottom","20px","clear","both"],["class","overview-video-container",4,"ngIf"],["style","border-collapse: collapse; width: 100%;",4,"ngIf"],[1,"overview-video-container"],[2,"width","50%","text-align","center"],[2,"text-align","center",3,"click"],["target","_blank",3,"href"],["src","/static/img/apple-app-store-badge.png","alt","Available on iTunes App Store",1,"download-icon1",2,"float","none"],["src","/static/img/google-play-badge.png","alt","Download for Android",1,"download-icon2",2,"float","none"],[2,"height","193px"],[2,"width","50%","height","193px","text-align","center"],["loading","lazy","src","/static/img/ios-overview-video-titlecard.png","alt","Fitdigits Apps - iOS Overview","class","overview-video",3,"click",4,"ngIf"],["loading","lazy","src","/static/img/cuhp/cuhp-overview-video-ios.png","alt","CUHP Move - iOS Overview","class","overview-video",3,"click",4,"ngIf"],[2,"width","50%","text-align","center","height","193px"],["loading","lazy","src","/static/img/android-overview-video-titlecard.png","alt","Fitdigits Android Overview","class","overview-video",3,"click",4,"ngIf"],["loading","lazy","src","/static/img/cuhp/cuhp-overview-video-android.png","alt","CUHP Move - Android Overview","class","overview-video",3,"click",4,"ngIf"],["loading","lazy","src","/static/img/ios-overview-video-titlecard.png","alt","Fitdigits Apps - iOS Overview",1,"overview-video",3,"click"],["loading","lazy","src","/static/img/cuhp/cuhp-overview-video-ios.png","alt","CUHP Move - iOS Overview",1,"overview-video",3,"click"],["loading","lazy","src","/static/img/android-overview-video-titlecard.png","alt","Fitdigits Android Overview",1,"overview-video",3,"click"],["loading","lazy","src","/static/img/cuhp/cuhp-overview-video-android.png","alt","CUHP Move - Android Overview",1,"overview-video",3,"click"],[2,"border-collapse","collapse","width","100%"],["colspan","2",2,"text-align","right"],["mat-icon-button","","style","font-size: 20px; border-radius: 0; float:right; margin:20px;",3,"click",4,"ngIf"],["controls","","src","https://storage.googleapis.com/media_manager/videos/iCardio-Overview-Android.mp4","style","width:100%;",4,"ngIf"],["controls","","src","https://storage.googleapis.com/media_manager/videos/CUHP_Android_Overview.mp4","style","width:100%;",4,"ngIf"],["controls","","src","https://storage.googleapis.com/media_manager/videos/iCardio-Overview-iOS.mp4","style","width:100%;",4,"ngIf"],["controls","","src","https://storage.googleapis.com/media_manager/videos/CUHP_Move_app_Overview_iOS.mp4","style","width:100%;",4,"ngIf"],["mat-icon-button","",2,"font-size","20px","border-radius","0","float","right","margin","20px",3,"click"],["controls","","src","https://storage.googleapis.com/media_manager/videos/iCardio-Overview-Android.mp4",2,"width","100%"],["controls","","src","https://storage.googleapis.com/media_manager/videos/CUHP_Android_Overview.mp4",2,"width","100%"],["controls","","src","https://storage.googleapis.com/media_manager/videos/iCardio-Overview-iOS.mp4",2,"width","100%"],["controls","","src","https://storage.googleapis.com/media_manager/videos/CUHP_Move_app_Overview_iOS.mp4",2,"width","100%"],[1,"cuhp-support-specific"],["href","https://becolorado.org/programs/be-colorado-move"],["href","https://becolorado.fitdigits.com/groups"],["src","/static/email/graphics/apple_watch_update.png",1,"featureIcon"],[1,"support-contact"],["href","javascript:void(0)","data-uv-lightbox","classic_widget","data-uv-mode","full","data-uv-primary-color","#cc6d00","data-uv-link-color","#007dbf","data-uv-default-mode","support","data-uv-forum-id","139522"],["style","font-weight:600;",4,"ngIf"],[2,"font-weight","600"],[2,"text-align","left"],["src","/static/img/testflight-icardio.jpeg",2,"float","right","width","170px"],["href","https://itunes.apple.com/us/app/testflight/id899247664?mt=8"],["routerLink","/fitness-sensors/apple-watch"],[2,"clear","both"],["href","https://play.google.com/apps/testing/com.fitdigits.icardio.app"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275template"](1,CP,5,3,"div",1),i["\u0275\u0275elementStart"](2,"div",2),i["\u0275\u0275elementStart"](3,"div",3),i["\u0275\u0275template"](4,kP,1,0,"app-coach-support",4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,BP,3,2,"div",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,zP,9,6,"div",6),i["\u0275\u0275elementStart"](7,"div",0),i["\u0275\u0275elementStart"](8,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/fitness-sensors"])}),i["\u0275\u0275elementStart"](9,"div",8),i["\u0275\u0275element"](10,"img",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",10),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275element"](14,"br"),i["\u0275\u0275elementStart"](15,"span",11),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](18,NP,10,6,"div",12),i["\u0275\u0275elementStart"](19,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/overview/customizing-activities"])}),i["\u0275\u0275elementStart"](20,"div",8),i["\u0275\u0275element"](21,"img",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"div",10),i["\u0275\u0275text"](23),i["\u0275\u0275pipe"](24,"translate"),i["\u0275\u0275element"](25,"br"),i["\u0275\u0275elementStart"](26,"span",11),i["\u0275\u0275text"](27),i["\u0275\u0275pipe"](28,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/overview/managing-activities"])}),i["\u0275\u0275elementStart"](30,"div",8),i["\u0275\u0275element"](31,"img",14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"div",10),i["\u0275\u0275text"](33),i["\u0275\u0275pipe"](34,"translate"),i["\u0275\u0275element"](35,"br"),i["\u0275\u0275elementStart"](36,"span",11),i["\u0275\u0275text"](37),i["\u0275\u0275pipe"](38,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/zones/overview"])}),i["\u0275\u0275elementStart"](40,"div",8),i["\u0275\u0275element"](41,"img",14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"div",10),i["\u0275\u0275text"](43),i["\u0275\u0275pipe"](44,"translate"),i["\u0275\u0275element"](45,"br"),i["\u0275\u0275elementStart"](46,"span",11),i["\u0275\u0275text"](47),i["\u0275\u0275pipe"](48,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/overview/activity-launch-pad"])}),i["\u0275\u0275elementStart"](50,"div",8),i["\u0275\u0275element"](51,"img",14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"div",10),i["\u0275\u0275text"](53),i["\u0275\u0275pipe"](54,"translate"),i["\u0275\u0275element"](55,"br"),i["\u0275\u0275elementStart"](56,"span",11),i["\u0275\u0275text"](57),i["\u0275\u0275pipe"](58,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](59,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/dashboards/overview"])}),i["\u0275\u0275elementStart"](60,"div",8),i["\u0275\u0275element"](61,"img",15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](62,"div",10),i["\u0275\u0275text"](63),i["\u0275\u0275pipe"](64,"translate"),i["\u0275\u0275element"](65,"br"),i["\u0275\u0275elementStart"](66,"span",11),i["\u0275\u0275text"](67),i["\u0275\u0275pipe"](68,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](69,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/overview/audio-coaching"])}),i["\u0275\u0275elementStart"](70,"div",8),i["\u0275\u0275element"](71,"img",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"div",10),i["\u0275\u0275text"](73),i["\u0275\u0275pipe"](74,"translate"),i["\u0275\u0275element"](75,"br"),i["\u0275\u0275elementStart"](76,"span",11),i["\u0275\u0275text"](77),i["\u0275\u0275pipe"](78,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](79,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/profile/overview"])}),i["\u0275\u0275elementStart"](80,"div",8),i["\u0275\u0275element"](81,"img",17),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](82),i["\u0275\u0275pipe"](83,"translate"),i["\u0275\u0275element"](84,"br"),i["\u0275\u0275elementStart"](85,"span",11),i["\u0275\u0275text"](86),i["\u0275\u0275pipe"](87,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](88,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/overview/syncing"])}),i["\u0275\u0275elementStart"](89,"div",8),i["\u0275\u0275element"](90,"img",18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](91),i["\u0275\u0275pipe"](92,"translate"),i["\u0275\u0275element"](93,"br"),i["\u0275\u0275elementStart"](94,"span",11),i["\u0275\u0275text"](95),i["\u0275\u0275pipe"](96,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](97,"div",0),i["\u0275\u0275elementStart"](98,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/fitness-assessments.html"])}),i["\u0275\u0275elementStart"](99,"div",8),i["\u0275\u0275element"](100,"img",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](101,"div",10),i["\u0275\u0275text"](102),i["\u0275\u0275pipe"](103,"translate"),i["\u0275\u0275element"](104,"br"),i["\u0275\u0275elementStart"](105,"span",11),i["\u0275\u0275text"](106),i["\u0275\u0275pipe"](107,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](108,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/routes"])}),i["\u0275\u0275elementStart"](109,"div",8),i["\u0275\u0275element"](110,"img",20),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](111,"div",10),i["\u0275\u0275text"](112),i["\u0275\u0275pipe"](113,"translate"),i["\u0275\u0275element"](114,"br"),i["\u0275\u0275elementStart"](115,"span",11),i["\u0275\u0275text"](116),i["\u0275\u0275pipe"](117,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](118,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/overview/maps-and-graphs"])}),i["\u0275\u0275elementStart"](119,"div",8),i["\u0275\u0275element"](120,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](121,"div",10),i["\u0275\u0275text"](122),i["\u0275\u0275pipe"](123,"translate"),i["\u0275\u0275element"](124,"br"),i["\u0275\u0275elementStart"](125,"span",11),i["\u0275\u0275text"](126),i["\u0275\u0275pipe"](127,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](128,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/daily-activity/overview"])}),i["\u0275\u0275elementStart"](129,"div",8),i["\u0275\u0275element"](130,"img",22),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](131,"div",10),i["\u0275\u0275text"](132),i["\u0275\u0275pipe"](133,"translate"),i["\u0275\u0275element"](134,"br"),i["\u0275\u0275elementStart"](135,"span",11),i["\u0275\u0275text"](136),i["\u0275\u0275pipe"](137,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](138,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/livetracking/overview"])}),i["\u0275\u0275elementStart"](139,"div",8),i["\u0275\u0275element"](140,"img",23),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](141,"div",10),i["\u0275\u0275text"](142),i["\u0275\u0275pipe"](143,"translate"),i["\u0275\u0275elementStart"](144,"sup"),i["\u0275\u0275text"](145,"tm"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](146,"br"),i["\u0275\u0275elementStart"](147,"span",11),i["\u0275\u0275text"](148),i["\u0275\u0275pipe"](149,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](150,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/member/overview"])}),i["\u0275\u0275elementStart"](151,"div",8),i["\u0275\u0275element"](152,"img",24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](153,"div",10),i["\u0275\u0275text"](154),i["\u0275\u0275pipe"](155,"translate"),i["\u0275\u0275element"](156,"br"),i["\u0275\u0275elementStart"](157,"span",11),i["\u0275\u0275text"](158),i["\u0275\u0275pipe"](159,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](160,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/partners"])}),i["\u0275\u0275elementStart"](161,"div",8),i["\u0275\u0275element"](162,"img",25),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](163,"div",10),i["\u0275\u0275text"](164),i["\u0275\u0275pipe"](165,"translate"),i["\u0275\u0275element"](166,"br"),i["\u0275\u0275elementStart"](167,"span",11),i["\u0275\u0275text"](168),i["\u0275\u0275pipe"](169,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](170,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/teams/overview"])}),i["\u0275\u0275elementStart"](171,"div",8),i["\u0275\u0275element"](172,"img",26),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](173,"div",10),i["\u0275\u0275text"](174),i["\u0275\u0275pipe"](175,"translate"),i["\u0275\u0275element"](176,"br"),i["\u0275\u0275elementStart"](177,"span",11),i["\u0275\u0275text"](178),i["\u0275\u0275pipe"](179,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](180,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/overview/calories"])}),i["\u0275\u0275elementStart"](181,"div",8),i["\u0275\u0275element"](182,"img",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](183,"div",10),i["\u0275\u0275text"](184),i["\u0275\u0275pipe"](185,"translate"),i["\u0275\u0275element"](186,"br"),i["\u0275\u0275elementStart"](187,"span",11),i["\u0275\u0275text"](188),i["\u0275\u0275pipe"](189,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](190,"div",7),i["\u0275\u0275listener"]("click",function(){return t.router.navigate(["/overview/import-export"])}),i["\u0275\u0275elementStart"](191,"div",8),i["\u0275\u0275element"](192,"img",28),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](193),i["\u0275\u0275pipe"](194,"translate"),i["\u0275\u0275element"](195,"br"),i["\u0275\u0275elementStart"](196,"span",11),i["\u0275\u0275text"](197),i["\u0275\u0275pipe"](198,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](199,"p"),i["\u0275\u0275text"](200,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](201,"div",29),i["\u0275\u0275element"](202,"br"),i["\u0275\u0275elementStart"](203,"div"),i["\u0275\u0275text"](204),i["\u0275\u0275pipe"](205,"translate"),i["\u0275\u0275element"](206,"br"),i["\u0275\u0275elementStart"](207,"a",30),i["\u0275\u0275text"](208),i["\u0275\u0275pipe"](209,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](210," \u2022 "),i["\u0275\u0275elementStart"](211,"a",31),i["\u0275\u0275text"](212),i["\u0275\u0275pipe"](213,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](214,"br"),i["\u0275\u0275element"](215,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](216,"p"),i["\u0275\u0275text"](217,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](218,VP,17,16,"div",32),i["\u0275\u0275elementStart"](219,"div",33),i["\u0275\u0275text"](220),i["\u0275\u0275pipe"](221,"translate"),i["\u0275\u0275element"](222,"br"),i["\u0275\u0275elementStart"](223,"div",34),i["\u0275\u0275listener"]("click",function(){return t.showAppleBeta=!t.showAppleBeta}),i["\u0275\u0275text"](224," Apple "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](225,YP,31,0,"div",35),i["\u0275\u0275text"](226," - "),i["\u0275\u0275elementStart"](227,"div",34),i["\u0275\u0275listener"]("click",function(){return t.showAndroidBeta=!t.showAndroidBeta}),i["\u0275\u0275text"](228," Android "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](229,WP,17,0,"div",35),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](230,"p"),i["\u0275\u0275text"](231,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](232,GP,1,0,"app-coach-support",4),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](138,UP,t.ThemeService.isDarkTheme)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](140,qP,t.ThemeService.isDarkTheme?"left-column a-dark":"left-column")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](13,54,"ROOT.Heart Rate Sensors and Fitness Sensors"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](17,56,"ROOT.pairing and working with sensors")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.playAndroid),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](24,58,"ROOT.Settings & Customizing Activity Feedback"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](28,60,"ROOT.audio, laps, dashboards, intervals and in-workout options.")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](34,62,"ROOT.Editing, Deleting, Changing or Entering an Activity"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](38,64,"ROOT.working with your workouts & activities")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](44,66,"ROOT.Customize Heart Rate Zones"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](48,68,"ROOT.personalized health for beautifully unique people")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](54,70,"ROOT.Customize Your Activity Launch Pad"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](58,72,"ROOT.add your own unique custom activity or pick from dozens of available activities.")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](64,74,"ROOT.Dashboards - All You Can Eat"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](68,76,"ROOT.embed charts, maps, laps and more - make your dashboards truly your own")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](74,78,"ROOT.Enhanced Voice & Zone Coaching"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](78,80,"ROOT.now with even more settings and customization")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](83,82,"ROOT.Profile & Account Management"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](87,84,"ROOT.setting notifications, metric vs us, language, and more")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](92,86,"ROOT.Syncing Activities & Data"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](96,88,"ROOT.details and troubleshooting syncing data")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](142,qP,t.ThemeService.isDarkTheme?"right-column a-dark":"right-column")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](103,90,"ROOT.Assessments"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](107,92,"ROOT.set and track your personalized health and heart zones")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](113,94,"ROOT.Routes & Routines"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](117,96,"ROOT.make your favorite routes work for you")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](123,98,"ROOT.Working with Maps & Graphs"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](127,100,"ROOT.how to interact with your data and workouts")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](133,102,"ROOT.Daily Activity & Step Tracking"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](137,104,"ROOT.track your daily activity and holistic health")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](143,106,"ROOT.LiveTracking and LiveCheers"),""),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](149,108,"ROOT.encouragement when you need it the most")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](155,110,"ROOT.Friends and Social Networking"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](159,112,"ROOT.to keep you motivated through the journey")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](165,114,"ROOT.Partners"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](169,116,"ROOT.MyFitnessPal, Strava, Garmin, TrainingPeaks, Fitbit & more")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](175,118,"ROOT.Teams & Groups: Creating & Managing"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](179,120,"ROOT.creating teams, managing users")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](185,122,"ROOT.Calories: A Deeper Dive"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](189,124,"ROOT.calorie calcs, carb vs. fat cal, Calories Per Minute (CPM)")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](194,126,"ROOT.Exporting / Importing Activities"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](198,128,"ROOT.sharing data between platforms")),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](205,130,"ROOT.General How To:"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](209,132,"ROOT.Hard Closing and App (iOS)"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](213,134,"ROOT.Hard Closing and App (Android)"),""),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](221,136,"ROOT.Join our Beta Program"),""),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",t.showAppleBeta),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",t.showAndroidBeta),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded))},directives:[y.NgClass,y.NgIf,SP.a,k.b,O.a,S.f],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",".overviewItem[_ngcontent-%COMP%]{font-size:16px;clear:both;width:100%;margin:10px 10px 10px 5px;padding:5px 0;cursor:pointer;font-size:18px;border-bottom:1px dotted;float:left}.overview-video-container[_ngcontent-%COMP%]{width:100%}.featureIcon[_ngcontent-%COMP%], .iconContainer[_ngcontent-%COMP%]{float:left;width:60px}.featureIcon[_ngcontent-%COMP%]{height:60px;margin-top:5px;margin-right:10px;border:0 solid}.wrapIcon[_ngcontent-%COMP%]{height:auto;padding:10px 5px}.overviewItem[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none}.overviewItem[_ngcontent-%COMP%]:hover{background-color:rgba(234,235,236,.3)}a[_ngcontent-%COMP%]:hover{text-decoration:none;color:inherit}.beta-banner[_ngcontent-%COMP%]{width:100%;border:1px solid;font-size:18px;padding:10px;margin:20px 0;text-align:center;clear:both}.left-column[_ngcontent-%COMP%]{border:0 solid;width:45%;float:left}.right-column[_ngcontent-%COMP%]{border:0 solid;width:45%;float:right}.overview-video[_ngcontent-%COMP%]{width:300px;height:169px}.cuhp-support-specific[_ngcontent-%COMP%]{float:right;width:100%;font-size:18px;text-align:right;margin:10px 0}.download-icon1[_ngcontent-%COMP%]{width:150px}.download-icon2[_ngcontent-%COMP%]{width:150px;margin-left:40px;padding:unset}@media (max-width:600px){.left-column[_ngcontent-%COMP%], .right-column[_ngcontent-%COMP%]{width:100%;padding-right:5px}.overview-video[_ngcontent-%COMP%]{width:150px;height:85px}.iconContainer[_ngcontent-%COMP%]{min-height:110px}.overviewItem[_ngcontent-%COMP%]{min-height:100px;margin-bottom:20px}.wrapIcon[_ngcontent-%COMP%]{margin-bottom:25px}.download-icon2[_ngcontent-%COMP%]{margin-left:20px}}"]}),e}();function $P(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function XP(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function KP(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",16),i["\u0275\u0275elementStart"](2,"ol",17),i["\u0275\u0275elementStart"](3,"li"),i["\u0275\u0275text"](4,"Select the Workout type you wish to customize your dashboard for (you can later choose to activate for just that activity type or all activity types). "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"li"),i["\u0275\u0275text"](6,"Tap the Activity Options (gear icon) > Dashboards."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,"Tap the green + icon in the top right to create a new dashboard, or tap the name of the dashboard to edit it. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10,"Tap on the metric you wish to edit. Choose a new metric to replace it, or tap Remove in the top right to remove the metric. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12,"Add a new metric to a panel by tapping the green + on the right. Up to 4 metrics per panel are supported. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14,"Add a new panel to the dashboard by tapping the green + on the bottom. Up to 5 panels per dashboard. To remove a panel, remove all the metrics in that panel. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16,"When you are satisfied, tap the < arrow in the upper left. If creating a new Dashboard, you will be prompted to save the changes and name the dashboard. If you are editing a dashboard, changes will be automatically saved. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"h4"),i["\u0275\u0275text"](18,"Viewing & Adding Multiple Dashboards"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275text"](20," You have the ability to have multiple workout dashboards during a workout. Perfect when doing custom workouts or using multiple sensors. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22,"It can be very helpful to have one dashboard per sensor. For example, one dashboard tracking distance, speed and cadence. Another dashboard for heart rate, calories and time elapsed. A third dashboard for zone stats if you are using custom heart zones. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"p"),i["\u0275\u0275text"](24," To activate a dashboard, simply turn on or off the dashboards you want to use in workout for an activity. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"p"),i["\u0275\u0275text"](26," To view the multiple dashboards in-app, swipe to the right or left through them. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"p"),i["\u0275\u0275text"](28,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var JP=function(){function e(e,t){this.route=e,this.ThemeService=t,this.showCustomizingDash=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-dashboards"]],decls:29,vars:7,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"screen-shot"],["href","https://my.fitdigits.com/dashboards/overview"],["src","https://storage.googleapis.com/media_manager/emails/time-in-zones-dashboard.gif",1,"main-img"],[1,"header-view",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],[2,"clear","both"],[4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],["alt","Add Custome Dashboards","height","463","src","https://storage.googleapis.com/media_manager/emails/customize_dashboards.gif","width","266",2,"margin","10px","float","right"],[1,"list-spacing"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275elementStart"](8,"h4"),i["\u0275\u0275text"](9," Customize the data you want to see, where you want to see it. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",5),i["\u0275\u0275text"](11," New: HR Time In Zones"),i["\u0275\u0275element"](12,"br"),i["\u0275\u0275text"](13," Dashboard Option "),i["\u0275\u0275element"](14,"br"),i["\u0275\u0275elementStart"](15,"a",6),i["\u0275\u0275element"](16,"img",7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](17,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19,' Each workout type and sensor configuration has a different "Default" dashboard. However everyone is unique, so we offer support for multiple configurations and customizations. Add as many as you want, or as few. '),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"p"),i["\u0275\u0275text"](21," We provided some basic canned dashboards. You cannot edit the default dynamic dashboard (but you can turn it off). For main maps and charts that were pre-created, you can only modify the top panel, however if you don't like it you can turn it off and customize your own view. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"div",8),i["\u0275\u0275listener"]("click",function(){return t.showCustomizingDash=!t.showCustomizingDash}),i["\u0275\u0275template"](23,$P,1,0,"img",9),i["\u0275\u0275template"](24,XP,1,0,"img",10),i["\u0275\u0275elementStart"](25,"div",11),i["\u0275\u0275text"](26),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](27,"div",12),i["\u0275\u0275template"](28,KP,29,0,"div",13),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,5,"ROOT.Customize Workout Dashboards")),i["\u0275\u0275advance"](18),i["\u0275\u0275property"]("ngIf",!t.showCustomizingDash),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showCustomizingDash),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" Customizing ",t.ThemeService.baseAppName," Activity Dashboards "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.showCustomizingDash))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",".screen-shot[_ngcontent-%COMP%]{float:right;width:200px;padding:0 10px 10px;text-align:center}.main-img[_ngcontent-%COMP%]{width:100px}"]}),e}();function QP(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function eT(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function tT(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showVoiceOverview=!e.showVoiceOverview}),i["\u0275\u0275template"](1,QP,1,0,"img",9),i["\u0275\u0275template"](2,eT,1,0,"img",10),i["\u0275\u0275elementStart"](3,"div",11),i["\u0275\u0275text"](4," Audio & Voice Overview "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.showVoiceOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showVoiceOverview)}}function nT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275elementStart"](1,"div",16),i["\u0275\u0275element"](2,"video",17),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"div",18),i["\u0275\u0275element"](4,"img",19),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275text"](6," Voice feedback gives your real time stats on your workout, based on pre-defined intervals or a whole variety of different triggers you can specify. To work with audio, select the activity type (options are set by activity), then Activity Options (gear icon) > Audio & Voice. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8," Supported languages include English, Spanish, Italian and German. Make sure your language setting in Menu > Profile matches the primary language setting on your phone for best results or if you are hearing the language in a strange accent. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function iT(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function rT(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function aT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"There are many great coaching voices, and even with different accents... Pick your favorite to help coach you in your workouts!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"h3"),i["\u0275\u0275text"](4,"Apple"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275elementStart"](6,"span",20),i["\u0275\u0275text"](7,"Pro Tip:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](8,' Search "'),i["\u0275\u0275elementStart"](9,"span",20),i["\u0275\u0275text"](10,"Voices"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](11,'" '),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"p"),i["\u0275\u0275text"](13," (Our favorite in the office with our iPhones is Ava, some really like Samantha.) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"ul",21),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16,"iOS: Settings > Accessibility > Spoken Content > "),i["\u0275\u0275elementStart"](17,"span",20),i["\u0275\u0275text"](18,"Voices"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275text"](20,"Tap the small play button to play a sample"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22,"Tap the row to select the one you like best (shown with a check mark)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"a",22),i["\u0275\u0275element"](24,"img",23),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"div",24),i["\u0275\u0275element"](26,"img",25),i["\u0275\u0275element"](27,"img",26),i["\u0275\u0275element"](28,"img",27),i["\u0275\u0275element"](29,"img",28),i["\u0275\u0275element"](30,"img",29),i["\u0275\u0275element"](31,"img",30),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"p",31),i["\u0275\u0275text"](33,"Pro Tip:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"p"),i["\u0275\u0275text"](35,"If there is a word you feel is being mis-pronounced, see the "),i["\u0275\u0275elementStart"](36,"span",20),i["\u0275\u0275text"](37,"Pronunciations"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](38,' section in Spoken Content. You can make phonetic tweaks there to make it more pleasing. For example, for "descending" you can replace for the '),i["\u0275\u0275elementStart"](39,"a",32),i["\u0275\u0275text"](40,"phonetic"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](41,' "di\'sending".'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](42,"br"),i["\u0275\u0275elementStart"](43,"h3"),i["\u0275\u0275text"](44,"Android"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"ul",21),i["\u0275\u0275elementStart"](46,"li"),i["\u0275\u0275text"](47,"Settings > Accessibility > Text-to-speech output > Preferred Engine > Install voice data"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"a",33),i["\u0275\u0275element"](49,"img",34),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"div",24),i["\u0275\u0275element"](51,"img",35),i["\u0275\u0275element"](52,"img",36),i["\u0275\u0275element"](53,"img",37),i["\u0275\u0275element"](54,"img",38),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](55,"p"),i["\u0275\u0275text"](56,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function oT(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function sT(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function lT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Triggers are the points which you can optimize for audio feedback. Some are exclusive due to the way they can conflict and interact with other audio options, however there are plenty of customizable options. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"ul",21),i["\u0275\u0275elementStart"](4,"li"),i["\u0275\u0275elementStart"](5,"strong"),i["\u0275\u0275text"](6,"Interval"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7,": This turns off other triggers and links the "),i["\u0275\u0275elementStart"](8,"a",39),i["\u0275\u0275text"](9,"Auto Interval"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](10," settings to the voice feedback, so they are in synchronicity. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275elementStart"](12,"strong"),i["\u0275\u0275text"](13,"Calories"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14,": Sets the feedback for when a specific amount of calories are burned, for those who like to follow a calorie burn goal. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275elementStart"](16,"strong"),i["\u0275\u0275text"](17,"Elapsed Time"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18,": Sets feedback for a specific time interval."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275elementStart"](20,"strong"),i["\u0275\u0275text"](21,"Distance"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](22,": Sets feedback for a specific distance interval."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275elementStart"](24,"strong"),i["\u0275\u0275text"](25,"Workout Totals @ Finish"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](26,": Reads the stats at the finish line for an easy audible review. Advanced voice only.\xa0 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function cT(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function dT(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function uT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2," This is an important section, as it controls the content that is spoken when certain triggers are hit. They are fairly self explanatory, at this time including:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"ol"),i["\u0275\u0275elementStart"](4,"li"),i["\u0275\u0275text"](5,"Time"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Distance"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Calories"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Current BPM"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"Average BPM"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15,"% Max Current BPM"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,"% Max Average BPM"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19,"Current Speed"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21,"Average Speed"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275text"](23,"Current Cadence"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275text"](25,"Average Cadence"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275text"](27,"Current Watts"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275text"](29,"Average Watts"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](30,"li"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"p"),i["\u0275\u0275text"](32,"Also:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"ul"),i["\u0275\u0275elementStart"](34,"li"),i["\u0275\u0275elementStart"](35,"strong"),i["\u0275\u0275text"](36,"Personalization"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](37,": Gives personalized touches, like kudos, using your name, and helping to motivate you and congratulate you. Advanced voice only. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function pT(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function hT(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function mT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275elementStart"](1,"ul",21),i["\u0275\u0275elementStart"](2,"li"),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275text"](4,"Zone Transitions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](5,": This is a master switch which will turn off or on audio alerts for Heart Rate transitions. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275elementStart"](7,"strong"),i["\u0275\u0275text"](8,"Zone Name"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"span"),i["\u0275\u0275text"](10,": Reads the Zone Name. Note for fun you can\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"a",40),i["\u0275\u0275text"](12,"customize your heart rate zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"span"),i["\u0275\u0275text"](14,"\xa0and it will read what you call them. In our Simplified zones, for example, the main zone is called the GO zone. An Advanced Voice feature."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275elementStart"](16,"strong"),i["\u0275\u0275text"](17,"Zone Number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18,": Reads the Zone Number (Zone 1, Zone 2\u2026 etc.)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275elementStart"](20,"strong"),i["\u0275\u0275text"](21,"Zone Range"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](22,": Reads the Zone BPM range. It\u2019s a great feature for those getting started to learn their zones better. It reads it in ascending order when entering from below (Entering Zone 2 from 100 to 120 bpm), or in descending order if dropping from above to a lower zone (Entering Zone 2 from 120 to 100 bpm). "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275elementStart"](24,"strong"),i["\u0275\u0275text"](25,"Zone Range % MHR"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](26,": Reads the Zone BPM range, but as a percent of maximum heart rate. Example: Entering Zone 2 from 60% to 70% max bpm. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275elementStart"](28,"strong"),i["\u0275\u0275text"](29,"Chime"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](30,": Plays a chime when the zone changes. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function gT(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function fT(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}var vT=function(){return["/routes"]};function yT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275elementStart"](1,"ul",21),i["\u0275\u0275elementStart"](2,"li"),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275text"](4,"Zone Coaching"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](5,": Get your heart rate zone and bpm % read to you as often as you would like. Set the interval time here and the same variables as are set under Zone Transition Voice Alerts. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275elementStart"](7,"strong"),i["\u0275\u0275text"](8,"Custom Audio"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](9,": Set your own words to audio here. Great for nutrition reminders, hydration remiders and more. Remind yourself about form, or even create a great self affirmation to be spoken to you during your activities and set the trigger for it. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275elementStart"](11,"strong"),i["\u0275\u0275text"](12,"Routine Transitions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](13,": Prompt you when you are supposed to transition within a route or routine, or you are outside of the current target heart rate zone. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275elementStart"](15,"strong"),i["\u0275\u0275text"](16,"Routine Series Notes"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](17,": Speak out the routine series notes as the transition happens. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275elementStart"](19,"strong"),i["\u0275\u0275text"](20,"Routine Interval Notes"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](21,": Speak out the routine interval notes as the transition happens. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275elementStart"](23,"strong"),i["\u0275\u0275text"](24,"Target Zone Coaching"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](25,": This gives you the ability to be prompted every few minutes or so (you set the time interval) on whether you are In, Above or Below a Structured Workout target zone. This only applies to "),i["\u0275\u0275elementStart"](26,"a",41),i["\u0275\u0275text"](27,"Routes & Routines"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](28,". "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](26),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](1,vT)))}function bT(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function xT(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}var _T=function(){return["/dashboards/overview"]};function wT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275element"](1,"img",42),i["\u0275\u0275elementStart"](2,"p"),i["\u0275\u0275text"](3,"In "),i["\u0275\u0275elementStart"](4,"a",41),i["\u0275\u0275text"](5,"Custom Dashboards"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](6,", you have the ability to add a music control to your dashboard that will work with Apple Music."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"You also have the ability to make some small adjustments to voice feedback once you have started a workout. If you find yourself in a gym without headphones and want to turn voice feedback off, merely tap the gear icon in the lower right, and switch \u201cVoice Feedback\u201d to OFF. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10," You will also see a volume slider. This is the volume of the voice feedback, and will not change the volume of the rest of your phone. If you feel you are being yelled at, turn the volume down here. You may also want to check the volume settings in the iOS device (slide up from bottom of any screen) or iTunes music, as the level there can also affect the workout feedback volume. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"h4"),i["\u0275\u0275text"](12,"Working with Music, Podcasts & Other Audio"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14,"In iOS, the easiest way to quickly change the music or skip a song, is to use the "),i["\u0275\u0275elementStart"](15,"a",43),i["\u0275\u0275text"](16,"Control Center"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](17,", a pull down/up menu. The Control Center allows users to change songs, pause music, and more without leaving the app."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19," Another option to change songs, podcasts, audio books and more is to leave the app entirely. Fitdigits apps will work in the background as you browse through your other apps. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](1,_T)))}var ST=function(){function e(e){this.route=e,this.showVoiceOverview=!0,this.showVoiceType=!1,this.showVoiceTriggers=!1,this.showVoiceContent=!1,this.showZoneTransitionVoice=!1,this.showAdvancedCoaching=!1,this.showInWorkoutAudio=!1,this.categoryTypeInput=this.route.snapshot.paramMap.get("categoryType")}return e.prototype.ngOnInit=function(){"voices"==this.categoryTypeInput?(this.showVoiceOverview=!1,this.showVoiceType=!0,this.showVoiceTriggers=!1,this.showVoiceContent=!1,this.showZoneTransitionVoice=!1,this.showAdvancedCoaching=!1,this.showInWorkoutAudio=!1):this.showVoiceType=!1},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](S.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-audio-coaching"]],decls:50,vars:23,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],["class","header-view","style","clear:both;",3,"click",4,"ngIf"],["class","support-content",4,"ngIf"],[2,"clear","both","float","left","width","100%","height","20px"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],[1,"header-view",3,"click"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content"],[2,"text-align","center"],["controls","","src","https://storage.googleapis.com/media_manager/videos/Audio%20Overview.mp4#t=0.001",1,"support-audio"],[2,"clear","both","float","left","width","100%"],["loading","lazy","width","268","height","104","src","/static/img/audio-access-300x283.png","alt","Tap gear icon > Audio & Voice",2,"float","right"],[2,"font-weight","bold"],[1,"list-spacing"],["href","/static/img/ios-voice-selection.png",1,"largescreen"],["loading","lazy","src","/static/img/ios-voice-selection.png","alt","Apple Voice Selection",1,"ios-voice-screen"],[1,"smallscreen"],["loading","lazy","src","/static/img/voice_settings_scr1.png","alt","Apple Voice Selection 1",1,"ios-voice-screen-detail"],["loading","lazy","src","/static/img/voice_settings_scr2.png","alt","Apple Voice Selection 2",1,"ios-voice-screen-detail"],["loading","lazy","src","/static/img/voice_settings_scr3.png","alt","Apple Voice Selection 3",1,"ios-voice-screen-detail"],["loading","lazy","src","/static/img/voice_settings_scr4.png","alt","Apple Voice Selection 4",1,"ios-voice-screen-detail"],["loading","lazy","src","/static/img/voice_settings_scr5.png","alt","Apple Voice Selection 5",1,"ios-voice-screen-detail"],["loading","lazy","src","/static/img/voice_settings_scr6.png","alt","Apple Voice Selection 6",1,"ios-voice-screen-detail"],[2,"font-weight","bold","margin-bottom","0px"],["href","https://www.google.com/search?q=phonetic+pronunciation&oq=phoentic"],["href","/static/img/speech-options-android.png",1,"largescreen"],["loading","lazy","src","/static/img/speech-options-android.png","alt","Android Voice Options",1,"ios-voice-screen",2,"width","90%","max-width","960px","margin","20px 0px"],["loading","lazy","src","/static/img/voice_settings_android_scr1.png","alt","Android Voice Selection 1",1,"ios-voice-screen-detail"],["loading","lazy","src","/static/img/voice_settings_android_scr2.png","alt","Android Voice Selection 2",1,"ios-voice-screen-detail"],["loading","lazy","src","/static/img/voice_settings_android_scr3.png","alt","Android Voice Selection 3",1,"ios-voice-screen-detail"],["loading","lazy","src","/static/img/voice_settings_android_scr4.png","alt","Android Voice Selection 4",1,"ios-voice-screen-detail"],["routerLink","/overview/customizing-activities/intervals"],["routerLink","/zones/overview"],[3,"routerLink"],["loading","lazy","src","/static/img/in-workout-audio.png","alt","In Workout Audio Options","width","464","height","413",1,"wp-image-19106",2,"float","right"],["href","https://support.apple.com/guide/iphone/use-and-customize-control-center-iph59095ec58/ios"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275template"](8,tT,5,2,"div",5),i["\u0275\u0275template"](9,nT,9,0,"div",6),i["\u0275\u0275element"](10,"div",7),i["\u0275\u0275elementStart"](11,"div",8),i["\u0275\u0275listener"]("click",function(){return t.showVoiceType=!t.showVoiceType}),i["\u0275\u0275template"](12,iT,1,0,"img",9),i["\u0275\u0275template"](13,rT,1,0,"img",10),i["\u0275\u0275elementStart"](14,"div",11),i["\u0275\u0275text"](15," Set a Great Voice Type "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](16,aT,57,0,"div",6),i["\u0275\u0275elementStart"](17,"div",12),i["\u0275\u0275listener"]("click",function(){return t.showVoiceTriggers=!t.showVoiceTriggers}),i["\u0275\u0275template"](18,oT,1,0,"img",9),i["\u0275\u0275template"](19,sT,1,0,"img",10),i["\u0275\u0275elementStart"](20,"div",11),i["\u0275\u0275text"](21," Voice Triggers "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](22,lT,27,0,"div",6),i["\u0275\u0275elementStart"](23,"div",12),i["\u0275\u0275listener"]("click",function(){return t.showVoiceContent=!t.showVoiceContent}),i["\u0275\u0275template"](24,cT,1,0,"img",9),i["\u0275\u0275template"](25,dT,1,0,"img",10),i["\u0275\u0275elementStart"](26,"div",11),i["\u0275\u0275text"](27," Voice Coaching Content "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](28,uT,38,0,"div",6),i["\u0275\u0275elementStart"](29,"div",12),i["\u0275\u0275listener"]("click",function(){return t.showZoneTransitionVoice=!t.showZoneTransitionVoice}),i["\u0275\u0275template"](30,pT,1,0,"img",9),i["\u0275\u0275template"](31,hT,1,0,"img",10),i["\u0275\u0275elementStart"](32,"div",11),i["\u0275\u0275text"](33," Zone Transition Voice Alerts "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](34,mT,31,0,"div",6),i["\u0275\u0275elementStart"](35,"div",12),i["\u0275\u0275listener"]("click",function(){return t.showAdvancedCoaching=!t.showAdvancedCoaching}),i["\u0275\u0275template"](36,gT,1,0,"img",9),i["\u0275\u0275template"](37,fT,1,0,"img",10),i["\u0275\u0275elementStart"](38,"div",11),i["\u0275\u0275text"](39," Advanced Coaching "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](40,yT,29,2,"div",6),i["\u0275\u0275elementStart"](41,"div",12),i["\u0275\u0275listener"]("click",function(){return t.showInWorkoutAudio=!t.showInWorkoutAudio}),i["\u0275\u0275template"](42,bT,1,0,"img",9),i["\u0275\u0275template"](43,xT,1,0,"img",10),i["\u0275\u0275elementStart"](44,"div",11),i["\u0275\u0275text"](45," In-Workout Audio Settings "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](46,wT,20,2,"div",6),i["\u0275\u0275element"](47,"div",7),i["\u0275\u0275elementStart"](48,"p"),i["\u0275\u0275text"](49,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,21,"ROOT.Audio Coaching & Feedback")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!t.showVoiceOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showVoiceOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!t.showVoiceType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showVoiceType),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showVoiceType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showVoiceTriggers),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showVoiceTriggers),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showVoiceTriggers),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showVoiceContent),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showVoiceContent),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showVoiceContent),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showZoneTransitionVoice),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showZoneTransitionVoice),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showZoneTransitionVoice),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showAdvancedCoaching),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showAdvancedCoaching),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showAdvancedCoaching),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showInWorkoutAudio),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showInWorkoutAudio),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showInWorkoutAudio))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",".largescreen[_ngcontent-%COMP%]{visibility:visible;height:auto}.smallscreen[_ngcontent-%COMP%]{visibility:hidden;height:0}.ios-voice-screen[_ngcontent-%COMP%]{width:90%;max-width:800px;margin:20px 0}@media (max-width:600px){.largescreen[_ngcontent-%COMP%]{visibility:hidden;height:0}.smallscreen[_ngcontent-%COMP%]{visibility:visible;height:auto}.ios-voice-screen-detail[_ngcontent-%COMP%]{width:90%;max-width:250px;margin:20px 20px 20px 0}.ios-voice-screen[_ngcontent-%COMP%]{height:0;margin:0}}"]}),e}();function CT(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function kT(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function OT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275elementStart"](1,"ol",7),i["\u0275\u0275elementStart"](2,"li"),i["\u0275\u0275text"](3,"To start LiveTracking, iOS, tap the LiveTracking icon and select Turn LiveTracking On. If the icon is colored, that means it is currently active. "),i["\u0275\u0275element"](4,"img",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"li"),i["\u0275\u0275text"](6,"Android and older iOS: In the app, go to the activity you want to track, and tap the gear icon in the lower right (Activity Options) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,"Turn on LiveTracking in Preferences (Star members only) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10,"Start your activity. "),i["\u0275\u0275elementStart"](11,"ol"),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"The bottom bar turns green when active and there is a good connection to the internet and the data is streaming. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15,"If there is no connection, the bottom bar will turn red, though you will continue tracking on the device and (if the connection isn\u2019t lost more than 20 minutes) it should pick back up when a good connection is established again. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,"To notify someone or share the URL for tracking the activity, tap on the gear icon within the workout, then tap Share LiveTracking. "),i["\u0275\u0275elementStart"](18,"ol",17),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275text"](20,"See LiveTracking Share Options below for more on how to manage who sees the link, is notified, and more."),i["\u0275\u0275element"](21,"a",18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275text"](23,"LiveTracking will end when the activity is stopped."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function ET(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function MT(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function IT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275element"](1,"img",19),i["\u0275\u0275elementStart"](2,"p"),i["\u0275\u0275text"](3," To turn of / not enable LiveTracking, simply turn it off in the same place as it was turned on in the app. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5," For individual shares, no session is visible, even when LiveTracking is turned on, until it is shared by tapping the LiveTracking icon in the workout (see above). However, once shared, the following rules apply to the view, depending on the option chosen in your online profile "),i["\u0275\u0275elementStart"](6,"a",20),i["\u0275\u0275text"](7,"Menu > Settings > Other Notifications & Preferences"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](8," on the apps or Menu > Profile > Notifications & Preferences online. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275elementStart"](10,"strong"),i["\u0275\u0275text"](11,"Open"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"p"),i["\u0275\u0275text"](13," When a link is shared, anyone with that link will be able to view the session. The link times out 3 hours after the end of the session, and is unique per session. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275elementStart"](15,"strong"),i["\u0275\u0275text"](16,"Members (default)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"p"),i["\u0275\u0275text"](18," If a user has LiveTracking turned on and shares the link generated in their app, the person trying to view will need to have a valid Fitdigits account (free and available via downloading the app or creating online) and login to view the session. Or, as part of a Group permission setting, a group member may have access, see below for more on Group LiveTracking. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275elementStart"](20,"strong"),i["\u0275\u0275text"](21,"None / My Groups"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"p"),i["\u0275\u0275text"](23," When you first sign up for a group, or when going to edit your group "),i["\u0275\u0275elementStart"](24,"a",21),i["\u0275\u0275text"](25,"Member Privacy & Sharing Permissions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](26," you have the option of sharing your LiveTracking activities with the group. Each group member who has also agreed to share will be "),i["\u0275\u0275elementStart"](27,"a",22),i["\u0275\u0275text"](28,"notified"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](29," and be able to view the session. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"h4"),i["\u0275\u0275text"](31,"Viewing Group / Team LiveTracking"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"p"),i["\u0275\u0275text"](33," If you have LiveTracking Share enabled in your group settings for any given group, any group member can see you tracking by: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"ol",7),i["\u0275\u0275elementStart"](35,"li"),i["\u0275\u0275text"](36,"Tap Teams"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"li"),i["\u0275\u0275text"](38,"Tap the LiveTracking icon next to the name of the team"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var PT=function(){return["/memberships"]},TT=function(){function e(){this.showStartingLiveTrack=!0,this.showLiveTrackPermissions=!1}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-livetracking-overview"]],decls:43,vars:11,consts:[[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],[2,"float","right","text-align","right","border","1px solid","padding","10px","margin","0px 0px 20px 20px","background-color","#fff"],[3,"routerLink"],["src","/static/img/star-member-128.png","height","24",2,"height","24px","margin-top","0px","background-color","#fff"],["loading","lazy","src","/static/img/Asset-1livetracking.png","alt","LiveTracking icon","width","75",2,"float","right"],[1,"list-spacing"],[1,"header-view",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","support-content",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content"],["loading","lazy","src","/static/img/livetracking-on.png","alt","Tap the LiveTracking icon on the home screen","height","360",2,"float","right"],[2,"list-style-type","lower-alpha"],["id","livetrackingshareoptions"],["loading","lazy","src","/static/img/livetracking_account_permissions_web-1-248x300.png","alt","LiveTracking Share Permissions","width","248","height","300",2,"float","right"],["routerLink","/profile/overview/notifications"],["href","https://my.fitdigits.com/teams/overview#memberroles"],["href","https://my.fitdigits.com/profile/overview/notifications"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",1),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",2),i["\u0275\u0275elementStart"](6,"div",3),i["\u0275\u0275elementStart"](7,"a",4),i["\u0275\u0275text"](8,"A "),i["\u0275\u0275element"](9,"img",5),i["\u0275\u0275text"](10," feature"),i["\u0275\u0275element"](11,"br"),i["\u0275\u0275text"](12," Learn more!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14," LiveTracking is great for sharing your location and effort levels with others you care about on your rides, runs, hikes and so much more. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"p"),i["\u0275\u0275text"](16,"Perfect for trainers and group members, or even event managers to track participants in their events. View maps, courses, time, distance, pace, heart rate and even power/watts cranked out if you\u2019ve got it. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](17,"img",6),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19,"LiveTracking can be done on an individual level or in groups. Fun for everyone and perfect for: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"ol",7),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22,"Tracking when your spouse will be home for dinner after their run."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24,"Monitoring fitness activities by those in your training group."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275text"](26,"Showing multiple people in multiple activities around the world in one place."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275text"](28,"Adding an extra level of safety knowing your loved ones know where you are."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"div",8),i["\u0275\u0275listener"]("click",function(){return t.showStartingLiveTrack=!t.showStartingLiveTrack}),i["\u0275\u0275template"](30,CT,1,0,"img",9),i["\u0275\u0275template"](31,kT,1,0,"img",10),i["\u0275\u0275elementStart"](32,"div",11),i["\u0275\u0275text"](33," Starting LiveTracking "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](34,OT,24,0,"div",12),i["\u0275\u0275elementStart"](35,"div",8),i["\u0275\u0275listener"]("click",function(){return t.showLiveTrackPermissions=!t.showLiveTrackPermissions}),i["\u0275\u0275template"](36,ET,1,0,"img",9),i["\u0275\u0275template"](37,MT,1,0,"img",10),i["\u0275\u0275elementStart"](38,"div",11),i["\u0275\u0275text"](39," LiveTracking Share Options "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](40,IT,39,0,"div",12),i["\u0275\u0275elementStart"](41,"p"),i["\u0275\u0275text"](42,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,8,"ROOT.LiveTracking Your Activities and Efforts")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](10,PT)),i["\u0275\u0275advance"](23),i["\u0275\u0275property"]("ngIf",!t.showStartingLiveTrack),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showStartingLiveTrack),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showStartingLiveTrack),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showLiveTrackPermissions),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showLiveTrackPermissions),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showLiveTrackPermissions))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}(),DT=function(){function e(){}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-friends-overview"]],decls:26,vars:3,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[2,"text-align","center"],["controls","","src","https://storage.googleapis.com/media_manager/videos/Friends%20Overview.mp4#t=0.001",1,"support-audio"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275elementStart"](8,"div",5),i["\u0275\u0275element"](9,"video",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"p"),i["\u0275\u0275text"](13," We\u2019ve expanded the friends & team capabilities to now support following and followers of the athlete in all of us! Support each other as we workout together, yet apart. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275text"](15," Now in addition to teams as a way to stay connected, we\u2019ve released a Follower / Following friends feature. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275text"](17," Anyone with an account can go to Menu > Friends, and set a personal custom Member URL. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19," This allows people to find you if they know the URL and follow them, and allow you to follow others as well. If you are linked to Facebook you should also see all your friends on Facebook who have also linked Facebook to their account, and can follow them that way. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"p"),i["\u0275\u0275text"](21," If you have team members or followers, anytime you LiveTrack they should get a push message (assuming they gave permissions), and tapping that can then see the LiveTrack session. You can also open the app, tap the LiveTrack icon on the main screen, and tap View LiveTracking, to view any of your friends currently tracking. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"p"),i["\u0275\u0275text"](23," Give them the ultimate gift \u2013 LiveCheers to encourage them on and keep up health habits, getting fit and staying healthy and connected! "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"p"),i["\u0275\u0275text"](25,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,1,"ROOT.Friends \u2013 Following & Followers")))},directives:[S.f],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function LT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",18),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275element"](2,"img",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"h4",20),i["\u0275\u0275text"](4,"General Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div"),i["\u0275\u0275element"](6,"img",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"h4",22),i["\u0275\u0275text"](8,"Activity Options"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](9," Tap the gear icon on the activity view for per Activity Options. "),i["\u0275\u0275elementEnd"]())}function RT(e,t){1&e&&i["\u0275\u0275element"](0,"img",23)}function jT(e,t){1&e&&i["\u0275\u0275element"](0,"img",24)}function AT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2,"Manage Favorites"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Choose from over 50 different workout types, or customize that even farther with Other workout types (see below). Launch your most frequently used workouts faster."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"img",25),i["\u0275\u0275elementStart"](6,"ul",26),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,"Menu > Settings > Manage Favorites"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10,'OR: On the Home screen swipe left <-> right until "Try Something New"'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12,"Select Choose activity/tap the activity icon"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14,"Select / de-select your activity types. Tap Done in the upper right."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"p"),i["\u0275\u0275text"](16,"If you want to remove the workout type from the home screen, tap Menu > Settings > Manage Favorites > <Wrestling>, so the check mark no longer shows next to it."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"p"),i["\u0275\u0275text"](18,"Activities will appear in alphabetical order on the home screen. swipe to choose the activity you want, or long tap the activity icon on the home screen for an activity selector popup."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"h4"),i["\u0275\u0275text"](20," Schedule "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](21," Schedule activities and manage scheduled items. "),i["\u0275\u0275elementStart"](22,"h4"),i["\u0275\u0275text"](23," Sensors "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](24," Pair, customize and manage Heart Rate monitors, cadence sensors, power meters, speed sensors and more here. "),i["\u0275\u0275elementStart"](25,"h4"),i["\u0275\u0275text"](26," Activity Options "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](27," See Activity Options below. All kinds of customization is available on a per activity basis - audio & voice feedback, routes, routines and more. "),i["\u0275\u0275elementStart"](28,"h4"),i["\u0275\u0275text"](29," Zones "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"ul",26),i["\u0275\u0275elementStart"](31,"li"),i["\u0275\u0275elementStart"](32,"a",27),i["\u0275\u0275text"](33,"Heart Zones\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"li"),i["\u0275\u0275elementStart"](35,"a",28),i["\u0275\u0275text"](36,"Pace & Speed Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"li"),i["\u0275\u0275elementStart"](38,"a",29),i["\u0275\u0275text"](39,"Power Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"li"),i["\u0275\u0275elementStart"](41,"a",30),i["\u0275\u0275text"](42,"Zone transitions and alerts "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"h4"),i["\u0275\u0275text"](44," Unit of Measure "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](45," Specify US or Metric here "),i["\u0275\u0275elementStart"](46,"h4"),i["\u0275\u0275text"](47,"New InstaStart!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](48," Turn on the new InstaStart option in Settings and it will instantly start your workout, picking up sensors as you activate them, rather than waiting until all sensors are acquired before starting. Get going in a hurry! "),i["\u0275\u0275elementStart"](49,"h4"),i["\u0275\u0275text"](50,"Auto End Workouts"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](51," When enabled, the app will automatically end an abandoned workout session. "),i["\u0275\u0275element"](52,"br"),i["\u0275\u0275text"](53," Example: Finish workout at beach, get in car to drive home. The drive home will be dropped from the workout. "),i["\u0275\u0275elementStart"](54,"h4"),i["\u0275\u0275text"](55," Indoor Workout Controls "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](56," When enabled, the start / stop / pause and interval buttons are configured more like they would be for indoor workouts, without the standard slide or double tap protection against accidental workout ending that normally is part of the app for outdoor workouts. "),i["\u0275\u0275elementStart"](57,"h4"),i["\u0275\u0275text"](58," App Theme - App Mode "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](59," Set either dark theme / dark mode or light mode here. You can also change this while in-workout through the gear icon in the lower right, so if light changes even during a workout you can set it for best visibility. "),i["\u0275\u0275elementStart"](60,"h4"),i["\u0275\u0275text"](61," Notifications: Local "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](62," This allows local notifications from the app, like schedule reminders and weekly reviews, etc. "),i["\u0275\u0275elementStart"](63,"h4"),i["\u0275\u0275text"](64," Other Notifications & Permissions "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](65," This will take you to where you can specify your preferences. See the Permission Settings at the bottom of the "),i["\u0275\u0275elementStart"](66,"a",31),i["\u0275\u0275text"](67,"Profile"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](68,". "),i["\u0275\u0275elementEnd"]())}function FT(e,t){1&e&&i["\u0275\u0275element"](0,"img",23)}function BT(e,t){1&e&&i["\u0275\u0275element"](0,"img",24)}function zT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2," To schedule a basic workout, tap Activity Options (gear icon) under the activity type you want to schedule, and tap Schedule. If you would like to schedule a route or routine you typically do, you can do it within the sub-menu of the activity type, or tap the menu icon in the routine details, and tap Schedule there. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Add a repeat if desired, and the app will make it a recurring schedule."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"img",32),i["\u0275\u0275elementEnd"]())}function NT(e,t){1&e&&i["\u0275\u0275element"](0,"img",23)}function HT(e,t){1&e&&i["\u0275\u0275element"](0,"img",24)}function VT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"This sets the time for any automatic pausing of the activity. You can turn it off during a workout in the "),i["\u0275\u0275elementStart"](3,"a",33),i["\u0275\u0275text"](4,"in-workout options"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](5,". "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"ul",26),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,"Very High (~6 sec to pause, ~3 sec to resume)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10,"High (~8 sec to pause, ~5 sec to resume)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12,"Medium (~11 sec to pause, ~8 sec to resume)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14,"Low (~18 sec to pause, ~12 sec to resume)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16,"Very Low (+1-2 min to pause, ~45 sec to resume)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function YT(e,t){1&e&&i["\u0275\u0275element"](0,"img",23)}function WT(e,t){1&e&&i["\u0275\u0275element"](0,"img",24)}function GT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2," Let the app start with a countdown in seconds, or turn the countdown off here "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function UT(e,t){1&e&&i["\u0275\u0275element"](0,"img",23)}function qT(e,t){1&e&&i["\u0275\u0275element"](0,"img",24)}function ZT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Splits and Laps show in results, so you can compare, contrast and analyze any activity in more detail."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"img",34),i["\u0275\u0275elementStart"](4,"h4"),i["\u0275\u0275text"](5,"Mark an Interval or Lap Anytime"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"ul",26),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,"In workout, tap the Options gear, lower right"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10,"Tap Interval"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](11,"div",16),i["\u0275\u0275element"](12,"img",35),i["\u0275\u0275elementStart"](13,"h4"),i["\u0275\u0275text"](14,"Auto Interval Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"ul",26),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,"Tap Activity Options (gear) > Intervals"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19,"Auto Interval Type: Select Distance or Time"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21,"Tap either Time or Distance to set the trigger"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](22,"br"),i["\u0275\u0275elementStart"](23,"h4"),i["\u0275\u0275text"](24,"Add a Dedicated Interval Screen"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"ul",26),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275text"](27,"Tap Activity Options (gear) > Intervals"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275text"](29,"Turn on Interval Screen for a dedicated interval dashboard"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"li"),i["\u0275\u0275text"](31,"When in the workout, swipe to view"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"h4"),i["\u0275\u0275text"](33,"Add Interval Buttons or Interval Metrics to Dashboards"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"ul",26),i["\u0275\u0275elementStart"](35,"li"),i["\u0275\u0275text"](36,"Customize your dashboards to show previous, current or next interval data. Add an interval button to your view. See how the next interval coming up looks like too for Routes & Routines. The power is endless with "),i["\u0275\u0275elementStart"](37,"a",36),i["\u0275\u0275text"](38,"custom dashboards"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](39,". "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"li"),i["\u0275\u0275elementStart"](41,"a",36),i["\u0275\u0275text"](42,"Activity Options > Dashboards"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"h4"),i["\u0275\u0275text"](44,"Interval Alerts"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"ul",26),i["\u0275\u0275elementStart"](46,"li"),i["\u0275\u0275text"](47,"Voice - See "),i["\u0275\u0275elementStart"](48,"a",37),i["\u0275\u0275text"](49,"Managing Voice & Coaching"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"li"),i["\u0275\u0275text"](51,"Vibrate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"li"),i["\u0275\u0275text"](53,"Chime"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](54,"li"),i["\u0275\u0275text"](55,"Popup Alert"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"li"),i["\u0275\u0275text"](57,"Local Notifications:"),i["\u0275\u0275element"](58,"br"),i["\u0275\u0275text"](59," (iOS) Local notifications will notify you of laps even when you have the app running in the background as long as you have notifications enabled in the device settings. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function $T(e,t){1&e&&i["\u0275\u0275element"](0,"img",23)}function XT(e,t){1&e&&i["\u0275\u0275element"](0,"img",24)}function KT(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"ul",26),i["\u0275\u0275elementStart"](2,"li"),i["\u0275\u0275elementStart"](3,"a",27),i["\u0275\u0275text"](4,"Heart Zones\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"li"),i["\u0275\u0275elementStart"](6,"a",28),i["\u0275\u0275text"](7,"Pace & Speed Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275elementStart"](9,"a",29),i["\u0275\u0275text"](10,"Power Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275elementStart"](12,"a",30),i["\u0275\u0275text"](13,"Zone transitions and alerts "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var JT=function(){function e(e){this.route=e,this.showIntervals=!1,this.showAutoPause=!1,this.showZones=!1,this.showSchedule=!1,this.showCountdown=!1,this.showOverview=!0,this.showSettings=!1,this.categoryTypeInput=this.route.snapshot.paramMap.get("categoryType")}return e.prototype.ngOnInit=function(){"intervals"==this.categoryTypeInput?(this.showIntervals=!0,this.showAutoPause=!1,this.showZones=!1,this.showOverview=!1,this.showSettings=!1):this.showIntervals=!1},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](S.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-customizing-activities"]],decls:67,vars:22,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],["style","text-align: center;align-content: center; width:100%;",4,"ngIf"],[2,"margin-bottom","0px","clear","both","padding-top","30px"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["style","clear:both;",4,"ngIf"],["routerLink","/routes",1,"header-view",2,"clear","both"],["routerLink","/fitness-sensors",1,"header-view",2,"clear","both"],["routerLink","/overview/audio-coaching",1,"header-view",2,"clear","both"],["routerLink","/dashboards/overview",1,"header-view",2,"clear","both"],[2,"clear","both"],["routerLink","/overview/managing-activities",1,"header-view",2,"clear","both"],[2,"text-align","center","align-content","center","width","100%"],["loading","lazy","src","/static/img/general-settings.png","alt","General Settings",2,"width","100%","max-width","550px"],[2,"margin-top","0px"],["loading","lazy","src","/static/img/activity-options.png","alt","Actvity Options",2,"width","100%","max-width","550px"],[2,"margin-top","0px","margin-bottom","0px"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],["loading","lazy","width","169","src","/static/img/favorite-list.png","alt","Managing activities on the home screen",2,"float","right"],[1,"list-spacing"],["routerLink","/zones/overview"],["routerLink","/zones/overview/speed"],["routerLink","/zones/overview/power","title","Power Support & Power Zones"],["routerLink","/zones/overview/notifications"],["routerLink","/profile/overview"],["src","/static/img/schedule-ios.png",1,"support-image-large",2,"max-height","400px"],["routerLink","/overview/managing-activities"],["src","/static/img/in-workout-options.png",2,"float","right","width","170px"],["src","/static/img/interval-options-ios.png",2,"float","right","width","170px"],["routerLink","/dashboards/overview"],["routerLink","/overview/audio-coaching"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275template"](8,LT,10,0,"div",5),i["\u0275\u0275elementStart"](9,"h4",6),i["\u0275\u0275text"](10,"General Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showSettings=!t.showSettings}),i["\u0275\u0275template"](12,RT,1,0,"img",8),i["\u0275\u0275template"](13,jT,1,0,"img",9),i["\u0275\u0275elementStart"](14,"div",10),i["\u0275\u0275text"](15," Settings "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](16,AT,69,0,"div",11),i["\u0275\u0275elementStart"](17,"h4",6),i["\u0275\u0275text"](18,"Activity Options"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div",12),i["\u0275\u0275elementStart"](20,"div",10),i["\u0275\u0275text"](21," Routes & Routines (& Assessments) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showSchedule=!t.showSchedule}),i["\u0275\u0275template"](23,FT,1,0,"img",8),i["\u0275\u0275template"](24,BT,1,0,"img",9),i["\u0275\u0275elementStart"](25,"div",10),i["\u0275\u0275text"](26," Schedule "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](27,zT,6,0,"div",11),i["\u0275\u0275elementStart"](28,"div",13),i["\u0275\u0275elementStart"](29,"div",10),i["\u0275\u0275text"](30," Manage Sensors "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"div",14),i["\u0275\u0275elementStart"](32,"div",10),i["\u0275\u0275text"](33," Audio & Voice "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showAutoPause=!t.showAutoPause}),i["\u0275\u0275template"](35,NT,1,0,"img",8),i["\u0275\u0275template"](36,HT,1,0,"img",9),i["\u0275\u0275elementStart"](37,"div",10),i["\u0275\u0275text"](38," Auto Pause "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](39,VT,17,0,"div",11),i["\u0275\u0275elementStart"](40,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showCountdown=!t.showCountdown}),i["\u0275\u0275template"](41,YT,1,0,"img",8),i["\u0275\u0275template"](42,WT,1,0,"img",9),i["\u0275\u0275elementStart"](43,"div",10),i["\u0275\u0275text"](44," Countdown "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](45,GT,3,0,"div",11),i["\u0275\u0275elementStart"](46,"div",15),i["\u0275\u0275elementStart"](47,"div",10),i["\u0275\u0275text"](48," Dashboards "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showIntervals=!t.showIntervals}),i["\u0275\u0275template"](50,UT,1,0,"img",8),i["\u0275\u0275template"](51,qT,1,0,"img",9),i["\u0275\u0275elementStart"](52,"div",10),i["\u0275\u0275text"](53," Intervals "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](54,ZT,60,0,"div",11),i["\u0275\u0275element"](55,"div",16),i["\u0275\u0275elementStart"](56,"div",17),i["\u0275\u0275elementStart"](57,"div",10),i["\u0275\u0275text"](58," Manual Entry "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](59,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showZones=!t.showZones}),i["\u0275\u0275template"](60,$T,1,0,"img",8),i["\u0275\u0275template"](61,XT,1,0,"img",9),i["\u0275\u0275elementStart"](62,"div",10),i["\u0275\u0275text"](63," Zones "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](64,KT,14,0,"div",11),i["\u0275\u0275elementStart"](65,"p"),i["\u0275\u0275text"](66,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,20,"ROOT.Settings & Customizing Activity Feedback")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!t.showSettings),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showSettings),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showSettings),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("ngIf",!t.showSchedule),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showSchedule),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showSchedule),i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngIf",!t.showAutoPause),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showAutoPause),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showAutoPause),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showCountdown),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showCountdown),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showCountdown),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!t.showIntervals),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showIntervals),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showIntervals),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",!t.showZones),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showZones),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showZones))},directives:[S.f,y.NgIf,S.e],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function QT(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function eD(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function tD(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275element"](1,"img",15),i["\u0275\u0275elementStart"](2,"p"),i["\u0275\u0275text"](3,"Want to add your treadmill distance to your workout results? Did you exercise longer than you tracked with Fitdigits, or forget to end a workout after you were done? Is your GPS distance a little off? Now you can manually override your distance, duration and calories from any Fitdigits workout so your results always reflect the most accurate data. Here\u2019s how!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"h4"),i["\u0275\u0275text"](5,"In the Apps"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7,"After you have recorded your totally radical activity (we\u2019re sure it was great!), and you are viewing the results for that activity, swipe to the notes page. Tap the Edit button in the top right to edit / add notes. At the bottom of the screen, tap the MORE button to reveal where you can add your distance, modify calories, or even edit times."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](8,"div",16),i["\u0275\u0275element"](9,"img",17),i["\u0275\u0275elementStart"](10,"h4"),i["\u0275\u0275text"](11,"On the Web"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"ol"),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14,"Log into my.fitdigits.com"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16,"Click on Activities"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18,"Select the workout to edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275text"](20,"Select Menu > Edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22,"Once you have finished making your edit to your workout metrics, the data will automatically be saved and recorded into your profile. Doing this will update all the stats that have been recorded in your profile. This includes stats such as, Distance to date, Calories to date, etc\u2026"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"p"),i["\u0275\u0275text"](24,"To bring the data down to the client, tap Menu > Sync on the app."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function nD(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function iD(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function rD(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"ul",18),i["\u0275\u0275elementStart"](2,"li"),i["\u0275\u0275text"](3,"On the web or in app, go to the activitiy detail view, tap Menu > Delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"li"),i["\u0275\u0275text"](5,"iOS: In results listing, swipe right to left on the activity, select Delete."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Android: In results listing, long tap on the activity, select Delete."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function aD(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function oD(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function sD(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275element"](1,"img",19),i["\u0275\u0275elementStart"](2,"h4"),i["\u0275\u0275text"](3,"On the app"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"ol",18),i["\u0275\u0275elementStart"](5,"li"),i["\u0275\u0275text"](6,"Home screen > "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,"Select the type of workout to enter"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10,"Tap the gear symbol under the activity icon"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12,"Tap Manual Entry"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14,"Put in your activity information"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16,"Tap Save in the top right"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](17,"div",16),i["\u0275\u0275element"](18,"img",20),i["\u0275\u0275elementStart"](19,"h4"),i["\u0275\u0275text"](20,"On the web"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"ol",18),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275text"](23,"Menu > Activities > Manual Entry"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275text"](25,"Enter in all relevant information and then click save (all required data must be entered)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function lD(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function cD(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function dD(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2,"On the Web"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"img",21),i["\u0275\u0275element"](4,"img",22),i["\u0275\u0275element"](5,"div",16),i["\u0275\u0275elementStart"](6,"ol",18),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,"Go to "),i["\u0275\u0275elementStart"](9,"a",23),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12,"Click Menu > Activities then click on the workout you wish to edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14,"Click on the workout edit pencil icon in the upper left of the screen by the activity type/title"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16,"In Edit mode, choose a new workout type from the drop-down menu"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](17,"div",16),i["\u0275\u0275elementStart"](18,"h4"),i["\u0275\u0275text"](19,"Android"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](20,"img",24),i["\u0275\u0275elementStart"](21,"ol",18),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275text"](23,"Results > Select Activity"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275text"](25,"Menu > Edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275text"](27,"Select Workout Type"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275text"](29,"Swipe to change the activity type"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](9),i["\u0275\u0275propertyInterpolate1"]("href","https://",n.ThemeService.baseWebUrl,"",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.ThemeService.baseWebUrl)}}function uD(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function pD(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function hD(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Access the In-Workout options by tapping the gear icon in the lower right while the workout is running."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"img",25),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275elementStart"](5,"strong"),i["\u0275\u0275text"](6,"Audio & Voice:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7," Adjust the volume or even turn on/off the voice feedback from the app. See more on "),i["\u0275\u0275elementStart"](8,"a",26),i["\u0275\u0275text"](9,"Working with Audio"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](10,"."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275elementStart"](12,"strong"),i["\u0275\u0275text"](13,"Auto Swipe Screens:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14," This will auto-rotate the screens in the results \u2013 from metrics to maps to heart chart and back."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"p"),i["\u0275\u0275elementStart"](16,"strong"),i["\u0275\u0275text"](17,"Auto Pause:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18," This will turn on or off Auto Pause using the settings in App Preferences that are set for Auto Pause. You set the Auto Pause sensitivity under each Activity Option you want it active. Default settings are On > High. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"ul",18),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21,"Very High (~6 sec to pause, ~3 sec to resume)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275text"](23,"High (~8 sec to pause, ~5 sec to resume)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275text"](25,"Medium (~11 sec to pause, ~8 sec to resume)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275text"](27,"Low (~18 sec to pause, ~12 sec to resume)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275text"](29,"Very Low (+1-2 min to pause, ~45 sec to resume)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](30,"br"),i["\u0275\u0275elementStart"](31,"p"),i["\u0275\u0275elementStart"](32,"strong"),i["\u0275\u0275text"](33,"Dark Mode:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](34," This will turn the background of the results metrics to either white or black (on or off)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"p"),i["\u0275\u0275elementStart"](36,"strong"),i["\u0275\u0275text"](37,"Lock Orientation:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](38," This will keep the workout results in the current\xa0orientation, locking in either portrait or landscape."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"p"),i["\u0275\u0275elementStart"](40,"strong"),i["\u0275\u0275text"](41,"Share LiveTracking"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](42,": If you are currently "),i["\u0275\u0275elementStart"](43,"a",27),i["\u0275\u0275text"](44,"LiveTracking"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](45,", you can get a link you can forward to others to track your progress. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"p"),i["\u0275\u0275elementStart"](47,"strong"),i["\u0275\u0275text"](48,"Camera:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](49," (iOS) Take a picture and have it associated with the current workout."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"p"),i["\u0275\u0275elementStart"](51,"strong"),i["\u0275\u0275text"](52,"Interval:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](53," This will mark a Lap. See also "),i["\u0275\u0275elementStart"](54,"a",28),i["\u0275\u0275text"](55,"Working with\xa0Laps and Splits"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](56,"."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var mD=function(){function e(e){this.ThemeService=e,this.showEdit=!1,this.showManualEntry=!1,this.showDelete=!1,this.showChangeType=!1,this.showInWorkout=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-managing-activities"]],decls:42,vars:18,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[2,"clear","both","float","left","width","100%"],[2,"clear","both","float","left","width","100%","height","20px"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","support-content","style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content",2,"clear","both"],["loading","lazy","width","300","src","/static/img/edit-workout-details.png","alt","Edit your workouts",2,"float","right"],[2,"clear","both"],["loading","lazy","width","233","src","/static/img/workout-menu.png","alt","Edit your workouts",2,"float","right"],[1,"list-spacing"],["src","/static/img/manual-entry-ios.png",2,"float","right","width","170px"],["src","/static/img/manual-entry-web.png",2,"float","right","width","300px"],["src","/static/img/activity-type-selector.png",2,"float","right","width","400px"],["src","/static/img/edit-workout-web.png",2,"float","left","width","170px"],[3,"href"],["src","/static/img/android-set-workout-type.png",2,"float","right","width","150px"],["src","/static/img/in-workout-options-ios.png",2,"float","right","width","170px"],["routerLink","/overview/audio-coaching"],["routerLink","/livetracking/overview","title","LiveTrack Your Activities and Effort in Real Time"],["routerLink","/overview/customizing-activities/intervals"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275element"](8,"div",5),i["\u0275\u0275element"](9,"div",6),i["\u0275\u0275elementStart"](10,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showEdit=!t.showEdit}),i["\u0275\u0275template"](11,QT,1,0,"img",8),i["\u0275\u0275template"](12,eD,1,0,"img",9),i["\u0275\u0275elementStart"](13,"div",10),i["\u0275\u0275text"](14," Edit Your Distance, Duration and Calories "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](15,tD,25,0,"div",11),i["\u0275\u0275elementStart"](16,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showDelete=!t.showDelete}),i["\u0275\u0275template"](17,nD,1,0,"img",8),i["\u0275\u0275template"](18,iD,1,0,"img",9),i["\u0275\u0275elementStart"](19,"div",10),i["\u0275\u0275text"](20," Delete an Activity "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](21,rD,8,0,"div",11),i["\u0275\u0275elementStart"](22,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showManualEntry=!t.showManualEntry}),i["\u0275\u0275template"](23,aD,1,0,"img",8),i["\u0275\u0275template"](24,oD,1,0,"img",9),i["\u0275\u0275elementStart"](25,"div",10),i["\u0275\u0275text"](26," Entering an Activity Manually "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](27,sD,26,0,"div",11),i["\u0275\u0275elementStart"](28,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showChangeType=!t.showChangeType}),i["\u0275\u0275template"](29,lD,1,0,"img",8),i["\u0275\u0275template"](30,cD,1,0,"img",9),i["\u0275\u0275elementStart"](31,"div",10),i["\u0275\u0275text"](32," Change an Activity Type "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](33,dD,30,2,"div",11),i["\u0275\u0275elementStart"](34,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showInWorkout=!t.showInWorkout}),i["\u0275\u0275template"](35,uD,1,0,"img",8),i["\u0275\u0275template"](36,pD,1,0,"img",9),i["\u0275\u0275elementStart"](37,"div",10),i["\u0275\u0275text"](38," In Workout Options "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](39,hD,57,0,"div",11),i["\u0275\u0275elementStart"](40,"p"),i["\u0275\u0275text"](41,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,16,"ROOT.Managing Activities")),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",!t.showEdit),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showEdit),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showEdit),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showDelete),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showDelete),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showDelete),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showManualEntry),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showManualEntry),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showManualEntry),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showChangeType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showChangeType),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showChangeType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showInWorkout),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showInWorkout),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showInWorkout))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function gD(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function fD(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function vD(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"img",15),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275elementStart"](5,"strong"),i["\u0275\u0275text"](6,"Double Tap"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7,": Double tap = zoom in, even if the lock is locked. 3 levels. Double tap again to zoom back out. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275elementStart"](9,"strong"),i["\u0275\u0275text"](10,"Unlock the Map"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](11,": Tap the lock in the upper left to unlock the view. After unlocking you can pinch in or punch out using your fingers to get zoomed in or out, or touch and drag for other views. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"p"),i["\u0275\u0275elementStart"](13,"strong"),i["\u0275\u0275text"](14,"Map Mode"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](15,": Tap the Satellite option in the top right if you prefer a more realistic view of your area. Tap Map to go back to the generic map view. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275elementStart"](17,"strong"),i["\u0275\u0275text"](18,"Show Laps / Distance / Heart Rate on Map / Chart"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](19,": Tap Lap in the bottom right to see markers where the app set "),i["\u0275\u0275elementStart"](20,"a",16),i["\u0275\u0275text"](21,"auto-laps"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](22," based on your settings or where you marked a lap yourself. Tap Distance to see markers at 1 mile or 5 miles depending on the activity type (bike or run/walk orientation). "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function yD(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function bD(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function xD(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"img",17),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5,"The same basic principles of Maps also work with the graphs."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7,"What graphs you see will depend on the sensors you have active and tracking, and can include heart rate, steps per minute, cadence, power/watts, speed/pace and elevation."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9,"Double tapping will zoom in. There are 3 zoom levels before a double tap will cycle to the first again. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11,"On iOS, we\u2019ve added trend lines and current readings to our graphs. The trend line shows your average over a particular ongoing lap. A great way to easily judge your averages over each lap, and keep yourself on target. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"p"),i["\u0275\u0275text"](13,"A personal favorite feature, for sure. Your mile averages going down or up? You can see it easily with the yellow average lines, and keep yourself going the way you want to go."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function _D(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function wD(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function SD(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Post workout maps and graphs work very similarly to the in workout versions in terms of double tapping to zoom in or out, pinch or punch with your fingers to custom zoom, and even the lock icon on the maps screen."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275text"](6,"To get back to a base view, just keep double tapping on the center of the view, it will eventually take you back to the main default zoom level view."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"img",18),i["\u0275\u0275elementEnd"]())}function CD(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function kD(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}var OD=function(){return["/dashboards/overview"]};function ED(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",14),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"We did our best to pick the best metrics to show above the in-workout maps and graphs, but not all people have the same ideas, and neither do we. It can also change. If you want to change the metrics that show on your version, see this post on "),i["\u0275\u0275elementStart"](5,"span",19),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().router.navigate(["/dashboards/overview"])}),i["\u0275\u0275text"](6," Customizing Dashboards."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"a",20),i["\u0275\u0275text"](8," Customizing Dashboards"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](1,OD)))}var MD=function(){function e(e,t,n){this.ThemeService=e,this.router=t,this.AccountService=n,this.showMaps=!0,this.showGraphs=!0,this.showPostGraphs=!0,this.showModifyGraphs=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-maps-and-graphs"]],decls:38,vars:15,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[2,"clear","both","float","left","width","100%"],[2,"clear","both","float","left","width","100%","height","20px"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","support-content","style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content",2,"clear","both"],["loading","lazy","width","300","src","/static/img/maps-work.gif","alt","Double tap to zoom maps and charts",2,"float","right"],["routerLink","/overview/customizing-activities/intervals"],["loading","lazy","src","/static/img/andy-ios-icardio-trendlines.jpg","alt","iCardio Graphs","height","300",2,"float","right"],["loading","lazy","src","/static/img/chart-view-options.jpg","alt","Chart View Options","height","1024",2,"float","none"],[3,"click"],[2,"margin","10px 0px","padding","5px","border","1px solid","border-radius","5px",3,"routerLink"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275elementStart"](8,"div",5),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10," Fitdigits apps have many fun, interesting and helpful graphs and maps as you swipe or tap through the program, both in-workout and post workout. It only takes a minute to learn a few tips and tricks and get the most of these features. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](11,"div",6),i["\u0275\u0275elementStart"](12,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showMaps=!t.showMaps}),i["\u0275\u0275template"](13,gD,1,0,"img",8),i["\u0275\u0275template"](14,fD,1,0,"img",9),i["\u0275\u0275elementStart"](15,"div",10),i["\u0275\u0275text"](16," Workout Maps "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](17,vD,23,0,"div",11),i["\u0275\u0275elementStart"](18,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showGraphs=!t.showGraphs}),i["\u0275\u0275template"](19,yD,1,0,"img",8),i["\u0275\u0275template"](20,bD,1,0,"img",9),i["\u0275\u0275elementStart"](21,"div",10),i["\u0275\u0275text"](22," Workout Graphs "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](23,xD,14,0,"div",11),i["\u0275\u0275elementStart"](24,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showPostGraphs=!t.showPostGraphs}),i["\u0275\u0275template"](25,_D,1,0,"img",8),i["\u0275\u0275template"](26,wD,1,0,"img",9),i["\u0275\u0275elementStart"](27,"div",10),i["\u0275\u0275text"](28," Post Workout Maps & Graphs "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](29,SD,8,0,"div",11),i["\u0275\u0275elementStart"](30,"div",7),i["\u0275\u0275listener"]("click",function(){return t.showModifyGraphs=!t.showModifyGraphs}),i["\u0275\u0275template"](31,CD,1,0,"img",8),i["\u0275\u0275template"](32,kD,1,0,"img",9),i["\u0275\u0275elementStart"](33,"div",10),i["\u0275\u0275text"](34," Modifying the Metrics that Show Above In-Workout Maps & Graphs "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](35,ED,9,2,"div",11),i["\u0275\u0275elementStart"](36,"p"),i["\u0275\u0275text"](37,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,13,"ROOT.Working with Maps & Graphs")),i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngIf",!t.showMaps),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showMaps),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showMaps),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showGraphs),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showGraphs),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showGraphs),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showPostGraphs),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showPostGraphs),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showPostGraphs),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showModifyGraphs),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showModifyGraphs),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showModifyGraphs))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[""]}),e}();function ID(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function PD(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function TD(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",13),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Choose from over 50 different workout types, or customize that even farther with Other workout types (see below). Launch your most frequently used workouts faster."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"img",14),i["\u0275\u0275elementStart"](4,"ul",15),i["\u0275\u0275elementStart"](5,"li"),i["\u0275\u0275text"](6,"Menu > Settings > Manage Favorites"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,'OR: On the Home screen swipe left <-> right until "Try Something New"'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10,"Select Choose activity/tap the activity icon"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12,"Select / de-select your activity types. Tap Done in the upper right."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14,"If you want to remove the workout type from the home screen, tap Menu > Settings > Manage Favorites > <Wrestling>, so the check mark no longer shows next to it."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"p"),i["\u0275\u0275text"](16,"Activities will appear in alphabetical order on the home screen. swipe to choose the activity you want, or long tap the activity icon on the home screen for an activity selector popup."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"p"),i["\u0275\u0275text"](18,"Tap the play button to start a workout."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function DD(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function LD(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function RD(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",13),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"There are 5 simple commands that Siri will recognize:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"ol",15),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275text"](17),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19,"If Siri requests you to unlock your phone, you may be able to get around it through settings:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"p"),i["\u0275\u0275elementStart"](21,"a",16),i["\u0275\u0275text"](22,"Using Siri Hands Free"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("\u201cHey Siri, (Start/launch) an (indoor/outdoor) (workoutName) workout (with/on) ",n.ThemeService.baseAppName,"\u201d"),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("Start workout \u2013 \u201cStart an outdoor run workout with ",n.ThemeService.baseAppName,"\u201d "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("Cancel Workout \u2013 \u201cCancel ",n.ThemeService.baseAppName," workout\u201d "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("Pause Workout \u2013 \u201cPause my ",n.ThemeService.baseAppName," workout\u201d "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("Resume Workout \u2013 \u201cResume ",n.ThemeService.baseAppName," workout\u201d "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("End My Workout \u2013 \u201cEnd ",n.ThemeService.baseAppName," workout\u201d "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("All command can be said as above as well as the start command can be build out, however you want to say it. You can attempt to say \u201c(Start/launch) an (indoor/outdoor) (workoutName) workout (with/on) ",n.ThemeService.baseAppName,"\u201d and if Siri recognized the location and workout it will start right up with those variables. If Siri has trouble understanding or deciphering you will be prompted to choose the workout type and location just as if you said \u201cStart Workout.\u201d")}}function jD(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function AD(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function FD(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",13),i["\u0275\u0275element"](1,"img",17),i["\u0275\u0275elementStart"](2,"p"),i["\u0275\u0275text"](3,"If your favorite workout type is missing from our list, use the "),i["\u0275\u0275elementStart"](4,"span",18),i["\u0275\u0275text"](5,"Other"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](6," workout type to customize."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"ol",15),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Swipe the activity carousel to Try Something New and select it, or long tap the activity icon on the home screen, and select Manage Activities at the bottom of the list. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Select the Other workout type in the activity options list."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"Type in the name of the workout type. Select Save."),i["\u0275\u0275element"](14,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16,"The new workout type will be added to the Manage Activity Types list, and will automatically have a check next to it. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18,"Select Done"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var BD=function(){function e(e){this.ThemeService=e,this.showOverview=!0,this.showSiri=!0,this.showCustomActivities=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-activity-launch-pad"]],decls:32,vars:13,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","support-content","style","clear:both;",4,"ngIf"],[2,"clear","both"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content",2,"clear","both"],["loading","lazy","width","169","src","/static/img/favorite-list.png","alt","Managing activities on the home screen",2,"float","right"],[1,"list-spacing"],["href","https://www.macobserver.com/tips/quick-tip/siri-hands-free/"],["loading","lazy","width","169","src","/static/img/favorite-list-other.png","alt","Creating custom workout types",2,"float","right"],[2,"font-size","1.2em","font-weight","bold"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275element"](8,"p"),i["\u0275\u0275elementStart"](9,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showOverview=!t.showOverview}),i["\u0275\u0275template"](10,ID,1,0,"img",6),i["\u0275\u0275template"](11,PD,1,0,"img",7),i["\u0275\u0275elementStart"](12,"div",8),i["\u0275\u0275text"](13," Set Home Screen Favorites "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,TD,19,0,"div",9),i["\u0275\u0275element"](15,"div",10),i["\u0275\u0275elementStart"](16,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showSiri=!t.showSiri}),i["\u0275\u0275template"](17,DD,1,0,"img",6),i["\u0275\u0275template"](18,LD,1,0,"img",7),i["\u0275\u0275elementStart"](19,"div",8),i["\u0275\u0275text"](20),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](21,RD,23,7,"div",9),i["\u0275\u0275elementStart"](22,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showCustomActivities=!t.showCustomActivities}),i["\u0275\u0275template"](23,jD,1,0,"img",6),i["\u0275\u0275template"](24,AD,1,0,"img",7),i["\u0275\u0275elementStart"](25,"div",8),i["\u0275\u0275text"](26," Create Custom Activities "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](27,FD,19,0,"div",9),i["\u0275\u0275elementStart"](28,"p"),i["\u0275\u0275text"](29,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"p"),i["\u0275\u0275text"](31,"\xa0"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,11,"ROOT.Customize Your Activities")),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!t.showOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!t.showSiri),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showSiri),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" Using Siri with iOS and ",t.ThemeService.baseAppName," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showSiri),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showCustomActivities),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showCustomActivities),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showCustomActivities))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function zD(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function ND(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function HD(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275element"](1,"img",13),i["\u0275\u0275elementStart"](2,"p"),i["\u0275\u0275text"](3,"How does Fitdigits count calories? This question pops up more often then a Whack-a-Mole from those who care about the balance of calories and is touched on many times by others who are just curious. For example, many question why the calories on a manually entered workout are so different from that on shown on a Treadmill or during a workout where heart rate is used."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"h4"),i["\u0275\u0275text"](5,"Background / Overview"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"ol",14),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,"Everyone is different. Yep \u2013 even though we share 99% of the same DNA and makeup, that 1% is a doozy of a difference. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10,"Everyone changes constantly \u2013 the more we seem to stay the same, the more we change. A wise man once said \u201cNo man stands in the same river twice\u201d. As your fitness level and health changes, so does the number of\xa0calories\xa0you\xa0burn\xa0on a constant basis. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12,"Women and men\xa0burn\xa0energy (calories) differently. Sorry girls \u2013 you just don\u2019t\xa0burn\xa0calories\xa0as quickly, all other things equal. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14,"Younger people tend to\xa0burn\xa0energy (calories) more quickly."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16,"When tracking caloric intake (with a great app like MyFitnessPal) and true calories burned (with a great app like Fitdigits) you\u2019ll get the most accurate, scientific approach to weight management. The most successful people use this method \u2013 check out some of the "),i["\u0275\u0275elementStart"](17,"a",15),i["\u0275\u0275text"](18,"success stories"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](19,"br"),i["\u0275\u0275elementStart"](20,"h4"),i["\u0275\u0275text"](21,"Things That Affect Calorie Burn"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"ol",14),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24,"Your weight \u2013 bigger people\xa0burn\xa0more\xa0calories, all other things equal. It takes more effort to walk an 18 minute mile for a 200lb person than it does for a 150lb person. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275text"](26,"Your Gender (see #3 above)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275text"](28,"Your Age (if you are not using heart rate and have not taken a personal Fitness Assessment)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"li"),i["\u0275\u0275text"](30,"Your fitness level. Fit people have fine-tuned their bodies into calorie\xa0burning\xa0machines, and are just plain better at\xa0burning\xa0calories. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"li"),i["\u0275\u0275text"](32,"What type and the intensity of your workout. This can be represented in a number called a \u201c"),i["\u0275\u0275elementStart"](33,"a",16),i["\u0275\u0275text"](34,"Metabolic Equivalent Table\u201d (MET)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](35," number"),i["\u0275\u0275element"](36,"br"),i["\u0275\u0275text"](37,"-OR-"),i["\u0275\u0275element"](38,"br"),i["\u0275\u0275text"](39,"This can be more accurate with "),i["\u0275\u0275elementStart"](40,"a",17),i["\u0275\u0275text"](41,"Heart Rate Monitoring"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](42,"\u2013 your heart rate actually is WAY more accurate at determining how hard your system is working than guessing at a number located in a table generated from generic testing. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"li"),i["\u0275\u0275text"](44,"Time. How long did you workout?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](45,"br"),i["\u0275\u0275elementStart"](46,"h4"),i["\u0275\u0275text"](47,"Show Me The Numbers!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"p"),i["\u0275\u0275text"](49,"OK. Let\u2019s look at a couple different scenarios."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"p"),i["\u0275\u0275elementStart"](51,"strong"),i["\u0275\u0275text"](52,"(Bad) Calorie Calculations by Gym Machine Calculations / Activity trackers"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"p"),i["\u0275\u0275text"](54,"If a machine, like a treadmill, knows nothing about you, they will probably use this formula:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](55,"p"),i["\u0275\u0275text"](56,"Total Calories Burned = Duration in Minutes x (((MET \u2013 a number representing the type and intensity of your workout) x 3.5 x 70)/200)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](57,"p"),i["\u0275\u0275text"](58,"So for an hour long jog the formula would be"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](59,"p"),i["\u0275\u0275text"](60,"Total Calories Burned = 60 x ((5 x 3.5 x 70)/200) = 367 calories."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](61,"p"),i["\u0275\u0275text"](62,"The MET is a number they guessed, like 5 (from a range of maybe 3 to 16, based on speed) as a guesstimate of how hard you worked and 70Kg (154lbs) is their guesstimate of how much you weigh."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](63,"br"),i["\u0275\u0275elementStart"](64,"p"),i["\u0275\u0275elementStart"](65,"strong"),i["\u0275\u0275text"](66,"(Better) The Fitdigits Manual Calorie Calcs"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](67,"p"),i["\u0275\u0275text"](68,"When you have a person\u2019s weight and can measure basic workout intensity either through self-reporting or by looking at speed/pace, you can start to refine the calorie calculations a bit. The formula is:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](69,"p"),i["\u0275\u0275text"](70,"Total Calories Burned = Duration in Minutes x (((MET \u2013 a number representing the type and intensity of your workout) x 3.5 x your weight in kg)/200)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](71,"p"),i["\u0275\u0275text"](72,"In this scenario, Fitdigits uses a sliding scale of MET values based on the type of activity chosen and the speed/pace of the workout, cross-referenced with the gender, age and estimated fitness level of the individual (or calculated fitness level/VO2 Max, if they have done a "),i["\u0275\u0275elementStart"](73,"a",18),i["\u0275\u0275text"](74,"Fitness Assessment"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](75,"), applied to the standard MET tables. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](76,"p"),i["\u0275\u0275text"](77,"It does assume a flat surface, which isn\u2019t always reflective of reality though, but does get much closer to a real caloric burn number."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](78,"p"),i["\u0275\u0275text"](79,"If there is no speed/pace (due to no GPS), then calorie calculations are done based on the user-specified Intensity, cross-referenced with the users gender, age and fitness level, if it exists."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](80,"br"),i["\u0275\u0275elementStart"](81,"p"),i["\u0275\u0275elementStart"](82,"strong"),i["\u0275\u0275text"](83,"(BEST) Calorie Calculations Using Heart Rate \u2013 Fitdigits with Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](84,"p"),i["\u0275\u0275text"](85,"With heart rate information, we can actually get very close to real, honest caloric burn numbers.The accurate calculation of calories burned by heart rate is optimized for the heart rate to be between 90 bpm and 150 bpm."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](86,"p"),i["\u0275\u0275text"](87,"The drivers are: Gender, Weight (kg), Height and VO2max (Fitness Level). The VO2max number is an estimate of fitness level based on a persons age and self-reported fitness level, or a calculated, much more accurate number if an Assessment has been completed."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](88,"p"),i["\u0275\u0275text"](89,"The formulas:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](90,"p"),i["\u0275\u0275text"](91,"Men: C/min = (-59.3954 + (-36.3781 + 0.271 x age + 0.394 x weight + 0.404 x VO2max + 0.634 x HR))/4.184"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](92,"p"),i["\u0275\u0275text"](93,"Women: C/min = (-59.3954 + (0.274 x age + 0.103 x weight + 0.380 x VO2max + 0.450 x HR)) / 4.184"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](94,"p"),i["\u0275\u0275text"](95,"Note: Exercise burn formulas are built around total caloric output during exercise \u2014 which typically includes BMR."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](96,"br"),i["\u0275\u0275elementStart"](97,"h4"),i["\u0275\u0275text"](98,"Kilojoules and Calories"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](99,"p"),i["\u0275\u0275text"](100,"Kilojoules are calculated by the readings we get from the power meters. To convert them to Calories, we take the value of the kilojoule to calories formula and include the metabolic efficiency ratio (typically 20-25%). In detail, a Calorie calculated from 1 kilojoule = 1 / 4.184 / .25 = 1.046 Cal of workout"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](101,"br"),i["\u0275\u0275elementStart"](102,"h4"),i["\u0275\u0275text"](103,"Calories Per Minute (CPM)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](104,"p"),i["\u0275\u0275text"](105,"Fitdigits also shows caloric information in terms of \u201cCPM\u201d or Calories Per Minute. This can be an interesting way of thinking about your common activities. Which ones burn the most in the least time, realizing that time dedication really does matter. Also, you can calculate how many minutes will it take to burn off that pint of Ben & Jerrys! \ud83d\ude42 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](106,"p"),i["\u0275\u0275text"](107,"You can add CPM to any Custom Dashboard). Kind of neat to see how your effort affect burn in a more standardized way!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](108,"br"),i["\u0275\u0275elementStart"](109,"p"),i["\u0275\u0275text"](110,"So now you know how we come up with accurate caloric burn data for you. Now what?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](111,"br"),i["\u0275\u0275elementStart"](112,"h4"),i["\u0275\u0275text"](113,"MyFitnessPal"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](114,"p"),i["\u0275\u0275text"](115,"The final piece of the equation is MyFitnessPal. MyFitnessPal takes inventory of everything you eat. Enter in your meals using MyFitnessPal\u2019s enormous library of foods, and it will tell you how many calories you ingested. You can also set weight loss goals so that MyFitnessPal will instruct you on how many calories you can eat based on how much you are working out. Set a goal and reach it with Fitdigits and MyFitnessPal!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](116,"br"),i["\u0275\u0275elementStart"](117,"h4"),i["\u0275\u0275text"](118,"Carb % and Fat % Metrics"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](119,"p"),i["\u0275\u0275text"](120,"FatCal, Fat % and Carb % are determined by which zones you were in during your workout. Ultimately, the total number of carb calories will depend on your heart rate throughout the workout as related to your VO2 max. In lower heart rate zones, you\u2019ll tend to burn a higher ratio of fat to carb calories, while in higher zones, you will burn more carb-based calories."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](121,"p"),i["\u0275\u0275text"](122,"Currently Fitdigits only does the calculation on the completion of the activity, it does not support real-time calculations."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](123,"p"),i["\u0275\u0275text"](124,"You can view equations used at the bottom of this "),i["\u0275\u0275elementStart"](125,"a",19),i["\u0275\u0275text"](126,"ShapeSense article."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](127,"br"),i["\u0275\u0275elementStart"](128,"h4"),i["\u0275\u0275text"](129,"References"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](130,"p"),i["\u0275\u0275elementStart"](131,"a",20),i["\u0275\u0275text"](132,"http://www.calories-calculator.net/Calories_Burned_By_Heart_Rate.html"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](133,"p"),i["\u0275\u0275elementStart"](134,"a",21),i["\u0275\u0275text"](135,"http://www.calories-calculator.net/Calculator_Formulars.html#burned_by_hr"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](136,"p"),i["\u0275\u0275elementStart"](137,"a",22),i["\u0275\u0275text"](138,"http://www.shapesense.com/fitness-exercise/calculators/heart-rate-based-calorie-burn-calculator.shtml"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](139,"p"),i["\u0275\u0275elementStart"](140,"a",23),i["\u0275\u0275text"](141,"https://www.trainerroad.com/blog/calories-and-power/"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](142,"h4"),i["\u0275\u0275text"](143,"Editing Calories"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](144," To edit calories see "),i["\u0275\u0275elementStart"](145,"a",24),i["\u0275\u0275text"](146,"Managing and Editing Your Activities"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](147,". "),i["\u0275\u0275elementStart"](148,"h4"),i["\u0275\u0275text"](149,"Fitbit Calories and Fitdigits"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](150,"p"),i["\u0275\u0275text"](151,"Fitdigits and Fitbit have a great partnership that lets you see how many calories you burn daily. The top questions:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](152,"p"),i["\u0275\u0275text"](153,"Q: Can I wear my Fitbit during a Fitdigits workout and not get double calories?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](154,"p"),i["\u0275\u0275text"](155,"A: Yes! Fitdigits and Fitbit are integrated so that whenever you begin a Fitdigits workout all Fitbit calories accumulated during the duration of your Fitdigits workout will be ignored. During workouts, Fitdigits gives you a more accurate caloric burn, so we use this instead of Fitbit. Make sure to keep your Fitbit on so you still get credit for your steps!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](156,"br"),i["\u0275\u0275elementStart"](157,"p"),i["\u0275\u0275text"](158,"Q: Do my Fitdigits workouts get sent to Fitbit.com?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](159,"p"),i["\u0275\u0275text"](160,"A: Yes they do! Whenever you sync your Fitdigits app, the workout will be sent to Fitbit.com so you have a record in both places"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](161,"h4"),i["\u0275\u0275text"](162,"Linking MyFitnessPal, Fitdigits and a Daily Activity partner"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](163,"p"),i["\u0275\u0275text"](164,"We have found that linking Fitdigits with activity tracker (Fitbit, Apple Health, etc), then the activity tracker with MyFitnessPal is the best way to link the three partners. If you try to link them a different way, problems can occur."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var VD=function(){function e(){this.showCalorieOverview=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-calories"]],decls:18,vars:9,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","support-content","style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content",2,"clear","both"],["loading","lazy","width","75","src","/static/img/icons/goal_mobile_calories.png","alt","Import your workouts",2,"float","right"],[1,"list-spacing"],["href","http://www.fitdigits.com/cardio-fitness/succeed/"],["href","http://en.wikipedia.org/wiki/Metabolic_equivalent"],["href","http://www.fitdigits.com/compatibility.html"],["routerLink","/cardio-fitness/assessments/"],["href","http://www.shapesense.com/fitness-exercise/calculators/fat-versus-carbohydrate-utilization-during-exercise-calculator.aspx"],["href","http://www.calories-calculator.net/Calories_Burned_By_Heart_Rate.html"],["href","http://www.calories-calculator.net/Calculator_Formulars.html#burned_by_hr"],["href","http://www.shapesense.com/fitness-exercise/calculators/heart-rate-based-calorie-burn-calculator.shtml"],["href","https://www.trainerroad.com/blog/calories-and-power/"],["routerLink","/overview/managing-activities"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",4),i["\u0275\u0275element"](9,"p"),i["\u0275\u0275elementStart"](10,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showCalorieOverview=!t.showCalorieOverview}),i["\u0275\u0275template"](11,zD,1,0,"img",6),i["\u0275\u0275template"](12,ND,1,0,"img",7),i["\u0275\u0275elementStart"](13,"div",8),i["\u0275\u0275text"](14," Counting Calories \u2013 The Fitdigits Way "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](15,HD,165,0,"div",9),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275text"](17,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](6,5,"ROOT.Calories")," - ",i["\u0275\u0275pipeBind1"](7,7,"ROOT.Calculations and More"),""),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",!t.showCalorieOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showCalorieOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showCalorieOverview))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function YD(e,t){1&e&&i["\u0275\u0275element"](0,"img",8)}function WD(e,t){1&e&&i["\u0275\u0275element"](0,"img",9)}function GD(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",10),i["\u0275\u0275element"](1,"video",11),i["\u0275\u0275elementStart"](2,"p"),i["\u0275\u0275text"](3,"Turn your app into a fun, motivating and powerful step and daily activity tracker!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5,"We love our partners like Fitbit, Garmin and other daily step and activity trackers, but we do recognize that having to carry or wear another gadget and maintain it can be a bit much, both in terms of cost and learning yet another gadget."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7,"Here\u2019s an easy and effective way to get steps and daily calorie burn just by carrying your iPhone or Android around with you when you move, complimented by more accurate calorie burn when cardio exercises are measured in our heart rate training apps of course! Heart rate is still, by far, is the most accurate personal caloric burn number you can get outside of a clinical test. Accurate numbers mean greater accuracy hitting your goals!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9,"To add steps and other daily activity metrics, simply pair the app with Apple Health (iOS) or Google Fit (Android). Simple! We\u2019ll do the rest, and help you understand yourself better, motivate and hopefully inspire you to greatness! Let\u2019s get our steps on!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",12),i["\u0275\u0275element"](11,"img",13),i["\u0275\u0275elementStart"](12,"a",14),i["\u0275\u0275text"](13,"Link Apple Health"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",15),i["\u0275\u0275element"](15,"img",16),i["\u0275\u0275elementStart"](16,"a",17),i["\u0275\u0275text"](17,"Link Google Fit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](18,"div",10),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275text"](20,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22,"Note: pre-iPhone 5S devices not supported. Phones must have either Google Fit or Apple Health enabled on a device with an accelerometer to get daily activity detail."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var UD=function(){function e(){this.showStepsOverview=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-daily-activity-overview"]],decls:15,vars:6,consts:[[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[2,"clear","both"],["autoplay","","controls","","loop","","src","https://storage.googleapis.com/media_manager/videos/steps-celebration-ios.mp4","width","250",2,"float","right"],[2,"width","150px","float","left","margin-right","20px"],["loading","lazy","width","48","src","/static/img/applehealth-logo-icon-white-background.png","alt","Import your workouts",2,"float","right"],["routerLink","/partners/apple-health"],[2,"width","150px","float","left"],["loading","lazy","width","48","src","/static/img/googlefit-logo-icon-white-background.png","alt","Import your workouts",2,"float","right"],["routerLink","/partners/google-fit"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",1),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",2),i["\u0275\u0275element"](6,"p"),i["\u0275\u0275elementStart"](7,"div",3),i["\u0275\u0275listener"]("click",function(){return t.showStepsOverview=!t.showStepsOverview}),i["\u0275\u0275template"](8,YD,1,0,"img",4),i["\u0275\u0275template"](9,WD,1,0,"img",5),i["\u0275\u0275elementStart"](10,"div",6),i["\u0275\u0275text"](11," Getting Steps in Workouts, Daily Activity "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](12,GD,23,0,"div",7),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,4,"ROOT.Steps & Daily Activity")),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!t.showStepsOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showStepsOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showStepsOverview))},directives:[y.NgIf,S.f],pipes:[M.c],styles:[""]}),e}();function qD(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function ZD(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function $D(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p",14),i["\u0275\u0275elementStart"](1,"a",15),i["\u0275\u0275text"](2,"View your Profile"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function XD(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"div",17),i["\u0275\u0275elementStart"](2,"a",18),i["\u0275\u0275element"](3,"img",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",20),i["\u0275\u0275elementStart"](5,"table",21),i["\u0275\u0275elementStart"](6,"tr"),i["\u0275\u0275elementStart"](7,"td"),i["\u0275\u0275text"](8,"Profile picture"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](9,"td"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"tr"),i["\u0275\u0275elementStart"](11,"td"),i["\u0275\u0275text"](12,"Name"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](13,"td"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"tr"),i["\u0275\u0275elementStart"](15,"td"),i["\u0275\u0275text"](16,"Email & Username"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](17,"td"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"tr"),i["\u0275\u0275elementStart"](19,"td"),i["\u0275\u0275elementStart"](20,"a",22),i["\u0275\u0275text"](21,"Membership"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](22,"td"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"tr"),i["\u0275\u0275elementStart"](24,"td"),i["\u0275\u0275text"](25,"Gender"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"td"),i["\u0275\u0275text"](27,"for "),i["\u0275\u0275elementStart"](28,"a",23),i["\u0275\u0275text"](29,"calorie calculations"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](30," and "),i["\u0275\u0275elementStart"](31,"a",24),i["\u0275\u0275text"](32,"BMR"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"tr"),i["\u0275\u0275elementStart"](34,"td"),i["\u0275\u0275text"](35,"Birthday / Age"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"td"),i["\u0275\u0275text"](37,"for "),i["\u0275\u0275elementStart"](38,"a",25),i["\u0275\u0275text"](39,"calculating heart rate zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](40," and "),i["\u0275\u0275elementStart"](41,"a",24),i["\u0275\u0275text"](42,"BMR"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"tr"),i["\u0275\u0275elementStart"](44,"td"),i["\u0275\u0275text"](45,"Height"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"td"),i["\u0275\u0275text"](47,"for calculating "),i["\u0275\u0275elementStart"](48,"a",26),i["\u0275\u0275text"](49,"BMI"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"tr"),i["\u0275\u0275elementStart"](51,"td"),i["\u0275\u0275text"](52,"Units of Measure"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"td"),i["\u0275\u0275text"](54,"US / Metric"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](55,"tr"),i["\u0275\u0275elementStart"](56,"td"),i["\u0275\u0275text"](57,"Reset Password"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](58,"td"),i["\u0275\u0275text"](59,"See below"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](60,"tr"),i["\u0275\u0275elementStart"](61,"td"),i["\u0275\u0275text"](62,"Language"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"td"),i["\u0275\u0275text"](64,"Set a specific language choice"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](65,"tr"),i["\u0275\u0275elementStart"](66,"td"),i["\u0275\u0275elementStart"](67,"a",15),i["\u0275\u0275text"](68,"Delete Account"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](69,"td"),i["\u0275\u0275text"](70,"Delete your account on the profile view, in app or online. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function KD(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function JD(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function QD(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",27),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2,"On the Web"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"ol",28),i["\u0275\u0275elementStart"](4,"li"),i["\u0275\u0275text"](5,"Log in using your Fitdigits username and your new system generated password"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Click Profile"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Click Change Password, enter in your old password and what you want the new password to be "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Click Change Password and you will get a password changed confirmation."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"h4"),i["\u0275\u0275text"](13,"On the Apps"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275elementStart"](15,"strong"),i["\u0275\u0275text"](16,"Logged In"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"ol",28),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19,"Open the"),i["\u0275\u0275elementStart"](20,"em"),i["\u0275\u0275text"](21,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](22,"app, tap\xa0Menu > Profile (Name)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24,"Tap Reset Password"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275text"](26,"Confirm email and tap Reset Password"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"p"),i["\u0275\u0275elementStart"](28,"strong"),i["\u0275\u0275text"](29,"Logged Out"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"ol",28),i["\u0275\u0275elementStart"](31,"li"),i["\u0275\u0275text"](32,"Download / Install the App"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"li"),i["\u0275\u0275text"](34,"Tap Login"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"li"),i["\u0275\u0275text"](36,"Tap Forgot Password"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"li"),i["\u0275\u0275text"](38,"Enter the email you used when you originally signed up"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"li"),i["\u0275\u0275text"](40,"Tap Send and an email with reset instructions will be sent to that email"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"p"),i["\u0275\u0275text"](42,"Sometimes the reset password email can go straight to your Spam folder. Make sure to check here if you cannot find the reset password email in your inbox."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"p"),i["\u0275\u0275text"](44,"If you still have trouble getting the email and can\u2019t login, email support \u2013 ideally, in your App, tap Menu > Support > Email Support. Include in the email your Fitdigits username/email, and we can change it for you."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function eL(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function tL(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function nL(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",27),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2,"Apple \u2022 iTunes"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"iTunes handles all subscription and purchase management through their app store. To pause auto-renewal, cancel or intiate returns/refunds of apps, see this article from Apple:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275elementStart"](6,"a",29),i["\u0275\u0275text"](7,"https://support.apple.com/en-us/HT202039"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9,"To see your purchases on the web, open your iTunes Store, click on your username in the left corner and enter your iTunes password."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11,'Click "see all" next to purchase history, find Fitdigits, and click the arrow next to the app. Next click "Report a Problem" link under the "Report a Problem Header" and a new page should come up to report a problem. You will then be prompted to enter the reason for your refund. From there, Apple / iTunes handles request.'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"p"),i["\u0275\u0275text"](13,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"h4"),i["\u0275\u0275text"](15,"Android \u2022 Google Play"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275text"](17,"To get a refund from Google Play:"),i["\u0275\u0275element"](18,"br"),i["\u0275\u0275elementStart"](19,"a",30),i["\u0275\u0275text"](20," https://support.google.com/googleplay/answer/7018481?co=GENIE.Platform%3DAndroid&hl=en"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function iL(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function rL(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function aL(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",27),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Fitdigits apps can give you many different types of feedback and encouragement. There are 3 types of notifications:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"ol",28),i["\u0275\u0275elementStart"](4,"li"),i["\u0275\u0275text"](5,"Local push notifications, which originate from within the app itself and show in the devices' notification section. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Server push notifications from the servers and show in the devices' notification section. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Custom Zone notifications, which aren't like normal app notifications. These includes popups and notifications inside the app when you are changing heart rate zones or doing custom routes or routines. Read more on those in "),i["\u0275\u0275elementStart"](10,"a",31),i["\u0275\u0275text"](11,"Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](12," or "),i["\u0275\u0275elementStart"](13,"a",32),i["\u0275\u0275text"](14,"Routes and Routines"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](15,". "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](16,"br"),i["\u0275\u0275elementStart"](17,"p"),i["\u0275\u0275text"](18,"Manage notifications within the app, or in the devices\u2019 settings."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](19,"br"),i["\u0275\u0275elementStart"](20,"h3"),i["\u0275\u0275text"](21,"Local Notifications"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](22,"img",33),i["\u0275\u0275elementStart"](23,"p"),i["\u0275\u0275text"](24,"Menu > Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"ul",28),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275elementStart"](27,"strong"),i["\u0275\u0275text"](28,"Off"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](29,": no local notifications "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"li"),i["\u0275\u0275elementStart"](31,"strong"),i["\u0275\u0275text"](32,"Summary"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](33,": the previous days summary each day for steps, and weekly / monthly summary notifications "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"li"),i["\u0275\u0275elementStart"](35,"strong"),i["\u0275\u0275text"](36,"All"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](37,": a few encouraging messages through the day plus the weekly / monthly summaries. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"h4"),i["\u0275\u0275text"](39,"Weekly / monthly summaries, Daily Steps & Progress Notifications"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"p"),i["\u0275\u0275text"](41,"See your weekly / monthly activity summaries, as well as encouragement towards your daily steps when you are connected to "),i["\u0275\u0275elementStart"](42,"a",34),i["\u0275\u0275text"](43," Apple Health"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](44," or "),i["\u0275\u0275elementStart"](45,"a",35),i["\u0275\u0275text"](46,"Google Fit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](47," are all handled on the Local (app based) level."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"h4"),i["\u0275\u0275text"](49,"Resting Heart Rate Notifications"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"p"),i["\u0275\u0275text"](51," See your resting heart rate on a daily basis when you are connected to "),i["\u0275\u0275elementStart"](52,"a",34),i["\u0275\u0275text"](53," Apple Health"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](54," and have an Apple Watch. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](55,"p"),i["\u0275\u0275text"](56,"Your "),i["\u0275\u0275elementStart"](57,"a",36),i["\u0275\u0275text"](58,"Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](59," is important when you are starting the day to see how stressed or ready your body may be for exercise. For Notifications, Summary is the equivalent of All. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](60,"p"),i["\u0275\u0275text"](61,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](62,"h3"),i["\u0275\u0275text"](63,"Server Notifications"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](64,"img",37),i["\u0275\u0275elementStart"](65,"p"),i["\u0275\u0275text"](66," Menu > Settings > Other Notifications & Permissions "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](67,"h4"),i["\u0275\u0275text"](68,"Livetracking"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](69,"p"),i["\u0275\u0275text"](70," Get a push notification when fellow group members or friends you are following are LiveTracking their activities. For your LiveTracking, you can choose: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](71,"ul",28),i["\u0275\u0275elementStart"](72,"li"),i["\u0275\u0275elementStart"](73,"strong"),i["\u0275\u0275text"](74,"Open"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](75,": When a link is shared, anyone with that link will be able to view the session. The link times out 3 hours after the end of the session, and is unique per session."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](76,"li"),i["\u0275\u0275elementStart"](77,"strong"),i["\u0275\u0275text"](78,"Members (default)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](79,": If a user has LiveTracking turned on and shares the link generated in their app, the person trying to view will need to have a valid Fitdigits account (free and available via downloading the app or creating online) and login to view the session. Or, as part of a Group permission setting, a group member may have access, see below for more on Group LiveTracking."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](80,"li"),i["\u0275\u0275elementStart"](81,"strong"),i["\u0275\u0275text"](82,"None / My Groups"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](83,": When you first sign up for a group, or when going to edit your group "),i["\u0275\u0275elementStart"](84,"a",38),i["\u0275\u0275text"](85,"Member Privacy & Sharing Permissions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](86," you have the option of sharing your LiveTracking activities with the group. Each group member who has also agreed to share will be "),i["\u0275\u0275elementStart"](87,"a",39),i["\u0275\u0275text"](88,"notified"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](89," and be able to view the session."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](90,"h4"),i["\u0275\u0275text"](91,"Goals & Achievements"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](92,"p"),i["\u0275\u0275text"](93," Celebrate and enjoy notifications when you reach new goals, personal bests, and more. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](94,"h4"),i["\u0275\u0275text"](95,"Following: LiveTracking"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](96,"p"),i["\u0275\u0275text"](97," Get notifications when "),i["\u0275\u0275elementStart"](98,"a",40),i["\u0275\u0275text"](99,"friends and family"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](100," you are following start a livetracking session. These are only available as push notifications. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](101,"h4"),i["\u0275\u0275text"](102,"Following: Workout Complete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](103,"p"),i["\u0275\u0275text"](104," Push notifications when "),i["\u0275\u0275elementStart"](105,"a",40),i["\u0275\u0275text"](106,"friends and family"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](107," you are following finish a workout. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](108,"p"),i["\u0275\u0275text"](109,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](110,"h4"),i["\u0275\u0275text"](111,"Heart Rate Zone Change Notifications"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](112,"p"),i["\u0275\u0275text"](113," Local notifications about when you change heart rate zones during a workout. Since these are very oriented towards the in-app workout experience, you can turn them on or off in your app under Activity Options (gear icon) \u2013 select the activity type, tap the gear icon in the lower left, tap on Heart Rate Zones. You will find the preferences at the bottom of the list of heart rate zones associated with your account. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](114,"p"),i["\u0275\u0275elementStart"](115,"a",31),i["\u0275\u0275text"](116," See More"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](117,"br"),i["\u0275\u0275elementStart"](118,"h3"),i["\u0275\u0275text"](119,"Device Level Notification Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](120,"br"),i["\u0275\u0275element"](121,"img",41),i["\u0275\u0275elementStart"](122,"p"),i["\u0275\u0275text"](123,"Whether you are Android or iOS, the devices settings under the App details can be modified in a variety of ways. These will affect both push and local notifications. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](124,"p"),i["\u0275\u0275elementStart"](125,"strong"),i["\u0275\u0275text"](126,"iOS (Apple)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](127,"p"),i["\u0275\u0275text"](128),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](129,"p"),i["\u0275\u0275text"](130,"OR"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](131,"p"),i["\u0275\u0275text"](132),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](133,"p"),i["\u0275\u0275text"](134,"Please see the Apple's article on "),i["\u0275\u0275elementStart"](135,"a",42),i["\u0275\u0275text"](136,"Notifications options"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](137," are on an iOS / device level. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](138,"p"),i["\u0275\u0275text"](139,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](140,"div",43),i["\u0275\u0275element"](141,"img",44),i["\u0275\u0275elementStart"](142,"p"),i["\u0275\u0275elementStart"](143,"strong"),i["\u0275\u0275text"](144,"Android devices"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](145,"p"),i["\u0275\u0275text"](146),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](147,"div",45),i["\u0275\u0275elementStart"](148,"p"),i["\u0275\u0275text"](149,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](150,"p"),i["\u0275\u0275text"](151,"We hope you enjoy your messages and settings and find them motivating and informative."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](152,"div",45),i["\u0275\u0275elementStart"](153,"p"),i["\u0275\u0275elementStart"](154,"a",46),i["\u0275\u0275text"](155," Your other health and fitness metrics "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](156,"p"),i["\u0275\u0275text"](157,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](128),i["\u0275\u0275textInterpolate1"]("Settings > Notifications > ",n.ThemeService.baseAppName," (App Name)"),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"]("Settings > ",n.ThemeService.baseAppName," (App Name) > Notifications"),i["\u0275\u0275advance"](14),i["\u0275\u0275textInterpolate1"]("Settings > Apps > ",n.ThemeService.baseAppName,"")}}var oL=function(){function e(e,t,n){this.route=e,this.ThemeService=t,this.AccountService=n,this.showOverview=!0,this.showResetPassword=!0,this.showNotification=!0,this.showDeviceNotifications=!1,this.showPurchase=!1,this.categoryTypeInput=this.route.snapshot.paramMap.get("categoryType")}return e.prototype.ngOnInit=function(){"notifications"==this.categoryTypeInput&&(this.showOverview=!1,this.showNotification=!0,this.showResetPassword=!1,this.showPurchase=!1),"managesubscriptions"==this.categoryTypeInput&&(this.showOverview=!1,this.showNotification=!1,this.showResetPassword=!1,this.showPurchase=!0)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-profile-overview"]],decls:34,vars:16,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["style","text-align: center",4,"ngIf"],["class","support-content","style","clear:both; width:100%;",4,"ngIf"],["class","support-content","style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[2,"text-align","center"],["routerLink","/profile"],[1,"support-content",2,"clear","both","width","100%"],[2,"float","right","width","25%"],["href","/static/img/ios-profile-view.png"],["src","/static/img/ios-profile-view.png",2,"float","right","max-width","200px","width","90%"],[2,"float","left","width","75%"],[1,"support-profile-table"],["routerLink","/memberships"],["routerLink","/overview/calories"],["href","http://www.bmi-calculator.net/bmr-calculator/"],["routerLink",""],["href","https://www.nhlbi.nih.gov/health/educational/lose_wt/BMI/bmicalc.htm"],[1,"support-content",2,"clear","both"],[1,"list-spacing"],["href","https://support.apple.com/en-us/HT202039"],["href","https://support.google.com/googleplay/answer/7018481?co=GENIE.Platform%3DAndroid&hl=en"],["routerLink","/zones/overview"],["routerLink","/routes"],["src","/static/img/account-local-notifications.png",1,"support-image-single"],["routerLink","/partners/apple-health"],["routerLink","/partners/google-fit"],["routerLink","/restingheartrate"],["src","/static/img/account-permissions-settings.png",1,"support-image-single"],["routerLink","/teams/overview#memberroles"],["routerLink","/profile/overview/notifications"],["routerLink","/member/overview"],["loading","lazy","width","300","src","/static/img/ios_notifications_options.png","alt","Apple Notification Settings",2,"float","right"],["href","https://support.apple.com/en-us/HT201925"],[2,"clear","both"],["loading","lazy","width","300","src","/static/img/android_notifications_options.png","alt","Android Notification Settings",2,"float","right"],[2,"clear","both","float","left","width","100%"],["routerLink","/healthvitals"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275element"](8,"p"),i["\u0275\u0275elementStart"](9,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showOverview=!t.showOverview}),i["\u0275\u0275template"](10,qD,1,0,"img",6),i["\u0275\u0275template"](11,ZD,1,0,"img",7),i["\u0275\u0275elementStart"](12,"div",8),i["\u0275\u0275text"](13," Overview "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,$D,3,0,"p",9),i["\u0275\u0275template"](15,XD,71,0,"div",10),i["\u0275\u0275elementStart"](16,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showResetPassword=!t.showResetPassword}),i["\u0275\u0275template"](17,KD,1,0,"img",6),i["\u0275\u0275template"](18,JD,1,0,"img",7),i["\u0275\u0275elementStart"](19,"div",8),i["\u0275\u0275text"](20," Reset Password "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](21,QD,45,0,"div",11),i["\u0275\u0275elementStart"](22,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showPurchase=!t.showPurchase}),i["\u0275\u0275template"](23,eL,1,0,"img",6),i["\u0275\u0275template"](24,tL,1,0,"img",7),i["\u0275\u0275elementStart"](25,"div",8),i["\u0275\u0275text"](26," Managing Purchases and Subscriptions "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](27,nL,23,0,"div",11),i["\u0275\u0275elementStart"](28,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showNotification=!t.showNotification}),i["\u0275\u0275template"](29,iL,1,0,"img",6),i["\u0275\u0275template"](30,rL,1,0,"img",7),i["\u0275\u0275elementStart"](31,"div",8),i["\u0275\u0275text"](32," Notifications "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](33,aL,158,3,"div",11),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,14,"ROOT.Profile")),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!t.showOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded&&t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showResetPassword),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showResetPassword),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showResetPassword),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showPurchase),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showPurchase),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showPurchase),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showNotification),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showNotification),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showNotification))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",".support-profile-table[_ngcontent-%COMP%]{border:0 solid;max-width:700px;float:left}.support-profile-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:10px 5px}"]}),e}();function sL(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function lL(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function cL(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2,"Customize Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Customize your Heart Rate Zones to make your workouts personal to you. Whether you have had your V02 Max tested or are reading a heart zone training book by "),i["\u0275\u0275elementStart"](5,"a",13),i["\u0275\u0275text"](6," Sally Edwards"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7," or "),i["\u0275\u0275elementStart"](8,"a",14),i["\u0275\u0275text"](9," Joe Friel"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](10,", or just prefer the Karvonen method of "),i["\u0275\u0275elementStart"](11,"a",15),i["\u0275\u0275text"](12," calculating heart rate zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](13,", Fitdigits offers the ability to create multiple heart zone sets and fully customize your heart rate zones for the best workout experience."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275text"](15,"If you haven't thought about setting up custom zones, see why you might want to assess your current "),i["\u0275\u0275elementStart"](16,"a",16),i["\u0275\u0275text"](17," personalized heart rate zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18,", and get the best experience for you."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"ol",17),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21,"Choose the Activity Type you want to change zones for"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275text"](23,"Tap the gear icon (Activity Options)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275text"](25,"Tap Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275text"](27,"Tap Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275text"](29,"Tap Add Zone Set \u2013 the green + button in the top right"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"li"),i["\u0275\u0275text"](31,"Tap on the title of the Zone Set and the zones themselves to change the names."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"li"),i["\u0275\u0275text"](33,"Tap on the pace or speed barriers to change them"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"li"),i["\u0275\u0275text"](35,"Tap DONE"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"p"),i["\u0275\u0275elementStart"](37,"i"),i["\u0275\u0275text"](38,"The default heart zones to be used on that activity are shown with a check mark. Heart Rate Zones are done on a per-activity type basis, as often you find people do not have the same HR Max or zones with different sports, as the muscle adaptations respond differently.\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"p"),i["\u0275\u0275text"](40,"If you see a yellow heart next to the zone set. This means it needs to be synced to the cloud so it can be shared across devices and at the online portal."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"h4"),i["\u0275\u0275text"](42,"Deleting a Heart Rate Zone Set"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"ol",17),i["\u0275\u0275elementStart"](44,"li"),i["\u0275\u0275text"](45,"Tap the Activity Options (gear icon)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"li"),i["\u0275\u0275text"](47,"Tap Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"li"),i["\u0275\u0275text"](49,"Swipe right to left to show Delete option"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"li"),i["\u0275\u0275text"](51,"Tap the red delete button next to the name of the heart rate zone set you want to delete."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](52," Also see: "),i["\u0275\u0275elementStart"](53,"a",18),i["\u0275\u0275text"](54,"Zone Coaching - Alerts & Audio Options"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function dL(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function uL(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function pL(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275element"](1,"img",19),i["\u0275\u0275elementStart"](2,"p"),i["\u0275\u0275text"](3,"Visual Alerts for heart rate zone transitions are found in the Heart Rate Zones section (Gear (Activity Options) > Dashboards & Zones > Heart Rate Zones."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"ul",17),i["\u0275\u0275elementStart"](5,"li"),i["\u0275\u0275elementStart"](6,"strong"),i["\u0275\u0275text"](7,"Popup Alert"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](8,": Do you want to be visually prompted when you change zones? Yes / No"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275elementStart"](10,"strong"),i["\u0275\u0275text"](11,"Popup Duration"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](12,": How long should the visual alert show?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275elementStart"](14,"strong"),i["\u0275\u0275text"](15,"Audio Alert"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](16,": Do you want to be prompted by a chime when you change zones? Yes / No"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275elementStart"](18,"strong"),i["\u0275\u0275text"](19,"Local Notifications"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](20,": Do you want local notifications (when the app is in the background) to show when you change zones? Yes / No"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](21,"div",12),i["\u0275\u0275element"](22,"img",20),i["\u0275\u0275elementStart"](23,"h4"),i["\u0275\u0275text"](24,"Target Zone Transition Coaching - Routes & Routines"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"p"),i["\u0275\u0275text"](26,"For iOS users who are doing Interval Structured Workouts, different options for prompts in change of zones are available, bot for heart rate or pace zone transitions. Tap Activity Options (gear) > Workout Routines. Scroll to the bottom."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"ul",17),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275elementStart"](29,"strong"),i["\u0275\u0275text"](30,"Transition Prompt"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](31,": Do you want to be prompted when a scheduled transition is coming up (visual and audio)? Yes / No"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"li"),i["\u0275\u0275elementStart"](33,"strong"),i["\u0275\u0275text"](34,"Prompt Pre-Transition"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](35,": How long before the transition would you like to hear \u201cget ready to transition\u201d \u2013 in seconds. Some like more lead time than others."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"li"),i["\u0275\u0275elementStart"](37,"strong"),i["\u0275\u0275text"](38,"Prompt Duration"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](39,": How long the visual prompt should appear when it pops up, in seconds"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](40,"div",12),i["\u0275\u0275elementStart"](41,"h4"),i["\u0275\u0275text"](42,"Target Zone Coaching Transitions - Audio"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"p"),i["\u0275\u0275text"](44,"Tap Activity Options (gear) > Audio & Voice. Tap the Target Zone Coaching option. Set how often, or never, to receive updates on how you are doing relative to your target zones, in addition to the normal above or below zone notifications when you initially go outside of the target zone. Coaching can range from every 30 seconds to every 5 minutes."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"p"),i["\u0275\u0275text"](46,'Once set on, you also have option to turn off "Include In Target", which is the option for notifications when you are in the zone, as confirmation, and just be reminded if you are outside your current target zone.'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"p"),i["\u0275\u0275elementStart"](48,"a",21),i["\u0275\u0275text"](49,"See more on Audio Coaching here."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function hL(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function mL(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function gL(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Customize your Speed and Pace Zones to make your workouts more accurate and informative."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4," Fitdigits apps have the ability to create "),i["\u0275\u0275elementStart"](5,"a",22),i["\u0275\u0275text"](6,"interval workouts"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7," based on pace and distance. In order to create them for pace, you have to have a concept similar to heart rate, where you use speed / pace zones to define effort levels. If you don\u2019t know your pace zones, we offer in-app "),i["\u0275\u0275elementStart"](8,"a",23),i["\u0275\u0275text"](9,"Fitness Assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](10," that will set both heart rate zones and pace zones personalized to your current levels of fitness. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275text"](12," For example, if you are training for a 10K and targeting a pace of 8:30 minutes per/mile, use this pace to set-up pace zones for your training and race day. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"ol",17),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15,"Choose the Activity Type you want to change zones for"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,"Tap the gear icon (Activity Options)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19,"Tap Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21,"Tap Speed or Pace Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275text"](23,"Tap Add Zone Set \u2013 the green + button in the top right"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275text"](25,"Tap on the title of the Zone Set and the zones themselves to change the names."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275text"](27,"Tap on the beats per minute barriers to change them"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275text"](29,"Tap DONE"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"p"),i["\u0275\u0275elementStart"](31,"i"),i["\u0275\u0275text"](32,"The default speed or pace zones to be used on that activity are shown with a check mark. These are on a per-activity type basis.\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"p"),i["\u0275\u0275text"](34,"If you see a yellow heart next to the zone set. This means it needs to be synced to the cloud so it can be shared across devices and at the online portal."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"h4"),i["\u0275\u0275text"](36,"Deleting a Speed or Pace Zone Set"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"ol",17),i["\u0275\u0275elementStart"](38,"li"),i["\u0275\u0275text"](39,"Tap the Activity Options (gear icon)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"li"),i["\u0275\u0275text"](41,"Tap Speed or Pace Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"li"),i["\u0275\u0275text"](43,"Swipe right to left to show Delete option"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"li"),i["\u0275\u0275text"](45,"Tap the red delete button next to the name of the heart rate zone set you want to delete."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function fL(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function vL(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function yL(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Setting up Power Zones is easy, and allows you to start designing workouts specifically targeting different systems and improvements. You typically want to personalize your zone set (see more on the Power Spinning\xae Test (PST) in Assessments) to customize your zones to your current fitness level. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"ol",17),i["\u0275\u0275elementStart"](4,"li"),i["\u0275\u0275text"](5,"Choose the Activity Type you want to change zones for"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Tap the gear icon (Activity Options)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Tap Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Tap Power Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"Tap Add Zone Set \u2013 the green + button in the top right"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15,"Tap on the title of the Zone Set and the zones themselves to change the names."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,"Tap on the watts barriers to change them"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19,"Tap DONE"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"p"),i["\u0275\u0275elementStart"](21,"i"),i["\u0275\u0275text"](22,"The default speed or pace zones to be used on that activity are shown with a check mark. These are on a per-activity type basis.\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"p"),i["\u0275\u0275text"](24,"If you see a yellow heart next to the zone set. This means it needs to be synced to the cloud so it can be shared across devices and at the online portal."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"h4"),i["\u0275\u0275text"](26,"Deleting a Speed or Pace Zone Set"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"ol",17),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275text"](29,"Tap the Activity Options (gear icon)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"li"),i["\u0275\u0275text"](31,"Tap Speed or Pace Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"li"),i["\u0275\u0275text"](33,"Swipe right to left to show Delete option"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"li"),i["\u0275\u0275text"](35,"Tap the red delete button next to the name of the heart rate zone set you want to delete."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var bL=function(){function e(e){this.route=e,this.showHeartZones=!0,this.showAltZones=!0,this.showSpeedZones=!1,this.showPowerZones=!1,this.showZoneNotifications=!0,this.zoneTypeInput=this.route.snapshot.paramMap.get("zoneType")}return e.prototype.ngOnInit=function(){"power"==this.zoneTypeInput&&(this.showPowerZones=!0,this.showHeartZones=!1,this.showZoneNotifications=!1),"notifications"==this.zoneTypeInput&&(this.showPowerZones=!1,this.showHeartZones=!1,this.showZoneNotifications=!0),"speed"==this.zoneTypeInput&&(this.showPowerZones=!1,this.showHeartZones=!1,this.showZoneNotifications=!1,this.showSpeedZones=!0)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](S.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-zones-overview"]],decls:34,vars:15,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[2,"clear","both"],["href","http://www.amazon.com/Heart-Rate-Monitor-Guidebook-Training/dp/0970013027/ref=sr_1_4?ie=UTF8&qid=1314393122&sr=8-4"],["href","http://www.amazon.com/Total-Heart-Rate-Training-Customize/dp/1569755620/ref=pd_sim_b_2"],["routerLink","/personalized-heart-rate-zones.html"],["href","http://my.fitdigits.com/personalized-heart-rate-zones.html"],[1,"list-spacing"],["routerLink","/overview/audio-coaching"],["src","/static/img/zone-transition-alerts.png","alt","Zone Transition Notifications",2,"float","right","width","200px"],["src","/static/img/zone-transition-alerts2.png","alt","Zone Transition Notifications",2,"float","right","width","200px"],["routerLink","/overview/audio"],["routerLink","/routes"],["routerLink","/fitness-assessments.html"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275elementStart"](8,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showHeartZones=!t.showHeartZones}),i["\u0275\u0275template"](9,sL,1,0,"img",6),i["\u0275\u0275template"](10,lL,1,0,"img",7),i["\u0275\u0275elementStart"](11,"div",8),i["\u0275\u0275text"](12," Heart Rate Zones "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](13,cL,55,0,"div",9),i["\u0275\u0275elementStart"](14,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showZoneNotifications=!t.showZoneNotifications}),i["\u0275\u0275template"](15,dL,1,0,"img",6),i["\u0275\u0275template"](16,uL,1,0,"img",7),i["\u0275\u0275elementStart"](17,"div",8),i["\u0275\u0275text"](18," Heart Rate Zone Transition Notifications "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](19,pL,50,0,"div",9),i["\u0275\u0275elementStart"](20,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showSpeedZones=!t.showSpeedZones}),i["\u0275\u0275template"](21,hL,1,0,"img",6),i["\u0275\u0275template"](22,mL,1,0,"img",7),i["\u0275\u0275elementStart"](23,"div",8),i["\u0275\u0275text"](24," Pace & Speed Zones "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](25,gL,46,0,"div",9),i["\u0275\u0275elementStart"](26,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showPowerZones=!t.showPowerZones}),i["\u0275\u0275template"](27,fL,1,0,"img",6),i["\u0275\u0275template"](28,vL,1,0,"img",7),i["\u0275\u0275elementStart"](29,"div",8),i["\u0275\u0275text"](30," Power Zones "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](31,yL,36,0,"div",9),i["\u0275\u0275elementStart"](32,"p"),i["\u0275\u0275text"](33,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,13,"ROOT.Zones Overview")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!t.showHeartZones),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showHeartZones),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showHeartZones),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showZoneNotifications),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showZoneNotifications),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showZoneNotifications),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showSpeedZones),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showSpeedZones),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showSpeedZones),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showPowerZones),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showPowerZones),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showPowerZones))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function xL(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function _L(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function wL(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275element"](1,"img",13),i["\u0275\u0275elementStart"](2,"p"),i["\u0275\u0275text"](3,'When you are inside, GPS is not a real way to track distance on a stationary bike - basically it is pulling GPS signals from satellites that it can see through the windows or other spaces, or Wifi routers that have been mapped to different locations. If you look at the "map" used you will see it thinks you are like biking across the room bouncing from space to space as it tries to get a lock on your position.\xa0'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5,'For indoor biking, in order to get any kind of estimated distance, you need at minimum a Cadence sensor, which allows us to calculate the amount of turns you do on the bike with the estimated circumference of a "virtual" tire you might be turning. See here for more from '),i["\u0275\u0275elementStart"](6,"a",14),i["\u0275\u0275text"](7,"Amazon"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](8,", any bluetooth cadence sensor should work:\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10,'In the app, for Indoor Cycling, you\'d want to choose the "Spinning" option, that is the indoor cycling type of workout.\xa0 '),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275elementStart"](12,"a",15),i["\u0275\u0275text"](13,"See Selecting Workout Types for the home screen"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var SL=function(){function e(){this.showOverview=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-indoor-exercise"]],decls:15,vars:6,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","support-content","style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content",2,"clear","both"],["loading","lazy","width","75","src","/static/img/icons/goal_mobile_calories.png","alt","Import your workouts",2,"float","right"],["href","https://www.amazon.com/Cadence-Sensor/s?k=Cadence+Sensor"],["routerLink","/overview/activity-launch-pad"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275element"](8,"p"),i["\u0275\u0275elementStart"](9,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showOverview=!t.showOverview}),i["\u0275\u0275template"](10,xL,1,0,"img",6),i["\u0275\u0275template"](11,_L,1,0,"img",7),i["\u0275\u0275elementStart"](12,"div",8),i["\u0275\u0275text"](13," Overview "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,wL,14,0,"div",9),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,4,"ROOT.Working Out Indoors with Fitdigits")),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!t.showOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showOverview))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[""]}),e}();function CL(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function kL(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function OL(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Before starting, you should go online at "),i["\u0275\u0275elementStart"](3,"a",13),i["\u0275\u0275text"](4,"my.fitdigits.com"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](5," and login using the email or method you signed up with shown in your "),i["\u0275\u0275elementStart"](6,"a",14),i["\u0275\u0275text"](7,"Profile"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](8," on the app. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10,"Workouts that have not been synced yet will have a yellow heart next to the activity. Select Menu > Sync, that should clear any yellow hearts."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275text"](12,"An error triangle icon shows next to a workout in the activity listed means something, often mintor, has gone wrong. You can see more detail on this error by going into the workout and swiping to the notes view."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"ol",15),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15,"If your activity is on the website, try and locate the workouts in the Activities listing that have errors. If you see one, go into the details and edit the notes, change something in the activity to update the last edited date. That should re-initialize the workout for syncing and clear up the error. Tap Menu > Sync. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,"If the error continues, after tapping "),i["\u0275\u0275elementStart"](18,"strong"),i["\u0275\u0275text"](19,"Menu > Sync"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](20,", tap the "),i["\u0275\u0275elementStart"](21,"strong"),i["\u0275\u0275text"](22,"Advanced"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](23," link above the progress indicator. That will take you to the Advanced Sync screen. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275elementStart"](25,"strong"),i["\u0275\u0275text"](26,"Sync Repair"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](27,": Sync Repair is specific to activities, and does not attempt to do any other sync task. Select this to repair minor activity sync issues in the app. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275elementStart"](29,"strong"),i["\u0275\u0275text"](30,"Sync Date Reset"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](31,": This resets the dates of last sync, to get a full fresh sync of data from the website. After reset, tap Sync Now to update from the web. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](32,"img",16),i["\u0275\u0275elementStart"](33,"p"),i["\u0275\u0275text"](34,"If you still are having issues, on the sync log page it should display an error symbol on the subject (i.e. Blood Pressure, Workouts, etc.) that is not syncing."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"p"),i["\u0275\u0275text"](36,"Select the line item that shows issues and a pop up will display more information. Please send this information to "),i["\u0275\u0275elementStart"](37,"a",1),i["\u0275\u0275text"](38,"Customer Support"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](39," for further assistance."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var EL=function(){function e(){this.showOverview=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-synching"]],decls:17,vars:6,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","support-content","style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content",2,"clear","both"],["routerLink","/home"],["routerLink","/profile"],[1,"list-spacing"],["loading","lazy","src","/static/img/sync-isues.png","alt","Advanced Sync Screen",2,"max-width","507px","width","80%"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275element"](8,"p"),i["\u0275\u0275elementStart"](9,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showOverview=!t.showOverview}),i["\u0275\u0275template"](10,CL,1,0,"img",6),i["\u0275\u0275template"](11,kL,1,0,"img",7),i["\u0275\u0275elementStart"](12,"div",8),i["\u0275\u0275text"](13," Troubleshooting Workout Syncing Issues "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,OL,40,0,"div",9),i["\u0275\u0275elementStart"](15,"p"),i["\u0275\u0275text"](16,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,4,"ROOT.Syncing your Activities")),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!t.showOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showOverview))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[""]}),e}();function ML(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function IL(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function PL(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",13),i["\u0275\u0275elementStart"](1,"div",16),i["\u0275\u0275elementStart"](2,"a",17),i["\u0275\u0275element"](3,"img",18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5,"On your iPhone or iPad:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"ol",19),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,"On the home screen, select "),i["\u0275\u0275elementStart"](9,"strong"),i["\u0275\u0275text"](10,"Menu > Partners > Apple Health > Link Account"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12,"Chose "),i["\u0275\u0275elementStart"](13,"strong"),i["\u0275\u0275text"](14,"Turn All Categories On"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](15," - we require both read and write to integrate fully "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,"Select "),i["\u0275\u0275elementStart"](18,"strong"),i["\u0275\u0275text"](19,"Done"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](20," in the upper right of the Health app "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22,"If you allowed reading daily activity metrics, you will be prompted to sync your data. There are two options:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"ol",19),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275elementStart"](25,"strong"),i["\u0275\u0275text"](26,"Starting Today"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](27,": this will only upload data from the day you tap onwards"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275elementStart"](29,"strong"),i["\u0275\u0275text"](30,"All Time"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](31,": this will sync all days with data on the device. If you previously had data on a date that also has data from this device, it will overwrite the conflicting Apple Health days data from the previous device. If there is no data from the new device, old device data will be maintained, so for most, you have a continuous Apple Health data stream. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"p"),i["\u0275\u0275text"](33,"When the sync is complete, you will be asked if you want motivating messaging through the day, just a daily report of the previous days activity, or no Notifications at all. You can always change this setting by visiting the "),i["\u0275\u0275elementStart"](34,"a",20),i["\u0275\u0275text"](35,"Profile > Notifications"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](36,"."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"p"),i["\u0275\u0275text"](38,"To view daily activity, tap View Data on the Apple Health view, or select Menu > "),i["\u0275\u0275elementStart"](39,"a",21),i["\u0275\u0275text"](40,"Daily Activity"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](41,", or tap the foot icon and steps counter on the home screen. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function TL(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function DL(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function LL(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",13),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Typically workouts done in the app will be shared automatically with Apple Health when the "),i["\u0275\u0275elementStart"](3,"span",22),i["\u0275\u0275text"](4,"Auto Export Workouts"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](5," is ON. However, if there is a past workout that didn't sync to Apple Health, you can follow these steps to sync it:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"span",22),i["\u0275\u0275text"](7,"Method 1:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](8,"br"),i["\u0275\u0275elementStart"](9,"ol",19),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Go to Results and choose the workout you want to share"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"Tap "),i["\u0275\u0275elementStart"](14,"strong"),i["\u0275\u0275text"](15,"Menu > Share > Apple Health"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](16," in the upper right. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18,"If you don't see Apple Health, select "),i["\u0275\u0275elementStart"](19,"strong"),i["\u0275\u0275text"](20,"Add Share Partner"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](21," and choose Apple Health there to add it to the list. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"span",22),i["\u0275\u0275text"](23,"Method 2:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](24,"br"),i["\u0275\u0275elementStart"](25,"ol",19),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275text"](27,"Go to "),i["\u0275\u0275elementStart"](28,"strong"),i["\u0275\u0275text"](29,"Menu > Partners > Apple Health (View)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"li"),i["\u0275\u0275text"](31,"Tap "),i["\u0275\u0275elementStart"](32,"strong"),i["\u0275\u0275text"](33,"Export Workouts > Export Now"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"li"),i["\u0275\u0275text"](35,"Give it some time to get through the full sync process "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"p",23),i["\u0275\u0275element"](37,"img",24),i["\u0275\u0275text"](38," If you see a difference in Active Calories posted to the Apple Activity app (often referred to as the 3 Rings) and what is showing in Apple Health, read "),i["\u0275\u0275elementStart"](39,"a",25),i["\u0275\u0275text"](40," this article on the subject"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](41," on why that can happen."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function RL(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function jL(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function AL(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",13),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Workouts done in Apple's Activity app or other 3rd party apps that write complete activity data to Apple Health, should come over automatically when the "),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275text"](4,"Auto Import Workouts"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](5," is ON and you are a Star member. Open the app to initiate syncing and navigate to Results to see the activity detail. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"h4"),i["\u0275\u0275text"](9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"ol",19),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12,"Tap Menu > Partners > Apple Health > Import Workouts"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14,"Find the missing workouts, tap into them and tap "),i["\u0275\u0275elementStart"](15,"strong"),i["\u0275\u0275text"](16,"Import Workout"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18,"To import multiple activities at once, tap "),i["\u0275\u0275elementStart"](19,"strong"),i["\u0275\u0275text"](20,"Import"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](21," in the top right of the workout listing view"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" However, there are time limits put on transfers by Apple and other potential issues that might arise where you want to import an activity recorded on the Activity app directly into ",n.app_name,". "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("Syncing from Apple Health to ",n.app_name,":\xa0")}}function FL(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function BL(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function zL(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",13),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"If you are paired with the Health app using the steps above, after you complete an activity, it will be shared with Apple\u2019s Health app and stored there for review. Fitdigits will receive basic daily activity data such as steps and distance, depending on permissions granted and current levels of support."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Fitdigits will not send data pulled from partners (such as steps from Fitbit) to Apple Health, as Apple expressly does not allow it. Apple has advised developers for the Apple Health Kit to not send their data to other activity tracking companies as well."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275text"](6,"Also note Apple\u2019s Health data does not sync to multiple devices. So if you have an iPad and iPod Touch, Apple Health will treat this as two separate accounts, leading to possibilities for missed workouts or duplicates (data doesn't sync to Health across devices)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"Fitdigits is excited about the possibilities Apple Health offers, and we will continue to evolve our integration and functionality as Apple does the same."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10,"Health Data synced to and from Apple Health includes:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"ol",19),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"Daily Activity & Steps"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15,"Weight"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,"Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19,"Blood Pressure"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21,"VO2 Max"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function NL(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function HL(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function VL(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",13),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"If you recently changed devices, upgraded your phone, or got another iOS device recently and logged in, skip down to "),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275text"](4,"Re-Enable Apple Health Link"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](5," below."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7,"Otherwise, if you are not seeing any data from Apple Health to your app:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](8,"img",26),i["\u0275\u0275elementStart"](9,"ol",19),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Check in your device Settings > iCardio that you have granted permissions at the device level - the basic required permissions there are "),i["\u0275\u0275elementStart"](12,"strong"),i["\u0275\u0275text"](13,"Location"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14,", "),i["\u0275\u0275elementStart"](15,"strong"),i["\u0275\u0275text"](16,"Motion & Fitness"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](17," and "),i["\u0275\u0275elementStart"](18,"strong"),i["\u0275\u0275text"](19,"Background App Refresh"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](20,". "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22,"Check in Partners, make sure Apple Health is set as your preferred daily activity source. We only utilize data from the preferred daily activity source, which can be set in "),i["\u0275\u0275elementStart"](23,"a",27),i["\u0275\u0275text"](24,"Partners > Apple Health"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](25,". "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275text"](27,'Check permissions in Partners > Apple Health on the web or with Check Permissions in the app on the Partners view. If it says "'),i["\u0275\u0275elementStart"](28,"strong"),i["\u0275\u0275text"](29,"Partial"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](30,'", modify your permissions to include more requested permissions, or disable and re-enable the linking, but this time make sure all '),i["\u0275\u0275elementStart"](31,"a",28),i["\u0275\u0275text"](32," requested permissions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](33," are given. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"p"),i["\u0275\u0275text"](35,"If those three things are set properly, the next step would be to re-enable Apple Health on the device."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"p"),i["\u0275\u0275elementStart"](37,"strong"),i["\u0275\u0275text"](38,"Re-Enable Apple Health Link"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"ol",19),i["\u0275\u0275elementStart"](40,"li"),i["\u0275\u0275text"](41,"Tap "),i["\u0275\u0275elementStart"](42,"strong"),i["\u0275\u0275text"](43,"Menu > Partners > Apple Health"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"li"),i["\u0275\u0275text"](45,"Tap "),i["\u0275\u0275elementStart"](46,"strong"),i["\u0275\u0275text"](47,"Disable"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](48," in the upper right"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"li"),i["\u0275\u0275text"](50,"Tap "),i["\u0275\u0275elementStart"](51,"strong"),i["\u0275\u0275text"](52,"Link Account"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](53," again to re-enable linking."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](54,"li"),i["\u0275\u0275text"](55,"Make sure you choose ALL categories for both read and write when prompted."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"li"),i["\u0275\u0275text"](57,"Give it a few minutes to get through syncing historical data, it can take a little bit."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](58,"p"),i["\u0275\u0275elementStart"](59,"strong"),i["\u0275\u0275text"](60,"Check for Synchronization Errors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](61,"ol",19),i["\u0275\u0275elementStart"](62,"li"),i["\u0275\u0275text"](63,"Select "),i["\u0275\u0275elementStart"](64,"strong"),i["\u0275\u0275text"](65,"Menu > Sync > Advanced"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](66,"li"),i["\u0275\u0275text"](67,"See if there are any error icons in the Apple Health area of Advanced Sync. If so, select "),i["\u0275\u0275elementStart"](68,"strong"),i["\u0275\u0275text"](69,"Retry"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](70,". "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](71,"li"),i["\u0275\u0275text"](72,"If that doesn't fix it, select the row with the error, it should have a popup with more detail. Send that info to "),i["\u0275\u0275elementStart"](73,"a",29),i["\u0275\u0275text"](74,"Customer Support"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](75,". "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function YL(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function WL(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function GL(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",13),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2,"Modifying Apple Health Share Permissions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"video",30),i["\u0275\u0275elementStart"](4,"ol",19),i["\u0275\u0275elementStart"](5,"li"),i["\u0275\u0275text"](6,"Open the Apple Health app"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,"Select your Profile Photo in the top right section of Summary"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10,"Scroll down to Privacy > Apps and Services"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12,"Scroll down and tap the app name"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14,"Review or change any read and write settings as necessary - they all should be on in order to ensure proper data transfers."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"div",13),i["\u0275\u0275elementEnd"]())}var UL=function(){function e(e,t){this.ThemeService=e,this.AccountService=t,this.showOverview=!0,this.showSharing=!1,this.showDataSharing=!1,this.showHealthNav=!1,this.showTroubleshooting=!1,this.showInHealth=!1,this.app_name=null,this.showSharingFrom=!1}return e.prototype.ngOnInit=function(){this.app_name="Move"==this.ThemeService.baseAppName?this.ThemeService.baseAppName:this.AccountService.account.appName},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-apple-health"]],decls:62,vars:22,consts:[[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],["loading","lazy","width","75","src","/static/img/icons/health-logo-icon.png","alt","Apple Health",2,"float","right","margin","10px"],[2,"width","100%","text-align","center"],["loading","lazy","src","/static/img/partner/healthkit/apple-health-partner-screen.png","alt","Apple Health Partner View",1,"apple-health-screen"],[2,"clear","right","margin-top","20px"],["routerLink","/overview/apple-watch"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow","alt","Open Section",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow","alt","Close Section",4,"ngIf"],[1,"header-view-header"],["style","clear:both;",4,"ngIf"],[2,"clear","both"],["src","/static/img/icons/down_arrow_gray.png","alt","Open Section",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png","alt","Close Section",1,"openArrow"],[2,"width","155px","height","300px","margin","10px","overflow","hidden","float","right"],["href","/static/img/partner/healthkit/apple-health-permissions.png"],["loading","lazy","width","155","src","/static/img/partner/healthkit/apple-health-permissions.png","alt","Apple Health Permissions",2,"float","right"],[1,"list-spacing"],["routerLink","/profile"],["routerLink","/dailyactivity"],[2,"font-weight","bold"],[1,"references"],["src","/static/img/apple-activity-app-icon.png",2,"float","left","width","66px","margin-right","10px"],["href","https://www.cultofmac.com/387661/apple-fitness-apps-active-calories-dont-add-up/"],["loading","lazy","width","155","src","/static/img/icardio_permissions.png","alt","iCardio System Level Permissions",2,"float","right"],["routerLink","/partners"],["href","/static/img/icardio_permissions.png"],["routerLink","support"],["controls","","src","/static/img/apple-health-permissions-etc.mp4",2,"height","300px","float","right"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",1),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",2),i["\u0275\u0275element"](6,"p"),i["\u0275\u0275element"](7,"img",3),i["\u0275\u0275elementStart"](8,"div",4),i["\u0275\u0275element"](9,"img",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p",6),i["\u0275\u0275elementStart"](11,"strong"),i["\u0275\u0275text"](12,"Menu > Partners > Apple Health"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14),i["\u0275\u0275elementStart"](15,"a",7),i["\u0275\u0275text"](16,"Apple Watch"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](17," as well, as Apple requires all watch health data to go through Apple Health."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19,"To view Apple Health daily activity data, you must have Apple Health set as your "),i["\u0275\u0275elementStart"](20,"strong"),i["\u0275\u0275text"](21,"Preferred Daily Activity Provider"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](22,"."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"div",8),i["\u0275\u0275listener"]("click",function(){return t.showOverview=!t.showOverview}),i["\u0275\u0275template"](24,ML,1,0,"img",9),i["\u0275\u0275template"](25,IL,1,0,"img",10),i["\u0275\u0275elementStart"](26,"div",11),i["\u0275\u0275text"](27," Linking Apple Health "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](28,PL,42,0,"div",12),i["\u0275\u0275elementStart"](29,"div",8),i["\u0275\u0275listener"]("click",function(){return t.showSharing=!t.showSharing}),i["\u0275\u0275template"](30,TL,1,0,"img",9),i["\u0275\u0275template"](31,DL,1,0,"img",10),i["\u0275\u0275elementStart"](32,"div",11),i["\u0275\u0275text"](33," Sharing Workouts to Apple Health "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](34,LL,42,0,"div",12),i["\u0275\u0275elementStart"](35,"div",8),i["\u0275\u0275listener"]("click",function(){return t.showSharingFrom=!t.showSharingFrom}),i["\u0275\u0275template"](36,RL,1,0,"img",9),i["\u0275\u0275template"](37,jL,1,0,"img",10),i["\u0275\u0275elementStart"](38,"div",11),i["\u0275\u0275text"](39," Sharing Workouts from Apple Health "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](40,AL,22,2,"div",12),i["\u0275\u0275elementStart"](41,"div",8),i["\u0275\u0275listener"]("click",function(){return t.showDataSharing=!t.showDataSharing}),i["\u0275\u0275template"](42,FL,1,0,"img",9),i["\u0275\u0275template"](43,BL,1,0,"img",10),i["\u0275\u0275elementStart"](44,"div",11),i["\u0275\u0275text"](45," What Data is Shared with Apple Health? "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](46,zL,22,0,"div",12),i["\u0275\u0275elementStart"](47,"div",8),i["\u0275\u0275listener"]("click",function(){return t.showTroubleshooting=!t.showTroubleshooting}),i["\u0275\u0275template"](48,NL,1,0,"img",9),i["\u0275\u0275template"](49,HL,1,0,"img",10),i["\u0275\u0275elementStart"](50,"div",11),i["\u0275\u0275text"](51," Troubleshooting Pairing & Syncing "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](52,VL,76,0,"div",12),i["\u0275\u0275elementStart"](53,"div",8),i["\u0275\u0275listener"]("click",function(){return t.showInHealth=!t.showInHealth}),i["\u0275\u0275template"](54,YL,1,0,"img",9),i["\u0275\u0275template"](55,WL,1,0,"img",10),i["\u0275\u0275elementStart"](56,"div",11),i["\u0275\u0275text"](57," Navigating in Apple Health "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](58,GL,16,0,"div",12),i["\u0275\u0275element"](59,"div",13),i["\u0275\u0275elementStart"](60,"p"),i["\u0275\u0275text"](61,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,20,"ROOT.Apple Health")),i["\u0275\u0275advance"](11),i["\u0275\u0275textInterpolate1"]("The Health app provides daily steps, active & total calories per day and other metrics that help you gauge your activity levels. ",t.ThemeService.baseAppName," also posts to Health with information about your tracked activities. It is a critical component to using an "),i["\u0275\u0275advance"](10),i["\u0275\u0275property"]("ngIf",!t.showOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showSharing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showSharing),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showSharing),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showSharingFrom),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showSharingFrom),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showSharingFrom),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showDataSharing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showDataSharing),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showDataSharing),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showTroubleshooting),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showTroubleshooting),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showTroubleshooting),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showInHealth),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showInHealth),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showInHealth))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",".apple-health-screen[_ngcontent-%COMP%]{float:left;max-width:280px;margin:0 20px 20px 0}.references[_ngcontent-%COMP%]{border:1px solid;border-radius:4px;background-color:rgba(234,235,236,.1);padding:20px;margin:40px 0}@media (max-width:600px){.apple-health-screen[_ngcontent-%COMP%]{float:none;max-width:280px;margin:0 20px 20px 0}}"]}),e}();function qL(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function ZL(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function $L(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",9),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"On your Android:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"ol",12),i["\u0275\u0275elementStart"](4,"li"),i["\u0275\u0275text"](5,"From the home screen, select "),i["\u0275\u0275elementStart"](6,"strong"),i["\u0275\u0275text"](7,"Menu > Partners > Google Fit > Link Account"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Choose the Google Fit account to pair with "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Accept the permissions requested "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"p"),i["\u0275\u0275text"](13,"If you allowed reading daily activity metrics, you will be prompted to sync your data:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"ol",12),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275elementStart"](16,"strong"),i["\u0275\u0275text"](17,"Starting Today"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18,": this will only upload data from the day you tap onwards"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275elementStart"](20,"strong"),i["\u0275\u0275text"](21,"All Time"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](22,": this will sync all days with data on the device. If you previously had data on a date that also has data from this device, it will overwrite the conflicting Google Fit days data from the previous device. If there is no data from the new device, old device data will be maintained, so for most, there is a continuous Google Fit data stream. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"p"),i["\u0275\u0275text"](24,"When the sync is complete, you will be asked if you want motivating messaging through the day, just a daily report of the previous days activity, or no notifications at all."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"ul",12),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275elementStart"](27,"strong"),i["\u0275\u0275text"](28,"Yes Please"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](29,": a few updates through the day"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"li"),i["\u0275\u0275elementStart"](31,"strong"),i["\u0275\u0275text"](32,"No Thanks"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](33,": no local notifications"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"li"),i["\u0275\u0275elementStart"](35,"strong"),i["\u0275\u0275text"](36,"Summary Only"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](37,": the previous days summary only"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"p"),i["\u0275\u0275text"](39,"You can change this setting by visiting the "),i["\u0275\u0275elementStart"](40,"a",13),i["\u0275\u0275text"](41,"Profile > Notifications"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](42,"."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"p"),i["\u0275\u0275text"](44,"To view daily activity, select "),i["\u0275\u0275elementStart"](45,"a",14),i["\u0275\u0275text"](46,"Daily Activity"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](47," from the home screen or menu."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"div",15),i["\u0275\u0275element"](49,"img",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function XL(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function KL(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function JL(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",9),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Google Fit should sync up in the background nicely, however you can initiate an update by bringing the app to the foreground after being in the background, or tapping Menu > Sync on the app. Please allow a few seconds for the Daily Activity view to update."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"To share a specific activity with Google Fit:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"ol",12),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Go to Results and choose the workout you want to share"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Tap "),i["\u0275\u0275elementStart"](10,"strong"),i["\u0275\u0275text"](11,"Menu > Share > Google Fit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](12," in the upper right. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14,"If you don't see Google Fit, select "),i["\u0275\u0275elementStart"](15,"strong"),i["\u0275\u0275text"](16,"Add Share Partner"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](17," and choose Google Fit there to add it to the list. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function QL(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function eR(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function tR(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",9),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2,"Google Move Minutes & Time in Active Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,'Google "Move Minutes" is a new metric from them, and isn\u2019t the same as the Google full active time. You can tell even from the steps being so far below 10,000. This article gives you a bit of an overview on how they changed things: '),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275elementStart"](6,"a",17),i["\u0275\u0275text"](7," Google Revamps Move Minutes & Heart Points "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9,"\u201cPeople will earn credit for every \u201cmove minute\u201d they log, which tracks lower-intensity movement like walking. Fit rewards more rigorous activities such as biking, running or other workouts with something called \u201cHeart Points.\u201d A lower-key workout such as a brisk walk generates one point per minute, while an intense workout counts as two.\u201d"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11,"The Move program was setup to not be point oriented, but actual time in a fitness activity, more akin to the heart points but oriented to 30 minutes in the Heart Point zones than given actual points, and not really tied closely with move minutes, which can accumulate just from standing. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function nR(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function iR(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function rR(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",9),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"If you recently changed devices, upgraded your phone, or got another Android device recently and logged in, skip down to "),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275text"](4,"Re-Enable Google Fit Link"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](5," below."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7,"Otherwise, if you are not seeing any data from Google Fit to your app:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](8,"img",18),i["\u0275\u0275elementStart"](9,"ol",12),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Check in your device Settings > Apps > iCardio that you have granted permissions at the device level - the basic required permissions there are "),i["\u0275\u0275elementStart"](12,"strong"),i["\u0275\u0275text"](13,"Location"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14,", "),i["\u0275\u0275elementStart"](15,"strong"),i["\u0275\u0275text"](16,"Physical Activity"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](17," and "),i["\u0275\u0275elementStart"](18,"strong"),i["\u0275\u0275text"](19,"Storage"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](20,". "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22,"Check in Partners, make sure Google Fit is set as your preferred daily activity source. We only utilize data from the preferred daily activity source, which can be set in "),i["\u0275\u0275elementStart"](23,"a",19),i["\u0275\u0275text"](24,"Partners > Google Fit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](25,". "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"p"),i["\u0275\u0275text"](27,"If those are set properly, the next step would be to re-enable Google Fit on the device."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"p"),i["\u0275\u0275elementStart"](29,"strong"),i["\u0275\u0275text"](30,"Re-Enable Google Fit Link"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"ol",12),i["\u0275\u0275elementStart"](32,"li"),i["\u0275\u0275text"](33,"Tap "),i["\u0275\u0275elementStart"](34,"strong"),i["\u0275\u0275text"](35,"Menu > Partners > Google Fit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"li"),i["\u0275\u0275text"](37,"Tap "),i["\u0275\u0275elementStart"](38,"strong"),i["\u0275\u0275text"](39,"Disable"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](40," in the upper right"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"li"),i["\u0275\u0275text"](42,"Tap "),i["\u0275\u0275elementStart"](43,"strong"),i["\u0275\u0275text"](44,"Link Account"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](45," again to re-enable linking."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"li"),i["\u0275\u0275text"](47,"Make sure you choose all permissions requested when prompted."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"li"),i["\u0275\u0275text"](49,"Give it a few minutes to get through syncing historical data, it can take a little bit."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"p"),i["\u0275\u0275elementStart"](51,"strong"),i["\u0275\u0275text"](52,"Check for device Errors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"p"),i["\u0275\u0275text"](54,"If you are getting prompted in the app that there is another device currently linking with Google Fit on your account, but want to change devices, simply re-enable the link (see above) from the desired primary device."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](55,"p"),i["\u0275\u0275elementStart"](56,"strong"),i["\u0275\u0275text"](57,"Disable any Power Saving Mode, Battery Management apps or other 3rd party power/battery managers:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](58,"p"),i["\u0275\u0275text"](59,"Especially for Samsung users, but also other devices as well. Please check that "),i["\u0275\u0275elementStart"](60,"a",20),i["\u0275\u0275text"](61,"Samsung Power Savings Mode"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](62," or other Power saving modes are turned off when exercising and tracking activities if you intend to track while the app is in the background. When they are running, they will disable GPS tracking after a short period if the app is backgrounded."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"ol",12),i["\u0275\u0275elementStart"](64,"li"),i["\u0275\u0275elementStart"](65,"strong"),i["\u0275\u0275text"](66,"Samsung"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](67,": Battery settings > App power saving > Details > iCardio > Disabled"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](68,"li"),i["\u0275\u0275elementStart"](69,"strong"),i["\u0275\u0275text"](70,"LG"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](71,": Settings > Battery & Power saving > Battery usage > Ignore optimizations > turn ON for iCardio "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"li"),i["\u0275\u0275elementStart"](73,"strong"),i["\u0275\u0275text"](74,"Motorola"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](75,": Battery > Menu (upper right corner) > Battery optimization > Not optimized > All apps > select iCardio > Don\u2019t optimize "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](76,"li"),i["\u0275\u0275elementStart"](77,"strong"),i["\u0275\u0275text"](78,"HTC"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](79,": Phone settings > Battery > Power Saving Mode > Battery Optimization > select iCardio > Don\u2019t optimize > Save "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](80,"li"),i["\u0275\u0275elementStart"](81,"strong"),i["\u0275\u0275text"](82,"Huawei"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](83,": Turn Energy Settings to Normal and add iCardio to \u201cProtected Apps\u201d "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](84,"li"),i["\u0275\u0275elementStart"](85,"strong"),i["\u0275\u0275text"](86,"Sony"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](87,": Battery > Menu (upper right corner) > Battery optimization > Apps > iCardio "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var aR=function(){function e(){this.showOverview=!0,this.showSharing=!1,this.showDataSharing=!1,this.showTroubleshooting=!1}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-google-fit"]],decls:41,vars:15,consts:[[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],["loading","lazy","width","75","src","/static/img/partner/googlefit/GoogleFitIcon-64x64.png","alt","Google Fit",2,"float","right","margin","10px"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow","alt","Open Section",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow","alt","Close Section",4,"ngIf"],[1,"header-view-header"],["style","clear:both;",4,"ngIf"],[2,"clear","both"],["src","/static/img/icons/down_arrow_gray.png","alt","Open Section",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png","alt","Close Section",1,"openArrow"],[1,"list-spacing"],["routerLink","/profile"],["routerLink","/dailyactivity"],[2,"width","100%","text-align","center"],["loading","lazy","src","/static/img/partner/googlefit/google-fit-partner-screen.jpg","alt","Google Fit Partner View",2,"float","none","max-width","300px"],["href","https://www.washingtonpost.com/technology/2018/08/21/googles-revamped-fitness-app-tracks-move-minutes-heart-points/"],["loading","lazy","width","155","src","/static/img/partners/googlefit/google-fit-permissions.jpg","alt","iCardio System Level Permissions",2,"float","right"],["routerLink","/partners"],["href","http://www.samsung.com/us/support/answer/ANS00040905/"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",1),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",2),i["\u0275\u0275element"](6,"p"),i["\u0275\u0275element"](7,"img",3),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9,"Use your phone or smartwatch to track steps and daily activity on top of the great cardio workouts you\u2019re getting. Put the full picture together by linking the Google Fit app to your Fitdigits apps; daily steps, active & total calories per day and other metrics that help you gauge your activity levels and calorie burns."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",4),i["\u0275\u0275listener"]("click",function(){return t.showOverview=!t.showOverview}),i["\u0275\u0275template"](11,qL,1,0,"img",5),i["\u0275\u0275template"](12,ZL,1,0,"img",6),i["\u0275\u0275elementStart"](13,"div",7),i["\u0275\u0275text"](14," Linking Google Fit "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](15,$L,50,0,"div",8),i["\u0275\u0275elementStart"](16,"div",4),i["\u0275\u0275listener"]("click",function(){return t.showSharing=!t.showSharing}),i["\u0275\u0275template"](17,XL,1,0,"img",5),i["\u0275\u0275template"](18,KL,1,0,"img",6),i["\u0275\u0275elementStart"](19,"div",7),i["\u0275\u0275text"](20," Sharing Workouts to Google Fit "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](21,JL,18,0,"div",8),i["\u0275\u0275elementStart"](22,"div",4),i["\u0275\u0275listener"]("click",function(){return t.showDataSharing=!t.showDataSharing}),i["\u0275\u0275template"](23,QL,1,0,"img",5),i["\u0275\u0275template"](24,eR,1,0,"img",6),i["\u0275\u0275elementStart"](25,"div",7),i["\u0275\u0275text"](26," What Data is Shared with Google Fit? "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](27,tR,12,0,"div",8),i["\u0275\u0275elementStart"](28,"div",4),i["\u0275\u0275listener"]("click",function(){return t.showTroubleshooting=!t.showTroubleshooting}),i["\u0275\u0275template"](29,nR,1,0,"img",5),i["\u0275\u0275template"](30,iR,1,0,"img",6),i["\u0275\u0275elementStart"](31,"div",7),i["\u0275\u0275text"](32," Troubleshooting Pairing & Syncing "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](33,rR,88,0,"div",8),i["\u0275\u0275element"](34,"div",9),i["\u0275\u0275elementStart"](35,"p"),i["\u0275\u0275elementStart"](36,"strong"),i["\u0275\u0275text"](37,"Note"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](38,": You must have your weight entered in Google Fit to get Active and Resting Calorie data. You can only be paired with Google Fit on a single device per account at a time. Phones must have Google Fit enabled on a device with an accelerometer to get daily activity detail."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"p"),i["\u0275\u0275text"](40,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,13,"ROOT.Google Fit")),i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngIf",!t.showOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showSharing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showSharing),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showSharing),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showDataSharing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showDataSharing),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showDataSharing),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showTroubleshooting),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showTroubleshooting),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showTroubleshooting))},directives:[y.NgIf,S.f],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function oR(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"h4",13),i["\u0275\u0275element"](2,"img",14),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",n.partnerLinked," ",i["\u0275\u0275pipeBind1"](4,3,"ROOT.Linked"),""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,5,"ROOT.Please allow a few minutes for initial data transfers")," ")}}function sR(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function lR(e,t){1&e&&i["\u0275\u0275element"](0,"img",16)}function cR(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",17),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2,"Linking"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"If there is a large amount of data, synching may take a couple minutes."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"ol",18),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"From the home screen, select "),i["\u0275\u0275elementStart"](8,"strong"),i["\u0275\u0275text"](9,"Menu > Partners > Fitbit > Link Account"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Login to your Fitbit account "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"Accept the permissions requested, select "),i["\u0275\u0275elementStart"](14,"strong"),i["\u0275\u0275text"](15,"Allow"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](16," and "),i["\u0275\u0275elementStart"](17,"strong"),i["\u0275\u0275text"](18,"Done"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275text"](20,"If you have more than one partner linked, you also will need specify which one is your "),i["\u0275\u0275elementStart"](21,"a",19),i["\u0275\u0275text"](22,"Preferred Daily Activity"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](23," data provider."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"h4"),i["\u0275\u0275text"](25,"Unlinking"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"ol",18),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275text"](28,"From the home screen, select "),i["\u0275\u0275elementStart"](29,"strong"),i["\u0275\u0275text"](30,"Menu > Partners > Fitbit > Unlink"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"li"),i["\u0275\u0275text"](32,"Done "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"p"),i["\u0275\u0275text"](34,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function dR(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function uR(e,t){1&e&&i["\u0275\u0275element"](0,"img",16)}function pR(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.ThemeService.baseAppName)}}function hR(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275elementStart"](2,"strong"),i["\u0275\u0275text"](3,"Q: How does the data get me qualified in the Move program?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275elementStart"](5,"strong"),i["\u0275\u0275text"](6,"A:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7," We receive steps, distance, and time in a particular activity level from Fitbit on devices that support activity levels. We also get sleep, elevation & floors if the device supports it. We *do not* get self-defined or 3rd party workouts that are imported or entered manually on Fitbit. However, the time in activity levels will most likely mirror any workouts done with the Fitbit on if the steps count support the activity level."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9,"Fitbit data shows under Menu > Daily Activity. You can also see the data and ribbons on days that qualify as active days on Menu > Calendar."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11,"Even when linked to an activity monitor, you can still use the app to record Activities as well. Hitting a daily goal with either the app or Fitbit will count towards the Active Day requirements. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function mR(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",17),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275text"](4,"Menu > Daily Activity"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](5," in the app or website."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275elementStart"](7,"strong"),i["\u0275\u0275text"](8,"Q: Can I wear my Fitbit during a Fitdigits workout and not get double calories?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275elementStart"](10,"strong"),i["\u0275\u0275text"](11,"A:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](12," Yes! Fitdigits and Fitbit are integrated so that whenever you begin a Fitdigits workout all Fitbit calories accumulated during the duration of your Fitbit workout will be ignored. During workouts, Fitdigits gives you a more accurate caloric burn, so we use this instead of Fitbit. Make sure to keep your Fitbit on so you still get credit for your steps."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](13,"br"),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275elementStart"](15,"strong"),i["\u0275\u0275text"](16,"Q: Do my Fitdigits workouts get sent to Fitbit?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"p"),i["\u0275\u0275elementStart"](18,"strong"),i["\u0275\u0275text"](19,"A:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](20," Yes they do! Whenever you sync your Fitdigits app, the workout will be sent to Fitbit.com so you have a record in both places"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275elementStart"](22,"strong"),i["\u0275\u0275text"](23,"Q: Why do I see a difference in your Active Time vs Fitbit's Zone Minutes?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"p"),i["\u0275\u0275elementStart"](25,"strong"),i["\u0275\u0275text"](26,"A:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](27," Fitbit "),i["\u0275\u0275elementStart"](28,"a",20),i["\u0275\u0275text"](29," changed their algorithm in late 2020"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](30,', changing what was displayed and the calculations, and released it for only some high end models. The new metric is called "Zone Minutes", and is not available to 3rd party integrators yet.. This is different from their old "Active Time" minutes, which is what is still available in their API. which are not supported in all devices or supported with the Fitbit API yet so are not able to count towards Move credit.'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"p"),i["\u0275\u0275text"](32,"More Discussion:"),i["\u0275\u0275element"](33,"br"),i["\u0275\u0275elementStart"](34,"a",20),i["\u0275\u0275text"](35," Article 1"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](36," / "),i["\u0275\u0275elementStart"](37,"a",21),i["\u0275\u0275text"](38,"Article 2"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](39," / "),i["\u0275\u0275elementStart"](40,"a",22),i["\u0275\u0275text"](41," Discussion Board"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](42,"br"),i["\u0275\u0275elementStart"](43,"a",23),i["\u0275\u0275text"](44," See how Fitbit changed their algorithm in 2015."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](45,hR,12,0,"div",10),i["\u0275\u0275elementStart"](46,"h4"),i["\u0275\u0275text"](47,"Linking MyFitnessPal, Fitdigits and a Daily Activity partner"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"p"),i["\u0275\u0275text"](49,"We have found that linking Fitdigits with activity tracker (Fitbit, Apple Health, etc), then the activity tracker with MyFitnessPal is the best way to link the three partners. If you try to link them a different way, problems can occur."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("To view your Fitbit and ",n.ThemeService.baseAppName," steps and calories graphed over time in the app, go to "),i["\u0275\u0275advance"](43),i["\u0275\u0275property"]("ngIf",n.ThemeService.isThemeBecolorado)}}function gR(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function fR(e,t){1&e&&i["\u0275\u0275element"](0,"img",16)}function vR(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",17),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2,"Linking Issues"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"You may want to unlink and re-link as outlined above. It can often clear up a lot of issues, but not all."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"h4"),i["\u0275\u0275text"](6,"No Data There at All, and Never has Been"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"ol",18),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"One error you might see is \u201cInsufficient permissions given to retrieve Fitbit data, please re-link your Fitbit account.\u201d If you get that error, it means on the original linking, not enough of the permissions were allowed in order for us to access the profile and/or data. "),i["\u0275\u0275element"](10,"br"),i["\u0275\u0275element"](11,"br"),i["\u0275\u0275text"](12,"The solution here is to remove the link from Fitbit side as well as ours. On Fitbit that information is here: "),i["\u0275\u0275elementStart"](13,"a",24),i["\u0275\u0275text"](14,"fitbit.com/user/profile/apps"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"br"),i["\u0275\u0275element"](16,"br"),i["\u0275\u0275text"](17,"On the Fitdigits side, unlink using the procedures outlined above. Do an unlink / relink, but with all permissions enabled, it should update the data. Please give it a few minutes after re-linking to get all the data from Fitbit. "),i["\u0275\u0275element"](18,"br"),i["\u0275\u0275element"](19,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21,"If you don\u2019t see the error on permissions, and are not getting data, it may be an account issue, either on the linking level or a different account connected. "),i["\u0275\u0275element"](22,"br"),i["\u0275\u0275element"](23,"br"),i["\u0275\u0275text"](24,"The first thing to do is confirm what email/account your current Fitbit is syncing to \u2013 you can find that on "),i["\u0275\u0275elementStart"](25,"a",25),i["\u0275\u0275text"](26,"www.fitbit.com"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](27," \u2013 login with your Fitbit credentials, confirm you can see the steps there, then click on the gear at the right and go to Settings. You can see the email in the upper left and Profile section. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"h4"),i["\u0275\u0275text"](29,"Data was coming through, but not recently or not current"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"p"),i["\u0275\u0275text"](31,"If you wait until later in the day, then hit refresh. If after 24 hours you still have not seen an update:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"h4"),i["\u0275\u0275text"](33,"Steps & Activity aren't Current"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"p"),i["\u0275\u0275text"](35,"Often this is a timing issue. We don\u2019t sync with the fitbit app directly, but with the fitbit.com cloud to the platform. We do this a maximum of a couple times a day. If you don\u2019t see data you expect after a day or so, check fitbit.com and make sure the data is in their cloud before contacting support. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"ol",18),i["\u0275\u0275elementStart"](37,"li"),i["\u0275\u0275text"](38),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"li"),i["\u0275\u0275text"](40,"Confirm the data has gone from your device to the Fitbit servers "),i["\u0275\u0275element"](41,"br"),i["\u0275\u0275element"](42,"br"),i["\u0275\u0275text"](43),i["\u0275\u0275element"](44,"br"),i["\u0275\u0275element"](45,"br"),i["\u0275\u0275text"](46,"Sometimes data can get stuck in one of the earlier sync steps, often a device reboot will clear up the issue. "),i["\u0275\u0275elementStart"](47,"ol"),i["\u0275\u0275elementStart"](48,"li"),i["\u0275\u0275text"](49,"Login to "),i["\u0275\u0275elementStart"](50,"a",25),i["\u0275\u0275text"](51,"fitbit.com"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"li"),i["\u0275\u0275text"](53,"Select Log"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](54,"li"),i["\u0275\u0275text"](55,"Select Activities"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"li"),i["\u0275\u0275text"](57,"Click the date range you want steps data for"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](58,"img",26),i["\u0275\u0275elementStart"](59,"p"),i["\u0275\u0275text"](60,"Make sure nothing has changed \u2013 no new devices recently, new email, anything like that. If so, an unlink and re-link might clear things up as long as data is showing in the fitbit.com site."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](61,"p"),i["\u0275\u0275text"](62,"We did run into an issue with a new Fitbit the other day and had to have a Fitbit support rep tell us how to logout / log back into the Fitbit app and re-assign the account to a new device in order to get it to sync the data from the new device from the app to the cloud."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"h4"),i["\u0275\u0275text"](64,"There is a difference in Active Time vs Fitbit's Zone Minutes"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](65,"p"),i["\u0275\u0275text"](66,"See above in the FAQs on the difference between Zone Minutes and Active Time"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](38),i["\u0275\u0275textInterpolate1"]("Confirmed you linked the exact same account / email at Fitbit you used to link ",n.ThemeService.baseAppName," (see above) "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("Note the flow of data is Device > sync to > Fitbit app > sync to > fitbit.com > sync to > ",n.ThemeService.baseAppName,". The data must show up first on fitbit.com, not just on the app. ")}}var yR=function(){function e(e,t){var n=this;this.ThemeService=e,this.route=t,this.showOverview=!0,this.showCalories=!0,this.showTroubleShooting=!0,this.route.queryParams.subscribe(function(e){n.partnerLinked=e.partner})}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](S.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-fitbit"]],decls:33,vars:12,consts:[[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],["class","partner-linked-new",4,"ngIf"],["loading","lazy","width","75","src","/static/img/partner/fitbit/fitbit-64-blk-transparent.png","alt","Fitbit",2,"float","right","margin","10px"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow","alt","Open Section",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow","alt","Close Section",4,"ngIf"],[1,"header-view-header"],["style","clear:both;",4,"ngIf"],[4,"ngIf"],[1,"fitbit-note"],[1,"partner-linked-new"],[2,"margin","10px"],["src","/static/img/party_icon.png",2,"margin-right","10px"],["src","/static/img/icons/down_arrow_gray.png","alt","Open Section",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png","alt","Close Section",1,"openArrow"],[2,"clear","both"],[1,"list-spacing"],["routerLink","/partners"],["href","https://www.wareable.com/fitbit/active-zone-minutes-explained-7968#:~:text=Active%20Zone%20Minutes%20have%20replaced,based%20on%20your%20heart%20rate.&text=One%20minute%20gets%20you%20one,zones%2C%20you%20get%20double%20points."],["href","https://lovin.co/dubai/en/latest/fitbit-tracking-active-minutes"],["href","https://community.fitbit.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&filter=location&location=category:EN&q=Very%20active%20minutes"],["href","https://mobihealthnews.com/42241/fitbit-extends-minimum-time-frame-for-active-minutes/"],["href","https://www.fitbit.com/user/profile/apps"],["href","https://www.fitbit.com"],["src","https://fitdigits.uservoice.com/assets/104798577/new-fitbit-steps-location2.png"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",1),i["\u0275\u0275text"](3,"Fitbit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",2),i["\u0275\u0275template"](5,oR,7,7,"div",3),i["\u0275\u0275element"](6,"img",4),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showOverview=!t.showOverview}),i["\u0275\u0275template"](10,sR,1,0,"img",6),i["\u0275\u0275template"](11,lR,1,0,"img",7),i["\u0275\u0275elementStart"](12,"div",8),i["\u0275\u0275text"](13," Linking & Unlinking Fitbit "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,cR,35,0,"div",9),i["\u0275\u0275elementStart"](15,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showCalories=!t.showCalories}),i["\u0275\u0275template"](16,dR,1,0,"img",6),i["\u0275\u0275template"](17,uR,1,0,"img",7),i["\u0275\u0275elementStart"](18,"div",8),i["\u0275\u0275text"](19," Fitbit FAQs "),i["\u0275\u0275template"](20,pR,2,1,"span",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](21,mR,50,2,"div",9),i["\u0275\u0275elementStart"](22,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showTroubleShooting=!t.showTroubleShooting}),i["\u0275\u0275template"](23,gR,1,0,"img",6),i["\u0275\u0275template"](24,fR,1,0,"img",7),i["\u0275\u0275elementStart"](25,"div",8),i["\u0275\u0275text"](26," Troubleshooting Pairing & Syncing "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](27,vR,67,2,"div",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"div",11),i["\u0275\u0275elementStart"](29,"h4"),i["\u0275\u0275text"](30,"Fitbit Heart Rate Monitor Features"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"p"),i["\u0275\u0275text"](32,"Please note, especially for older models, many versions of Fitbit heart rate are not compatible with our apps. Fitbit Charge 6 will support heart rate. Check your model for the ability to pair with a thrid-party app."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",t.partnerLinked),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("Link your Fitbit account to get in-depth analysis and views of your steps, calories and daily activity levels in ",t.ThemeService.baseAppName,". "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showCalories),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showCalories),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showCalories),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showTroubleShooting),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showTroubleShooting),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showTroubleShooting))},directives:[y.NgIf,S.f],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",".fitbit-note[_ngcontent-%COMP%]{border:1px solid;padding:10px;margin:40px 20px;clear:both;float:left}"]}),e}();function bR(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function xR(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function _R(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"ol",13),i["\u0275\u0275elementStart"](2,"li"),i["\u0275\u0275text"](3,"From the home screen, select "),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275text"](5,"Menu > Partners > Garmin > Link Account"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Login to your Garmin account "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Accept the permissions requested, select Allow and Done "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11,"If you have more than one partner linked, you also will need specify which one is your "),i["\u0275\u0275elementStart"](12,"a",14),i["\u0275\u0275text"](13,"Preferred Daily Activity"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14," data provider."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"div",12),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275text"](17,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275elementStart"](19,"strong"),i["\u0275\u0275text"](20,"Exporting from Garmin Connect"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22,"We only get activities from Garmin when they are completed after linking accounts and while they are linked. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"p"),i["\u0275\u0275text"](24,"For past workouts, you can export and import those activities."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](25,"img",15),i["\u0275\u0275elementStart"](26,"ol",13),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275text"](28,"On Garmin Connect, Menu > "),i["\u0275\u0275elementStart"](29,"strong"),i["\u0275\u0275text"](30,"Activities"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"li"),i["\u0275\u0275text"](32,"Choose the activity you want to share the Google Fit account to pair with "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"li"),i["\u0275\u0275text"](34,"In the activity detail, click on the small gear icon in the top right, and then Export to TCX from the menu (or GPX) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"li"),i["\u0275\u0275text"](36,"The export will download to your local hard drive"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"li"),i["\u0275\u0275text"](38,"Import the file at "),i["\u0275\u0275elementStart"](39,"a",16),i["\u0275\u0275text"](40,"my.fitdigits.com/importexport"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"a",17),i["\u0275\u0275text"](42,"More on Import / Export"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"p"),i["\u0275\u0275text"](44,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var wR=function(){function e(){this.showOverview=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-garmin"]],decls:20,vars:3,consts:[[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],["loading","lazy","width","75","src","/static/img/partner/garmin/garmin-64x64.png","alt","Garmin",2,"float","right","margin","10px"],["routerLink","/fitness-sensors/ant"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow","alt","Open Section",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow","alt","Close Section",4,"ngIf"],[1,"header-view-header"],["style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png","alt","Open Section",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png","alt","Close Section",1,"openArrow"],[2,"clear","both"],[1,"list-spacing"],["routerLink","/partners"],["loading","lazy","width","300","src","/static/img/garmin-export.png","alt","Export from Garmin",2,"float","right"],["routerLink","/importexport"],["routerLink","/overview/import-export"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",1),i["\u0275\u0275text"](3,"Garmin"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",2),i["\u0275\u0275element"](5,"p"),i["\u0275\u0275element"](6,"img",3),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"Fitdigits is very proud of our long relationship with Garmin. Easily link your Garmin account, and you will get your Garmin daily steps, calories and daily activity time, as well as activities posted directly to Fitdigits. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10,"To get heart rate from the Garmin line of watches natively to our app, so you can see it real time on our beautiful large graphs, with custom zone coaching and a whole variety of other cool features, you would need a Bluetooth to ANT+ signal convertor like the "),i["\u0275\u0275elementStart"](11,"a",4),i["\u0275\u0275text"](12,"C.A.B.L.E. from North Pole Engineering"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](13,". A super cool and handy tool for sure, which can be leveraged to allow both app tracking with us and Zwift too, if you are a Zwift enthusiast."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showOverview=!t.showOverview}),i["\u0275\u0275template"](15,bR,1,0,"img",6),i["\u0275\u0275template"](16,xR,1,0,"img",7),i["\u0275\u0275elementStart"](17,"div",8),i["\u0275\u0275text"](18," Linking Garmin "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](19,_R,45,0,"div",9),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](15),i["\u0275\u0275property"]("ngIf",!t.showOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showOverview))},directives:[S.f,y.NgIf],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function SR(e,t){1&e&&i["\u0275\u0275element"](0,"img",9)}function CR(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function kR(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",11),i["\u0275\u0275elementStart"](1,"ol",12),i["\u0275\u0275elementStart"](2,"li"),i["\u0275\u0275text"](3,"From the home screen, select "),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275text"](5,"Menu > Partners > MyFitnessPal > Link Account"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Login to your MyFitnessPal account "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Accept the permissions requested, select Allow and Done "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11,"After you complete a Fitdigits workout the application will automatically send the amount of calories you burn to your MyFitnessPal account!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"h4"),i["\u0275\u0275text"](13,"Linking MyFitnessPal and a Daily Activity partner"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275text"](15,"We have found that linking Fitdigits with activity tracker (Fitbit, Apple Health, etc), then the activity tracker with MyFitnessPal is the best way to link the three partners for calorie expenditure. If you try to link them a different way, problems can occur."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var OR=function(){function e(){this.showOverview=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-myfitnesspal"]],decls:15,vars:3,consts:[[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],["loading","lazy","width","75","src","/static/img/partner/myfitnesspal/myfitnesspalIcon-64x64.png","alt","MyFitnessPal",2,"float","right","margin","10px"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow","alt","Open Section",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow","alt","Close Section",4,"ngIf"],[1,"header-view-header"],["style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png","alt","Open Section",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png","alt","Close Section",1,"openArrow"],[2,"clear","both"],[1,"list-spacing"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",1),i["\u0275\u0275text"](3,"MyFitnessPal"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",2),i["\u0275\u0275element"](5,"p"),i["\u0275\u0275element"](6,"img",3),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"Link your Fitdigits account with MyFitnessPal, and you will be able to see your Fitdigits calories count towards your daily allowance from MyFitnessPal."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",4),i["\u0275\u0275listener"]("click",function(){return t.showOverview=!t.showOverview}),i["\u0275\u0275template"](10,SR,1,0,"img",5),i["\u0275\u0275template"](11,CR,1,0,"img",6),i["\u0275\u0275elementStart"](12,"div",7),i["\u0275\u0275text"](13," Linking MyFitnessPal "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,kR,16,0,"div",8),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](10),i["\u0275\u0275property"]("ngIf",!t.showOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showOverview))},directives:[y.NgIf],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function ER(e,t){1&e&&i["\u0275\u0275element"](0,"img",18)}function MR(e,t){1&e&&i["\u0275\u0275element"](0,"img",19)}function IR(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275elementStart"](2,"a",26),i["\u0275\u0275text"](3,"Free Download: Test compatibility of any sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementEnd"]())}function PR(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",20),i["\u0275\u0275elementStart"](2,"div",21),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Our heart rate training & tracking apps are compatible with most Bluetooth Smart | Bluetooth 4.0 | Bluetooth Low Energy (BLE) compatible Cadence sensors."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,IR,5,0,"div",22),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"div",17),i["\u0275\u0275elementStart"](7,"div",23),i["\u0275\u0275elementStart"](8,"ul",7),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10," CatEye Bluetooth Speed and Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12," Garmin Bike Speed 2 and Cadence 2 Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14," iGPSPORT Speed Sensor and Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16," Polar Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18," TAOPE Speed Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div",24),i["\u0275\u0275elementStart"](20,"ul",7),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22," Wahoo Blue Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24," Wahoo RPM Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275text"](26," Wahoo RPM Speed Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275text"](28," Wahoo Blue SC Speed and Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"li"),i["\u0275\u0275text"](30," Scosche Rhythm Speed & Cadence "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](31,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isThemeBecolorado)}}var TR=function(){function e(e){this.ThemeService=e,this.showCadenceCompatibility=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-cadence"]],decls:86,vars:3,consts:[[1,"main-menu-section-heading"],["routerLink","/fitness-sensors"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],["href","https://spinning.com/dual-mode-cadence-sensor/"],["href","http://www.wahoofitness.com/devices/wahoo-rpm-cadence-sensor.html"],[1,"list-spacing"],[1,"note-info"],["src","/static/img/note-info-icon.png",1,"note-info-icon"],["href","http://www.dcrainmaker.com/2014/01/record-cadence-information.html"],["src","/static/img/power-meter-detail.png",1,"support-image-single"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],[4,"ngIf"],[2,"clear","both"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],["alt","Bluetooth Low Energy Compatible","src","/static/img/bluetooth_smart.png",1,"compBLEicon"],[1,"compTopText"],["class","supportDownloadMsg",4,"ngIf"],[1,"sensorColumnLeft"],[1,"sensorColumnRight"],[1,"supportDownloadMsg"],["routerLink","/signup"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5,"Cadence Sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",4),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8," Fitdigits apps are compatible with the "),i["\u0275\u0275elementStart"](9,"a",5),i["\u0275\u0275text"](10,"Spinning\xae Cadence Sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](11,", "),i["\u0275\u0275elementStart"](12,"a",6),i["\u0275\u0275text"](13,"Wahoo RPM Cadence Sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14," and other Bluetooth Low Energy compatible cadence sensors like Bryton, Polar, CycleOps and more. Use the sensor to accurately track your Spinning / Indoor Cycling cadence, or use the sensor to track a bike ride while using GPS to track speed and distance. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"ol",7),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,"Install your Cadence Sensor on your bike or Spinning Bike"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19,"Push the pedals in order to activate the sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21,"Open the Fitdigits app and go to Menu > Settings > Sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275text"](23,"Scroll down to \u201cCadence\u201d hit the + button"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275text"](25,"The app should scan and find the active cadence sensor. Tap OK to pair"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"p"),i["\u0275\u0275text"](27,"You are now paired! Begin a Spinning or Bike workout to get real time cadence. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"p"),i["\u0275\u0275text"](29,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"p",8),i["\u0275\u0275element"](31,"img",9),i["\u0275\u0275text"](32," Check out DC Rainmaker\u2019s post on "),i["\u0275\u0275elementStart"](33,"a",10),i["\u0275\u0275text"](34,'"How to get and record cadence information on a spin or gym bike"'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](35," for tips on how to utilize the RPM Cadence Sensor on a bike \u2013 pretty cool stuff."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"p"),i["\u0275\u0275text"](37,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](38,"img",11),i["\u0275\u0275elementStart"](39,"h4"),i["\u0275\u0275text"](40,"Sensor Details & Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"p"),i["\u0275\u0275elementStart"](42,"strong"),i["\u0275\u0275text"](43,"Cadence: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](44,"On / Off"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"p"),i["\u0275\u0275elementStart"](46,"strong"),i["\u0275\u0275text"](47,"Reading: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](48,"Watts reading from the sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"p"),i["\u0275\u0275elementStart"](50,"strong"),i["\u0275\u0275text"](51,"Name: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](52,"Customize the name of your Cadence sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"p"),i["\u0275\u0275elementStart"](54,"strong"),i["\u0275\u0275text"](55,"Connection: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](56,"Protocol for the sensor (typically Bluetooth LE)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](57,"p"),i["\u0275\u0275elementStart"](58,"strong"),i["\u0275\u0275text"](59,"Battery: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](60,"Reported by the sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](61,"p"),i["\u0275\u0275elementStart"](62,"strong"),i["\u0275\u0275text"](63,"ID: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](64,"Sensor ID - reported by the sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](65,"p"),i["\u0275\u0275elementStart"](66,"strong"),i["\u0275\u0275text"](67,"Use as Cadence: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](68,"If the power meter also supports cadence, which many do, this will enable cadence & power metrics"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](69,"br"),i["\u0275\u0275elementStart"](70,"p"),i["\u0275\u0275elementStart"](71,"strong"),i["\u0275\u0275text"](72,"Delete "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](73,"Upper right, removes the sensor pairing"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](74,"br"),i["\u0275\u0275elementStart"](75,"p"),i["\u0275\u0275text"](76,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](77,"div",12),i["\u0275\u0275listener"]("click",function(){return t.showCadenceCompatibility=!t.showCadenceCompatibility}),i["\u0275\u0275template"](78,ER,1,0,"img",13),i["\u0275\u0275template"](79,MR,1,0,"img",14),i["\u0275\u0275elementStart"](80,"div",15),i["\u0275\u0275text"](81," Compatibility "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](82,PR,32,1,"div",16),i["\u0275\u0275element"](83,"div",17),i["\u0275\u0275elementStart"](84,"p"),i["\u0275\u0275text"](85,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](78),i["\u0275\u0275property"]("ngIf",!t.showCadenceCompatibility),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showCadenceCompatibility),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showCadenceCompatibility))},directives:[S.f,y.NgIf],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function DR(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function LR(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function RR(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Having a foot pod can make life a lot easier. You do not have to worry about a poor GPS signal, plus you get the valuable number of strides and cadence. To pair your BLE compatible foot pod (otherwise known as a stride sensor) with your Fitdigits apps:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"ol"),i["\u0275\u0275elementStart"](4,"li"),i["\u0275\u0275text"](5,"Tap either the main menu (three bars in the top right) then Sensors, or on the home screen, tap the gear options icon, then Manage Sensors. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"With the foot pod installed (see the manufacturers suggestions and instructions) and tapping your foot (to \u201cwake up\u201d the sensor), turn the Bluetooth Smart switch in the Foot Pod section to ON. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"You should see a successful pairing notice like shown below, and then see the foot pod information just below the ON button in that section. \xa0To access more information, delete the pairing, or turn on GPS options with the foot pod, tap the name of the foot pod. See below on Calibration for more. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](10,"img",12),i["\u0275\u0275elementEnd"]())}function jR(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function AR(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function FR(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"One thing about food pods / stride sensors, however, is that they are not perfect. Just the other day, I caught mine lying about my distance."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"A foot pod can be calibrated to fit each person\u2019s stride length. A foot pod is automatically set to estimate distance based on an \u201caverage\u201d stride and height, but for everyone else, your foot pod distance can be a little or a lot wrong. For example, if Shaquille O\u2019Neil used the same foot pod, I think The Big Diesel would have strides a bit bigger than Mini-Me\u2019s, leading to drastically inaccurate distance readings. There is also the idea of \u201caverage\u201d stride \u2013 I\u2019ve found, even after calibration, at times the distance can be a bit off \u2013 like in the hills when the stride is shorter. Not much, but a bit."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275text"](6,"Still, in terms of a smooth pace (especially useful for pace-based routines), faster auto-pause, or times where you don\u2019t have good GPS (treadmills, indoor track, etc) they are very helpful."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"To access the calibration screen, from the Sensor screen (shown above) tap on the name of the currently paired foot pod sensor."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10,"Note that to true up a foot pod, a calibration factor must be determined. Luckily, You will want to do an initial run with a known distance, ideally a run you do regularly (so it can be using the average stride length on that route as your average), and longer tends to be better than shorter."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275text"](12,"Then, to calibrate your foot pod after your run:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"ol",13),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15,"Calculate the factor to calibrate by using the formula: \xa0 [Distance recorded by GPS] / [Distance measured by Foot Pod] \u2013 for example, if you did a 5 mile run using the foot pod, and the foot pod says you went 4.9 miles, the factor would be: \xa05/4.9 = 1.020 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,"Tap the name of your Foot Pod from the Sensor screen."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19,"Tap Calibration"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21,"Enter that calibration factor in the Actual Distance for 1 mile field."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275text"](23,"Appreciate the awesomeness that is accuracy!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"p"),i["\u0275\u0275text"](25,"All of your foot pod workouts will use this calibration factor to assure that your Fitdigits results are as accurate as possible."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](26,"img",14),i["\u0275\u0275elementStart"](27,"p"),i["\u0275\u0275text"](28,"Side note \u2013 sometimes the foot pod distance is off due to improper setup. For example, if it is not as secure on the shoe and bounces around a lot, it may be prone to be less accurate. Please consult the manufacturers suggestions."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function BR(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function zR(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function NR(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",15),i["\u0275\u0275elementStart"](2,"div",16),i["\u0275\u0275elementStart"](3,"span"),i["\u0275\u0275elementStart"](4,"b"),i["\u0275\u0275text"](5,"Give your Sensor a try with our Free Trial"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"Our heart rate training & tracking apps are compatible with most Bluetooth Smart | Bluetooth 4.0 | Bluetooth Low Energy (BLE) compatible Power sensors."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275elementStart"](10,"a",17),i["\u0275\u0275text"](11,"Download"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](12," and test compatibility of any sensor for free when you sign up!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"ul",13),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15," Polar Stride Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17," Adidas Speed Cell "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19," Stryd Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](20,"div",18),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var HR=function(){function e(){this.showFootpodCompatibility=!0,this.showFootpodPairing=!0,this.showFootpodCaliration=!1}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-footpods"]],decls:25,vars:9,consts:[[1,"main-menu-section-heading"],["routerLink","/fitness-sensors"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],[4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],["src","/static/img/footpod-pairing.png",1,"support-image-large"],[1,"list-spacing"],["src","/static/img/footpod-calibration.png",1,"support-image-large"],["alt","Bluetooth Low Energy Compatible","src","/static/img/bluetooth_smart.png",1,"compBLEicon"],[1,"compTopText"],["routerLink","/signup"],[2,"clear","both"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5,"Foot Pod and Stride Sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",4),i["\u0275\u0275elementStart"](7,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showFootpodPairing=!t.showFootpodPairing}),i["\u0275\u0275template"](8,DR,1,0,"img",6),i["\u0275\u0275template"](9,LR,1,0,"img",7),i["\u0275\u0275elementStart"](10,"div",8),i["\u0275\u0275text"](11," Foot Pod | Stride Sensor Pairing "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](12,RR,11,0,"div",9),i["\u0275\u0275elementStart"](13,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showFootpodCaliration=!t.showFootpodCaliration}),i["\u0275\u0275template"](14,jR,1,0,"img",6),i["\u0275\u0275template"](15,AR,1,0,"img",7),i["\u0275\u0275elementStart"](16,"div",8),i["\u0275\u0275text"](17," Calibrating the Foot Pod | Stride Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](18,FR,29,0,"div",9),i["\u0275\u0275elementStart"](19,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showFootpodCompatibility=!t.showFootpodCompatibility}),i["\u0275\u0275template"](20,BR,1,0,"img",6),i["\u0275\u0275template"](21,zR,1,0,"img",7),i["\u0275\u0275elementStart"](22,"div",8),i["\u0275\u0275text"](23," Compatibility "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](24,NR,23,0,"div",9),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngIf",!t.showFootpodPairing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showFootpodPairing),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showFootpodPairing),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showFootpodCaliration),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showFootpodCaliration),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showFootpodCaliration),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showFootpodCompatibility),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showFootpodCompatibility),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showFootpodCompatibility))},directives:[S.f,y.NgIf],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function VR(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function YR(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function WR(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"div",13),i["\u0275\u0275elementStart"](2,"p"),i["\u0275\u0275elementStart"](3,"a",14),i["\u0275\u0275text"](4,"Pairing and Using "),i["\u0275\u0275element"](5,"img",15),i["\u0275\u0275text"](6," Your Apple Watch"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"img",16),i["\u0275\u0275elementStart"](8,"h4"),i["\u0275\u0275text"](9,"Pairing your Heart Rate Monitor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275elementStart"](11,"strong"),i["\u0275\u0275text"](12,"Menu > Settings > Sensors > Power > + "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14,"Tap the + button while the sensor is worn / engaged"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"h4"),i["\u0275\u0275text"](16,"Wrist or Arm / Optical Sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"p"),i["\u0275\u0275text"](18,"Make sure the heart rate monitor is on your body properly and the power is on turned on the heart rate monitor. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275text"](20,"Typically when it has power there are lights on the monitor, and there are green and/or orange flashing lights on the part that touches your skin on most optical HRMs as they try and read your heart rate. Check the back of your Scosche or Polar OH-1, etc to make sure lights are on."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"h4"),i["\u0275\u0275text"](22,"Chest Straps"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"p"),i["\u0275\u0275text"](24,"Make sure the heart rate monitor is on your body properly. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"p"),i["\u0275\u0275text"](26,"Chest straps need moisture to start activation. Dab water, saliva, or gel onto the underside of the electrode receivers on the strap to strengthen the electrode connection. Sometimes initially there isn\u2019t enough sweat to activate a good signal. You want to create real chemistry between you and the belt."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"p"),i["\u0275\u0275elementStart"](28,"strong"),i["\u0275\u0275text"](29,"Chest Strap Placement"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"p"),i["\u0275\u0275text"](31,"Put the strap on, placing it on your bare skin on the top of your ribcage right below your chest. Make sure it is snug enough not to bounce around much during exercise. Check that the peanut (the plastic monitor part) is right-side up and properly snapped into the belt."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](32,"div",17),i["\u0275\u0275element"](33,"img",18),i["\u0275\u0275elementStart"](34,"h4"),i["\u0275\u0275text"](35,"Sensor Details & Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"p"),i["\u0275\u0275elementStart"](37,"strong"),i["\u0275\u0275text"](38,"Heart Monitor: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](39,"On / Off"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"p"),i["\u0275\u0275elementStart"](41,"strong"),i["\u0275\u0275text"](42,"Reading: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](43,"Watts reading from the sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"p"),i["\u0275\u0275elementStart"](45,"strong"),i["\u0275\u0275text"](46,"Name: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](47,"Customize the name of your Heart Rate monitor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"p"),i["\u0275\u0275elementStart"](49,"strong"),i["\u0275\u0275text"](50,"Connection: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](51,"Protocol for the sensor (typically Bluetooth LE)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"p"),i["\u0275\u0275elementStart"](53,"strong"),i["\u0275\u0275text"](54,"Battery: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](55,"Reported by the sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"p"),i["\u0275\u0275elementStart"](57,"strong"),i["\u0275\u0275text"](58,"ID: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](59,"Sensor ID - reported by the sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](60,"br"),i["\u0275\u0275elementStart"](61,"p"),i["\u0275\u0275elementStart"](62,"strong"),i["\u0275\u0275text"](63,"Delete "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](64,"Upper right, removes the sensor pairing"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](65,"br"),i["\u0275\u0275elementStart"](66,"h4"),i["\u0275\u0275text"](67,"Fitness Assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](68,"p"),i["\u0275\u0275text"](69,"Now that you are ready, read more on doing custom "),i["\u0275\u0275elementStart"](70,"a",19),i["\u0275\u0275text"](71,"Fitness Assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](72," to get your "),i["\u0275\u0275elementStart"](73,"a",20),i["\u0275\u0275text"](74,"custom heart rate zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](75,", and why that is so important and effective in your own personal journey to health and fitness."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](76,"br"),i["\u0275\u0275elementStart"](77,"h4"),i["\u0275\u0275text"](78,"Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](79,"p"),i["\u0275\u0275elementStart"](80,"a",21),i["\u0275\u0275text"](81,"See Setting and Customizing Heart Rate Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](82,"br"),i["\u0275\u0275elementStart"](83,"h4"),i["\u0275\u0275text"](84,"Adding Heart Rate Metrics to your Dashboards"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](85,"p"),i["\u0275\u0275elementStart"](86,"a",22),i["\u0275\u0275text"](87,"See Dasboards"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](88,"p"),i["\u0275\u0275text"](89,"If you want different data then what is shown on the default dashboard, you can easily setup custom dashboards, even one just dedicated to Heart Rate metrics."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](90,"p"),i["\u0275\u0275text"](91,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function GR(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function UR(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function qR(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"ol",23),i["\u0275\u0275elementStart"](2,"li"),i["\u0275\u0275text"](3,"Tap Menu > Settings > Sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"li"),i["\u0275\u0275text"](5,"Tap the name of the paired HRM"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Tap Delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](8,"img",24),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function ZR(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function $R(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function XR(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",32),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275elementStart"](2,"a",33),i["\u0275\u0275text"](3,"Free Download: Test compatibility of any sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementEnd"]())}function KR(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275element"](1,"img",25),i["\u0275\u0275elementStart"](2,"div",26),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Our heart rate training & tracking apps are compatible with most Bluetooth Smart | Bluetooth 4.0 | Bluetooth Low Energy (BLE) compatible Heart Rate Monitors and the Apple Watch."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,XR,5,0,"div",27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",28),i["\u0275\u0275elementStart"](7,"ul",29),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275elementStart"](9,"a",14),i["\u0275\u0275text"](10,"Apple Watch"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12," 4iiii V100 Viiiiva "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14," Beets BLU, BEAT 10 & BEAT 20 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16," BlueLeza HRM Blue "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18," CooSpo Fitness Tracker "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275text"](20," CooSpo Armband "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22," Garmin HRM-Dual "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24," IGPSPORT "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275text"](26," Jabra Sport Pulse, Elite Sport Wireless Earbuds "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275text"](28," Mio Slice "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"li"),i["\u0275\u0275text"](30," Polar H6 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"li"),i["\u0275\u0275text"](32," Polar H7 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"li"),i["\u0275\u0275text"](34," Polar H9 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"li"),i["\u0275\u0275text"](36," Polar H10 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"li"),i["\u0275\u0275text"](38," Polar M430 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"li"),i["\u0275\u0275text"](40," Polar OH1 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"div",30),i["\u0275\u0275elementStart"](42,"ul",23),i["\u0275\u0275elementStart"](43,"li"),i["\u0275\u0275text"](44," Scosche Rhythm + "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"li"),i["\u0275\u0275text"](46," Scosche Rhythm + 24h "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"li"),i["\u0275\u0275text"](48," Spinning Connect"),i["\u0275\u0275elementStart"](49,"sup"),i["\u0275\u0275text"](50,"tm"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](51,"li"),i["\u0275\u0275text"](52," Suunto Smart Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"li"),i["\u0275\u0275text"](54," Suunto Sports Tracker & HRM2 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](55,"li"),i["\u0275\u0275text"](56," TomTom "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](57,"li"),i["\u0275\u0275text"](58," Wahoo Blue "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](59,"li"),i["\u0275\u0275text"](60," Wahoo Tickr FIT "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](61,"li"),i["\u0275\u0275text"](62," Wahoo Tickr & Tickr X "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"span",31),i["\u0275\u0275text"](64,"Not Compatible*:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](65,"br"),i["\u0275\u0275element"](66,"br"),i["\u0275\u0275elementStart"](67,"ul",23),i["\u0275\u0275elementStart"](68,"li"),i["\u0275\u0275text"](69," Fitbit Heart Rate "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](70,"li"),i["\u0275\u0275text"](71," Withings Heart Rate "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"li"),i["\u0275\u0275text"](73," Xiaomi HR Activity Monitors "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](74,"div",17),i["\u0275\u0275elementStart"](75,"p"),i["\u0275\u0275text"](76,"Android Note: Some traditional bluetooth (Classic / 3.0) HRMs like Polar and Zephyr are compatible as well with most supported Android devices, including:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](77,"ul"),i["\u0275\u0275elementStart"](78,"li"),i["\u0275\u0275text"](79," Polar Wearlink+ Bluetooth Heart Rate Monitor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](80,"li"),i["\u0275\u0275text"](81," Zephyr HxM Bluetooth Heart Rate Monitor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isThemeBecolorado)}}function JR(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function QR(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function ej(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"a",14),i["\u0275\u0275elementStart"](2,"h4",34),i["\u0275\u0275text"](3,"Apple Watch Troubleshooting"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"h4"),i["\u0275\u0275text"](5,"Chest or Optical Heart Rate Monitors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"ul",35),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275elementStart"](8,"strong"),i["\u0275\u0275text"](9,"Chest Straps: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](10,"Wet the electrodes on the belt part (which touches your skin) with water or saliva on the chest strap heart rate monitor to increase connectivity. They are the rubber part around the peanut on your belt. They require moisture to initiate and improve connectivity. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275elementStart"](12,"strong"),i["\u0275\u0275text"](13,"Optical HRMs:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14," Make sure the green or orange lights / receptors are pulsing in the part next to your skin. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275elementStart"](16,"strong"),i["\u0275\u0275text"](17,"Manually Close your App:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18," Exit the app and then double tap the iPhone home button. Look for the multitasking window to appear at the bottom of your screen. Tap and hold the Fitdigits icon to make a little red circle (minus sign) appear on all the apps. Then tap the little red circle for Fitdigits. Your app has now been manually closed. Relaunch the app and try pairing again. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275elementStart"](20,"strong"),i["\u0275\u0275text"](21,"Reset Bluetooth:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](22," Try going to Settings > Bluetooth on your phone, turn Bluetooth OFF, wait for about 30 seconds, and turn it back on. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275elementStart"](24,"strong"),i["\u0275\u0275text"](25,"Reboot:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](26," When in doubt, never hurts to reboot your phone/tablet."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275elementStart"](28,"strong"),i["\u0275\u0275text"](29,"Is your Device Compatible:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](30," View our "),i["\u0275\u0275elementStart"](31,"a",36),i["\u0275\u0275text"](32,"Compatible Devices"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](33," for more details. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"li"),i["\u0275\u0275element"](35,"img",37),i["\u0275\u0275elementStart"](36,"strong"),i["\u0275\u0275text"](37,"Check the Bluetooth Permissions (iOS):"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](38," In your device Settings > iCardio, is the Bluetooth permission on? Background Refresh is also required to maintain heart rate or GPS if the app goes into the background ever, which most do, like when you get a phone call or switch to another app. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"li"),i["\u0275\u0275elementStart"](40,"strong"),i["\u0275\u0275text"](41,"Clean your HRM:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](42," It is recommended to clean your HRM strap after every use. Rinse the strap under running water after every use and hang to dry. Clean the strap gently with a mild soap and water solution when needed. Do not use moisturizing soaps, because they can leave residue on the strap. Failure to do so will resort in inaccurate readings. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"li"),i["\u0275\u0275elementStart"](44,"strong"),i["\u0275\u0275text"](45,"Delete and Re-pair Sensor:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](46," If the app cannot acquire your sensor when beginning a workout, try deleting and re-pairing the sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"li"),i["\u0275\u0275elementStart"](48,"strong"),i["\u0275\u0275text"](49,"Discharge your Sensor\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](50,"If you cannot pair the sensor, try "),i["\u0275\u0275elementStart"](51,"a",38),i["\u0275\u0275text"](52,"discharging the sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"li"),i["\u0275\u0275elementStart"](54,"strong"),i["\u0275\u0275text"](55,"Change Batteries:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](56," Make sure your belt\u2019s battery level is not low. If in doubt, try changing the battery (see below) to see if it fixes the problem. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](57,"li"),i["\u0275\u0275elementStart"](58,"strong"),i["\u0275\u0275text"](59,"Check if your HRM is Paired With Another Device:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](60," Make sure no other Device is currently connected and communicating with your BLE heart rate monitor. If your heart rate monitor is paired with another device, you may not be able to use the HRM. Check in the bluetooth section and see if it says it is paired. On a Scosche, you can tell it is paired with another device when the light blinks steady and slowly. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](61,"li"),i["\u0275\u0275elementStart"](62,"strong"),i["\u0275\u0275text"](63,"Check if your device is auto-pairing with your HRM"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](64,": Sometimes in the device Bluetooth settings, the HRM will get auto paired every time. If this is happening, delete it from the list by tapping the (i) then Remove."),i["\u0275\u0275element"](65,"br"),i["\u0275\u0275element"](66,"br"),i["\u0275\u0275text"](67," If you exit bluetooth then go back into bluetooth and see the HRM was NOT removed, or if you can\u2019t see (i) after Connected/Not connected on your HRM, close your Fitdigits app, then: "),i["\u0275\u0275element"](68,"br"),i["\u0275\u0275elementStart"](69,"ul",23),i["\u0275\u0275elementStart"](70,"li"),i["\u0275\u0275text"](71,"Turn off Bluetooth on your device (Settings > Bluetooth)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"li"),i["\u0275\u0275text"](73,"Reboot your device (press the home and power buttons until the Apple logo appears)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](74,"li"),i["\u0275\u0275text"](75,"Enable Bluetooth and try again. You should now be able to remove the HRM from the bluetooth section on the device, and re-open your Fitdigits app. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](76,"li"),i["\u0275\u0275text"](77,"If you find the HRM is pairing with another device, or just a good thing to try: "),i["\u0275\u0275element"](78,"br"),i["\u0275\u0275elementStart"](79,"ul",23),i["\u0275\u0275elementStart"](80,"li"),i["\u0275\u0275text"](81,"Turn off the HRM / Make sure the HRM isn\u2019t broadcasting (if a chest strap, don\u2019t put it on yet but have it moist and ready). "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](82,"li"),i["\u0275\u0275text"](83,"Open the app, tap Menu > Sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](84,"li"),i["\u0275\u0275text"](85,"Tap the + button on the Heart Rate Monitor section, get the app in pairing mode searching for sensors "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](86,"li"),i["\u0275\u0275text"](87,"Turn on / Put on the HRM"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](88,"p"),i["\u0275\u0275text"](89,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function tj(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function nj(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function ij(e,t){1&e&&i["\u0275\u0275element"](0,"img",46)}function rj(e,t){1&e&&i["\u0275\u0275element"](0,"img",47)}function aj(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"If you are seeing spikes and dropouts in your heart rate monitoring with chest straps, such as Orange Theory and Polar H7, H10 or other devices, there are a few things that can be done to hopefully improve the response and readings."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Remember however that heart rate belts do eventurally go bad. They need to be cared for, but sweat is salty water, and materials break down over time. If you have an extra chest strap belt, take the peanut off and put it on the other belt, see if it works there. It could also be an issue with the peanut brains."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"img",48),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275elementStart"](7,"strong"),i["\u0275\u0275text"](8,"Checking electrical conduct, wireless signals or even permissions issues."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10,'The chest belt works by receiving electrical signals from the heart that are then shown as Beats Per Minute (BPM). These signals are read by the "peanut" part of the HRM, transmitted through the belt, which contains the main electrodes. It is then broadcast out via bluetooth low energy protocol where it is picked up and displayed on your device. '),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"ul",23),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275elementStart"](13,"strong"),i["\u0275\u0275text"](14,"Spikes: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](15,"Wet the electrodes on the belt eletrodes (the part touching your skin) with water or saliva on the chest strap heart rate monitor to increase connectivity. They are in the rubber around the peanut on your belt. They require moisture to initiate and improve connectivity. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275text"](17,"To conduct signal, the electrodes need moisture (such as saliva, water, or a conductive gel) to conduct the electricity between the heart and the belt, the signal will not be strong or consistent. Lack of moisture can result in erratic data."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19,'Dropouts, which often are represented by "Flat Line" readings on the chart, are very typically low battery level or lost connection issues. '),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](20,"p"),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275elementStart"](22,"strong"),i["\u0275\u0275text"](23,"Dual Mode HRMs"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"p"),i["\u0275\u0275text"](25,"Certain HRMs have dual mode operation, meaning they transmit data over two channels - bluetooth low energy and ANT+ or 5.8 GHz (Polar, Gym Equipment)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"ul",23),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275text"](28,"If you are still seeing heart rate on a piece of gym equipment or another device reading the ANT+ channel but not in our app, it may still be a battery issue. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"p"),i["\u0275\u0275text"](30,"Sometimes the same heart rate monitor can read just fine on gym equipment while struggling to keep connection via bluetooth because the 5.8 GHz and ANT+ channels can operate with less battery power than bluetooth. See Changing your Chest Strap battery."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"h4"),i["\u0275\u0275text"](32,"The Experiment"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"p"),i["\u0275\u0275text"](34,"We decided to go out for a run using two devices, the Fitdigits app as well as a Polar watch. We connected both with the Polar H7. The interesting thing about this experiment is that the phone and the watch use two different platforms. The iPhone uses Bluetooth Smart to connect with the H7, while the watch uses a 5.8 kHz signal to pair. This enables us to be comfortable concluding that if both devices spike, it is because of the belt and not because of an issue with the app, or a specific platform (such as Bluetooth Smart). So basically we went out for a run with both devices, and whenever we saw a spike in the Fitdigits app, we compared those results with the Polar watch."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"p"),i["\u0275\u0275text"](36,"Results: The run started with a bang, spiking right off the bat and soaring to unforeseen heights all the way out of zone 5! The watch mirrored the results. When the heart chart on Fitdigits showed our BPM going above zone 5, the watch showed exactly the same results, with no discernible difference."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"p"),i["\u0275\u0275text"](38,"Conclusion: Spikes can be a result of conductivity issues and / or hardware issues. Any time you get a spike or dropout, it can be the result of your body not having enough moisture to get a firm connection with the belt, or, in more rare cases, the hardware going bad. The HRM belt is the most likely to need replacement over time, but sometimes the peanut will go bad too. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"ul",23),i["\u0275\u0275elementStart"](40,"li"),i["\u0275\u0275text"](41,"Fitdigits apps do not manipulate the data it receives from a heart rate monitor before display. You never know and please pay attention to your heart rate it can be something critical. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](42,"img",49),i["\u0275\u0275elementStart"](43,"p"),i["\u0275\u0275text"](44,"Noted fitness blogger DC Rainmaker has a great post on "),i["\u0275\u0275elementStart"](45,"a",50),i["\u0275\u0275text"](46," How to Fix Heart Rate Strap Dropouts/Spikes"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](47,"."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function oj(e,t){1&e&&i["\u0275\u0275element"](0,"img",46)}function sj(e,t){1&e&&i["\u0275\u0275element"](0,"img",47)}function lj(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Optical heart rate monitors have come a long way."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275text"](5,"Strap Placement"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](6,": Check with the user manual of your optical sensor for proper placement. For best results usually are on the forearm, wrist or ears."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275elementStart"](8,"strong"),i["\u0275\u0275text"](9,"Strap Tightness"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](10,": Bounce and slip is one of the worst things for optical heart rate sensors. Imagine if you had to count red blood cells while being constantly bounced around a room? We always recommend a slightly tighter tension as bands tend to loosen as you sweat and exeercise."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275elementStart"](12,"strong"),i["\u0275\u0275text"](13,"Check Hardware"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14,": Typically when it has power and is active, there are green and/or orange flashing lights on the part that touches your skin on most optical HRMs as they try and read your heart rate. Check the back of your Scosche or Polar OH-1, etc to make sure lights are on."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"p"),i["\u0275\u0275elementStart"](16,"strong"),i["\u0275\u0275text"](17,"Battery"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18,": Batteries do die, and as your old iPhone 4S showed, charges don't last forever. Make sure the battery is fully charged before exercising."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function cj(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"h4"),i["\u0275\u0275text"](2,"Issues with Apple Watch Heart Rate, see "),i["\u0275\u0275elementStart"](3,"a",39),i["\u0275\u0275text"](4,"Optimizing your Apple Watch"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](5,"."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"h4",40),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showHRMChest=!e.showHRMChest}),i["\u0275\u0275text"](7," Heart Rate Monitor Chest Straps "),i["\u0275\u0275template"](8,ij,1,0,"img",41),i["\u0275\u0275template"](9,rj,1,0,"img",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](10,"div",17),i["\u0275\u0275template"](11,aj,48,0,"div",43),i["\u0275\u0275elementStart"](12,"h4",44),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showHRMOptical=!e.showHRMOptical}),i["\u0275\u0275text"](13," Optical Heart Rate Monitors "),i["\u0275\u0275template"](14,oj,1,0,"img",41),i["\u0275\u0275template"](15,sj,1,0,"img",42),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](16,"div",17),i["\u0275\u0275template"](17,lj,19,0,"div",43),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275text"](19,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"p"),i["\u0275\u0275text"](21,"If you still are experiencing issues, please contact "),i["\u0275\u0275elementStart"](22,"a",45),i["\u0275\u0275text"](23,"Fitdigits customer support"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](24,"."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngIf",!r.showHRMChest),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showHRMChest),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showHRMChest),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!r.showHRMOptical),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showHRMOptical),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.showHRMOptical)}}function dj(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function uj(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function pj(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Polar H7 heart rate monitors are awesome. They run on bluetooth low energy, which for me is great because the fewer devices tracking my workout, the better! However, if you find it\u2019s time to change the battery (you experience erratic heart rate data or drop outs or no data at all), here are your step-by-step instructions. Users rejoice\u2013your inner handy-person awaits!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"img",51),i["\u0275\u0275element"](4,"img",52),i["\u0275\u0275element"](5,"img",53),i["\u0275\u0275element"](6,"div",17),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275elementStart"](10,"strong"),i["\u0275\u0275text"](11,"Directions to change battery:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"ol",23),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14,"Using a coin, open the battery cover by turning it counterclockwise to OPEN. Remove the cap."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16,"Using a sharp edge (knife), lift the battery out from inside the cap. See Photo 2."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18,"Insert the battery (CR 2025) inside the cover with the positive side against the cover. Note: the positive side is also the side with the writing; insert the battery with writing side down. Make sure the sealing ring is in the groove to ensure water resistance. See Photo 1. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275text"](20,"Place the cover back into the connector. Be sure to do this carefully by lining the arrow on the outside of the lid directly with the dot on the connector next to OPEN. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22,"Use the coin to turn the cover clockwise to CLOSE."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"p"),i["\u0275\u0275text"](24,"Note: When changing the battery, make sure the sealing ring is not damaged, in which case you should replace it with a new one. You can purchase the sealing ring/battery kits at well-equipped Polar retailers and authorized Polar Services."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"p"),i["\u0275\u0275text"](26,"For more information about using the Polar H7, "),i["\u0275\u0275elementStart"](27,"a",54),i["\u0275\u0275text"](28," check out the manual."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function hj(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function mj(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function gj(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"ol",23),i["\u0275\u0275elementStart"](2,"li"),i["\u0275\u0275text"](3,"Remove the battery (see above) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"li"),i["\u0275\u0275text"](5,"Close the back of the peanut that used to house the battery, and clip it on to the belt, without the battery "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Put sensor on and wear for 30 seconds to 1 minute"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Remove peanut and insert battery"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Put the strap back on your chest"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"Re-pair the HRM by going to Settings > Sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275text"](15,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var fj=function(){function e(e,t){this.route=e,this.ThemeService=t,this.showHRMPairing=!1,this.showHRMDelete=!1,this.showHRMTroubleshooting=!1,this.showHRMBattery=!1,this.showHRMDischarge=!1,this.showHRMSpikes=!1,this.showHRMChest=!1,this.showHRMOptical=!1,this.showHRMCompatibility=!1,this.heartTypeInput=this.route.snapshot.paramMap.get("heartType")}return e.prototype.ngOnInit=function(){console.log(this.heartTypeInput),"troubleshooting"==this.heartTypeInput&&(this.showHRMTroubleshooting=!0,this.showHRMPairing=!1,this.showHRMDelete=!1,this.showHRMDischarge=!1,this.showHRMSpikes=!1,this.showHRMOptical=!1),"discharge"==this.heartTypeInput&&(this.showHRMTroubleshooting=!1,this.showHRMPairing=!1,this.showHRMDelete=!1,this.showHRMDischarge=!0,this.showHRMSpikes=!1,this.showHRMOptical=!1),"spikes-flatlines"==this.heartTypeInput&&(this.showHRMTroubleshooting=!1,this.showHRMPairing=!1,this.showHRMDelete=!1,this.showHRMDischarge=!1,this.showHRMSpikes=!0,this.showHRMOptical=!1),"pairing"==this.heartTypeInput&&(this.showHRMTroubleshooting=!1,this.showHRMPairing=!0,this.showHRMDelete=!1,this.showHRMDischarge=!1,this.showHRMSpikes=!1,this.showHRMOptical=!1)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-heart-rate-monitors"]],decls:51,vars:21,consts:[[1,"main-menu-section-heading"],["routerLink","/fitness-sensors"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","support-content",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content"],[1,"appleWatchHeader"],["routerLink","/fitness-sensors/apple-watch"],["src","/static/img/apple_watches.png",2,"height","80px","padding","7px"],["src","/static/img/hr-sensor-pairing.png",1,"support-image-single"],[2,"clear","both"],["src","/static/img/heart-rate-monitor-detail.png",1,"support-image-single"],["routerLink","/fitness-assessments.html"],["routerLink","/zones/overview"],["routerLink","/zones/overview/heart-rate"],["routerLink","/dashboards/overview"],[1,"list-spacing"],["src","/static/img/sensor-delete.png",1,"support-image-large"],["alt","Bluetooth Low Energy Compatible","src","/static/img/bluetooth_smart.png",1,"compBLEicon"],[1,"compTopText"],["class","supportDownloadMsg",4,"ngIf"],[1,"sensorColumnLeft"],[1,"sensorUlList"],[1,"sensorColumnRight"],[2,"font-weight","bold"],[1,"supportDownloadMsg"],["routerLink","/signup"],[2,"margin-top","0px"],[1,"list-spacing","troubleshooting"],["routerLink","/compatibility"],["src","/static/img/icardio_permissions.png",2,"float","right","width","250px"],["routerLink","/fitness-sensors/heart-rate-monitors/discharge"],["routerLink","/fitness-sensors/apple-watch/optimizing"],[1,"h4-support-section",2,"float","left",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow h4arrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow h4arrow",4,"ngIf"],[4,"ngIf"],[1,"h4-support-section",3,"click"],["routerLink","/support"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow","h4arrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow","h4arrow"],["src","/static/img/hr-spike.png",2,"float","right"],["src","/static/img/hrm-belt-spikes.png",1,"support-image-large"],["href","http://www.dcrainmaker.com/2012/12/annual-public-service-announcement-how-to-fix-heart-rate-strap-dropoutsspikes.html"],["src","/static/img/polar-hrm-open.jpeg",2,"float","left","height","169px"],["src","/static/img/polar-hrm-battery.jpeg",2,"float","left","height","169px"],["src","/static/img/polar-hrm-open2.jpeg",2,"float","left","height","169px"],["href","http://www.polar.fi/e_manuals/H7_Heart_Rate_Sensor/Polar_H7_Heart_Rate_Sensor_accessory_manual_English.pdf"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5,"Heart Rate Monitors (HRMs)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",4),i["\u0275\u0275elementStart"](7,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showHRMPairing=!t.showHRMPairing}),i["\u0275\u0275template"](8,VR,1,0,"img",6),i["\u0275\u0275template"](9,YR,1,0,"img",7),i["\u0275\u0275elementStart"](10,"div",8),i["\u0275\u0275text"](11," Pairing your Heart Rate Monitor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](12,WR,92,0,"div",9),i["\u0275\u0275elementStart"](13,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showHRMDelete=!t.showHRMDelete}),i["\u0275\u0275template"](14,GR,1,0,"img",6),i["\u0275\u0275template"](15,UR,1,0,"img",7),i["\u0275\u0275elementStart"](16,"div",8),i["\u0275\u0275text"](17," Deleting your Heart Rate Monitor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](18,qR,11,0,"div",9),i["\u0275\u0275elementStart"](19,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showHRMCompatibility=!t.showHRMCompatibility}),i["\u0275\u0275template"](20,ZR,1,0,"img",6),i["\u0275\u0275template"](21,$R,1,0,"img",7),i["\u0275\u0275elementStart"](22,"div",8),i["\u0275\u0275text"](23," Compatibility "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](24,KR,82,1,"div",9),i["\u0275\u0275elementStart"](25,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showHRMTroubleshooting=!t.showHRMTroubleshooting}),i["\u0275\u0275template"](26,JR,1,0,"img",6),i["\u0275\u0275template"](27,QR,1,0,"img",7),i["\u0275\u0275elementStart"](28,"div",8),i["\u0275\u0275text"](29," Troubleshooting "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](30,ej,90,0,"div",9),i["\u0275\u0275elementStart"](31,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showHRMSpikes=!t.showHRMSpikes}),i["\u0275\u0275template"](32,tj,1,0,"img",6),i["\u0275\u0275template"](33,nj,1,0,"img",7),i["\u0275\u0275elementStart"](34,"div",8),i["\u0275\u0275text"](35," Heart Rate Monitor Spikes & Flatlines "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](36,cj,25,6,"div",9),i["\u0275\u0275elementStart"](37,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showHRMBattery=!t.showHRMBattery}),i["\u0275\u0275template"](38,dj,1,0,"img",6),i["\u0275\u0275template"](39,uj,1,0,"img",7),i["\u0275\u0275elementStart"](40,"div",8),i["\u0275\u0275text"](41," Battery Replacement on a Polar or Other Chest Strap Heart Rate Monitor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](42,pj,29,0,"div",9),i["\u0275\u0275elementStart"](43,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showHRMDischarge=!t.showHRMDischarge}),i["\u0275\u0275template"](44,hj,1,0,"img",6),i["\u0275\u0275template"](45,mj,1,0,"img",7),i["\u0275\u0275elementStart"](46,"div",8),i["\u0275\u0275text"](47," Discharging your Chest Strap Heart Rate Monitor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](48,gj,16,0,"div",9),i["\u0275\u0275elementStart"](49,"p"),i["\u0275\u0275text"](50,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("ngIf",!t.showHRMPairing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showHRMPairing),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showHRMPairing),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showHRMDelete),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showHRMDelete),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showHRMDelete),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showHRMCompatibility),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showHRMCompatibility),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showHRMCompatibility),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showHRMTroubleshooting),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showHRMTroubleshooting),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showHRMTroubleshooting),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showHRMSpikes),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showHRMSpikes),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showHRMSpikes),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showHRMBattery),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showHRMBattery),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showHRMBattery),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showHRMDischarge),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showHRMDischarge),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showHRMDischarge))},directives:[S.f,y.NgIf],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",".h4arrow[_ngcontent-%COMP%]{margin:-5px 0 0 10px}.h4-support-section[_ngcontent-%COMP%]{cursor:pointer;float:left}ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:20px}.appleWatchHeader[_ngcontent-%COMP%]{width:100%;text-align:center;display:block}"]}),e}();function vj(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function yj(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function bj(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"If the app can not pick up a signal, check the settings and permission levels."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275text"](5,"Make sure Location Services is ON in the app itself"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"ol",13),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,"From the app home screen, tap Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10,"Tap My Sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12,"Verify that Location is turned ON, and make sure there is no RED text stating Location is not enabled in the device. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275elementStart"](14,"strong"),i["\u0275\u0275text"](15,"Make sure Location Services is ON and supported for the activity type you selected"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"ol",13),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18,"Swipe or quick select so the type of activity you want to track location for is showing on the home screen "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275text"](20,"Tap the Activity Options (gear) below the Activity icon"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22,"If the location icon is grey, tap it to turn it yellow (indicating on)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24,"If there is no location icon, the activity type does not support location tracking. Some activities are indoor, and do not support gps location tracking. If you would like to track location, consider setting up an "),i["\u0275\u0275elementStart"](25,"a",14),i["\u0275\u0275text"](26,"Other Workout Type"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](27," along the same line. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"h4"),i["\u0275\u0275text"](29,"Location Services Permissions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"p"),i["\u0275\u0275elementStart"](31,"strong"),i["\u0275\u0275text"](32,"Enabling Location Services / GPS in Device Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"ol",13),i["\u0275\u0275elementStart"](34,"li"),i["\u0275\u0275text"](35,"Tap Settings from your iPhone home screen"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"li"),i["\u0275\u0275text"](37,"Tap Privacy > Location Services"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"li"),i["\u0275\u0275text"](39,"Locate the app icon > tap While In Use\xa0for the app"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"p"),i["\u0275\u0275elementStart"](41,"strong"),i["\u0275\u0275text"](42,"Enabling Background App Refresh"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"ol",13),i["\u0275\u0275elementStart"](44,"li"),i["\u0275\u0275text"](45,"Tap Settings from your iPhone home screen"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"li"),i["\u0275\u0275text"](47,"Tap General > Background App Refresh"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"li"),i["\u0275\u0275text"](49,"Locate the app icon > tap ON for the app"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function xj(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function _j(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function wj(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Make sure you have a direct line to the sky to get satellite readings for GPS / Location services. If you are having trouble with location services (GPS) on Android, some things to try: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"ol",13),i["\u0275\u0275elementStart"](4,"li"),i["\u0275\u0275text"](5,"Make sure you have GPS on and active for the activity type you want to do. On the home screen, tap the gear icon (Activity Options), and make sure there is the Location icon showing in orange, not grey. Grey means it is inactive for that workout type. Tap it to turn it yellow again. You can reset the Location sensor globally in Menu > Settings > Sensors as well. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Restart the app (hard close fully, not just background, then re-open)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Lower the filter quality to weak (Menu > Sensors > GPS > Accuracy Filter set to Weak)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11,"Try cycling the GPS sensor, off then on. We\u2019ve seen GPS get hung up before and that fixed it. On your phone (on most androids) you can drag notification bar down and see the on/off toggles for wifi/GPS/network etc. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"If you are tracking outdoor activity with iCardio or iRunner on your Android, make sure you have location services turned on and set to \u201cAllow all the time\u201d. To do so: "),i["\u0275\u0275elementStart"](14,"ol",13),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16,"Go to your Android Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18,"Choose \u201cSecurity & Location\u201d"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275text"](20,"Make sure all of your location options are turned on, and set to \u201cAllow all the time\u201d \u2013 note we do not use gps all the time, but Google requires it for any app that goes in the background / multi-tasks to run in the background. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22,"Check the App-level permissions and make sure they are on for the apps"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24,"Open the Fitdigits app and tap Menu > Settings > My Sensors and Turn Location on."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](25,"img",15),i["\u0275\u0275elementStart"](26,"p"),i["\u0275\u0275text"](27,"If you are having trouble acquiring GPS, you might try adjusting the Accuracy Filter to Weak, which will allow the app to read weaker and less accurate readings in satellites and remote areas."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"p"),i["\u0275\u0275text"](29,"To double check GPS permissions, go to Sensors > Add Heart Rate Monitor. The BLE code will force a location services check and let you know if it is not enabled."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"p"),i["\u0275\u0275text"](31,"Note not all Androids are exactly alike \u2013 the screens and areas above may vary. If you have any questions, please contact Customer Support."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"p"),i["\u0275\u0275text"](33,"Please also check that your location settings are set to High accuracy. Settings > Additional Settings > Privacy > Location > Set to High Accuracy."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"h4"),i["\u0275\u0275text"](35,"Please Disable any Power Saving Mode, Battery Management apps or other 3rd party power/battery managers:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"p"),i["\u0275\u0275text"](37,"Especially for Samsung users, but also other devices as well. Please check that Samsung Power Savings Mode or other Power saving modes are turned off when exercising and tracking activities if you intend to track while the app is backgrounded. Typically if they are on, they will disable any GPS tracking after a short period if the app is backgrounded."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"ul",13),i["\u0275\u0275elementStart"](39,"li"),i["\u0275\u0275elementStart"](40,"strong"),i["\u0275\u0275text"](41,"Samsung"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](42,": Battery settings > App power saving > Details > iCardio/iRunner etc > Disabled"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"li"),i["\u0275\u0275elementStart"](44,"strong"),i["\u0275\u0275text"](45,"LG"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](46,": Settings > Battery & Power saving > Battery usage > Ignore optimizations > turn ON for iCardio/iRunner etc. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"li"),i["\u0275\u0275elementStart"](48,"strong"),i["\u0275\u0275text"](49,"Motorola:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](50,": Battery > Menu (upper right corner) > Battery optimization > Not optimized > All apps > select iCardio/iRunner etc > Don\u2019t optimize. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](51,"li"),i["\u0275\u0275elementStart"](52,"strong"),i["\u0275\u0275text"](53,"HTC"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](54,": Phone settings > Battery > Power Saving Mode > Battery Optimization > select iCardio/iRunner etc > Don\u2019t optimize > Save. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](55,"li"),i["\u0275\u0275elementStart"](56,"strong"),i["\u0275\u0275text"](57,"Huawei"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](58,': Turn Energy Settings to Normal and add iCardio/iRunner etc to "Protected Apps"'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](59,"li"),i["\u0275\u0275elementStart"](60,"strong"),i["\u0275\u0275text"](61,"Sony"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](62,": Battery > Menu (upper right corner) > Battery optimization > Apps > iCardio"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function Sj(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function Cj(e,t){1&e&&i["\u0275\u0275element"](0,"img",11)}function kj(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275elementStart"](2,"strong"),i["\u0275\u0275text"](3,"Types of GPS Issues"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"ol",13),i["\u0275\u0275elementStart"](5,"li"),i["\u0275\u0275text"](6,"No GPS Signal / Can't Pair"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"li"),i["\u0275\u0275text"](8,"Lost GPS"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10,"Jumpy / Spiked GPS"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12,"GPS Drift"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14,"Battery Management apps"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16,"Android: Power Saving Modes"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"p"),i["\u0275\u0275elementStart"](18,"strong"),i["\u0275\u0275text"](19,"Solutions / Suggestions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"ol",13),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22,"Keep your device in the open, not in deep pockets or packs"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24,"Watch out for Urban Jungles or Canyons, covered areas with thick foliage"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275text"](26,"Be outside in an open, unobstructed area"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275text"](28,"Force Close any other apps that might be open in the background taking up resources"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"li"),i["\u0275\u0275text"](30,"Give the device more time to get a good GPS lock"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"li"),i["\u0275\u0275text"](32,"Reboot your Phone. Turn it completely off and on."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"li"),i["\u0275\u0275text"](34,"Hard Reboot your Phone \u2013 Sometimes this takes a reboot to the next level \u2013 press and hold the Sleep / Wake button and the Home button at the same time for around 10 seconds or more, then release when the apple logo shows. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"li"),i["\u0275\u0275text"](36,"Disable, then re-enable GPS permissions (see above)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"li"),i["\u0275\u0275text"](38,"Make sure Airplane Mode is off. In the device Settings > Airplane Mode. Toggle the switch On and Off "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"li"),i["\u0275\u0275text"](40,"Turn off Wi-Fi. Wi-Fi can sometimes decrease GPS accuracy or create network data conflicts."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"li"),i["\u0275\u0275text"](42,"Make sure the Date and Time are set to Automatic in the device settings. Go to device Settings > General > Date & Time and select Automatically "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"li"),i["\u0275\u0275text"](44,"Check Network Signal \u2013 a poor signal can adversely effect GPS quality and readings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"li"),i["\u0275\u0275text"](46,"Reset Network Settings \u2013 sometimes network settings are updated over the air to your device which adversely affects GPS. Note please this one will require re-inputting your wifi and other passwords after completing it. Go to device Settings > General > Reset > Reset Network Settings. Tap confirm. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"li"),i["\u0275\u0275text"](48,"Make sure the iOS is up to date. Go to device Settings > General > Software Update and make sure you are at the most updated version for your device. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"li"),i["\u0275\u0275text"](50,"Look for battery or memory management apps and adjust settings. Some devices have 3rd party apps like Advanced Task Killer and Juice Defender that can kill the workout in the background. Remove or adjust settings in these apps. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](51,"p"),i["\u0275\u0275text"](52,"If things are still not working, and there is GPS being received on other apps like Google Maps (thus showing there is satellites / location working on the device in the area), one other option is to delete and reinstall. Remember to use the same login!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"p"),i["\u0275\u0275elementStart"](54,"strong"),i["\u0275\u0275text"](55,"Related Articles:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"p"),i["\u0275\u0275elementStart"](57,"a",16),i["\u0275\u0275text"](58," Four Suggestions for Troubleshooting GPS on an iPhone"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](59,"p"),i["\u0275\u0275elementStart"](60,"strong"),i["\u0275\u0275elementStart"](61,"a",17),i["\u0275\u0275text"](62," Overview on GPS - how Global Positioning Systems Work"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var Oj=function(){function e(e){this.route=e,this.showGPSIssues=!1,this.showGPSios=!0,this.showGPSAndroid=!1,this.gpsTypeInput=this.route.snapshot.paramMap.get("gpsType")}return e.prototype.ngOnInit=function(){"issues"==this.gpsTypeInput&&(this.showGPSIssues=!0,this.showGPSios=!1,this.showGPSAndroid=!1),"ios"==this.gpsTypeInput&&(this.showGPSIssues=!1,this.showGPSios=!0,this.showGPSAndroid=!1),"android"==this.gpsTypeInput&&(this.showGPSIssues=!1,this.showGPSios=!1,this.showGPSAndroid=!0)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](S.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-location-and-gps"]],decls:33,vars:9,consts:[[1,"main-menu-section-heading"],["routerLink","/fitness-sensors"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","support-content",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content"],[1,"list-spacing"],["href","overview/managing-activities","title","The Other Workout Type"],["src","/static/img/location-permissions-android.png","alt","Location Permissions - Android",1,"support-image-large"],["href","https://www.ikream.com/2018/10/apple-iphone-6s-gps-location-services-not-working-fix-troubleshooting-guide-26010"],["href","https://www.rewiresecurity.co.uk/blog/gps-tracking-tracker-satellite-accuracy-precision"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5,"GPS & Location Services"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",4),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"We use Location Services to map your route and can also be used to track pace, speed and distance for outdoor runs and rides. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10,"On instal, you are prompted to accept the permission for the app to use location services from the device. However, sometimes things happen. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275text"](12,"If you are inside or in a remote or urban jungle area, Location Services can be difficult to obtain high enough quality to track, for example between buildings the GPS satellite signals sometimes don\u2019t make it through."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14,"Try to make sure you try getting the signal in an open place and not indoors. Note that location services typically needs access to satellites, trying to run location services inside a building or enclosed space can cause issues or non-responsiveness."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showGPSios=!t.showGPSios}),i["\u0275\u0275template"](16,vj,1,0,"img",6),i["\u0275\u0275template"](17,yj,1,0,"img",7),i["\u0275\u0275elementStart"](18,"div",8),i["\u0275\u0275text"](19," iOS Location Services "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](20,bj,50,0,"div",9),i["\u0275\u0275elementStart"](21,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showGPSAndroid=!t.showGPSAndroid}),i["\u0275\u0275template"](22,xj,1,0,"img",6),i["\u0275\u0275template"](23,_j,1,0,"img",7),i["\u0275\u0275elementStart"](24,"div",8),i["\u0275\u0275text"](25," Android Location Services "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](26,wj,63,0,"div",9),i["\u0275\u0275elementStart"](27,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showGPSIssues=!t.showGPSIssues}),i["\u0275\u0275template"](28,Sj,1,0,"img",6),i["\u0275\u0275template"](29,Cj,1,0,"img",7),i["\u0275\u0275elementStart"](30,"div",8),i["\u0275\u0275text"](31," Issues with GPS & Location Services "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](32,kj,63,0,"div",9),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](16),i["\u0275\u0275property"]("ngIf",!t.showGPSios),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showGPSios),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showGPSios),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showGPSAndroid),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showGPSAndroid),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showGPSAndroid),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showGPSIssues),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showGPSIssues),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showGPSIssues))},directives:[S.f,y.NgIf],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}","ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:20px}"]}),e}();function Ej(e,t){1&e&&i["\u0275\u0275element"](0,"img",17)}function Mj(e,t){1&e&&i["\u0275\u0275element"](0,"img",18)}function Ij(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275elementStart"](2,"a",26),i["\u0275\u0275text"](3,"Free Download: Test compatibility of any sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementEnd"]())}function Pj(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",19),i["\u0275\u0275elementStart"](2,"div",20),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Our heart rate training & tracking apps are compatible with most Bluetooth Smart | Bluetooth 4.0 | Bluetooth Low Energy (BLE) compatible Power sensors."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,Ij,5,0,"div",21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",22),i["\u0275\u0275elementStart"](7,"ul",23),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9," 4iiii Podiiiium "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"li"),i["\u0275\u0275text"](11," 4iiii Fiiiit PRECISION "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13," 4iiii PRECISION "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15," Easton/RaceFace Cinch "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17," Favero's Assioma Duo Pedals "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19," Garmin Vector\u2122 3 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21," Garmin Vector\u2122 3S "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275text"](23," Gen 3 Stages Cycling "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275text"](25," Look / SRM Exakt Pedals "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"li"),i["\u0275\u0275text"](27," Power2Max "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"div",24),i["\u0275\u0275elementStart"](29,"ul",23),i["\u0275\u0275elementStart"](30,"li"),i["\u0275\u0275text"](31," PowerTap P1 / P2 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"li"),i["\u0275\u0275text"](33," \u200bQuarq DZero "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"li"),i["\u0275\u0275text"](35," Quarq PowerTap P2 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"li"),i["\u0275\u0275text"](37," Rotor 1\xd713 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"li"),i["\u0275\u0275text"](39," Shimano Dura-Ace FC-R9100-P Cranks "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"li"),i["\u0275\u0275text"](41," Speciaized Power Cranks "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"li"),i["\u0275\u0275text"](43," Speciaized S-Works Power "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"li"),i["\u0275\u0275text"](45," SPINPower\xae Studio Crank "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"li"),i["\u0275\u0275text"](47," SRM Cranks "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"li"),i["\u0275\u0275text"](49," Team Zwatt Zpider Cranks "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"li"),i["\u0275\u0275text"](51," Velocomp PowerPod v3 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](52,"br"),i["\u0275\u0275element"](53,"div",16),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isThemeBecolorado)}}var Tj=function(){function e(e){this.ThemeService=e,this.showPowerCompatibility=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-power-meters"]],decls:85,vars:3,consts:[[1,"main-menu-section-heading"],["routerLink","/fitness-sensors"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],["href","http://www.velonews.com/2018/03/podcast/fast-talk-podcast-ep-42-power-training-revolution-hunter-allen_461667"],[1,"note-info"],["src","/static/img/note-info-icon.png",1,"note-info-icon"],["src","/static/img/power-meter-detail.png",1,"support-image-single"],["routerLink","/zones/overview/power"],["routerLink","/dashboards/overview"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],[4,"ngIf"],[2,"clear","both"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],["alt","Bluetooth Low Energy Compatible","src","/static/img/bluetooth_smart.png",1,"compBLEicon"],[1,"compTopText"],["class","supportDownloadMsg",4,"ngIf"],[1,"sensorColumnLeft"],[1,"list-spacing"],[1,"sensorColumnRight"],[1,"supportDownloadMsg"],["routerLink","/signup"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5,"Power Meters"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",4),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"Ready for some Power? We are! Cranking up the Watts just makes you feel, well, powerful. And according to science, there is no more accurate version of calories burned than Kilojoules, something you can only get accurately by measuring watts. For cycling, it is the rage, and for good reason. If you are interested in learning more on the history and the power revolution, listen to this great podcast with "),i["\u0275\u0275elementStart"](9,"a",5),i["\u0275\u0275text"](10,"Hunter Allen at VeloNews"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](11,"."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"h4"),i["\u0275\u0275text"](13,"Pairing your Power Meter"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275elementStart"](15,"strong"),i["\u0275\u0275text"](16,"Menu > Settings > Sensors > Power > + "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"p"),i["\u0275\u0275text"](18,"Tap the + button while engaging the power sensor (turning the crank)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275text"](20,"When the sensor is found, tap OK to pair"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p",6),i["\u0275\u0275element"](22,"img",7),i["\u0275\u0275text"](23," Note: If there are multiple sensors found, like if you are in a Spin\xae class, you will also see a proximity meter next to the sensors. Typically the most powerful signal is the one closest to you. Customizing the name of the power meter before hand can help in these situations as well."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](24,"img",8),i["\u0275\u0275elementStart"](25,"h4"),i["\u0275\u0275text"](26,"Sensor Details & Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"p"),i["\u0275\u0275elementStart"](28,"strong"),i["\u0275\u0275text"](29,"Power: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](30,"On / Off"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"p"),i["\u0275\u0275elementStart"](32,"strong"),i["\u0275\u0275text"](33,"Reading: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](34,"Watts reading from the sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"p"),i["\u0275\u0275elementStart"](36,"strong"),i["\u0275\u0275text"](37,"Name: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](38,"Customize the name of your Power Meter"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"p"),i["\u0275\u0275elementStart"](40,"strong"),i["\u0275\u0275text"](41,"Connection: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](42,"Protocol for the sensor (typically Bluetooth LE)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"p"),i["\u0275\u0275elementStart"](44,"strong"),i["\u0275\u0275text"](45,"Battery: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](46,"Reported by the sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"p"),i["\u0275\u0275elementStart"](48,"strong"),i["\u0275\u0275text"](49,"ID: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](50,"Sensor ID - reported by the sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](51,"p"),i["\u0275\u0275elementStart"](52,"strong"),i["\u0275\u0275text"](53,"Use as Cadence: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](54,"If the power meter also supports cadence, which many do, this will enable cadence & power metrics"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](55,"br"),i["\u0275\u0275elementStart"](56,"p"),i["\u0275\u0275elementStart"](57,"strong"),i["\u0275\u0275text"](58,"Delete "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](59,"Upper right, removes the sensor pairing"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](60,"br"),i["\u0275\u0275elementStart"](61,"h4"),i["\u0275\u0275text"](62,"Power Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"p"),i["\u0275\u0275elementStart"](64,"a",9),i["\u0275\u0275text"](65,"See Setting and Customizing Power Zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](66,"br"),i["\u0275\u0275elementStart"](67,"h4"),i["\u0275\u0275text"](68,"Adding Power Metrics to your Dashboards"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](69,"p"),i["\u0275\u0275elementStart"](70,"a",10),i["\u0275\u0275text"](71,"See Dasboards"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"p"),i["\u0275\u0275text"](73,"If you want different data then what is shown on the default dashboard, you can easily setup custom dashboards, even one just dedicated to Power metrics."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](74,"p"),i["\u0275\u0275text"](75,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](76,"div",11),i["\u0275\u0275listener"]("click",function(){return t.showPowerCompatibility=!t.showPowerCompatibility}),i["\u0275\u0275template"](77,Ej,1,0,"img",12),i["\u0275\u0275template"](78,Mj,1,0,"img",13),i["\u0275\u0275elementStart"](79,"div",14),i["\u0275\u0275text"](80," Compatibility "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](81,Pj,54,1,"div",15),i["\u0275\u0275element"](82,"div",16),i["\u0275\u0275elementStart"](83,"p"),i["\u0275\u0275text"](84,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](77),i["\u0275\u0275property"]("ngIf",!t.showPowerCompatibility),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showPowerCompatibility),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showPowerCompatibility))},directives:[S.f,y.NgIf],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function Dj(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function Lj(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function Rj(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",21),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275elementStart"](2,"a",22),i["\u0275\u0275text"](3,"Free Download: Test compatibility of any sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementEnd"]())}function jj(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",16),i["\u0275\u0275elementStart"](2,"div",17),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Our heart rate training & tracking apps are compatible with most Bluetooth Smart | Bluetooth 4.0 | Bluetooth Low Energy (BLE) compatible Speed sensors."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,Rj,5,0,"div",18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"div",13),i["\u0275\u0275elementStart"](7,"div",19),i["\u0275\u0275elementStart"](8,"ul",7),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10," CatEye Bluetooth Speed and Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12," Garmin Bike Speed 2 and Cadence 2 Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14," iGPSPORT Speed Sensor and Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16," Polar Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18," TAOPE Speed Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div",20),i["\u0275\u0275elementStart"](20,"ul",7),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22," Wahoo Blue Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24," Wahoo RPM Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275text"](26," Wahoo RPM Speed Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275text"](28," Wahoo Blue SC Speed and Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"li"),i["\u0275\u0275text"](30," Scosche Rhythm Speed & Cadence "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](31,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isThemeBecolorado)}}var Aj=function(){function e(e){this.ThemeService=e,this.showSpeedCompatibility=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-speed"]],decls:39,vars:3,consts:[[1,"main-menu-section-heading"],["routerLink","/fitness-sensors"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],["href","http://www.wahoofitness.com/devices/wahoo-rpm-speed-sensor.html"],["routerLink","/compatibility.html"],[1,"list-spacing"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],[4,"ngIf"],[2,"clear","both"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],["alt","Bluetooth Low Energy Compatible","src","/static/img/bluetooth_smart.png",1,"compBLEicon"],[1,"compTopText"],["class","supportDownloadMsg",4,"ngIf"],[1,"sensorColumnLeft"],[1,"sensorColumnRight"],[1,"supportDownloadMsg"],["routerLink","/signup"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5,"Speed Sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",4),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8," Fitdigits apps are compatible with the "),i["\u0275\u0275elementStart"](9,"a",5),i["\u0275\u0275text"](10,"Wahoo RPM Speed Sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](11," and other Bluetooth Low Energy compatible Speed sensors like Bryton, Polar, CycleOps and more. Use the sensor to accurately track your Indoor or outdoor cycling speed and distance. You must have a "),i["\u0275\u0275elementStart"](12,"a",6),i["\u0275\u0275text"](13,"Bluetooth Smart compatible device"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14," to pair. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"ol",7),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,"Install your Speed Sensor on your bike or Spinning\xae Bike"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19,"Push the pedals in order to activate the sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21,"Open the Fitdigits app and go to Menu > Settings > Sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275text"](23,'Scroll down to "Speed" hit the + button'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"li"),i["\u0275\u0275text"](25,"The app should scan and find the active Speed sensor. Tap OK to pair"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"p"),i["\u0275\u0275text"](27,"You are now paired! Begin a Spinning\xae or Bike workout to get real time speed and distance. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"p"),i["\u0275\u0275text"](29,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"div",8),i["\u0275\u0275listener"]("click",function(){return t.showSpeedCompatibility=!t.showSpeedCompatibility}),i["\u0275\u0275template"](31,Dj,1,0,"img",9),i["\u0275\u0275template"](32,Lj,1,0,"img",10),i["\u0275\u0275elementStart"](33,"div",11),i["\u0275\u0275text"](34," Compatibility "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](35,jj,32,1,"div",12),i["\u0275\u0275element"](36,"div",13),i["\u0275\u0275elementStart"](37,"p"),i["\u0275\u0275text"](38,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](31),i["\u0275\u0275property"]("ngIf",!t.showSpeedCompatibility),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showSpeedCompatibility),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showSpeedCompatibility))},directives:[S.f,y.NgIf],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function Fj(e,t){1&e&&i["\u0275\u0275element"](0,"img",12)}function Bj(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function zj(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",20),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275elementStart"](2,"a",21),i["\u0275\u0275text"](3,"Free Download: Test compatibility of any sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementEnd"]())}function Nj(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",14),i["\u0275\u0275elementStart"](2,"div",15),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Our heart rate training & tracking apps are compatible with most Bluetooth Smart | Bluetooth 4.0 | Bluetooth Low Energy (BLE) compatible Speed & Cadence sensors."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,zj,5,0,"div",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"div",11),i["\u0275\u0275elementStart"](7,"div",17),i["\u0275\u0275elementStart"](8,"ul",18),i["\u0275\u0275elementStart"](9,"li"),i["\u0275\u0275text"](10," CatEye Bluetooth Speed and Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12," Garmin Bike Speed 2 and Cadence 2 Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"li"),i["\u0275\u0275text"](14," iGPSPORT Speed Sensor and Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"li"),i["\u0275\u0275text"](16," Polar Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275text"](18," TAOPE Speed Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div",19),i["\u0275\u0275elementStart"](20,"ul",18),i["\u0275\u0275elementStart"](21,"li"),i["\u0275\u0275text"](22," Wahoo Blue Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"li"),i["\u0275\u0275text"](24," Wahoo RPM Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275text"](26," Wahoo RPM Speed Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"li"),i["\u0275\u0275text"](28," Wahoo Blue SC Speed and Cadence Sensor "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"li"),i["\u0275\u0275text"](30," Scosche Rhythm Speed & Cadence "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](31,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isThemeBecolorado)}}var Hj=function(){function e(e){this.ThemeService=e,this.showSpeedCadenceCompatibility=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-speed-and-cadence"]],decls:42,vars:3,consts:[[1,"main-menu-section-heading"],["routerLink","/fitness-sensors"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],["src","/static/img/speed-and-cadence-setup.png","alt","Positioning your Speed and Cadence Sensor",1,"support-image-large"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],[4,"ngIf"],[2,"clear","both"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],["alt","Bluetooth Low Energy Compatible","src","/static/img/bluetooth_smart.png",1,"compBLEicon"],[1,"compTopText"],["class","supportDownloadMsg",4,"ngIf"],[1,"sensorColumnLeft"],[1,"list-spacing"],[1,"sensorColumnRight"],[1,"supportDownloadMsg"],["routerLink","/signup"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5,"Speed & Cadence Sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",4),i["\u0275\u0275elementStart"](7,"h4"),i["\u0275\u0275text"](8,"Pair Your Bluetooth Low Energy Speed & Cadence Sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10,"Fitdigits iOS apps are compatible with the Wahoo Blue Speed and Cadence Sensor, the Scosche Speed/Cadence sensor, and other Bluetooth Low Energy (BLE / BT 4.0 / BT Smart) Speed and Cadence sensors."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"ol"),i["\u0275\u0275elementStart"](12,"li"),i["\u0275\u0275text"](13,"Install your Speed and Cadence Sensor on to your Outdoor Bike"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"li"),i["\u0275\u0275text"](15,"Open your Fitdigits app and go to Menu > Settings > Sensors, and scroll down to Speed + Cadence."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,"Move the pedals on your Bike with the installed sensor. This will turn on the sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19,"Turn Bluetooth Smart under Speed + Cadence to ON. It will now search for the sensors"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21,"It will find the sensor and assign a sensor ID."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"h4"),i["\u0275\u0275text"](23,"Calibrate the Speed & Cadence Sensor"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"p"),i["\u0275\u0275text"](25,"Calibrate your Speed and Cadence Sensor with GPS, similar to the way you calibrate a foot pod. Once you have the sensor installed and paired, tap Menu > Sensors, and under Speed + Cadence tap Calibration (Note: this will only appear if S+C is turned on).\n"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"p"),i["\u0275\u0275text"](27,"On the cycle calibration page, the process is the same as calibrating a foot pod. Enter in your Calibration factor, and all bike workouts will now use this calibration factor during workouts."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](28,"img",5),i["\u0275\u0275elementStart"](29,"p"),i["\u0275\u0275text"](30,"When setting up a Speed & Cadence sensor like the Wahoo pictured above, make sure the magnet on the pedal crank arm is lined up to the notch on the main head, and within just a few millimeters of the notch when passing by. The adjustable arm on the other side should be angled down (not up) and there is a notch on it that should also be aligned with the magnet on the wheel spokes as it passes by, also spaced at most within a few millimeters of the arm notch. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"p"),i["\u0275\u0275text"](32,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"div",6),i["\u0275\u0275listener"]("click",function(){return t.showSpeedCadenceCompatibility=!t.showSpeedCadenceCompatibility}),i["\u0275\u0275template"](34,Fj,1,0,"img",7),i["\u0275\u0275template"](35,Bj,1,0,"img",8),i["\u0275\u0275elementStart"](36,"div",9),i["\u0275\u0275text"](37," Compatibility "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](38,Nj,32,1,"div",10),i["\u0275\u0275element"](39,"div",11),i["\u0275\u0275elementStart"](40,"p"),i["\u0275\u0275text"](41,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](34),i["\u0275\u0275property"]("ngIf",!t.showSpeedCadenceCompatibility),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showSpeedCadenceCompatibility),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showSpeedCadenceCompatibility))},directives:[S.f,y.NgIf],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function Vj(e,t){1&e&&i["\u0275\u0275element"](0,"img",8)}function Yj(e,t){1&e&&i["\u0275\u0275element"](0,"img",9)}function Wj(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",10),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"When you are a Fitdigits Star Member you get to create your own team and team page! Have fun with your friends and family, share activities, create leaderboards, and more. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"h4"),i["\u0275\u0275text"](4,"Create a Team"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"ol",11),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Upgrade to a "),i["\u0275\u0275elementStart"](8,"a",12),i["\u0275\u0275text"](9,"Star Membership"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](10,"\xa0with Fitdigits. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"li"),i["\u0275\u0275text"](12,"Login to "),i["\u0275\u0275elementStart"](13,"a",13),i["\u0275\u0275text"](14,"my.fitdigits.com"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](15,", tap Teams"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"li"),i["\u0275\u0275text"](17,'Select "Create a Team"'),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"li"),i["\u0275\u0275text"](19,"Enter your Team name, password, and description. You can also add a group photo, as well as a custom Fitdigits URL to make your team easier to find to new members "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"li"),i["\u0275\u0275text"](21,"Tap Save"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"h4"),i["\u0275\u0275text"](23,"Editing Group Info"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"p"),i["\u0275\u0275text"](25,"You can edit your team information any time from the Member Admin page. Simply click on the name of the team to see current team info, change the team password, etc. See below on Managing Users for more."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"h4"),i["\u0275\u0275text"](27,"Managing Users"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"p"),i["\u0275\u0275text"](29,"Users can be invited, added, deleted, and assigned roles from the same team admin page. You can assign the role of user or admin. There can only be one owner for a team. The team owner can\u2019t be deleted until the role has been assigned to another member in the team."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"p"),i["\u0275\u0275elementStart"](31,"strong"),i["\u0275\u0275text"](32,"Inviting Users to your Group"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"ol",11),i["\u0275\u0275elementStart"](34,"li"),i["\u0275\u0275text"](35,"Go to Teams > Admin"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"li"),i["\u0275\u0275text"](37,"Select your team (if you have more than one team)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"li"),i["\u0275\u0275text"](39,"Select Invite users \u2013 be sure to include commas between email addresses"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"p"),i["\u0275\u0275text"](41,"Each team can only have a maximum of 15 users. If you want more than 15 users, you need to create a second team with an additional team credit. Invited members should receive an email containing the team name and password"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"p"),i["\u0275\u0275text"](43,"Users may also request to join a team. To do this:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"ol",11),i["\u0275\u0275elementStart"](45,"li"),i["\u0275\u0275text"](46,"Go to Teams > Join Team"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"li"),i["\u0275\u0275text"](48,"Enter in the team name and password (note that these are case sensitive)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"p"),i["\u0275\u0275text"](50,"For member roles, privacy and sharing see the section below."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](51,"p"),i["\u0275\u0275text"](52,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function Gj(e,t){1&e&&i["\u0275\u0275element"](0,"img",8)}function Uj(e,t){1&e&&i["\u0275\u0275element"](0,"img",9)}function qj(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",10),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"There are 4 types of Member Roles. Team Owner, Team Admins, Team Auditors and Team Members."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Each team is structured to have one group Owner and one (or more) administrators (admin). The base team is good for up to 10 total members. The Owner of the team has permission to add and delete users as well as assign group roles."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275text"](6,"Admins are set by the Owner or other Admins. They also have full views, member add, delete and role administration rights. An Admin cannot make anyone an Owner as there is only one Owner per group."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"An Auditor must also be an Owner or Admin. As an Auditor you are able to view in detail and work within team member or trainees accounts and information. See Auditing for more on how that can work for your programs!"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"h4"),i["\u0275\u0275text"](10,"Member Privacy & Sharing Permissions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275text"](12,"Each member has the ability to specify what they want to share with a group. This will affect the view of things like group feed, roster, leaderboard stats and more. Members can view or change their settings at any time from the group view, tapping the menu icon and My Group Sharing Permissions in the main menu."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275element"](14,"img",14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function Zj(e,t){1&e&&i["\u0275\u0275element"](0,"img",8)}function $j(e,t){1&e&&i["\u0275\u0275element"](0,"img",9)}function Xj(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",10),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"Add a custom leaderboard, group workout feed, roster, custom blog section and more to your groups page. With custom HTML widgets, add messaging, graphics and more to complete the communications."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Once your group is created, a default groups page exists for your group. The default widgets include your member roster, a personal workout feed, and a feed for the Fitdigits blog, however contents are easily customizable."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"h4"),i["\u0275\u0275text"](6,"Customizing your Group Page"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"You must be a Group Owner or Group Administrator to modify the group page for all users (see Managing Users)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10,"From the Group detail page, tap the Menu icon in the top left. Administrators and Owners will see the Preview checkbox in the upper right. When checked, you are viewing the group page as it will show to other members (depending on widget choices)."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275elementStart"](12,"strong"),i["\u0275\u0275text"](13,"Leaderboard"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"p"),i["\u0275\u0275text"](15,"This will create a sortable leaderboard featuring a variety of stats you can choose from, including time, distance, calories and more. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275elementStart"](17,"strong"),i["\u0275\u0275text"](18,"Group Workout Feed"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275text"](20,"See the workouts completed by team members who have opted-in to share their workouts to the group. Tap on the icon to go to the details. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275elementStart"](22,"strong"),i["\u0275\u0275text"](23,"Group Roster"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"p"),i["\u0275\u0275text"](25,"The Roster is added by default. This will list all of the members of your group, along with information they have given permission for members to view. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"p"),i["\u0275\u0275elementStart"](27,"strong"),i["\u0275\u0275text"](28,"Personal Workout Feed"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"p"),i["\u0275\u0275text"](30,"If you want to just see your own personal workout feed. This does not show on other group members pages. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"p"),i["\u0275\u0275elementStart"](32,"strong"),i["\u0275\u0275text"](33,"Banner"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"p"),i["\u0275\u0275text"](35,"Add a custom banner image with this widget. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"p"),i["\u0275\u0275elementStart"](37,"strong"),i["\u0275\u0275text"](38,"HTML"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"p"),i["\u0275\u0275text"](40,"The HTML widget is one of our most flexible. Basic HTML can be used to create messages and presentations to your group with almost endless variety. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"p"),i["\u0275\u0275elementStart"](42,"strong"),i["\u0275\u0275text"](43,"Calendar"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"p"),i["\u0275\u0275text"](45,"Show a calendar with checks on all the days the group recorded activity, see the totals below, and select a day to drill into specific activities. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"p"),i["\u0275\u0275elementStart"](47,"strong"),i["\u0275\u0275text"](48,"Blog Feed"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"p"),i["\u0275\u0275text"](50,"You can easily link to an existing blog feed. You will need to know the blog feed URL and specify how many posts you want to show. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function Kj(e,t){1&e&&i["\u0275\u0275element"](0,"img",8)}function Jj(e,t){1&e&&i["\u0275\u0275element"](0,"img",9)}function Qj(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",10),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"There are a variety of settings and methods for Individual and Team based notifications and messaging."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275text"](5,"Group Admin View:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7,"From here you can send Group Invites, or even a push message to your entire team or a specific user, which will create an Inbox item for them in addition to the notification."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](8,"img",15),i["\u0275\u0275element"](9,"img",16),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11,"You can also message users directly to their inbox, which does not send a push message. Tap on the envelope in the listing in the admin page."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](12,"img",17),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14,"Of course, you can also visit any shared workout and leave comments in the comments section:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"img",18),i["\u0275\u0275elementEnd"]())}function eA(e,t){1&e&&i["\u0275\u0275element"](0,"img",8)}function tA(e,t){1&e&&i["\u0275\u0275element"](0,"img",9)}function nA(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",10),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2,"View and work with your Trainees / Team details."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Requirements to Audit a member:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"ul",11),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"User must have given permission for Coaches View"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Auditor must have Auditing / Coaching permissions"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11,"From the user, they would either grant the permission when signing up, or they can modify it in Group Menu > Group Permission Settings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](12,"img",19),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14,"Once permissions have been set, you can access Coach Viewing / Auditing of another persons account through the Coach Whistle icon next to the user to audit:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"img",20),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275text"](17,"This will give you a full view of what is going on in their account, though it excludes viewing or accessing their personal inbox."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var iA=function(){function e(e,t){this.ThemeService=e,this.route=t,this.showCreateTeam=!0,this.showManageTeam=!1,this.showTeamRoles=!1,this.showTeamMessage=!1,this.showTeamAudit=!1,this.categoryTypeInput=this.route.snapshot.paramMap.get("categoryType")}return e.prototype.ngOnInit=function(){"create"==this.categoryTypeInput&&(this.showCreateTeam=!0)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](S.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-group-overview"]],decls:38,vars:18,consts:[[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","support-content","style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content",2,"clear","both"],[1,"list-spacing"],["href","https://my.fitdigits.com/memberships"],["href","http://my.fitdigits.com/"],["src","/static/img/group-permission-settings.png"],["src","/static/img/messagegroup.png",1,"support-image-large"],["src","/static/img/messagegroup2.png",1,"support-image-large"],["src","/static/img/messagegroup3.png",1,"support-image-large"],["src","/static/img/messagegroup4.png",1,"support-image-large"],["src","/static/img/team-permissions.png",1,"support-image-large"],["src","/static/img/team-auditing.png",1,"support-image-large"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",1),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",2),i["\u0275\u0275elementStart"](6,"div",3),i["\u0275\u0275listener"]("click",function(){return t.showCreateTeam=!t.showCreateTeam}),i["\u0275\u0275template"](7,Vj,1,0,"img",4),i["\u0275\u0275template"](8,Yj,1,0,"img",5),i["\u0275\u0275elementStart"](9,"div",6),i["\u0275\u0275text"](10," Creating your Teams & Managing Users "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](11,Wj,53,0,"div",7),i["\u0275\u0275elementStart"](12,"div",3),i["\u0275\u0275listener"]("click",function(){return t.showTeamRoles=!t.showTeamRoles}),i["\u0275\u0275template"](13,Gj,1,0,"img",4),i["\u0275\u0275template"](14,Uj,1,0,"img",5),i["\u0275\u0275elementStart"](15,"div",6),i["\u0275\u0275text"](16," Member Roles, Privacy & Sharing "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](17,qj,15,0,"div",7),i["\u0275\u0275elementStart"](18,"div",3),i["\u0275\u0275listener"]("click",function(){return t.showManageTeam=!t.showManageTeam}),i["\u0275\u0275template"](19,Zj,1,0,"img",4),i["\u0275\u0275template"](20,$j,1,0,"img",5),i["\u0275\u0275elementStart"](21,"div",6),i["\u0275\u0275text"](22," Managing your Team Views "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](23,Xj,51,0,"div",7),i["\u0275\u0275elementStart"](24,"div",3),i["\u0275\u0275listener"]("click",function(){return t.showTeamMessage=!t.showTeamMessage}),i["\u0275\u0275template"](25,Kj,1,0,"img",4),i["\u0275\u0275template"](26,Jj,1,0,"img",5),i["\u0275\u0275elementStart"](27,"div",6),i["\u0275\u0275text"](28," Messaging & Communications "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](29,Qj,16,0,"div",7),i["\u0275\u0275elementStart"](30,"div",3),i["\u0275\u0275listener"]("click",function(){return t.showTeamAudit=!t.showTeamAudit}),i["\u0275\u0275template"](31,eA,1,0,"img",4),i["\u0275\u0275template"](32,tA,1,0,"img",5),i["\u0275\u0275elementStart"](33,"div",6),i["\u0275\u0275text"](34," Auditing Members (beta) "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](35,nA,18,0,"div",7),i["\u0275\u0275elementStart"](36,"p"),i["\u0275\u0275text"](37,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,16,"ROOT.Teams")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!t.showCreateTeam),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showCreateTeam),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showCreateTeam),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showTeamRoles),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showTeamRoles),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showTeamRoles),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showManageTeam),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showManageTeam),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showManageTeam),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showTeamMessage),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showTeamMessage),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showTeamMessage),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.showTeamAudit),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showTeamAudit),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showTeamAudit))},directives:[y.NgIf],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}(),rA=function(){function e(e){this.ThemeService=e,this.showOverview=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-advanced-heart-rate-analysis"]],decls:41,vars:1,consts:[[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],[2,"clear","both"],["routerLink","/memberships"],["routerLink","/personalized-heart-rate-zones.html"],["routerLink","/fitness-assessments.html"],["routerLink","/zones/overview"],["src","/static/img/advanced-hr-analysis.png",1,"support-image-large"],["src","/static/img/advanced-hr-analysis2.png",1,"support-image-large"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",1),i["\u0275\u0275text"](3,"Advanced Heart Rate Analysis"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",2),i["\u0275\u0275element"](5,"p"),i["\u0275\u0275elementStart"](6,"div",3),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"Fitdigits advanced heart rate analysis is now included with the "),i["\u0275\u0275elementStart"](9,"a",4),i["\u0275\u0275text"](10,"Star Membership"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](11,". Heart rate analysis helps you monitor how your fitness is changing through time, making sure that your efforts over multiple workouts are balanced to your goals and helping you reach those goals. It can also help you dial in your "),i["\u0275\u0275elementStart"](12,"a",5),i["\u0275\u0275text"](13,"personal heart rate zones"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](14,", allowing you to see how the distribution goes at different intensities. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"p"),i["\u0275\u0275text"](16,"To access new heart rate analysis charts, log into my.fitdigits.com. Go to Activities. Click the arrows on either side of the dashboard display to switch dashboards. Remember, you can adjust your time in the top left corner to view your stats by week, month, year, or custom. By dropping down the options menu, you can also change the grouping of your activities (to select Runs only, Cycle only, etc) and adjust which activity type is displayed."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"h4"),i["\u0275\u0275text"](18,"BPM (Beats per Minute) Histogram"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275text"](20),i["\u0275\u0275elementStart"](21,"a",6),i["\u0275\u0275text"](22,"fitness assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](23,". If you have had a fitness assessment elsewhere and know your zones, you can also "),i["\u0275\u0275elementStart"](24,"a",7),i["\u0275\u0275text"](25,"manually enter them"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](26,"."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](27,"img",8),i["\u0275\u0275elementStart"](28,"h4"),i["\u0275\u0275text"](29,"Zone Histogram"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"p"),i["\u0275\u0275text"](31,"Zone histograms show the time spent in each heart rate zone as well as a percent breakdown for each zone. In the image below, 12% or 7:22 hours of total workout time with heart rate was spent in zone 2. The zone histogram and pie chart will show just how your time in zones adds up."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](32,"img",9),i["\u0275\u0275elementStart"](33,"p"),i["\u0275\u0275text"](34,"New advanced graphs allow you to see your time in zones over multiple workouts. Select to view workouts by month to see how your fitness is changing through time. If you choose, you may also view these changes over all workouts or over a specific workout type."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"p"),i["\u0275\u0275text"](36,"This can be great when you are going through different training stages or have different goals in mind. Are you looking to build your base in the off-season? If so, maybe you want to make sure you are mostly in those lower zones for longer periods of time. Are you looking to improve your stamina at race pace? Or perhaps your power for shorter distances?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"p"),i["\u0275\u0275text"](38,"Each goal has, at its core, a mix of time in the zones; if you are always pushing too hard, it may be time to give your body a break! Can you identify where you are cutting yourself short by not pushing hard enough, or if you aren\u2019t taking enough base building time?"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"p"),i["\u0275\u0275text"](40,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](20),i["\u0275\u0275textInterpolate1"]("BPM histograms show your heart rate distribution for the given time frame. Below is the heart rate distribution for all workouts in 2013. Zones can be determined by dropping the Options section and selecting the heart rate zone set of your choice. Check out how ",t.ThemeService.baseAppName," determines heart rate zones and how accurately determine zones with "))},directives:[S.f],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}();function aA(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",4),i["\u0275\u0275element"](2,"img",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4,"Hundreds of videos in dozens of categories and workout types, from indoor cycling classes to kettle bell instruction, get integrated YouTube videos into your workouts. It is fun and easy! get motivated from your favorite YouTube workout gurus, and keep track of your efforts for the ultimate in credit \u2013 tracked results! "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275text"](6," In iCardio, select the workout type you want to crush, tap the options gear icon, then tap Routes & Routines, and select Videos from the top. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var oA=function(){function e(e){this.ThemeService=e,this.showYouTubeOverview=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-youtube-overview"]],decls:6,vars:2,consts:[[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],[4,"ngIf"],[2,"text-align","center","width","100%","float","left"],["src","/static/img/youtube_video_promo.png",1,"support-image-large"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",1),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",2),i["\u0275\u0275template"](5,aA,9,0,"div",3),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("YouTube Workouts & ",t.ThemeService.baseAppName,""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.showYouTubeOverview))},directives:[y.NgIf],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}(),sA=function(){function e(e,t,n){this.panelOpen=!1,this.name=e.trackerType.name,this.description=e.trackerType.description,this.comments=e.comments,this.healthVaultKey=e.trackerType.healthVaultKey,this.period=e.period,this.defaultPeriod=e.trackerType.defaultPeriod,this.is_ritual=e.trackerType.is_ritual,this.descriptionFormatted=e.trackerType.descriptionFormatted,this.creationDate="",this.units=e.trackerType.units,this.units_plural=e.trackerType.units_plural,this.tracker_id=e.tracker_id,this.trackerTypeID=e.trackerTypeID,this.isFavoriteTracker=this.tracker_id===t||e.is_favorite,this.trackerTypeID=e.trackerType.trackerTypeID,this.tracker_type_unique_id=e.trackerType.tracker_type_unique_id,this.accountId=e.accountID,this.creationDate=e.creationDate,this.ownerType=e.ownerType,this.groupName=e.groupName,this.groupPath=e.groupPath,this.groupLink="","group"===this.ownerType&&(this.groupLink="?group="+e.groupPath)}return e.prototype.isGroupTracker=function(){return"group"===this.ownerType},e.prototype.getGroupName=function(){return this.isGroupTracker()&&"undefined"!==this.groupName?this.groupName:""},e}(),lA=function(){return function(e,t){this.id=e.id,this.type=e.type,this.date=e.date,this.source=e.source,this.comments=e.comments,this.dateUTC=e.dateUTC,this.rating=e.measures.rating,this.ratingFormatted=e.measures.ratingFormatted}}();function cA(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",5),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",6),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementStart"](5,"img",7),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.showAddTracker=!e.showAddTracker}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](4,1,"ROOT.Trackers")," "))}function dA(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}function uA(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",37),i["\u0275\u0275text"](1," Create Default Trackers: /api/v2/tracker/create_default_trackers"),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3," Create Tracker: /api/v2/tracker/create_tracker"),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275text"](5," Create Ritual: /api/v2/tracker/create_ritual "),i["\u0275\u0275elementEnd"]())}function pA(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field"),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"input",38),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).trackerCreate.amount=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,2,"ROOT.Amount")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.trackerCreate.amount)}}function hA(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field"),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"input",39),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).trackerCreate.units=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,2,"ROOT.Units")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.trackerCreate.units)}}function mA(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field"),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"input",40),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).trackerCreate.units_plural=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,2,"ROOT.Units (Plural)")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.trackerCreate.units_plural)}}function gA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",41),i["\u0275\u0275element"](1,"img",42),i["\u0275\u0275element"](2,"div",43),i["\u0275\u0275elementStart"](3,"div",44),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](n.error)}}function fA(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"button",13),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).showAddTracker=!1}),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementStart"](3,"mat-icon"),i["\u0275\u0275text"](4,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,uA,6,0,"div",10),i["\u0275\u0275text"](6," Add Tracker"),i["\u0275\u0275element"](7,"br"),i["\u0275\u0275element"](8,"br"),i["\u0275\u0275elementStart"](9,"form"),i["\u0275\u0275elementStart"](10,"div",14),i["\u0275\u0275elementStart"](11,"mat-form-field",15),i["\u0275\u0275elementStart"](12,"mat-label"),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"mat-select",16),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).trackerCreate.tracker_type=e}),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementStart"](17,"mat-option",17),i["\u0275\u0275text"](18),i["\u0275\u0275pipe"](19,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"mat-option",18),i["\u0275\u0275text"](21),i["\u0275\u0275pipe"](22,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"mat-form-field"),i["\u0275\u0275elementStart"](24,"mat-label"),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"input",19),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).trackerCreate.name=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](28,"div",20),i["\u0275\u0275elementStart"](29,"mat-form-field",21),i["\u0275\u0275elementStart"](30,"mat-label"),i["\u0275\u0275text"](31),i["\u0275\u0275pipe"](32,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"mat-select",22),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).trackerCreate.category=e}),i["\u0275\u0275pipe"](34,"translate"),i["\u0275\u0275elementStart"](35,"mat-option",23),i["\u0275\u0275text"](36),i["\u0275\u0275pipe"](37,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](38,"mat-option",24),i["\u0275\u0275text"](39),i["\u0275\u0275pipe"](40,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"mat-option",25),i["\u0275\u0275text"](42),i["\u0275\u0275pipe"](43,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"mat-option",26),i["\u0275\u0275text"](45),i["\u0275\u0275pipe"](46,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"mat-option",27),i["\u0275\u0275text"](48),i["\u0275\u0275pipe"](49,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"mat-option",28),i["\u0275\u0275text"](51),i["\u0275\u0275pipe"](52,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"mat-form-field",21),i["\u0275\u0275elementStart"](54,"mat-label"),i["\u0275\u0275text"](55),i["\u0275\u0275pipe"](56,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](57,"mat-select",29),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).trackerCreate.period=e}),i["\u0275\u0275pipe"](58,"translate"),i["\u0275\u0275elementStart"](59,"mat-option",30),i["\u0275\u0275text"](60),i["\u0275\u0275pipe"](61,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](62,"mat-option",31),i["\u0275\u0275text"](63),i["\u0275\u0275pipe"](64,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](65,"mat-form-field",32),i["\u0275\u0275elementStart"](66,"mat-label"),i["\u0275\u0275text"](67),i["\u0275\u0275pipe"](68,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](69,"textarea",33),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).trackerCreate.comments=e}),i["\u0275\u0275text"](70,"\t\t\t\t\t\t\t"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](71,pA,5,4,"mat-form-field",3),i["\u0275\u0275template"](72,hA,5,4,"mat-form-field",3),i["\u0275\u0275template"](73,mA,5,4,"mat-form-field",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](74,"div",34),i["\u0275\u0275elementStart"](75,"button",35),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.createTracker(e.trackerCreate)}),i["\u0275\u0275elementStart"](76,"span"),i["\u0275\u0275text"](77),i["\u0275\u0275pipe"](78,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](79,gA,5,1,"div",36),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](2,31,"ROOT.Close")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.isDevMode),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](14,33,"ROOT.Tracker Type")),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("aria-label",i["\u0275\u0275pipeBind1"](16,35,"ROOT.Tracker Type")),i["\u0275\u0275property"]("ngModel",r.trackerCreate.tracker_type),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](19,37,"ROOT.Ritual")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](22,39,"ROOT.Tracker")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](26,41,"ROOT.Name")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.trackerCreate.name),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](32,43,"ROOT.Category")),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("aria-label",i["\u0275\u0275pipeBind1"](34,45,"ROOT.Category")),i["\u0275\u0275property"]("ngModel",r.trackerCreate.category),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](37,47,"ROOT.Nutrition")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](40,49,"ROOT.Fitness")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](43,51,"ROOT.Stress")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](46,53,"ROOT.Social")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](49,55,"ROOT.Cognition")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](52,57,"ROOT.None")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](56,59,"ROOT.Period")),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("aria-label",i["\u0275\u0275pipeBind1"](58,61,"ROOT.Period")),i["\u0275\u0275property"]("ngModel",r.trackerCreate.period),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](61,63,"ROOT.Daily")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](64,65,"ROOT.Weekly")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](68,67,"ROOT.Comments")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.trackerCreate.comments),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","Tracker"==r.trackerCreate.tracker_type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Tracker"==r.trackerCreate.tracker_type),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Tracker"==r.trackerCreate.tracker_type),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](78,69,"ROOT.Create")," ",r.trackerCreate.tracker_type,""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.error)}}function vA(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",37),i["\u0275\u0275text"](1," List Trackers: /api/v2/tracker/list_trackers"),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3," List Rituals: /api/v2/tracker/list_rituals "),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275text"](5,"(current)"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275elementEnd"]())}function yA(e,t){1&e&&i["\u0275\u0275element"](0,"img",53)}function bA(e,t){1&e&&i["\u0275\u0275element"](0,"img",54)}function xA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"]("units: ",n.units," plural: ",n.units_plural,"")}}function _A(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",76),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,xA,2,2,"p",3),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("description: ",n.description,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("comments: ",n.comments,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("is_ritual: ",n.is_ritual,""),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.is_ritual),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("tracker_id: ",n.tracker_id,"")}}function wA(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",37),i["\u0275\u0275text"](1," Rate Ritual: /api/v2/tracker/rate_ritual"),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3," Update Tracker: Values in HealthData? "),i["\u0275\u0275elementEnd"]())}function SA(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",77),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275elementStart"](4,"button",78),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](6);return e.delete_tracker(e.tracker_id)}),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementStart"](6,"mat-icon"),i["\u0275\u0275text"](7,"check_circle_outline"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"span"),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"button",78),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).showDeleteTracker=!1}),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementStart"](13,"mat-icon"),i["\u0275\u0275text"](14,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"span"),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,5,"ROOT.Are you sure?"),""),i["\u0275\u0275advance"](3),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](5,7,"ROOT.Yes")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](10,9,"ROOT.Yes")),i["\u0275\u0275advance"](2),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](12,11,"ROOT.Cancel")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](17,13,"ROOT.Cancel")))}function CA(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",37),i["\u0275\u0275text"](1," Edit Tracker: Uses update_ritual"),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3," Edit Rituals: /api/v2/tracker/update_ritual"),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementEnd"]())}function kA(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"button",13),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).showEditTracker=!1}),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementStart"](3,"mat-icon"),i["\u0275\u0275text"](4,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,CA,5,0,"div",10),i["\u0275\u0275text"](6," Edit Tracker Values"),i["\u0275\u0275element"](7,"br"),i["\u0275\u0275elementStart"](8,"button",79),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).showEditTracker=!1}),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementStart"](10,"mat-icon"),i["\u0275\u0275text"](11,"save"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](12," Save "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](1),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](2,3,"ROOT.Close")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.isDevMode),i["\u0275\u0275advance"](3),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](9,5,"ROOT.Save"))}}function OA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",86),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.ratingFormatted,"")}}function EA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",87),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.ratingFormatted,"")}}function MA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",88),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.ratingFormatted,"")}}function IA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",89),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.ratingFormatted,"")}}function PA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate6"](" ",n.id," / ",n.rating," / ",n.ratingFormatted," / ",n.date," / ",n.comments," / ",n.source," ")}}function TA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",81),i["\u0275\u0275template"](2,OA,2,1,"div",82),i["\u0275\u0275template"](3,EA,2,1,"div",83),i["\u0275\u0275template"](4,MA,2,1,"div",84),i["\u0275\u0275template"](5,IA,2,1,"div",85),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"date"),i["\u0275\u0275template"](8,PA,2,6,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](7);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0==n.rating),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==n.rating),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",2==n.rating),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",3==n.rating),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](7,6,n.date,"MM/dd")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.isDevMode)}}function DA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",37),i["\u0275\u0275text"](1," Tracker Values: Uses get_ritual_ratings"),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3," Ritual Ratings: /api/v2/tracker/get_ritual_ratings"),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275text"](6,"Tracker Ratings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"]("healthVaultKey: ",n.healthVaultKey,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("accountId: ",n.accountId,"")}}function LA(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"button",13),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).showTrackerRatings=!1}),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementStart"](3,"mat-icon"),i["\u0275\u0275text"](4,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,TA,9,9,"div",80),i["\u0275\u0275template"](6,DA,11,2,"div",10),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](1),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](2,3,"ROOT.Close")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngForOf",r.trackerRatings),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isDevMode)}}function RA(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-expansion-panel",56),i["\u0275\u0275listener"]("opened",function(){return t.$implicit.panelOpen=!0}),i["\u0275\u0275elementStart"](1,"mat-expansion-panel-header",57),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](5).get_daily_ritual_ratings(e.tracker_id)}),i["\u0275\u0275element"](2,"canvas",58),i["\u0275\u0275elementStart"](3,"div",59),i["\u0275\u0275elementStart"](4,"div",60),i["\u0275\u0275element"](5,"img",61),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",62),i["\u0275\u0275elementStart"](7,"div",63),i["\u0275\u0275elementStart"](8,"div"),i["\u0275\u0275elementStart"](9,"h3",64),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"mat-panel-description",65),i["\u0275\u0275template"](12,_A,10,5,"div",66),i["\u0275\u0275elementStart"](13,"div",14),i["\u0275\u0275text"](14),i["\u0275\u0275element"](15,"br"),i["\u0275\u0275text"](16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"div",67),i["\u0275\u0275template"](18,wA,4,0,"div",10),i["\u0275\u0275text"](19," How did you do?"),i["\u0275\u0275element"](20,"br"),i["\u0275\u0275element"](21,"div",68),i["\u0275\u0275elementStart"](22,"button",69),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).rate_ritual(0)}),i["\u0275\u0275text"](23,"0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"button",70),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).rate_ritual(1)}),i["\u0275\u0275text"](25,"1"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"button",71),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).rate_ritual(2)}),i["\u0275\u0275text"](27,"2"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"button",72),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).rate_ritual(3)}),i["\u0275\u0275text"](29,"3"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"div",73),i["\u0275\u0275elementStart"](31,"button",13),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).showEditTracker=!0}),i["\u0275\u0275pipe"](32,"translate"),i["\u0275\u0275elementStart"](33,"mat-icon"),i["\u0275\u0275text"](34,"edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"button",13),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).showDeleteTracker=!0}),i["\u0275\u0275pipe"](36,"translate"),i["\u0275\u0275elementStart"](37,"mat-icon"),i["\u0275\u0275text"](38,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"button",74),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).showTrackerRatings=!0}),i["\u0275\u0275pipe"](40,"translate"),i["\u0275\u0275elementStart"](41,"mat-icon"),i["\u0275\u0275text"](42,"remove_red_eye"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](43," View Ratings "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](44,SA,18,15,"div",75),i["\u0275\u0275template"](45,kA,13,7,"div",9),i["\u0275\u0275template"](46,LA,7,5,"div",9),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](5);i["\u0275\u0275property"]("hidden",0==a.showDailyTracker),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("id",r.tracker_id),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"](" ",r.name," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",a.isDevMode),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.description,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.comments," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",a.isDevMode),i["\u0275\u0275advance"](13),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](32,13,"ROOT.Edit")),i["\u0275\u0275advance"](4),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](36,15,"ROOT.Delete")),i["\u0275\u0275advance"](4),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](40,17,"ROOT.View")),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",a.showDeleteTracker),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.showEditTracker),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.showTrackerRatings)}}function jA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-accordion"),i["\u0275\u0275template"](1,RA,47,19,"mat-expansion-panel",55),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.dailyTracker)}}function AA(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",48),i["\u0275\u0275elementStart"](1,"div",49),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showDailyTracker=!e.showDailyTracker}),i["\u0275\u0275template"](2,yA,1,0,"img",50),i["\u0275\u0275template"](3,bA,1,0,"img",51),i["\u0275\u0275elementStart"](4,"div",52),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"div",47),i["\u0275\u0275template"](8,jA,2,1,"mat-accordion",3),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showDailyTracker),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showDailyTracker),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,4,"ROOT.Daily Trackers")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.showDailyTracker)}}function FA(e,t){1&e&&i["\u0275\u0275element"](0,"img",53)}function BA(e,t){1&e&&i["\u0275\u0275element"](0,"img",54)}function zA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"]("units: ",n.units," plural: ",n.units_plural,"")}}function NA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",76),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"p"),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,zA,2,2,"p",3),i["\u0275\u0275elementStart"](8,"p"),i["\u0275\u0275text"](9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("description: ",n.description,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("comments: ",n.comments,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("is_ritual: ",n.is_ritual,""),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.is_ritual),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("tracker_id: ",n.tracker_id,"")}}function HA(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",37),i["\u0275\u0275text"](1," Rate Ritual: /api/v2/tracker/rate_ritual"),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3," Weekly Rate Ritual - "),i["\u0275\u0275elementEnd"]())}function VA(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",77),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275elementStart"](4,"button",78),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](6);return e.delete_tracker(e.tracker_id)}),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementStart"](6,"mat-icon"),i["\u0275\u0275text"](7,"check_circle_outline"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"span"),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"button",78),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).showDeleteTracker=!1}),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementStart"](13,"mat-icon"),i["\u0275\u0275text"](14,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"span"),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,5,"ROOT.Are you sure?"),""),i["\u0275\u0275advance"](3),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](5,7,"ROOT.Yes")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](10,9,"ROOT.Yes")),i["\u0275\u0275advance"](2),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](12,11,"ROOT.Cancel")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](17,13,"ROOT.Cancel")))}function YA(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",37),i["\u0275\u0275text"](1," Edit Tracker: Uses update_ritual"),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3," Edit Rituals: /api/v2/tracker/update_ritual"),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementEnd"]())}function WA(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"button",13),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).showEditTracker=!1}),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementStart"](3,"mat-icon"),i["\u0275\u0275text"](4,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,YA,5,0,"div",10),i["\u0275\u0275text"](6," Edit Tracker Values"),i["\u0275\u0275element"](7,"br"),i["\u0275\u0275elementStart"](8,"button",79),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).showEditTracker=!1}),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementStart"](10,"mat-icon"),i["\u0275\u0275text"](11,"save"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](12," Save "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](1),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](2,3,"ROOT.Close")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",r.isDevMode),i["\u0275\u0275advance"](3),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](9,5,"ROOT.Save"))}}function GA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",86),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.ratingFormatted,"")}}function UA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",87),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.ratingFormatted,"")}}function qA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",88),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.ratingFormatted,"")}}function ZA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",89),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.ratingFormatted,"")}}function $A(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate6"]("",n.id," / ",n.rating," / ",n.ratingFormatted," / ",n.date," / ",n.comments," / ",n.source,"")}}function XA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",81),i["\u0275\u0275template"](2,GA,2,1,"div",82),i["\u0275\u0275template"](3,UA,2,1,"div",83),i["\u0275\u0275template"](4,qA,2,1,"div",84),i["\u0275\u0275template"](5,ZA,2,1,"div",85),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"date"),i["\u0275\u0275template"](8,$A,2,6,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](7);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",0==n.rating),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==n.rating),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",2==n.rating),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",3==n.rating),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](7,6,n.date,"MM/dd")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.isDevMode)}}function KA(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",37),i["\u0275\u0275text"](1," Tracker Values: Uses get_ritual_ratings xx"),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275text"](3," Ritual Ratings: /api/v2/tracker/get_ritual_ratings"),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementStart"](5,"p"),i["\u0275\u0275text"](6,"Tracker Ratings"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"p"),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"]("healthVaultKey: ",n.healthVaultKey,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("accountId: ",n.accountId,"")}}function JA(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",12),i["\u0275\u0275elementStart"](1,"button",13),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](6).showTrackerRatings=!1}),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementStart"](3,"mat-icon"),i["\u0275\u0275text"](4,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](5,XA,9,9,"div",80),i["\u0275\u0275template"](6,KA,11,2,"div",10),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](1),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](2,3,"ROOT.Close")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngForOf",r.trackerRatingsWeekly),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isDevMode)}}var QA=function(e){return[e]};function eF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-expansion-panel",91),i["\u0275\u0275listener"]("opened",function(){return t.$implicit.panelOpen=!0}),i["\u0275\u0275elementStart"](1,"mat-expansion-panel-header",57),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](5).get_weekly_ritual_ratings(e.tracker_id)}),i["\u0275\u0275element"](2,"canvas",58),i["\u0275\u0275elementStart"](3,"div",59),i["\u0275\u0275elementStart"](4,"div",60),i["\u0275\u0275element"](5,"img",61),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",62),i["\u0275\u0275elementStart"](7,"div",63),i["\u0275\u0275elementStart"](8,"div"),i["\u0275\u0275elementStart"](9,"h3",92),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"mat-panel-description",65),i["\u0275\u0275template"](12,NA,10,5,"div",66),i["\u0275\u0275elementStart"](13,"div",67),i["\u0275\u0275template"](14,HA,4,0,"div",10),i["\u0275\u0275elementStart"](15,"div",14),i["\u0275\u0275text"](16),i["\u0275\u0275element"](17,"br"),i["\u0275\u0275text"](18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](19),i["\u0275\u0275element"](20,"br"),i["\u0275\u0275element"](21,"br"),i["\u0275\u0275elementStart"](22,"button",93),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).rate_ritual(0)}),i["\u0275\u0275text"](23,"0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"button",93),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).rate_ritual(1)}),i["\u0275\u0275text"](25,"1"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"button",93),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).rate_ritual(2)}),i["\u0275\u0275text"](27,"2"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"button",93),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).rate_ritual(3)}),i["\u0275\u0275text"](29,"3"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](30,"div",73),i["\u0275\u0275elementStart"](31,"button",94),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).showEditTracker=!0}),i["\u0275\u0275pipe"](32,"translate"),i["\u0275\u0275elementStart"](33,"mat-icon"),i["\u0275\u0275text"](34,"edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"button",94),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](5).showDeleteTracker=!0}),i["\u0275\u0275pipe"](36,"translate"),i["\u0275\u0275elementStart"](37,"mat-icon"),i["\u0275\u0275text"](38,"delete"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"button",74),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](5);return e.showTrackerRatings=!e.showTrackerRatings}),i["\u0275\u0275pipe"](40,"translate"),i["\u0275\u0275elementStart"](41,"mat-icon"),i["\u0275\u0275text"](42,"remove_red_eye"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](43," View Ratings "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](44,VA,18,15,"div",75),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](45,WA,13,7,"div",9),i["\u0275\u0275template"](46,JA,7,5,"div",9),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](5);i["\u0275\u0275property"]("hidden",0==a.showWeeklyTracker),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("id",r.tracker_id),i["\u0275\u0275advance"](7),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](25,QA,r.is_ritual?"":"ritualColor")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",r.description," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",a.isDevMode),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",a.isDevMode),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.description,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.comments," "),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" How did you do? Rating: ",a.isDevMode," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](27,QA,0==a.rating?"ritualRatingButtonSelected ritualRating0":"ritualRatingButton ritualRating0")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](29,QA,1==a.rating?"ritualRatingButtonSelected ritualRating1":"ritualRatingButton ritualRating1")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](31,QA,2==a.rating?"ritualRatingButtonSelected ritualRating2":"ritualRatingButton ritualRating2")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](33,QA,3==a.rating?"ritualRatingButtonSelected ritualRating3":"ritualRatingButton ritualRating3")),i["\u0275\u0275advance"](3),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](32,19,"ROOT.Edit")),i["\u0275\u0275advance"](4),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](36,21,"ROOT.Delete")),i["\u0275\u0275advance"](4),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](40,23,"ROOT.View")),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",a.showDeleteTracker),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.showEditTracker),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.showTrackerRatings)}}function tF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-accordion"),i["\u0275\u0275template"](1,eF,47,35,"mat-expansion-panel",90),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.weeklyTracker)}}function nF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",48),i["\u0275\u0275elementStart"](1,"div",49),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showWeeklyTracker=!e.showWeeklyTracker}),i["\u0275\u0275template"](2,FA,1,0,"img",50),i["\u0275\u0275template"](3,BA,1,0,"img",51),i["\u0275\u0275elementStart"](4,"div",52),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"div",47),i["\u0275\u0275template"](8,tF,2,1,"mat-accordion",3),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showWeeklyTracker),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showWeeklyTracker),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,4,"ROOT.Weekly Trackers")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.showWeeklyTracker)}}function iF(e,t){1&e&&i["\u0275\u0275element"](0,"img",53)}function rF(e,t){1&e&&i["\u0275\u0275element"](0,"img",54)}function aF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-expansion-panel",96),i["\u0275\u0275listener"]("opened",function(){return t.$implicit.panelOpen=!0}),i["\u0275\u0275elementStart"](1,"mat-expansion-panel-header",97),i["\u0275\u0275element"](2,"canvas",58),i["\u0275\u0275elementStart"](3,"div",59),i["\u0275\u0275elementStart"](4,"div",60),i["\u0275\u0275element"](5,"img",61),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",62),i["\u0275\u0275elementStart"](7,"div",63),i["\u0275\u0275elementStart"](8,"div"),i["\u0275\u0275elementStart"](9,"h3",64),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](5);i["\u0275\u0275property"]("hidden",0==r.showMonthlyTracker),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("id",n.tracker_id),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"](" ",n.description," ")}}function oF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-accordion"),i["\u0275\u0275template"](1,aF,11,3,"mat-expansion-panel",95),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.monthlyTracker)}}function sF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",48),i["\u0275\u0275elementStart"](1,"div",49),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showMonthlyTracker=!e.showMonthlyTracker}),i["\u0275\u0275template"](2,iF,1,0,"img",50),i["\u0275\u0275template"](3,rF,1,0,"img",51),i["\u0275\u0275elementStart"](4,"div",52),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"div",47),i["\u0275\u0275template"](8,oF,2,1,"mat-accordion",3),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showMonthlyTracker),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showMonthlyTracker),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,4,"ROOT.Monthly Trackers")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.showMonthlyTracker)}}function lF(e,t){1&e&&i["\u0275\u0275element"](0,"img",53)}function cF(e,t){1&e&&i["\u0275\u0275element"](0,"img",54)}function dF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-expansion-panel",99),i["\u0275\u0275listener"]("opened",function(){return t.$implicit.panelOpen=!0}),i["\u0275\u0275elementStart"](1,"mat-expansion-panel-header",97),i["\u0275\u0275element"](2,"canvas",58),i["\u0275\u0275elementStart"](3,"div",59),i["\u0275\u0275elementStart"](4,"div",60),i["\u0275\u0275element"](5,"img",61),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",62),i["\u0275\u0275elementStart"](7,"div",63),i["\u0275\u0275elementStart"](8,"div"),i["\u0275\u0275elementStart"](9,"h3",64),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](5);i["\u0275\u0275property"]("hidden",0==r.showAnnualTracker),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("id",n.tracker_id),i["\u0275\u0275advance"](8),i["\u0275\u0275textInterpolate1"](" ",n.description," ")}}function uF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-accordion"),i["\u0275\u0275template"](1,dF,11,3,"mat-expansion-panel",98),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.annualTracker)}}function pF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",48),i["\u0275\u0275elementStart"](1,"div",49),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showAnnualTracker=!e.showAnnualTracker}),i["\u0275\u0275template"](2,lF,1,0,"img",50),i["\u0275\u0275template"](3,cF,1,0,"img",51),i["\u0275\u0275elementStart"](4,"div",52),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"div",47),i["\u0275\u0275template"](8,uF,2,1,"mat-accordion",3),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.showAnnualTracker),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.showAnnualTracker),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,4,"ROOT.Annual Trackers")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.showAnnualTracker)}}function hF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",45),i["\u0275\u0275template"](1,AA,9,6,"div",46),i["\u0275\u0275template"](2,nF,9,6,"div",46),i["\u0275\u0275template"](3,sF,9,6,"div",46),i["\u0275\u0275template"](4,pF,9,6,"div",46),i["\u0275\u0275element"](5,"div",47),i["\u0275\u0275elementStart"](6,"p"),i["\u0275\u0275text"](7,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.dailyTracker.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.weeklyTracker.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.monthlyTracker.length>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.annualTracker.length>0)}}function mF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",8),i["\u0275\u0275template"](1,fA,80,71,"div",9),i["\u0275\u0275template"](2,vA,7,0,"div",10),i["\u0275\u0275template"](3,hF,8,4,"div",11),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showAddTracker),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isDevMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay)}}var gF=function(){function e(e,t,n,i,r,a,o,s){this.titleService=e,this.trackersService=t,this.window=n,this.route=i,this.router=r,this.ThemeService=a,this.AccountService=o,this.changeDetector=s,this.dailyTracker=[],this.showLoadingOverlay=!1,this.weeklyTracker=[],this.monthlyTracker=[],this.annualTracker=[],this.trackerRatings=[],this.trackerRatingsWeekly=[],this.trackers_count=0,this.ratings_count=0,this.max_trackers_reached=!1,this.isMobileEmbedded=!1,this.showDailyTracker=!0,this.showWeeklyTracker=!0,this.showMonthlyTracker=!0,this.showAnnualTracker=!0,this.showAddTracker=!1,this.showEditTracker=!1,this.showDeleteTracker=!1,this.showTrackerRatings=!0,this.isDevMode=!1,this.favtrackerTargetUnits="",this.newProgressDescription="",this.ranConfetti=!1,this.trackerCreate={tracker_type:"Ritual",name:"Test Me",comments:"Yee hawwww",category:"Nutrition",period:"DAILY",is_active:!0,start_day:new Date,units:"",units_plural:"",amount:1}}return e.prototype.reloadComponent=function(){this.fetchData(),this.changeDetector.detectChanges()},e.prototype.confetti=function(e){console.log("Checking confetti"),new $l({target:e}).render()},e.prototype.rate_ritual=function(e){var t=this;this.rating=e,this.params={tracker_id:this.tracker_id,rating:e,date:new Date},this.trackersService.rateRitual(this.params).subscribe(function(e){e.response.error?console.log("ERROR."+e.response.error.code):(console.log("Success"),t.fetchRatingsData(t.tracker_id))})},e.prototype.delete_tracker=function(e){var t=this;this.trackersService.deleteTracker(this.tracker_id).subscribe(function(e){e.response.error?console.log("ERROR."+e.response.error.code):t.fetchData()})},e.prototype.createTracker=function(e){var t=this;this.trackersService.createTracker(e).subscribe(function(e){e.response.error?t.error="ERROR."+e.response.error.code:t.reloadComponent()})},e.prototype.ngOnInit=function(){this.fetchData(),this.AccountService.isLoggedIn&&(this.tracker_id=this.route.snapshot.paramMap.get("tracker_id"),this.ranConfetti=!1,this.trackerRatings=[])},e.prototype.fetchData=function(){var e=this;this.showLoadingOverlay=!0,console.log("Fetching data Here"),this.dailyTracker=[],this.weeklyTracker=[],this.monthlyTracker=[],this.annualTracker=[],this.trackersService.getTrackers().subscribe(function(t){e.showLoadingOverlay=!0,console.log("tracker type: "),console.log(t),e.trackers_count=t.response.records.length,console.log(e.trackers_count),e.isMobileEmbedded=e.ThemeService.isMobileEmbedded,t.response.favorite_tracker&&(e.favoriteTracker=new sA(t.response.favorite_tracker));for(var n=0;n<t.response.records.length;n++){var i=new sA(t.response.records[n]);"DAILY"==i.period?e.dailyTracker.push(i):"WEEKLY"==i.period?e.weeklyTracker.push(i):"MONTHLY"==i.period?e.monthlyTracker.push(i):"YEARLY"==i.period&&e.annualTracker.push(i)}console.log(e.dailyTracker),e.showLoadingOverlay=!1,e.showDeleteTracker=!1,e.showTrackerRatings=!1})},e.prototype.fetchRatingsData=function(e){var t=this;console.log("Fetching ratings data here"),this.trackersService.getTrackerDetails(this.tracker_id).subscribe(function(n){var i=new sA(n.response);console.log("Tracker Details"),console.log(i),"DAILY"==i.period&&(t.get_daily_ritual_ratings(e),console.log("DAILY")),"WEEKLY"==i.period&&(t.get_weekly_ritual_ratings(e),console.log("WEEKLY"))})},e.prototype.get_weekly_ritual_ratings=function(e){var t=this;0==this.showTrackerRatings?this.showTrackerRatings=!0:this.trackerRatingsWeekly=[],this.tracker_id=Number(e),this.trackersService.listRitualRatings(this.tracker_id).subscribe(function(e){t.ratings_count=e.response.records.records.length,console.log(t.ratings_count);for(var n=0;n<e.response.records.records.length;n++){var i=new lA(e.response.records.records[n]);t.trackerRatingsWeekly.push(i)}t.trackerRatingsWeekly.sort(function(e,t){return new Date(t.date).getTime()-new Date(e.date).getTime()})})},e.prototype.get_daily_ritual_ratings=function(e){var t=this;0==this.showTrackerRatings?this.showTrackerRatings=!0:this.trackerRatings=[],this.tracker_id=Number(e),this.trackersService.listRitualRatings(this.tracker_id).subscribe(function(e){t.ratings_count=e.response.records.records.length,console.log(t.ratings_count);for(var n=0;n<e.response.records.records.length;n++){var i=new lA(e.response.records.records[n]);t.trackerRatings.push(i)}t.trackerRatings.sort(function(e,t){return new Date(t.date).getTime()-new Date(e.date).getTime()})})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](u),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-trackers"]],decls:5,vars:5,consts:[[1,"loading-overlay",3,"hidden"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"main-menu-section-heading"],[1,"title"],["src","/static/img/greenplusbutton2.png",1,"goalCreateImg",3,"click"],[1,"sectionStructure"],["class","addTrackerContainer",4,"ngIf"],["class","rpcCall",4,"ngIf"],["class","fullGoalListContainer",4,"ngIf"],[1,"addTrackerContainer"],["mat-icon-button","",1,"closeButton",3,"click"],[1,""],[1,"md-block"],["name","trackerCreate.tracker_type",1,"createGoalMDInput",3,"ngModel","aria-label","ngModelChange"],["value","Ritual"],["value","Tracker"],["type","text","matInput","","name","trackerCreate.name",3,"ngModel","ngModelChange"],[1,"clear-both"],["flex-gt-sm","",1,"md-block"],["name","trackerCreate.category",1,"createGoalMDInput",3,"ngModel","aria-label","ngModelChange"],["value","Nutrition"],["value","Fitness"],["value","Stress"],["value","Social"],["value","Cognition"],["value",""],["name","trackerCreate.period",1,"createGoalMDInput",3,"ngModel","aria-label","ngModelChange"],["value","DAILY","selected","selected"],["value","WEEKLY"],[2,"width","100%","background-color","transparent"],["matInput","","name","trackerCreate.comments","rows","4","placeholder","Enter text here",1,"",2,"width","100%","resize","none","background-color","transparent",3,"ngModel","ngModelChange"],[1,"createButtonFooter"],["mat-stroked-button","",1,"",3,"click"],["class","popupErrorAndButtons","style","clear:both;",4,"ngIf"],[1,"rpcCall"],["type","text","matInput","","name","trackerCreate.amount",3,"ngModel","ngModelChange"],["type","text","matInput","","name","trackerCreate.units",3,"ngModel","ngModelChange"],["type","text","matInput","","name","trackerCreate.units_plural",3,"ngModel","ngModelChange"],[1,"popupErrorAndButtons",2,"clear","both"],["src","/static/img/icons/erroricon_sm.png"],[1,"popupError"],[1,"popupErrorText","popupError"],[1,"fullGoalListContainer"],["class","goalsDurationSegment",4,"ngIf"],[2,"clear","both"],[1,"goalsDurationSegment"],[1,"header-view",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],["id","dailyGoalsList","class","goalslist list-group","data-icon","false",3,"hidden","opened",4,"ngFor","ngForOf"],["id","dailyGoalsList","data-icon","false",1,"goalslist","list-group",3,"hidden","opened"],[1,"goalsListItem",2,"min-height","100px","height","unset !important",3,"click"],[2,"position","absolute",3,"id"],[2,"display","flex","width","100%","justify-content","center","flex-wrap","wrap"],[2,"display","flex","align-items","center"],["src","/static/img/settings_gear.png",1,"goalTypeIcon"],[2,"flex-grow","1","display","flex","flex-direction","column","align-items","center"],[1,"goalDescriptionText",2,"margin-left","0px"],[2,"margin-top","4px"],[2,"display","block"],["class","tracker-description",4,"ngIf"],[1,"rateRitualContainer"],["clear","all",2,"clear","both"],["mat-mini-fab","",1,"ritualRatingButton","ritualRating0",3,"click"],["mat-mini-fab","",1,"ritualRatingButton","ritualRating1",3,"click"],["mat-mini-fab","",1,"ritualRatingButton","ritualRating2",3,"click"],["mat-mini-fab","",1,"ritualRatingButton","ritualRating3",3,"click"],[1,"manageTrackerContainer"],["mat-icon-button","",1,"viewRatingsButton",3,"click"],["class","deleteTrackerContainer",4,"ngIf"],[1,"tracker-description"],[1,"deleteTrackerContainer"],["mat-icon-button","",1,"cancelButton",3,"click"],["mat-icon-button","",1,"closeButton",2,"float","left","margin-top","20px",3,"click"],[4,"ngFor","ngForOf"],[1,"ratingsList"],["class","trackerRatingCircle ritualRating0",4,"ngIf"],["class","trackerRatingCircle ritualRating1",4,"ngIf"],["class","trackerRatingCircle ritualRating2",4,"ngIf"],["class","trackerRatingCircle ritualRating3",4,"ngIf"],[1,"trackerRatingCircle","ritualRating0"],[1,"trackerRatingCircle","ritualRating1"],[1,"trackerRatingCircle","ritualRating2"],[1,"trackerRatingCircle","ritualRating3"],["id","weeklyGoalsList","class","goalslist list-group","data-icon","false",3,"hidden","opened",4,"ngFor","ngForOf"],["id","weeklyGoalsList","data-icon","false",1,"goalslist","list-group",3,"hidden","opened"],[2,"margin-top","4px",3,"ngClass"],["mat-mini-fab","",3,"ngClass","click"],["mat-icon-button","",1,"closeButton","float-right",3,"click"],["id","monthlyGoalsList","class","goalslist list-group","data-icon","false",3,"hidden","opened",4,"ngFor","ngForOf"],["id","monthlyGoalsList","data-icon","false",1,"goalslist","list-group",3,"hidden","opened"],[1,"goalsListItem",2,"min-height","100px","height","unset !important"],["id","annualGoalsList","class","goalslist list-group","data-icon","false",3,"hidden","opened",4,"ngFor","ngForOf"],["id","annualGoalsList","data-icon","false",1,"goalslist","list-group",3,"hidden","opened"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,cA,6,3,"div",2),i["\u0275\u0275template"](3,dA,1,0,"app-login-notify",3),i["\u0275\u0275template"](4,mF,4,3,"div",4),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn))},directives:[y.NgClass,y.NgIf,Yo.a,k.b,O.a,de.z,de.p,de.q,fe.c,fe.g,Ae.a,de.o,de.r,m.o,be.b,de.c,Wo.a,y.NgForOf,Wo.c,Wo.f,Wo.e],pipes:[M.c,y.DatePipe],styles:[".addTrackerContainer[_ngcontent-%COMP%]{border:1px solid;padding:20px;float:left;width:100%}.deleteTrackerContainer[_ngcontent-%COMP%]{border:0 solid;padding:0 20px;float:right;text-align:right;width:100%}.closeButton[_ngcontent-%COMP%]{border-radius:0;float:right;margin-top:-10px}.cancelButton[_ngcontent-%COMP%]{border-radius:20px;float:right;width:140px;border:1px solid;margin:20px 10px}.trackerRatingCircle[_ngcontent-%COMP%]{height:40px;width:40px;line-height:40px;text-align:center;border-radius:20px;float:left;font-size:10px;margin-right:10px;clear:left;color:#000}.viewRatingsButton[_ngcontent-%COMP%]{float:left}.ritualColor[_ngcontent-%COMP%]{color:#4597cb}.tracker-description[_ngcontent-%COMP%]{width:100%;font-weight:400;margin-left:0;float:left;display:block}.tracker-description[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:unset;margin-bottom:3px;padding:0}.ratingsList[_ngcontent-%COMP%]{float:left;clear:both;border:0 solid;width:100%;line-height:40px;margin:3px 0}.manageTrackerContainer[_ngcontent-%COMP%]{border-top:3px solid;margin:20px 0;padding-top:20px;float:left;width:100%}.rpcCall[_ngcontent-%COMP%]{font-family:Courier New,Courier,monospace;margin:20px 0}.ritualRatingButton[_ngcontent-%COMP%]{margin:5px}.ritualRatingButtonSelected[_ngcontent-%COMP%]{width:80px;height:80px}"]}),e}();function fF(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function vF(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function yF(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",15),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275element"](2,"img",16),i["\u0275\u0275elementStart"](3,"p",17),i["\u0275\u0275text"](4,"Saturday, October 5th, 2024"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"h2"),i["\u0275\u0275text"](6,"3rd Annual Run for the Rescues"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"h4"),i["\u0275\u0275text"](8," For every dog walk or run recorded on one of our apps on Saturday, October 5th, 2024, we will donate a tasty and nutritious meal for a deserving rescue to our friends at "),i["\u0275\u0275elementStart"](9,"a",18),i["\u0275\u0275text"](10," Dobies and Little Paws Rescue."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275text"](12,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"h2"),i["\u0275\u0275text"](14,"Then... OkdoberFest 2024"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](15,"br"),i["\u0275\u0275elementStart"](16,"p"),i["\u0275\u0275text"](17,"Then join us on October 6th, 2024 for the OkdoberFest celebration, from 12-4pm at "),i["\u0275\u0275elementStart"](18,"a",19),i["\u0275\u0275text"](19,"Poseidon Brewing Company"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](20,"."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22,"Enjoy great beer, great people, and enter to win one of dozens of raffle prizes! Be one of the many lucky ticket holders, and help the largest doberman rescue in America, with over 9,000 adoptions and still going strong! "),i["\u0275\u0275element"](23,"br"),i["\u0275\u0275element"](24,"br"),i["\u0275\u0275text"](25," #dobermanstrong #dobiesandlittlepaws #run4therescues "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](26,"img",20),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var bF=function(){function e(e,t,n){this.route=e,this.router=t,this.ThemeService=n,this.announcementId=this.route.snapshot.paramMap.get("announcementId"),this.showRun4Rescues=!0}return e.prototype.ngOnInit=function(){"irunner-android"==this.announcementId&&(this.showRun4Rescues=!0)},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-announcements"]],inputs:{announcementId:"announcementId"},decls:17,vars:6,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","support-content",4,"ngIf"],[1,"screen-shot"],["href","https://my.fitdigits.com/overview/audio-coaching/voices"],["src","https://storage.googleapis.com/media_manager/emails/coach-voice2.gif",2,"float","right","width","80px","margin","20px 0px"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[1,"support-content"],["src","/static/img/run-4-rescues-banner2024.png",2,"width","100%","margin-top","5px","margin-right","10px"],[2,"margin-top","20px","text-decoration","underline"],["href","http://www.dobiesandlittlepawsrescue.org/"],["href","https://poseidonbrewingco.com/"],["src","/static/img/okdoberfest-2024-flyer.jpg",2,"width","100%","margin-top","5px","margin-right","10px"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275elementStart"](8,"div",5),i["\u0275\u0275listener"]("click",function(){return t.showRun4Rescues=!t.showRun4Rescues}),i["\u0275\u0275template"](9,fF,1,0,"img",6),i["\u0275\u0275template"](10,vF,1,0,"img",7),i["\u0275\u0275elementStart"](11,"div",8),i["\u0275\u0275text"](12," 3rd Annual Run for the Rescues "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](13,yF,27,0,"div",9),i["\u0275\u0275elementStart"](14,"div",10),i["\u0275\u0275elementStart"](15,"a",11),i["\u0275\u0275element"](16,"img",12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,4,"ROOT.Announcements")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!t.showRun4Rescues),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showRun4Rescues),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showRun4Rescues))},directives:[S.f,y.NgIf],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",""]}),e}(),xF=function(){return function(e,t,n){this.coach_name=e.coach_name,this.coach_account=e.account_id,this.smart_coach_profile_image=e.smart_coach_profile_image,this.coach_persona=e.persona,this.favorite_food=e.meta_data.favorite_food,this.favorite_movie=e.meta_data.favorite_movie,this.favorite_music=e.meta_data.favorite_music,this.occupation=e.meta_data.occupation,this.is_coach=e.is_coach,this.isFavoriteCoach=this.coach_account===t||e.is_favorite}}();function _F(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",7),i["\u0275\u0275elementStart"](1,"div",8),i["\u0275\u0275elementStart"](2,"button",9),i["\u0275\u0275elementStart"](3,"mat-icon"),i["\u0275\u0275text"](4,"more_vert"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"mat-menu",null,10),i["\u0275\u0275elementStart"](7,"button",11),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().showChat()}),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"button",11),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().showChatHistory()}),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"button",12),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().showSettings()}),i["\u0275\u0275elementStart"](14,"div",13),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"button",12),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().listSmartCoaches()}),i["\u0275\u0275elementStart"](18,"div",13),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"button",11),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().showInterview()}),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"a",14),i["\u0275\u0275element"](25,"img",15),i["\u0275\u0275elementStart"](26,"strong"),i["\u0275\u0275elementStart"](27,"h4",16),i["\u0275\u0275text"](28),i["\u0275\u0275pipe"](29,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275reference"](6);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("matMenuTriggerFor",r),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](9,7,"ROOT.Coach Chat")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](12,9,"ROOT.Chat History")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](16,11,"ROOT.Settings")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](20,13,"ROOT.Show All Coaches")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](23,15,"ROOT.Interview")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](29,17,"ROOT.My Coach"))}}function wF(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}function SF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"img",24),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.show_coach_details=!e.show_coach_details}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275propertyInterpolate"]("src",r.smart_coach_profile_image,i["\u0275\u0275sanitizeUrl"])}}function CF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.interview.questions_answered," ")}}function kF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.coach_persona)}}function OF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",30),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](3,6,"ROOT.Favorite Food"),": ",n.coach_fav_food,""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](6,8,"ROOT.Favorite Movie"),": ",n.coach_fav_movie,""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](9,10,"ROOT.Favorite Music"),": ",n.coach_fav_music,"")}}function EF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"p"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](3,8,"ROOT.Favorite Food"),": ",n.favorite_food,""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](6,10,"ROOT.Favorite Movie"),": ",n.favorite_movie,""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](9,12,"ROOT.Favorite Music"),": ",n.favorite_music,""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](12,14,"ROOT.Occupation"),": ",n.occupation,"")}}var MF=function(e){return{width:e}};function IF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",31),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275elementStart"](2,"button",32),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.show_interview=!e.show_interview}),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementStart"](4,"mat-icon",33),i["\u0275\u0275text"](5,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"button",32),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).run_interview(0)}),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"p"),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,EF,13,16,"div",3),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](14,MF,1==r.show_interview?"100%":"210px")),i["\u0275\u0275advance"](2),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](3,6,"ROOT.Close")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,8,"ROOT.Close")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](10,10,"ROOT.Interview")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](13,12,"ROOT.Your Answers")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.show_interview)}}function PF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",26),i["\u0275\u0275elementStart"](1,"h3",27),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](3,kF,2,1,"p",3),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](6,OF,10,12,"div",28),i["\u0275\u0275element"](7,"br"),i["\u0275\u0275text"](8,"\xa0 "),i["\u0275\u0275template"](9,IF,15,16,"div",29),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.coach_name),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.no_current_chat),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.coach_occupation),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.interview_in_progress&&!n.show_list&&!n.no_current_chat),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!n.no_coach&&n.favorite_food&&n.show_interview)}}function TF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p",48),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.coach_response,"")}}function DF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",32),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.updateInterview(e.interview)}),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,2,"ROOT.Next")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,4,"ROOT.Next")," "))}function LF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",32),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.interview_in_progress=!e.interview_in_progress}),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,2,"ROOT.Done")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,4,"ROOT.Done")," "))}function RF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",49),i["\u0275\u0275element"](1,"img",50),i["\u0275\u0275element"](2,"div",51),i["\u0275\u0275elementStart"](3,"div",52),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](n.error)}}function jF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"form"),i["\u0275\u0275template"](1,TF,2,1,"p",35),i["\u0275\u0275element"](2,"br"),i["\u0275\u0275elementStart"](3,"div"),i["\u0275\u0275elementStart"](4,"div",36),i["\u0275\u0275elementStart"](5,"mat-form-field"),i["\u0275\u0275elementStart"](6,"mat-label"),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"input",37),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).interview.questions_answered=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",38),i["\u0275\u0275elementStart"](11,"mat-form-field"),i["\u0275\u0275elementStart"](12,"mat-label"),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"input",39),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).interview.favorite_food=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"div",38),i["\u0275\u0275elementStart"](17,"mat-form-field"),i["\u0275\u0275elementStart"](18,"mat-label"),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"input",40),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).interview.favorite_music=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"div",38),i["\u0275\u0275elementStart"](23,"mat-form-field"),i["\u0275\u0275elementStart"](24,"mat-label"),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"input",41),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).interview.favorite_movie=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](28,"div",42),i["\u0275\u0275elementStart"](29,"div",38),i["\u0275\u0275elementStart"](30,"mat-form-field",43),i["\u0275\u0275elementStart"](31,"mat-label"),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"textarea",44),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).interview.occupation=e}),i["\u0275\u0275text"](35,"\t\t\t\t\t\t\t"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"div",45),i["\u0275\u0275template"](37,DF,4,6,"button",46),i["\u0275\u0275template"](38,LF,4,6,"button",46),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](39,RF,5,1,"div",47),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.interview.questions_answered),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](8,18,"ROOT.Questions Answered")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.interview.questions_answered),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",r.interview.questions_answered>1),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](14,20,"ROOT.Favorite Food")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.interview.favorite_food),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",2!=r.interview.questions_answered),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](20,22,"ROOT.Favorite Music")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.interview.favorite_music),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",3!=r.interview.questions_answered),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](26,24,"ROOT.Favorite Movie")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.interview.favorite_movie),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",4!=r.interview.questions_answered),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](33,26,"ROOT.Occupation")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.interview.occupation),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.interview.questions_answered<5),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.interview.questions_answered>=5),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.error)}}function AF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",34),i["\u0275\u0275template"](1,jF,40,28,"form",3),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.interview.questions_answered<6&&n.interview_in_progress)}}function FF(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"h3"),i["\u0275\u0275text"](1,"Select your Coach"),i["\u0275\u0275elementEnd"]())}function BF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("Account: ",n.coach_account,"")}}function zF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",64),i["\u0275\u0275elementStart"](1,"button",67),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](3).selectCoach(e.coach_account)}),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](2,2,"ROOT.Select")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](4,4,"ROOT.Select")," "))}function NF(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",68),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Selected")," "))}function HF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-expansion-panel",55),i["\u0275\u0275listener"]("opened",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).panelOpen=!0}),i["\u0275\u0275elementStart"](1,"mat-expansion-panel-header",56),i["\u0275\u0275element"](2,"canvas",57),i["\u0275\u0275elementStart"](3,"div",58),i["\u0275\u0275elementStart"](4,"div",59),i["\u0275\u0275element"](5,"img",60),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",61),i["\u0275\u0275elementStart"](7,"div",62),i["\u0275\u0275elementStart"](8,"div"),i["\u0275\u0275elementStart"](9,"h3",27),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"mat-panel-description",63),i["\u0275\u0275elementStart"](12,"div",64),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"p"),i["\u0275\u0275text"](16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"p"),i["\u0275\u0275text"](18),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"p"),i["\u0275\u0275text"](20),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](23,BF,2,1,"p",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](24,zF,5,6,"div",65),i["\u0275\u0275template"](25,NF,3,3,"div",66),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("hidden",0==a.show_list),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("id",r.coach_name),i["\u0275\u0275advance"](3),i["\u0275\u0275propertyInterpolate"]("src",r.smart_coach_profile_image,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",r.coach_name," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](r.coach_persona),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("Favorite food: ",r.favorite_food,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("Favorite movie: ",r.favorite_movie,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("Favorite music: ",r.favorite_music,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"]("Occupation: ",r.occupation,""),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.isDevMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.coach_account!=r.coach_account),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.coach_account==r.coach_account)}}function VF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-accordion",53),i["\u0275\u0275template"](1,HF,26,12,"mat-expansion-panel",54),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.coachList)}}function YF(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",80),i["\u0275\u0275elementStart"](1,"mat-label"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"textarea",81),i["\u0275\u0275text"](5,"\t\t\t\t\t"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,"ROOT.How do you want to be coached through your workout?")))}function WF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",69),i["\u0275\u0275elementStart"](1,"form",70),i["\u0275\u0275elementStart"](2,"h4"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",71),i["\u0275\u0275elementStart"](6,"mat-label",72),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"mat-slide-toggle",73),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"div",71),i["\u0275\u0275elementStart"](12,"mat-label",74),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"mat-slide-toggle",75),i["\u0275\u0275text"](16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](17,YF,6,3,"mat-form-field",76),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"div",71),i["\u0275\u0275elementStart"](19,"mat-label",74),i["\u0275\u0275text"](20),i["\u0275\u0275pipe"](21,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](22,"mat-slide-toggle",77),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"div",71),i["\u0275\u0275elementStart"](24,"mat-label",74),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](27,"mat-slide-toggle",78),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"div",71),i["\u0275\u0275elementStart"](29,"mat-label",74),i["\u0275\u0275text"](30),i["\u0275\u0275pipe"](31,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](32,"mat-slide-toggle",79),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("formGroup",n.composeSettings),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,15,"ROOT.Settings")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](8,17,"ROOT.Smart Coach")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color",n.composeSettings.get("smart_coach_master").value?"primary":"warn"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.composeSettings.get("smart_coach_master").value?"On":"Off"," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](14,19,"ROOT.LiveCheers")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color",n.composeSettings.get("cheers").value?"primary":"warn"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.composeSettings.get("cheers").value?"On":"Off"," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.composeSettings.get("cheers").value),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](21,21,"ROOT.Greetings")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color",n.composeSettings.get("greet").value?"primary":"warn"),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](26,23,"ROOT.Auto Analyze")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color",n.composeSettings.get("analyze").value?"primary":"warn"),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](31,25,"ROOT.Recommend")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("color",n.composeSettings.get("recommend").value?"primary":"warn")}}function GF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",17),i["\u0275\u0275template"](1,SF,1,1,"img",18),i["\u0275\u0275template"](2,CF,2,1,"div",19),i["\u0275\u0275template"](3,PF,10,5,"div",20),i["\u0275\u0275template"](4,AF,2,1,"div",21),i["\u0275\u0275template"](5,FF,2,0,"h3",3),i["\u0275\u0275template"](6,VF,2,1,"mat-accordion",22),i["\u0275\u0275template"](7,WF,33,27,"div",23),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.show_list&&(!n.current_chat||n.no_current_chat)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.interview_in_progress&&!n.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.show_coach_details||n.no_current_chat),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.show_interview&&!n.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.coach_name&&n.show_list),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.show_list&&!n.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.show_settings&&!n.interview_in_progress)}}function UF(e,t){1&e&&i["\u0275\u0275element"](0,"mat-progress-bar",82)}function qF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",102),i["\u0275\u0275elementStart"](1,"button",103),i["\u0275\u0275elementStart"](2,"i",104),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit,t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](2).deleteSingleMessage(e.key,t)}),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"lowercase"),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,1,i["\u0275\u0275pipeBind1"](5,3,"ROOT.delete"))))}function ZF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",108),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2).$implicit;return i["\u0275\u0275nextContext"](3).unlikeMessage(e)}),i["\u0275\u0275elementStart"](1,"i",109),i["\u0275\u0275text"](2,"thumb_up"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function $F(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",105),i["\u0275\u0275template"](1,ZF,3,0,"a",106),i["\u0275\u0275elementStart"](2,"div",107),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.has_liked),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.likes)}}function XF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",105),i["\u0275\u0275elementStart"](1,"a",108),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](3).likeMessage(e)}),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,"ROOT.Like")))}function KF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",90),i["\u0275\u0275elementStart"](1,"div",91),i["\u0275\u0275elementStart"](2,"div",92),i["\u0275\u0275elementStart"](3,"div",93),i["\u0275\u0275element"](4,"img",94),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",95),i["\u0275\u0275elementStart"](6,"div",96),i["\u0275\u0275text"](7),i["\u0275\u0275pipe"](8,"dateMoment"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",97),i["\u0275\u0275text"](10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](11,qF,6,5,"div",98),i["\u0275\u0275elementStart"](12,"div",99),i["\u0275\u0275text"](13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"div",100),i["\u0275\u0275template"](15,$F,4,2,"div",101),i["\u0275\u0275template"](16,XF,4,3,"div",101),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate2"]("src","https://storage.googleapis.com/image_manager/profile_image/",n.sender_id,"/",n.sender_image_filename,"",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275property"]("hidden",!n.sender_has_image),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](8,9,n.creation_date,"short")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",n.sender_name," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.canDelete),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.content),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.likes>0),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.has_liked)}}function JF(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",110),i["\u0275\u0275elementStart"](1,"div",111),i["\u0275\u0275element"](2,"img",112),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"input",113),i["\u0275\u0275listener"]("keypress",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);return 13==e.keyCode?r.sendReply(t):null})("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().$implicit.newReply=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"button",114),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"](2).sendReply(e)}),i["\u0275\u0275elementStart"](5,"span"),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit,a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("src",a.AccountService.messageProfileImage,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",r.newReply)("disabled",a.sendingReply),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",a.sendingReply),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](7,5,"ROOT.Add"))}}function QF(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",85),i["\u0275\u0275elementStart"](1,"div",86),i["\u0275\u0275elementStart"](2,"div",87),i["\u0275\u0275template"](3,KF,17,12,"div",88),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,JF,8,7,"div",89),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",r.messageReplies),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.addReply)}}function eB(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",83),i["\u0275\u0275template"](1,QF,5,2,"div",84),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.inboxMessages)}}function tB(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.error)}}function nB(e,t){1&e&&i["\u0275\u0275element"](0,"mat-spinner",127),2&e&&i["\u0275\u0275property"]("diameter",20)}function iB(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",128),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).newChat()}),i["\u0275\u0275pipe"](1,"translate"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](1,2,"ROOT.New Chat")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,4,"ROOT.New Chat")," "))}function rB(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",117),i["\u0275\u0275elementStart"](1,"form",118),i["\u0275\u0275listener"]("ngSubmit",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.sendMessage(e.composeReply.value)}),i["\u0275\u0275elementStart"](2,"mat-form-field",119),i["\u0275\u0275elementStart"](3,"mat-label"),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"textarea",120),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,tB,2,1,"mat-error",3),i["\u0275\u0275elementStart"](8,"button",121),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementStart"](10,"mat-icon",122),i["\u0275\u0275text"](11,"send"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"div",123),i["\u0275\u0275elementStart"](13,"div",124),i["\u0275\u0275template"](14,nB,1,1,"mat-spinner",125),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div",42),i["\u0275\u0275element"](16,"br"),i["\u0275\u0275text"](17,"\xa0"),i["\u0275\u0275element"](18,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](19,iB,4,6,"div",126),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("formGroup",r.composeReply),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,7,"ROOT.Message Coach")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.error),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",r.sendingMessage||!r.composeReply.valid),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](9,9,"ROOT.Send")),i["\u0275\u0275advance"](6),i["\u0275\u0275property"]("ngIf",r.sendingMessage),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!r.no_current_chat)}}function aB(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-error"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.error)}}function oB(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",129),i["\u0275\u0275elementStart"](1,"form",130),i["\u0275\u0275listener"]("ngSubmit",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2);return e.submit(e.composeForm.value)}),i["\u0275\u0275elementStart"](2,"mat-form-field",119),i["\u0275\u0275elementStart"](3,"mat-label"),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](6,"textarea",131),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](7,aB,2,1,"mat-error",3),i["\u0275\u0275elementStart"](8,"button",132),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementStart"](10,"mat-icon",122),i["\u0275\u0275text"](11,"send"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("formGroup",r.composeForm),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,4,"ROOT.Message Coach")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.error),i["\u0275\u0275advance"](1),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](9,6,"ROOT.Send"))}}function sB(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,rB,20,11,"div",115),i["\u0275\u0275template"](2,oB,12,8,"div",116),i["\u0275\u0275elementStart"](3,"div",42),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275text"](5,"\xa0"),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](7,"br"),i["\u0275\u0275element"](8,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay&&!n.loading&&n.current_chat&&!n.no_current_chat),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay&&(!n.current_chat||n.no_current_chat))}}var lB=function(){function e(e,t,n,i,r,a,o,s,l,c,d,u){var p=this;this.titleService=e,this.socialService=t,this.SubscriptionService=n,this.dialog=i,this.ThemeService=r,this.PermissionsService=a,this.AccountService=o,this.route=s,this.formBuilder=l,this.inboxService=c,this.router=d,this.translate=u,this.inboxMessages=[],this.availableInboxMessages=[],this.canDelete=!1,this.sendingReply=!1,this.addReply=!1,this.replyable=!1,this.messages=[],this.messageReplies=[],this.isDarkTheme=!1,this.loading=!1,this.showLoadingOverlay=!1,this.show_list=!1,this.firstShowCoachList=!0,this.coachList=[],this.panelOpen=!0,this.isDevMode=!0,this.show_interview=!1,this.interview_in_progress=!1,this.coach_response={},this.questions_answered=0,this.show_coach_meta=!1,this.show_settings=!0,this.show_chat=!1,this.show_coach_details=!1,this.interview={questions_answered:0,favorite_food:null,favorite_music:null,favorite_movie:null,occupation:null},this.viewTypeInput=this.route.snapshot.paramMap.get("viewType"),this.sending=!1,this.sendTo=[],this.sendToAuto=new de.e,this.recipients=[],this.backToInbox=null,this.hasMemberURL=!1,this.messageLimit=5,this.sendingMessage=!1,this.hideReactions=!1,this.newMessage="",this.isMobileEmbedded=!1,this.messageListHeight=Number(window.innerHeight/(100/30)),this.unreadCount=0,this.rowLimit=1,this.more=!1,this.show_more_txt="Show More",this.current_chat=!0,this.no_current_chat=!1,this.sendMessage=function(e){p.sendingMessage=!0,console.log(p.current_chat_key),console.log(e.newMessage),p.inboxService.sendMessage(p.current_chat_key,e.newMessage).subscribe(function(e){p.addMessageToList(e.response.message),setTimeout(function(){p.sendingMessage=!1,p.composeReply.reset(),p.retrieveCoachInbox()},1e3)},function(e){p.sendingMessage=!1})},this.addMessageToList=function(e){p.messages.unshift(e),p.newMessage="",p.sendingMessage=!1},u.addLangs(["en","es","fr","it","de"]),u.setDefaultLang("en"),this.composeForm=this.formBuilder.group({subject:["",de.y.required],message:["",de.y.required]}),this.composeReply=new de.h({newMessage:new de.e("",[de.y.required])}),this.composeSettings=this.formBuilder.group({smart_coach_master:[!0,de.y.required],cheers:[!0,de.y.required],greet:[!0,de.y.required],analyze:[!0,de.y.required],recommend:[!0,de.y.required]}),this.composeSettings.get("smart_coach_master").valueChanges.subscribe(function(e){console.log("Smart Coach Toggle value changed to:",e)}),this.composeSettings.get("cheers").valueChanges.subscribe(function(e){console.log("Smart Coach Cheers Toggle value changed to:",e),e?p.composeSettings.addControl("cheer_prompt",p.formBuilder.control("",de.y.required)):p.composeSettings.removeControl("cheer_prompt")})}return e.prototype.ngOnInit=function(){var e=this;this.showLoadingOverlay=!1,this.isDarkTheme=this.ThemeService.isDarkTheme,this.getSmartCoach().then(function(){console.log(e.coach_account),"list"!=e.viewTypeInput&&"interview"!=e.viewTypeInput&&1==e.current_chat&&(console.log("in chat view"),e.getCoachInbox(e.coach_account),console.log(e.current_chat_key),e.current_chat=!0)}),"list"==this.viewTypeInput&&(this.show_list=!0,this.firstShowCoachList=!0,this.show_interview=!1,this.show_coach_details=!1,this.listSmartCoaches()),"interview"==this.viewTypeInput&&(this.show_list=!1,this.show_coach_details=!1,this.show_interview=!0,this.run_interview(0)),this.AccountService.isMobileEmbedded().subscribe(function(t){e.isMobileEmbedded=t}),this.isDarkTheme=this.ThemeService.isDarkTheme,this.hasMemberURL=null!=this.AccountService.account.custom_uri&&""!=this.AccountService.account.custom_uri,this.showLoadingOverlay=!1},e.prototype.retrieveCoachInbox=function(){this.messages=[],this.getCoachInbox(this.coach_account),this.current_chat=!0,this.sendingMessage=!1},e.prototype.newChat=function(){this.current_chat=!1,this.messages=[],console.log(this.current_chat)},e.prototype.logSenderNames=function(){},e.prototype.showSettings=function(){this.show_chat=!1,this.show_settings=!0,this.show_list=!1,this.show_interview=!1,this.interview_in_progress=!1,this.show_coach_details=!1},e.prototype.showChat=function(){this.show_chat=!0,this.show_settings=!1,this.show_list=!1,this.show_interview=!1,this.interview_in_progress=!1,this.show_coach_details=!1},e.prototype.showChatHistory=function(){this.router.navigate(["/smart-coach/history"])},e.prototype.showCoachDetails=function(){this.show_chat=!1,this.show_settings=!1,this.show_list=!1,this.show_interview=!1,this.interview_in_progress=!1,this.show_coach_details=!0},e.prototype.showCoachList=function(){this.show_chat=!1,this.show_settings=!1,this.show_list=!0,this.show_interview=!1,this.interview_in_progress=!1,this.show_coach_details=!1},e.prototype.showInterview=function(){this.show_chat=!1,this.show_settings=!1,this.show_list=!1,this.show_interview=!0,this.interview_in_progress=!0,this.show_coach_details=!1},e.prototype.listSmartCoaches=function(){var e=this;this.showLoadingOverlay=!0,this.showCoachList(),this.coachList=[],this.AccountService.listSmartCoaches().subscribe(function(t){e.show_list=!0;for(var n=0;n<t.response.records.length;n++){var i=new xF(t.response.records[n]);e.coachList.push(i),console.log(i),e.firstShowCoachList=!1,e.showLoadingOverlay=!1}})},e.prototype.selectCoach=function(e){return Object(te.__awaiter)(this,void 0,void 0,function(){return Object(te.__generator)(this,function(t){switch(t.label){case 0:return console.log("Select Smart Coach"),[4,this.AccountService.updateSmartCoach(e).toPromise()];case 1:return t.sent(),this.coach_name=null,this.coach_account=null,this.smart_coach_profile_image=null,this.coach_persona=null,this.coach_fav_food=null,this.coach_fav_movie=null,this.coach_fav_music=null,this.coach_occupation=null,[4,this.getSmartCoach()];case 2:return t.sent(),this.firstShowCoachList=!1,this.show_list=!1,[2]}})})},e.prototype.getSmartCoach=function(){var e=this;return new Promise(function(t,n){e.showLoadingOverlay=!1,e.AccountService.getSmartCoach().subscribe(function(n){null==n.response.smart_coach?(e.smart_coach_profile_image="https://my.fitdigits.com/static/img/unknown-coach.png",e.listSmartCoaches(),e.no_coach=!0):(e.no_coach=!1,e.coach_name=n.response.coach_name,e.coach_account=n.response.smart_coach,e.smart_coach_profile_image=n.response.smart_coach_profile_image,e.coach_persona=n.response.coach_persona,e.coach_fav_food=n.response.coach_meta_data.favorite_food,e.coach_fav_movie=n.response.coach_meta_data.favorite_movie,e.coach_fav_music=n.response.coach_meta_data.favorite_music,e.coach_occupation=n.response.coach_meta_data.occupation,null!=n.response.meta_data&&(e.favorite_food=n.response.meta_data.favorite_food,e.favorite_movie=n.response.meta_data.favorite_movie,e.favorite_music=n.response.meta_data.favorite_music,e.occupation=n.response.meta_data.occupation)),t(n)},function(e){n(e)})})},e.prototype.run_interview=function(e){var t=this;this.AccountService.getSmartCoachInterview(e).subscribe(function(n){t.interview.questions_answered=n.response.coach_response.questions_answered,t.followup=n.response.coach_response.followup,t.coach_response=n.response.coach_response.question[1],null==t.interview.favorite_food&&(t.interview.favorite_food=t.favorite_food),null==t.interview.favorite_music&&(t.interview.favorite_music=t.favorite_music),null==t.interview.favorite_movie&&(t.interview.favorite_movie=t.favorite_movie),null==t.interview.occupation&&(t.interview.occupation=t.occupation),0==e&&(e=1,t.show_interview=!1,t.interview_in_progress=!0),t.interview.questions_answered=e,6==e&&(e=0,t.show_interview=!1,t.interview_in_progress=!1)})},e.prototype.updateInterview=function(e){var t=this;this.AccountService.upsertInterview(e).subscribe(function(e){e.response.error?t.error="ERROR."+e.response.error.code:(t.questions_answered=e.response.questions_answered,t.run_interview(t.questions_answered))})},e.prototype.submit=function(e){var t=this;if(e.message.length<2)this.error="No recipient selected";else{this.addReply=!0,this.error=null,this.sending=!0,this.no_current_chat=!1,e.subject="Coach Chat";var n=[];n.push(this.coach_account),this.inboxService.createConversation(n,e.subject,e.message).subscribe(function(e){t.sending=!1,console.log("Message created"),console.log(e.response.conversation_key),t.conversation_key=e.response.conversation_key,t.router.navigate(["/smart-coach"]);var n=t,i=[];t.inboxService.getMessages(t.conversation_key).subscribe(function(e){return i=e.response.messages},null,function(){t.addReply=!0,n.messages=i,n.messageLimit=5,console.log(n.messages),t.loading=!1,n.loading=!1})})}},e.prototype.getCoachInbox=function(e){var t=this;this.AccountService.isLoggedIn&&(this.showLoadingOverlay=!0),this.loading=!0,this.inboxService.getCoachInbox(!0,this.rowLimit,this.cursor,this.coach_account).subscribe(function(e){var n=e.response.inbox;if(n.length>0){t.cursor=e.response.cursor,t.more=e.response.more,t.unreadCount=e.response.total_unread,t.filterText="("+String(t.unreadCount)+") "+t.translate.instant("ROOT.Unread"),t.inboxService.unreadMessageCount=t.unreadCount;for(var i=function(e){var i,r;n[e].displayName=n[e].sender_name,n[e].showPreview=!0,n[e].group_name&&(n[e].displayName=n[e].group_name),n[e].backgroundImg="https://storage.googleapis.com/image_manager/profile_image/"+n[e].sender_id+"/"+n[e].sender_image_filename,t.inboxMessages.push(n[e]),t.availableInboxMessages.push(n[e]);var a=t,o=[];if(t.inboxMessages)try{for(var s=(i=void 0,Object(te.__values)(t.inboxMessages)),l=s.next();!l.done;l=s.next()){var c=l.value;t.current_chat=!0,t.show_chat=!0,t.current_chat_key=c.source_key,t.inboxService.getMessages(c.source_key).subscribe(function(e){return o=e.response.messages},null,function(){t.addReply=!0,a.messageReplies=o,a.messageLimit=5,t.loading=!1,a.loading=!1})}}catch(d){i={error:d}}finally{try{l&&!l.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}else console.log("InboxMessages structure is not as expected")},r=0;r<n.length;r++)i(r)}else t.no_current_chat=!0,t.loading=!1;t.showLoadingOverlay=!1})},e.prototype.likeMessage=function(e){e.likes+=1,e.has_liked=!0,this.inboxService.likeMessage(e.key).subscribe(function(e){console.log(e)})},e.prototype.unlikeMessage=function(e){e.likes-=1,e.has_liked=!1,this.inboxService.unlikeMessage(e.key).subscribe(function(e){console.log(e)})},e.prototype.sendReply=function(e){var t=this;this.inboxService.sendMessage(e.key,e.newReply).subscribe(function(n){e.replies.unshift(n.response.message),e.newReply="",e.addReply=!1,console.log("list_messages should go here"),t.retrieveCoachInbox()})},e.prototype.deleteSingleMessage=function(e,t){var n=this;this.inboxService.deleteSingleMessage(e).subscribe(function(i){if(t){for(var r=Object(Wn.cloneDeep)(t.replies),a=0;a<r.length;a++)r[a].key===e&&r.splice(a,1);t.replies=r}else{var o=Object(Wn.cloneDeep)(n.messages);for(a=0;a<o.length;a++)o[a].key===e&&o.splice(a,1);n.messages=o}})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](ge.a),i["\u0275\u0275directiveInject"](zv),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](de.d),i["\u0275\u0275directiveInject"](se.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](M.d))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-smart-coach"]],inputs:{inboxMessage:"inboxMessage",canDelete:"canDelete"},decls:8,vars:8,consts:[[1,"loading-overlay",3,"hidden"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[4,"ngIf"],["class","sectionStructure",4,"ngIf"],["mode","indeterminate","class","conversation-loading",4,"ngIf"],["style","margin:20px 0px; float:left;",4,"ngIf"],[1,"main-menu-section-heading"],[2,"float","right","margin-top","-8px"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",2,"width","200px",3,"click"],[1,"menu-button-icon","button-text"],["routerLink","/profile"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],["class","profilePicture margin-top-15 margin-bottom-15",3,"src","click",4,"ngIf"],["class","question-number",4,"ngIf"],["class","clear-both","style","margin-left:15px;",4,"ngIf"],["class","clear-both","style","margin:15px 0px 0px 15px;",4,"ngIf"],["class","clear-both float-left",4,"ngIf"],["class","clear-both","style","margin:0px 0px 30px 15px;",4,"ngIf"],[1,"profilePicture","margin-top-15","margin-bottom-15",3,"src","click"],[1,"question-number"],[1,"clear-both",2,"margin-left","15px"],[2,"margin-top","40px"],["class","interview_answers_div",4,"ngIf"],["class","interview_answers",3,"ngStyle",4,"ngIf"],[1,"interview_answers_div"],[1,"interview_answers",3,"ngStyle"],[1,"themedButton","coach-button",3,"click"],[2,"margin-top","-1px","float","right"],[1,"clear-both",2,"margin","15px 0px 0px 15px"],["class","interview_questions",4,"ngIf"],[2,"visibility","hidden","height","5px","padding","0px","margin","0px"],["type","text","matInput","","name","interview.questions_answered",3,"ngModel","ngModelChange"],[3,"hidden"],["type","text","matInput","","name","interview.favorite_food",3,"ngModel","ngModelChange"],["type","text","matInput","","name","interview.favorite_music",3,"ngModel","ngModelChange"],["type","text","matInput","","name","interview.favorite_movie",3,"ngModel","ngModelChange"],[1,"clear-both"],[2,"width","100%","background-color","transparent"],["matInput","","name","interview.occupation","rows","4","placeholder","Enter text here",1,"",2,"width","100%","resize","none","background-color","transparent",3,"ngModel","ngModelChange"],[1,"createButtonFooter"],["class","themedButton coach-button",3,"click",4,"ngIf"],["class","popupErrorAndButtons","style","clear:both;",4,"ngIf"],[1,"interview_questions"],[1,"popupErrorAndButtons",2,"clear","both"],["src","/static/img/icons/erroricon_sm.png"],[1,"popupError"],[1,"popupErrorText","popupError"],[1,"clear-both","float-left"],["id","smartCoachList","class","smart-coach-panel","data-icon","false",3,"hidden","opened",4,"ngFor","ngForOf"],["id","smartCoachList","data-icon","false",1,"smart-coach-panel",3,"hidden","opened"],[1,"smart-coach-list-item",2,"min-height","100px","height","unset !important"],[2,"position","absolute",3,"id"],[2,"display","flex","width","100%","justify-content","center","flex-wrap","wrap"],[2,"display","flex","align-items","center"],[1,"small-coach-icon",3,"src"],[2,"flex-grow","1","display","flex","flex-direction","column","align-items","center"],[1,"goalDescriptionText",2,"margin-left","0px"],[2,"display","block"],[1,""],["class","",4,"ngIf"],["class","themedButton bluebutton coach-button",4,"ngIf"],[1,"themedButton","bluebutton","coach-button",3,"click"],[1,"themedButton","bluebutton","coach-button"],[1,"clear-both",2,"margin","0px 0px 30px 15px"],[3,"formGroup"],[1,"settings-row"],[2,"margin-right","20px"],["formControlName","smart_coach_master",3,"color"],[2,"margin","0px 20px 20px 0px"],["formControlName","cheers",3,"color"],["style","width: 100%; text-align: left !important; margin-top:30px;",4,"ngIf"],["formControlName","greet",3,"color"],["formControlName","analyze",3,"color"],["formControlName","recommend",3,"color"],[2,"width","100%","text-align","left !important","margin-top","30px"],["matInput","","formControlName","cheer_prompt",1,"chatInputArea"],["mode","indeterminate",1,"conversation-loading"],[2,"margin","20px 0px","float","left"],["style","border:0px solid green;",4,"ngFor","ngForOf"],[2,"border","0px solid green"],[1,"messageContainer"],[1,"messageContainerCenter"],["style","border:0px solid red;",4,"ngFor","ngForOf"],["class","newReplyArea",4,"ngIf"],[2,"border","0px solid red"],[1,"messageContainerCenter",2,"padding-left","15px"],[1,"messageBody"],[1,"guestImageContainer"],[1,"guestImage","senderImage",3,"hidden","src"],[1,"messageBodyTop"],[1,"messageDate"],[1,"messageSenderName"],["class","deleteReply",4,"ngIf"],[1,"messageContent"],[1,"likeReply","messageReply"],["class","thumbsUp",4,"ngIf"],[1,"deleteReply"],["mat-button",""],[1,"material-icons",2,"font-size","24px",3,"click"],[1,"thumbsUp"],[3,"click",4,"ngIf"],[1,"numLikes"],[3,"click"],[1,"material-icons","thumbsUpIcon"],[1,"newReplyArea"],[1,"guestImageContainerReply"],[1,"senderImage",3,"src"],["placeholder","Reply...","type","text",1,"replyInput",3,"ngModel","disabled","keypress","ngModelChange"],[1,"md-raised","md-primary","replyAddBtn",3,"disabled","click"],["class","newChatArea",4,"ngIf"],["class","direct-message-container",4,"ngIf"],[1,"newChatArea"],[3,"formGroup","ngSubmit"],[2,"width","100%","text-align","left !important"],["matInput","","formControlName","newMessage",1,"chatInputArea"],["type","submit",1,"sendChatButton",3,"disabled"],[1,"sendChatIcon"],[2,"float","right","width","200px","border","0px solid"],[1,"spinnerDiv"],["class","spinner",3,"diameter",4,"ngIf"],["class","newChatLink",3,"click",4,"ngIf"],[1,"spinner",3,"diameter"],[1,"newChatLink",3,"click"],[1,"direct-message-container"],[2,"width","100%","padding-left","10px",3,"formGroup","ngSubmit"],["matInput","","formControlName","message",1,"chatInputArea"],["type","submit",1,"sendChatButton"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,_F,30,19,"div",2),i["\u0275\u0275template"](3,wF,1,0,"app-login-notify",3),i["\u0275\u0275template"](4,GF,8,7,"div",4),i["\u0275\u0275template"](5,UF,1,0,"mat-progress-bar",5),i["\u0275\u0275template"](6,eB,2,1,"div",6),i["\u0275\u0275template"](7,sB,9,2,"div",3),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.show_chat&&t.current_chat),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.show_chat))},directives:[y.NgClass,y.NgIf,k.b,gt.d,O.a,gt.a,gt.b,S.f,Yo.a,y.NgStyle,de.z,de.p,de.q,fe.c,fe.g,be.b,de.c,de.o,de.r,Wo.a,y.NgForOf,Wo.c,Wo.f,Wo.e,de.i,Th.a,de.g,It.a,fe.b,E.c],pipes:[M.c,B.s,y.LowerCasePipe],styles:[".smart-coach-panel{clear:both;float:left;border-top:1px solid;width:100%}.small-coach-icon{width:80px;margin-bottom:20px;margin-top:20px}.coach-button{margin:10px 0;float:right}.interview_answers{float:left;text-align:left;padding:8px 0;clear:both;cursor:pointer}.interview_questions{margin-bottom:20px}.interview_answers_div{float:left;padding:15px 0;clear:both;width:100%}.more-info{float:right;padding:8px 15px;border:1px solid;border-radius:19px;margin:0 15px;cursor:pointer}.question-number{width:40px;height:40px;border-radius:20px;background-color:#4597cb;font-size:24px;font-weight:700;float:right;text-align:center}.newChatArea{width:100%;text-align:center}.chatInputArea{display:inline-block;width:100%;text-align:left;float:left;background-color:rgba(234,235,236,.3);resize:vertical;min-height:60px}.sendChatButton{position:relative;top:-84px;right:10px;float:right;border:0;height:50px;width:50px;border-radius:25px}.sendChatIcon{margin-top:4px;margin-left:4px}.newChatLink{color:#4597cb;float:left;margin-left:20px;cursor:pointer}.settings-row{margin:10px 0}",".conversationWrap{border:none;webkit-box-shadow:none;box-shadow:none}.conversation-loading{width:100%;float:left;margin:0 auto;clear:both}.sendMessageWrap{margin:0 10px 10px auto;text-align:center}.newReplyArea{display:flex;padding-left:20px;margin:20px 20px 20px 0}.sendMessageButton{cursor:pointer;margin-top:10px;margin-right:70px;float:right}.senderImage{height:38px;min-width:100%;border-radius:5px;float:left;overflow:hidden}.messageAvater{flex-grow:0}.mat-progress-spinner circle,.mat-spinner circle{stroke:#fff!important}.guestImageContainer{cursor:pointer;width:36px}.guestImageContainer,.guestImageContainerReply{height:36px;margin:3px 10px 0 5px;padding:0;float:left;overflow:hidden}.guestImageContainerReply{width:48px}.guestImage{min-width:100%;min-height:100%;border-radius:5px;margin:0;float:left}.selfImage{height:36px;margin:5px;float:left;border-radius:3px}.messageContainer{border:0 solid;text-align:left;margin-bottom:0}.messageContainerCenter{text-align:center;margin:auto;display:inline-block;width:100%}.messageBody{display:inline;float:left;margin:0 auto;width:95%;background-color:rgba(234,235,236,.2)}.messageBodyTop{margin-left:50px}.messageDate{max-width:150px;text-overflow:ellipsis;overflow:hidden;float:right;white-space:nowrap;font-size:.8em;color:unset;margin-right:5px;clear:none}.messageSenderName{font-weight:600;float:left;margin-right:5px}.messageContent{font-weight:400;float:unset;text-align:left;margin-left:10px;clear:left;line-height:1.2em}.commentInput{margin:5px;display:inline-block;width:86%;float:left}.commentInput,.replyInput{text-align:left;background-color:rgba(234,235,236,.3)}.replyInput{resize:vertical;width:100%}.newCommentArea{width:100%;text-align:center;margin-left:40px}.replyAddBtn{margin:0 40px 0 10px;padding:0 18px;border-radius:3px;border:1px solid;background-color:transparent}.linkImg{width:24px;float:right;margin-top:4px}.workout{margin-top:8px}.cheerIcon{float:left;margin:-5px 10px 5px 0}.viewButton{float:right;margin-right:50px;border-radius:18px}.numLikes{float:inherit;margin-top:0}.deleteReply{float:right;width:50px;clear:right}.inboxWrap{margin-right:-24px;line-height:30px}.spinnerDiv{width:20px;height:20px;position:relative;top:30px;left:130px;margin-top:5px}.spinner{float:right}.add-circle{color:#3fae48;float:left;margin-right:10px}.create-member-btn-txt{margin-top:-3px;float:left;padding-right:20px}.create-member-btn{text-align:left;margin:20px 0 0 50px;border-radius:18px;height:36px}@media (max-width:760px){.newCommentArea{margin-left:0}.selfImage{margin:5px 0 0 5px;float:left}.commentInput{width:100%;text-align:left}.replyAddBtn{margin:0 10px}.newReplyArea{margin:20px 0;padding:0}}"],encapsulation:2}),e}();function cB(e,t,n,i,r,a,o){try{var s=e[a](o),l=s.value}catch(c){return void n(c)}s.done?t(l):Promise.resolve(l).then(i,r)}var dB=n("rePB");function uB(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function pB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uB(Object(n),!0).forEach(function(t){Object(dB.a)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uB(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hB(){hB=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function d(e,t,n,i){var a=Object.create((t&&t.prototype instanceof f?t:f).prototype),o=new I(i||[]);return r(a,"_invoke",{value:k(e,n,o)}),a}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var p="suspendedStart",h="executing",m="completed",g={};function f(){}function v(){}function y(){}var b={};c(b,o,function(){return this});var x=Object.getPrototypeOf,_=x&&x(x(P([])));_&&_!==n&&i.call(_,o)&&(b=_);var w=y.prototype=f.prototype=Object.create(b);function S(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function C(e,t){function n(r,a,o,s){var l=u(e[r],e,a);if("throw"!==l.type){var c=l.arg,d=c.value;return d&&"object"==typeof d&&i.call(d,"__await")?t.resolve(d.__await).then(function(e){n("next",e,o,s)},function(e){n("throw",e,o,s)}):t.resolve(d).then(function(e){c.value=e,o(c)},function(e){return n("throw",e,o,s)})}s(l.arg)}var a;r(this,"_invoke",{value:function(e,i){function r(){return new t(function(t,r){n(e,i,t,r)})}return a=a?a.then(r,r):r()}})}function k(t,n,i){var r=p;return function(a,o){if(r===h)throw new Error("Generator is already running");if(r===m){if("throw"===a)throw o;return{value:e,done:!0}}for(i.method=a,i.arg=o;;){var s=i.delegate;if(s){var l=O(s,i);if(l){if(l===g)continue;return l}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===p)throw r=m,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=h;var c=u(t,n,i);if("normal"===c.type){if(r=i.done?m:"suspendedYield",c.arg===g)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(r=m,i.method="throw",i.arg=c.arg)}}}function O(t,n){var i=n.method,r=t.iterator[i];if(r===e)return n.delegate=null,"throw"===i&&t.iterator.return&&(n.method="return",n.arg=e,O(t,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),g;var a=u(r,t.iterator,n.arg);if("throw"===a.type)return n.method="throw",n.arg=a.arg,n.delegate=null,g;var o=a.arg;return o?o.done?(n[t.resultName]=o.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function I(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function P(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,a=function n(){for(;++r<t.length;)if(i.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw new TypeError(typeof t+" is not iterable")}return v.prototype=y,r(w,"constructor",{value:y,configurable:!0}),r(y,"constructor",{value:v,configurable:!0}),v.displayName=c(y,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},S(C.prototype),c(C.prototype,s,function(){return this}),t.AsyncIterator=C,t.async=function(e,n,i,r,a){void 0===a&&(a=Promise);var o=new C(d(e,n,i,r),a);return t.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})},S(w),c(w,l,"Generator"),c(w,o,function(){return this}),c(w,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),n=[];for(var i in t)n.push(i);return n.reverse(),function e(){for(;n.length;){var i=n.pop();if(i in t)return e.value=i,e.done=!1,e}return e.done=!0,e}},t.values=P,I.prototype={constructor:I,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(M),!t)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function r(i,r){return s.type="throw",s.arg=t,n.next=i,r&&(n.method="next",n.arg=e),!!r}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var l=i.call(o,"catchLoc"),c=i.call(o,"finallyLoc");if(l&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),M(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i=n.completion;if("throw"===i.type){var r=i.arg;M(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:P(t),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=e),g}},t}var mB=function(e,t){for(var n in t)e[n]=t[n];return e},gB=function(e,t){return Array.from(e.querySelectorAll(t))},fB=function(e,t,n){n?e.classList.add(t):e.classList.remove(t)},vB=function(e){if("string"==typeof e){if("null"===e)return null;if("true"===e)return!0;if("false"===e)return!1;if(e.match(/^-?[\d\.]+$/))return parseFloat(e)}return e},yB=function(e,t){e.style.transform=t},bB=function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector;return!(!n||!n.call(e,t))},xB=function(e,t){if("function"==typeof e.closest)return e.closest(t);for(;e;){if(bB(e,t))return e;e=e.parentNode}return null},_B=function(e,t,n){for(var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=e.querySelectorAll("."+n),a=0;a<r.length;a++){var o=r[a];if(o.parentNode===e)return o}var s=document.createElement(t);return s.className=n,s.innerHTML=i,e.appendChild(s),s},wB=function(e){var t=document.createElement("style");return t.type="text/css",e&&e.length>0&&(t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))),document.head.appendChild(t),t},SB=function(){var e={};for(var t in location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e)e[t]=vB(unescape(e[t]));return void 0!==e.dependencies&&delete e.dependencies,e},CB=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(e){var n,i=e.style.height;return e.style.height="0px",e.parentNode.style.height="auto",n=t-e.parentNode.offsetHeight,e.style.height=i+"px",e.parentNode.style.removeProperty("height"),n}return t},kB={mp4:"video/mp4",m4a:"video/mp4",ogv:"video/ogg",mpeg:"video/mpeg",webm:"video/webm"},OB=navigator.userAgent,EB=/(iphone|ipod|ipad|android)/gi.test(OB)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;/chrome/i.test(OB)&&/edge/i.test(OB);var MB=/android/gi.test(OB),IB={};Object.defineProperty(IB,"__esModule",{value:!0});var PB=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},TB=IB.default=function(e){if(e){var t=function(e){return[].slice.call(e)},n=3,i=[],r=null,a="requestAnimationFrame"in e?function(){e.cancelAnimationFrame(r),r=e.requestAnimationFrame(function(){return s(i.filter(function(e){return e.dirty&&e.active}))})}:function(){},o=function(e){return function(){i.forEach(function(t){return t.dirty=e}),a()}},s=function(e){e.filter(function(e){return!e.styleComputed}).forEach(function(e){e.styleComputed=u(e)}),e.filter(p).forEach(h);var t=e.filter(d);t.forEach(c),t.forEach(function(e){h(e),l(e)}),t.forEach(m)},l=function(e){return e.dirty=0},c=function(e){e.availableWidth=e.element.parentNode.clientWidth,e.currentWidth=e.element.scrollWidth,e.previousFontSize=e.currentFontSize,e.currentFontSize=Math.min(Math.max(e.minSize,e.availableWidth/e.currentWidth*e.previousFontSize),e.maxSize),e.whiteSpace=e.multiLine&&e.currentFontSize===e.minSize?"normal":"nowrap"},d=function(e){return 2!==e.dirty||2===e.dirty&&e.element.parentNode.clientWidth!==e.availableWidth},u=function(t){var n=e.getComputedStyle(t.element,null);t.currentFontSize=parseFloat(n.getPropertyValue("font-size")),t.display=n.getPropertyValue("display"),t.whiteSpace=n.getPropertyValue("white-space")},p=function(e){var t=!1;return!e.preStyleTestCompleted&&(/inline-/.test(e.display)||(t=!0,e.display="inline-block"),"nowrap"!==e.whiteSpace&&(t=!0,e.whiteSpace="nowrap"),e.preStyleTestCompleted=!0,t)},h=function(e){e.element.style.whiteSpace=e.whiteSpace,e.element.style.display=e.display,e.element.style.fontSize=e.currentFontSize+"px"},m=function(e){e.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:e.previousFontSize,newValue:e.currentFontSize,scaleFactor:e.currentFontSize/e.previousFontSize}}))},g=function(e,t){return function(){e.dirty=t,e.active&&a()}},f=function(e){return function(){i=i.filter(function(t){return t.element!==e.element}),e.observeMutations&&e.observer.disconnect(),e.element.style.whiteSpace=e.originalStyle.whiteSpace,e.element.style.display=e.originalStyle.display,e.element.style.fontSize=e.originalStyle.fontSize}},v=function(e){return function(){e.active||(e.active=!0,a())}},y=function(e){return function(){return e.active=!1}},b=function(e){e.observeMutations&&(e.observer=new MutationObserver(g(e,1)),e.observer.observe(e.element,e.observeMutations))},x={minSize:16,maxSize:512,multiLine:!0,observeMutations:"MutationObserver"in e&&{subtree:!0,childList:!0,characterData:!0}},_=null,w=function(){e.clearTimeout(_),_=e.setTimeout(o(2),k.observeWindowDelay)},S=["resize","orientationchange"];return Object.defineProperty(k,"observeWindow",{set:function(t){var n=(t?"add":"remove")+"EventListener";S.forEach(function(t){e[n](t,w)})}}),k.observeWindow=!0,k.observeWindowDelay=100,k.fitAll=o(n),k}function C(e,t){var r=PB({},x,t),o=e.map(function(e){var t=PB({},r,{element:e,active:!0});return function(e){e.originalStyle={whiteSpace:e.element.style.whiteSpace,display:e.element.style.display,fontSize:e.element.style.fontSize},b(e),e.newbie=!0,e.dirty=!0,i.push(e)}(t),{element:e,fit:g(t,n),unfreeze:v(t),freeze:y(t),unsubscribe:f(t)}});return a(),o}function k(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e?C(t(document.querySelectorAll(e)),n):C([e],n)[0]}}("undefined"==typeof window?null:window),DB=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t,this.startEmbeddedIframe=this.startEmbeddedIframe.bind(this)}return Object(_h.a)(e,[{key:"shouldPreload",value:function(e){var t=this.Reveal.getConfig().preloadIframes;return"boolean"!=typeof t&&(t=e.hasAttribute("data-preload")),t}},{key:"load",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.style.display=this.Reveal.getConfig().display,gB(e,"img[data-src], video[data-src], audio[data-src], iframe[data-src]").forEach(function(e){("IFRAME"!==e.tagName||t.shouldPreload(e))&&(e.setAttribute("src",e.getAttribute("data-src")),e.setAttribute("data-lazy-loaded",""),e.removeAttribute("data-src"))}),gB(e,"video, audio").forEach(function(e){var t=0;gB(e,"source[data-src]").forEach(function(e){e.setAttribute("src",e.getAttribute("data-src")),e.removeAttribute("data-src"),e.setAttribute("data-lazy-loaded",""),t+=1}),EB&&"VIDEO"===e.tagName&&e.setAttribute("playsinline",""),t>0&&e.load()});var i=e.slideBackgroundElement;if(i){i.style.display="block";var r=e.slideBackgroundContentElement,a=e.getAttribute("data-background-iframe");if(!1===i.hasAttribute("data-loaded")){i.setAttribute("data-loaded","true");var o=e.getAttribute("data-background-image"),s=e.getAttribute("data-background-video"),l=e.hasAttribute("data-background-video-loop"),c=e.hasAttribute("data-background-video-muted");if(o)r.style.backgroundImage=/^data:/.test(o.trim())?"url(".concat(o.trim(),")"):o.split(",").map(function(e){return"url(".concat(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return encodeURI(e).replace(/%5B/g,"[").replace(/%5D/g,"]").replace(/[!'()*]/g,function(e){return"%".concat(e.charCodeAt(0).toString(16).toUpperCase())})}(decodeURI(e.trim())),")")}).join(",");else if(s&&!this.Reveal.isSpeakerNotes()){var d=document.createElement("video");l&&d.setAttribute("loop",""),c&&(d.muted=!0),EB&&(d.muted=!0,d.setAttribute("playsinline","")),s.split(",").forEach(function(e){var t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return kB[e.split(".").pop()]}(e);d.innerHTML+=t?'<source src="'.concat(e,'" type="').concat(t,'">'):'<source src="'.concat(e,'">')}),r.appendChild(d)}else if(a&&!0!==n.excludeIframes){var u=document.createElement("iframe");u.setAttribute("allowfullscreen",""),u.setAttribute("mozallowfullscreen",""),u.setAttribute("webkitallowfullscreen",""),u.setAttribute("allow","autoplay"),u.setAttribute("data-src",a),u.style.width="100%",u.style.height="100%",u.style.maxHeight="100%",u.style.maxWidth="100%",r.appendChild(u)}}var p=r.querySelector("iframe[data-src]");p&&this.shouldPreload(i)&&!/autoplay=(1|true|yes)/gi.test(a)&&p.getAttribute("src")!==a&&p.setAttribute("src",a)}this.layout(e)}},{key:"layout",value:function(e){var t=this;Array.from(e.querySelectorAll(".r-fit-text")).forEach(function(e){TB(e,{minSize:24,maxSize:.8*t.Reveal.getConfig().height,observeMutations:!1,observeWindow:!1})})}},{key:"unload",value:function(e){e.style.display="none";var t=this.Reveal.getSlideBackground(e);t&&(t.style.display="none",gB(t,"iframe[src]").forEach(function(e){e.removeAttribute("src")})),gB(e,"video[data-lazy-loaded][src], audio[data-lazy-loaded][src], iframe[data-lazy-loaded][src]").forEach(function(e){e.setAttribute("data-src",e.getAttribute("src")),e.removeAttribute("src")}),gB(e,"video[data-lazy-loaded] source[src], audio source[src]").forEach(function(e){e.setAttribute("data-src",e.getAttribute("src")),e.removeAttribute("src")})}},{key:"formatEmbeddedContent",value:function(){var e=this,t=function(t,n,i){gB(e.Reveal.getSlidesElement(),"iframe["+t+'*="'+n+'"]').forEach(function(e){var n=e.getAttribute(t);n&&-1===n.indexOf(i)&&e.setAttribute(t,n+(/\?/.test(n)?"&":"?")+i)})};t("src","youtube.com/embed/","enablejsapi=1"),t("data-src","youtube.com/embed/","enablejsapi=1"),t("src","player.vimeo.com/","api=1"),t("data-src","player.vimeo.com/","api=1")}},{key:"startEmbeddedContent",value:function(e){var t=this;e&&!this.Reveal.isSpeakerNotes()&&(gB(e,'img[src$=".gif"]').forEach(function(e){e.setAttribute("src",e.getAttribute("src"))}),gB(e,"video, audio").forEach(function(e){if(!xB(e,".fragment")||xB(e,".fragment.visible")){var n=t.Reveal.getConfig().autoPlayMedia;if("boolean"!=typeof n&&(n=e.hasAttribute("data-autoplay")||!!xB(e,".slide-background")),n&&"function"==typeof e.play)if(e.readyState>1)t.startEmbeddedMedia({target:e});else if(EB){var i=e.play();i&&"function"==typeof i.catch&&!1===e.controls&&i.catch(function(){e.controls=!0,e.addEventListener("play",function(){e.controls=!1})})}else e.removeEventListener("loadeddata",t.startEmbeddedMedia),e.addEventListener("loadeddata",t.startEmbeddedMedia)}}),gB(e,"iframe[src]").forEach(function(e){xB(e,".fragment")&&!xB(e,".fragment.visible")||t.startEmbeddedIframe({target:e})}),gB(e,"iframe[data-src]").forEach(function(e){xB(e,".fragment")&&!xB(e,".fragment.visible")||e.getAttribute("src")!==e.getAttribute("data-src")&&(e.removeEventListener("load",t.startEmbeddedIframe),e.addEventListener("load",t.startEmbeddedIframe),e.setAttribute("src",e.getAttribute("data-src")))}))}},{key:"startEmbeddedMedia",value:function(e){var t=!!xB(e.target,"html"),n=!!xB(e.target,".present");t&&n&&(e.target.currentTime=0,e.target.play()),e.target.removeEventListener("loadeddata",this.startEmbeddedMedia)}},{key:"startEmbeddedIframe",value:function(e){var t=e.target;if(t&&t.contentWindow){var n=!!xB(e.target,"html"),i=!!xB(e.target,".present");if(n&&i){var r=this.Reveal.getConfig().autoPlayMedia;"boolean"!=typeof r&&(r=t.hasAttribute("data-autoplay")||!!xB(t,".slide-background")),/youtube\.com\/embed\//.test(t.getAttribute("src"))&&r?t.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"):/player\.vimeo\.com\//.test(t.getAttribute("src"))&&r?t.contentWindow.postMessage('{"method":"play"}',"*"):t.contentWindow.postMessage("slide:start","*")}}}},{key:"stopEmbeddedContent",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n=mB({unloadIframes:!0},n),e&&e.parentNode&&(gB(e,"video, audio").forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.pause||(e.setAttribute("data-paused-by-reveal",""),e.pause())}),gB(e,"iframe").forEach(function(e){e.contentWindow&&e.contentWindow.postMessage("slide:stop","*"),e.removeEventListener("load",t.startEmbeddedIframe)}),gB(e,'iframe[src*="youtube.com/embed/"]').forEach(function(e){!e.hasAttribute("data-ignore")&&e.contentWindow&&"function"==typeof e.contentWindow.postMessage&&e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),gB(e,'iframe[src*="player.vimeo.com/"]').forEach(function(e){!e.hasAttribute("data-ignore")&&e.contentWindow&&"function"==typeof e.contentWindow.postMessage&&e.contentWindow.postMessage('{"method":"pause"}',"*")}),!0===n.unloadIframes&&gB(e,"iframe[data-src]").forEach(function(e){e.setAttribute("src","about:blank"),e.removeAttribute("src")}))}}]),e}(),LB=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t}return Object(_h.a)(e,[{key:"render",value:function(){this.element=document.createElement("div"),this.element.className="slide-number",this.Reveal.getRevealElement().appendChild(this.element)}},{key:"configure",value:function(e,t){var n="none";e.slideNumber&&!this.Reveal.isPrintingPDF()&&("all"===e.showSlideNumber||"speaker"===e.showSlideNumber&&this.Reveal.isSpeakerNotes())&&(n="block"),this.element.style.display=n}},{key:"update",value:function(){this.Reveal.getConfig().slideNumber&&this.element&&(this.element.innerHTML=this.getSlideNumber())}},{key:"getSlideNumber",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.Reveal.getCurrentSlide(),n=this.Reveal.getConfig(),i="h.v";if("function"==typeof n.slideNumber)e=n.slideNumber(t);else{"string"==typeof n.slideNumber&&(i=n.slideNumber),/c/.test(i)||1!==this.Reveal.getHorizontalSlides().length||(i="c");var r=t&&"uncounted"===t.dataset.visibility?0:1;switch(e=[],i){case"c":e.push(this.Reveal.getSlidePastCount(t)+r);break;case"c/t":e.push(this.Reveal.getSlidePastCount(t)+r,"/",this.Reveal.getTotalSlides());break;default:var a=this.Reveal.getIndices(t);e.push(a.h+r);var o="h/v"===i?"/":".";this.Reveal.isVerticalSlide(t)&&e.push(o,a.v+1)}}var s="#"+this.Reveal.location.getHash(t);return this.formatNumber(e[0],e[1],e[2],s)}},{key:"formatNumber",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#"+this.Reveal.location.getHash();return"number"!=typeof n||isNaN(n)?'<a href="'.concat(i,'">\n\t\t\t\t\t<span class="slide-number-a">').concat(e,"</span>\n\t\t\t\t\t</a>"):'<a href="'.concat(i,'">\n\t\t\t\t\t<span class="slide-number-a">').concat(e,'</span>\n\t\t\t\t\t<span class="slide-number-delimiter">').concat(t,'</span>\n\t\t\t\t\t<span class="slide-number-b">').concat(n,"</span>\n\t\t\t\t\t</a>")}},{key:"destroy",value:function(){this.element.remove()}}]),e}(),RB=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t,this.onInput=this.onInput.bind(this),this.onBlur=this.onBlur.bind(this),this.onKeyDown=this.onKeyDown.bind(this)}return Object(_h.a)(e,[{key:"render",value:function(){this.element=document.createElement("div"),this.element.className="jump-to-slide",this.jumpInput=document.createElement("input"),this.jumpInput.type="text",this.jumpInput.className="jump-to-slide-input",this.jumpInput.placeholder="Jump to slide",this.jumpInput.addEventListener("input",this.onInput),this.jumpInput.addEventListener("keydown",this.onKeyDown),this.jumpInput.addEventListener("blur",this.onBlur),this.element.appendChild(this.jumpInput)}},{key:"show",value:function(){this.indicesOnShow=this.Reveal.getIndices(),this.Reveal.getRevealElement().appendChild(this.element),this.jumpInput.focus()}},{key:"hide",value:function(){this.isVisible()&&(this.element.remove(),this.jumpInput.value="",clearTimeout(this.jumpTimeout),delete this.jumpTimeout)}},{key:"isVisible",value:function(){return!!this.element.parentNode}},{key:"jump",value:function(){clearTimeout(this.jumpTimeout),delete this.jumpTimeout;var e=this.jumpInput.value.trim(""),t=this.Reveal.location.getIndicesFromHash(e,{oneBasedIndex:!0});return!t&&/\S+/i.test(e)&&e.length>1&&(t=this.search(e)),t&&""!==e?(this.Reveal.slide(t.h,t.v,t.f),!0):(this.Reveal.slide(this.indicesOnShow.h,this.indicesOnShow.v,this.indicesOnShow.f),!1)}},{key:"jumpAfter",value:function(e){var t=this;clearTimeout(this.jumpTimeout),this.jumpTimeout=setTimeout(function(){return t.jump()},e)}},{key:"search",value:function(e){var t=new RegExp("\\b"+e.trim()+"\\b","i"),n=this.Reveal.getSlides().find(function(e){return t.test(e.innerText)});return n?this.Reveal.getIndices(n):null}},{key:"cancel",value:function(){this.Reveal.slide(this.indicesOnShow.h,this.indicesOnShow.v,this.indicesOnShow.f),this.hide()}},{key:"confirm",value:function(){this.jump(),this.hide()}},{key:"destroy",value:function(){this.jumpInput.removeEventListener("input",this.onInput),this.jumpInput.removeEventListener("keydown",this.onKeyDown),this.jumpInput.removeEventListener("blur",this.onBlur),this.element.remove()}},{key:"onKeyDown",value:function(e){13===e.keyCode?this.confirm():27===e.keyCode&&(this.cancel(),e.stopImmediatePropagation())}},{key:"onInput",value:function(e){this.jumpAfter(200)}},{key:"onBlur",value:function(){var e=this;setTimeout(function(){return e.hide()},1)}}]),e}(),jB=function(e){var t=e.match(/^#([0-9a-f]{3})$/i);if(t&&t[1])return t=t[1],{r:17*parseInt(t.charAt(0),16),g:17*parseInt(t.charAt(1),16),b:17*parseInt(t.charAt(2),16)};var n=e.match(/^#([0-9a-f]{6})$/i);if(n&&n[1])return n=n[1],{r:parseInt(n.slice(0,2),16),g:parseInt(n.slice(2,4),16),b:parseInt(n.slice(4,6),16)};var i=e.match(/^rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i);if(i)return{r:parseInt(i[1],10),g:parseInt(i[2],10),b:parseInt(i[3],10)};var r=e.match(/^rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\,\s*([\d]+|[\d]*.[\d]+)\s*\)$/i);return r?{r:parseInt(r[1],10),g:parseInt(r[2],10),b:parseInt(r[3],10),a:parseFloat(r[4])}:null},AB=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t}return Object(_h.a)(e,[{key:"render",value:function(){this.element=document.createElement("div"),this.element.className="backgrounds",this.Reveal.getRevealElement().appendChild(this.element)}},{key:"create",value:function(){var e=this;this.element.innerHTML="",this.element.classList.add("no-transition"),this.Reveal.getHorizontalSlides().forEach(function(t){var n=e.createBackground(t,e.element);gB(t,"section").forEach(function(t){e.createBackground(t,n),n.classList.add("stack")})}),this.Reveal.getConfig().parallaxBackgroundImage?(this.element.style.backgroundImage='url("'+this.Reveal.getConfig().parallaxBackgroundImage+'")',this.element.style.backgroundSize=this.Reveal.getConfig().parallaxBackgroundSize,this.element.style.backgroundRepeat=this.Reveal.getConfig().parallaxBackgroundRepeat,this.element.style.backgroundPosition=this.Reveal.getConfig().parallaxBackgroundPosition,setTimeout(function(){e.Reveal.getRevealElement().classList.add("has-parallax-background")},1)):(this.element.style.backgroundImage="",this.Reveal.getRevealElement().classList.remove("has-parallax-background"))}},{key:"createBackground",value:function(e,t){var n=document.createElement("div");n.className="slide-background "+e.className.replace(/present|past|future/,"");var i=document.createElement("div");return i.className="slide-background-content",n.appendChild(i),t.appendChild(n),e.slideBackgroundElement=n,e.slideBackgroundContentElement=i,this.sync(e),n}},{key:"sync",value:function(e){var t=e.slideBackgroundElement,n=e.slideBackgroundContentElement,i={background:e.getAttribute("data-background"),backgroundSize:e.getAttribute("data-background-size"),backgroundImage:e.getAttribute("data-background-image"),backgroundVideo:e.getAttribute("data-background-video"),backgroundIframe:e.getAttribute("data-background-iframe"),backgroundColor:e.getAttribute("data-background-color"),backgroundGradient:e.getAttribute("data-background-gradient"),backgroundRepeat:e.getAttribute("data-background-repeat"),backgroundPosition:e.getAttribute("data-background-position"),backgroundTransition:e.getAttribute("data-background-transition"),backgroundOpacity:e.getAttribute("data-background-opacity")},r=e.hasAttribute("data-preload");e.classList.remove("has-dark-background"),e.classList.remove("has-light-background"),t.removeAttribute("data-loaded"),t.removeAttribute("data-background-hash"),t.removeAttribute("data-background-size"),t.removeAttribute("data-background-transition"),t.style.backgroundColor="",n.style.backgroundSize="",n.style.backgroundRepeat="",n.style.backgroundPosition="",n.style.backgroundImage="",n.style.opacity="",n.innerHTML="",i.background&&(/^(http|file|\/\/)/gi.test(i.background)||/\.(svg|png|jpg|jpeg|gif|bmp|webp)([?#\s]|$)/gi.test(i.background)?e.setAttribute("data-background-image",i.background):t.style.background=i.background),(i.background||i.backgroundColor||i.backgroundGradient||i.backgroundImage||i.backgroundVideo||i.backgroundIframe)&&t.setAttribute("data-background-hash",i.background+i.backgroundSize+i.backgroundImage+i.backgroundVideo+i.backgroundIframe+i.backgroundColor+i.backgroundGradient+i.backgroundRepeat+i.backgroundPosition+i.backgroundTransition+i.backgroundOpacity),i.backgroundSize&&t.setAttribute("data-background-size",i.backgroundSize),i.backgroundColor&&(t.style.backgroundColor=i.backgroundColor),i.backgroundGradient&&(t.style.backgroundImage=i.backgroundGradient),i.backgroundTransition&&t.setAttribute("data-background-transition",i.backgroundTransition),r&&t.setAttribute("data-preload",""),i.backgroundSize&&(n.style.backgroundSize=i.backgroundSize),i.backgroundRepeat&&(n.style.backgroundRepeat=i.backgroundRepeat),i.backgroundPosition&&(n.style.backgroundPosition=i.backgroundPosition),i.backgroundOpacity&&(n.style.opacity=i.backgroundOpacity);var a,o=i.backgroundColor;if(!o||!jB(o)){var s=window.getComputedStyle(t);s&&s.backgroundColor&&(o=s.backgroundColor)}if(o){var l=jB(o);l&&0!==l.a&&("string"==typeof(a=o)&&(a=jB(a)),e.classList.add((a?(299*a.r+587*a.g+114*a.b)/1e3:null)<128?"has-dark-background":"has-light-background"))}}},{key:"update",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.Reveal.getCurrentSlide(),i=this.Reveal.getIndices(),r=null,a=this.Reveal.getConfig().rtl?"future":"past",o=this.Reveal.getConfig().rtl?"past":"future";if(Array.from(this.element.childNodes).forEach(function(e,n){e.classList.remove("past","present","future"),n<i.h?e.classList.add(a):n>i.h?e.classList.add(o):(e.classList.add("present"),r=e),(t||n===i.h)&&gB(e,".slide-background").forEach(function(e,t){e.classList.remove("past","present","future"),t<i.v?e.classList.add("past"):t>i.v?e.classList.add("future"):(e.classList.add("present"),n===i.h&&(r=e))})}),this.previousBackground&&this.Reveal.slideContent.stopEmbeddedContent(this.previousBackground,{unloadIframes:!this.Reveal.slideContent.shouldPreload(this.previousBackground)}),r){this.Reveal.slideContent.startEmbeddedContent(r);var s=r.querySelector(".slide-background-content");if(s){var l=s.style.backgroundImage||"";/\.gif/i.test(l)&&(s.style.backgroundImage="",window.getComputedStyle(s),s.style.backgroundImage=l)}var c=this.previousBackground?this.previousBackground.getAttribute("data-background-hash"):null,d=r.getAttribute("data-background-hash");d&&d===c&&r!==this.previousBackground&&this.element.classList.add("no-transition"),this.previousBackground=r}n&&["has-light-background","has-dark-background"].forEach(function(t){n.classList.contains(t)?e.Reveal.getRevealElement().classList.add(t):e.Reveal.getRevealElement().classList.remove(t)},this),setTimeout(function(){e.element.classList.remove("no-transition")},1)}},{key:"updateParallax",value:function(){var e=this.Reveal.getIndices();if(this.Reveal.getConfig().parallaxBackgroundImage){var t,n,i=this.Reveal.getHorizontalSlides(),r=this.Reveal.getVerticalSlides(),a=this.element.style.backgroundSize.split(" ");1===a.length?t=n=parseInt(a[0],10):(t=parseInt(a[0],10),n=parseInt(a[1],10));var o,s=this.element.offsetWidth,l=i.length;o=("number"==typeof this.Reveal.getConfig().parallaxBackgroundHorizontal?this.Reveal.getConfig().parallaxBackgroundHorizontal:l>1?(t-s)/(l-1):0)*e.h*-1;var c,d=this.element.offsetHeight,u=r.length;c="number"==typeof this.Reveal.getConfig().parallaxBackgroundVertical?this.Reveal.getConfig().parallaxBackgroundVertical:(n-d)/(u-1),this.element.style.backgroundPosition=o+"px "+-(u>0?c*e.v:0)+"px"}}},{key:"destroy",value:function(){this.element.remove()}}]),e}(),BB=".slides section",zB=".slides>section",NB=".slides>section.present>section",HB=/registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview/,VB=/fade-(down|up|right|left|out|in-then-out|in-then-semi-out)|semi-fade-out|current-visible|shrink|grow/,YB=0,WB=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t}return Object(_h.a)(e,[{key:"run",value:function(e,t){var n=this;this.reset();var i=this.Reveal.getSlides(),r=i.indexOf(t),a=i.indexOf(e);if(e.hasAttribute("data-auto-animate")&&t.hasAttribute("data-auto-animate")&&e.getAttribute("data-auto-animate-id")===t.getAttribute("data-auto-animate-id")&&!(r>a?t:e).hasAttribute("data-auto-animate-restart")){this.autoAnimateStyleSheet=this.autoAnimateStyleSheet||wB();var o=this.getAutoAnimateOptions(t);e.dataset.autoAnimate="pending",t.dataset.autoAnimate="pending",o.slideDirection=r>a?"forward":"backward";var s="none"===e.style.display;s&&(e.style.display=this.Reveal.getConfig().display);var l=this.getAutoAnimatableElements(e,t).map(function(e){return n.autoAnimateElements(e.from,e.to,e.options||{},o,YB++)});if(s&&(e.style.display="none"),"false"!==t.dataset.autoAnimateUnmatched&&!0===this.Reveal.getConfig().autoAnimateUnmatched){var c=.8*o.duration,d=.2*o.duration;this.getUnmatchedAutoAnimateElements(t).forEach(function(e){var t=n.getAutoAnimateOptions(e,o),i="unmatched";t.duration===o.duration&&t.delay===o.delay||(i="unmatched-"+YB++,l.push('[data-auto-animate="running"] [data-auto-animate-target="'.concat(i,'"] { transition: opacity ').concat(t.duration,"s ease ").concat(t.delay,"s; }"))),e.dataset.autoAnimateTarget=i},this),l.push('[data-auto-animate="running"] [data-auto-animate-target="unmatched"] { transition: opacity '.concat(c,"s ease ").concat(d,"s; }"))}this.autoAnimateStyleSheet.innerHTML=l.join(""),requestAnimationFrame(function(){n.autoAnimateStyleSheet&&(getComputedStyle(n.autoAnimateStyleSheet),t.dataset.autoAnimate="running")}),this.Reveal.dispatchEvent({type:"autoanimate",data:{fromSlide:e,toSlide:t,sheet:this.autoAnimateStyleSheet}})}}},{key:"reset",value:function(){gB(this.Reveal.getRevealElement(),'[data-auto-animate]:not([data-auto-animate=""])').forEach(function(e){e.dataset.autoAnimate=""}),gB(this.Reveal.getRevealElement(),"[data-auto-animate-target]").forEach(function(e){delete e.dataset.autoAnimateTarget}),this.autoAnimateStyleSheet&&this.autoAnimateStyleSheet.parentNode&&(this.autoAnimateStyleSheet.parentNode.removeChild(this.autoAnimateStyleSheet),this.autoAnimateStyleSheet=null)}},{key:"autoAnimateElements",value:function(e,t,n,i,r){e.dataset.autoAnimateTarget="",t.dataset.autoAnimateTarget=r;var a=this.getAutoAnimateOptions(t,i);void 0!==n.delay&&(a.delay=n.delay),void 0!==n.duration&&(a.duration=n.duration),void 0!==n.easing&&(a.easing=n.easing);var o=this.getAutoAnimatableProperties("from",e,n),s=this.getAutoAnimatableProperties("to",t,n);if(t.classList.contains("fragment")&&(delete s.styles.opacity,e.classList.contains("fragment"))&&(e.className.match(VB)||[""])[0]===(t.className.match(VB)||[""])[0]&&"forward"===i.slideDirection&&t.classList.add("visible","disabled"),!1!==n.translate||!1!==n.scale){var l=this.Reveal.getScale(),c={x:(o.x-s.x)/l,y:(o.y-s.y)/l,scaleX:o.width/s.width,scaleY:o.height/s.height};c.x=Math.round(1e3*c.x)/1e3,c.y=Math.round(1e3*c.y)/1e3,c.scaleX=Math.round(1e3*c.scaleX)/1e3,c.scaleX=Math.round(1e3*c.scaleX)/1e3;var d=!1!==n.translate&&(0!==c.x||0!==c.y),u=!1!==n.scale&&(0!==c.scaleX||0!==c.scaleY);if(d||u){var p=[];d&&p.push("translate(".concat(c.x,"px, ").concat(c.y,"px)")),u&&p.push("scale(".concat(c.scaleX,", ").concat(c.scaleY,")")),o.styles.transform=p.join(" "),o.styles["transform-origin"]="top left",s.styles.transform="none"}}for(var h in s.styles){var m=s.styles[h],g=o.styles[h];m===g?delete s.styles[h]:(!0===m.explicitValue&&(s.styles[h]=m.value),!0===g.explicitValue&&(o.styles[h]=g.value))}var f="",v=Object.keys(s.styles);return v.length>0&&(o.styles.transition="none",s.styles.transition="all ".concat(a.duration,"s ").concat(a.easing," ").concat(a.delay,"s"),s.styles["transition-property"]=v.join(", "),s.styles["will-change"]=v.join(", "),f='[data-auto-animate-target="'+r+'"] {'+Object.keys(o.styles).map(function(e){return e+": "+o.styles[e]+" !important;"}).join("")+'}[data-auto-animate="running"] [data-auto-animate-target="'+r+'"] {'+Object.keys(s.styles).map(function(e){return e+": "+s.styles[e]+" !important;"}).join("")+"}"),f}},{key:"getAutoAnimateOptions",value:function(e,t){var n={easing:this.Reveal.getConfig().autoAnimateEasing,duration:this.Reveal.getConfig().autoAnimateDuration,delay:0};if(n=mB(n,t),e.parentNode){var i=xB(e.parentNode,"[data-auto-animate-target]");i&&(n=this.getAutoAnimateOptions(i,n))}return e.dataset.autoAnimateEasing&&(n.easing=e.dataset.autoAnimateEasing),e.dataset.autoAnimateDuration&&(n.duration=parseFloat(e.dataset.autoAnimateDuration)),e.dataset.autoAnimateDelay&&(n.delay=parseFloat(e.dataset.autoAnimateDelay)),n}},{key:"getAutoAnimatableProperties",value:function(e,t,n){var i=this.Reveal.getConfig(),r={styles:[]};if(!1!==n.translate||!1!==n.scale){var a;if("function"==typeof n.measure)a=n.measure(t);else if(i.center)a=t.getBoundingClientRect();else{var o=this.Reveal.getScale();a={x:t.offsetLeft*o,y:t.offsetTop*o,width:t.offsetWidth*o,height:t.offsetHeight*o}}r.x=a.x,r.y=a.y,r.width=a.width,r.height=a.height}var s=getComputedStyle(t);return(n.styles||i.autoAnimateStyles).forEach(function(t){var n;"string"==typeof t&&(t={property:t}),void 0!==t.from&&"from"===e?n={value:t.from,explicitValue:!0}:void 0!==t.to&&"to"===e?n={value:t.to,explicitValue:!0}:("line-height"===t.property&&(n=parseFloat(s["line-height"])/parseFloat(s["font-size"])),isNaN(n)&&(n=s[t.property])),""!==n&&(r.styles[t.property]=n)}),r}},{key:"getAutoAnimatableElements",value:function(e,t){var n=("function"==typeof this.Reveal.getConfig().autoAnimateMatcher?this.Reveal.getConfig().autoAnimateMatcher:this.getAutoAnimatePairs).call(this,e,t),i=[];return n.filter(function(e,t){if(-1===i.indexOf(e.to))return i.push(e.to),!0})}},{key:"getAutoAnimatePairs",value:function(e,t){var n=this,i=[],r="h1, h2, h3, h4, h5, h6, p, li";return this.findAutoAnimateMatches(i,e,t,"[data-id]",function(e){return e.nodeName+":::"+e.getAttribute("data-id")}),this.findAutoAnimateMatches(i,e,t,r,function(e){return e.nodeName+":::"+e.innerText}),this.findAutoAnimateMatches(i,e,t,"img, video, iframe",function(e){return e.nodeName+":::"+(e.getAttribute("src")||e.getAttribute("data-src"))}),this.findAutoAnimateMatches(i,e,t,"pre",function(e){return e.nodeName+":::"+e.innerText}),i.forEach(function(e){bB(e.from,r)?e.options={scale:!1}:bB(e.from,"pre")&&(e.options={scale:!1,styles:["width","height"]},n.findAutoAnimateMatches(i,e.from,e.to,".hljs .hljs-ln-code",function(e){return e.textContent},{scale:!1,styles:[],measure:n.getLocalBoundingBox.bind(n)}),n.findAutoAnimateMatches(i,e.from,e.to,".hljs .hljs-ln-numbers[data-line-number]",function(e){return e.getAttribute("data-line-number")},{scale:!1,styles:["width"],measure:n.getLocalBoundingBox.bind(n)}))},this),i}},{key:"getLocalBoundingBox",value:function(e){var t=this.Reveal.getScale();return{x:Math.round(e.offsetLeft*t*100)/100,y:Math.round(e.offsetTop*t*100)/100,width:Math.round(e.offsetWidth*t*100)/100,height:Math.round(e.offsetHeight*t*100)/100}}},{key:"findAutoAnimateMatches",value:function(e,t,n,i,r,a){var o={},s={};[].slice.call(t.querySelectorAll(i)).forEach(function(e,t){var n=r(e);"string"==typeof n&&n.length&&(o[n]=o[n]||[],o[n].push(e))}),[].slice.call(n.querySelectorAll(i)).forEach(function(t,n){var i,l=r(t);if(s[l]=s[l]||[],s[l].push(t),o[l]){var c=s[l].length-1,d=o[l].length-1;o[l][c]?(i=o[l][c],o[l][c]=null):o[l][d]&&(i=o[l][d],o[l][d]=null)}i&&e.push({from:i,to:t,options:a})})}},{key:"getUnmatchedAutoAnimateElements",value:function(e){var t=this;return[].slice.call(e.children).reduce(function(e,n){var i=n.querySelector("[data-auto-animate-target]");return n.hasAttribute("data-auto-animate-target")||i||e.push(n),n.querySelector("[data-auto-animate-target]")&&(e=e.concat(t.getUnmatchedAutoAnimateElements(n))),e},[])}}]),e}(),GB=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t}return Object(_h.a)(e,[{key:"configure",value:function(e,t){!1===e.fragments?this.disable():!1===t.fragments&&this.enable()}},{key:"disable",value:function(){gB(this.Reveal.getSlidesElement(),".fragment").forEach(function(e){e.classList.add("visible"),e.classList.remove("current-fragment")})}},{key:"enable",value:function(){gB(this.Reveal.getSlidesElement(),".fragment").forEach(function(e){e.classList.remove("visible"),e.classList.remove("current-fragment")})}},{key:"availableRoutes",value:function(){var e=this.Reveal.getCurrentSlide();if(e&&this.Reveal.getConfig().fragments){var t=e.querySelectorAll(".fragment:not(.disabled)"),n=e.querySelectorAll(".fragment:not(.disabled):not(.visible)");return{prev:t.length-n.length>0,next:!!n.length}}return{prev:!1,next:!1}}},{key:"sort",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e=Array.from(e);var n=[],i=[],r=[];e.forEach(function(e){if(e.hasAttribute("data-fragment-index")){var t=parseInt(e.getAttribute("data-fragment-index"),10);n[t]||(n[t]=[]),n[t].push(e)}else i.push([e])}),n=n.concat(i);var a=0;return n.forEach(function(e){e.forEach(function(e){r.push(e),e.setAttribute("data-fragment-index",a)}),a++}),!0===t?n:r}},{key:"sortAll",value:function(){var e=this;this.Reveal.getHorizontalSlides().forEach(function(t){var n=gB(t,"section");n.forEach(function(t,n){e.sort(t.querySelectorAll(".fragment"))},e),0===n.length&&e.sort(t.querySelectorAll(".fragment"))})}},{key:"update",value:function(e,t){var n=this,i={shown:[],hidden:[]},r=this.Reveal.getCurrentSlide();if(r&&this.Reveal.getConfig().fragments&&(t=t||this.sort(r.querySelectorAll(".fragment"))).length){var a=0;if("number"!=typeof e){var o=this.sort(r.querySelectorAll(".fragment.visible")).pop();o&&(e=parseInt(o.getAttribute("data-fragment-index")||0,10))}Array.from(t).forEach(function(t,r){if(t.hasAttribute("data-fragment-index")&&(r=parseInt(t.getAttribute("data-fragment-index"),10)),a=Math.max(a,r),r<=e){var o=t.classList.contains("visible");t.classList.add("visible"),t.classList.remove("current-fragment"),r===e&&(n.Reveal.announceStatus(n.Reveal.getStatusText(t)),t.classList.add("current-fragment"),n.Reveal.slideContent.startEmbeddedContent(t)),o||(i.shown.push(t),n.Reveal.dispatchEvent({target:t,type:"visible",bubbles:!1}))}else{var s=t.classList.contains("visible");t.classList.remove("visible"),t.classList.remove("current-fragment"),s&&(n.Reveal.slideContent.stopEmbeddedContent(t),i.hidden.push(t),n.Reveal.dispatchEvent({target:t,type:"hidden",bubbles:!1}))}}),e="number"==typeof e?e:-1,e=Math.max(Math.min(e,a),-1),r.setAttribute("data-fragment",e)}return i}},{key:"sync",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.Reveal.getCurrentSlide();return this.sort(e.querySelectorAll(".fragment"))}},{key:"goto",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.Reveal.getCurrentSlide();if(n&&this.Reveal.getConfig().fragments){var i=this.sort(n.querySelectorAll(".fragment:not(.disabled)"));if(i.length){if("number"!=typeof e){var r=this.sort(n.querySelectorAll(".fragment:not(.disabled).visible")).pop();e=r?parseInt(r.getAttribute("data-fragment-index")||0,10):-1}var a=this.update(e+=t,i);return a.hidden.length&&this.Reveal.dispatchEvent({type:"fragmenthidden",data:{fragment:a.hidden[0],fragments:a.hidden}}),a.shown.length&&this.Reveal.dispatchEvent({type:"fragmentshown",data:{fragment:a.shown[0],fragments:a.shown}}),this.Reveal.controls.update(),this.Reveal.progress.update(),this.Reveal.getConfig().fragmentInURL&&this.Reveal.location.writeURL(),!(!a.shown.length&&!a.hidden.length)}}return!1}},{key:"next",value:function(){return this.goto(null,1)}},{key:"prev",value:function(){return this.goto(null,-1)}}]),e}(),UB=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t,this.active=!1,this.onSlideClicked=this.onSlideClicked.bind(this)}return Object(_h.a)(e,[{key:"activate",value:function(){var e=this;if(this.Reveal.getConfig().overview&&!this.isActive()){this.active=!0,this.Reveal.getRevealElement().classList.add("overview"),this.Reveal.cancelAutoSlide(),this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()),gB(this.Reveal.getRevealElement(),BB).forEach(function(t){t.classList.contains("stack")||t.addEventListener("click",e.onSlideClicked,!0)});var t=this.Reveal.getComputedSlideSize();this.overviewSlideWidth=t.width+70,this.overviewSlideHeight=t.height+70,this.Reveal.getConfig().rtl&&(this.overviewSlideWidth=-this.overviewSlideWidth),this.Reveal.updateSlidesVisibility(),this.layout(),this.update(),this.Reveal.layout();var n=this.Reveal.getIndices();this.Reveal.dispatchEvent({type:"overviewshown",data:{indexh:n.h,indexv:n.v,currentSlide:this.Reveal.getCurrentSlide()}})}}},{key:"layout",value:function(){var e=this;this.Reveal.getHorizontalSlides().forEach(function(t,n){t.setAttribute("data-index-h",n),yB(t,"translate3d("+n*e.overviewSlideWidth+"px, 0, 0)"),t.classList.contains("stack")&&gB(t,"section").forEach(function(t,i){t.setAttribute("data-index-h",n),t.setAttribute("data-index-v",i),yB(t,"translate3d(0, "+i*e.overviewSlideHeight+"px, 0)")})}),Array.from(this.Reveal.getBackgroundsElement().childNodes).forEach(function(t,n){yB(t,"translate3d("+n*e.overviewSlideWidth+"px, 0, 0)"),gB(t,".slide-background").forEach(function(t,n){yB(t,"translate3d(0, "+n*e.overviewSlideHeight+"px, 0)")})})}},{key:"update",value:function(){var e=Math.min(window.innerWidth,window.innerHeight),t=Math.max(e/5,150)/e,n=this.Reveal.getIndices();this.Reveal.transformSlides({overview:["scale("+t+")","translateX("+-n.h*this.overviewSlideWidth+"px)","translateY("+-n.v*this.overviewSlideHeight+"px)"].join(" ")})}},{key:"deactivate",value:function(){var e=this;if(this.Reveal.getConfig().overview){this.active=!1,this.Reveal.getRevealElement().classList.remove("overview"),this.Reveal.getRevealElement().classList.add("overview-deactivating"),setTimeout(function(){e.Reveal.getRevealElement().classList.remove("overview-deactivating")},1),this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()),gB(this.Reveal.getRevealElement(),BB).forEach(function(t){yB(t,""),t.removeEventListener("click",e.onSlideClicked,!0)}),gB(this.Reveal.getBackgroundsElement(),".slide-background").forEach(function(e){yB(e,"")}),this.Reveal.transformSlides({overview:""});var t=this.Reveal.getIndices();this.Reveal.slide(t.h,t.v),this.Reveal.layout(),this.Reveal.cueAutoSlide(),this.Reveal.dispatchEvent({type:"overviewhidden",data:{indexh:t.h,indexv:t.v,currentSlide:this.Reveal.getCurrentSlide()}})}}},{key:"toggle",value:function(e){"boolean"==typeof e?e?this.activate():this.deactivate():this.isActive()?this.deactivate():this.activate()}},{key:"isActive",value:function(){return this.active}},{key:"onSlideClicked",value:function(e){if(this.isActive()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(this.deactivate(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),i=parseInt(t.getAttribute("data-index-v"),10);this.Reveal.slide(n,i)}}}}]),e}(),qB=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t,this.shortcuts={},this.bindings={},this.onDocumentKeyDown=this.onDocumentKeyDown.bind(this),this.onDocumentKeyPress=this.onDocumentKeyPress.bind(this)}return Object(_h.a)(e,[{key:"configure",value:function(e,t){"linear"===e.navigationMode?(this.shortcuts["&#8594;  ,  &#8595;  ,  SPACE  ,  N  ,  L  ,  J"]="Next slide",this.shortcuts["&#8592;  ,  &#8593;  ,  P  ,  H  ,  K"]="Previous slide"):(this.shortcuts["N  ,  SPACE"]="Next slide",this.shortcuts["P  ,  Shift SPACE"]="Previous slide",this.shortcuts["&#8592;  ,  H"]="Navigate left",this.shortcuts["&#8594;  ,  L"]="Navigate right",this.shortcuts["&#8593;  ,  K"]="Navigate up",this.shortcuts["&#8595;  ,  J"]="Navigate down"),this.shortcuts["Alt + &#8592;/&#8593/&#8594;/&#8595;"]="Navigate without fragments",this.shortcuts["Shift + &#8592;/&#8593/&#8594;/&#8595;"]="Jump to first/last slide",this.shortcuts["B  ,  ."]="Pause",this.shortcuts.F="Fullscreen",this.shortcuts.G="Jump to slide",this.shortcuts["ESC, O"]="Slide overview"}},{key:"bind",value:function(){document.addEventListener("keydown",this.onDocumentKeyDown,!1),document.addEventListener("keypress",this.onDocumentKeyPress,!1)}},{key:"unbind",value:function(){document.removeEventListener("keydown",this.onDocumentKeyDown,!1),document.removeEventListener("keypress",this.onDocumentKeyPress,!1)}},{key:"addKeyBinding",value:function(e,t){"object"==typeof e&&e.keyCode?this.bindings[e.keyCode]={callback:t,key:e.key,description:e.description}:this.bindings[e]={callback:t,key:null,description:null}}},{key:"removeKeyBinding",value:function(e){delete this.bindings[e]}},{key:"triggerKey",value:function(e){this.onDocumentKeyDown({keyCode:e})}},{key:"registerKeyboardShortcut",value:function(e,t){this.shortcuts[e]=t}},{key:"getShortcuts",value:function(){return this.shortcuts}},{key:"getBindings",value:function(){return this.bindings}},{key:"onDocumentKeyPress",value:function(e){e.shiftKey&&63===e.charCode&&this.Reveal.toggleHelp()}},{key:"onDocumentKeyDown",value:function(e){var t=this.Reveal.getConfig();if("function"==typeof t.keyboardCondition&&!1===t.keyboardCondition(e))return!0;if("focused"===t.keyboardCondition&&!this.Reveal.isFocused())return!0;var n=e.keyCode,i=!this.Reveal.isAutoSliding();this.Reveal.onUserInput(e);var r=document.activeElement&&!0===document.activeElement.isContentEditable,a=document.activeElement&&document.activeElement.tagName&&/input|textarea/i.test(document.activeElement.tagName),o=document.activeElement&&document.activeElement.className&&/speaker-notes/i.test(document.activeElement.className),s=!(-1!==[32,37,38,39,40,78,80].indexOf(e.keyCode)&&e.shiftKey||e.altKey)&&(e.shiftKey||e.altKey||e.ctrlKey||e.metaKey);if(!(r||a||o||s)){var l,c=[66,86,190,191];if("object"==typeof t.keyboard)for(l in t.keyboard)"togglePause"===t.keyboard[l]&&c.push(parseInt(l,10));if(this.Reveal.isPaused()&&-1===c.indexOf(n))return!1;var d="linear"===t.navigationMode||!this.Reveal.hasHorizontalSlides()||!this.Reveal.hasVerticalSlides(),u=!1;if("object"==typeof t.keyboard)for(l in t.keyboard)if(parseInt(l,10)===n){var p=t.keyboard[l];"function"==typeof p?p.apply(null,[e]):"string"==typeof p&&"function"==typeof this.Reveal[p]&&this.Reveal[p].call(),u=!0}if(!1===u)for(l in this.bindings)if(parseInt(l,10)===n){var h=this.bindings[l].callback;"function"==typeof h?h.apply(null,[e]):"string"==typeof h&&"function"==typeof this.Reveal[h]&&this.Reveal[h].call(),u=!0}!1===u&&(u=!0,80===n||33===n?this.Reveal.prev({skipFragments:e.altKey}):78===n||34===n?this.Reveal.next({skipFragments:e.altKey}):72===n||37===n?e.shiftKey?this.Reveal.slide(0):!this.Reveal.overview.isActive()&&d?this.Reveal.prev({skipFragments:e.altKey}):this.Reveal.left({skipFragments:e.altKey}):76===n||39===n?e.shiftKey?this.Reveal.slide(this.Reveal.getHorizontalSlides().length-1):!this.Reveal.overview.isActive()&&d?this.Reveal.next({skipFragments:e.altKey}):this.Reveal.right({skipFragments:e.altKey}):75===n||38===n?e.shiftKey?this.Reveal.slide(void 0,0):!this.Reveal.overview.isActive()&&d?this.Reveal.prev({skipFragments:e.altKey}):this.Reveal.up({skipFragments:e.altKey}):74===n||40===n?e.shiftKey?this.Reveal.slide(void 0,Number.MAX_VALUE):!this.Reveal.overview.isActive()&&d?this.Reveal.next({skipFragments:e.altKey}):this.Reveal.down({skipFragments:e.altKey}):36===n?this.Reveal.slide(0):35===n?this.Reveal.slide(this.Reveal.getHorizontalSlides().length-1):32===n?(this.Reveal.overview.isActive()&&this.Reveal.overview.deactivate(),e.shiftKey?this.Reveal.prev({skipFragments:e.altKey}):this.Reveal.next({skipFragments:e.altKey})):58===n||59===n||66===n||86===n||190===n||191===n?this.Reveal.togglePause():70===n?function(e){var t=(e=e||document.documentElement).requestFullscreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullscreen;t&&t.apply(e)}(t.embedded?this.Reveal.getViewportElement():document.documentElement):65===n?t.autoSlideStoppable&&this.Reveal.toggleAutoSlide(i):71===n?t.jumpToSlide&&this.Reveal.toggleJumpToSlide():u=!1),u?e.preventDefault&&e.preventDefault():27!==n&&79!==n||(!1===this.Reveal.closeOverlay()&&this.Reveal.overview.toggle(),e.preventDefault&&e.preventDefault()),this.Reveal.cueAutoSlide()}}}]),e}(),ZB=function(){function e(t){var n;Object(xh.a)(this,e),(n="MAX_REPLACE_STATE_FREQUENCY")in this?Object.defineProperty(this,n,{value:1e3,enumerable:!0,configurable:!0,writable:!0}):this[n]=1e3,this.Reveal=t,this.writeURLTimeout=0,this.replaceStateTimestamp=0,this.onWindowHashChange=this.onWindowHashChange.bind(this)}return Object(_h.a)(e,[{key:"bind",value:function(){window.addEventListener("hashchange",this.onWindowHashChange,!1)}},{key:"unbind",value:function(){window.removeEventListener("hashchange",this.onWindowHashChange,!1)}},{key:"getIndicesFromHash",value:function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.hash,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.replace(/^#\/?/,""),a=r.split("/");if(/^[0-9]*$/.test(a[0])||!r.length){var o,s=this.Reveal.getConfig(),l=s.hashOneBasedIndex||i.oneBasedIndex?1:0,c=parseInt(a[0],10)-l||0,d=parseInt(a[1],10)-l||0;return s.fragmentInURL&&(o=parseInt(a[2],10),isNaN(o)&&(o=void 0)),{h:c,v:d,f:o}}/\/[-\d]+$/g.test(r)&&(t=parseInt(r.split("/").pop(),10),t=isNaN(t)?void 0:t,r=r.split("/").shift());try{e=document.getElementById(decodeURIComponent(r)).closest(".slides>section, .slides>section>section")}catch(n){}return e?pB(pB({},this.Reveal.getIndices(e)),{},{f:t}):null}},{key:"readURL",value:function(){var e=this.Reveal.getIndices(),t=this.getIndicesFromHash();t?t.h===e.h&&t.v===e.v&&void 0===t.f||this.Reveal.slide(t.h,t.v,t.f):this.Reveal.slide(e.h||0,e.v||0)}},{key:"writeURL",value:function(e){var t=this.Reveal.getConfig(),n=this.Reveal.getCurrentSlide();if(clearTimeout(this.writeURLTimeout),"number"==typeof e)this.writeURLTimeout=setTimeout(this.writeURL,e);else if(n){var i=this.getHash();t.history?window.location.hash=i:t.hash&&this.debouncedReplaceState("/"===i?window.location.pathname+window.location.search:"#"+i)}}},{key:"replaceState",value:function(e){window.history.replaceState(null,null,e),this.replaceStateTimestamp=Date.now()}},{key:"debouncedReplaceState",value:function(e){var t=this;clearTimeout(this.replaceStateTimeout),Date.now()-this.replaceStateTimestamp>this.MAX_REPLACE_STATE_FREQUENCY?this.replaceState(e):this.replaceStateTimeout=setTimeout(function(){return t.replaceState(e)},this.MAX_REPLACE_STATE_FREQUENCY)}},{key:"getHash",value:function(e){var t="/",n=e||this.Reveal.getCurrentSlide(),i=n?n.getAttribute("id"):null;i&&(i=encodeURIComponent(i));var r=this.Reveal.getIndices(e);if(this.Reveal.getConfig().fragmentInURL||(r.f=void 0),"string"==typeof i&&i.length)t="/"+i,r.f>=0&&(t+="/"+r.f);else{var a=this.Reveal.getConfig().hashOneBasedIndex?1:0;(r.h>0||r.v>0||r.f>=0)&&(t+=r.h+a),(r.v>0||r.f>=0)&&(t+="/"+(r.v+a)),r.f>=0&&(t+="/"+r.f)}return t}},{key:"onWindowHashChange",value:function(e){this.readURL()}}]),e}(),$B=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t,this.onNavigateLeftClicked=this.onNavigateLeftClicked.bind(this),this.onNavigateRightClicked=this.onNavigateRightClicked.bind(this),this.onNavigateUpClicked=this.onNavigateUpClicked.bind(this),this.onNavigateDownClicked=this.onNavigateDownClicked.bind(this),this.onNavigatePrevClicked=this.onNavigatePrevClicked.bind(this),this.onNavigateNextClicked=this.onNavigateNextClicked.bind(this)}return Object(_h.a)(e,[{key:"render",value:function(){var e=this.Reveal.getConfig().rtl,t=this.Reveal.getRevealElement();this.element=document.createElement("aside"),this.element.className="controls",this.element.innerHTML='<button class="navigate-left" aria-label="'.concat(e?"next slide":"previous slide",'"><div class="controls-arrow"></div></button>\n\t\t\t<button class="navigate-right" aria-label="').concat(e?"previous slide":"next slide",'"><div class="controls-arrow"></div></button>\n\t\t\t<button class="navigate-up" aria-label="above slide"><div class="controls-arrow"></div></button>\n\t\t\t<button class="navigate-down" aria-label="below slide"><div class="controls-arrow"></div></button>'),this.Reveal.getRevealElement().appendChild(this.element),this.controlsLeft=gB(t,".navigate-left"),this.controlsRight=gB(t,".navigate-right"),this.controlsUp=gB(t,".navigate-up"),this.controlsDown=gB(t,".navigate-down"),this.controlsPrev=gB(t,".navigate-prev"),this.controlsNext=gB(t,".navigate-next"),this.controlsRightArrow=this.element.querySelector(".navigate-right"),this.controlsLeftArrow=this.element.querySelector(".navigate-left"),this.controlsDownArrow=this.element.querySelector(".navigate-down")}},{key:"configure",value:function(e,t){this.element.style.display=e.controls?"block":"none",this.element.setAttribute("data-controls-layout",e.controlsLayout),this.element.setAttribute("data-controls-back-arrows",e.controlsBackArrows)}},{key:"bind",value:function(){var e=this,t=["touchstart","click"];MB&&(t=["touchstart"]),t.forEach(function(t){e.controlsLeft.forEach(function(n){return n.addEventListener(t,e.onNavigateLeftClicked,!1)}),e.controlsRight.forEach(function(n){return n.addEventListener(t,e.onNavigateRightClicked,!1)}),e.controlsUp.forEach(function(n){return n.addEventListener(t,e.onNavigateUpClicked,!1)}),e.controlsDown.forEach(function(n){return n.addEventListener(t,e.onNavigateDownClicked,!1)}),e.controlsPrev.forEach(function(n){return n.addEventListener(t,e.onNavigatePrevClicked,!1)}),e.controlsNext.forEach(function(n){return n.addEventListener(t,e.onNavigateNextClicked,!1)})})}},{key:"unbind",value:function(){var e=this;["touchstart","click"].forEach(function(t){e.controlsLeft.forEach(function(n){return n.removeEventListener(t,e.onNavigateLeftClicked,!1)}),e.controlsRight.forEach(function(n){return n.removeEventListener(t,e.onNavigateRightClicked,!1)}),e.controlsUp.forEach(function(n){return n.removeEventListener(t,e.onNavigateUpClicked,!1)}),e.controlsDown.forEach(function(n){return n.removeEventListener(t,e.onNavigateDownClicked,!1)}),e.controlsPrev.forEach(function(n){return n.removeEventListener(t,e.onNavigatePrevClicked,!1)}),e.controlsNext.forEach(function(n){return n.removeEventListener(t,e.onNavigateNextClicked,!1)})})}},{key:"update",value:function(){var e=this.Reveal.availableRoutes();[].concat(Object(ZS.a)(this.controlsLeft),Object(ZS.a)(this.controlsRight),Object(ZS.a)(this.controlsUp),Object(ZS.a)(this.controlsDown),Object(ZS.a)(this.controlsPrev),Object(ZS.a)(this.controlsNext)).forEach(function(e){e.classList.remove("enabled","fragmented"),e.setAttribute("disabled","disabled")}),e.left&&this.controlsLeft.forEach(function(e){e.classList.add("enabled"),e.removeAttribute("disabled")}),e.right&&this.controlsRight.forEach(function(e){e.classList.add("enabled"),e.removeAttribute("disabled")}),e.up&&this.controlsUp.forEach(function(e){e.classList.add("enabled"),e.removeAttribute("disabled")}),e.down&&this.controlsDown.forEach(function(e){e.classList.add("enabled"),e.removeAttribute("disabled")}),(e.left||e.up)&&this.controlsPrev.forEach(function(e){e.classList.add("enabled"),e.removeAttribute("disabled")}),(e.right||e.down)&&this.controlsNext.forEach(function(e){e.classList.add("enabled"),e.removeAttribute("disabled")});var t=this.Reveal.getCurrentSlide();if(t){var n=this.Reveal.fragments.availableRoutes();n.prev&&this.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),n.next&&this.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),this.Reveal.isVerticalSlide(t)?(n.prev&&this.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),n.next&&this.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")})):(n.prev&&this.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}),n.next&&this.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled"),e.removeAttribute("disabled")}))}if(this.Reveal.getConfig().controlsTutorial){var i=this.Reveal.getIndices();!this.Reveal.hasNavigatedVertically()&&e.down?this.controlsDownArrow.classList.add("highlight"):(this.controlsDownArrow.classList.remove("highlight"),this.Reveal.getConfig().rtl?!this.Reveal.hasNavigatedHorizontally()&&e.left&&0===i.v?this.controlsLeftArrow.classList.add("highlight"):this.controlsLeftArrow.classList.remove("highlight"):!this.Reveal.hasNavigatedHorizontally()&&e.right&&0===i.v?this.controlsRightArrow.classList.add("highlight"):this.controlsRightArrow.classList.remove("highlight"))}}},{key:"destroy",value:function(){this.unbind(),this.element.remove()}},{key:"onNavigateLeftClicked",value:function(e){e.preventDefault(),this.Reveal.onUserInput(),"linear"===this.Reveal.getConfig().navigationMode?this.Reveal.prev():this.Reveal.left()}},{key:"onNavigateRightClicked",value:function(e){e.preventDefault(),this.Reveal.onUserInput(),"linear"===this.Reveal.getConfig().navigationMode?this.Reveal.next():this.Reveal.right()}},{key:"onNavigateUpClicked",value:function(e){e.preventDefault(),this.Reveal.onUserInput(),this.Reveal.up()}},{key:"onNavigateDownClicked",value:function(e){e.preventDefault(),this.Reveal.onUserInput(),this.Reveal.down()}},{key:"onNavigatePrevClicked",value:function(e){e.preventDefault(),this.Reveal.onUserInput(),this.Reveal.prev()}},{key:"onNavigateNextClicked",value:function(e){e.preventDefault(),this.Reveal.onUserInput(),this.Reveal.next()}}]),e}(),XB=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t,this.onProgressClicked=this.onProgressClicked.bind(this)}return Object(_h.a)(e,[{key:"render",value:function(){this.element=document.createElement("div"),this.element.className="progress",this.Reveal.getRevealElement().appendChild(this.element),this.bar=document.createElement("span"),this.element.appendChild(this.bar)}},{key:"configure",value:function(e,t){this.element.style.display=e.progress?"block":"none"}},{key:"bind",value:function(){this.Reveal.getConfig().progress&&this.element&&this.element.addEventListener("click",this.onProgressClicked,!1)}},{key:"unbind",value:function(){this.Reveal.getConfig().progress&&this.element&&this.element.removeEventListener("click",this.onProgressClicked,!1)}},{key:"update",value:function(){if(this.Reveal.getConfig().progress&&this.bar){var e=this.Reveal.getProgress();this.Reveal.getTotalSlides()<2&&(e=0),this.bar.style.transform="scaleX("+e+")"}}},{key:"getMaxWidth",value:function(){return this.Reveal.getRevealElement().offsetWidth}},{key:"onProgressClicked",value:function(e){this.Reveal.onUserInput(e),e.preventDefault();var t=this.Reveal.getSlides(),n=t.length,i=Math.floor(e.clientX/this.getMaxWidth()*n);this.Reveal.getConfig().rtl&&(i=n-i);var r=this.Reveal.getIndices(t[i]);this.Reveal.slide(r.h,r.v)}},{key:"destroy",value:function(){this.element.remove()}}]),e}(),KB=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t,this.lastMouseWheelStep=0,this.cursorHidden=!1,this.cursorInactiveTimeout=0,this.onDocumentCursorActive=this.onDocumentCursorActive.bind(this),this.onDocumentMouseScroll=this.onDocumentMouseScroll.bind(this)}return Object(_h.a)(e,[{key:"configure",value:function(e,t){e.mouseWheel?(document.addEventListener("DOMMouseScroll",this.onDocumentMouseScroll,!1),document.addEventListener("mousewheel",this.onDocumentMouseScroll,!1)):(document.removeEventListener("DOMMouseScroll",this.onDocumentMouseScroll,!1),document.removeEventListener("mousewheel",this.onDocumentMouseScroll,!1)),e.hideInactiveCursor?(document.addEventListener("mousemove",this.onDocumentCursorActive,!1),document.addEventListener("mousedown",this.onDocumentCursorActive,!1)):(this.showCursor(),document.removeEventListener("mousemove",this.onDocumentCursorActive,!1),document.removeEventListener("mousedown",this.onDocumentCursorActive,!1))}},{key:"showCursor",value:function(){this.cursorHidden&&(this.cursorHidden=!1,this.Reveal.getRevealElement().style.cursor="")}},{key:"hideCursor",value:function(){!1===this.cursorHidden&&(this.cursorHidden=!0,this.Reveal.getRevealElement().style.cursor="none")}},{key:"destroy",value:function(){this.showCursor(),document.removeEventListener("DOMMouseScroll",this.onDocumentMouseScroll,!1),document.removeEventListener("mousewheel",this.onDocumentMouseScroll,!1),document.removeEventListener("mousemove",this.onDocumentCursorActive,!1),document.removeEventListener("mousedown",this.onDocumentCursorActive,!1)}},{key:"onDocumentCursorActive",value:function(e){this.showCursor(),clearTimeout(this.cursorInactiveTimeout),this.cursorInactiveTimeout=setTimeout(this.hideCursor.bind(this),this.Reveal.getConfig().hideCursorTime)}},{key:"onDocumentMouseScroll",value:function(e){if(Date.now()-this.lastMouseWheelStep>1e3){this.lastMouseWheelStep=Date.now();var t=e.detail||-e.wheelDelta;t>0?this.Reveal.next():t<0&&this.Reveal.prev()}}}]),e}(),JB=function(e,t){var n=document.createElement("script");n.type="text/javascript",n.async=!1,n.defer=!1,n.src=e,"function"==typeof t&&(n.onload=n.onreadystatechange=function(e){("load"===e.type||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=n.onerror=null,t())},n.onerror=function(e){n.onload=n.onreadystatechange=n.onerror=null,t(new Error("Failed loading script: "+n.src+"\n"+e))});var i=document.querySelector("head");i.insertBefore(n,i.lastChild)},QB=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t,this.state="idle",this.registeredPlugins={},this.asyncDependencies=[]}return Object(_h.a)(e,[{key:"load",value:function(e,t){var n=this;return this.state="loading",e.forEach(this.registerPlugin.bind(this)),new Promise(function(e){var i=[],r=0;if(t.forEach(function(e){e.condition&&!e.condition()||(e.async?n.asyncDependencies.push(e):i.push(e))}),i.length){r=i.length;var a=function(t){t&&"function"==typeof t.callback&&t.callback(),0==--r&&n.initPlugins().then(e)};i.forEach(function(e){"string"==typeof e.id?(n.registerPlugin(e),a(e)):"string"==typeof e.src?JB(e.src,function(){return a(e)}):(console.warn("Unrecognized plugin format",e),a())})}else n.initPlugins().then(e)})}},{key:"initPlugins",value:function(){var e=this;return new Promise(function(t){var n=Object.values(e.registeredPlugins),i=n.length;if(0===i)e.loadAsync().then(t);else{var r,a=function(){0==--i?e.loadAsync().then(t):r()},o=0;(r=function(){var t=n[o++];if("function"==typeof t.init){var i=t.init(e.Reveal);i&&"function"==typeof i.then?i.then(a):a()}else a()})()}})}},{key:"loadAsync",value:function(){return this.state="loaded",this.asyncDependencies.length&&this.asyncDependencies.forEach(function(e){JB(e.src,e.callback)}),Promise.resolve()}},{key:"registerPlugin",value:function(e){2===arguments.length&&"string"==typeof arguments[0]?(e=arguments[1]).id=arguments[0]:"function"==typeof e&&(e=e());var t=e.id;"string"!=typeof t?console.warn("Unrecognized plugin format; can't find plugin.id",e):void 0===this.registeredPlugins[t]?(this.registeredPlugins[t]=e,"loaded"===this.state&&"function"==typeof e.init&&e.init(this.Reveal)):console.warn('reveal.js: "'+t+'" plugin has already been registered')}},{key:"hasPlugin",value:function(e){return!!this.registeredPlugins[e]}},{key:"getPlugin",value:function(e){return this.registeredPlugins[e]}},{key:"getRegisteredPlugins",value:function(){return this.registeredPlugins}},{key:"destroy",value:function(){Object.values(this.registeredPlugins).forEach(function(e){"function"==typeof e.destroy&&e.destroy()}),this.registeredPlugins={},this.asyncDependencies=[]}}]),e}(),ez=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t}var t,n;return Object(_h.a)(e,[{key:"setupPDF",value:(t=hB().mark(function e(){var t,n,i,r,a,o,s,l,c,d,u,p,h,m,g;return hB().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.Reveal.getConfig(),n=gB(this.Reveal.getRevealElement(),BB),i=t.slideNumber&&/all|print/i.test(t.showSlideNumber),r=this.Reveal.getComputedSlideSize(window.innerWidth,window.innerHeight),a=Math.floor(r.width*(1+t.margin)),o=Math.floor(r.height*(1+t.margin)),s=r.width,l=r.height,e.next=3,new Promise(requestAnimationFrame);case 3:return wB("@page{size:"+a+"px "+o+"px; margin: 0px;}"),wB(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: "+s+"px; max-height:"+l+"px}"),document.documentElement.classList.add("print-pdf"),document.body.style.width=a+"px",document.body.style.height=o+"px",(c=document.querySelector(".reveal-viewport"))&&(u=window.getComputedStyle(c))&&u.background&&(d=u.background),e.next=12,new Promise(requestAnimationFrame);case 12:return this.Reveal.layoutSlideContents(s,l),e.next=15,new Promise(requestAnimationFrame);case 15:return p=n.map(function(e){return e.scrollHeight}),h=[],m=n[0].parentNode,g=1,n.forEach(function(e,n){if(!1===e.classList.contains("stack")){var r=(a-s)/2,c=(o-l)/2,u=p[n],m=Math.max(Math.ceil(u/o),1);(1===(m=Math.min(m,t.pdfMaxPagesPerSlide))&&t.center||e.classList.contains("center"))&&(c=Math.max((o-u)/2,0));var f=document.createElement("div");if(h.push(f),f.className="pdf-page",f.style.height=(o+t.pdfPageHeightOffset)*m+"px",d&&(f.style.background=d),f.appendChild(e),e.style.left=r+"px",e.style.top=c+"px",e.style.width=s+"px",this.Reveal.slideContent.layout(e),e.slideBackgroundElement&&f.insertBefore(e.slideBackgroundElement,e),t.showNotes){var v=this.Reveal.getSlideNotes(e);if(v){var y="string"==typeof t.showNotes?t.showNotes:"inline",b=document.createElement("div");b.classList.add("speaker-notes"),b.classList.add("speaker-notes-pdf"),b.setAttribute("data-layout",y),b.innerHTML=v,"separate-page"===y?h.push(b):(b.style.left="8px",b.style.bottom="8px",b.style.width=a-16+"px",f.appendChild(b))}}if(i){var x=document.createElement("div");x.classList.add("slide-number"),x.classList.add("slide-number-pdf"),x.innerHTML=g++,f.appendChild(x)}if(t.pdfSeparateFragments){var _,w=this.Reveal.fragments.sort(f.querySelectorAll(".fragment"),!0);w.forEach(function(e,t){_&&_.forEach(function(e){e.classList.remove("current-fragment")}),e.forEach(function(e){e.classList.add("visible","current-fragment")},this);var n=f.cloneNode(!0);if(i){var r=t+1;n.querySelector(".slide-number-pdf").innerHTML+="."+r}h.push(n),_=e},this),w.forEach(function(e){e.forEach(function(e){e.classList.remove("visible","current-fragment")})})}else gB(f,".fragment:not(.fade-out)").forEach(function(e){e.classList.add("visible")})}},this),e.next=20,new Promise(requestAnimationFrame);case 20:h.forEach(function(e){return m.appendChild(e)}),this.Reveal.slideContent.layout(this.Reveal.getSlidesElement()),this.Reveal.dispatchEvent({type:"pdf-ready"});case 23:case"end":return e.stop()}},e,this)}),n=function(){var e=this,n=arguments;return new Promise(function(i,r){var a=t.apply(e,n);function o(e){cB(a,i,r,o,s,"next",e)}function s(e){cB(a,i,r,o,s,"throw",e)}o(void 0)})},function(){return n.apply(this,arguments)})},{key:"isPrintingPDF",value:function(){return/print-pdf/gi.test(window.location.search)}}]),e}(),tz=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t,this.touchStartX=0,this.touchStartY=0,this.touchStartCount=0,this.touchCaptured=!1,this.onPointerDown=this.onPointerDown.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onTouchStart=this.onTouchStart.bind(this),this.onTouchMove=this.onTouchMove.bind(this),this.onTouchEnd=this.onTouchEnd.bind(this)}return Object(_h.a)(e,[{key:"bind",value:function(){var e=this.Reveal.getRevealElement();"onpointerdown"in window?(e.addEventListener("pointerdown",this.onPointerDown,!1),e.addEventListener("pointermove",this.onPointerMove,!1),e.addEventListener("pointerup",this.onPointerUp,!1)):window.navigator.msPointerEnabled?(e.addEventListener("MSPointerDown",this.onPointerDown,!1),e.addEventListener("MSPointerMove",this.onPointerMove,!1),e.addEventListener("MSPointerUp",this.onPointerUp,!1)):(e.addEventListener("touchstart",this.onTouchStart,!1),e.addEventListener("touchmove",this.onTouchMove,!1),e.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"unbind",value:function(){var e=this.Reveal.getRevealElement();e.removeEventListener("pointerdown",this.onPointerDown,!1),e.removeEventListener("pointermove",this.onPointerMove,!1),e.removeEventListener("pointerup",this.onPointerUp,!1),e.removeEventListener("MSPointerDown",this.onPointerDown,!1),e.removeEventListener("MSPointerMove",this.onPointerMove,!1),e.removeEventListener("MSPointerUp",this.onPointerUp,!1),e.removeEventListener("touchstart",this.onTouchStart,!1),e.removeEventListener("touchmove",this.onTouchMove,!1),e.removeEventListener("touchend",this.onTouchEnd,!1)}},{key:"isSwipePrevented",value:function(e){if(bB(e,"video, audio"))return!0;for(;e&&"function"==typeof e.hasAttribute;){if(e.hasAttribute("data-prevent-swipe"))return!0;e=e.parentNode}return!1}},{key:"onTouchStart",value:function(e){if(this.isSwipePrevented(e.target))return!0;this.touchStartX=e.touches[0].clientX,this.touchStartY=e.touches[0].clientY,this.touchStartCount=e.touches.length}},{key:"onTouchMove",value:function(e){if(this.isSwipePrevented(e.target))return!0;var t=this.Reveal.getConfig();if(this.touchCaptured)MB&&e.preventDefault();else{this.Reveal.onUserInput(e);var n=e.touches[0].clientX,i=e.touches[0].clientY;if(1===e.touches.length&&2!==this.touchStartCount){var r=this.Reveal.availableRoutes({includeFragments:!0}),a=n-this.touchStartX,o=i-this.touchStartY;a>40&&Math.abs(a)>Math.abs(o)?(this.touchCaptured=!0,"linear"===t.navigationMode?t.rtl?this.Reveal.next():this.Reveal.prev():this.Reveal.left()):a<-40&&Math.abs(a)>Math.abs(o)?(this.touchCaptured=!0,"linear"===t.navigationMode?t.rtl?this.Reveal.prev():this.Reveal.next():this.Reveal.right()):o>40&&r.up?(this.touchCaptured=!0,"linear"===t.navigationMode?this.Reveal.prev():this.Reveal.up()):o<-40&&r.down&&(this.touchCaptured=!0,"linear"===t.navigationMode?this.Reveal.next():this.Reveal.down()),t.embedded?(this.touchCaptured||this.Reveal.isVerticalSlide())&&e.preventDefault():e.preventDefault()}}}},{key:"onTouchEnd",value:function(e){this.touchCaptured=!1}},{key:"onPointerDown",value:function(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],this.onTouchStart(e))}},{key:"onPointerMove",value:function(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],this.onTouchMove(e))}},{key:"onPointerUp",value:function(e){e.pointerType!==e.MSPOINTER_TYPE_TOUCH&&"touch"!==e.pointerType||(e.touches=[{clientX:e.clientX,clientY:e.clientY}],this.onTouchEnd(e))}}]),e}(),nz="focus",iz="blur",rz=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t,this.onRevealPointerDown=this.onRevealPointerDown.bind(this),this.onDocumentPointerDown=this.onDocumentPointerDown.bind(this)}return Object(_h.a)(e,[{key:"configure",value:function(e,t){e.embedded?this.blur():(this.focus(),this.unbind())}},{key:"bind",value:function(){this.Reveal.getConfig().embedded&&this.Reveal.getRevealElement().addEventListener("pointerdown",this.onRevealPointerDown,!1)}},{key:"unbind",value:function(){this.Reveal.getRevealElement().removeEventListener("pointerdown",this.onRevealPointerDown,!1),document.removeEventListener("pointerdown",this.onDocumentPointerDown,!1)}},{key:"focus",value:function(){this.state!==nz&&(this.Reveal.getRevealElement().classList.add("focused"),document.addEventListener("pointerdown",this.onDocumentPointerDown,!1)),this.state=nz}},{key:"blur",value:function(){this.state!==iz&&(this.Reveal.getRevealElement().classList.remove("focused"),document.removeEventListener("pointerdown",this.onDocumentPointerDown,!1)),this.state=iz}},{key:"isFocused",value:function(){return this.state===nz}},{key:"destroy",value:function(){this.Reveal.getRevealElement().classList.remove("focused")}},{key:"onRevealPointerDown",value:function(e){this.focus()}},{key:"onDocumentPointerDown",value:function(e){var t=xB(e.target,".reveal");t&&t===this.Reveal.getRevealElement()||this.blur()}}]),e}(),az=function(){function e(t){Object(xh.a)(this,e),this.Reveal=t}return Object(_h.a)(e,[{key:"render",value:function(){this.element=document.createElement("div"),this.element.className="speaker-notes",this.element.setAttribute("data-prevent-swipe",""),this.element.setAttribute("tabindex","0"),this.Reveal.getRevealElement().appendChild(this.element)}},{key:"configure",value:function(e,t){e.showNotes&&this.element.setAttribute("data-layout","string"==typeof e.showNotes?e.showNotes:"inline")}},{key:"update",value:function(){this.Reveal.getConfig().showNotes&&this.element&&this.Reveal.getCurrentSlide()&&!this.Reveal.print.isPrintingPDF()&&(this.element.innerHTML=this.getSlideNotes()||'<span class="notes-placeholder">No notes on this slide.</span>')}},{key:"updateVisibility",value:function(){this.Reveal.getConfig().showNotes&&this.hasNotes()&&!this.Reveal.print.isPrintingPDF()?this.Reveal.getRevealElement().classList.add("show-notes"):this.Reveal.getRevealElement().classList.remove("show-notes")}},{key:"hasNotes",value:function(){return this.Reveal.getSlidesElement().querySelectorAll("[data-notes], aside.notes").length>0}},{key:"isSpeakerNotesWindow",value:function(){return!!window.location.search.match(/receiver/gi)}},{key:"getSlideNotes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.Reveal.getCurrentSlide();if(e.hasAttribute("data-notes"))return e.getAttribute("data-notes");var t=e.querySelectorAll("aside.notes");return t?Array.from(t).map(function(e){return e.innerHTML}).join("\n"):null}},{key:"destroy",value:function(){this.element.remove()}}]),e}(),oz=function(){function e(t,n){Object(xh.a)(this,e),this.diameter=100,this.diameter2=this.diameter/2,this.thickness=6,this.playing=!1,this.progress=0,this.progressOffset=1,this.container=t,this.progressCheck=n,this.canvas=document.createElement("canvas"),this.canvas.className="playback",this.canvas.width=this.diameter,this.canvas.height=this.diameter,this.canvas.style.width=this.diameter2+"px",this.canvas.style.height=this.diameter2+"px",this.context=this.canvas.getContext("2d"),this.container.appendChild(this.canvas),this.render()}return Object(_h.a)(e,[{key:"setPlaying",value:function(e){var t=this.playing;this.playing=e,!t&&this.playing?this.animate():this.render()}},{key:"animate",value:function(){var e=this.progress;this.progress=this.progressCheck(),e>.8&&this.progress<.2&&(this.progressOffset=this.progress),this.render(),this.playing&&requestAnimationFrame(this.animate.bind(this))}},{key:"render",value:function(){var e=this.playing?this.progress:0,t=this.diameter2-this.thickness,n=this.diameter2,i=this.diameter2;this.progressOffset+=.1*(1-this.progressOffset);var r=-Math.PI/2+e*(2*Math.PI),a=-Math.PI/2+this.progressOffset*(2*Math.PI);this.context.save(),this.context.clearRect(0,0,this.diameter,this.diameter),this.context.beginPath(),this.context.arc(n,i,t+4,0,2*Math.PI,!1),this.context.fillStyle="rgba( 0, 0, 0, 0.4 )",this.context.fill(),this.context.beginPath(),this.context.arc(n,i,t,0,2*Math.PI,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="rgba( 255, 255, 255, 0.2 )",this.context.stroke(),this.playing&&(this.context.beginPath(),this.context.arc(n,i,t,a,r,!1),this.context.lineWidth=this.thickness,this.context.strokeStyle="#fff",this.context.stroke()),this.context.translate(n-14,i-14),this.playing?(this.context.fillStyle="#fff",this.context.fillRect(0,0,10,28),this.context.fillRect(18,0,10,28)):(this.context.beginPath(),this.context.translate(4,0),this.context.moveTo(0,0),this.context.lineTo(24,14),this.context.lineTo(0,28),this.context.fillStyle="#fff",this.context.fill()),this.context.restore()}},{key:"on",value:function(e,t){this.canvas.addEventListener(e,t,!1)}},{key:"off",value:function(e,t){this.canvas.removeEventListener(e,t,!1)}},{key:"destroy",value:function(){this.playing=!1,this.canvas.parentNode&&this.container.removeChild(this.canvas)}}]),e}(),sz={width:960,height:700,margin:.04,minScale:.2,maxScale:2,controls:!0,controlsTutorial:!0,controlsLayout:"bottom-right",controlsBackArrows:"faded",progress:!0,slideNumber:!1,showSlideNumber:"all",hashOneBasedIndex:!1,hash:!1,respondToHashChanges:!0,jumpToSlide:!0,history:!1,keyboard:!0,keyboardCondition:null,disableLayout:!1,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,navigationMode:"default",shuffle:!1,fragments:!0,fragmentInURL:!0,embedded:!1,help:!0,pause:!0,showNotes:!1,showHiddenSlides:!1,autoPlayMedia:null,preloadIframes:null,autoAnimate:!0,autoAnimateMatcher:null,autoAnimateEasing:"ease",autoAnimateDuration:1,autoAnimateUnmatched:!0,autoAnimateStyles:["opacity","color","background-color","padding","font-size","line-height","letter-spacing","border-width","border-color","border-radius","outline","outline-offset"],autoSlide:0,autoSlideStoppable:!0,autoSlideMethod:null,defaultTiming:null,mouseWheel:!1,previewLinks:!1,postMessage:!0,postMessageEvents:!1,focusBodyOnPageVisibilityChange:!0,transition:"slide",transitionSpeed:"default",backgroundTransition:"fade",parallaxBackgroundImage:"",parallaxBackgroundSize:"",parallaxBackgroundRepeat:"",parallaxBackgroundPosition:"",parallaxBackgroundHorizontal:null,parallaxBackgroundVertical:null,pdfMaxPagesPerSlide:Number.POSITIVE_INFINITY,pdfSeparateFragments:!0,pdfPageHeightOffset:-1,viewDistance:3,mobileViewDistance:2,display:"block",hideInactiveCursor:!0,hideCursorTime:5e3,sortFragmentsOnSync:!0,dependencies:[],plugins:[]},lz="4.6.0";function cz(e,t){arguments.length<2&&(t=arguments[0],e=document.querySelector(".reveal"));var n,i,r,a,o,s={},l={},c=!1,d={hasNavigatedHorizontally:!1,hasNavigatedVertically:!1},u=[],p=1,h={layout:"",overview:""},m={},g="idle",f=0,v=0,y=-1,b=!1,x=new DB(s),_=new LB(s),w=new RB(s),S=new WB(s),C=new AB(s),k=new GB(s),O=new UB(s),E=new qB(s),M=new ZB(s),I=new $B(s),P=new XB(s),T=new KB(s),D=new QB(s),L=new ez(s),R=new rz(s),j=new tz(s),A=new az(s);function F(n){if(!e)throw'Unable to find presentation root (<div class="reveal">).';if(m.wrapper=e,m.slides=e.querySelector(".slides"),!m.slides)throw'Unable to find slides container (<div class="slides">).';return l=pB(pB(pB(pB(pB({},sz),l),t),n),SB()),B(),window.addEventListener("load",ce,!1),D.load(l.plugins,l.dependencies).then(z),new Promise(function(e){return s.on("ready",e)})}function B(){!0===l.embedded?m.viewport=xB(e,".reveal-viewport")||e:(m.viewport=document.body,document.documentElement.classList.add("reveal-full-page")),m.viewport.classList.add("reveal-viewport")}function z(){c=!0,N(),H(),q(),G(),U(),Me(),Z(),M.readURL(),C.update(!0),setTimeout(function(){m.slides.classList.remove("no-transition"),m.wrapper.classList.add("ready"),te({type:"ready",data:{indexh:n,indexv:i,currentSlide:a}})},1),L.isPrintingPDF()&&(X(),"complete"===document.readyState?L.setupPDF():window.addEventListener("load",function(){L.setupPDF()}))}function N(){l.showHiddenSlides||gB(m.wrapper,'section[data-visibility="hidden"]').forEach(function(e){e.parentNode.removeChild(e)})}function H(){m.slides.classList.add("no-transition"),EB?m.wrapper.classList.add("no-hover"):m.wrapper.classList.remove("no-hover"),C.render(),_.render(),w.render(),I.render(),P.render(),A.render(),m.pauseOverlay=_B(m.wrapper,"div","pause-overlay",l.controls?'<button class="resume-button">Resume presentation</button>':null),m.statusElement=V(),m.wrapper.setAttribute("role","application")}function V(){var e=m.wrapper.querySelector(".aria-status");return e||((e=document.createElement("div")).style.position="absolute",e.style.height="1px",e.style.width="1px",e.style.overflow="hidden",e.style.clip="rect( 1px, 1px, 1px, 1px )",e.classList.add("aria-status"),e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true"),m.wrapper.appendChild(e)),e}function Y(e){m.statusElement.textContent=e}function W(e){var t="";if(3===e.nodeType)t+=e.textContent;else if(1===e.nodeType){var n=e.getAttribute("aria-hidden"),i="none"===window.getComputedStyle(e).display;"true"===n||i||Array.from(e.childNodes).forEach(function(e){t+=W(e)})}return""===(t=t.trim())?"":t+" "}function G(){setInterval(function(){0===m.wrapper.scrollTop&&0===m.wrapper.scrollLeft||(m.wrapper.scrollTop=0,m.wrapper.scrollLeft=0)},1e3)}function U(){document.addEventListener("fullscreenchange",pt),document.addEventListener("webkitfullscreenchange",pt)}function q(){l.postMessage&&window.addEventListener("message",st,!1)}function Z(e){var t=pB({},l);if("object"==typeof e&&mB(l,e),!1!==s.isReady()){var n=m.wrapper.querySelectorAll(BB).length;m.wrapper.classList.remove(t.transition),m.wrapper.classList.add(l.transition),m.wrapper.setAttribute("data-transition-speed",l.transitionSpeed),m.wrapper.setAttribute("data-background-transition",l.backgroundTransition),m.viewport.style.setProperty("--slide-width",l.width+"px"),m.viewport.style.setProperty("--slide-height",l.height+"px"),l.shuffle&&Ie(),fB(m.wrapper,"embedded",l.embedded),fB(m.wrapper,"rtl",l.rtl),fB(m.wrapper,"center",l.center),!1===l.pause&&be(),l.previewLinks?(ie(),re("[data-preview-link=false]")):(re(),ie("[data-preview-link]:not([data-preview-link=false])")),S.reset(),o&&(o.destroy(),o=null),n>1&&l.autoSlide&&l.autoSlideStoppable&&((o=new oz(m.wrapper,function(){return Math.min(Math.max((Date.now()-y)/f,0),1)})).on("click",mt),b=!1),"default"!==l.navigationMode?m.wrapper.setAttribute("data-navigation-mode",l.navigationMode):m.wrapper.removeAttribute("data-navigation-mode"),A.configure(l,t),R.configure(l,t),T.configure(l,t),I.configure(l,t),P.configure(l,t),E.configure(l,t),k.configure(l,t),_.configure(l,t),Oe()}}function $(){window.addEventListener("resize",dt,!1),l.touch&&j.bind(),l.keyboard&&E.bind(),l.progress&&P.bind(),l.respondToHashChanges&&M.bind(),I.bind(),R.bind(),m.slides.addEventListener("click",ct,!1),m.slides.addEventListener("transitionend",lt,!1),m.pauseOverlay.addEventListener("click",be,!1),l.focusBodyOnPageVisibilityChange&&document.addEventListener("visibilitychange",ut,!1)}function X(){j.unbind(),R.unbind(),E.unbind(),I.unbind(),P.unbind(),M.unbind(),window.removeEventListener("resize",dt,!1),m.slides.removeEventListener("click",ct,!1),m.slides.removeEventListener("transitionend",lt,!1),m.pauseOverlay.removeEventListener("click",be,!1)}function K(){X(),Ke(),re(),A.destroy(),R.destroy(),D.destroy(),T.destroy(),I.destroy(),P.destroy(),C.destroy(),_.destroy(),w.destroy(),document.removeEventListener("fullscreenchange",pt),document.removeEventListener("webkitfullscreenchange",pt),document.removeEventListener("visibilitychange",ut,!1),window.removeEventListener("message",st,!1),window.removeEventListener("load",ce,!1),m.pauseOverlay&&m.pauseOverlay.remove(),m.statusElement&&m.statusElement.remove(),document.documentElement.classList.remove("reveal-full-page"),m.wrapper.classList.remove("ready","center","has-horizontal-slides","has-vertical-slides"),m.wrapper.removeAttribute("data-transition-speed"),m.wrapper.removeAttribute("data-background-transition"),m.viewport.classList.remove("reveal-viewport"),m.viewport.style.removeProperty("--slide-width"),m.viewport.style.removeProperty("--slide-height"),m.slides.style.removeProperty("width"),m.slides.style.removeProperty("height"),m.slides.style.removeProperty("zoom"),m.slides.style.removeProperty("left"),m.slides.style.removeProperty("top"),m.slides.style.removeProperty("bottom"),m.slides.style.removeProperty("right"),m.slides.style.removeProperty("transform"),Array.from(m.wrapper.querySelectorAll(BB)).forEach(function(e){e.style.removeProperty("display"),e.style.removeProperty("top"),e.removeAttribute("hidden"),e.removeAttribute("aria-hidden")})}function J(t,n,i){e.addEventListener(t,n,i)}function Q(t,n,i){e.removeEventListener(t,n,i)}function ee(e){"string"==typeof e.layout&&(h.layout=e.layout),"string"==typeof e.overview&&(h.overview=e.overview),yB(m.slides,h.layout?h.layout+" "+h.overview:h.overview)}function te(e){var t=e.target,n=void 0===t?m.wrapper:t,i=e.type,r=e.data,a=e.bubbles,o=void 0===a||a,s=document.createEvent("HTMLEvents",1,2);return s.initEvent(i,o,!0),mB(s,r),n.dispatchEvent(s),n===m.wrapper&&ne(i),s}function ne(e,t){if(l.postMessageEvents&&window.parent!==window.self){var n={namespace:"reveal",eventName:e,state:Ze()};mB(n,t),window.parent.postMessage(JSON.stringify(n),"*")}}function ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"a";Array.from(m.wrapper.querySelectorAll(e)).forEach(function(e){/^(http|www)/gi.test(e.getAttribute("href"))&&e.addEventListener("click",ht,!1)})}function re(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"a";Array.from(m.wrapper.querySelectorAll(e)).forEach(function(e){/^(http|www)/gi.test(e.getAttribute("href"))&&e.removeEventListener("click",ht,!1)})}function ae(e){le(),m.overlay=document.createElement("div"),m.overlay.classList.add("overlay"),m.overlay.classList.add("overlay-preview"),m.wrapper.appendChild(m.overlay),m.overlay.innerHTML='<header>\n\t\t\t\t<a class="close" href="#"><span class="icon"></span></a>\n\t\t\t\t<a class="external" href="'.concat(e,'" target="_blank"><span class="icon"></span></a>\n\t\t\t</header>\n\t\t\t<div class="spinner"></div>\n\t\t\t<div class="viewport">\n\t\t\t\t<iframe src="').concat(e,'"></iframe>\n\t\t\t\t<small class="viewport-inner">\n\t\t\t\t\t<span class="x-frame-error">Unable to load iframe. This is likely due to the site\'s policy (x-frame-options).</span>\n\t\t\t\t</small>\n\t\t\t</div>'),m.overlay.querySelector("iframe").addEventListener("load",function(e){m.overlay.classList.add("loaded")},!1),m.overlay.querySelector(".close").addEventListener("click",function(e){le(),e.preventDefault()},!1),m.overlay.querySelector(".external").addEventListener("click",function(e){le()},!1)}function oe(e){"boolean"==typeof e?e?se():le():m.overlay?le():se()}function se(){if(l.help){le(),m.overlay=document.createElement("div"),m.overlay.classList.add("overlay"),m.overlay.classList.add("overlay-help"),m.wrapper.appendChild(m.overlay);var e='<p class="title">Keyboard Shortcuts</p><br/>',t=E.getShortcuts(),n=E.getBindings();for(var i in e+="<table><th>KEY</th><th>ACTION</th>",t)e+="<tr><td>".concat(i,"</td><td>").concat(t[i],"</td></tr>");for(var r in n)n[r].key&&n[r].description&&(e+="<tr><td>".concat(n[r].key,"</td><td>").concat(n[r].description,"</td></tr>"));m.overlay.innerHTML='\n\t\t\t\t<header>\n\t\t\t\t\t<a class="close" href="#"><span class="icon"></span></a>\n\t\t\t\t</header>\n\t\t\t\t<div class="viewport">\n\t\t\t\t\t<div class="viewport-inner">'.concat(e+="</table>","</div>\n\t\t\t\t</div>\n\t\t\t"),m.overlay.querySelector(".close").addEventListener("click",function(e){le(),e.preventDefault()},!1)}}function le(){return!!m.overlay&&(m.overlay.parentNode.removeChild(m.overlay),m.overlay=null,!0)}function ce(){if(m.wrapper&&!L.isPrintingPDF()){if(!l.disableLayout){EB&&!l.embedded&&document.documentElement.style.setProperty("--vh",.01*window.innerHeight+"px");var e=ue(),t=p;de(l.width,l.height),m.slides.style.width=e.width+"px",m.slides.style.height=e.height+"px",p=Math.min(e.presentationWidth/e.width,e.presentationHeight/e.height),p=Math.max(p,l.minScale),1===(p=Math.min(p,l.maxScale))?(m.slides.style.zoom="",m.slides.style.left="",m.slides.style.top="",m.slides.style.bottom="",m.slides.style.right="",ee({layout:""})):(m.slides.style.zoom="",m.slides.style.left="50%",m.slides.style.top="50%",m.slides.style.bottom="auto",m.slides.style.right="auto",ee({layout:"translate(-50%, -50%) scale("+p+")"}));for(var n=Array.from(m.wrapper.querySelectorAll(BB)),i=0,r=n.length;i<r;i++){var a=n[i];"none"!==a.style.display&&(a.style.top=l.center||a.classList.contains("center")?a.classList.contains("stack")?0:Math.max((e.height-a.scrollHeight)/2,0)+"px":"")}t!==p&&te({type:"resize",data:{oldScale:t,scale:p,size:e}})}m.viewport.style.setProperty("--slide-scale",p),P.update(),C.updateParallax(),O.isActive()&&O.update()}}function de(e,t){gB(m.slides,"section > .stretch, section > .r-stretch").forEach(function(n){var i=CB(n,t);if(/(img|video)/gi.test(n.nodeName)){var r=n.naturalWidth||n.videoWidth,a=n.naturalHeight||n.videoHeight,o=Math.min(e/r,i/a);n.style.width=r*o+"px",n.style.height=a*o+"px"}else n.style.width=e+"px",n.style.height=i+"px"})}function ue(e,t){var n=l.width,i=l.height;l.disableLayout&&(n=m.slides.offsetWidth,i=m.slides.offsetHeight);var r={width:n,height:i,presentationWidth:e||m.wrapper.offsetWidth,presentationHeight:t||m.wrapper.offsetHeight};return r.presentationWidth-=r.presentationWidth*l.margin,r.presentationHeight-=r.presentationHeight*l.margin,"string"==typeof r.width&&/%$/.test(r.width)&&(r.width=parseInt(r.width,10)/100*r.presentationWidth),"string"==typeof r.height&&/%$/.test(r.height)&&(r.height=parseInt(r.height,10)/100*r.presentationHeight),r}function pe(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function he(e){if("object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")){var t=e.hasAttribute("data-start-indexv")?"data-start-indexv":"data-previous-indexv";return parseInt(e.getAttribute(t)||0,10)}return 0}function me(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;return e&&e.parentNode&&!!e.parentNode.nodeName.match(/section/i)}function ge(){return!(!a||!me(a)||a.nextElementSibling)}function fe(){return 0===n&&0===i}function ve(){return!(!a||a.nextElementSibling||me(a)&&a.parentNode.nextElementSibling)}function ye(){if(l.pause){var e=m.wrapper.classList.contains("paused");Ke(),m.wrapper.classList.add("paused"),!1===e&&te({type:"paused"})}}function be(){var e=m.wrapper.classList.contains("paused");m.wrapper.classList.remove("paused"),Xe(),e&&te({type:"resumed"})}function xe(e){"boolean"==typeof e?e?ye():be():_e()?be():ye()}function _e(){return m.wrapper.classList.contains("paused")}function we(e){"boolean"==typeof e?e?w.show():w.hide():w.isVisible()?w.hide():w.show()}function Se(e){"boolean"==typeof e?e?Qe():Je():b?Qe():Je()}function Ce(){return!(!f||b)}function ke(e,t,o,s){if(!te({type:"beforeslidechange",data:{indexh:void 0===e?n:e,indexv:void 0===t?i:t,origin:s}}).defaultPrevented){r=a;var c=m.wrapper.querySelectorAll(zB);if(0!==c.length){void 0!==t||O.isActive()||(t=he(c[e])),r&&r.parentNode&&r.parentNode.classList.contains("stack")&&pe(r.parentNode,i);var d=u.concat();u.length=0;var p=n||0,h=i||0;n=Pe(zB,void 0===e?n:e),i=Pe(NB,void 0===t?i:t);var f=n!==p||i!==h;f||(r=null);var v=c[n],y=v.querySelectorAll("section");a=y[i]||v;var b=!1;f&&r&&a&&!O.isActive()&&(r.hasAttribute("data-auto-animate")&&a.hasAttribute("data-auto-animate")&&r.getAttribute("data-auto-animate-id")===a.getAttribute("data-auto-animate-id")&&!(n>p||i>h?a:r).hasAttribute("data-auto-animate-restart")&&(b=!0,m.slides.classList.add("disable-slide-transitions")),g="running"),Le(),ce(),O.isActive()&&O.update(),void 0!==o&&k.goto(o),r&&r!==a&&(r.classList.remove("present"),r.setAttribute("aria-hidden","true"),fe()&&setTimeout(function(){He().forEach(function(e){pe(e,0)})},0));e:for(var w=0,E=u.length;w<E;w++){for(var T=0;T<d.length;T++)if(d[T]===u[w]){d.splice(T,1);continue e}m.viewport.classList.add(u[w]),te({type:u[w]})}for(;d.length;)m.viewport.classList.remove(d.pop());f&&te({type:"slidechanged",data:{indexh:n,indexv:i,previousSlide:r,currentSlide:a,origin:s}}),!f&&r||(x.stopEmbeddedContent(r),x.startEmbeddedContent(a)),requestAnimationFrame(function(){Y(W(a))}),P.update(),I.update(),A.update(),C.update(),C.updateParallax(),_.update(),k.update(),M.writeURL(),Xe(),b&&(setTimeout(function(){m.slides.classList.remove("disable-slide-transitions")},0),l.autoAnimate&&S.run(r,a))}}}function Oe(){X(),$(),ce(),f=l.autoSlide,Xe(),C.create(),M.writeURL(),!0===l.sortFragmentsOnSync&&k.sortAll(),I.update(),P.update(),Le(),A.update(),A.updateVisibility(),C.update(!0),_.update(),x.formatEmbeddedContent(),!1===l.autoPlayMedia?x.stopEmbeddedContent(a,{unloadIframes:!1}):x.startEmbeddedContent(a),O.isActive()&&O.layout()}function Ee(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a;C.sync(e),k.sync(e),x.load(e),C.update(),A.update()}function Me(){ze().forEach(function(e){gB(e,"section").forEach(function(e,t){t>0&&(e.classList.remove("present"),e.classList.remove("past"),e.classList.add("future"),e.setAttribute("aria-hidden","true"))})})}function Ie(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ze();e.forEach(function(t,n){var i=e[Math.floor(Math.random()*e.length)];i.parentNode===t.parentNode&&t.parentNode.insertBefore(t,i);var r=t.querySelectorAll("section");r.length&&Ie(r)})}function Pe(e,t){var n=gB(m.wrapper,e),i=n.length,r=L.isPrintingPDF(),a=!1,o=!1;if(i){l.loop&&(t>=i&&(a=!0),(t%=i)<0&&(t=i+t,o=!0)),t=Math.max(Math.min(t,i-1),0);for(var s=0;s<i;s++){var c=n[s],d=l.rtl&&!me(c);c.classList.remove("past"),c.classList.remove("present"),c.classList.remove("future"),c.setAttribute("hidden",""),c.setAttribute("aria-hidden","true"),c.querySelector("section")&&c.classList.add("stack"),r?c.classList.add("present"):s<t?(c.classList.add(d?"future":"past"),l.fragments&&Te(c)):s>t?(c.classList.add(d?"past":"future"),l.fragments&&De(c)):s===t&&l.fragments&&(a?De(c):o&&Te(c))}var p=n[t],h=p.classList.contains("present");p.classList.add("present"),p.removeAttribute("hidden"),p.removeAttribute("aria-hidden"),h||te({target:p,type:"visible",bubbles:!1});var g=p.getAttribute("data-state");g&&(u=u.concat(g.split(" ")))}else t=0;return t}function Te(e){gB(e,".fragment").forEach(function(e){e.classList.add("visible"),e.classList.remove("current-fragment")})}function De(e){gB(e,".fragment.visible").forEach(function(e){e.classList.remove("visible","current-fragment")})}function Le(){var e,t=ze(),r=t.length;if(r&&void 0!==n){var a=O.isActive()?10:l.viewDistance;EB&&(a=O.isActive()?6:l.mobileViewDistance),L.isPrintingPDF()&&(a=Number.MAX_VALUE);for(var o=0;o<r;o++){var s=t[o],c=gB(s,"section"),d=c.length;if(e=Math.abs((n||0)-o)||0,l.loop&&(e=Math.abs(((n||0)-o)%(r-a))||0),e<a?x.load(s):x.unload(s),d)for(var u=he(s),p=0;p<d;p++){var h=c[p];e+(o===(n||0)?Math.abs((i||0)-p):Math.abs(p-u))<a?x.load(h):x.unload(h)}}Ye()?m.wrapper.classList.add("has-vertical-slides"):m.wrapper.classList.remove("has-vertical-slides"),Ve()?m.wrapper.classList.add("has-horizontal-slides"):m.wrapper.classList.remove("has-horizontal-slides")}}function Re(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.includeFragments,r=void 0!==t&&t,a=m.wrapper.querySelectorAll(zB),o=m.wrapper.querySelectorAll(NB),s={left:n>0,right:n<a.length-1,up:i>0,down:i<o.length-1};if(l.loop&&(a.length>1&&(s.left=!0,s.right=!0),o.length>1&&(s.up=!0,s.down=!0)),a.length>1&&"linear"===l.navigationMode&&(s.right=s.right||s.down,s.left=s.left||s.up),!0===r){var c=k.availableRoutes();s.left=s.left||c.prev,s.up=s.up||c.prev,s.down=s.down||c.next,s.right=s.right||c.next}if(l.rtl){var d=s.left;s.left=s.right,s.right=d}return s}function je(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=ze(),n=0;e:for(var i=0;i<t.length;i++){for(var r=t[i],o=r.querySelectorAll("section"),s=0;s<o.length;s++){if(o[s]===e)break e;"uncounted"!==o[s].dataset.visibility&&n++}if(r===e)break;!1===r.classList.contains("stack")&&"uncounted"!==r.dataset.visibility&&n++}return n}function Ae(){var e=Ge(),t=je();if(a){var n=a.querySelectorAll(".fragment");n.length>0&&(t+=a.querySelectorAll(".fragment.visible").length/n.length*.9)}return Math.min(t/(e-1),1)}function Fe(e){var t,r=n,o=i;if(e){var s=me(e),l=s?e.parentNode:e,c=ze();r=Math.max(c.indexOf(l),0),o=void 0,s&&(o=Math.max(gB(e.parentNode,"section").indexOf(e),0))}if(!e&&a&&a.querySelectorAll(".fragment").length>0){var d=a.querySelector(".current-fragment");t=d&&d.hasAttribute("data-fragment-index")?parseInt(d.getAttribute("data-fragment-index"),10):a.querySelectorAll(".fragment.visible").length-1}return{h:r,v:o,f:t}}function Be(){return gB(m.wrapper,BB+':not(.stack):not([data-visibility="uncounted"])')}function ze(){return gB(m.wrapper,zB)}function Ne(){return gB(m.wrapper,".slides>section>section")}function He(){return gB(m.wrapper,zB+".stack")}function Ve(){return ze().length>1}function Ye(){return Ne().length>1}function We(){return Be().map(function(e){for(var t={},n=0;n<e.attributes.length;n++){var i=e.attributes[n];t[i.name]=i.value}return t})}function Ge(){return Be().length}function Ue(e,t){var n=ze()[e],i=n&&n.querySelectorAll("section");return i&&i.length&&"number"==typeof t?i?i[t]:void 0:n}function qe(e,t){var n="number"==typeof e?Ue(e,t):e;if(n)return n.slideBackgroundElement}function Ze(){var e=Fe();return{indexh:e.h,indexv:e.v,indexf:e.f,paused:_e(),overview:O.isActive()}}function $e(e){if("object"==typeof e){ke(vB(e.indexh),vB(e.indexv),vB(e.indexf));var t=vB(e.paused),n=vB(e.overview);"boolean"==typeof t&&t!==_e()&&xe(t),"boolean"==typeof n&&n!==O.isActive()&&O.toggle(n)}}function Xe(){if(Ke(),a&&!1!==l.autoSlide){var e=a.querySelector(".current-fragment[data-autoslide]"),t=e?e.getAttribute("data-autoslide"):null,n=a.parentNode?a.parentNode.getAttribute("data-autoslide"):null,i=a.getAttribute("data-autoslide");t?f=parseInt(t,10):i?f=parseInt(i,10):n?f=parseInt(n,10):(f=l.autoSlide,0===a.querySelectorAll(".fragment").length&&gB(a,"video, audio").forEach(function(e){e.hasAttribute("data-autoplay")&&f&&1e3*e.duration/e.playbackRate>f&&(f=1e3*e.duration/e.playbackRate+1e3)})),!f||b||_e()||O.isActive()||ve()&&!k.availableRoutes().next&&!0!==l.loop||(v=setTimeout(function(){"function"==typeof l.autoSlideMethod?l.autoSlideMethod():at(),Xe()},f),y=Date.now()),o&&o.setPlaying(-1!==v)}}function Ke(){clearTimeout(v),v=-1}function Je(){f&&!b&&(b=!0,te({type:"autoslidepaused"}),clearTimeout(v),o&&o.setPlaying(!1))}function Qe(){f&&b&&(b=!1,te({type:"autoslideresumed"}),Xe())}function et(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.skipFragments,r=void 0!==t&&t;d.hasNavigatedHorizontally=!0,l.rtl?(O.isActive()||r||!1===k.next())&&Re().left&&ke(n+1,"grid"===l.navigationMode?i:void 0):(O.isActive()||r||!1===k.prev())&&Re().left&&ke(n-1,"grid"===l.navigationMode?i:void 0)}function tt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.skipFragments,r=void 0!==t&&t;d.hasNavigatedHorizontally=!0,l.rtl?(O.isActive()||r||!1===k.prev())&&Re().right&&ke(n-1,"grid"===l.navigationMode?i:void 0):(O.isActive()||r||!1===k.next())&&Re().right&&ke(n+1,"grid"===l.navigationMode?i:void 0)}function nt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.skipFragments,r=void 0!==t&&t;(O.isActive()||r||!1===k.prev())&&Re().up&&ke(n,i-1)}function it(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.skipFragments,r=void 0!==t&&t;d.hasNavigatedVertically=!0,(O.isActive()||r||!1===k.next())&&Re().down&&ke(n,i+1)}function rt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.skipFragments,i=void 0!==t&&t;if(i||!1===k.prev())if(Re().up)nt({skipFragments:i});else{var r;if((r=l.rtl?gB(m.wrapper,zB+".future").pop():gB(m.wrapper,zB+".past").pop())&&r.classList.contains("stack")){var a=r.querySelectorAll("section").length-1||void 0;ke(n-1,a)}else et({skipFragments:i})}}function at(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.skipFragments,n=void 0!==t&&t;if(d.hasNavigatedHorizontally=!0,d.hasNavigatedVertically=!0,n||!1===k.next()){var i=Re();i.down&&i.right&&l.loop&&ge()&&(i.down=!1),i.down?it({skipFragments:n}):l.rtl?et({skipFragments:n}):tt({skipFragments:n})}}function ot(e){l.autoSlideStoppable&&Je()}function st(e){var t=e.data;if("string"==typeof t&&"{"===t.charAt(0)&&"}"===t.charAt(t.length-1)&&(t=JSON.parse(t)).method&&"function"==typeof s[t.method])if(!1===HB.test(t.method)){var n=s[t.method].apply(s,t.args);ne("callback",{method:t.method,result:n})}else console.warn('reveal.js: "'+t.method+'" is is blacklisted from the postMessage API')}function lt(e){"running"===g&&/section/gi.test(e.target.nodeName)&&(g="idle",te({type:"slidetransitionend",data:{indexh:n,indexv:i,previousSlide:r,currentSlide:a}}))}function ct(e){var t=xB(e.target,'a[href^="#"]');if(t){var n=t.getAttribute("href"),i=M.getIndicesFromHash(n);i&&(s.slide(i.h,i.v,i.f),e.preventDefault())}}function dt(e){ce()}function ut(e){!1===document.hidden&&document.activeElement!==document.body&&("function"==typeof document.activeElement.blur&&document.activeElement.blur(),document.body.focus())}function pt(e){(document.fullscreenElement||document.webkitFullscreenElement)===m.wrapper&&(e.stopImmediatePropagation(),setTimeout(function(){s.layout(),s.focus.focus()},1))}function ht(e){if(e.currentTarget&&e.currentTarget.hasAttribute("href")){var t=e.currentTarget.getAttribute("href");t&&(ae(t),e.preventDefault())}}function mt(e){ve()&&!1===l.loop?(ke(0,0),Qe()):b?Qe():Je()}var gt={VERSION:lz,initialize:F,configure:Z,destroy:K,sync:Oe,syncSlide:Ee,syncFragments:k.sync.bind(k),slide:ke,left:et,right:tt,up:nt,down:it,prev:rt,next:at,navigateLeft:et,navigateRight:tt,navigateUp:nt,navigateDown:it,navigatePrev:rt,navigateNext:at,navigateFragment:k.goto.bind(k),prevFragment:k.prev.bind(k),nextFragment:k.next.bind(k),on:J,off:Q,addEventListener:J,removeEventListener:Q,layout:ce,shuffle:Ie,availableRoutes:Re,availableFragments:k.availableRoutes.bind(k),toggleHelp:oe,toggleOverview:O.toggle.bind(O),togglePause:xe,toggleAutoSlide:Se,toggleJumpToSlide:we,isFirstSlide:fe,isLastSlide:ve,isLastVerticalSlide:ge,isVerticalSlide:me,isPaused:_e,isAutoSliding:Ce,isSpeakerNotes:A.isSpeakerNotesWindow.bind(A),isOverview:O.isActive.bind(O),isFocused:R.isFocused.bind(R),isPrintingPDF:L.isPrintingPDF.bind(L),isReady:function(){return c},loadSlide:x.load.bind(x),unloadSlide:x.unload.bind(x),startEmbeddedContent:function(){return x.startEmbeddedContent(a)},stopEmbeddedContent:function(){return x.stopEmbeddedContent(a,{unloadIframes:!1})},showPreview:ae,hidePreview:le,addEventListeners:$,removeEventListeners:X,dispatchEvent:te,getState:Ze,setState:$e,getProgress:Ae,getIndices:Fe,getSlidesAttributes:We,getSlidePastCount:je,getTotalSlides:Ge,getSlide:Ue,getPreviousSlide:function(){return r},getCurrentSlide:function(){return a},getSlideBackground:qe,getSlideNotes:A.getSlideNotes.bind(A),getSlides:Be,getHorizontalSlides:ze,getVerticalSlides:Ne,hasHorizontalSlides:Ve,hasVerticalSlides:Ye,hasNavigatedHorizontally:function(){return d.hasNavigatedHorizontally},hasNavigatedVertically:function(){return d.hasNavigatedVertically},addKeyBinding:E.addKeyBinding.bind(E),removeKeyBinding:E.removeKeyBinding.bind(E),triggerKey:E.triggerKey.bind(E),registerKeyboardShortcut:E.registerKeyboardShortcut.bind(E),getComputedSlideSize:ue,getScale:function(){return p},getConfig:function(){return l},getQueryHash:SB,getSlidePath:M.getHash.bind(M),getRevealElement:function(){return e},getSlidesElement:function(){return m.slides},getViewportElement:function(){return m.viewport},getBackgroundsElement:function(){return C.element},registerPlugin:D.registerPlugin.bind(D),hasPlugin:D.hasPlugin.bind(D),getPlugin:D.getPlugin.bind(D),getPlugins:D.getRegisteredPlugins.bind(D)};return mB(s,pB(pB({},gt),{},{announceStatus:Y,getStatusText:W,print:L,focus:R,progress:P,controls:I,location:M,overview:O,fragments:k,slideContent:x,slideNumber:_,onUserInput:ot,closeOverlay:le,updateSlidesVisibility:Le,layoutSlideContents:de,transformSlides:ee,cueAutoSlide:Xe,cancelAutoSlide:Ke})),gt}var dz=cz,uz=[];dz.initialize=function(e){return Object.assign(dz,new cz(document.querySelector(".reveal"),e)),uz.map(function(e){return e(dz)}),dz.initialize()},["configure","on","off","addEventListener","removeEventListener","registerPlugin"].forEach(function(e){dz[e]=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];uz.push(function(t){var i;return(i=t[e]).call.apply(i,[null].concat(n))})}}),dz.isReady=function(){return!1},dz.VERSION=lz;var pz=dz;function hz(e,t){1&e&&i["\u0275\u0275element"](0,"link",56)}function mz(e,t){1&e&&i["\u0275\u0275element"](0,"link",57)}function gz(e,t){1&e&&i["\u0275\u0275element"](0,"canvas",61)}function fz(e,t){1&e&&i["\u0275\u0275element"](0,"img",62)}function vz(e,t){1&e&&i["\u0275\u0275element"](0,"img",63)}function yz(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"h3"),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,1,"ROOT.Try again next time. You can do it!")))}function bz(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"h2"),i["\u0275\u0275text"](2),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.favorite_goal||null==n.favorite_goal.evalResults?null:n.favorite_goal.evalResults.goalProgressDescription),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,2,"ROOT.Congratulations! You hit your goal!"),"")}}function xz(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"section",12),i["\u0275\u0275template"](1,gz,1,0,"canvas",58),i["\u0275\u0275elementStart"](2,"a",9),i["\u0275\u0275element"](3,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"p"),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"h1"),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"h3"),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"number"),i["\u0275\u0275pipe"](12,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](13,fz,1,0,"img",59),i["\u0275\u0275template"](14,vz,1,0,"img",60),i["\u0275\u0275template"](15,yz,4,3,"div",14),i["\u0275\u0275template"](16,bz,6,4,"div",14),i["\u0275\u0275element"](17,"p"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",(null==n.favorite_goal||null==n.favorite_goal.evalResults?null:n.favorite_goal.evalResults.score)>=1),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,11,"ROOT.Favorite Goal")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",null==n.favorite_goal||null==n.favorite_goal.evalResults?null:n.favorite_goal.evalResults.description," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate4"](" ",i["\u0275\u0275pipeBind2"](11,13,null==n.favorite_goal||null==n.favorite_goal.evalResults?null:n.favorite_goal.evalResults.evaluation,"1.1-1")," ",null==n.favorite_goal||null==n.favorite_goal.instructions||null==n.favorite_goal.instructions.evalInstruction?null:n.favorite_goal.instructions.evalInstruction.units,". ",100*(null==n.favorite_goal||null==n.favorite_goal.evalResults?null:n.favorite_goal.evalResults.score),"% ",i["\u0275\u0275pipeBind1"](12,16,"ROOT.Completed"),". "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",(null==n.favorite_goal||null==n.favorite_goal.evalResults?null:n.favorite_goal.evalResults.score)<1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",(null==n.favorite_goal||null==n.favorite_goal.evalResults?null:n.favorite_goal.evalResults.score)>=1),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",(null==n.favorite_goal||null==n.favorite_goal.evalResults?null:n.favorite_goal.evalResults.score)<1&&"WEEKLY"==(null==n.favorite_goal||null==n.favorite_goal.evalResults?null:n.favorite_goal.evalResults.goalPeriod)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",(null==n.favorite_goal||null==n.favorite_goal.evalResults?null:n.favorite_goal.evalResults.score)>=1)}}function _z(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Above"),""))}function wz(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Below"),""))}function Sz(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Above"),""))}function Cz(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Below"),""))}function kz(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Above"),""))}function Oz(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Below"),""))}function Ez(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"lowercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,i["\u0275\u0275pipeBind1"](3,3,"ROOT.Hour"))," "))}function Mz(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"lowercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,i["\u0275\u0275pipeBind1"](3,3,"ROOT.Hours"))," "))}function Iz(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"lowercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,i["\u0275\u0275pipeBind1"](3,3,"ROOT.Hour"))," "))}function Pz(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"lowercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,i["\u0275\u0275pipeBind1"](3,3,"ROOT.Hours"))," "))}function Tz(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td",64),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"td",22),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"td",22),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"td",22),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",null==n.review||null==n.review.current_data?null:n.review.current_data.best1.activity,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best1.total_workouts),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best1.distance),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best1.calories)}}function Dz(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td",64),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"td",22),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"td",22),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"td",22),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best2.activity),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best2.total_workouts),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best2.distance),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best2.calories)}}function Lz(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td",64),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"td",22),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"td",22),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"td",22),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best3.activity),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best3.total_workouts),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best3.distance),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best3.calories)}}function Rz(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"tr"),i["\u0275\u0275elementStart"](1,"td",64),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"td",22),i["\u0275\u0275text"](4),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"td",22),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"td",22),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best4.activity),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best4.total_workouts),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best4.distance),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==n.review||null==n.review.current_data?null:n.review.current_data.best4.calories)}}function jz(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"lowercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",null==n.review||null==n.review.current_data?null:n.review.current_data.best_duration.bestMeasureHrs," ",i["\u0275\u0275pipeBind1"](2,2,i["\u0275\u0275pipeBind1"](3,4,"ROOT.Hours")),", ")}}function Az(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"lowercase"),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",null==n.review||null==n.review.current_data?null:n.review.current_data.best_duration.bestMeasureHrs," ",i["\u0275\u0275pipeBind1"](2,2,i["\u0275\u0275pipeBind1"](3,4,"ROOT.Hour")),", ")}}function Fz(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"section",12),i["\u0275\u0275elementStart"](1,"a",9),i["\u0275\u0275element"](2,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"h2",34),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",25),i["\u0275\u0275elementStart"](7,"div",26),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"p"),i["\u0275\u0275text"](11),i["\u0275\u0275pipe"](12,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](16,"img",65),i["\u0275\u0275elementStart"](17,"p",28),i["\u0275\u0275text"](18),i["\u0275\u0275pipe"](19,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,7,"ROOT.Most")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,9,"ROOT.Steps")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](12,11,null==n.review||null==n.review.current_data?null:n.review.current_data.best_steps_day.day,"SHORT_DATE_FORMAT")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",null==n.review||null==n.review.current_data?null:n.review.current_data.best_steps_day.bestDaySteps," ",i["\u0275\u0275pipeBind1"](15,14,"ROOT.Steps"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](19,16,"ROOT.The best of the")," ",n.review_period,"")}}var Bz=function(){function e(e,t,n,i,r){var a=this;this.ThemeService=e,this.route=t,this.AccountService=n,this.translate=i,this.ActivatedRoute=r,this.colortheme="white",this.review={},this.id=this.route.snapshot.paramMap.get("id"),this.year=this.route.snapshot.paramMap.get("year"),this.event=this.route.snapshot.paramMap.get("event"),this.translate_language=this.translate.currentLang,this.translate.onLangChange.subscribe(function(e){a.translate_language=e.lang})}return e.prototype.ngOnInit=function(){var e=this;this.colortheme=0==this.ThemeService.isDarkTheme?"white":"dark",this.ActivatedRoute.queryParams.subscribe(function(t){e.translate_language=t.language||e.AccountService.account.language||"en"}),this.AccountService.getReviewData(this.id,this.event,this.year).subscribe(function(t){e.review=t.response.review,e.favorite_goal=t.response.goals.favorite_goal,e.goal_records=t.response.goals.records,e.favorite_goal.evalResults.score<=1&&e.confetti(document.getElementById("favorite_goal"))}),"weekly"===this.event&&(this.review_period="week"),"monthly"===this.event&&(this.review_period="month"),"yearly"===this.event&&(this.review_period="year"),"fr"===this.translate_language&&(this.review_period="yearly"===this.review_period?"an":"monthly"===this.review_period?"mois":"semaine"),"de"===this.translate_language&&(this.review_period="yearly"===this.review_period?"jahr":"monthly"===this.review_period?"monat":"woche"),"it"===this.translate_language&&(this.review_period="yearly"===this.review_period?"anno":"monthly"===this.review_period?"mese":"settimana"),"es"===this.translate_language&&(this.review_period="yearly"===this.review_period?"a\xf1o":"monthly"===this.review_period?"mes":"semana")},e.prototype.ngAfterViewInit=function(){pz.initialize({controls:!0,progress:!0,hash:!0,parallaxBackgroundImage:"",parallaxBackgroundSize:"",parallaxBackgroundHorizontal:200,parallaxBackgroundVertical:50,width:420,height:920,margin:.04,minScale:.2,maxScale:2,disableLayout:!0})},e.prototype.confetti=function(e){console.log("Checking confetti"),new $l({target:e}).render()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](S.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-review-weekly"]],decls:320,vars:217,consts:[["rel","stylesheet","href","/static/css/reveal/reveal_new.css"],["rel","stylesheet","href","/static/css/reveal/theme/white.scss","id","theme",4,"ngIf"],["rel","stylesheet","href","/static/css/reveal/theme/black.scss","id","theme",4,"ngIf"],["rel","stylesheet","href","https://my.fitdigits.com/static/css/zenburn.css"],[2,"border","0px black solid","width","100vw","height","100vh"],[1,"reveal",2,"border","0px solid red"],[1,"slides"],["alt","Profile Photo",1,"reviewProfilePhoto",3,"src"],[1,"reviewTitle"],["href","https://my.fitdigits.com"],["src","https://my.fitdigits.com/static/img/fitdigits-logo-md.png",1,"reviewFitdigitsLogo"],["data-autoslide","4000",4,"ngIf"],["data-autoslide","4000"],["src","https://my.fitdigits.com/static/img/review/andy_steps.png",1,"reviewAndyWeight"],[4,"ngIf"],["src","https://my.fitdigits.com/static/img/review/andy_distance.png",1,"reviewAndyDistance"],["src","https://my.fitdigits.com/static/img/review/andy_weight.png",1,"reviewAndyWeight"],["src","https://my.fitdigits.com/static/img/review/andy_female_duration.png",1,"reviewAndyDuration"],[1,"small-text"],["data-autoslide","6000"],[2,"margin","20px auto","width","90%"],[2,"text-align","left"],[2,"text-align","right"],["src","https://my.fitdigits.com/static/img/icons/heart_icon.png",1,"reviewAndyCalories",2,"margin-top","60px"],[2,"color","#3FAE48"],[2,"text-align","center"],[1,"activity-type"],["src","https://my.fitdigits.com/static/img/icons/goal_mobile_distance.png",1,"reviewAndyFurthest"],[2,"font-weight","800"],[2,"color","#4597CB"],[2,"margin","20px"],["src","https://my.fitdigits.com/static/img/icons/goal_mobile_duration.png",1,"reviewAndyLongest"],[2,"color","#F16124"],["src","https://my.fitdigits.com/static/img/icons/calorie-orange.png",1,"reviewAndyCalories"],[2,"color","#5E2772"],["src","https://my.fitdigits.com/static/email/graphics/apple_watch_update.png",1,"reviewAndyCalories"],["href","https://my.fitdigits.com/fitness-sensors/apple-watch"],["src","https://my.fitdigits.com/static/img/review/i-info-button.png",1,"reviewInfoIcon"],["src","https://my.fitdigits.com/static/img/routes-icon.png",1,"reviewAndyCalories"],["href","https://my.fitdigits.com/routes"],[2,"color","#1E597E"],["src","https://my.fitdigits.com/static/img/icons/voice_coaching2.png",1,"reviewAndyCalories"],["href","https://my.fitdigits.com/overview/audio-coaching"],[2,"color","#F79C6E"],["src","http://my.fitdigits.com/static/img/dashboard_sample.png",1,"reviewDashboard"],["href","https://my.fitdigits.com/dashboards/overview"],["data-autoslide","1000"],["id","fragments"],[1,"fragment","grow","highlight-red"],[1,"fragment","grow","highlight-green"],[1,"fragment","grow","highlight-blue"],["src","https://my.fitdigits.com/static/img/icons/confetti.png",1,"reviewAndyThanks"],[2,"color","#1E597E","font-weight","800"],[2,"text-align","center","background-color","white","border-radius","18px","margin","20px"],["src","https://my.fitdigits.com/static/img/email/goals/andy_short_bow.gif",1,"reviewSeasonGoalImg"],["href","https://support.fitdigits.com/tips-and-how-tos/goals/"],["rel","stylesheet","href","/static/css/reveal/theme/white.scss","id","theme"],["rel","stylesheet","href","/static/css/reveal/theme/black.scss","id","theme"],["id","favorite_goal","style","position: absolute; top: 0; left: 0; width: 100%; height: 100%;",4,"ngIf"],["src","https://my.fitdigits.com/static/img/goal_target.png","class","reviewAndyWeight",4,"ngIf"],["src","https://my.fitdigits.com/static/img/andy-goal.png","class","reviewAndyWeight",4,"ngIf"],["id","favorite_goal",2,"position","absolute","top","0","left","0","width","100%","height","100%"],["src","https://my.fitdigits.com/static/img/goal_target.png",1,"reviewAndyWeight"],["src","https://my.fitdigits.com/static/img/andy-goal.png",1,"reviewAndyWeight"],[2,"white-space","nowrap","overflow","hidden","text-align","left"],["src","https://my.fitdigits.com/static/img/icons/goal_mobile_steps.png",1,"reviewAndyCalories"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"link",0),i["\u0275\u0275template"](1,hz,1,0,"link",1),i["\u0275\u0275template"](2,mz,1,0,"link",2),i["\u0275\u0275element"](3,"link",3),i["\u0275\u0275elementStart"](4,"div",4),i["\u0275\u0275elementStart"](5,"div",5),i["\u0275\u0275elementStart"](6,"div",6),i["\u0275\u0275elementStart"](7,"section"),i["\u0275\u0275elementStart"](8,"h1"),i["\u0275\u0275text"](9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](10,"img",7),i["\u0275\u0275elementStart"](11,"h3",8),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275pipe"](14,"capitalize"),i["\u0275\u0275element"](15,"br"),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"p"),i["\u0275\u0275elementStart"](19,"a",9),i["\u0275\u0275element"](20,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](21,xz,18,18,"section",11),i["\u0275\u0275elementStart"](22,"section",12),i["\u0275\u0275elementStart"](23,"a",9),i["\u0275\u0275element"](24,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"h1"),i["\u0275\u0275text"](26),i["\u0275\u0275pipe"](27,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"p"),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](31,"img",13),i["\u0275\u0275elementStart"](32,"h2"),i["\u0275\u0275text"](33),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"p"),i["\u0275\u0275template"](35,_z,3,3,"span",14),i["\u0275\u0275template"](36,wz,3,3,"span",14),i["\u0275\u0275text"](37),i["\u0275\u0275pipe"](38,"translate"),i["\u0275\u0275element"](39,"br"),i["\u0275\u0275text"](40),i["\u0275\u0275pipe"](41,"number"),i["\u0275\u0275pipe"](42,"lowercase"),i["\u0275\u0275pipe"](43,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](44,"p"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"section",12),i["\u0275\u0275elementStart"](46,"a",9),i["\u0275\u0275element"](47,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"h1"),i["\u0275\u0275text"](49),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](50,"p"),i["\u0275\u0275text"](51),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](52,"img",15),i["\u0275\u0275elementStart"](53,"h2"),i["\u0275\u0275text"](54),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](55,"p"),i["\u0275\u0275template"](56,Sz,3,3,"span",14),i["\u0275\u0275template"](57,Cz,3,3,"span",14),i["\u0275\u0275text"](58),i["\u0275\u0275pipe"](59,"translate"),i["\u0275\u0275element"](60,"br"),i["\u0275\u0275text"](61),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](62,"p"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"section",12),i["\u0275\u0275elementStart"](64,"a",9),i["\u0275\u0275element"](65,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](66,"h1"),i["\u0275\u0275text"](67),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](68,"p"),i["\u0275\u0275text"](69),i["\u0275\u0275pipe"](70,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](71,"img",16),i["\u0275\u0275elementStart"](72,"h2"),i["\u0275\u0275text"](73),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](74,"p"),i["\u0275\u0275template"](75,kz,3,3,"span",14),i["\u0275\u0275template"](76,Oz,3,3,"span",14),i["\u0275\u0275text"](77),i["\u0275\u0275pipe"](78,"translate"),i["\u0275\u0275element"](79,"br"),i["\u0275\u0275text"](80),i["\u0275\u0275pipe"](81,"number"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](82,"p"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](83,"section",12),i["\u0275\u0275elementStart"](84,"a",9),i["\u0275\u0275element"](85,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](86,"h1"),i["\u0275\u0275text"](87),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](88,"p"),i["\u0275\u0275template"](89,Ez,4,5,"span",14),i["\u0275\u0275template"](90,Mz,4,5,"span",14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](91,"img",17),i["\u0275\u0275elementStart"](92,"h2"),i["\u0275\u0275text"](93),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](94,"p"),i["\u0275\u0275text"](95),i["\u0275\u0275pipe"](96,"translate"),i["\u0275\u0275element"](97,"br"),i["\u0275\u0275text"](98),i["\u0275\u0275template"](99,Iz,4,5,"span",14),i["\u0275\u0275template"](100,Pz,4,5,"span",14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](101,"br"),i["\u0275\u0275elementStart"](102,"p",18),i["\u0275\u0275text"](103),i["\u0275\u0275pipe"](104,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](105,"p"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](106,"section",19),i["\u0275\u0275elementStart"](107,"a",9),i["\u0275\u0275element"](108,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](109,"h2"),i["\u0275\u0275text"](110),i["\u0275\u0275pipe"](111,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](112,"table",20),i["\u0275\u0275elementStart"](113,"thead"),i["\u0275\u0275elementStart"](114,"tr"),i["\u0275\u0275elementStart"](115,"th",21),i["\u0275\u0275text"](116),i["\u0275\u0275pipe"](117,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](118,"th",22),i["\u0275\u0275text"](119,"#"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](120,"th",22),i["\u0275\u0275text"](121),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](122,"th",22),i["\u0275\u0275text"](123,"Calories"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](124,"tbody"),i["\u0275\u0275template"](125,Tz,9,4,"tr",14),i["\u0275\u0275template"](126,Dz,9,4,"tr",14),i["\u0275\u0275template"](127,Lz,9,4,"tr",14),i["\u0275\u0275template"](128,Rz,9,4,"tr",14),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](129,"img",23),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](130,"section",12),i["\u0275\u0275elementStart"](131,"a",9),i["\u0275\u0275element"](132,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](133,"h2",24),i["\u0275\u0275text"](134),i["\u0275\u0275pipe"](135,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](136,"div",25),i["\u0275\u0275elementStart"](137,"div",26),i["\u0275\u0275text"](138),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](139,"p"),i["\u0275\u0275text"](140),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](141,"p"),i["\u0275\u0275text"](142),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](143,"img",27),i["\u0275\u0275elementStart"](144,"p",28),i["\u0275\u0275text"](145),i["\u0275\u0275pipe"](146,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](147,"section",12),i["\u0275\u0275elementStart"](148,"a",9),i["\u0275\u0275element"](149,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](150,"h2",29),i["\u0275\u0275text"](151),i["\u0275\u0275pipe"](152,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](153,"div",25),i["\u0275\u0275elementStart"](154,"div",26),i["\u0275\u0275text"](155),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](156,"p",30),i["\u0275\u0275text"](157),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](158,"p"),i["\u0275\u0275template"](159,jz,4,6,"span",14),i["\u0275\u0275template"](160,Az,4,6,"span",14),i["\u0275\u0275text"](161),i["\u0275\u0275pipe"](162,"lowercase"),i["\u0275\u0275pipe"](163,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](164,"img",31),i["\u0275\u0275elementStart"](165,"p",28),i["\u0275\u0275text"](166),i["\u0275\u0275pipe"](167,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](168,"section",12),i["\u0275\u0275elementStart"](169,"a",9),i["\u0275\u0275element"](170,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](171,"h2",32),i["\u0275\u0275text"](172),i["\u0275\u0275pipe"](173,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](174,"div",25),i["\u0275\u0275elementStart"](175,"div",26),i["\u0275\u0275text"](176),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](177,"p",30),i["\u0275\u0275text"](178),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](179,"p"),i["\u0275\u0275text"](180),i["\u0275\u0275pipe"](181,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](182,"img",33),i["\u0275\u0275elementStart"](183,"p",28),i["\u0275\u0275text"](184),i["\u0275\u0275pipe"](185,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](186,Fz,20,18,"section",11),i["\u0275\u0275elementStart"](187,"section",12),i["\u0275\u0275elementStart"](188,"a",9),i["\u0275\u0275element"](189,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](190,"h2",34),i["\u0275\u0275text"](191),i["\u0275\u0275pipe"](192,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](193,"div",25),i["\u0275\u0275elementStart"](194,"p"),i["\u0275\u0275text"](195),i["\u0275\u0275pipe"](196,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](197,"img",35),i["\u0275\u0275elementStart"](198,"p",28),i["\u0275\u0275elementStart"](199,"a",36),i["\u0275\u0275element"](200,"img",37),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](201,"section",12),i["\u0275\u0275elementStart"](202,"a",9),i["\u0275\u0275element"](203,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](204,"h2",29),i["\u0275\u0275text"](205),i["\u0275\u0275pipe"](206,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](207,"div",25),i["\u0275\u0275elementStart"](208,"p"),i["\u0275\u0275text"](209),i["\u0275\u0275pipe"](210,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](211,"img",38),i["\u0275\u0275elementStart"](212,"p",28),i["\u0275\u0275elementStart"](213,"a",39),i["\u0275\u0275element"](214,"img",37),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](215,"section",12),i["\u0275\u0275elementStart"](216,"a",9),i["\u0275\u0275element"](217,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](218,"h2",40),i["\u0275\u0275text"](219),i["\u0275\u0275pipe"](220,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](221,"div",25),i["\u0275\u0275elementStart"](222,"p"),i["\u0275\u0275text"](223),i["\u0275\u0275pipe"](224,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](225,"img",41),i["\u0275\u0275elementStart"](226,"p",28),i["\u0275\u0275elementStart"](227,"a",42),i["\u0275\u0275element"](228,"img",37),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](229,"p",18),i["\u0275\u0275text"](230),i["\u0275\u0275pipe"](231,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](232,"section",12),i["\u0275\u0275elementStart"](233,"a",9),i["\u0275\u0275element"](234,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](235,"h2",43),i["\u0275\u0275text"](236),i["\u0275\u0275pipe"](237,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](238,"div",25),i["\u0275\u0275elementStart"](239,"p"),i["\u0275\u0275text"](240),i["\u0275\u0275pipe"](241,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](242,"img",44),i["\u0275\u0275elementStart"](243,"p",28),i["\u0275\u0275elementStart"](244,"a",45),i["\u0275\u0275element"](245,"img",37),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](246,"section",46),i["\u0275\u0275elementStart"](247,"section",47),i["\u0275\u0275elementStart"](248,"a",9),i["\u0275\u0275element"](249,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](250,"h2"),i["\u0275\u0275text"](251),i["\u0275\u0275pipe"](252,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](253,"div",25),i["\u0275\u0275elementStart"](254,"p"),i["\u0275\u0275elementStart"](255,"span",48),i["\u0275\u0275text"](256),i["\u0275\u0275pipe"](257,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](258,"span",49),i["\u0275\u0275text"](259),i["\u0275\u0275pipe"](260,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](261,"span",50),i["\u0275\u0275text"](262),i["\u0275\u0275pipe"](263,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](264,"span",48),i["\u0275\u0275text"](265),i["\u0275\u0275pipe"](266,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](267,"span",49),i["\u0275\u0275text"](268),i["\u0275\u0275pipe"](269,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](270,"span",50),i["\u0275\u0275text"](271),i["\u0275\u0275pipe"](272,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](273,"span",48),i["\u0275\u0275text"](274),i["\u0275\u0275pipe"](275,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](276,"section"),i["\u0275\u0275elementStart"](277,"a",9),i["\u0275\u0275element"](278,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](279,"p"),i["\u0275\u0275elementStart"](280,"a",9),i["\u0275\u0275element"](281,"img",51),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](282,"p"),i["\u0275\u0275text"](283),i["\u0275\u0275pipe"](284,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](285,"br"),i["\u0275\u0275elementStart"](286,"h2"),i["\u0275\u0275text"](287),i["\u0275\u0275pipe"](288,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](289,"br"),i["\u0275\u0275text"](290,"\xa0"),i["\u0275\u0275element"](291,"br"),i["\u0275\u0275elementStart"](292,"p",18),i["\u0275\u0275text"](293),i["\u0275\u0275pipe"](294,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](295,"section",12),i["\u0275\u0275elementStart"](296,"a",9),i["\u0275\u0275element"](297,"img",10),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](298,"p",52),i["\u0275\u0275elementStart"](299,"h2",24),i["\u0275\u0275text"](300),i["\u0275\u0275pipe"](301,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](302,"div",25),i["\u0275\u0275elementStart"](303,"div",53),i["\u0275\u0275element"](304,"img",54),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](305,"p",28),i["\u0275\u0275text"](306),i["\u0275\u0275pipe"](307,"translate"),i["\u0275\u0275element"](308,"br"),i["\u0275\u0275text"](309),i["\u0275\u0275pipe"](310,"translate"),i["\u0275\u0275element"](311,"br"),i["\u0275\u0275text"](312),i["\u0275\u0275pipe"](313,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](314,"a",55),i["\u0275\u0275element"](315,"img",37),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](316,"br"),i["\u0275\u0275elementStart"](317,"p",18),i["\u0275\u0275text"](318),i["\u0275\u0275pipe"](319,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","white"==t.colortheme),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","white"!=t.colortheme),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.current_data?null:t.review.current_data.name),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",t.review.current_data.image_url,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](13,112,"ROOT.Your Fitness")," ",i["\u0275\u0275pipeBind1"](14,114,t.review_period)," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](17,116,"ROOT.in Review"),""),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",t.favorite_goal),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind2"](27,118,null==t.review||null==t.review.current_data?null:t.review.current_data.total_steps,"1.0-0")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](30,121,"ROOT.Steps")),i["\u0275\u0275advance"](3),i["\u0275\u0275classMap"](null==t.review||null==t.review.compared_data?null:t.review.compared_data.steps.diff_class),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.compared_data?null:t.review.compared_data.steps.diff),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","above"==(null==t.review||null==t.review.compared_data?null:t.review.compared_data.steps.diff_class)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","below"==(null==t.review||null==t.review.compared_data?null:t.review.compared_data.steps.diff_class)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](38,123,"ROOT.last")," ",t.review_period," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind2"](41,125,null==t.review||null==t.review.compared_data?null:t.review.compared_data.steps.compare_total,"1.0-0")," ",i["\u0275\u0275pipeBind1"](42,128,i["\u0275\u0275pipeBind1"](43,130,"ROOT.Steps"))," "),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.current_data?null:t.review.current_data.distance),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.current_data?null:t.review.current_data.units),i["\u0275\u0275advance"](2),i["\u0275\u0275classMap"](null==t.review||null==t.review.compared_data?null:t.review.compared_data.distance.diff_class),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.compared_data?null:t.review.compared_data.distance.diff),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","above"==(null==t.review||null==t.review.compared_data?null:t.review.compared_data.steps.diff_class)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","below"==(null==t.review||null==t.review.compared_data?null:t.review.compared_data.steps.diff_class)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](59,132,"ROOT.last")," ",t.review_period," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",null==t.review||null==t.review.compared_data?null:t.review.compared_data.distance.compare_total," ",null==t.review||null==t.review.current_data?null:t.review.current_data.units," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.current_data?null:t.review.current_data.calories),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](70,134,"ROOT.Calories")),i["\u0275\u0275advance"](3),i["\u0275\u0275classMap"](null==t.review||null==t.review.compared_data?null:t.review.compared_data.calories.diff_class),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.compared_data?null:t.review.compared_data.calories.diff),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","above"==(null==t.review||null==t.review.compared_data?null:t.review.compared_data.steps.diff_class)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","below"==(null==t.review||null==t.review.compared_data?null:t.review.compared_data.steps.diff_class)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](78,136,"ROOT.last")," ",t.review_period," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](81,138,null==t.review||null==t.review.compared_data?null:t.review.compared_data.calories.compare_total,"1.0-0")," calories. "),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.current_data?null:t.review.current_data.duration),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",1==(null==t.review||null==t.review.current_data?null:t.review.current_data.duration)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",(null==t.review||null==t.review.current_data?null:t.review.current_data.duration)>1),i["\u0275\u0275advance"](2),i["\u0275\u0275classMap"](null==t.review||null==t.review.compared_data?null:t.review.compared_data.duration.diff_class),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",null==t.review||null==t.review.compared_data?null:t.review.compared_data.duration.diff," "),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](96,141,"ROOT.last")," ",t.review_period," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",null==t.review||null==t.review.compared_data?null:t.review.compared_data.duration.compare_total," "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==(null==t.review||null==t.review.compared_data?null:t.review.compared_data.duration.compare_total)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",(null==t.review||null==t.review.compared_data?null:t.review.compared_data.duration.compare_total)>1),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](104,143,"ROOT.Prioritizing your")),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](111,145,"ROOT.Most popular")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](117,147,"ROOT.Activity")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.current_data?null:t.review.current_data.units),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",""!=(null==t.review||null==t.review.current_data?null:t.review.current_data.best1)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",""!=(null==t.review||null==t.review.current_data?null:t.review.current_data.best2)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",""!=(null==t.review||null==t.review.current_data?null:t.review.current_data.best3)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",""!=(null==t.review||null==t.review.current_data?null:t.review.current_data.best4)),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](135,149,"ROOT.Furthest")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.current_data?null:t.review.current_data.best_distance.activity),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.current_data?null:t.review.current_data.best_distance.date_str),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",null==t.review||null==t.review.current_data?null:t.review.current_data.best_distance.bestMeasure," ",null==t.review||null==t.review.current_data?null:t.review.current_data.units,""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](146,151,"ROOT.The best of the")," ",t.review_period,""),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](152,153,"ROOT.Longest")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.current_data?null:t.review.current_data.best_duration.activity),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.current_data?null:t.review.current_data.best_duration.date_str),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",(null==t.review||null==t.review.current_data?null:t.review.current_data.best_duration.bestMeasureHrs)>=2),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",(null==t.review||null==t.review.current_data?null:t.review.current_data.best_duration.bestMeasureHrs)>=1&&(null==t.review||null==t.review.current_data?null:t.review.current_data.best_duration.bestMeasureHrs)<2),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",null==t.review||null==t.review.current_data?null:t.review.current_data.best_duration.bestMeasureMins," ",i["\u0275\u0275pipeBind1"](162,155,i["\u0275\u0275pipeBind1"](163,157,"ROOT.Minutes"))," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](167,159,"ROOT.The best of the")," ",t.review_period,""),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](173,161,"ROOT.Biggest Burn")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.current_data?null:t.review.current_data.best_calories.activity),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](null==t.review||null==t.review.current_data?null:t.review.current_data.best_calories.date_str),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"]("",null==t.review||null==t.review.current_data?null:t.review.current_data.best_calories.bestMeasure," ",i["\u0275\u0275pipeBind1"](181,163,"ROOT.Calories"),""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate2"]("",i["\u0275\u0275pipeBind1"](185,165,"ROOT.The best of the")," ",t.review_period,""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",null==t.review||null==t.review.current_data?null:t.review.current_data.best_steps_day),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](192,167,"ROOT.Apple Watch")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](196,169,"ROOT.Better Responsiveness, Deeper Health Integration")),i["\u0275\u0275advance"](10),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](206,171,"ROOT.Routes")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](210,173,"ROOT.Create Routes, Compare and Compete")),i["\u0275\u0275advance"](10),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](220,175,"ROOT.Amazing Audio and Coaching")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](224,177,"ROOT.Routine Guidance, Heart Rate Coaching and Much More")),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](231,179,"ROOT.Motivation when you need it!")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](237,181,"ROOT.Dashboard Customization")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](241,183,"ROOT.Personal and Extendable, New Charts, Maps and Metrics")),i["\u0275\u0275advance"](11),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](252,185,"ROOT.And much, much more"),":"),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"]("\u2022 ",i["\u0275\u0275pipeBind1"](257,187,"ROOT.Auto Pause Enhanced")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("\u2022 ",i["\u0275\u0275pipeBind1"](260,189,"ROOT.Sensor Improvements")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("\u2022 ",i["\u0275\u0275pipeBind1"](263,191,"ROOT.Open Zones in Routines"),""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("\u2022 ",i["\u0275\u0275pipeBind1"](266,193,"ROOT.Resistance for Cycling")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("\u2022 ",i["\u0275\u0275pipeBind1"](269,195,"ROOT.VO2 Max from Apple Health"),""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("\u2022 ",i["\u0275\u0275pipeBind1"](272,197,"ROOT.Day/Week/Month Health Journaling"),""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("\u2022 ",i["\u0275\u0275pipeBind1"](275,199,"ROOT.More"),""),i["\u0275\u0275advance"](9),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](284,201,"ROOT.Thank you for everything!")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](288,203,"ROOT.Make it a Wonderful Year")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](294,205,"ROOT.Get Fit, Stay Healthy")),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](301,207,"ROOT.Set Your 2024 Goals")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](307,209,"ROOT.Go Further, Faster.")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](310,211,"ROOT.Burn More. Lose Weight.")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](313,213,"ROOT.Step it Up."),""),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](319,215,"ROOT.If you can name it, you can hit it!")))},directives:[y.NgIf],pipes:[M.c,B.o,y.DecimalPipe,y.LowerCasePipe,y.DatePipe],styles:[".reveal[_ngcontent-%COMP%]   .backgrounds[_ngcontent-%COMP%]{background-color:#000!important}.reveal[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]   .navigate-down[_ngcontent-%COMP%]{right:3em;bottom:-2.4em}.reveal[_ngcontent-%COMP%]   .controls[_ngcontent-%COMP%]   .navigate-up[_ngcontent-%COMP%]{right:3em;bottom:4em}.reviewProfilePhoto[_ngcontent-%COMP%]{width:238px;height:238px;background:transparent!important;border-radius:18px}.reviewProfilePhotoYear[_ngcontent-%COMP%]{width:78px;height:78px;background:transparent!important}.reviewFitdigitsLogo[_ngcontent-%COMP%]{width:100px;height:33px;margin-top:20px;background:transparent!important}.reviewNewIcon[_ngcontent-%COMP%]{margin-bottom:-10px;padding-right:10px}.reviewSeasonGoalImg[_ngcontent-%COMP%]{margin-top:0;width:200px;background:transparent}.sub-desc[_ngcontent-%COMP%]{font-size:.5em!important}.reviewDailyDetail[_ngcontent-%COMP%]{font-size:20px!important}.increase[_ngcontent-%COMP%]{color:#3fae48!important}.decrease[_ngcontent-%COMP%]{color:#ee3123!important}.above[_ngcontent-%COMP%]{color:#3fae48!important}.below[_ngcontent-%COMP%]{color:#ee3123!important}.activity-type[_ngcontent-%COMP%]{border:4px solid;padding:10px;margin:20px}.reviewProfilePhotoYear[_ngcontent-%COMP%]{width:25%;height:25%;padding-top:40px!important}.reviewTitle[_ngcontent-%COMP%]{font-size:2em!important;margin-right:15px}h1[_ngcontent-%COMP%]{font-weight:600!important}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{padding-bottom:0!important;padding-top:0!important}th[_ngcontent-%COMP%]{padding-right:3px}td[_ngcontent-%COMP%]{padding:10px 3px}.reviewAndyCalories[_ngcontent-%COMP%], .reviewAndyWeight[_ngcontent-%COMP%]{background:transparent!important}.reviewAndyCalories[_ngcontent-%COMP%]{margin-top:5px!important;width:200px}.reviewAndyDistance[_ngcontent-%COMP%], .reviewAndyDuration[_ngcontent-%COMP%], .reviewAndyFurthest[_ngcontent-%COMP%], .reviewAndyLiveTracking[_ngcontent-%COMP%], .reviewAndyLongest[_ngcontent-%COMP%]{background:transparent!important}.reviewAndyLiveTracking[_ngcontent-%COMP%]{width:200px}.reviewDashboard[_ngcontent-%COMP%]{width:100px!important;margin-top:20px;height:auto}.reviewAppleWatch[_ngcontent-%COMP%]{width:100%!important;margin-top:180px!important;background:transparent!important}.reviewDailyDetail[_ngcontent-%COMP%]{font-size:1.2em!important}.reviewLatestFeatureTitle[_ngcontent-%COMP%]{font-size:2em!important;color:#4597cb!important;font-weight:600!important}.reviewNewIcon[_ngcontent-%COMP%]{height:70px}.reviewInfoIcon[_ngcontent-%COMP%]{height:30px;margin:10px auto;background:transparent!important}.reviewAndyThanks[_ngcontent-%COMP%]{width:150px!important;padding:20px 0 30px;background:transparent!important}.reviewSeasonCelebrationImg[_ngcontent-%COMP%]{width:520px!important}.reviewNoneGoalImg[_ngcontent-%COMP%]{width:500px!important;height:500px!important;margin-top:-100px!important}.reviewQuote[_ngcontent-%COMP%], .reviewQuoteWide[_ngcontent-%COMP%]{margin-top:200px!important}.reviewQuoteWide[_ngcontent-%COMP%]{width:800px!important}.small-text[_ngcontent-%COMP%]{color:#4597cb;font-style:italic!important;font-size:.8em!important}@media (max-width:767px){.reviewProfilePhoto[_ngcontent-%COMP%]{width:50%;height:50%}p[_ngcontent-%COMP%]{font-size:2em!important}.reviewContainer[_ngcontent-%COMP%]{top:25%!important}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{font-size:1.5em!important}.reviewProfilePhotoYear[_ngcontent-%COMP%]{width:50%;height:50%;padding-top:40px!important}.reviewFitdigitsLogo[_ngcontent-%COMP%]{max-width:200px;max-height:66px;margin-bottom:0}.reviewAndyCalories[_ngcontent-%COMP%]{height:auto}.reviewAndyLiveTracking[_ngcontent-%COMP%], .reviewDashboard[_ngcontent-%COMP%]{height:auto}.reviewInfoIcon[_ngcontent-%COMP%]{max-height:60px}.reviewAndyThanks[_ngcontent-%COMP%]{background:transparent!important}.small-text[_ngcontent-%COMP%]{font-size:1.5em!important}.activity-type[_ngcontent-%COMP%]{border:4px solid!important;padding:20px!important;font-size:2em!important;margin-bottom:1em!important}}@media (max-width:650px){h1[_ngcontent-%COMP%]{padding-bottom:0!important}h2[_ngcontent-%COMP%]{margin:20px 0}}"]}),e}(),zz=n("JYNk");function Nz(e,t){1&e&&i["\u0275\u0275element"](0,"img",13)}function Hz(e,t){1&e&&i["\u0275\u0275element"](0,"img",14)}function Vz(e,t){1&e&&i["\u0275\u0275element"](0,"img",15)}function Yz(e,t){1&e&&i["\u0275\u0275element"](0,"img",16)}function Wz(e,t){1&e&&i["\u0275\u0275element"](0,"img",17)}function Gz(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"h3"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Linking")))}function Uz(e,t){1&e&&i["\u0275\u0275element"](0,"mat-progress-bar",18)}function qz(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"h3"),i["\u0275\u0275element"](1,"img",19),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,1,"ROOT.Linked"),""))}function Zz(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"h3"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.status," ")}}function $z(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Please allow a few minutes for initial data transfers")," "))}var Xz=function(){function e(e,t,n,i){this.partnersService=e,this.ThemeService=t,this.PermissionsService=n,this.window=i,this.initial_link=!1,this.show_data_message=!1}return e.prototype.ngOnInit=function(){var e=this,t=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});if(this.partner=t.get("partner"),this.status=t.get("status"),"linked"==this.status&&(this.partnerLinked=this.partner),null!=this.partner?(this.initial_link=!1,this.providerName=this.partner):(this.providerName=t.get("providerName"),this.initial_link=!0),this.partner_lowercase=this.providerName.toLowerCase(),"fitbit"==this.partner_lowercase&&(this.provider_name="Fitbit"),"strava"==this.partner_lowercase&&(this.provider_name="Strava"),"runkeeper"==this.partner_lowercase&&(this.provider_name="Runkeeper"),"myfitnesspal"==this.partner_lowercase&&(this.provider_name="MyFitnessPal"),"garmin"==this.partner_lowercase&&(this.provider_name="Garmin"),"trainingpeaks"==this.partner_lowercase&&(this.provider_name="TrainingPeaks"),"Garmin"!=this.provider_name&&"Fitbit"!=this.provider_name||"linked"!=this.status||(this.show_data_message=!0),0!=this.initial_link){this.initial_link=!0;var n=t.get("mobile"),i=t.get("set_preferred");this.partnersService.connectPingPartner(this.providerName,i,n).subscribe(function(t){e.uri=t.response.authorize.uri,e.initial_link=!1,window.location.href=t.response.authorize.uri})}},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](zz.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](p.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-partner-linking"]],decls:21,vars:12,consts:[[1,"sectionStructure"],[1,"partner-linking-container"],[1,"clear-both"],["src","../../static/img/icons/connect-with-strava.png","alt","Connect with Strava",4,"ngIf"],["loading","lazy","src","../../static/img/icons/partnerRunkeeperIcon.png","alt","Runkeeper","style","margin: 10px;",4,"ngIf"],["loading","lazy","src","../../static/img/icons/partnerTrainingPeaksIcon.png","alt","TrainingPeaks","style","margin: 10px;",4,"ngIf"],["loading","lazy","width","75","src","/static/img/partner/myfitnesspal/myfitnesspalIcon-64x64.png","alt","MyFitnessPal","style","margin: 10px;",4,"ngIf"],["loading","lazy","width","75","src","/static/img/partner/fitbit/fitbit-64-blk-transparent.png","alt","Fitbit","style","margin: 10px;",4,"ngIf"],[4,"ngIf"],["mode","indeterminate",4,"ngIf"],[1,"clear-both",2,"margin-top","40px"],[3,"routerLink"],["src","../../static/img/fitdigits-logo-md.png",2,"margin-top","40px","width","100px"],["src","../../static/img/icons/connect-with-strava.png","alt","Connect with Strava"],["loading","lazy","src","../../static/img/icons/partnerRunkeeperIcon.png","alt","Runkeeper",2,"margin","10px"],["loading","lazy","src","../../static/img/icons/partnerTrainingPeaksIcon.png","alt","TrainingPeaks",2,"margin","10px"],["loading","lazy","width","75","src","/static/img/partner/myfitnesspal/myfitnesspalIcon-64x64.png","alt","MyFitnessPal",2,"margin","10px"],["loading","lazy","width","75","src","/static/img/partner/fitbit/fitbit-64-blk-transparent.png","alt","Fitbit",2,"margin","10px"],["mode","indeterminate"],["src","../../static/img/party_icon.png","alt","Link successful",2,"margin-right","10px"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"h2"),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](4,"div",2),i["\u0275\u0275template"](5,Nz,1,0,"img",3),i["\u0275\u0275template"](6,Hz,1,0,"img",4),i["\u0275\u0275template"](7,Vz,1,0,"img",5),i["\u0275\u0275template"](8,Yz,1,0,"img",6),i["\u0275\u0275template"](9,Wz,1,0,"img",7),i["\u0275\u0275element"](10,"div",2),i["\u0275\u0275template"](11,Gz,3,3,"h3",8),i["\u0275\u0275template"](12,Uz,1,0,"mat-progress-bar",9),i["\u0275\u0275template"](13,qz,4,3,"h3",8),i["\u0275\u0275template"](14,Zz,2,1,"h3",8),i["\u0275\u0275template"](15,$z,3,3,"span",8),i["\u0275\u0275elementStart"](16,"div",10),i["\u0275\u0275elementStart"](17,"a",11),i["\u0275\u0275text"](18,"more info"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](19,"div",2),i["\u0275\u0275element"](20,"img",12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](t.provider_name),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","Strava"==t.provider_name),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Runkeeper"==t.provider_name),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","TrainingPeaks"==t.provider_name),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","MyFitnessPal"==t.provider_name),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","Fitbit"==t.provider_name),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.initial_link),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.initial_link),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","linked"==t.status),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","linked"!=t.status),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.show_data_message),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate1"]("routerLink","/partners/",t.partner_lowercase,""))},directives:[y.NgIf,S.f,It.a],pipes:[M.c],styles:[".partner-linking-container[_ngcontent-%COMP%]{text-align:center;margin-top:60px}"]}),e}();function Kz(e,t){1&e&&i["\u0275\u0275element"](0,"img",9)}function Jz(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function Qz(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",11),i["\u0275\u0275elementStart"](1,"ol",12),i["\u0275\u0275elementStart"](2,"li"),i["\u0275\u0275text"](3,"From the home screen, select "),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275text"](5,"Menu > Partners > Runkeeper > Link Account"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Login to your Runkeeper account "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Accept the permissions requested, select Allow and Done "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var eN=function(){function e(){this.showOverview=!0}return e.prototype.ngOnInit=function(){this.showOverview=!0},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-runkeeper"]],decls:15,vars:3,consts:[[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],["loading","lazy","src","../../static/img/icons/partnerRunkeeperIcon.png","alt","Runkeeper",2,"float","right","margin","10px"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow","alt","Open Section",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow","alt","Close Section",4,"ngIf"],[1,"header-view-header"],["style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png","alt","Open Section",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png","alt","Close Section",1,"openArrow"],[2,"clear","both"],[1,"list-spacing"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",1),i["\u0275\u0275text"](3,"Runkeeper"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",2),i["\u0275\u0275element"](5,"p"),i["\u0275\u0275element"](6,"img",3),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"Link your Fitdigits account with Runkeeper, and you will be able to see your Fitdigits calories count towards your daily allowance from Runkeeper."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",4),i["\u0275\u0275listener"]("click",function(){return t.showOverview=!t.showOverview}),i["\u0275\u0275template"](10,Kz,1,0,"img",5),i["\u0275\u0275template"](11,Jz,1,0,"img",6),i["\u0275\u0275elementStart"](12,"div",7),i["\u0275\u0275text"](13," Linking Runkeeper "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,Qz,10,0,"div",8),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](10),i["\u0275\u0275property"]("ngIf",!t.showOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showOverview))},directives:[y.NgIf],styles:[""]}),e}();function tN(e,t){1&e&&i["\u0275\u0275element"](0,"img",9)}function nN(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function iN(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",11),i["\u0275\u0275elementStart"](1,"ol",12),i["\u0275\u0275elementStart"](2,"li"),i["\u0275\u0275text"](3,"From the home screen, select "),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275text"](5,"Menu > Partners > Strava > Link Account"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Login to your Strava account "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Accept the permissions requested, select Allow and Done "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var rN=function(){function e(){this.showOverview=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-strava"]],decls:15,vars:3,consts:[[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],["loading","lazy","src","../../static/img/icons/btn_strava_connectwith_orange.png","alt","Strava",2,"float","right","margin","0px 10px","width","150px"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow","alt","Open Section",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow","alt","Close Section",4,"ngIf"],[1,"header-view-header"],["style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png","alt","Open Section",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png","alt","Close Section",1,"openArrow"],[2,"clear","both"],[1,"list-spacing"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",1),i["\u0275\u0275text"](3,"Strava"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",2),i["\u0275\u0275element"](5,"p"),i["\u0275\u0275element"](6,"img",3),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"Link your Fitdigits account with Strava, and you will be able to see your Fitdigits calories count towards your daily allowance from Strava."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",4),i["\u0275\u0275listener"]("click",function(){return t.showOverview=!t.showOverview}),i["\u0275\u0275template"](10,tN,1,0,"img",5),i["\u0275\u0275template"](11,nN,1,0,"img",6),i["\u0275\u0275elementStart"](12,"div",7),i["\u0275\u0275text"](13," Linking Strava "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,iN,10,0,"div",8),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](10),i["\u0275\u0275property"]("ngIf",!t.showOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showOverview))},directives:[y.NgIf],styles:[""]}),e}();function aN(e,t){1&e&&i["\u0275\u0275element"](0,"img",9)}function oN(e,t){1&e&&i["\u0275\u0275element"](0,"img",10)}function sN(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",11),i["\u0275\u0275elementStart"](1,"ol",12),i["\u0275\u0275elementStart"](2,"li"),i["\u0275\u0275text"](3,"From the home screen, select "),i["\u0275\u0275elementStart"](4,"strong"),i["\u0275\u0275text"](5,"Menu > Partners > TrainingPeaks > Link Account"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"li"),i["\u0275\u0275text"](7,"Login to your TrainingPeaks account "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"li"),i["\u0275\u0275text"](9,"Accept the permissions requested, select Allow and Done "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var lN=function(){function e(){this.showOverview=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-trainingpeaks"]],decls:15,vars:3,consts:[[1,"main-menu-section-heading"],[1,"title"],[1,"sectionStructure"],["loading","lazy","src","../../static/img/icons/partnerTrainingPeaksIcon.png","alt","TrainingPeaks",2,"float","right","margin","10px"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow","alt","Open Section",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow","alt","Close Section",4,"ngIf"],[1,"header-view-header"],["style","clear:both;",4,"ngIf"],["src","/static/img/icons/down_arrow_gray.png","alt","Open Section",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png","alt","Close Section",1,"openArrow"],[2,"clear","both"],[1,"list-spacing"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275elementStart"](2,"h4",1),i["\u0275\u0275text"](3,"TrainingPeaks"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",2),i["\u0275\u0275element"](5,"p"),i["\u0275\u0275element"](6,"img",3),i["\u0275\u0275elementStart"](7,"p"),i["\u0275\u0275text"](8,"Link your Fitdigits account with TrainingPeaks, and you will be able to see your Fitdigits calories count towards your daily allowance from TrainingPeaks."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"div",4),i["\u0275\u0275listener"]("click",function(){return t.showOverview=!t.showOverview}),i["\u0275\u0275template"](10,aN,1,0,"img",5),i["\u0275\u0275template"](11,oN,1,0,"img",6),i["\u0275\u0275elementStart"](12,"div",7),i["\u0275\u0275text"](13," Linking TrainingPeaks "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,sN,10,0,"div",8),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](10),i["\u0275\u0275property"]("ngIf",!t.showOverview),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.showOverview),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",t.showOverview))},directives:[y.NgIf],styles:[""]}),e}(),cN=function(){function e(){}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-advanced-charts-zones-analysis"]],decls:2,vars:0,template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"p"),i["\u0275\u0275text"](1,"advanced-charts-zones-analysis works!"),i["\u0275\u0275elementEnd"]())},styles:[""]}),e}(),dN=function(){function e(){}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-zones-complete"]],decls:13,vars:6,consts:[[1,"sectionStructure"],[1,"zonce-calcs-container"],[1,"clear-both"],["src","../../static/img/party_icon.png","alt","Link successful",2,"margin-right","10px"],[1,"clear-both",2,"margin-top","40px"],["routerLink","/zones"],["src","../../static/img/fitdigits-logo-md.png",2,"margin-top","40px","width","100px"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275elementStart"](2,"h2"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](5,"div",2),i["\u0275\u0275element"](6,"img",3),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275elementStart"](8,"a",5),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](11,"div",2),i["\u0275\u0275element"](12,"img",6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,2,"ROOT.Calculations Complete")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](10,4,"ROOT.View Zones")))},directives:[S.f],pipes:[M.c],styles:[".zonce-calcs-container[_ngcontent-%COMP%]{text-align:center;margin-top:60px}"]}),e}(),uN=function(){function e(e,t){this.meta=e,this.ThemeService=t,this.meta.updateTag({name:"description",content:"How fit are you? Take the 2 minute Heart Rate Recovery test to measure your fitness level."}),this.meta.addTags([{name:"keywords",content:"cardio test,heart,heart rate,heart rate recovery,hr recovery,hrm recovery,measure recovery,my recovery,recovery,recovery test"}]),window.prerenderReady=!0}return e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](a.Meta),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-two-minute-recovery-fitness-test"]],decls:142,vars:3,consts:[[1,"main-menu-section-heading"],["routerLink","/support"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"header-view",2,"clear","both"],[1,"header-view-header"],[1,"support-content",2,"clear","both"],["href","http://my.fitdigits.com/resting-heart-rates.html"],["href","http://my.fitdigits.com/fitness-assessments.html"],["href","https://en.wikipedia.org/wiki/Bruce_protocol"],["href","http://www.enhancedmedicalcare.com/2013/01/20/improve-heart-health-by-knowing-your-recovery-heart-rate/"],[2,"clear","both"],["src","/static/img/recovery-169x300.png","alt","2 minute heart rate recovery",2,"margin-left","10px","float","right"],[1,"clear-both"],[1,"zone-table","float-right"],[2,"width","100px"],["colspan","2"],["href","https://my.fitdigits.com/why-personal-heart-rate-zones.html"],["href","https://my.fitdigits.com/fitness-assessments.html"],[1,"zone-table","float-left"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",1),i["\u0275\u0275element"](2,"img",2),i["\u0275\u0275elementStart"](3,"strong"),i["\u0275\u0275elementStart"](4,"h4",3),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"div",4),i["\u0275\u0275element"](8,"p"),i["\u0275\u0275elementStart"](9,"div",5),i["\u0275\u0275elementStart"](10,"div",6),i["\u0275\u0275text"](11," How Fit Are You? Take the 2 Minute Heart Rate Recovery Test "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"div",7),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14," Heart rate recovery is a great way to assess your fitness level; the quicker your heart rate recovers, the more fit your heart and body is. It is one of those factors like "),i["\u0275\u0275elementStart"](15,"a",8),i["\u0275\u0275text"](16,"Resting Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](17," and "),i["\u0275\u0275elementStart"](18,"a",9),i["\u0275\u0275text"](19,"Fitness Assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](20," that can tell you a lot about your body and fitness. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"p"),i["\u0275\u0275text"](22," The original idea for the recovery had it's roots in the "),i["\u0275\u0275elementStart"](23,"a",10),i["\u0275\u0275text"](24,"Bruce Protocol"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](25,", which basically takes a short but stressful treadmill test and was able to see a correlation between how fast the heart recovered and how fit or potentially unfit the subjects cardiovascular system. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](26,"p"),i["\u0275\u0275text"](27," We've found over the years that endurance or low effort activities have very different recovery rates. We enjoy measuring our recovery after a good hard workout, but for general informational purposes only. See below for a sample test and generalized results using the 2 minute recovery from "),i["\u0275\u0275elementStart"](28,"a",11),i["\u0275\u0275text"](29," Enhanced Medical Care"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](30,". "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"h3"),i["\u0275\u0275text"](32,"Running the Heart Rate Recovery In-App Feature"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](33,"p",12),i["\u0275\u0275element"](34,"img",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"p"),i["\u0275\u0275text"](36," When your workout is paused (while wearing a heart rate monitor), instead of tapping End Workout, tap Recovery. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"p"),i["\u0275\u0275text"](38," Fitdigits will begin a 2:00 minute countdown. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"p"),i["\u0275\u0275text"](40," Stop your activity and focus on breathing, relaxing and bringing your heart rate down. Take long (slow) deep breaths, breath through your nose and relax. Watch your recovery on the chart which will show how many beats your heart rate has slowed since the start of the recovery period. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"p"),i["\u0275\u0275text"](42,' After 2 minutes, Fitdigits apps will display your recovery results including the percent of recovery by minutes. In the example, my heart rate recovered 15% or 20 beats per minute in the first minute, only halfway through recovery. By the end of the recovery, my heart rate was down to 105, a total drop of 28 BPM, or 21%. These results generally show a healthy recovery. According to the test published below, that puts me in the "Your biological age is about the same as your calendar age" category. I\'ll take that, but try to improve as well. '),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"h3",14),i["\u0275\u0275text"](44,"Enhanced Medical Care Heart Rate Recovery Test"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"table",15),i["\u0275\u0275elementStart"](46,"tr"),i["\u0275\u0275elementStart"](47,"td",16),i["\u0275\u0275text"](48," Age "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"td"),i["\u0275\u0275text"](50," Target Zone 2-Zone 3 BPM Range "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](51,"tr"),i["\u0275\u0275elementStart"](52,"td"),i["\u0275\u0275text"](53," 20-29 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](54,"td"),i["\u0275\u0275text"](55," 120-160 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](56,"tr"),i["\u0275\u0275elementStart"](57,"td"),i["\u0275\u0275text"](58," 30-39 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](59,"td"),i["\u0275\u0275text"](60," 114-152 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](61,"tr"),i["\u0275\u0275elementStart"](62,"td"),i["\u0275\u0275text"](63," 40-49 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](64,"td"),i["\u0275\u0275text"](65," 108-144 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](66,"tr"),i["\u0275\u0275elementStart"](67,"td"),i["\u0275\u0275text"](68," 50-59 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](69,"td"),i["\u0275\u0275text"](70," 102-136 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](71,"tr"),i["\u0275\u0275elementStart"](72,"td"),i["\u0275\u0275text"](73," 60-69 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](74,"td"),i["\u0275\u0275text"](75," 96-128 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](76,"tr"),i["\u0275\u0275elementStart"](77,"td"),i["\u0275\u0275text"](78," 70-79 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](79,"td"),i["\u0275\u0275text"](80," 90-120 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](81,"tr"),i["\u0275\u0275elementStart"](82,"td"),i["\u0275\u0275text"](83," 80-89 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](84,"td"),i["\u0275\u0275text"](85," 84-112 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](86,"tr"),i["\u0275\u0275elementStart"](87,"td"),i["\u0275\u0275text"](88," 90-99 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](89,"td"),i["\u0275\u0275text"](90," 78-104 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](91,"tr"),i["\u0275\u0275elementStart"](92,"td"),i["\u0275\u0275text"](93," 100+ "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](94,"td"),i["\u0275\u0275text"](95," 72-96 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](96,"tr"),i["\u0275\u0275elementStart"](97,"td",17),i["\u0275\u0275elementStart"](98,"a",18),i["\u0275\u0275text"](99," Click here"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](100," to see our rant on how off 220-Age can be for heart rate zones, and how to make them better with "),i["\u0275\u0275elementStart"](101,"a",19),i["\u0275\u0275text"](102,"Fitness Assessments"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](103,". "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](104,"p"),i["\u0275\u0275elementStart"](105,"a",11),i["\u0275\u0275text"](106,"Enhanced Medical Care"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](107," offers a good guide to a healthy recovery: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](108,"p"),i["\u0275\u0275text"](109," Do any exercise you want to until you hit Zone 2 through Zone 3 (60%-80%), that is your Target BPM before starting recovery. Then tap/swipe for pause, then tap Recovery. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](110,"p"),i["\u0275\u0275text"](111," Subtract your 2-minute heart rate from the heart rate you took immediately after exercising. The faster your heart rate recovers (or slows down ) the fitter and healthier your heart. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](112,"p"),i["\u0275\u0275text"](113," If the difference between the two numbers is: "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](114,"table",20),i["\u0275\u0275elementStart"](115,"tr"),i["\u0275\u0275elementStart"](116,"td",16),i["\u0275\u0275text"](117," < 22 BPM "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](118,"td"),i["\u0275\u0275text"](119," Your biological age is slightly older than your calendar age. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](120,"tr"),i["\u0275\u0275elementStart"](121,"td"),i["\u0275\u0275text"](122," 22-52 BPM "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](123,"td"),i["\u0275\u0275text"](124," Your biological age is about the same as your calendar age. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](125,"tr"),i["\u0275\u0275elementStart"](126,"td"),i["\u0275\u0275text"](127," 53-58 BPM "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](128,"td"),i["\u0275\u0275text"](129," Your biological age is slightly younger than your calendar age. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](130,"tr"),i["\u0275\u0275elementStart"](131,"td"),i["\u0275\u0275text"](132," 59-65 BPM "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](133,"td"),i["\u0275\u0275text"](134," Your biological age is moderately younger than your calendar age. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](135,"tr"),i["\u0275\u0275elementStart"](136,"td"),i["\u0275\u0275text"](137," 66+ BPM "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](138,"td"),i["\u0275\u0275text"](139," Your biological age is a lot younger than your calendar age. "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](140,"p",14),i["\u0275\u0275text"](141,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,1,"ROOT.The 2 Minute Heart Rate Recovery Test")))},directives:[S.f],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",".zone-table[_ngcontent-%COMP%]{width:400px;margin:10px;padding:10px;border:1px solid}.zone-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:5px;border:1px solid}"]}),e}();function pN(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",6),i["\u0275\u0275elementStart"](1,"div",7),i["\u0275\u0275elementStart"](2,"button",8),i["\u0275\u0275elementStart"](3,"mat-icon"),i["\u0275\u0275text"](4,"more_vert"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"mat-menu",null,9),i["\u0275\u0275elementStart"](7,"button",10),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"button",11),i["\u0275\u0275elementStart"](11,"div",12),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"button",11),i["\u0275\u0275elementStart"](15,"div",12),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"button",10),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"a",13),i["\u0275\u0275element"](22,"img",14),i["\u0275\u0275elementStart"](23,"strong"),i["\u0275\u0275elementStart"](24,"h4",15),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275reference"](6);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("matMenuTriggerFor",n),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](9,6,"ROOT.Coach Chat")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](13,8,"ROOT.Settings")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](17,10,"ROOT.Show All Coaches")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](20,12,"ROOT.Interview")," "),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](26,14,"ROOT.My Coach"))}}function hN(e,t){1&e&&i["\u0275\u0275element"](0,"app-login-notify")}function mN(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"slice"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind3"](2,1,n.prompt_request_title,0,80))}}function gN(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1,"Cheers"),i["\u0275\u0275elementEnd"]())}function fN(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"slice"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind3"](2,1,n.prompt_results,0,80))}}function vN(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",27),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](3,"br"),i["\u0275\u0275elementStart"](4,"p",28),i["\u0275\u0275text"](5),i["\u0275\u0275element"](6,"br"),i["\u0275\u0275text"](7),i["\u0275\u0275element"](8,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.message),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" Trigger Value: ",n.trigger_value,""),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" Confetti: ",n.confetti,"")}}function yN(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,vN,9,3,"div",26),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.prompt_results)}}function bN(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",29),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.prompt_results," ")}}function xN(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",29),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275text"](2,"Request:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",n.prompt_request,"")}}function _N(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",29),i["\u0275\u0275elementStart"](1,"strong"),i["\u0275\u0275text"](2,"Reference:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](3),i["\u0275\u0275element"](4,"br"),i["\u0275\u0275elementStart"](5,"strong"),i["\u0275\u0275text"](6,"Workout ID:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](7,"\xa0 "),i["\u0275\u0275elementStart"](8,"a",30),i["\u0275\u0275text"](9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](10,"br"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",n.prompt_reference,""),i["\u0275\u0275advance"](5),i["\u0275\u0275propertyInterpolate1"]("routerLink","/activity/",n.workout_id,"/detail"),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.workout_id)}}function wN(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-expansion-panel"),i["\u0275\u0275elementStart"](1,"mat-expansion-panel-header"),i["\u0275\u0275elementStart"](2,"div",22),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"date"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",23),i["\u0275\u0275template"](6,mN,3,5,"span",3),i["\u0275\u0275template"](7,gN,2,0,"span",3),i["\u0275\u0275template"](8,fN,3,5,"span",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"mat-panel-description",24),i["\u0275\u0275template"](10,yN,2,1,"div",3),i["\u0275\u0275template"](11,bN,2,1,"div",25),i["\u0275\u0275template"](12,xN,5,1,"div",25),i["\u0275\u0275elementStart"](13,"strong"),i["\u0275\u0275text"](14,"Prompt Type:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](15),i["\u0275\u0275element"](16,"br"),i["\u0275\u0275elementStart"](17,"strong"),i["\u0275\u0275text"](18,"Log ID:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](19),i["\u0275\u0275element"](20,"br"),i["\u0275\u0275elementStart"](21,"strong"),i["\u0275\u0275text"](22,"Coach:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](23),i["\u0275\u0275element"](24,"br"),i["\u0275\u0275elementStart"](25,"strong"),i["\u0275\u0275text"](26,"Time Stamp:"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](27),i["\u0275\u0275pipe"](28,"date"),i["\u0275\u0275element"](29,"br"),i["\u0275\u0275template"](30,_N,11,3,"div",25),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind2"](4,12,n.creation_date,"MMM d, y, h:mm:ss a"),"\xa0\xa0"),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.prompt_request_title),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","cheer"==r.category),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","analyze"==r.category||"greet"==r.category),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",a.isArray(n.prompt_results)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.isString(n.prompt_results)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",a.isString(n.prompt_request)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",n.prompt_type,""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",n.log_id,""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",n.coach,""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind2"](28,15,n.time_stamp,"MMM d, y, h:mm:ss a"),""),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",a.isString(n.prompt_reference))}}function SN(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-accordion"),i["\u0275\u0275template"](1,wN,31,18,"mat-expansion-panel",20),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",r.filteredMessagesByCategory[n.category])}}function CN(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-expansion-panel"),i["\u0275\u0275elementStart"](1,"mat-expansion-panel-header",21),i["\u0275\u0275elementStart"](2,"h3"),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,SN,2,1,"mat-accordion",3),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",n.category," (",n.count,")"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",(null==r.filteredMessagesByCategory[n.category]?null:r.filteredMessagesByCategory[n.category].length)>0)}}function kN(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-accordion",19),i["\u0275\u0275template"](1,CN,5,3,"mat-expansion-panel",20),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.categoriesWithCounts)}}function ON(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275element"](1,"app-datepicker"),i["\u0275\u0275element"](2,"img",17),i["\u0275\u0275template"](3,kN,2,1,"mat-accordion",18),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("src",n.smart_coach_profile_image,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay&&n.coachChatList.length>0)}}var EN=["signup","activities","mybest","myassessments","myroutines","hr-analysis","importexport","activity/new","daiilyactivity","calendar","goals","healthvitals","healthvitals/bmr","healthvitals/lthr","healthvitals/fitness-level","weights","restingheartrate","sleep","bloodpressure","partners","inbox","home","welcome","members","member","memberships","members","livetracking","activity-share","compatibility","maximum-heart-rate.html","resting-heart-rates.html","cardio-fitness.html","personalized-heart-rate-zones.html","fitness-assessments.html","privacy-policy.html","terms-and-conditions.html","becolorado/becolorado-participant-agreement.html","becolorado-participant-agreement.html","spinning/spinning-terms-and-conditions.html","promos","activity","support","support.html","fitness-sensors","spinning/spinning-privacy-policy.html","fitness-sensors/apple-watch","routes","routines/overview","overview","dashboards/overview","overview/audio-coaching","livetracking/overview","member/overview","overview/customizing-activities","overview/import-export","overview/managing-activities","overview/maps-and-graphs","overview/import-export","zones/overview","profile/overview","daily-activity/overview","overview/calories","overview/indoor-exercise","overview/syncing","partners/apple-health","partners/google-fit","partners/fitbit","partners/garmin","partners/myfitnesspal","teams/overview","youtube/overview","groups","announcements","smart-coach","review","profile/delete","partners/runkeeper","partners/strava","partners/trainingpeaks","how-fit-are-you-take-the-2-min-recovery-test"],MN=[{path:"",component:Ab,pathMatch:"full",data:{title:"Welcome"}},{path:"spinning/spinning-privacy-policy.html",component:Wk,pathMatch:"full",data:{title:"MAD DOGG ATHLETICS, INC. AND FITDIGITS, INC Privacy Policy"}},{path:"welcome",component:Ab,pathMatch:"full",data:{title:"Welcome"}},{path:"home",loadChildren:function(){return n.e(21).then(n.bind(null,"ct+p")).then(function(e){return e.HomeModule})},pathMatch:"full",data:{title:"Fitness and Daily Activity | Fitdigits"}},{path:"login",component:ce.b,pathMatch:"full",data:{title:"Welcome"}},{path:"registration?invite=:invitecode",component:Ul,pathMatch:"full",data:{title:"Invitation Code"}},{path:"registration",component:Ul,pathMatch:"full",data:{title:"Registration | Fitdigits"}},{path:"signup",component:v_,pathMatch:"full",data:{title:"Sign Up | Fitdigits"}},{path:"importexport",component:cg,pathMatch:"full",data:{title:"Import / Export Workouts | Fitdigits"}},{path:"export",component:cg,pathMatch:"full",data:{title:"Export Workouts | Fitdigits"}},{path:"member/overview",component:DT,pathMatch:"full",data:{title:"Friends and Social Networking Overview | Fitdigits"}},{path:"member/:custom_uri",component:Hn,pathMatch:"full",data:{title:"Member Profile | Fitdigits"}},{path:"profile",component:vb,pathMatch:"full",data:{title:"Member Profile | Fitdigits"}},{path:"profile/:eventType",component:vb,pathMatch:"full",data:{title:"Member Profile | Fitdigits"}},{path:"user-profile/permissions",component:ny,pathMatch:"full",data:{title:"Member Permissions | Fitdigits"}},{path:"myphotos",component:Qb,pathMatch:"full",data:{title:"Photos | Fitdigits"}},{path:"dashboard/user-profile-photo",component:ex,pathMatch:"full",data:{title:"Profile Photo | Fitdigits"}},{path:"workout_image_upload",component:E_,pathMatch:"full",data:{title:"Upload Images | Fitdigits"}},{path:"changepassword",component:qb,pathMatch:"full",data:{title:"Change Password | Fitdigits"}},{path:"set-goal",component:yu,pathMatch:"full",data:{title:"Set Goal | Fitdigits"}},{path:"set-goal/:goalType",component:yu,pathMatch:"full",data:{title:"Set Goal | Fitdigits"}},{path:"goals",component:yh,pathMatch:"full",data:{title:"Goals | Fitdigits"}},{path:"newgoals",component:yh,pathMatch:"full",data:{title:"Goals | Fitdigits"}},{path:"goals/:goalId",component:yh,pathMatch:"full",data:{title:"Goal Details | Fitdigits"}},{path:"newgoals/:goalId",component:yh,pathMatch:"full",data:{title:"Goal Details | Fitdigits"}},{path:"healthvitals",loadChildren:function(){return Promise.all([n.e(0),n.e(3),n.e(2),n.e(4),n.e(7),n.e(15)]).then(n.bind(null,"oB4Q")).then(function(e){return e.HealthVitalsModule})},pathMatch:"full",data:{title:"Health Vitals | Fitdigits"}},{path:"healthvitals/:categoryType",loadChildren:function(){return Promise.all([n.e(0),n.e(3),n.e(2),n.e(4),n.e(7),n.e(15)]).then(n.bind(null,"oB4Q")).then(function(e){return e.HealthVitalsModule})},pathMatch:"full",data:{title:"Health Vitals | Fitdigits"}},{path:"sleep",loadChildren:function(){return Promise.all([n.e(0),n.e(3),n.e(18)]).then(n.bind(null,"2oCR")).then(function(e){return e.SleepModule})},pathMatch:"full",data:{title:"Sleep | Fitdigits"}},{path:"restingheartrate",loadChildren:function(){return Promise.all([n.e(0),n.e(17)]).then(n.bind(null,"89Z5")).then(function(e){return e.RestingHeartModuleModule})},pathMatch:"full",data:{title:"Resting Heart Rate | Fitdigits"}},{path:"bloodpressure",loadChildren:function(){return Promise.all([n.e(0),n.e(2),n.e(14)]).then(n.bind(null,"Cj11")).then(function(e){return e.BloodPressureModule})},pathMatch:"full",data:{title:"Blood Pressure | Fitdigits"}},{path:"vo2Max",loadChildren:function(){return Promise.all([n.e(0),n.e(4),n.e(19)]).then(n.bind(null,"4DBw")).then(function(e){return e.Vo2maxModule})},pathMatch:"full",data:{title:"VO2 Max | Fitdigits"}},{path:"weights",loadChildren:function(){return Promise.all([n.e(0),n.e(3),n.e(2),n.e(4),n.e(7),n.e(20)]).then(n.bind(null,"mMhw")).then(function(e){return e.WeightModule})},pathMatch:"full",data:{title:"Weight | Fitdigits"}},{path:"member",component:j_,pathMatch:"full",data:{title:"Member | Fitdigits"}},{path:"find_friends",component:pt,pathMatch:"full",data:{title:"Find Friends | Fitdigits"}},{path:"feed",component:zt,pathMatch:"full",data:{title:"Friend Feed | Fitdigits"}},{path:"routines_search",component:Ir,pathMatch:"full",data:{title:"Search Structured Workouts | Fitdigits"}},{path:"library",component:Ir,pathMatch:"full",data:{title:"Search Structured Workouts | Fitdigits"}},{path:"library/:categories",component:Ir,pathMatch:"full",data:{title:"Search Structured Workouts | Fitdigits"}},{path:"routines_search/:categories",component:Ir,pathMatch:"full",data:{title:"Search Structured Workouts | Fitdigits"}},{path:"routines_search/:routineHhc/detail",component:Yk,pathMatch:"full",data:{title:"Search Structured Workouts | Fitdigits"}},{path:"video_search",component:N_,pathMatch:"full",data:{title:"Search Videos | Fitdigits"}},{path:"activity",loadChildren:function(){return n.e(5).then(n.bind(null,"2288")).then(function(e){return e.ActivityDetailModule})},data:{title:"Activity Detail | Fitdigits"}},{path:"myassessments",component:Bv,pathMatch:"full",data:{title:"Fitness Assessments | Fitdigits"}},{path:"myroutines",component:OS,pathMatch:"full",data:{title:"Structured Workouts | Fitdigits"}},{path:"completedroutines",component:SC,pathMatch:"full",data:{title:"Structured Workouts | Fitdigits"}},{path:"myroutines/:routineId",component:A_.CreateRoutineComponent,pathMatch:"full",data:{title:"Create Structured Workout | Fitdigits"}},{path:"myroutines/:routineHhc/detail",component:Yk,pathMatch:"full",data:{title:"Search Structured Workouts | Fitdigits"}},{path:"myroutines/:routineId/share",component:MS,pathMatch:"full",data:{title:"Share Structured Workout | Fitdigits"}},{path:"myroutines/create",component:A_.CreateRoutineComponent,pathMatch:"full",data:{title:"Create Structured Workout | Fitdigits"}},{path:"hr-analysis",loadChildren:function(){return Promise.all([n.e(0),n.e(16)]).then(n.bind(null,"cvLe")).then(function(e){return e.HrAnalysisModule})},pathMatch:"full",data:{title:"Heart Rate Analysis | Fitdigits"}},{path:"activity-share",loadChildren:function(){return Promise.all([n.e(5),n.e(8)]).then(n.bind(null,"A4Za")).then(function(e){return e.ActivityShareModule})},data:{title:"Fitdigits Activity | Fitdigits"}},{path:"activities",component:qI,pathMatch:"full",data:{title:"Activities | Fitdigits"}},{path:"mybest",component:tf,pathMatch:"full",data:{title:"My Best - Personal Records | Fitdigits"}},{path:"scheduling",component:Dm,pathMatch:"full",data:{title:"Scheduling | Fitdigits"}},{path:"create_schedule",component:Lm,pathMatch:"full",data:{title:"Scheduling | Fitdigits"}},{path:"edit_schedule/:scheduleId",component:Lm,pathMatch:"full",data:{title:"Scheduling | Fitdigits"}},{path:"dailyactivity",component:kv,pathMatch:"full",data:{title:"Daily Activity | Fitdigits"}},{path:"daily",component:QE,pathMatch:"full",data:{title:"Daily | Fitdigits"}},{path:"calendar",loadChildren:function(){return n.e(9).then(n.bind(null,"O51e")).then(function(e){return e.CalendarModule})},data:{title:"Calendar | Fitdigits"}},{path:"activities-compare/:activityIds",component:jo,pathMatch:"full",data:{title:"Compare Activities | Fitdigits"}},{path:"inboxcompose/:recipient",component:Pe,pathMatch:"full",data:{title:"Compose Message | Fitdigits"}},{path:"inboxcompose",component:Pe,pathMatch:"full",data:{title:"Compose Message | Fitdigits"}},{path:"inbox",component:Cl,pathMatch:"full",data:{title:"Inbox | Fitdigits"}},{path:"join-team",component:Vo,pathMatch:"full",data:{title:"Join Team or Group | Fitdigits"}},{path:"create-team",component:zb,pathMatch:"full",data:{title:"Create Team or Group | Fitdigits"}},{path:"groups",loadChildren:function(){return Promise.resolve().then(n.bind(null,"zOVB")).then(function(e){return e.GroupsModule})},data:{title:"My Teams and Trainers | Fitdigits"}},{path:"teams/overview",component:iA,pathMatch:"full",data:{title:"My Teams and Trainers | Fitdigits"}},{path:"teams/overview/:categoryType",component:iA,pathMatch:"full",data:{title:"My Teams and Trainers | Fitdigits"}},{path:"groups/:groupId/livetracking",component:Jd,pathMatch:"full",data:{title:"LiveTracking | Fitdigits"}},{path:"partners",component:of.a,pathMatch:"full",data:{title:"Partners | Fitdigits"}},{path:"support",component:ZP,pathMatch:"full",data:{title:"Support | Fitdigits"}},{path:"support.html",component:ZP,pathMatch:"full",data:{title:"Support | Fitdigits"}},{path:"support/:categoryType",component:ZP,pathMatch:"full",data:{title:"Support for Apple / iOS / Android | Fitdigits"}},{path:"livetracking/overview",component:TT,pathMatch:"full",data:{title:"LiveTracking and LiveCheers Overview | Fitdigits"}},{path:"livetracking",component:Jd,pathMatch:"full",data:{title:"LiveTracking | Fitdigits"}},{path:"livetracking/:livetrackId",component:Jd,pathMatch:"full",data:{title:"LiveTracking - Personal | Fitdigits"}},{path:"zonedefaults",component:uM,pathMatch:"full",data:{title:"Zonesets | Fitdigits"}},{path:"zones",component:Ib,pathMatch:"full",data:{title:"Zone Management | Fitdigits"}},{path:"zones/complete",component:dN,pathMatch:"full",data:{title:"Zone calculations complete"}},{path:"zones/:categoryType",component:Ib,pathMatch:"full",data:{title:"Zone Management | Fitdigits"}},{path:"promos",component:p_,pathMatch:"full",data:{title:"Join Today! | Fitdigits"}},{path:"cuhp-move-goal",component:p_,pathMatch:"full",data:{title:"Move Goals | CUHP"}},{path:"cardio-fitness.html",component:tx,pathMatch:"full",data:{title:"Cardio Fitness & Heart Rate Training"}},{path:"compatibility.html",component:nx,pathMatch:"full",data:{title:"Compatible Fitness Sensors"}},{path:"compatibility",component:nx,pathMatch:"full",data:{title:"Compatible Fitness Sensors"}},{path:"memberships",component:px,pathMatch:"full",data:{title:"Membership Benefits | Fitdigits"}},{path:"personalized-heart-rate-zones.html",component:ox,pathMatch:"full",data:{title:"Determining Your Heart Rate Training Zones"}},{path:"resting-heart-rates.html",component:hx,pathMatch:"full",data:{title:"Resting Heart Rate (RHR) - Why Measure It?"}},{path:"maximum-heart-rate.html",component:mx,pathMatch:"full",data:{title:"Calculate your Maximum Heart Rate by Age"}},{path:"fitness-assessments.html",component:zx,pathMatch:"full",data:{title:"Fitdigits Personal Fitness | Cardio and Health Assessments"}},{path:"privacy-policy.html",component:Gx,pathMatch:"full",data:{title:"Privacy Policy | Fitdigits"}},{path:"privacy-policy",component:Gx,pathMatch:"full",data:{title:"Privacy Policy | Fitdigits"}},{path:"terms-and-conditions.html",component:Kx,pathMatch:"full",data:{title:"Terms & Conditions | Fitdigits"}},{path:"terms-and-conditions",component:Kx,pathMatch:"full",data:{title:"Terms & Conditions | Fitdigits"}},{path:"becolorado/becolorado-participant-agreement.html",component:x_,pathMatch:"full",data:{title:"CU Health Plan. Move. Participant Agreement"}},{path:"becolorado-participant-agreement.html",component:x_,pathMatch:"full",data:{title:"CU Health Plan. Move. Participant Agreement"}},{path:"youtube",component:_E,pathMatch:"full",data:{title:"YouTube Workouts - Fitdigits"}},{path:"youtube/create",loadChildren:function(){return Promise.resolve().then(n.bind(null,"0nor")).then(function(e){return e.CreateRoutineComponent})},pathMatch:"full",data:{title:"YouTube Workouts - Fitdigits"}},{path:"routes",component:_P,pathMatch:"full",data:{title:"Routes - creating and tracking | Fitdigits"}},{path:"routines/overview",component:wP,pathMatch:"full",data:{title:"Routines - creating and tracking | Fitdigits"}},{path:"overview",component:ZP,pathMatch:"full",data:{title:"Getting Started | iCardio | Fitdigits"}},{path:"dashboards/overview",component:JP,pathMatch:"full",data:{title:"Dashboard Custimization | iCardio | Fitdigits"}},{path:"overview/audio-coaching",component:ST,pathMatch:"full",data:{title:"Workout Audio Coaching | iCardio | Fitdigits"}},{path:"overview/audio-coaching/:categoryType",component:ST,pathMatch:"full",data:{title:"Workout Audio Coaching | iCardio | Fitdigits"}},{path:"overview/customizing-activities",component:JT,pathMatch:"full",data:{title:"Customizing Activity Feedback | iCardio | Fitdigits"}},{path:"overview/customizing-activities/:categoryType",component:JT,pathMatch:"full",data:{title:"Customizing Activity Feedback | iCardio | Fitdigits"}},{path:"overview/import-export",component:bg,pathMatch:"full",data:{title:"Importing or Exporting Data | iCardio | Fitdigits"}},{path:"overview/managing-activities",component:mD,pathMatch:"full",data:{title:"Managing your Activities | iCardio | Fitdigits"}},{path:"overview/maps-and-graphs",component:MD,pathMatch:"full",data:{title:"Working with Maps and Graphs | iCardio | Fitdigits"}},{path:"overview/activity-launch-pad",component:BD,pathMatch:"full",data:{title:"Working with Activities | iCardio | Fitdigits"}},{path:"overview/calories",component:VD,pathMatch:"full",data:{title:"All about Calories | iCardio | Fitdigits"}},{path:"overview/indoor-exercise",component:SL,pathMatch:"full",data:{title:"Indoor Exercising with iCardio | Fitdigits"}},{path:"overview/advanced-heart-rate-analysis",component:rA,pathMatch:"full",data:{title:"Advanced Heart Rate Analysis with iCardio | Fitdigits"}},{path:"overview/syncing",component:EL,pathMatch:"full",data:{title:"Syncing issues with iCardio | Fitdigits"}},{path:"overview/:categoryType",component:ZP,pathMatch:"full",data:{title:"Overview for Fitdigits Apps"}},{path:"daily-activity/overview",component:UD,pathMatch:"full",data:{title:"Steps and Daily Activity | iCardio | Fitdigits"}},{path:"profile/overview",component:oL,pathMatch:"full",data:{title:"Profile Settings & Management | iCardio | Fitdigits"}},{path:"profile/overview/:categoryType",component:oL,pathMatch:"full",data:{title:"Profile Settings & Management | iCardio | Fitdigits"}},{path:"zones/overview",component:bL,pathMatch:"full",data:{title:"Zone Settings & Management | iCardio | Fitdigits"}},{path:"zones/overview/:zoneType",component:bL,pathMatch:"full",data:{title:"Zone Settings & Management | iCardio | Fitdigits"}},{path:"partners/apple-health",component:UL,pathMatch:"full",data:{title:"Apple Health and iCardio | Fitdigits"}},{path:"partners/google-fit",component:aR,pathMatch:"full",data:{title:"Google Fit and iCardio | Fitdigits"}},{path:"partners/fitbit",component:yR,pathMatch:"full",data:{title:"Fitbit and iCardio | Fitdigits"}},{path:"partners/garmin",component:wR,pathMatch:"full",data:{title:"Garmin and iCardio | Fitdigits"}},{path:"partners/myfitnesspal",component:OR,pathMatch:"full",data:{title:"Myfitnesspal and iCardio | Fitdigits"}},{path:"fitness-sensors/cadence",component:TR,pathMatch:"full",data:{title:"Cadence Sensors & Cycling Cadence Tracking | Fitdigits"}},{path:"fitness-sensors/footpods",component:HR,pathMatch:"full",data:{title:"Footpod Sensors & Steps Tracking | Fitdigits"}},{path:"fitness-sensors/heart-rate-monitors",component:fj,pathMatch:"full",data:{title:"Heart Rate Monitors & Heart Rate Tracking | Fitdigits"}},{path:"fitness-sensors/heart-rate-monitors/:heartType",component:fj,pathMatch:"full",data:{title:"Heart Rate Monitors & Heart Rate Tracking | Fitdigits"}},{path:"fitness-sensors/location-and-gps",component:Oj,pathMatch:"full",data:{title:"Location and GPS Tracking | Fitdigits"}},{path:"fitness-sensors/location-and-gps/:gpsType",component:Oj,pathMatch:"full",data:{title:"Location and GPS Tracking | Fitdigits"}},{path:"fitness-sensors/power-meters",component:Tj,pathMatch:"full",data:{title:"Power Meters & Power Sensors - Watts Tracking | Fitdigits"}},{path:"fitness-sensors/speed",component:Aj,pathMatch:"full",data:{title:"Speed Sensor Tracking | Fitdigits"}},{path:"fitness-sensors/speed-and-cadence",component:Hj,pathMatch:"full",data:{title:"Speed and Cadence Sensor Tracking | Fitdigits"}},{path:"fitness-sensors/apple-watch",loadChildren:function(){return n.e(13).then(n.bind(null,"LYfi")).then(function(e){return e.AppleWatchModule})},data:{title:"Apple Watch for Heart Rate Training & Tracking | Fitdigits"}},{path:"fitness-sensors/apple-watch/:categoryType",loadChildren:function(){return n.e(13).then(n.bind(null,"LYfi")).then(function(e){return e.AppleWatchModule})},data:{title:"Apple Watch for Heart Rate Training & Tracking | Fitdigits"}},{path:"fitness-sensors",component:rP,pathMatch:"full",data:{title:"Fitness Sensors - Bluetooth Heart Rate Monitors, Cadence and more | Fitdigits"}},{path:"fitness-sensors/:categoryType",component:rP,pathMatch:"full",data:{title:"Fitness Sensors - Bluetooth Heart Rate Monitors, Cadence and more | Fitdigits"}},{path:"youtube/overview",component:oA,pathMatch:"full",data:{title:"YouTube Workouts | Fitdigits"}},{path:"trackers",component:gF,pathMatch:"full",data:{title:"Trackers & Rituals | Fitdigits"}},{path:"announcements",component:bF,pathMatch:"full",data:{title:"Announcements | Fitdigits"}},{path:"announcements/:announcementId",component:bF,pathMatch:"full",data:{title:"Announcements | Fitdigits"}},{path:"smart-coach/history",component:function(){function e(e,t,n,i,r){this.ThemeService=e,this.PermissionsService=t,this.AccountService=n,this.dateService=i,this.daysBetween=r,this.isDarkTheme=!1,this.loading=!1,this.showLoadingOverlay=!1,this.no_coach=!0,this.coachChatList=[],this.startDate=null,this.endDate=null,this.filteredMessagesByCategory={},this.categoriesWithCounts=[]}return e.prototype.ngOnInit=function(){var e=this;this.showLoadingOverlay=!1,this.isDarkTheme=this.ThemeService.isDarkTheme,this.dateSubscription=this.dateService.dateRange.subscribe(function(t){e.startDate=t.startDate,e.endDate=t.endDate,e.numOfDays=e.daysBetween.transform(new Date(e.startDate),new Date(e.endDate)),e.listCoachHistory()}),this.getSmartCoach().then(function(){console.log(e.coach_account)})},e.prototype.getSmartCoach=function(){var e=this;return new Promise(function(t,n){e.showLoadingOverlay=!1,e.AccountService.getSmartCoach().subscribe(function(n){null==n.response.smart_coach?(e.smart_coach_profile_image="https://my.fitdigits.com/static/img/unknown-coach.png",e.no_coach=!0):(e.no_coach=!1,e.coach_name=n.response.coach_name,e.coach_account=n.response.smart_coach,e.smart_coach_profile_image=n.response.smart_coach_profile_image,e.coach_persona=n.response.coach_persona,null!=n.response.meta_data&&(e.favorite_food=n.response.meta_data.favorite_food,e.favorite_movie=n.response.meta_data.favorite_movie,e.favorite_music=n.response.meta_data.favorite_music,e.occupation=n.response.meta_data.occupation)),t(n)},function(e){n(e)})})},e.prototype.isArray=function(e){return Array.isArray(e)},e.prototype.isString=function(e){return"string"==typeof e},e.prototype.listCoachHistory=function(){var e=this;this.showLoadingOverlay=!0,this.coachChatList=[],this.filteredMessagesByCategory={},this.categoriesWithCounts=[],this.AccountService.listCoachHistory(this.startDate,this.endDate).subscribe(function(t){Object.keys(t.response).forEach(function(n){t.response[n].forEach(function(t){var i=Object(te.__assign)(Object(te.__assign)({},t),{category:n});e.coachChatList.push(i),e.filteredMessagesByCategory[n]||(e.filteredMessagesByCategory[n]=[]),e.filteredMessagesByCategory[n].push(i)})}),e.categoriesWithCounts=Object.keys(e.filteredMessagesByCategory).map(function(t){return{category:t,count:e.filteredMessagesByCategory[t].length}}),e.showLoadingOverlay=!1},function(t){console.error("Error loading coach history:",t),e.showLoadingOverlay=!1})},e.prototype.getUniqueCategories=function(e){if(!e||0===e.length)return[];var t=e.reduce(function(e,t){return e[t.category]||(e[t.category]=0),e[t.category]++,e},{});return Object.keys(t).map(function(e){return{category:e,count:t[e]}})},e.prototype.ngOnDestroy=function(){this.AccountService.isLoggedIn&&this.dateSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](xg.a),i["\u0275\u0275directiveInject"](B.w))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-coach-history"]],decls:10,vars:5,consts:[[1,"loading-overlay",3,"hidden"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[4,"ngIf"],["class","sectionStructure",4,"ngIf"],[1,"clear-both","float-left","full-width"],[1,"main-menu-section-heading"],[2,"float","right","margin-top","-8px"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item",""],["mat-menu-item","",2,"width","200px"],[1,"menu-button-icon","button-text"],["routerLink","/profile"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"sectionStructure"],[1,"profilePicture","margin-top-15","margin-bottom-15",3,"src"],["class","clear-both float-left",4,"ngIf"],[1,"clear-both","float-left"],[4,"ngFor","ngForOf"],[1,"smart-coach-list-item",2,"min-height","100px","height","unset !important"],[2,"width","128px","float","left"],[2,"float","left"],[2,"display","block","padding","10px"],["style","margin-bottom:20px;",4,"ngIf"],["style","margin: 10px 0px 0px 20px;",4,"ngFor","ngForOf"],[2,"margin","10px 0px 0px 20px"],[2,"text-align","right","margin-bottom","6px"],[2,"margin-bottom","20px"],[3,"routerLink"]],template:function(e,t){1&e&&(i["\u0275\u0275element"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,pN,27,16,"div",2),i["\u0275\u0275template"](3,hN,1,0,"app-login-notify",3),i["\u0275\u0275template"](4,ON,4,2,"div",4),i["\u0275\u0275text"](5," \xa0 "),i["\u0275\u0275element"](6,"div",5),i["\u0275\u0275text"](7," \xa0 "),i["\u0275\u0275element"](8,"br"),i["\u0275\u0275element"](9,"br"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.AccountService.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn))},directives:[y.NgClass,y.NgIf,k.b,gt.d,O.a,gt.a,gt.b,S.f,Yo.a,_g.a,Wo.a,y.NgForOf,Wo.c,Wo.f,Wo.e],pipes:[M.c,y.DatePipe,y.SlicePipe],styles:[""]}),e}(),pathMatch:"full",data:{title:"Smart Coach History | Fitdigits"}},{path:"smart-coach",component:lB,pathMatch:"full",data:{title:"Smart Coach | Fitdigits"}},{path:"smart-coach/:viewType",component:lB,pathMatch:"full",data:{title:"Smart Coach List | Fitdigits"}},{path:"review/:id/:year/:event",component:Bz,pathMatch:"full",data:{title:"Your Fitness in Review | Fitdigits"}},{path:"partners/linking",component:Xz,pathMatch:"full",data:{title:"Partner Linking | Fitdigits"}},{path:"partners/runkeeper",component:eN,pathMatch:"full",data:{title:"Runkeeper & Fitdigits"}},{path:"partners/strava",component:rN,pathMatch:"full",data:{title:"Strava & Fitdigits"}},{path:"partners/trainingpeaks",component:lN,pathMatch:"full",data:{title:"TrainingPeaks & Fitdigits"}},{path:"overview/advanced-charts-zones-analysis",component:cN,pathMatch:"full",data:{title:"Advanced Charts and Zones Analysis | Fitdigits"}},{path:"how-fit-are-you-take-the-2-min-recovery-test",component:uN,pathMatch:"full",data:{title:"How Fit Are You? Take the 2 Minute Heart Rate Recovery Test"}},{path:"site/:**",component:b_},{path:"proto/:**",component:b_},{path:"proto/cumove/:**",component:b_},{path:"**",component:y_.a}],IN=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({imports:[[S.g.forRoot(MN,{initialNavigation:"enabled",relativeLinkResolution:"legacy",scrollPositionRestoration:"enabled"})],S.g]}),e}(),PN=n("IfvR"),TN=(n("nyYc"),n("iYuL"),n("bpih"),n("tGlX"),n("ODXe")),DN=n("mCNh"),LN=n("LRne"),RN=n("EY2u"),jN=n("GyhO"),AN=n("pLZG"),FN=n("zp1y"),BN=n("Kqap"),zN=n("pxpQ"),NN=n("vkgz"),HN=n("UXun"),VN=n("OQgR"),YN=n("5+tZ"),WN=n("spgP"),GN=n("Wcq6"),UN=n.n(GN),qN=new i.InjectionToken("angularfire2.remoteConfig.settings"),ZN=new i.InjectionToken("angularfire2.remoteConfig.defaultConfig"),$N={strings:"asString",numbers:"asNumber",booleans:"asBoolean"},XN={numbers:0,booleans:!1,strings:void 0},KN=function(e,t){return new Proxy(e.pipe(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"strings";return Object(DN.a)(Object(he.a)(function(t){return t.reduce(function(t,n){return Object.assign(Object.assign({},t),Object(dB.a)({},n.key,"object"==typeof e?n[tH(e[n.key])]():n[$N[e]]()))},"object"==typeof e?e:{})}),Object(je.a)(function(e,t){return JSON.stringify(e)===JSON.stringify(t)}))}(t)),{get:function(n,i){return n[i]||e.pipe(Object(he.a)(function(e){return e.find(function(e){return e.key===i})}),Object(he.a)(function(e){return e?e[$N[t]]():XN[t]}),Object(je.a)())}})},JN=function(){function e(t,n){Object(xh.a)(this,e),this._source=t,this._value=n}return Object(_h.a)(e,[{key:"asBoolean",value:function(){return["1","true","t","y","yes","on"].indexOf(this._value.toLowerCase())>-1}},{key:"asString",value:function(){return this._value}},{key:"asNumber",value:function(){return Number(this._value)||0}},{key:"getSource",value:function(){return this._source}}]),e}(),QN=function(e){Object(Ch.a)(n,e);var t=Object(kh.a)(n);function n(e,i,r,a){var o;return Object(xh.a)(this,n),(o=t.call(this,r,a)).key=e,o.fetchTimeMillis=i,o}return Object(_h.a)(n)}(JN),eH=function(){var e=Object(_h.a)(function e(t,i,r,a,o,s){Object(xh.a)(this,e),this.zone=o;var l,c=new WN.e(o),d=Object(LN.a)(void 0).pipe(Object(zN.b)(c.outsideAngular),Object(Zl.a)(function(){return Object(y.isPlatformBrowser)(s)?Promise.all([n.e(6),n.e(12)]).then(n.bind(null,"oRHo")):RN.a}),Object(Zl.a)(function(){return Promise.all([n.e(6),n.e(12)]).then(n.t.bind(null,"O1kn",7))}),Object(NN.a)(function(e){return e.registerRemoteConfig&&e.registerRemoteConfig(UN.a)}),Object(he.a)(function(){return Object(WN.h)(t,o,i)}),Object(he.a)(function(e){return Object(WN.g)("".concat(e.name,".remote-config"),"AngularFireRemoteConfig",e,function(){var t=e.remoteConfig();return r&&(t.settings=r),a&&(t.defaultConfig=a),t},[r,a])}),Object(pe.a)(void 0),Object(HN.a)({bufferSize:1,refCount:!1})),u=d.pipe(Object(AN.a)(function(e){return!!e})),p=Object(LN.a)(Object.keys(a||{}).reduce(function(e,t){return Object.assign(Object.assign({},e),Object(dB.a)({},t,new JN("default",a[t].toString())))},{})),h=Object(he.a)(function(e){return Object.keys(e).filter(function(t){return"default"!==e[t].getSource()}).reduce(function(t,n){return Object.assign(Object.assign({},t),Object(dB.a)({},n,e[n]))},{})}),m=u.pipe(Object(Zl.a)(function(e){return e.activate().then(function(){return e.ensureInitialized()}).then(function(){return e.getAll()})}),h),g=u.pipe(Object(Zl.a)(function(e){return o.runOutsideAngular(function(){return e.fetchAndActivate().then(function(){return e.ensureInitialized()}).then(function(){return e.getAll()})})}),h);return this.parameters=Object(jN.a)(p,m,g).pipe((l=d,Object(DN.a)(Object(FN.a)(l),Object(BN.a)(function(e,t){var n=Object(TN.a)(t,2),i=n[0],r=n[1];return[].concat(Object(ZS.a)(e.map(function(e){return e.key})),Object(ZS.a)(Object.keys(i))).filter(function(e,t,n){return n.indexOf(e)===t}).map(function(t){var n=i[t];return n?new QN(t,r?r.fetchTimeMillis:-1,n.getSource(),n.asString()):e.find(function(e){return e.key===t})})},[]))),Object(WN.i)(c),Object(HN.a)({bufferSize:1,refCount:!0})),this.changes=this.parameters.pipe(Object(Zl.a)(function(e){return LN.a.apply(void 0,Object(ZS.a)(e))}),Object(VN.b)(function(e){return e.key}),Object(YN.a)(function(e){return e.pipe(Object(je.a)())})),this.strings=KN(this.parameters,"strings"),this.booleans=KN(this.parameters,"booleans"),this.numbers=KN(this.parameters,"numbers"),Object(WN.j)(this,u,o)});return e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275inject"](WN.c),i["\u0275\u0275inject"](WN.b,8),i["\u0275\u0275inject"](qN,8),i["\u0275\u0275inject"](ZN,8),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](i.PLATFORM_ID))},e.\u0275prov=i["\u0275\u0275defineInjectable"]({factory:function(){return new e(i["\u0275\u0275inject"](WN.c),i["\u0275\u0275inject"](WN.b,8),i["\u0275\u0275inject"](qN,8),i["\u0275\u0275inject"](ZN,8),i["\u0275\u0275inject"](i.NgZone),i["\u0275\u0275inject"](i.PLATFORM_ID))},token:e,providedIn:"any"}),e}(),tH=function(e){switch(typeof e){case"string":return"asString";case"boolean":return"asBoolean";case"number":return"asNumber";default:return"asString"}};Object(WN.f)(eH,[{settings:null,defaultConfig:null,fetchTimeMillis:null,lastFetchStatus:null,activate:null,ensureInitialized:null,fetch:null,fetchAndActivate:null,getAll:null,getBoolean:null,getNumber:null,getString:null,getValue:null,setLogLevel:null}]);var nH=function(){var e=Object(_h.a)(function e(){Object(xh.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[eH]}),e}();function iH(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",1),i["\u0275\u0275text"](1,"By using this site, you agree with our use of cookies. "),i["\u0275\u0275elementStart"](2,"a",2),i["\u0275\u0275text"](3,"Learn More"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"a",3),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().suppress()}),i["\u0275\u0275text"](5,"Ok"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}var rH=function(){function e(e,t,n){this.cookieService=e,this.AccountService=t,this.ThemeService=n,this.showNotice=!0}return e.prototype.suppress=function(){this.cookieService.set("cookieNotice","1"),this.showNotice=!1},e.prototype.ngOnInit=function(){var e=this;this.embedSubscriber=this.AccountService.isMobileEmbedded().subscribe(function(t){t&&(e.showNotice=!1)}),(this.ThemeService.isMobileEmbedded||"1"===this.cookieService.get("cookieNotice"))&&(this.showNotice=!1)},e.prototype.ngOnDestroy=function(){this.embedSubscriber.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](d.a),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](b.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-cookie-notice"]],decls:1,vars:1,consts:[["class","cookie-wrap",4,"ngIf"],[1,"cookie-wrap"],["href","http://www.fitdigits.com/privacy-policy.html","target","_blank"],[1,"cookie-button",3,"click"]],template:function(e,t){1&e&&i["\u0275\u0275template"](0,iH,6,0,"div",0),2&e&&i["\u0275\u0275property"]("ngIf",t.showNotice)},directives:[y.NgIf],styles:[".cookie-wrap[_ngcontent-%COMP%]{position:fixed;bottom:0;left:0;right:0;background:#e2e3e4;color:#000;z-index:9999;padding:10px 5px;text-align:center;font-size:12px;line-height:28px;font-family:Helvetica neue,Helvetica,sans-serif}.cookie-button[_ngcontent-%COMP%]{background:#4597cb;color:#fff;text-decoration:none;display:inline-block;padding:0 15px;margin:0 0 0 10px}"]}),e}(),aH=n("/c3D");function oH(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"section"),i["\u0275\u0275elementStart"](1,"div",2),i["\u0275\u0275elementStart"](2,"div",3),i["\u0275\u0275elementStart"](3,"div",4),i["\u0275\u0275elementStart"](4,"div",5),i["\u0275\u0275element"](5,"img",6),i["\u0275\u0275elementStart"](6,"div",7),i["\u0275\u0275text"](7),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"button",8),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().exit()}),i["\u0275\u0275text"](9,"Exit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"div",9),i["\u0275\u0275element"](11,"img",10),i["\u0275\u0275elementStart"](12,"div",11),i["\u0275\u0275elementStart"](13,"p"),i["\u0275\u0275text"](14,"Coaching: "),i["\u0275\u0275element"](15,"br"),i["\u0275\u0275elementStart"](16,"a",12),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().sendMessage()}),i["\u0275\u0275element"](17,"i",13),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](18),i["\u0275\u0275element"](19,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("src",r.AccountService.auditor.profilePhoto,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",r.auditor.auditorName," \xa0\xa0 "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("src","https://my.fitdigits.com/api/v2/group_photo?path="+r.groupMember.groupId+"&photo_type=profile",i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate1"](" ",r.user.name," ")}}var sH=function(){function e(e,t,n,i,r){this.auditService=e,this.dialog=t,this.router=n,this.AccountService=i,this.cookieService=r,this.user=this.AccountService.account,this.auditor=this.AccountService.auditor}return e.prototype.exit=function(){var e=this;this.auditService.setAuditing(!1),this.auditService.exitAuditSession().subscribe(function(t){e.AccountService.initialAuth().subscribe(function(t){e.AccountService.getAccount().subscribe(function(t){e.cookieService.delete("group"),e.AccountService.account=t,e.auditService.setAuditing(!1),e.router.navigate(["/groups",e.groupMember.groupId,"admin"])})})})},e.prototype.sendMessage=function(){this.dialog.open(aH.a,{data:this.groupMember,maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(e){})},e.prototype.ngOnInit=function(){this.groupMember=JSON.parse(this.cookieService.get("groupMember")),this.groupMember.activeAudit=!0},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](PN.a),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](d.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-audit-bar"]],decls:2,vars:1,consts:[[4,"ngIf"],[2,"clear","both"],["id","audit-environment",1,"auditRibbon"],["id","audit-content-wrapper"],[1,"top-auditor-header"],[1,"auditor-info-container","nav-left"],["height","33","width","33",1,"img-circle","img30_30",3,"src"],[1,"inline-block"],["mat-button","",1,"exit_audit",2,"color","black","background-color","#4597CB","border","none",3,"click"],[1,"auditor-actions"],["height","33","width","33",2,"vertical-align","middle","float","right","margin-top","15px",3,"src"],[1,"auditor-coachee"],[3,"click"],[1,"fa","fa-envelope-o",2,"float","none"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,oH,20,4,"section",0),i["\u0275\u0275element"](1,"div",1)),2&e&&i["\u0275\u0275property"]("ngIf",!t.loading)},directives:[y.NgIf,k.b],styles:[""]}),e}(),lH=["script"],cH=["*"],dH=function(){function e(){}return e.prototype.convertToScript=function(){var e=this.script.nativeElement,t=document.createElement("script");t.type=this.type?this.type:"text/javascript",this.src&&(t.src=this.src),e.innerHTML&&(t.innerHTML=e.innerHTML);var n=e.parentElement;n.parentElement.replaceChild(t,n)},e.prototype.ngAfterViewInit=function(){this.convertToScript()},e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["script-hack"]],viewQuery:function(e,t){var n;1&e&&i["\u0275\u0275viewQuery"](lH,1),2&e&&i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.script=n.first)},inputs:{src:"src",type:"type"},ngContentSelectors:cH,decls:3,vars:0,consts:[["style.display","none"],["script",""]],template:function(e,t){1&e&&(i["\u0275\u0275projectionDef"](),i["\u0275\u0275elementStart"](0,"div",0,1),i["\u0275\u0275projection"](2),i["\u0275\u0275elementEnd"]())},encapsulation:2}),e}();function uH(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"script-hack"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate5"](" UserVoice = window.UserVoice || []; (function () ","{"," var uv = document.createElement('script'); uv.type = 'text/javascript'; uv.async = true; uv.src = '//widget.uservoice.com/t04BIYctMinuoYXB4y3gDw.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(uv, s) })(); UserVoice.push(['set',","{"," accent_color: '#448dd6', trigger_color: 'white', trigger_background_color: 'rgba(46, 49, 51, 0.6)' }]); UserVoice.push(['identify', ","{"," }]); UserVoice.push(['addTrigger',","{","mode: 'contact', trigger_position: 'bottom-right'}]); UserVoice.push(['autoprompt', ","{}","]);\n"))}function pH(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",45),i["\u0275\u0275elementStart"](1,"div",46),i["\u0275\u0275element"](2,"ins",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function hH(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",48),i["\u0275\u0275elementStart"](1,"a",49),i["\u0275\u0275element"](2,"img",50),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"a",51),i["\u0275\u0275element"](4,"img",52),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"a",53),i["\u0275\u0275element"](6,"img",54),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var mH=function(){return["/memberships"]},gH=function(e){return{embed:e}};function fH(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",4),i["\u0275\u0275elementStart"](1,"div",5),i["\u0275\u0275elementStart"](2,"div",6),i["\u0275\u0275elementStart"](3,"div",7),i["\u0275\u0275elementStart"](4,"div",8),i["\u0275\u0275elementStart"](5,"span",9),i["\u0275\u0275text"](6),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"a",10),i["\u0275\u0275text"](8),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](9,pH,3,0,"div",11),i["\u0275\u0275elementStart"](10,"div",12),i["\u0275\u0275elementStart"](11,"div",13),i["\u0275\u0275elementStart"](12,"a",14),i["\u0275\u0275element"](13,"img",15),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](14,hH,7,0,"div",16),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div",17),i["\u0275\u0275elementStart"](16,"div",18),i["\u0275\u0275text"](17),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"ul",19),i["\u0275\u0275elementStart"](19,"li"),i["\u0275\u0275elementStart"](20,"a",20),i["\u0275\u0275text"](21),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275elementStart"](23,"a",21),i["\u0275\u0275text"](24),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275elementStart"](26,"a",22),i["\u0275\u0275text"](27),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"li"),i["\u0275\u0275elementStart"](29,"a",23),i["\u0275\u0275text"](30),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"div",24),i["\u0275\u0275elementStart"](32,"div",18),i["\u0275\u0275elementStart"](33,"a",25),i["\u0275\u0275text"](34),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"ul",19),i["\u0275\u0275elementStart"](36,"li"),i["\u0275\u0275elementStart"](37,"a",26),i["\u0275\u0275text"](38),i["\u0275\u0275element"](39,"br"),i["\u0275\u0275text"](40),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"li"),i["\u0275\u0275elementStart"](42,"a",27),i["\u0275\u0275text"](43),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"li"),i["\u0275\u0275elementStart"](45,"a",27),i["\u0275\u0275text"](46),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"div",28),i["\u0275\u0275elementStart"](48,"div",18),i["\u0275\u0275elementStart"](49,"a",29),i["\u0275\u0275text"](50),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](51,"ul",19),i["\u0275\u0275elementStart"](52,"li"),i["\u0275\u0275elementStart"](53,"a",30),i["\u0275\u0275text"](54),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](55,"li"),i["\u0275\u0275elementStart"](56,"a",31),i["\u0275\u0275text"](57),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](58,"li"),i["\u0275\u0275elementStart"](59,"a",32),i["\u0275\u0275text"](60),i["\u0275\u0275pipe"](61,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](62,"li"),i["\u0275\u0275elementStart"](63,"a",33),i["\u0275\u0275text"](64),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](65,"div",34),i["\u0275\u0275elementStart"](66,"div"),i["\u0275\u0275elementStart"](67,"a",35),i["\u0275\u0275element"](68,"img",36),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](69,"div",37),i["\u0275\u0275elementStart"](70,"a",38),i["\u0275\u0275element"](71,"img",39),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"div",40),i["\u0275\u0275elementStart"](73,"div",41),i["\u0275\u0275elementStart"](74,"a",42),i["\u0275\u0275text"](75),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](76," \u2022 "),i["\u0275\u0275elementStart"](77,"a",43),i["\u0275\u0275text"](78),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](79,"br"),i["\u0275\u0275text"](80),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](81,"div",44),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](n.Become_a_member_txt),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.Learn_more_txt," \xbb "),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.noAds),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",n.ThemeService.isThemeFitdigits),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](n.Fitness_Solutions_txt),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",n.Personal_txt," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](n.Trainers_txt),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](28,mH))("queryParams",i["\u0275\u0275pureFunction1"](29,gH,n.ThemeService.isMobileEmbedded)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.Memberships_txt,""),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"]("",n.Support_txt," \u2022 ",n.FAQs_txt,""),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](n.Compatibility_txt),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](n.Activity_Nutrition_txt),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](n.Partners_txt),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](n.Heart_Rate_Monitors_txt),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](n.Other_Sensors_txt),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](n.Heart_Rate_Training_txt),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](n.Personalized_Heart_Zones_txt),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](n.Max_Heart_Rate_txt),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](61,26,"ROOT.Resting Heart Rate")),i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate"](n.Fitness_Assessments_txt),i["\u0275\u0275advance"](11),i["\u0275\u0275textInterpolate"](n.Privacy_Policy_txt),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](n.Terms_of_Service_txt),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"](" \xa9",n.currYear," Fitdigits, Inc. ",n.All_rights_reserved_worldwide_txt," ")}}var vH=function(e){return{"background-color":e}};function yH(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",55),i["\u0275\u0275elementStart"](1,"div",56),i["\u0275\u0275elementStart"](2,"div",57),i["\u0275\u0275elementStart"](3,"div",7),i["\u0275\u0275element"](4,"div",58),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",59),i["\u0275\u0275elementStart"](6,"div",60),i["\u0275\u0275element"](7,"img",61),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"div",62),i["\u0275\u0275elementStart"](9,"a",63),i["\u0275\u0275element"](10,"img",64),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](11,"a",65),i["\u0275\u0275element"](12,"img",66),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"div",67),i["\u0275\u0275elementStart"](14,"div",18),i["\u0275\u0275text"](15,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"ul",19),i["\u0275\u0275elementStart"](17,"li"),i["\u0275\u0275elementStart"](18,"a",68),i["\u0275\u0275elementStart"](19,"i"),i["\u0275\u0275text"](20,"Move."),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](21," Progress "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"li"),i["\u0275\u0275elementStart"](23,"a",69),i["\u0275\u0275text"](24,"Profile"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"li"),i["\u0275\u0275elementStart"](26,"a",23),i["\u0275\u0275text"](27,"Support \u2022 FAQs"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"div",70),i["\u0275\u0275elementStart"](29,"div",18),i["\u0275\u0275text"](30,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"ul",19),i["\u0275\u0275elementStart"](32,"li"),i["\u0275\u0275elementStart"](33,"a",26),i["\u0275\u0275text"](34,"Activity & Nutrition"),i["\u0275\u0275element"](35,"br"),i["\u0275\u0275text"](36,"Partners"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"li"),i["\u0275\u0275elementStart"](38,"a",27),i["\u0275\u0275text"](39,"Compatibility"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](40,"div",71),i["\u0275\u0275elementStart"](41,"div",18),i["\u0275\u0275text"](42,"\xa0"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](43,"ul",19),i["\u0275\u0275elementStart"](44,"li"),i["\u0275\u0275elementStart"](45,"a",72),i["\u0275\u0275text"](46,"Exercising with"),i["\u0275\u0275element"](47,"br"),i["\u0275\u0275text"](48,"Heart Rate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"div",73),i["\u0275\u0275elementStart"](50,"div",74),i["\u0275\u0275elementStart"](51,"a",75),i["\u0275\u0275element"](52,"img",76),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"div"),i["\u0275\u0275elementStart"](54,"a",77),i["\u0275\u0275element"](55,"img",78),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](56,"div",44),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](57,"div",40),i["\u0275\u0275elementStart"](58,"div",41),i["\u0275\u0275elementStart"](59,"a",42),i["\u0275\u0275text"](60),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](61," \u2022 "),i["\u0275\u0275elementStart"](62,"a",79),i["\u0275\u0275text"](63),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](64,"br"),i["\u0275\u0275text"](65),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](66,"div",44),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](5,vH,1==n.ThemeService.isDarkTheme?"#000":"inherit")),i["\u0275\u0275advance"](60),i["\u0275\u0275textInterpolate"](n.Privacy_Policy_txt),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](n.Terms_of_Service_txt),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"](" \xa9",n.currYear," Fitdigits, Inc. ",n.All_rights_reserved_worldwide_txt," ")}}var bH=function(){function e(e,t,n,i){this.ThemeService=e,this.translate=t,this.PermissionsService=n,this.AccountService=i,this.Home_txt="Home",this.Messages_txt="Messages",this.Activities_txt="Activities",this.My_Best_txt="My Best",this.Assessments_txt="Assessments",this.HR_Analysis_txt="HR Analysis",this.Import_Export_txt="Import / Export",this.Manual_Entry_txt="Manual Entry",this.Calendar_txt="Calendar",this.Goals_txt="Goals",this.Health_Vitals_txt="Health Vitals",this.Weight_txt="Weight",this.Resting_Heart_Rate_txt="Resting Heart Rate",this.Blood_Pressure_txt="Blood Pressure",this.Sleep_txt="Sleep",this.Fitness_Assessments_txt="Fitness Assessments",this.Friends_txt="Friends",this.Teams_txt="Teams",this.Partners_txt="Partners",this.Support_txt="Support",this.Log_out_txt="Log out",this.Profile_txt="Profile",this.Privacy_Policy_txt="Privacy Policy",this.Terms_of_Service_txt="Terms of Service",this.All_rights_reserved_worldwide_txt="All rights reserved worldwide",this.Become_a_member_txt="Become a member today!",this.Learn_more_txt="Learn more",this.Fitness_Solutions_txt="Fitness Solutions",this.Personal_txt="Personal",this.Trainers_txt="Trainers",this.Memberships_txt="Memberships",this.FAQs_txt="FAQs",this.Compatibility_txt="Compatibility",this.Activity_Nutrition_txt="Activity & Nutrition",this.Heart_Rate_Monitors_txt="Heart Rate Monitors",this.Other_Sensors_txt="Other Sensors",this.Heart_Rate_Training_txt="Heart Rate Training",this.Personalized_Heart_Zones_txt="Personalized Heart Zones",this.Max_Heart_Rate_txt="Max Heart Rate",this.currYear=(new Date).getFullYear(),this.noAds=!1,this.isLoginView=!1,this.isDarkTheme=!1}return e.prototype.ngOnInit=function(){var e=this;this.isDarkTheme=this.ThemeService.isDarkTheme,this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(t){e.localize(t.lang)}),this.noAds=this.PermissionsService.hasProPlusMin(),this.AccountService.isLoginView().subscribe(function(t){e.isLoginView=t})},e.prototype.localize=function(e){"es"===e?(this.Home_txt="Inicio",this.Messages_txt="Mensajes",this.Activities_txt="Actividades",this.My_Best_txt="Mi Mejor",this.Assessments_txt="Evaluaciones",this.HR_Analysis_txt="An\xe1lisis de FC",this.Import_Export_txt="Importaci\xf3n y exportaci\xf3n",this.Manual_Entry_txt="Entrada manual",this.Calendar_txt="Calendario",this.Goals_txt="Metas",this.Weight_txt="Peso",this.Resting_Heart_Rate_txt="Ritmo card\xedaco en reposo",this.Sleep_txt="Sue\xf1o",this.Blood_Pressure_txt="Presi\xf3n sangu\xednea",this.Fitness_Assessments_txt="Evaluaciones de Aptitud",this.Friends_txt="Amigos",this.Teams_txt="Equipos",this.Partners_txt="Socios",this.Support_txt="Asistencia",this.Log_out_txt="Cerrar sesi\xf3n",this.Health_Vitals_txt="Salud",this.Profile_txt="Perfil",this.Privacy_Policy_txt="Pol\xedtica de privacidad",this.Terms_of_Service_txt="T\xe9rminos y Condiciones",this.All_rights_reserved_worldwide_txt="Todos los derechos reservados en todo el mundo.",this.Become_a_member_txt="\xa1Hazte miembro hoy!",this.Learn_more_txt="Aprende m\xe1s",this.Fitness_Solutions_txt="Soluciones de acondicionamiento f\xedsico",this.Personal_txt="Personal",this.Trainers_txt="Entrenadores",this.Memberships_txt="Membres\xedas",this.Support_txt="Apoyo",this.FAQs_txt="Preguntas frecuentes",this.Compatibility_txt="Compatibilidad",this.Activity_Nutrition_txt="Actividad y nutrici\xf3n",this.Heart_Rate_Monitors_txt="Monitores de frecuencia card\xedaca",this.Other_Sensors_txt="Otros sensores",this.Heart_Rate_Training_txt="Entrenamiento de frecuencia card\xedaca",this.Personalized_Heart_Zones_txt="Zonas del coraz\xf3n personalizadas",this.Max_Heart_Rate_txt="Frecuencia card\xedaca m\xe1xima",this.Resting_Heart_Rate_txt="Frecuencia card\xedaca en reposo"):"fr"===e?(this.Home_txt="Domicile",this.Messages_txt="Messages",this.Activities_txt="Activit\xe9s",this.My_Best_txt="Mon Record",this.Assessments_txt="\xc9valuations",this.HR_Analysis_txt="Analyse de la FC",this.Import_Export_txt="Importer / Exporter",this.Manual_Entry_txt="Saisie manuelle",this.Calendar_txt="Calendrier",this.Goals_txt="Buts",this.Weight_txt="Poids",this.Resting_Heart_Rate_txt="Fr\xe9quence cardiaque au repos",this.Sleep_txt="Sommeil",this.Blood_Pressure_txt="Pression art\xe9rielle",this.Fitness_Assessments_txt="\xc9valuations fitness",this.Friends_txt="Copains",this.Teams_txt="\xc9quipes",this.Partners_txt="Partenaires",this.Support_txt="Support",this.Log_out_txt="Se d\xe9connecter",this.Health_Vitals_txt="Sant\xe9",this.Profile_txt="Profil",this.Privacy_Policy_txt="Politique de confidentialit\xe9",this.Terms_of_Service_txt="Termes et conditions",this.All_rights_reserved_worldwide_txt="Tous droits internationaux r\xe9serv\xe9s",this.Become_a_member_txt="Devenez membre d\xe8s aujourd'hui!",this.Learn_more_txt="Apprendre encore plus",this.Fitness_Solutions_txt="Solutions de fitness",this.Personal_txt="Personnel",this.Trainers_txt="Formateurs",this.Memberships_txt="Adh\xe9sion",this.Support_txt="Soutien",this.FAQs_txt="FAQ",this.Compatibility_txt="Compatibilit\xe9",this.Activity_Nutrition_txt="Activit\xe9 et nutrition",this.Heart_Rate_Monitors_txt="Moniteurs de fr\xe9quence cardiaque",this.Other_Sensors_txt="Autres capteurs",this.Heart_Rate_Training_txt="Entra\xeenement de fr\xe9quence cardiaque",this.Personalized_Heart_Zones_txt="Zones cardiaques personnalis\xe9es",this.Max_Heart_Rate_txt="Fr\xe9quence cardiaque maximale",this.Resting_Heart_Rate_txt="Fr\xe9quence cardiaque au repos"):"it"===e?(this.Home_txt="Pagina iniziale",this.Messages_txt="Messaggi",this.Activities_txt="Attivit\xe0",this.My_Best_txt="Il Mio Meglio",this.Assessments_txt="valutazioni",this.HR_Analysis_txt="Analisi della FC",this.Import_Export_txt="Importa / Esporta",this.Manual_Entry_txt="Inserimento manuale",this.Calendar_txt="Calendario",this.Goals_txt="Obiettivi",this.Weight_txt="Peso",this.Resting_Heart_Rate_txt="Battiti del cuore a riposo",this.Sleep_txt="Sonno",this.Blood_Pressure_txt="Pressione sanguigna",this.Fitness_Assessments_txt="Valutazioni del fitness",this.Friends_txt="Amici",this.Teams_txt="Squadre",this.Partners_txt="Partner",this.Support_txt="Assistenza",this.Log_out_txt="Disconnettersi",this.Health_Vitals_txt="Vitali per la salute",this.Profile_txt="Profilo",this.Privacy_Policy_txt="politica sulla riservatezza",this.Terms_of_Service_txt="Termini e condizioni",this.All_rights_reserved_worldwide_txt="Tutti i diritti riservati in tutto il mondo",this.Become_a_member_txt="Diventa un membro oggi!",this.Learn_more_txt="Per saperne di pi\xf9",this.Fitness_Solutions_txt="Soluzioni per il fitness",this.Personal_txt="Personale",this.Trainers_txt="Formatori",this.Memberships_txt="Adesioni",this.Support_txt="Supporto",this.FAQs_txt="FAQs",this.Compatibility_txt="Compatibilit\xe0",this.Activity_Nutrition_txt="Attivit\xe0 e nutrizione",this.Heart_Rate_Monitors_txt="Cardiofrequenzimetri",this.Other_Sensors_txt="Altri sensori",this.Heart_Rate_Training_txt="Allenamento della frequenza cardiaca",this.Personalized_Heart_Zones_txt="Zone cardiache personalizzate",this.Max_Heart_Rate_txt="Frequenza cardiaca massima",this.Resting_Heart_Rate_txt="Battiti del cuore a riposo"):"de"===e&&(this.Home_txt="Start",this.Messages_txt="Mitteilungen",this.Activities_txt="Aktivit\xe4ten",this.My_Best_txt="Mein Bestwert",this.Assessments_txt="Bewertungen",this.HR_Analysis_txt="Herzfrequenzanalyse",this.Import_Export_txt="Import Export",this.Manual_Entry_txt="Manueller Eintrag",this.Calendar_txt="Kalender",this.Goals_txt="Tore",this.Weight_txt="Gewicht",this.Resting_Heart_Rate_txt="Ruheherzfrequenz",this.Sleep_txt="Schlaf",this.Blood_Pressure_txt="Blutdruck",this.Fitness_Assessments_txt="Fitness-Bewertungen",this.Friends_txt="Freunde",this.Teams_txt="Mannschaften",this.Partners_txt="Partner",this.Support_txt="Support",this.Log_out_txt="Ausloggen",this.Health_Vitals_txt="Gesundheitsvitalfunktionen",this.Profile_txt="Profil",this.Privacy_Policy_txt="Datenschutz-Bestimmungen",this.Terms_of_Service_txt="Gesch\xe4ftsbedingungen",this.All_rights_reserved_worldwide_txt="Alle Rechte weltweit vorbehalten",this.Become_a_member_txt="Werden Sie noch heute Mitglied!",this.Learn_more_txt="Erfahren Sie mehr",this.Fitness_Solutions_txt="Fitness-L\xf6sungen",this.Personal_txt="Pers\xf6nlich",this.Trainers_txt="Sportschuhe",this.Memberships_txt="Mitgliedschaften",this.Support_txt="Unterst\xfctzung",this.FAQs_txt="FAQs",this.Compatibility_txt="Kompatibilit\xe4t",this.Activity_Nutrition_txt="Aktivit\xe4t & Ern\xe4hrung",this.Heart_Rate_Monitors_txt="Herzfrequenzmesser",this.Other_Sensors_txt="Andere Sensoren",this.Heart_Rate_Training_txt="Herzfrequenztraining",this.Personalized_Heart_Zones_txt="Personalisierte Herzzonen",this.Max_Heart_Rate_txt="Maximale Herzfrequenz",this.Resting_Heart_Rate_txt="Ruheherzfrequenz")},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-footer"]],decls:5,vars:6,consts:[[4,"ngIf"],["id","fd-footer",3,"ngStyle"],["class","fd-footer-fd",4,"ngIf"],["class","fd-footer-bc",3,"ngStyle",4,"ngIf"],[1,"fd-footer-fd"],[1,"corp-footer"],["id","corpfooter-inner"],[1,"absolute"],["id","corpfooterUpgradeLinkContainer2"],[1,"lightYellowText"],["href","#","onclick","FooterPage.upgradeSubscription();"],["id","corpfooterAdContainer",4,"ngIf"],["id","corp-footer-col1-fd",1,"float-left"],[1,"corp-footer-logo-container"],["href","https://www.fitdigits.com/"],["alt","Fitdigits","src","/static/img/myfitdigits_logo_with_icon.png"],["class","corp-footer-social-links",4,"ngIf"],["id","corp-footer-col2-fd",1,"float-left"],[1,"corp-footer-col-title"],[1,"corp-footer-link-list"],["routerLink","/cardio-fitness.html","title","Track Your Outdoor Runs and Rides"],["routerLink","/teams/overview"],[3,"routerLink","queryParams"],["routerLink","/support"],["id","corp-footer-col3-fd",1,"float-left"],["routerLink","/compatibility.html",1,"corp-footer-col-title"],["routerLink","/partners"],["routerLink","/compatibility.html"],["id","corp-footer-col4x-fd",1,"float-left"],["routerLink","/cardio-fitness.html",1,"corp-footer-col-title"],["routerLink","/personalized-heart-rate-zones.html",1,"corp-footer-link-list"],["routerLink","/maximum-heart-rate.html"],["routerLink","/resting-heart-rates.html"],["routerLink","/fitness-assessments.html"],["id","corp-footer-col5-fd"],["href","https://apps.apple.com/us/app/icardio-workout-tracker/id314841648","target","_blank"],["src","/static/img/apple-app-store-badge.png","alt","Available on iTunes App Store",1,"download-icon1"],[1,"footer-downloads"],["href","https://play.google.com/store/apps/details?id=com.fitdigits.icardio.app","target","_blank"],["src","/static/img/google-play-badge.png","alt","Download for Android",1,"download-icon2"],[1,"corp-footer-footnote"],[1,"float-left"],["href","https://www.fitdigits.com/privacy-policy.html"],["href","https://www.fitdigits.com/terms-and-conditions.html"],[1,"clear-both"],["id","corpfooterAdContainer"],[1,"footer-ads"],["data-ad-client","ca-pub-9499958938961959","data-ad-slot","5033697116","data-ad-format","auto","data-full-width-responsive","true",1,"adsbygoogle",2,"display","block"],[1,"corp-footer-social-links"],["href","https://www.instagram.com/myfitdigits/"],["src","/static/img/instagram_icon_sm.png","alt","Instagram",1,"socialIcon"],["href","https://www.facebook.com/fitdigits"],["src","/static/img/facebook_icon_sm.png","alt","Facebook",1,"socialIcon"],["href","https://www.youtube.com/channel/UChLN6MlNfIn_El0eIDC8AGA"],["src","/static/img/youtube_icon_sm.png","alt","YouTube",1,"socialIcon",2,"width","24px","height","34px","margin-left","2px"],[1,"fd-footer-bc",3,"ngStyle"],[1,"corp-footer-bc"],["id","corpfooter-inner-bc"],["id","corpfooterUpgradeLinkContainer"],["id","corp-footer-col1",1,"float-left"],[1,"corp-footer-logo-container",2,"padding-top","10px","padding-bottom","0px"],["src","/static/img/theme/move/move_logo.png","alt","CU Health. Move."],[1,"corp-footer-social-links",2,"padding-left","20px"],["href","https://www.facebook.com/pages/Be-Colorado/219241188132145"],["src","/static/img/icons/corpfooterFacebookIcon.png","alt","Facebook"],["href","https://twitter.com/BeColorado1"],["src","/static/img/icons/corpfooterTwitterIcon.png","alt","Twitter"],["id","corp-footer-col2",1,"float-left"],["routerLink","/calendar","title","Track Your Progress"],["routerLink","/profile"],["id","corp-footer-col3",1,"float-left"],["id","corp-footer-col4x",1,"float-left"],["routerLink","/cardio-fitness.html"],["id","corp-footer-col5",1,"float-right"],[2,"padding-top","30px"],["href","https://apps.apple.com/us/app/cu-health-plan-move/id616346637","target","_blank"],["alt","Available on iTunes App Store","src","/static/img/apple-app-store-badge.png",1,"download-icon1"],["href","https://play.google.com/store/apps/details?id=com.fitdigits.becolorado.app","target","_blank"],["alt","Download for Android","src","/static/img/google-play-badge.png",1,"download-icon2"],["href","https://becolorado.fitdigits.com/becolorado/becolorado-participant-agreement.html"]],template:function(e,t){1&e&&(i["\u0275\u0275template"](0,uH,2,5,"script-hack",0),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275elementStart"](2,"div",1),i["\u0275\u0275template"](3,fH,82,31,"div",2),i["\u0275\u0275template"](4,yH,67,7,"div",3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded&&!t.PermissionsService.starTrainerAccess),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction1"](4,vH,1==t.ThemeService.isDarkTheme?"#000":"inherit")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.ThemeService.isThemeBecolorado&&!t.isLoginView),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado&&!t.isLoginView))},directives:[y.NgIf,y.NgStyle,dH,S.f],pipes:[M.c],styles:["ol[_ngcontent-%COMP%], ul[_ngcontent-%COMP%]{list-style:none outside none;margin:0;padding:0}.download-icon1[_ngcontent-%COMP%]{margin:10px 0 20px;width:140px}.download-icon2[_ngcontent-%COMP%]{width:140px}"]}),e}();function xH(e,t){1&e&&i["\u0275\u0275element"](0,"app-cookie-notice")}function _H(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",6),i["\u0275\u0275element"](1,"img",7),i["\u0275\u0275elementEnd"]())}function wH(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",6),i["\u0275\u0275element"](1,"img",8),i["\u0275\u0275elementEnd"]())}function SH(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",13),i["\u0275\u0275elementStart"](1,"button",14),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).toggleMobile()}),i["\u0275\u0275text"](2,"\u2630 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"button",15),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).toggleMobile()}),i["\u0275\u0275text"](4,"\u2630 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function CH(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",16),i["\u0275\u0275elementStart"](1,"button",17),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).toggle()}),i["\u0275\u0275text"](2,"\u2630 "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}}function kH(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",49),i["\u0275\u0275element"](1,"img",50),i["\u0275\u0275elementStart"](2,"div",51),i["\u0275\u0275text"](3),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](4,"div",51),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",n.AccountService.account.profilePhoto,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!n.AccountService.account.usersName),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.AccountService.account.usersName),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",n.AccountService.account.usersName),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,5,"ROOT.Profile"))}}function OH(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",54),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.InboxService.unreadMessageCount)}}var EH=function(){return["/inbox"]},MH=function(e){return[e]};function IH(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).mobileIsOpen=!1}),i["\u0275\u0275template"](1,OH,2,1,"span",52),i["\u0275\u0275element"](2,"img",53),i["\u0275\u0275elementStart"](3,"div"),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](6,EH))("ngClass",i["\u0275\u0275pureFunction1"](7,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.InboxService.unreadMessageCount>0),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](5,4,"ROOT.Messages"))}}function PH(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",55),i["\u0275\u0275elementEnd"]())}function TH(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",56),i["\u0275\u0275elementEnd"]())}function DH(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",55),i["\u0275\u0275elementEnd"]())}function LH(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",56),i["\u0275\u0275elementEnd"]())}var RH=function(){return["/groups"]};function jH(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).mobileIsOpen=!1}),i["\u0275\u0275element"](1,"img",57),i["\u0275\u0275elementStart"](2,"div"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](5,RH))("ngClass",i["\u0275\u0275pureFunction1"](6,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](4,3,"ROOT.Teams")," ")}}function AH(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).mobileIsOpen=!1}),i["\u0275\u0275element"](1,"img",57),i["\u0275\u0275elementStart"](2,"div"),i["\u0275\u0275text"](3,"Groups "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](2,RH))("ngClass",i["\u0275\u0275pureFunction1"](3,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light"))}}function FH(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",58),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](4);return e.AccountService.logout(),e.mobileIsOpen=!1}),i["\u0275\u0275elementStart"](1,"div",59),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](4,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,2,"ROOT.LogOut"))}}var BH=function(){return["/profile"]},zH=function(){return["/home"]},NH=function(){return["/activities"]},HH=function(){return["/mybest"]},VH=function(){return["/myroutines"]},YH=function(){return["/youtube"]},WH=function(){return["/hr-analysis"]},GH=function(){return["/myassessments"]},UH=function(){return["/importexport"]},qH=function(){return["/activity/new"]},ZH=function(){return["/dailyactivity"]},$H=function(){return["/calendar"]},XH=function(){return["/goals"]},KH=function(){return["/healthvitals"]},JH=function(){return["/weights"]},QH=function(){return["/restingheartrate"]},eV=function(){return["/vo2Max"]},tV=function(){return["/bloodpressure"]},nV=function(){return["/sleep"]},iV=function(){return["/member"]},rV=function(){return["/partners"]},aV=function(){return["/support"]};function oV(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"a",18),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275template"](2,kH,7,7,"span",19),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](3,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](4,"img",21),i["\u0275\u0275elementStart"](5,"div"),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](8,IH,6,9,"a",22),i["\u0275\u0275elementStart"](9,"a",23),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](10,"img",24),i["\u0275\u0275elementStart"](11,"div"),i["\u0275\u0275text"](12),i["\u0275\u0275pipe"](13,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"a",25),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showActivitiesSubnav=!e.showActivitiesSubnav}),i["\u0275\u0275template"](15,PH,2,0,"span",1),i["\u0275\u0275template"](16,TH,2,0,"span",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"div",26),i["\u0275\u0275elementStart"](18,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](19,"img",27),i["\u0275\u0275elementStart"](20,"div"),i["\u0275\u0275text"](21),i["\u0275\u0275pipe"](22,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](24,"img",28),i["\u0275\u0275elementStart"](25,"div"),i["\u0275\u0275text"](26),i["\u0275\u0275pipe"](27,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](29,"img",29),i["\u0275\u0275elementStart"](30,"div"),i["\u0275\u0275text"](31,"YouTube"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](32,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](33,"img",30),i["\u0275\u0275elementStart"](34,"div"),i["\u0275\u0275text"](35),i["\u0275\u0275pipe"](36,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](37,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](38,"img",31),i["\u0275\u0275elementStart"](39,"div"),i["\u0275\u0275text"](40),i["\u0275\u0275pipe"](41,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](43,"img",32),i["\u0275\u0275elementStart"](44,"div"),i["\u0275\u0275text"](45),i["\u0275\u0275pipe"](46,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](47,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](48,"img",33),i["\u0275\u0275elementStart"](49,"div"),i["\u0275\u0275text"](50),i["\u0275\u0275pipe"](51,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](52,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](53,"img",34),i["\u0275\u0275elementStart"](54,"div"),i["\u0275\u0275text"](55),i["\u0275\u0275pipe"](56,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](57,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](58,"img",35),i["\u0275\u0275elementStart"](59,"div"),i["\u0275\u0275text"](60),i["\u0275\u0275pipe"](61,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](62,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](63,"img",36),i["\u0275\u0275elementStart"](64,"div"),i["\u0275\u0275text"](65),i["\u0275\u0275pipe"](66,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](67,"a",23),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](68,"img",37),i["\u0275\u0275elementStart"](69,"div"),i["\u0275\u0275text"](70),i["\u0275\u0275pipe"](71,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"a",38),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showHealthSubnav=!e.showHealthSubnav}),i["\u0275\u0275template"](73,DH,2,0,"span",1),i["\u0275\u0275template"](74,LH,2,0,"span",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](75,"div",39),i["\u0275\u0275elementStart"](76,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](77,"img",40),i["\u0275\u0275elementStart"](78,"div"),i["\u0275\u0275text"](79),i["\u0275\u0275pipe"](80,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](81,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](82,"img",41),i["\u0275\u0275elementStart"](83,"div"),i["\u0275\u0275text"](84),i["\u0275\u0275pipe"](85,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](86,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](87,"img",42),i["\u0275\u0275elementStart"](88,"div"),i["\u0275\u0275text"](89),i["\u0275\u0275pipe"](90,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](91,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](92,"img",43),i["\u0275\u0275elementStart"](93,"div"),i["\u0275\u0275text"](94),i["\u0275\u0275pipe"](95,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](96,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](97,"img",44),i["\u0275\u0275elementStart"](98,"div"),i["\u0275\u0275text"](99),i["\u0275\u0275pipe"](100,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](101,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](102,"img",45),i["\u0275\u0275elementStart"](103,"div"),i["\u0275\u0275text"](104),i["\u0275\u0275pipe"](105,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](106,jH,5,8,"a",22),i["\u0275\u0275template"](107,AH,4,5,"a",22),i["\u0275\u0275elementStart"](108,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](109,"img",46),i["\u0275\u0275elementStart"](110,"div"),i["\u0275\u0275text"](111),i["\u0275\u0275pipe"](112,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](113,"a",20),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).mobileIsOpen=!1}),i["\u0275\u0275element"](114,"img",47),i["\u0275\u0275elementStart"](115,"div"),i["\u0275\u0275text"](116),i["\u0275\u0275pipe"](117,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](118,FH,4,6,"a",48),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](115,BH))("ngClass",i["\u0275\u0275pureFunction1"](116,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.AccountService.account),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](118,zH))("ngClass",i["\u0275\u0275pureFunction1"](119,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](7,75,"ROOT.Home")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.isAuditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](121,NH))("ngClass",i["\u0275\u0275pureFunction1"](122,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](13,77,"ROOT.Activities")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",1!=r.showActivitiesSubnav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==r.showActivitiesSubnav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!r.showActivitiesSubnav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](124,HH))("ngClass",i["\u0275\u0275pureFunction1"](125,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](22,79,"ROOT.My_Best")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](127,VH))("ngClass",i["\u0275\u0275pureFunction1"](128,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](27,81,"ROOT.Routes & Routines")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](130,YH))("ngClass",i["\u0275\u0275pureFunction1"](131,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](133,WH))("ngClass",i["\u0275\u0275pureFunction1"](134,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](36,83,"ROOT.HR_Analysis")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](136,GH))("ngClass",i["\u0275\u0275pureFunction1"](137,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](41,85,"ROOT.Fitness_Assessments")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](139,UH))("ngClass",i["\u0275\u0275pureFunction1"](140,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](46,87,"ROOT.importexport")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](142,qH))("ngClass",i["\u0275\u0275pureFunction1"](143,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](51,89,"ROOT.manual_entry")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](145,ZH))("ngClass",i["\u0275\u0275pureFunction1"](146,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](56,91,"ROOT.Daily Activity")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](148,$H))("ngClass",i["\u0275\u0275pureFunction1"](149,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](61,93,"ROOT.Calendar")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](151,XH))("ngClass",i["\u0275\u0275pureFunction1"](152,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](66,95,"ROOT.Goals")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](154,KH))("ngClass",i["\u0275\u0275pureFunction1"](155,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](71,97,"ROOT.Health_Vitals")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",1!=r.showHealthSubnav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==r.showHealthSubnav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!r.showHealthSubnav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](157,JH))("ngClass",i["\u0275\u0275pureFunction1"](158,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](80,99,"ROOT.Weight")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](160,QH))("ngClass",i["\u0275\u0275pureFunction1"](161,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](85,101,"ROOT.Resting Heart Rate")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](163,eV))("ngClass",i["\u0275\u0275pureFunction1"](164,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](90,103,"ROOT.vo2Max")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](166,tV))("ngClass",i["\u0275\u0275pureFunction1"](167,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](95,105,"ROOT.Blood Pressure")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](169,nV))("ngClass",i["\u0275\u0275pureFunction1"](170,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](100,107,"ROOT.Sleep")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](172,iV))("ngClass",i["\u0275\u0275pureFunction1"](173,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](105,109,"ROOT.Friends")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](175,rV))("ngClass",i["\u0275\u0275pureFunction1"](176,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](112,111,"ROOT.Partners")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](178,aV))("ngClass",i["\u0275\u0275pureFunction1"](179,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](117,113,"ROOT.Support")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.isAuditing&&r.AccountService.account)}}function sV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"img",66),i["\u0275\u0275elementEnd"]())}var lV=function(){return["/smart-coach"]},cV=function(e,t){return{sidebarTextOpen:e,sidebarTextClosed:t}};function dV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",65),i["\u0275\u0275elementStart"](1,"span"),i["\u0275\u0275element"](2,"img",50),i["\u0275\u0275template"](3,sV,2,0,"div",1),i["\u0275\u0275elementStart"](4,"div",0),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](8,lV))("ngClass",i["\u0275\u0275pureFunction1"](9,MH,n.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275propertyInterpolate"]("src",n.coachProfilePict,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","None"==n.AccountService.account.smart_coach),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](11,cV,n.isOpen,!n.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,6,"ROOT.My Coach")," ")}}function uV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",55),i["\u0275\u0275elementEnd"]())}function pV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",56),i["\u0275\u0275elementEnd"]())}function hV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",61),i["\u0275\u0275element"](1,"img",34),i["\u0275\u0275elementStart"](2,"div",0),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](6,ZH))("ngClass",i["\u0275\u0275pureFunction1"](7,MH,n.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](9,cV,n.isOpen,!n.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,4,"ROOT.Daily Activity"))}}function mV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",61),i["\u0275\u0275element"](1,"img",34),i["\u0275\u0275elementStart"](2,"div",0),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](6,ZH))("ngClass",i["\u0275\u0275pureFunction1"](7,MH,n.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](9,cV,n.isOpen,!n.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,4,"ROOT.Daily Activity"))}}var gV=function(){return["/trackers"]};function fV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",61),i["\u0275\u0275element"](1,"img",36),i["\u0275\u0275elementStart"](2,"div",0),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](6,gV))("ngClass",i["\u0275\u0275pureFunction1"](7,MH,n.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](9,cV,n.isOpen,!n.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,4,"ROOT.Trackers"))}}function vV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",55),i["\u0275\u0275elementEnd"]())}function yV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",56),i["\u0275\u0275elementEnd"]())}function bV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",61),i["\u0275\u0275element"](1,"img",57),i["\u0275\u0275elementStart"](2,"div",0),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](6,RH))("ngClass",i["\u0275\u0275pureFunction1"](7,MH,n.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](9,cV,n.isOpen,!n.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",i["\u0275\u0275pipeBind1"](4,4,"ROOT.Teams")," ")}}function xV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",61),i["\u0275\u0275element"](1,"img",57),i["\u0275\u0275elementStart"](2,"div",0),i["\u0275\u0275text"](3,"Groups "),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](3,RH))("ngClass",i["\u0275\u0275pureFunction1"](4,MH,n.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](6,cV,n.isOpen,!n.isOpen))}}function _V(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"a",58),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](4).AccountService.logout()}),i["\u0275\u0275elementStart"](1,"div",67),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](5,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](7,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](3,3,"ROOT.LogOut"))}}function wV(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,dV,7,14,"a",60),i["\u0275\u0275elementStart"](2,"a",61),i["\u0275\u0275element"](3,"img",21),i["\u0275\u0275elementStart"](4,"div",0),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"a",62),i["\u0275\u0275element"](8,"img",24),i["\u0275\u0275elementStart"](9,"div",0),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"a",25),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showActivitiesSubnav=!e.showActivitiesSubnav}),i["\u0275\u0275template"](13,uV,2,0,"span",1),i["\u0275\u0275template"](14,pV,2,0,"span",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div",63),i["\u0275\u0275template"](16,hV,5,12,"a",64),i["\u0275\u0275elementStart"](17,"a",61),i["\u0275\u0275element"](18,"img",27),i["\u0275\u0275elementStart"](19,"div",0),i["\u0275\u0275text"](20),i["\u0275\u0275pipe"](21,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](22,"a",61),i["\u0275\u0275element"](23,"img",28),i["\u0275\u0275elementStart"](24,"div"),i["\u0275\u0275text"](25),i["\u0275\u0275pipe"](26,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"a",61),i["\u0275\u0275element"](28,"img",29),i["\u0275\u0275elementStart"](29,"div"),i["\u0275\u0275text"](30,"YouTube"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"a",61),i["\u0275\u0275element"](32,"img",30),i["\u0275\u0275elementStart"](33,"div",0),i["\u0275\u0275text"](34),i["\u0275\u0275pipe"](35,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](36,"a",61),i["\u0275\u0275element"](37,"img",31),i["\u0275\u0275elementStart"](38,"div",0),i["\u0275\u0275text"](39),i["\u0275\u0275pipe"](40,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](41,"a",61),i["\u0275\u0275element"](42,"img",32),i["\u0275\u0275elementStart"](43,"div",0),i["\u0275\u0275text"](44),i["\u0275\u0275pipe"](45,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](46,"a",61),i["\u0275\u0275element"](47,"img",33),i["\u0275\u0275elementStart"](48,"div",0),i["\u0275\u0275text"](49),i["\u0275\u0275pipe"](50,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](51,mV,5,12,"a",64),i["\u0275\u0275template"](52,fV,5,12,"a",64),i["\u0275\u0275elementStart"](53,"a",61),i["\u0275\u0275element"](54,"img",35),i["\u0275\u0275elementStart"](55,"div",0),i["\u0275\u0275text"](56),i["\u0275\u0275pipe"](57,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](58,"a",61),i["\u0275\u0275element"](59,"img",36),i["\u0275\u0275elementStart"](60,"div",0),i["\u0275\u0275text"](61),i["\u0275\u0275pipe"](62,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](63,"a",62),i["\u0275\u0275element"](64,"img",37),i["\u0275\u0275elementStart"](65,"div",0),i["\u0275\u0275text"](66),i["\u0275\u0275pipe"](67,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](68,"a",38),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](3);return e.showHealthSubnav=!e.showHealthSubnav}),i["\u0275\u0275template"](69,vV,2,0,"span",1),i["\u0275\u0275template"](70,yV,2,0,"span",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](71,"div",39),i["\u0275\u0275elementStart"](72,"a",61),i["\u0275\u0275element"](73,"img",40),i["\u0275\u0275elementStart"](74,"div",0),i["\u0275\u0275text"](75),i["\u0275\u0275pipe"](76,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](77,"a",61),i["\u0275\u0275element"](78,"img",41),i["\u0275\u0275elementStart"](79,"div",0),i["\u0275\u0275text"](80),i["\u0275\u0275pipe"](81,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](82,"a",61),i["\u0275\u0275element"](83,"img",42),i["\u0275\u0275elementStart"](84,"div",0),i["\u0275\u0275text"](85),i["\u0275\u0275pipe"](86,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](87,"a",61),i["\u0275\u0275element"](88,"img",43),i["\u0275\u0275elementStart"](89,"div",0),i["\u0275\u0275text"](90),i["\u0275\u0275pipe"](91,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](92,"a",61),i["\u0275\u0275element"](93,"img",44),i["\u0275\u0275elementStart"](94,"div",0),i["\u0275\u0275text"](95),i["\u0275\u0275pipe"](96,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](97,"a",61),i["\u0275\u0275element"](98,"img",45),i["\u0275\u0275elementStart"](99,"div",0),i["\u0275\u0275text"](100),i["\u0275\u0275pipe"](101,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](102,bV,5,12,"a",64),i["\u0275\u0275template"](103,xV,4,9,"a",64),i["\u0275\u0275elementStart"](104,"a",61),i["\u0275\u0275element"](105,"img",46),i["\u0275\u0275elementStart"](106,"div",0),i["\u0275\u0275text"](107),i["\u0275\u0275pipe"](108,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](109,_V,4,10,"a",48),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.PermissionsService.starTrainerAccess),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](122,zH))("ngClass",i["\u0275\u0275pureFunction1"](123,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](125,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](6,86,"ROOT.Home")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](128,NH))("ngClass",i["\u0275\u0275pureFunction1"](129,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](131,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](11,88,"ROOT.Activities")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",1!=r.showActivitiesSubnav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==r.showActivitiesSubnav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!r.showActivitiesSubnav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.ThemeService.isDevMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](134,HH))("ngClass",i["\u0275\u0275pureFunction1"](135,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](137,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](21,90,"ROOT.My_Best")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](140,VH))("ngClass",i["\u0275\u0275pureFunction1"](141,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](26,92,"ROOT.Routes & Routines")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](143,YH))("ngClass",i["\u0275\u0275pureFunction1"](144,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](146,WH))("ngClass",i["\u0275\u0275pureFunction1"](147,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](149,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](35,94,"ROOT.HR_Analysis")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](152,GH))("ngClass",i["\u0275\u0275pureFunction1"](153,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](155,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](40,96,"ROOT.Fitness_Assessments")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](158,UH))("ngClass",i["\u0275\u0275pureFunction1"](159,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](161,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](45,98,"ROOT.importexport")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](164,qH))("ngClass",i["\u0275\u0275pureFunction1"](165,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](167,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](50,100,"ROOT.manual_entry")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.ThemeService.isDevMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.ThemeService.isDevMode),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](170,$H))("ngClass",i["\u0275\u0275pureFunction1"](171,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](173,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](57,102,"ROOT.Calendar")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](176,XH))("ngClass",i["\u0275\u0275pureFunction1"](177,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](179,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](62,104,"ROOT.Goals")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](182,KH))("ngClass",i["\u0275\u0275pureFunction1"](183,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](185,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](67,106,"ROOT.Health_Vitals")),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",1!=r.showHealthSubnav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",1==r.showHealthSubnav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",!r.showHealthSubnav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](188,JH))("ngClass",i["\u0275\u0275pureFunction1"](189,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](191,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](76,108,"ROOT.Weight")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](194,QH))("ngClass",i["\u0275\u0275pureFunction1"](195,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](197,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](81,110,"ROOT.Resting Heart Rate")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](200,eV))("ngClass",i["\u0275\u0275pureFunction1"](201,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](203,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](86,112,"ROOT.vo2Max")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](206,tV))("ngClass",i["\u0275\u0275pureFunction1"](207,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](209,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](91,114,"ROOT.Blood Pressure")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](212,nV))("ngClass",i["\u0275\u0275pureFunction1"](213,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](215,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](96,116,"ROOT.Sleep")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](218,iV))("ngClass",i["\u0275\u0275pureFunction1"](219,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](221,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](101,118,"ROOT.Friends")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](224,rV))("ngClass",i["\u0275\u0275pureFunction1"](225,MH,r.ThemeService.isDarkTheme?"fd-bar-item":"fd-bar-item-light")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](227,cV,r.isOpen,!r.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](108,120,"ROOT.Partners")),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.isAuditing&&r.AccountService.account)}}var SV=function(e,t){return{color:e,"background-color":t}};function CV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",9),i["\u0275\u0275elementStart"](1,"div",10),i["\u0275\u0275template"](2,SH,5,0,"div",11),i["\u0275\u0275template"](3,CH,3,0,"div",12),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,oV,119,181,"div",1),i["\u0275\u0275template"](5,wV,110,230,"div",1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngStyle",i["\u0275\u0275pureFunction2"](7,SV,n.ThemeService.isDarkTheme?"#EAEBEC":"#58585B",n.ThemeService.isDarkTheme?"#58585B":"#EAEBEC"))("@openClose",n.isOpen?"open":"closed")("@mobileOpenClose",n.mobileIsOpen?"open":"closed"),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.isMobileNav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isMobileNav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isMobileNav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isMobileNav)}}function kV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"app-audit-bar"),i["\u0275\u0275elementEnd"]())}function OV(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",80),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](3).toggleMobile()}),i["\u0275\u0275text"](1," \u2630 "),i["\u0275\u0275elementEnd"]()}}var EV=function(e,t){return{"header-logo-open":e,"header-logo-closed":t}};function MV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",81),i["\u0275\u0275elementStart"](2,"div",82),i["\u0275\u0275elementStart"](3,"div",83),i["\u0275\u0275text"](4),i["\u0275\u0275element"](5,"img",84),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"div",85),i["\u0275\u0275elementStart"](7,"div",86),i["\u0275\u0275elementStart"](8,"div",87),i["\u0275\u0275elementStart"](9,"div",88),i["\u0275\u0275element"](10,"img",89),i["\u0275\u0275element"](11,"br"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"span"),i["\u0275\u0275element"](13,"div",90),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](10,EV,n.isOpen,!n.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](13,$H)),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate2"](" ",n.daysComplete," / 12 \u2022 ",n.percentageDisplay," "),i["\u0275\u0275advance"](4),i["\u0275\u0275styleMapInterpolate1"]("width:",n.progressBarPosSm,"px"),i["\u0275\u0275advance"](5),i["\u0275\u0275styleMapInterpolate1"]("width:",n.progressBarPosSm,"px")}}function IV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",107),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](6);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.InboxService.unreadMessageCount)}}function PV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"a",92),i["\u0275\u0275template"](1,IV,2,1,"span",105),i["\u0275\u0275element"](2,"img",106),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](5);i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](2,EH)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.InboxService.unreadMessageCount>0)}}function TV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Teams")))}function DV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Groups")))}function LV(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",108),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](5);return e.AccountService.logout(),e.mobileIsOpen=!1}),i["\u0275\u0275element"](1,"img",109),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,1,"ROOT.LogOut")," "))}var RV=function(){return["/zones"]};function jV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"a",92),i["\u0275\u0275element"](2,"img",93),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](3,PV,3,3,"a",94),i["\u0275\u0275elementStart"](4,"button",95),i["\u0275\u0275element"](5,"img",96),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](6,"mat-menu",null,97),i["\u0275\u0275elementStart"](8,"button",98),i["\u0275\u0275element"](9,"img",99),i["\u0275\u0275text"](10),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"button",98),i["\u0275\u0275element"](13,"img",100),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"button",98),i["\u0275\u0275element"](17,"img",101),i["\u0275\u0275text"](18),i["\u0275\u0275pipe"](19,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"button",98),i["\u0275\u0275element"](21,"img",102),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"button",98),i["\u0275\u0275element"](25,"img",103),i["\u0275\u0275template"](26,TV,3,3,"span",1),i["\u0275\u0275template"](27,DV,3,3,"span",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](28,LV,4,3,"button",104),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275reference"](7),r=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](25,aV)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.isAuditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("matMenuTriggerFor",n),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",r.AccountService.account.profilePhoto,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](26,BH)),i["\u0275\u0275advance"](1),i["\u0275\u0275propertyInterpolate"]("src",r.AccountService.account.profilePhoto,i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](11,17,"ROOT.Profile")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](27,RV)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](15,19,"ROOT.My Zones")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](28,iV)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](19,21,"ROOT.Friends")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](29,rV)),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](23,23,"ROOT.Partners")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](30,RH)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isAuditing&&r.AccountService.account)}}function AV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",91),i["\u0275\u0275template"](1,jV,29,31,"div",1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.AccountService.isLoggedIn)}}function FV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"a",92),i["\u0275\u0275element"](2,"img",110),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction2"](2,EV,n.isOpen,!n.isOpen)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](5,zH))}}function BV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",111),i["\u0275\u0275elementStart"](1,"a",92),i["\u0275\u0275element"](2,"img",112),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](1,zH)))}function zV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",120),i["\u0275\u0275element"](1,"img",121),i["\u0275\u0275elementEnd"]())}function NV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",120),i["\u0275\u0275element"](1,"img",122),i["\u0275\u0275elementEnd"]())}function HV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",123),i["\u0275\u0275text"](1," Get Fit. Stay Healthy. "),i["\u0275\u0275elementEnd"]())}var VV=function(){return["/login"]};function YV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",113),i["\u0275\u0275elementStart"](1,"div",114),i["\u0275\u0275template"](2,zV,2,0,"a",115),i["\u0275\u0275template"](3,NV,2,0,"a",115),i["\u0275\u0275elementStart"](4,"button",116),i["\u0275\u0275text"](5),i["\u0275\u0275pipe"](6,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"a",117),i["\u0275\u0275element"](8,"img",118),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](9,"div",77),i["\u0275\u0275template"](10,HV,2,0,"div",119),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",n.ThemeService.isThemeFitdigits),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ThemeService.isThemeBecolorado),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("routerLink",i["\u0275\u0275pureFunction0"](7,VV)),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](6,5,"ROOT.Sign In")," "),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",n.ThemeService.isThemeFitdigits)}}function WV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275element"](1,"router-outlet"),i["\u0275\u0275elementEnd"]())}function GV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",124),i["\u0275\u0275element"](1,"app-footer"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("@navState",n.isLoginView?"isLoginView":n.isOpen?"open":"closed")("@mobileNavState",n.isLoginView?"isLoginView":n.mobileIsOpen?"open":"closed")}}function UV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",125),i["\u0275\u0275element"](1,"app-footer"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275property"]("@navState",n.isLoginView?"isLoginView":n.isOpen?"open":"closed")("@mobileNavState",n.isLoginView?"isLoginView":n.mobileIsOpen?"open":"closed")}}function qV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",68),i["\u0275\u0275elementStart"](1,"div"),i["\u0275\u0275elementStart"](2,"div",69),i["\u0275\u0275template"](3,kV,2,0,"div",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](4,OV,2,0,"button",70),i["\u0275\u0275template"](5,MV,14,14,"div",2),i["\u0275\u0275template"](6,AV,2,1,"div",71),i["\u0275\u0275template"](7,FV,3,6,"div",2),i["\u0275\u0275template"](8,BV,3,2,"div",72),i["\u0275\u0275element"](9,"div",73),i["\u0275\u0275elementStart"](10,"div",74),i["\u0275\u0275template"](11,YV,11,8,"div",75),i["\u0275\u0275element"](12,"div",76),i["\u0275\u0275template"](13,WV,2,0,"div",1),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](14,"div",77),i["\u0275\u0275template"](15,GV,2,2,"div",78),i["\u0275\u0275template"](16,UV,2,2,"div",79),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",n.isAuditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isLoginView),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.loadedGoalData&&n.ThemeService.isThemeBecolorado&&!n.isMobileNav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isLoginView&&!n.isMobileNav),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.ThemeService.isThemeBecolorado&&n.isLoggedIn),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ThemeService.isThemeBecolorado&&n.isLoggedIn),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("@navState",n.isLoginView||n.ThemeService.isThemeSpinning?"isLoginView":n.isOpen?"open":"closed")("@mobileNavState",n.isLoginView?"isLoginView":n.mobileIsOpen?"open":"closed"),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.AccountService.isLoggedIn&&!n.isLoginView&&!n.ThemeService.isThemeSpinning),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.initLoading),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!(n.isMobileEmbedded||n.ThemeService.isThemeBecolorado||n.ThemeService.isThemeSpinning||n.isLoginView)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isMobileEmbedded&&n.ThemeService.isThemeBecolorado&&!n.ThemeService.isThemeSpinning&&!n.isLoginView)}}var ZV=function(e){return{"dark-theme":e}};function $V(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275template"](1,_H,2,0,"div",3),i["\u0275\u0275template"](2,wH,2,0,"div",3),i["\u0275\u0275template"](3,CV,6,10,"div",4),i["\u0275\u0275template"](4,qV,17,12,"div",5),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](5,ZV,n.ThemeService.isDarkTheme)),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ThemeService.isThemeSpinning&&!n.ThemeService.isDarkTheme),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.ThemeService.isThemeSpinning&&n.ThemeService.isDarkTheme),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isMobileEmbedded&&!n.isLoginView&&!n.ThemeService.isThemeSpinning),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isMobileEmbedded)}}function XV(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275elementStart"](1,"div",126),i["\u0275\u0275element"](2,"router-outlet"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}var KV=function(){function e(e,t,n,i,r,a,o,s,l,d,u,p,h,m,g,f,v,y,b,x){var w=this;this.AccountService=e,this.remoteConfig=t,this.translate=n,this.titleService=i,this.goalService=r,this.ThemeService=a,this.WorkoutTypes=o,this.auditService=s,this.PartnersService=l,this.ActivatedRoute=d,this.Location=u,this.PermissionsService=p,this.LivetrackingService=h,this.InboxService=m,this.dialog=g,this.renderer=f,this.ChangeDetectorRef=v,this.window=y,this.router=b,this.el=x,this.initLoading=!0,this.isMobileNav=!1,this.showActivitiesSubnav=!1,this.showHealthSubnav=!1,this.isOpen=!0,this.loadedGoalData=!1,this.ltActiveCount=0,this.mobileIsOpen=!0,this.isMobileEmbedded=!1,this.clientType="unknown",this.isLoginView=!1,this.isLoggedIn=!1,this.isAuditing=!1,this.isDarkTheme=!1,this.baseAppName="iCardio",this.baseWebUrl="my.fitdigits.com",this.legacyUser=!1,n.addLangs(B.nb),n.setDefaultLang("en"),n.use("en");for(var C=0;C<B.nb.length;C++)this.window.navigator.language.split("-")[0]==B.nb[C]&&(n.use(B.nb[C]),_.locale(B.nb[C]));console.log(this.window.navigator.language),b.events.subscribe(function(e){if(e instanceof S.c){(w.router.url.startsWith("/promos")||w.router.url.startsWith("/cuhp-move-goal"))&&(w.isMobileEmbedded=!0,w.AccountService.setMobileEmbedded(!0),w.ThemeService.isMobileEmbedded=!0);var t=w.getTitle(b.routerState,b.routerState.root).join("-");i.setTitle(t)}});var k=y.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;this.isMobileNav=k<=599,this.isMobileNav&&(this.isOpen=!1,this.mobileIsOpen=!1),this.ThemeService.isMobileNav=this.isMobileNav,this.auditService.isAuditing().subscribe(function(e){w.isAuditing=e});var O=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""}),E=O.get("deviceId")||O.get("device_id");"dark"==O.get("colortheme")&&(this.ThemeService.isDarkTheme=!0),this.ThemeService.isMobileEmbedded="true"==O.get("embed"),this.AccountService.setMobileEmbedded(this.ThemeService.isMobileEmbedded),this.isMobileEmbedded=this.ThemeService.isMobileEmbedded,this.isMobileEmbedded&&O.get("ios")&&(this.ThemeService.clientType="ios",console.log("Client Type:"+this.ThemeService.clientType)),this.ThemeService.isThemeBecolorado="true"==O.get("isThemeBeColorado"),this.window.location.hostname.startsWith("becolorado")?(this.ThemeService.isThemeBecolorado=!0,this.ThemeService.isThemeFitdigits=!1):this.window.location.hostname.startsWith("spinning")&&(this.ThemeService.isThemeBecolorado=!1,this.ThemeService.isThemeSpinning=!0,this.ThemeService.isThemeFitdigits=!1),"true"==O.get("isThemeBeColorado")&&(this.ThemeService.isThemeBecolorado=!0,this.ThemeService.isThemeFitdigits=!1),"true"==O.get("isThemeSpinning")&&(this.ThemeService.isThemeBecolorado=!1,this.ThemeService.isThemeSpinning=!0,this.ThemeService.isThemeFitdigits=!1,this.isMobileEmbedded=!0),this.ThemeService.isThemeBecolorado&&(this.ThemeService.baseAppName="Move",this.ThemeService.baseWebUrl="becolorado.fitdigits.com"),this.ThemeService.isThemeSpinning&&(this.ThemeService.baseAppName="Spinning",this.ThemeService.baseWebUrl="spinning.fitdigits.com"),(!this.ThemeService.isThemeSpinning&&!this.ThemeService.isThemeBecolorado||a.isThemeFitdigits)&&(this.ThemeService.baseAppName="iCardio",this.ThemeService.baseWebUrl="my.fitdigits.com"),Object(ie.a)([this.AccountService.initialAuth(E),this.WorkoutTypes.getTypes()]).subscribe(function(e){var n=e[0];try{1==n.response.data.audit&&(w.AccountService.auditor=new oe.b(n.response.data.auditor_account),w.auditService.setAuditing(!0))}catch(c){}var i=e[1];if(w.WorkoutTypes.workoutTypes=i.response.types,w.WorkoutTypes.workoutTypeLocales=i.response.locales,n.response.error||0===Object.keys(n.response.data).length){w.initLoading=!1,w.AccountService.isAnonymous=!0;var r=!1;if(w.ActivatedRoute.queryParams.subscribe(function(e){!1===r&&(r=!0,"dark"==e.colortheme?w.ThemeService.isDarkTheme=!0:"light"==e.colortheme&&(w.ThemeService.isDarkTheme=!1),w.ThemeService.isDarkTheme&&(w.ThemeService.themeClass="dark-theme",w.renderer.addClass(document.body,"dark-theme"),w.ThemeService.isMobileEmbedded&&(w.ThemeService.themeClass="black-theme",w.renderer.addClass(document.body,"black-theme"))),0==w.ThemeService.isDarkTheme&&(w.ThemeService.themeClass="",w.ThemeService.isMobileEmbedded&&(w.ThemeService.themeClass="")),w.translate.use(w.AccountService.isLoggedIn&&(e.language||w.AccountService.account.language)||"en"))}),!w.isLoginView){for(var o=!0,s=w.router.url.split("/"),l=0;l<EN.length;l++)("/"==w.router.url||s[1].startsWith(EN[l])||s.length>2&&(s[1]+"/"+s[2]).startsWith(EN[l]))&&(o=!1);o&&(w.AccountService.setLoginView(!0),w.router.navigate(["/login"]))}b.events.subscribe(function(e){if(e instanceof S.c&&0==w.AccountService.isLoggedIn){for(var t=!1,n=0;n<EN.length;n++)("/"==w.router.url||w.router.url.split("/")[1].startsWith(EN[n]))&&(t=!1);t&&(w.AccountService.setLoginView(!0),w.router.navigate(["/login"]))}})}else w.AccountService.isLoggedIn=!0,Object(ie.a)([w.AccountService.getAccount(),w.PermissionsService.purchasingStatus()]).subscribe(function(e){w.getSmartCoach(),w.AccountService.account=e[0],"dark"===w.AccountService.account.colorTheme&&(w.ThemeService.isDarkTheme=!0);var n=!1;w.ActivatedRoute.queryParams.subscribe(function(e){if(!1===n){n=!0,"dark"==e.colortheme?w.ThemeService.isDarkTheme=!0:"light"==e.colortheme&&(w.ThemeService.isDarkTheme=!1),w.ThemeService.isDarkTheme&&(w.ThemeService.themeClass="dark-theme",w.renderer.addClass(document.body,"dark-theme"),w.ThemeService.isMobileEmbedded&&(w.ThemeService.themeClass="black-theme",w.renderer.addClass(document.body,"black-theme"))),0==w.ThemeService.isDarkTheme&&(w.ThemeService.themeClass="",w.ThemeService.isMobileEmbedded&&(w.ThemeService.themeClass=""));var t=e.language||w.AccountService.account.language||"en";w.translate.use(t),_.locale(t),re.setOptions({lang:{months:_.months(),shortMonths:_.monthsShort()}})}}),w.PermissionsService.highestTier=e[1].response.highest_tier,w.PermissionsService.starTrainerAccess="star_trainer"==e[1].response.highest_tier,w.PermissionsService.starAccess="star"==e[1].response.highest_tier||1==w.PermissionsService.starTrainerAccess,w.PermissionsService.proPlusAccess="pro_plus"==e[1].response.highest_tier||1==w.PermissionsService.starAccess,w.PermissionsService.isFree=null==e[1].response.highest_tier&&0==e[1].response.consumables.length,e[1].response.consumables.length>0&&(w.legacyUser=!0),w.PermissionsService.proAccess=null==e[1].response.highest_tier&&1==w.legacyUser,t.fetchAndActivate().then(function(e){t.booleans.youtube_search.subscribe(function(e){1==e&&w.PermissionsService.starAccess&&(w.PermissionsService.youtubeSearchAccess=e)})}),w.AccountService.messageProfileImage=e[0].auditor&&e[0].auditor.has_image?w.AccountService.cloudBuckets.IMAGE_BUCKET+"profile_image/"+e[0].auditor.auditorId+"/"+e[0].auditor.image_filename:!0===e[0].hasImage?w.AccountService.cloudBuckets.IMAGE_BUCKET+"profile_image/"+e[0].accountId+"/"+e[0].imageFilename:w.AccountService.getPy3Host()+"/api/v2/profileimage?"+(new Date).getTime(),a.isThemeBecolorado&&w.goalService.evalBCGoal(!1).subscribe(function(e){w.today=_(),w.startOfMonth=_(new Date(w.today.year(),w.today.month(),1,0)),w.bcGoalData=e.response.result[0],console.log(w.bcGoalData),console.log(w.bcGoalData.evaluation),w.daysComplete=w.bcGoalData.evaluation.toFixed();var t=w.bcGoalData.score;w.progressBarPos=348*t,w.progressBarPosSm=115*t,w.percentageDisplay=(100*t).toFixed()+"%",w.loadedGoalData=!0}),w.initLoading=!1})})}return e.prototype.getTitle=function(e,t){var n=[];return t&&t.snapshot.data&&t.snapshot.data.title&&n.push(t.snapshot.data.title),e&&t&&n.push.apply(n,Object(te.__spread)(this.getTitle(e,e.firstChild(t)))),n},e.prototype.toggle=function(){this.isOpen=!this.isOpen},e.prototype.toggleMobile=function(){this.mobileIsOpen=!this.mobileIsOpen},e.prototype.getSmartCoach=function(){return Object(te.__awaiter)(this,void 0,void 0,function(){var e=this;return Object(te.__generator)(this,function(t){return this.AccountService.getSmartCoach().subscribe(function(t){null==t.response.smart_coach?e.coachProfilePict="https://my.fitdigits.com/static/img/unknown-coach.png":(e.coach_name=t.response.coach_name,e.coach_account=t.response.smart_coach,e.coachProfilePict=t.response.smart_coach_profile_image)}),[2]})})},e.prototype.ngOnInit=function(){var e=this;this.isDarkTheme=this.ThemeService.isDarkTheme,this.AccountService.isLoginView().subscribe(function(t){e.isLoginView=t,t||(e.isOpen=!0),e.ChangeDetectorRef.detectChanges()}),this.AccountService.isMobileEmbedded().subscribe(function(t){e.isMobileEmbedded=t,e.ChangeDetectorRef.detectChanges()}),this.isLoggedIn=this.AccountService.isLoggedIn},e.prototype.ngAfterViewInit=function(){},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](eH),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](a.Title),i["\u0275\u0275directiveInject"](o.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](PN.a),i["\u0275\u0275directiveInject"](zz.a),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](y.Location),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](De.d),i["\u0275\u0275directiveInject"](se.a),i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](i.Renderer2),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](S.d),i["\u0275\u0275directiveInject"](i.ElementRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-root"]],decls:4,vars:4,consts:[[3,"ngClass"],[4,"ngIf"],[3,"ngClass",4,"ngIf"],["style","width:100%; margin:auto; height:60px; clear:both; text-align:center;",4,"ngIf"],["class","fd-sidebar fd-bar-block fd-collapse fd-card fd-animate-left","style","display:block;z-index:1000; overflow-x: hidden;",3,"ngStyle",4,"ngIf"],["class","fd-main showNewNavSide",4,"ngIf"],[2,"width","100%","margin","auto","height","60px","clear","both","text-align","center"],["src","/images/spinning/spinning-text-logo-black.png","alt","Spinning",2,"padding-top","20px","max-width","160px","margin","auto"],["src","/images/spinning/spinning-text-logo-white.png","alt","Spinning",2,"padding-top","20px","max-width","160px","margin","auto"],[1,"fd-sidebar","fd-bar-block","fd-collapse","fd-card","fd-animate-left",2,"display","block","z-index","1000","overflow-x","hidden",3,"ngStyle"],[2,"padding","10px"],["class","mobileCloseYes",4,"ngIf"],["class","mobileCloseNo",4,"ngIf"],[1,"mobileCloseYes"],["id","navSideCloseMobile",1,"fd-xlarge","fd-right",3,"click"],["id","navSideOpenMobile",1,"fd-xlarge","fd-left",3,"click"],[1,"mobileCloseNo"],["id","navSideClose",1,"fd-xlarge","fd-right","mobileCloseNo",3,"click"],[1,"fd-button","fd-hover-blue","fd-top-parked",3,"routerLink","ngClass","click"],["id","firstName",4,"ngIf"],[1,"fd-button","fd-hover-blue",3,"routerLink","ngClass","click"],["src","/static/img/heart-icon.png",1,"main_menu_icons"],["class","fd-button fd-hover-blue",3,"routerLink","ngClass","click",4,"ngIf"],[1,"fd-button","fd-hover-blue","sub-nav-parent",3,"routerLink","ngClass","click"],["src","/static/img/workout-icon.png",1,"main_menu_icons"],["id","activitiesSubNav",1,"subNavToggle",3,"click"],["id","MyBest",1,"fd-bar-block","fd-white","fd-card-4",3,"hidden"],["src","/static/img/icons/achievementsIcon.png",1,"main_menu_icons_sub"],["src","/static/img/structured-workouts-icon.png",1,"main_menu_icons_sub"],["src","/static/img/youtube_icon_sm.png",1,"main_menu_icons_sub",2,"height","34px","width","24px","margin-left","2px"],["src","/static/img/icons/assessmentIcon.png",1,"main_menu_icons_sub"],["src","/static/img/assessments-icon.png",1,"main_menu_icons_sub"],["src","/static/img/import-icon.png",1,"main_menu_icons_sub"],["src","/static/img/greenplusbutton2.png",1,"main_menu_icons_sub"],["src","/static/img/steps-icon.png",1,"main_menu_icons"],["src","/static/img/calendar-icon-color.png",1,"main_menu_icons"],["src","/static/img/goals-icon-colored.png",1,"main_menu_icons"],["src","/static/img/health-icon-color.png",1,"main_menu_icons"],["id","healthSubNav",1,"subNavToggle",3,"click"],["id","HealthVitals",1,"fd-bar-block","fd-white","fd-card-4",3,"hidden"],["src","/static/img/weight-icon.png",1,"main_menu_icons_sub"],["src","/static/img/resting-pulse-icon.png",1,"main_menu_icons_sub"],["src","/static/img/workout-icon.png",1,"main_menu_icons_sub"],["src","/static/img/blood-pressure-icon.png",1,"main_menu_icons_sub"],["src","/static/img/sleep-icon.png",1,"main_menu_icons_sub",2,"width","14px"],["src","/static/img/health-partners-icon.png",1,"main_menu_icons"],["src","/static/img/partners-icon.png",1,"main_menu_icons"],["src","/static/img/support-icon-color.png",1,"main_menu_icons"],["class","fd-button fd-hover-blue","id","logoutLink",3,"ngClass","click",4,"ngIf"],["id","firstName"],[1,"main_menu_icons",3,"src"],[3,"hidden"],["class","msg-notification",4,"ngIf"],["src","/static/img/text_to_speech_cheers_icon.png",1,"main_menu_icons"],[1,"msg-notification"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow","navOpenArrow"],["src","/static/img/icons/flat_line_gray.png",1,"openArrow","navCloseArrow"],["src","/static/img/groups-icon-color.png",1,"main_menu_icons"],["id","logoutLink",1,"fd-button","fd-hover-blue",3,"ngClass","click"],[2,"margin-left","40px"],["class","fd-button fd-hover-blue fd-top-parked",3,"routerLink","ngClass",4,"ngIf"],[1,"fd-button","fd-hover-blue",3,"routerLink","ngClass"],[1,"fd-button","fd-hover-blue","sub-nav-parent",3,"routerLink","ngClass"],["id","Activities",1,"fd-bar-block","fd-white","fd-card-4",3,"hidden"],["class","fd-button fd-hover-blue",3,"routerLink","ngClass",4,"ngIf"],[1,"fd-button","fd-hover-blue","fd-top-parked",3,"routerLink","ngClass"],["src","https://storage.googleapis.com/image_manager/profile_image/6316537524387840/profile_image_1687920212.jpg",1,"main_menu_icons"],[2,"margin-left","40px",3,"ngClass"],[1,"fd-main","showNewNavSide"],["id","auditContainer"],["class","fd-button fd-xlarge newNavSideClose",3,"click",4,"ngIf"],["style","float:right; margin-top:0px;",4,"ngIf"],["class","mobileHeaderLogoBC",4,"ngIf"],[1,"fd-container",2,"padding","0px !Important"],["id","content-wrapper",2,"min-height","500px","left","0px"],["class","header-container-loggedout",4,"ngIf"],[2,"clear","right"],[2,"clear","both"],["class","content-wrapper",4,"ngIf"],["class","content-wrapper","style","background-image: linear-gradient(#E2E3E4, #FFFFFF);",4,"ngIf"],[1,"fd-button","fd-xlarge","newNavSideClose",3,"click"],[1,"contentListItemNoBkgrnd",2,"cursor","pointer",3,"routerLink"],[1,"moveGoalProgressContent"],[1,"progressText"],["src","/static/img/goals-icon-colored.png",1,"goalProgressIcon"],[1,"progressBarSmallContainer"],[1,"absolute"],[1,"progressBarLargeMarker"],[1,"progressBarLargeMarkerImg",2,"top","-9px","left","0px"],["src","/static/img/icons/progressBarMarkerIcon2.png",2,"width","13px"],[1,"progressBarSmallOnBkgrnd"],[2,"float","right","margin-top","0px"],[3,"routerLink"],["src","/static/img/support-icon-color.png",1,"main_account_icon"],[3,"routerLink",4,"ngIf"],["mat-icon-button","",3,"matMenuTriggerFor"],[1,"main_account_icon",3,"src"],["menu","matMenu"],["mat-menu-item","",1,"account-profile-menu",3,"routerLink"],[1,"profile_menu_icons",2,"border-radius","5px",3,"src"],["src","/static/img/workout-icon.png",1,"profile_menu_icons"],["src","/static/img/health-partners-icon.png",1,"profile_menu_icons"],["src","/static/img/partners-icon.png",1,"profile_menu_icons"],["src","/static/img/groups-icon-color.png",1,"profile_menu_icons"],["mat-menu-item","","class","account-profile-menu",3,"click",4,"ngIf"],["class","msg-notification","style","margin-top:5px;right:50px;",4,"ngIf"],["src","/static/img/text_to_speech_cheers_icon.png",1,"main_inbox_icon"],[1,"msg-notification",2,"margin-top","5px","right","50px"],["mat-menu-item","",1,"account-profile-menu",3,"click"],["src","/static/img/logout.png",1,"profile_menu_icons"],["src","/static/img/fitdigits-header-logo.png"],[1,"mobileHeaderLogoBC"],["src","/static/img/theme/move/move_header_logo_mountains_new.png",2,"height","34px"],[1,"header-container-loggedout"],[1,"logged-out-header"],["routerLink","/welcome",4,"ngIf"],[1,"btn-primary","themedRoundButton","float-right",3,"routerLink"],["routerLink","/support"],["src","/static/img/support_icon.png",1,"main_account_icon",2,"float","right","margin-right","20px"],["class","header-band","style","margin-top:20px;",4,"ngIf"],["routerLink","/welcome"],["src","/static/img/fitdigits-header-logo.png",1,"header-logo-new"],["src","/static/img/theme/move/move_header_logo_mountains_new.png",1,"header-logo-new",2,"height","34px"],[1,"header-band",2,"margin-top","20px"],[1,"content-wrapper"],[1,"content-wrapper",2,"background-image","linear-gradient(#E2E3E4, #FFFFFF)"],["id","content-wrapper-embedded",2,"min-height","500px"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275template"](1,xH,1,0,"app-cookie-notice",1),i["\u0275\u0275template"](2,$V,5,7,"div",2),i["\u0275\u0275template"](3,XV,3,0,"div",1),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.initLoading&&!t.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.initLoading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",t.isMobileEmbedded&&!t.initLoading))},directives:[y.NgClass,y.NgIf,rH,y.NgStyle,S.f,sH,S.e,k.b,gt.d,gt.a,gt.b,S.h,bH],pipes:[M.c],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}"],data:{animation:[Object(le.n)("openClose",[Object(le.k)("open",Object(le.l)({width:"220px"})),Object(le.k)("closed",Object(le.l)({width:"70px"})),Object(le.m)("open => closed",[Object(le.e)(".3s")]),Object(le.m)("closed => open",[Object(le.e)("0.3s")]),Object(le.m)("closed <=> open",[Object(le.g)([Object(le.i)("@navState",[Object(le.f)()]),Object(le.e)("300ms ease-out")])])]),Object(le.n)("mobileOpenClose",[Object(le.k)("open",Object(le.l)({width:"220px"})),Object(le.k)("closed",Object(le.l)({width:"0px"})),Object(le.m)("open => closed",[Object(le.e)(".3s")]),Object(le.m)("closed => open",[Object(le.e)("0.3s")]),Object(le.m)("closed <=> open",[Object(le.g)([Object(le.i)("@navState",[Object(le.f)()]),Object(le.e)("300ms ease-out")])])]),Object(le.n)("navState",[Object(le.k)("closed",Object(le.l)({left:"70px",width:"calc(100% - 70px)"})),Object(le.k)("open",Object(le.l)({left:"220px",width:"calc(100% - 220px)"})),Object(le.k)("isLoginView",Object(le.l)({left:"0",width:"calc(100%)"})),Object(le.m)("open => closed",[Object(le.e)(".3s")]),Object(le.m)("closed => open",[Object(le.e)("0.3s")])]),Object(le.n)("mobileNavState",[Object(le.k)("closed",Object(le.l)({left:"0",width:"100%"})),Object(le.k)("open",Object(le.l)({})),Object(le.k)("isLoginView",Object(le.l)({left:"0",width:"calc(100%)"})),Object(le.m)("open => closed",[Object(le.e)(".3s")]),Object(le.m)("closed => open",[Object(le.e)("0.3s")])])]}}),e}(),JV=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[],imports:[[y.CommonModule]]}),e}();function QV(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",10),i["\u0275\u0275elementStart"](1,"span",11),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.error," ")}}var eY=function(){function e(e,t,n,i,r){this.dialogRef=e,this.WorkoutTypes=t,this.WorkoutsService=n,this.translate=i,this.data=r,this.zoneFunction="setDefaultZoneset",this.settingDefault=!1}return e.prototype.ngOnInit=function(){var e=this;this.existingFilters=this.data.activityTypes,this.activityTypeFilterSubscription=this.WorkoutTypes.activityTypeFilter().subscribe(function(t){e.activityTypeFilter=t}),this.data.constructor.name.startsWith("Speed")?this.zoneFunction="setSpeedDefaultZoneset":this.data.constructor.name.startsWith("Pace")?this.zoneFunction="setPaceDefaultZoneset":this.data.constructor.name.startsWith("Power")&&(this.zoneFunction="setPowerDefaultZoneset"),this.availableWorkoutTypes=this.WorkoutTypes.getWorkoutTypeList(this.translate.currentLang);var t=[];for(var n in this.availableWorkoutTypes)t.push([Number(n),this.availableWorkoutTypes[n]]);t.sort(function(e,t){return e[1].localeCompare(t[1])}),this.availableWorkoutTypes=t},e.prototype.set=function(){var e=this;console.log(this.workoutType),this.settingDefault=!0,this.WorkoutsService[this.zoneFunction](this.activityTypeFilter,this.data.key,this.data.id).subscribe(function(t){e.settingDefault=!1,e.close(!0,e.activityTypeFilter)})},e.prototype.setAll=function(){var e=this;this.WorkoutsService[this.zoneFunction]([-1],this.data.key).subscribe(function(t){e.close(!0,-1)})},e.prototype.close=function(e,t){this.dialogRef.close([e,t])},e.prototype.ngOnDestroy=function(){this.activityTypeFilterSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.f),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](M.d),i["\u0275\u0275directiveInject"](g.a))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-zoneset-default-modal"]],decls:21,vars:12,consts:[[1,"mat-primary"],[1,"modalClose"],["mat-button","",2,"float","right",3,"click"],[2,"margin","0px !important","padding","0px !important"],[1,"activity-choices"],[3,"selectedTypesInput"],["class","healthPopupError",4,"ngIf"],[2,"justify-content","flex-end","display","flex"],[1,"themed-clear-button","delete-cancel","float-right",2,"margin-top","20px",3,"click"],["aria-label","Save",1,"themed-clear-button","create-button","float-right",3,"disabled","click"],[1,"healthPopupError"],[1,"error"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"mat-toolbar",0),i["\u0275\u0275elementStart"](1,"mat-toolbar-row"),i["\u0275\u0275elementStart"](2,"h2"),i["\u0275\u0275text"](3),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"div",1),i["\u0275\u0275elementStart"](6,"button",2),i["\u0275\u0275listener"]("click",function(){return t.close(!1,null)}),i["\u0275\u0275elementStart"](7,"mat-icon"),i["\u0275\u0275text"](8,"close"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](9,"mat-dialog-content",3),i["\u0275\u0275elementStart"](10,"div",4),i["\u0275\u0275element"](11,"app-activity-filter",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"mat-dialog-actions"),i["\u0275\u0275template"](13,QV,3,1,"div",6),i["\u0275\u0275elementStart"](14,"div",7),i["\u0275\u0275elementStart"](15,"button",8),i["\u0275\u0275listener"]("click",function(){return t.close(!1,null)}),i["\u0275\u0275text"](16),i["\u0275\u0275pipe"](17,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](18,"button",9),i["\u0275\u0275listener"]("click",function(){return t.set()}),i["\u0275\u0275text"](19),i["\u0275\u0275pipe"](20,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](4,6,"ROOT.Set Default")),i["\u0275\u0275advance"](8),i["\u0275\u0275property"]("selectedTypesInput",t.existingFilters),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",t.error),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](17,8,"ROOT.Cancel")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("disabled",t.settingDefault),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](20,10,"ROOT.Save")," "))},directives:[C.a,C.c,k.b,O.a,g.d,bM,g.c,y.NgIf],pipes:[M.c],styles:[".activity-choices[_ngcontent-%COMP%]{margin-top:20px;text-align:left;min-height:50vh}"]}),e}(),tY=["accordion"];function nY(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",10),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().createZone()}),i["\u0275\u0275element"](1,"img",11),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,1,"ROOT.New")," "))}var iY=function(e){return[e]};function rY(e,t){if(1&e&&i["\u0275\u0275element"](0,"mat-progress-spinner",12),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngClass",i["\u0275\u0275pureFunction1"](4,iY,n.ThemeService.isMobileEmbedded?"zone-calc-spinwait-mobile":"zone-calc-spinwait"))("mode","indeterminate")("color","primary")("diameter",30)}}function aY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.errorMsg)}}function oY(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",24),i["\u0275\u0275elementStart"](1,"mat-icon"),i["\u0275\u0275text"](2,"edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function sY(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"a",24),i["\u0275\u0275elementStart"](1,"mat-icon"),i["\u0275\u0275text"](2,"edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]())}function lY(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",13),i["\u0275\u0275elementStart"](1,"table",14),i["\u0275\u0275elementStart"](2,"tr"),i["\u0275\u0275elementStart"](3,"td"),i["\u0275\u0275text"](4),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementStart"](6,"span",15),i["\u0275\u0275text"](7," *"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](8,": "),i["\u0275\u0275template"](9,aY,2,1,"span",5),i["\u0275\u0275elementStart"](10,"mat-form-field"),i["\u0275\u0275elementStart"](11,"input",16),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().mhr=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"td"),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"translate"),i["\u0275\u0275elementStart"](15,"span",15),i["\u0275\u0275text"](16," **"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](17,": "),i["\u0275\u0275elementStart"](18,"mat-form-field"),i["\u0275\u0275elementStart"](19,"input",16),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().rhr=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](20,"tr"),i["\u0275\u0275elementStart"](21,"td"),i["\u0275\u0275template"](22,oY,3,0,"a",17),i["\u0275\u0275text"](23),i["\u0275\u0275pipe"](24,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](25,"td"),i["\u0275\u0275template"](26,sY,3,0,"a",17),i["\u0275\u0275text"](27),i["\u0275\u0275pipe"](28,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](29,"tr"),i["\u0275\u0275elementStart"](30,"td",18),i["\u0275\u0275elementStart"](31,"button",19),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]();return e.createDefaultZones(e.rhr,e.mhr,e.updateNumber)}),i["\u0275\u0275text"](32),i["\u0275\u0275pipe"](33,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](34,"tr"),i["\u0275\u0275elementStart"](35,"td",18),i["\u0275\u0275elementStart"](36,"p",20),i["\u0275\u0275elementStart"](37,"span",21),i["\u0275\u0275text"](38,"*"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](39),i["\u0275\u0275pipe"](40,"translate"),i["\u0275\u0275elementStart"](41,"a",22),i["\u0275\u0275text"](42),i["\u0275\u0275pipe"](43,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](44,"p",20),i["\u0275\u0275elementStart"](45,"span",21),i["\u0275\u0275text"](46,"**"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](47),i["\u0275\u0275pipe"](48,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275element"](49,"div",23),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](4),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](5,19,"ROOT.Maximum Heart Rate"),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!r.innaccurateMHR),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",r.errorMsg),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngModel",r.mhr),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](14,21,"ROOT.Resting Heart Rate"),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!r.innaccurateRHR),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngModel",r.rhr),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!r.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](24,23,"ROOT.Age"),": ",r.age," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngIf",!r.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](28,25,"ROOT.Gender"),": ",r.gender," "),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](33,27,"ROOT.Calculate Zones")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("hidden",!r.innaccurateMHR),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](40,29,"ROOT.Using 220-Age to determine MHR. We encourage you to run one of the")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](43,31,"ROOT.Fitness Assessments"),""),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("hidden",!r.innaccurateRHR),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](48,33,"ROOT.70 bpm used as default. We encourage you to record your RHR for accuracy.")," ")}}function cY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",49),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",r.WorkoutTypesService.getWorkoutTypeIcon(n,r.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"]),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",r.WorkoutTypesService.getWorkoutTypeName(n,r.language)," ")}}function dY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate2"](" +",n.zoneset.activityTypes.length-4," ",i["\u0275\u0275pipeBind1"](2,2,"ROOT.More")," ")}}function uY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",50),i["\u0275\u0275elementStart"](1,"h4",51),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.name," ")}}function pY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](4);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.errorMsg)}}function hY(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field"),i["\u0275\u0275elementStart"](1,"input",52),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).$implicit.zoneset.name=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",r.zoneset.name)}}function mY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",50),i["\u0275\u0275template"](1,pY,2,1,"span",5),i["\u0275\u0275template"](2,hY,2,1,"mat-form-field",5),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.errorMsg),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function gY(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.KPH")))}function fY(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.MPH")))}function vY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",53),i["\u0275\u0275template"](1,gY,3,3,"span",5),i["\u0275\u0275template"](2,fY,3,3,"span",5),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.accountService.account.isMetric()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.accountService.account.isMetric())}}function yY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.zoneset.zone5[r.maxName])}}function bY(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",56),i["\u0275\u0275listener"]("ngModelChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"](2);return t.zoneset.zone5[r.maxName]=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngModel",r.zoneset.zone5[a.maxName])}}function xY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",54),i["\u0275\u0275template"](1,bY,1,1,"input",55),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function _Y(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u2022 ",i["\u0275\u0275pipeBind2"](2,1,n.zoneset.zone5[r.maxName]/r.mhr*100,"1.0-0"),"% ")}}function wY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.zoneset.zone5[r.minName])}}function SY(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",56),i["\u0275\u0275listener"]("ngModelChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"](2);return t.zoneset.zone5[r.minName]=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngModel",r.zoneset.zone5[a.minName])}}function CY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",54),i["\u0275\u0275template"](1,SY,1,1,"input",55),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function kY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u2022 ",i["\u0275\u0275pipeBind2"](2,1,n.zoneset.zone5[r.minName]/r.mhr*100,"1.0-0"),"% ")}}function OY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.zoneset.zone4[r.minName])}}function EY(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",56),i["\u0275\u0275listener"]("ngModelChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"](2);return t.zoneset.zone4[r.minName]=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngModel",r.zoneset.zone4[a.minName])}}function MY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",54),i["\u0275\u0275template"](1,EY,1,1,"input",55),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function IY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u2022 ",i["\u0275\u0275pipeBind2"](2,1,n.zoneset.zone4[r.minName]/r.mhr*100,"1.0-0"),"% ")}}function PY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.zoneset.zone3[r.minName])}}function TY(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",56),i["\u0275\u0275listener"]("ngModelChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"](2);return t.zoneset.zone3[r.minName]=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngModel",r.zoneset.zone3[a.minName])}}function DY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",54),i["\u0275\u0275template"](1,TY,1,1,"input",55),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function LY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u2022 ",i["\u0275\u0275pipeBind2"](2,1,n.zoneset.zone3[r.minName]/r.mhr*100,"1.0-0"),"% ")}}function RY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.zoneset.zone2[r.minName])}}function jY(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",56),i["\u0275\u0275listener"]("ngModelChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"](2);return t.zoneset.zone2[r.minName]=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngModel",r.zoneset.zone2[a.minName])}}function AY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",54),i["\u0275\u0275template"](1,jY,1,1,"input",55),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function FY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u2022 ",i["\u0275\u0275pipeBind2"](2,1,n.zoneset.zone2[r.minName]/r.mhr*100,"1.0-0"),"% ")}}function BY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.zoneset.zone1[r.minName])}}function zY(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",56),i["\u0275\u0275listener"]("ngModelChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"](2);return t.zoneset.zone1[r.minName]=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"](2);i["\u0275\u0275property"]("ngModel",r.zoneset.zone1[a.minName])}}function NY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",54),i["\u0275\u0275template"](1,zY,1,1,"input",55),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function HY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u2022 ",i["\u0275\u0275pipeBind2"](2,1,n.zoneset.zone1[r.minName]/r.mhr*100,"1.0-0"),"% ")}}function VY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",57),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.zone5.name,"\xa0 ")}}function YY(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",60),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).$implicit.zoneset.zone5.name=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngModel",r.zoneset.zone5.name)}}function WY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",58),i["\u0275\u0275template"](1,YY,1,1,"input",59),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function GY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",57),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.zoneset.zone4.name,"\xa0")}}function UY(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",60),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).$implicit.zoneset.zone4.name=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngModel",r.zoneset.zone4.name)}}function qY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",58),i["\u0275\u0275template"](1,UY,1,1,"input",59),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function ZY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",57),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.zoneset.zone3.name,"\xa0")}}function $Y(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",60),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).$implicit.zoneset.zone3.name=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngModel",r.zoneset.zone3.name)}}function XY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",58),i["\u0275\u0275template"](1,$Y,1,1,"input",59),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function KY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",57),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.zoneset.zone2.name,"\xa0")}}function JY(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",60),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).$implicit.zoneset.zone2.name=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngModel",r.zoneset.zone2.name)}}function QY(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",58),i["\u0275\u0275template"](1,JY,1,1,"input",59),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function eW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",57),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"]("",n.zoneset.zone1.name,"\xa0")}}function tW(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",60),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).$implicit.zoneset.zone1.name=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngModel",r.zoneset.zone1.name)}}function nW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",58),i["\u0275\u0275template"](1,tW,1,1,"input",59),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function iW(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.KPH")))}function rW(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.MPH")))}function aW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",53),i["\u0275\u0275template"](1,iW,3,3,"span",5),i["\u0275\u0275template"](2,rW,3,3,"span",5),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.accountService.account.isMetric()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.accountService.account.isMetric())}}function oW(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Min/Km")))}function sW(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Min/Mi")))}function lW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",53),i["\u0275\u0275template"](1,oW,3,3,"span",5),i["\u0275\u0275template"](2,sW,3,3,"span",5),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.accountService.account.isMetric()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.accountService.account.isMetric())}}function cW(e,t){1&e&&i["\u0275\u0275element"](0,"mat-progress-spinner",65),2&e&&i["\u0275\u0275property"]("mode","indeterminate")("color","accent")("diameter",20)}function dW(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",61),i["\u0275\u0275elementStart"](1,"button",62),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](),t=e.index,r=e.$implicit;return i["\u0275\u0275nextContext"](2).saveValues(t,r,"defaults")}),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275template"](4,cW,1,3,"mat-progress-spinner",63),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"button",64),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](),t=e.$implicit,r=e.index,a=i["\u0275\u0275nextContext"](2);return t.isEditing=!1,a.creatingZone=!1,a.resetValues(r,"defaults")}),i["\u0275\u0275text"](6),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",r.savingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,4,"ROOT.Save")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.savingZone),i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](7,6,"ROOT.Cancel")," ")}}function uW(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275elementStart"](1,"div",26),i["\u0275\u0275elementStart"](2,"button",27),i["\u0275\u0275listener"]("click",function(e){return e.stopPropagation()}),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275pipe"](5,"translate"),i["\u0275\u0275elementStart"](6,"mat-icon",28),i["\u0275\u0275text"](7,"more_horiz"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"mat-menu",29,30),i["\u0275\u0275elementStart"](10,"button",31),i["\u0275\u0275listener"]("click",function(){return t.$implicit.isEditing=!0}),i["\u0275\u0275pipe"](11,"translate"),i["\u0275\u0275elementStart"](12,"span",32),i["\u0275\u0275text"](13,"edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](14,"span",33),i["\u0275\u0275text"](15),i["\u0275\u0275pipe"](16,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](17,"button",31),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.$implicit;return i["\u0275\u0275nextContext"](2).setDefault(e.zoneset)}),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementStart"](19,"span",32),i["\u0275\u0275text"](20,"done"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](21,"span",33),i["\u0275\u0275text"](22),i["\u0275\u0275pipe"](23,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](24,"button",31),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=t.index;return i["\u0275\u0275nextContext"](2).deleteZoneset(e,"defaults")}),i["\u0275\u0275pipe"](25,"translate"),i["\u0275\u0275elementStart"](26,"span",34),i["\u0275\u0275text"](27,"delete_forever"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](28,"span",33),i["\u0275\u0275text"](29),i["\u0275\u0275pipe"](30,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"div",35),i["\u0275\u0275template"](32,cY,3,2,"span",36),i["\u0275\u0275pipe"](33,"slice"),i["\u0275\u0275template"](34,dY,3,4,"span",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](35,uY,3,1,"div",37),i["\u0275\u0275template"](36,mY,3,2,"div",37),i["\u0275\u0275elementStart"](37,"div",38),i["\u0275\u0275template"](38,vY,3,2,"div",39),i["\u0275\u0275elementStart"](39,"div",40),i["\u0275\u0275elementStart"](40,"div",41),i["\u0275\u0275elementStart"](41,"div",42),i["\u0275\u0275template"](42,yY,2,1,"span",5),i["\u0275\u0275template"](43,xY,2,1,"mat-form-field",43),i["\u0275\u0275template"](44,_Y,3,4,"span",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"div",42),i["\u0275\u0275template"](46,wY,2,1,"span",5),i["\u0275\u0275template"](47,CY,2,1,"mat-form-field",43),i["\u0275\u0275template"](48,kY,3,4,"span",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](49,"div",42),i["\u0275\u0275template"](50,OY,2,1,"span",5),i["\u0275\u0275template"](51,MY,2,1,"mat-form-field",43),i["\u0275\u0275template"](52,IY,3,4,"span",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](53,"div",42),i["\u0275\u0275template"](54,PY,2,1,"span",5),i["\u0275\u0275template"](55,DY,2,1,"mat-form-field",43),i["\u0275\u0275template"](56,LY,3,4,"span",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](57,"div",42),i["\u0275\u0275template"](58,RY,2,1,"span",5),i["\u0275\u0275template"](59,AY,2,1,"mat-form-field",43),i["\u0275\u0275template"](60,FY,3,4,"span",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](61,"div",42),i["\u0275\u0275template"](62,BY,2,1,"span",5),i["\u0275\u0275template"](63,NY,2,1,"mat-form-field",43),i["\u0275\u0275template"](64,HY,3,4,"span",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](65,"div",44),i["\u0275\u0275elementStart"](66,"div",45),i["\u0275\u0275template"](67,VY,2,1,"span",46),i["\u0275\u0275template"](68,WY,2,1,"mat-form-field",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](69,"div",45),i["\u0275\u0275template"](70,GY,2,1,"span",46),i["\u0275\u0275template"](71,qY,2,1,"mat-form-field",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](72,"div",45),i["\u0275\u0275template"](73,ZY,2,1,"span",46),i["\u0275\u0275template"](74,XY,2,1,"mat-form-field",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](75,"div",45),i["\u0275\u0275template"](76,KY,2,1,"span",46),i["\u0275\u0275template"](77,QY,2,1,"mat-form-field",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](78,"div",45),i["\u0275\u0275template"](79,eW,2,1,"span",46),i["\u0275\u0275template"](80,nW,2,1,"mat-form-field",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](81,aW,3,2,"div",39),i["\u0275\u0275template"](82,lW,3,2,"div",39),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](83,dW,8,8,"div",48),i["\u0275\u0275elementEnd"]()}if(2&e){var r=t.$implicit,a=i["\u0275\u0275reference"](9),o=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("matMenuTriggerFor",a),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](3,49,"ROOT.Edit")+i["\u0275\u0275pipeBind1"](4,51,"ROOT.Set Default")+i["\u0275\u0275pipeBind1"](5,53,"ROOT.Delete")),i["\u0275\u0275advance"](8),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](11,55,"ROOT.Edit")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](16,57,"ROOT.Edit")),i["\u0275\u0275advance"](2),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](18,59,"ROOT.Set Default")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](23,61,"ROOT.Set Default")),i["\u0275\u0275advance"](2),i["\u0275\u0275attribute"]("aria-label",i["\u0275\u0275pipeBind1"](25,63,"ROOT.Delete")),i["\u0275\u0275advance"](5),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](30,65,"ROOT.Delete")," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind3"](33,67,r.zoneset.activityTypes,0,4)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.zoneset.activityTypes.length>4),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isEditing),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf","speed"==o.zonesetType),i["\u0275\u0275advance"](4),i["\u0275\u0275property"]("ngIf",!r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==o.zonesetType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==o.zonesetType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==o.zonesetType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==o.zonesetType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==o.zonesetType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==o.zonesetType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",o.zoneColorClasses[4]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",o.zoneColorClasses[3]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",o.zoneColorClasses[2]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",o.zoneColorClasses[1]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",o.zoneColorClasses[0]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","speed"==o.zonesetType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","pace"==o.zonesetType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",r.isEditing)}}function pW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275template"](1,uW,84,71,"div",9),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",n.defaults)}}function hW(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",66),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.No Default Zoneset")," "))}function mW(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",68),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.More")))}function gW(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span",68),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Less")))}function fW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-expansion-panel-header"),i["\u0275\u0275template"](1,mW,3,3,"span",67),i["\u0275\u0275template"](2,gW,3,3,"span",67),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.showMoreZones),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.showMoreZones)}}function vW(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.PST")))}function yW(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.FTP")))}function bW(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",74),i["\u0275\u0275elementStart"](1,"div",75),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275pipe"](4,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](5,"mat-form-field",76),i["\u0275\u0275elementStart"](6,"input",77),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).ftpInput=e}),i["\u0275\u0275pipe"](7,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](8,"p",78),i["\u0275\u0275text"](9),i["\u0275\u0275pipe"](10,"translate"),i["\u0275\u0275template"](11,vW,3,3,"span",5),i["\u0275\u0275template"](12,yW,3,3,"span",5),i["\u0275\u0275text"](13),i["\u0275\u0275pipe"](14,"lowercase"),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"button",79),i["\u0275\u0275listener"]("click",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"]().ftpInputChange(e,t)}),i["\u0275\u0275text"](17),i["\u0275\u0275pipe"](18,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate2"](" ",i["\u0275\u0275pipeBind1"](3,11,"ROOT.Calculate Zones from")," ",i["\u0275\u0275pipeBind1"](4,13,"ROOT.FTP")," "),i["\u0275\u0275advance"](4),i["\u0275\u0275propertyInterpolate"]("placeholder",i["\u0275\u0275pipeBind1"](7,15,"ROOT.FTP")),i["\u0275\u0275property"]("formControl",r.ftpFormControl)("ngModel",r.ftpInput),i["\u0275\u0275advance"](3),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](10,17,"ROOT.Enter the average watts from a previously completed")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.ThemeService.isThemeSpinning),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!r.ThemeService.isThemeSpinning),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](14,19,i["\u0275\u0275pipeBind1"](15,21,"ROOT.Assessment"))," "),i["\u0275\u0275advance"](3),i["\u0275\u0275property"]("disabled",0==r.ftpInput.length||r.ftpFormControl.hasError("pattern")),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](18,23,"ROOT.Calculate Zones")," ")}}function xW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"button",84),i["\u0275\u0275listener"]("click",function(e){return e.stopPropagation()}),i["\u0275\u0275elementStart"](1,"mat-icon",28),i["\u0275\u0275text"](2,"more_horiz"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){i["\u0275\u0275nextContext"]();var n=i["\u0275\u0275reference"](3);i["\u0275\u0275property"]("matMenuTriggerFor",n)}}function _W(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",26),i["\u0275\u0275template"](1,xW,3,1,"button",80),i["\u0275\u0275elementStart"](2,"mat-menu",29,30),i["\u0275\u0275elementStart"](4,"button",81),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().$implicit.isEditing=!0}),i["\u0275\u0275elementStart"](5,"span",32),i["\u0275\u0275text"](6,"edit"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](7,"span",33),i["\u0275\u0275text"](8),i["\u0275\u0275pipe"](9,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](10,"button",82),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().$implicit;return i["\u0275\u0275nextContext"]().setDefault(e.zoneset)}),i["\u0275\u0275elementStart"](11,"span",32),i["\u0275\u0275text"](12,"done"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](13,"span",33),i["\u0275\u0275text"](14),i["\u0275\u0275pipe"](15,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](16,"button",83),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"]().index;return i["\u0275\u0275nextContext"]().deleteZoneset(e,"zonesets")}),i["\u0275\u0275elementStart"](17,"span",34),i["\u0275\u0275text"](18,"delete_forever"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"span",33),i["\u0275\u0275text"](20),i["\u0275\u0275pipe"](21,"translate"),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",null!=r.zoneset.key),i["\u0275\u0275advance"](7),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](9,4,"ROOT.Edit")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](15,6,"ROOT.Set Default")),i["\u0275\u0275advance"](6),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](21,8,"ROOT.Delete"))}}function wW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275element"](1,"img",85),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=i["\u0275\u0275nextContext"](3);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("src",r.WorkoutTypesService.getWorkoutTypeIcon(n,r.ThemeService.isDarkTheme),i["\u0275\u0275sanitizeUrl"])}}function SW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",35),i["\u0275\u0275template"](1,wW,2,1,"span",36),i["\u0275\u0275pipe"](2,"slice"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngForOf",i["\u0275\u0275pipeBind3"](2,1,n.zoneset.activityTypes,0,4))}}function CW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",50),i["\u0275\u0275elementStart"](1,"h4",51),i["\u0275\u0275text"](2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.name," ")}}function kW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](n.errorMsg)}}function OW(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"mat-form-field"),i["\u0275\u0275elementStart"](1,"input",52),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).$implicit.zoneset.name=e}),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngModel",r.zoneset.name)}}function EW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",50),i["\u0275\u0275template"](1,kW,2,1,"div",5),i["\u0275\u0275template"](2,OW,2,1,"mat-form-field",5),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.errorMsg),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function MW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.zone5[r.maxName]," ")}}function IW(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",56),i["\u0275\u0275listener"]("ngModelChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"]();return t.zoneset.zone5[r.maxName]=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngModel",r.zoneset.zone5[a.maxName])}}function PW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",54),i["\u0275\u0275template"](1,IW,1,1,"input",55),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function TW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u2022 ",i["\u0275\u0275pipeBind2"](2,1,n.zoneset.zone5[r.maxName]/r.mhr*100,"1.0-0"),"% ")}}function DW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.zone5[r.minName]," ")}}function LW(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",56),i["\u0275\u0275listener"]("ngModelChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"]();return t.zoneset.zone5[r.minName]=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngModel",r.zoneset.zone5[a.minName])}}function RW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",54),i["\u0275\u0275template"](1,LW,1,1,"input",55),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function jW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u2022 ",i["\u0275\u0275pipeBind2"](2,1,n.zoneset.zone5[r.minName]/r.mhr*100,"1.0-0"),"% ")}}function AW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.zone4[r.minName]," ")}}function FW(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",56),i["\u0275\u0275listener"]("ngModelChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"]();return t.zoneset.zone4[r.minName]=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngModel",r.zoneset.zone4[a.minName])}}function BW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",54),i["\u0275\u0275template"](1,FW,1,1,"input",55),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function zW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u2022 ",i["\u0275\u0275pipeBind2"](2,1,n.zoneset.zone4[r.minName]/r.mhr*100,"1.0-0"),"% ")}}function NW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.zone3[r.minName]," ")}}function HW(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",56),i["\u0275\u0275listener"]("ngModelChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"]();return t.zoneset.zone3[r.minName]=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngModel",r.zoneset.zone3[a.minName])}}function VW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",54),i["\u0275\u0275template"](1,HW,1,1,"input",55),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function YW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u2022 ",i["\u0275\u0275pipeBind2"](2,1,n.zoneset.zone3[r.minName]/r.mhr*100,"1.0-0"),"% ")}}function WW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.zone2[r.minName]," ")}}function GW(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",56),i["\u0275\u0275listener"]("ngModelChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"]();return t.zoneset.zone2[r.minName]=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngModel",r.zoneset.zone2[a.minName])}}function UW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",54),i["\u0275\u0275template"](1,GW,1,1,"input",55),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function qW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u2022 ",i["\u0275\u0275pipeBind2"](2,1,n.zoneset.zone2[r.minName]/r.mhr*100,"1.0-0"),"% ")}}function ZW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.zone1[r.minName]," ")}}function $W(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",56),i["\u0275\u0275listener"]("ngModelChange",function(e){i["\u0275\u0275restoreView"](n);var t=i["\u0275\u0275nextContext"](2).$implicit,r=i["\u0275\u0275nextContext"]();return t.zoneset.zone1[r.minName]=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275property"]("ngModel",r.zoneset.zone1[a.minName])}}function XW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",54),i["\u0275\u0275template"](1,$W,1,1,"input",55),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function KW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"number"),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit,r=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" \u2022 ",i["\u0275\u0275pipeBind2"](2,1,n.zoneset.zone1[r.minName]/r.mhr*100,"1.0-0"),"% ")}}function JW(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",57),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.zone5.name,"\xa0 ")}}function QW(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",60),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).$implicit.zoneset.zone5.name=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngModel",r.zoneset.zone5.name)}}function eG(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",58),i["\u0275\u0275template"](1,QW,1,1,"input",59),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function tG(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",57),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.zone4.name,"\xa0 ")}}function nG(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",60),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).$implicit.zoneset.zone4.name=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngModel",r.zoneset.zone4.name)}}function iG(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",58),i["\u0275\u0275template"](1,nG,1,1,"input",59),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function rG(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",57),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.zone3.name,"\xa0 ")}}function aG(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",60),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).$implicit.zoneset.zone3.name=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngModel",r.zoneset.zone3.name)}}function oG(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",58),i["\u0275\u0275template"](1,aG,1,1,"input",59),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function sG(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",57),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.zone2.name,"\xa0 ")}}function lG(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",60),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).$implicit.zoneset.zone2.name=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngModel",r.zoneset.zone2.name)}}function cG(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",58),i["\u0275\u0275template"](1,lG,1,1,"input",59),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function dG(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"span",57),i["\u0275\u0275text"](1),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",n.zoneset.zone1.name,"\xa0 ")}}function uG(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"input",60),i["\u0275\u0275listener"]("ngModelChange",function(e){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"](2).$implicit.zoneset.zone1.name=e}),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2).$implicit;i["\u0275\u0275property"]("ngModel",r.zoneset.zone1.name)}}function pG(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"mat-form-field",58),i["\u0275\u0275template"](1,uG,1,1,"input",59),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"]().$implicit;i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function hG(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.KPH")))}function mG(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.MPH")))}function gG(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",53),i["\u0275\u0275template"](1,hG,3,3,"span",5),i["\u0275\u0275template"](2,mG,3,3,"span",5),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.accountService.account.isMetric()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.accountService.account.isMetric())}}function fG(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Min/Km")))}function vG(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"span"),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate"](i["\u0275\u0275pipeBind1"](2,1,"ROOT.Min/Mi")))}function yG(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",53),i["\u0275\u0275template"](1,fG,3,3,"span",5),i["\u0275\u0275template"](2,vG,3,3,"span",5),i["\u0275\u0275elementEnd"]()),2&e){var n=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.accountService.account.isMetric()),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.accountService.account.isMetric())}}function bG(e,t){1&e&&i["\u0275\u0275element"](0,"mat-progress-spinner",65),2&e&&i["\u0275\u0275property"]("mode","indeterminate")("color","accent")("diameter",20)}function xG(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",64),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](2),t=e.$implicit,r=e.index,a=i["\u0275\u0275nextContext"]();return t.isEditing=!1,a.creatingZone=!1,a.resetValues(r,"zonesets")}),i["\u0275\u0275text"](1),i["\u0275\u0275pipe"](2,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](2,1,"ROOT.Cancel")," "))}function _G(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"div",61),i["\u0275\u0275elementStart"](1,"button",62),i["\u0275\u0275listener"]("click",function(){i["\u0275\u0275restoreView"](n);var e=i["\u0275\u0275nextContext"](),t=e.index,r=e.$implicit;return i["\u0275\u0275nextContext"]().saveValues(t,r,"zonesets")}),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275template"](4,bG,1,3,"mat-progress-spinner",63),i["\u0275\u0275elementEnd"](),i["\u0275\u0275text"](5,"\xa0 "),i["\u0275\u0275template"](6,xG,3,3,"button",86),i["\u0275\u0275elementEnd"]()}if(2&e){var r=i["\u0275\u0275nextContext"](2);i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("disabled",r.savingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,4,"ROOT.Save")," "),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",r.savingZone),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!r.createNew&&!r.ThemeService.isMobileEmbedded)}}function wG(e,t){if(1&e&&(i["\u0275\u0275elementStart"](0,"div",25),i["\u0275\u0275elementStart"](1,"div",69),i["\u0275\u0275template"](2,bW,19,25,"div",70),i["\u0275\u0275pipe"](3,"typeof"),i["\u0275\u0275template"](4,_W,22,10,"div",71),i["\u0275\u0275template"](5,SW,3,5,"div",72),i["\u0275\u0275template"](6,CW,3,1,"div",37),i["\u0275\u0275template"](7,EW,3,2,"div",37),i["\u0275\u0275elementStart"](8,"div",73),i["\u0275\u0275elementStart"](9,"div"),i["\u0275\u0275elementStart"](10,"div",41),i["\u0275\u0275elementStart"](11,"div",42),i["\u0275\u0275template"](12,MW,2,1,"span",5),i["\u0275\u0275template"](13,PW,2,1,"mat-form-field",43),i["\u0275\u0275template"](14,TW,3,4,"span",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](15,"div",42),i["\u0275\u0275template"](16,DW,2,1,"span",5),i["\u0275\u0275template"](17,RW,2,1,"mat-form-field",43),i["\u0275\u0275template"](18,jW,3,4,"span",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](19,"div",42),i["\u0275\u0275template"](20,AW,2,1,"span",5),i["\u0275\u0275template"](21,BW,2,1,"mat-form-field",43),i["\u0275\u0275template"](22,zW,3,4,"span",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](23,"div",42),i["\u0275\u0275template"](24,NW,2,1,"span",5),i["\u0275\u0275template"](25,VW,2,1,"mat-form-field",43),i["\u0275\u0275template"](26,YW,3,4,"span",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](27,"div",42),i["\u0275\u0275template"](28,WW,2,1,"span",5),i["\u0275\u0275template"](29,UW,2,1,"mat-form-field",43),i["\u0275\u0275template"](30,qW,3,4,"span",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](31,"div",42),i["\u0275\u0275template"](32,ZW,2,1,"span",5),i["\u0275\u0275template"](33,XW,2,1,"mat-form-field",43),i["\u0275\u0275template"](34,KW,3,4,"span",5),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](35,"div",44),i["\u0275\u0275elementStart"](36,"div",45),i["\u0275\u0275template"](37,JW,2,1,"span",46),i["\u0275\u0275template"](38,eG,2,1,"mat-form-field",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](39,"div",45),i["\u0275\u0275template"](40,tG,2,1,"span",46),i["\u0275\u0275template"](41,iG,2,1,"mat-form-field",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](42,"div",45),i["\u0275\u0275template"](43,rG,2,1,"span",46),i["\u0275\u0275template"](44,oG,2,1,"mat-form-field",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](45,"div",45),i["\u0275\u0275template"](46,sG,2,1,"span",46),i["\u0275\u0275template"](47,cG,2,1,"mat-form-field",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](48,"div",45),i["\u0275\u0275template"](49,dG,2,1,"span",46),i["\u0275\u0275template"](50,pG,2,1,"mat-form-field",47),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](51,gG,3,2,"div",39),i["\u0275\u0275template"](52,yG,3,2,"div",39),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](53,_G,7,6,"div",48),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,r=t.index,a=i["\u0275\u0275nextContext"]();i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("hidden",r>0&&a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing&&i["\u0275\u0275pipeBind2"](3,42,n.zoneset,a.PowerZoneSet)),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing),i["\u0275\u0275advance"](5),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==a.zonesetType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==a.zonesetType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==a.zonesetType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==a.zonesetType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==a.zonesetType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==a.zonesetType),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngClass",a.zoneColorClasses[4]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",a.zoneColorClasses[3]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",a.zoneColorClasses[2]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",a.zoneColorClasses[1]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngClass",a.zoneColorClasses[0]),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!n.isEditing&&!a.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","speed"==a.zonesetType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","pace"==a.zonesetType),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",n.isEditing)}}function SG(e,t){if(1&e){var n=i["\u0275\u0275getCurrentView"]();i["\u0275\u0275elementStart"](0,"button",10),i["\u0275\u0275listener"]("click",function(){return i["\u0275\u0275restoreView"](n),i["\u0275\u0275nextContext"]().createZone()}),i["\u0275\u0275element"](1,"img",11),i["\u0275\u0275text"](2),i["\u0275\u0275pipe"](3,"translate"),i["\u0275\u0275elementEnd"]()}2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275textInterpolate1"](" ",i["\u0275\u0275pipeBind1"](3,1,"ROOT.New")," "))}var CG=function(e){return{"background-color":e}},kG=function(){function e(e,t,n,i,r,a,o,s,l,c,d,u){this.dialog=e,this.WorkoutTypesService=t,this.WorkoutsService=n,this.floatToPace=i,this.accountService=r,this.window=a,this.healthService=o,this.PermissionsService=s,this.route=l,this.ThemeService=c,this.dateService=d,this.cdRef=u,this.zonesets=[],this.errorMsg="",this.debug=!0,this.Highcharts=re,this.defaults=[],this.showMore=!1,this.isStarTrainer=!1,this.panelOpen=!1,this.creatingZone=!1,this.savingZone=!1,this.PowerZoneSet=x.b,this.ftpInput="",this.minName="bpmMin",this.maxName="bpmMax",this.createNew=!1,this.showMoreZones=!1,this.ftpInvalid=!0,this.ftpFormControl=new de.e("",[de.y.required,de.y.pattern("^[0-9]*$")]),this.zoneColorClasses=["zone1","zone2","zone3","zone4","zone5"],this.mhr=null,this.rhr=70,this.innaccurateMHR=!1,this.innaccurateRHR=!1,this.bpEntries=[],this.rhrEntries=[],this.loading=!0,this.categoryTypeInput=this.route.snapshot.paramMap.get("categoryType")}return e.prototype.ngOnInit=function(){var e=this,t=new c.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});this.newMhr=t.get("mhr"),this.newRhr=t.get("rhr"),this.createNew="true"==t.get("create_new"),this.createNew&&(this.showMore=!1),this.filteredType=t.get("activity_type"),this.updateNumber=Number(this.categoryTypeInput)>=1?Number(this.categoryTypeInput):0,this.defaults=[],this.zonesets=[],this.isStarTrainer=this.PermissionsService.starTrainerAccess,"pace"==this.zonesetType&&(this.minName="paceMin",this.maxName="paceMax"),"speed"==this.zonesetType?(this.minName="speedMinInput",this.maxName="speedMaxInput"):"power"==this.zonesetType&&(this.minName="wattsMin",this.maxName="wattsMax",this.zoneColorClasses=["zone1","zone2","zone3","zone4","zone5"]),this.routeSub=this.route.paramMap.subscribe(function(t){e.categoryTypeInput=t.get("categoryType"),e.cdRef.detectChanges(),e.uri=window.location.href.slice(-7),"heart"==e.zonesetType&&e.getData(),e.createNew?e.createZone():e.listZones()})},e.prototype.ngOnDestroy=function(){this.routeSub&&(console.log("Unsubscribed"),this.routeSub.unsubscribe())},e.prototype.afterSetDefault=function(e,t){for(var n=0;n<this.zonesetsInput.length;n++)if(this.zonesetsInput[n].id==e.id)this.zonesetsInput[n].activityTypes=t[1];else for(var i=0;i<t[1].length;i++){var r=this.zonesetsInput[n].activityTypes.indexOf(t[1][i]);r>-1&&this.zonesetsInput[n].activityTypes.splice(r,1)}},e.prototype.listZones=function(){for(var e,t=0;t<this.zonesetsInput.length;t++){for(var n=!1,i=0;i<this.zonesetsInput[t].activityTypes.length;i++)if(-1==this.zonesetsInput[t].activityTypes[i]&&(e=this.zonesetsInput[t]),this.filteredType){if(this.filteredType==this.zonesetsInput[t].activityTypes[i]){n=!0;break}n=!1}else n=!0;n?this.defaults.push({chart:this.generateZonesetGraph(this.zonesetsInput[t],this.series),zoneset:this.zonesetsInput[t],update:!1,isEditing:!1,savedZoneset:Object(Wn.cloneDeep)(this.zonesetsInput[t]),name:this.zonesetsInput[t].name}):this.zonesets.push({chart:this.generateZonesetGraph(this.zonesetsInput[t],this.series),zoneset:this.zonesetsInput[t],update:!1,isEditing:!1,savedZoneset:Object(Wn.cloneDeep)(this.zonesetsInput[t]),name:this.zonesetsInput[t].name})}if(e&&0==this.defaults.length){for(var r=0;r<this.zonesets.length;r++)if(this.zonesets[r].zoneset==e){this.zonesets.splice(r,1);break}this.defaults.push({chart:this.generateZonesetGraph(e,this.series),zoneset:e,update:!1,isEditing:!1,savedZoneset:Object(Wn.cloneDeep)(e),name:e.name})}0==this.zonesets.length&&(this.showMore=!1)},e.prototype.setDefault=function(e,t){var n=this,i=this.dialog.open(eY,{data:e,maxWidth:"100vw",minHeight:"80vh",minWidth:"80vw",maxHeight:"100vh"});if(t)return i;i.afterClosed().subscribe(function(t){t&&1==t[0]&&(n.afterSetDefault(e,t),n.ngOnInit())})},e.prototype.ftpInputChange=function(e,t){this.ftpInvalid=isNaN(Number(this.ftpInput)),t.zoneset.zone1.wattsMin=0,t.zoneset.zone1.wattsMax=Math.round(.6*Number(this.ftpInput)),t.zoneset.zone2.wattsMin=Math.round(.6*Number(this.ftpInput)),t.zoneset.zone2.wattsMax=Math.round(.85*Number(this.ftpInput)),t.zoneset.zone3.wattsMin=Math.round(.85*Number(this.ftpInput)),t.zoneset.zone3.wattsMax=Math.round(1.05*Number(this.ftpInput)),t.zoneset.zone4.wattsMin=Math.round(1.05*Number(this.ftpInput)),t.zoneset.zone4.wattsMax=Math.round(1.2*Number(this.ftpInput)),t.zoneset.zone5.wattsMin=Math.round(1.2*Number(this.ftpInput)),t.zoneset.zone5.wattsMax=Math.round(1.4*Number(this.ftpInput))},e.prototype.createZone=function(e){this.creatingZone=!0;var t=new x.d(this.WorkoutsService.DEFAULT_ZONESET,"A");if("pace"==this.zonesetType?t=new x.a(this.WorkoutsService.DEFAULT_PACE_ZONESET,"A",this.floatToPace):"power"==this.zonesetType?t=new x.b(this.WorkoutsService.DEFAULT_POWER_ZONESET,"A"):"speed"==this.zonesetType&&(t=new x.c(this.WorkoutsService.DEFAULT_SPEED_ZONESET,"A",this.accountService.account.isMetric())),this.zonesetsInput.push(t),this.zonesets.unshift({zoneset:t,update:!1,isEditing:!0,savedZoneset:t,name:t.name}),this.panelOpen=!0,e)var n=window.setInterval(function(){var e=window.pageYOffset;e>0?window.scrollTo(0,e-20):window.clearInterval(n)},5)},e.prototype.deleteZoneset=function(e,t){var n=this,i=this[t][e].zoneset;i.action="FD",this.dialog.open(Pb,{data:{zoneset:i},maxWidth:"100vw",minHeight:"80vh",minWidth:"80vw",maxHeight:"100vh"}).afterClosed().subscribe(function(i){i&&n[t].splice(e,1)})},e.prototype.generateZonesetGraph=function(e,t){var n=this.WorkoutsService.TIME_IN_ZONES_DISPLAY_CONFIG_OPTS.FITDIGITS;return"power"==this.zonesetType&&(n=this.WorkoutsService.TIME_IN_ZONES_DISPLAY_CONFIG_OPTS.SPINNING_POWER),this.zonename=e.name,{chart:{width:431,height:245,type:"spline",margin:[0,0,0,0],spacingTop:0},credits:{enabled:!1},title:{text:null},xAxis:{title:!1,labels:{enabled:!1},minorTickLength:0,tickLength:0},yAxis:{title:!1,labels:{enabled:!1},endOnTick:!1,maxPadding:0,minorTickLength:0,tickLength:0,min:e.zone1[this.minName],max:e.zone5[this.maxName],minorGridLineWidth:0,gridLineWidth:0,alternateGridColor:null,plotBands:[{from:e.zone1[this.minName],to:e.zone1[this.maxName],color:n.zone[1].tizColor},{from:e.zone2[this.minName],to:e.zone2[this.maxName],color:n.zone[2].tizColor},{from:e.zone3[this.minName],to:e.zone3[this.maxName],color:n.zone[3].tizColor},{from:e.zone4[this.minName],to:e.zone4[this.maxName],color:n.zone[4].tizColor},{from:e.zone5[this.minName],to:e.zone5[this.maxName],color:n.zone[5].tizColor}]},plotOptions:{spline:{lineWidth:4,states:{hover:{lineWidth:5}},marker:{enabled:!1}},series:{states:{hover:{enabled:!1}}}},legend:{enabled:!1},tooltip:{enabled:!1},series:[{data:t,color:"#FFFFFF",yAxis:0}],navigation:{menuItemStyle:{fontSize:"10px"}}}},e.prototype.saveValues=function(e,t,n){var i=this;t.errorMsg="",this.savingZone=!0;var r=!1;this[n][e].zoneset=t.zoneset,this[n][e].chart=this.generateZonesetGraph(t.zoneset,this.series),this[n][e].update=!0;var a="A";!1===t.zoneset.isNewZoneset&&(a="U");var o=t.zoneset;"pace"!=this.zonesetType&&"speed"!=this.zonesetType||(o=t.zoneset.toSaveable()),this.WorkoutsService.saveZonesets(o,a,this.zonesetType).subscribe(function(e){t.zoneset.id=Number(e.response[Object.keys(e.response)[0]][0].id);var n=Object.keys(e.response)[0];"162"==e.response[n][0].code?(t.errorMsg="A zoneset with this name already exists.",i.savingZone=!1,r=!0):(i.savingZone=!1,t.isEditing=!1),0==r&&i.creatingZone&&i.setDefault(t.zoneset,!0).afterClosed().subscribe(function(e){if(e&&1==e[0])if(i.createNew&&i.ThemeService.isMobileEmbedded)try{dismissWebview()}catch(n){console.log(n)}else i.afterSetDefault(t.zoneset,e),i.ngOnInit()}),i.creatingZone&&(i.creatingZone=!1)})},e.prototype.resetValues=function(e,t){console.log("reset"),null==this[t][e].zoneset.key?this[t].splice(e,1):(this[t][e].zoneset=Object(Wn.cloneDeep)(this[t][e].savedZoneset),this[t][e].chart=this.generateZonesetGraph(this[t][e].savedZoneset,this.series),this[t][e].update=!0)},e.prototype.getData=function(){var e,t=this;if(e=this.accountService.account.birthDate,this.age=_().diff(e,"years"),this.gender=this.accountService.account.gender,this.language=this.accountService.account.language,this.mhr=null!=this.newMhr?this.newMhr:Number(this.accountService.account.mhr),(isNaN(this.mhr)||this.mhr<100)&&(this.innaccurateMHR=!0,this.mhr=220-Number(this.age)),null!=this.newRhr)this.rhr=this.newRhr,this.loading=!1;else{this.loading=!0,this.bpEntries=[],this.rhrEntries=[],this.end=new Date,this.start=new Date(this.end.getTime()-10368e6);var n=this.dateService.dateObjToDateString(this.start),i=this.dateService.dateObjToDateString(this.end);this.healthService.getHealthData(n,i,"BP").subscribe(function(e){0==e.response.records.length?t.healthService.getLastHealthEntry("BP").subscribe(function(e){null!=e.response.lastEntry&&(console.log(e.response.lastEntry),t.rhrlastEntry=e.response.lastEntry)}):(t.rhrlastEntry=e.response.records[0],t.bpEntries=e.response.records,t.rhrEntries=t.bpEntries.filter(function(e){return e.measures.pulse>1}),t.rhr=t.rhrEntries[0].measures.pulse,t.innaccurateRHR=!1);for(var n=0;n<t.rhrEntries.length;n++)t.rhrEntries[n].date=new Date(t.rhrEntries[n].date+"Z");isNaN(t.rhr)&&(t.innaccurateRHR=!0,t.rhr=70),t.loading=!1})}},e.prototype.createDefaultZones=function(e,t,n){this.dialog.open(F,{data:{rhr:e,mhr:t,updateNumber:n}})},e.\u0275fac=function(t){return new(t||e)(i["\u0275\u0275directiveInject"](g.b),i["\u0275\u0275directiveInject"](ne.a),i["\u0275\u0275directiveInject"](v.b),i["\u0275\u0275directiveInject"](B.B),i["\u0275\u0275directiveInject"](s.a),i["\u0275\u0275directiveInject"](p.a),i["\u0275\u0275directiveInject"](nf.a),i["\u0275\u0275directiveInject"](ae.a),i["\u0275\u0275directiveInject"](S.a),i["\u0275\u0275directiveInject"](b.a),i["\u0275\u0275directiveInject"](xg.a),i["\u0275\u0275directiveInject"](i.ChangeDetectorRef))},e.\u0275cmp=i["\u0275\u0275defineComponent"]({type:e,selectors:[["app-zoneset-listing"]],viewQuery:function(e,t){var n;1&e&&i["\u0275\u0275viewQuery"](tY,1),2&e&&i["\u0275\u0275queryRefresh"](n=i["\u0275\u0275loadQuery"]())&&(t.accordion=n.first)},inputs:{zonesetsInput:"zonesetsInput",series:"series",zonesetType:"zonesetType"},decls:14,vars:12,consts:[[1,"zoneWrap"],[1,"create-zone"],["class","themed-clear-button",3,"click",4,"ngIf"],[3,"ngClass","mode","color","diameter",4,"ngIf"],["class","maxHRInputForm",4,"ngIf"],[4,"ngIf"],["style","margin-left:10px;margin-top:50px;",4,"ngIf"],[3,"expanded","ngStyle","click","closed"],[1,"zones-wrap"],["class","zones-container",4,"ngFor","ngForOf"],[1,"themed-clear-button",3,"click"],["src","/static/img/greenplusbutton2.png",1,"create-zone-icon"],[3,"ngClass","mode","color","diameter"],[1,"maxHRInputForm"],[1,"max-hr-calc","full-width"],[2,"color","#EE3123",3,"hidden"],["matInput","",1,"zoneset-hr-input",3,"ngModel","ngModelChange"],["routerLink","/profile",4,"ngIf"],["colspan","2"],[1,"themed-clear-button","create-button","float-right",2,"margin","0 20px",3,"click"],[2,"font-size","small",3,"hidden"],[2,"color","#EE3123"],["href","http://www.fitdigits.com/fitness-assessments.html"],[1,"clear-both"],["routerLink","/profile"],[1,"zones-container"],[1,"zone-title-header"],["mat-icon-button","",1,"sub-menu",3,"matMenuTriggerFor","click"],[1,"sub-menu-icon"],["yPosition","below"],["menu","matMenu"],["mat-menu-item","",1,"material-icon-text",3,"click"],[1,"material-icons","menu-icon"],[1,"menu-text"],[1,"material-icons","menu-icon",2,"color","red"],[2,"float","left"],[4,"ngFor","ngForOf"],["class","zone-title","style","clear: both;",4,"ngIf"],[1,"zone-container-full"],["style","padding-left: 15px;padding-top: 10px;",4,"ngIf"],[1,"zone-container"],[1,"heartRateLimits"],[1,"heartRateLimit"],["class","zone-range-input",4,"ngIf"],[1,"heartRateZones"],[1,"heartRateZone","roundedCorners",3,"ngClass"],["class","displayMode",4,"ngIf"],["class","zone-name-input",4,"ngIf"],["class","zone-edit-buttons",4,"ngIf"],[2,"width","30px","margin-left","10px",3,"src"],[1,"zone-title",2,"clear","both"],[2,"margin-top","0px"],["matInput","",1,"zoneset-name-input",3,"ngModel","ngModelChange"],[2,"padding-left","15px","padding-top","10px"],[1,"zone-range-input"],["matInput","","style","width: 40px;line-height: 15px;",3,"ngModel","ngModelChange",4,"ngIf"],["matInput","",2,"width","40px","line-height","15px",3,"ngModel","ngModelChange"],[1,"displayMode"],[1,"zone-name-input"],["matInput","","class","zoneInput",3,"ngModel","ngModelChange",4,"ngIf"],["matInput","",1,"zoneInput",3,"ngModel","ngModelChange"],[1,"zone-edit-buttons"],[1,"themed-clear-button","create-button","float-right",3,"disabled","click"],["class","example-margin","style","display: inline-flex;",3,"mode","color","diameter",4,"ngIf"],[1,"themed-clear-button","float-right","zone-edit-button",3,"click"],[1,"example-margin",2,"display","inline-flex",3,"mode","color","diameter"],[2,"margin-left","10px","margin-top","50px"],["style","font-weight: bold;",4,"ngIf"],[2,"font-weight","bold"],[3,"hidden"],["class","ftpInput",4,"ngIf"],["class","zone-title-header",4,"ngIf"],["style","float:left;",4,"ngIf"],[2,"display","flex","flex-direction","column"],[1,"ftpInput"],[1,"calcFromZones"],[2,"width","100%"],["matInput","","required","",2,"font-size","24px",3,"placeholder","formControl","ngModel","ngModelChange"],[2,"font-size","small"],[1,"themed-clear-button","create-button",3,"disabled","click"],["mat-icon-button","","class","sub-menu","aria-label","Delete Share Export",3,"matMenuTriggerFor","click",4,"ngIf"],["mat-menu-item","","aria-label","Edit",1,"material-icon-text",3,"click"],["mat-menu-item","","aria-label","Set Default",1,"material-icon-text",3,"click"],["mat-menu-item","","aria-label","Delete",1,"material-icon-text",3,"click"],["mat-icon-button","","aria-label","Delete Share Export",1,"sub-menu",3,"matMenuTriggerFor","click"],[2,"width","30px",3,"src"],["class","themed-clear-button float-right zone-edit-button",3,"click",4,"ngIf"]],template:function(e,t){1&e&&(i["\u0275\u0275elementStart"](0,"div",0),i["\u0275\u0275elementStart"](1,"div",1),i["\u0275\u0275template"](2,nY,4,3,"button",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275template"](3,rY,1,6,"mat-progress-spinner",3),i["\u0275\u0275template"](4,lY,50,35,"div",4),i["\u0275\u0275template"](5,pW,2,1,"div",5),i["\u0275\u0275template"](6,hW,3,3,"div",6),i["\u0275\u0275elementStart"](7,"mat-accordion"),i["\u0275\u0275elementStart"](8,"mat-expansion-panel",7),i["\u0275\u0275listener"]("click",function(){return t.showMoreZones=!t.showMoreZones})("closed",function(){return t.panelOpen=!1}),i["\u0275\u0275template"](9,fW,3,2,"mat-expansion-panel-header",5),i["\u0275\u0275elementStart"](10,"div",8),i["\u0275\u0275template"](11,wG,54,45,"div",9),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementStart"](12,"div",1),i["\u0275\u0275template"](13,SG,4,3,"button",2),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"](),i["\u0275\u0275elementEnd"]()),2&e&&(i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.creatingZone&&!t.ThemeService.isMobileEmbedded),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==t.zonesetType&&t.loading),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf","heart"==t.zonesetType&&!t.loading&&!t.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.creatingZone),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",0==t.defaults.length&&0==t.createNew),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("expanded",t.panelOpen)("ngStyle",i["\u0275\u0275pureFunction1"](10,CG,t.ThemeService.isMobileEmbedded?"unset":"")),i["\u0275\u0275advance"](1),i["\u0275\u0275property"]("ngIf",!t.creatingZone),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngForOf",t.zonesets),i["\u0275\u0275advance"](2),i["\u0275\u0275property"]("ngIf",!t.creatingZone))},directives:[y.NgIf,Wo.a,Wo.c,y.NgStyle,y.NgForOf,E.a,y.NgClass,fe.c,be.b,de.c,de.o,de.r,S.f,O.a,k.b,gt.d,gt.a,gt.b,Wo.f,de.w,de.f],pipes:[M.c,y.SlicePipe,y.DecimalPipe,B.j,y.LowerCasePipe],styles:[".mat-tab-labels{justify-content:center!important}.header-less-tabs .mat-tab-header{display:none}.zoneWrap{display:flex;flex-direction:column;justify-content:center;align-content:center;margin:0 auto 40px;font-size:16px}.bpmSlider1 :host ::ng-deep .mat-accent .mat-slider-track-fill{background-color:red!important}.bpmSlider2 :host ::ng-deep .mat-accent .mat-slider-track-fill{background-color:#00f!important}.create-zone-icon{height:24px}#container-3 /deep/ .mat-accent .mat-slider-track-fill{background:green!important}#container-4 /deep/ .mat-accent .mat-slider-track-fill{background:#ff0!important}#container-5 /deep/ .mat-accent .mat-slider-track-fill{background:purple!important}.heartRateZonesGraphSampleContainer,.paceZonesGraphSampleContainer{float:right;max-width:50%;margin-top:20px;overflow-x:hidden}.hrzones-andy{float:right;width:200px;text-align:center}.hrZonesCreate{display:flex;margin:20px 30px 30px 40px}.heartzonespromo2{width:100%}@media (max-width:901px){.heartRateZonesGraphSampleContainer,.paceZonesGraphSampleContainer{float:right;margin:20px 30px 10px 0;overflow:hidden;width:243px;max-width:none}}@media (max-width:769px){.hrzones-andy{visibility:hidden;width:0}.heartRateZonesGraphSampleContainer,.paceZonesGraphSampleContainer{float:left}}.zoneSliderWrap{display:flex;flex-direction:column;width:25%}#heartRateZonesNewBtn{display:none;float:right;margin-top:30px;margin-right:40px}.heartRateZone,.paceZone{color:#fff;font-weight:700;text-align:center;font-size:16px;padding:5px 0;line-height:35px;white-space:nowrap;overflow:hidden;border:1px solid;margin-bottom:2px}.heartRateZoneSet{padding-left:44px}.heartRateZoneSet,.paceZoneSet{height:225px;border-color:#e1e1e1;border-style:none solid;border-width:2px}.heartRateLimits,.paceLimits{float:left;font-size:16px;padding:0 10px;margin-top:5px}.heartRateZone input,.paceZone input{font-size:16px}.zone1{border-color:#2077ae;background-color:#4c98c9}.zone2{border-color:#018e84;background-color:#00aa9f}.zone3{border-color:#339b6b;background-color:#03b061}.zone4{border-color:#dca634;background-color:#feb51a}.zone5{border-color:#ef5511;background-color:#ff5f19}.powerZone1{border-color:#5477ce;background-color:#5477ce}.powerZone2{border-color:#44afe3;background-color:#44afe3}.powerZone3{border-color:#f9eb4d;background-color:#f9eb4d}.powerZone4{border-color:#a8b4d9;background-color:#a8b4d9}.powerZone5{border-color:#f0844f;background-color:#f0844f}.zoneInput{color:#000;height:24px}#zoneSetNew{margin:25px 25px 0;font-size:16px}.heartRateZones{float:left;width:calc(100% - 130px);margin-top:20px}.paceZones{float:left;width:550px;margin-top:20px}.heartRateLimit,.paceLimit{width:100px;height:30px;line-height:45px;text-align:center;margin-bottom:16px}.zone-container{display:inline-block;max-width:800px;width:100%;margin:auto}.zone-container-full{margin:auto;width:100%;text-align:center}@media (max-width:480px){.hrZonesCreate{display:flex;margin:20px 10px 30px}}",".menu-icon{float:left;margin:10px 10px 0 0}.heartRateZone{max-height:47px}.sub-menu{margin-right:24px!important;float:right}.sub-menu-icon{font-size:35px;margin-left:-10px}.create-zone{text-align:right;margin:10px 20px 10px 0}.zone-calc-spinwait{margin:-40px 10px 0 20px;float:left}.zone-calc-spinwait-mobile{margin:0 10px 0 20px;float:left}.create-zone-icon{height:24px;margin-right:10px}.zones-container{margin-top:20px;padding-top:10px}.zones-wrap{display:flex;flex-direction:column}.zone-title{font-size:16px;padding:10px}.zoneset-name-input{clear:both;width:100%;padding-left:10px;border-top:0;border-right:0;border-left:0;border-radius:0;font-size:16px}.zone-name-input{padding-bottom:0!important}.zone-range-input{width:40px}.zone-edit-buttons{clear:both;width:100%;float:right;margin:20px}.zone-title-header{width:100%;float:left;clear:both}.zone-edit-button{margin:20px 20px 0}.ftpInput{display:flex;flex-direction:column;justify-content:center;width:305px;margin-bottom:10px;margin-left:10px}.calcFromZones{color:#4597cb;cursor:pointer;margin-bottom:10px}.ftpInput{float:left;clear:both;width:80%;padding:20px 0 0 20px}.maxHRInputForm{float:left;width:100%;clear:both;padding:20px 0 0 40px}.calculate-zones{text-align:left;margin:20px}.max-hr-calc{border:1px dotted;margin:0 -20px}.max-hr-calc td{padding:5px;border-bottom:0 dotted;font-size:16px}@media (max-width:769px){.heartRateZonesGraphSampleContainer{visibility:hidden;height:1px}.ftpInput{display:flex;flex-direction:column;justify-content:center}.ftpInput mat-form-field{margin:0 auto}.ftpInput mat-form-field label{color:#4597cb!important}.ftpInput button{width:80%;background-color:#4597cb!important;color:#fff!important;margin:0 auto 10px}}@media (max-width:464px){.zone-edit-button{clear:both;margin:0 0 0 20px}}"],encapsulation:2}),e}(),OG=n("d2mR"),EG=n("zOVB");Object(y.registerLocaleData)(U.a),Object(y.registerLocaleData)(Z.a),Object(y.registerLocaleData)(X.a),Object(y.registerLocaleData)(J.a);var MG=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i["\u0275\u0275defineNgModule"]({type:e,bootstrap:[KV]}),e.\u0275inj=i["\u0275\u0275defineInjector"]({providers:[{provide:Xl.c,useValue:!1},{provide:g.f,useValue:{}},{provide:g.a,useValue:[]},{provide:qN,useFactory:function(){return Object(i.isDevMode)()?{minimumFetchIntervalMillis:0,fetchTimeoutMillis:200}:{fetchTimeoutMillis:200}}},o.a,d.a,s.a,v.b,W,b.a,u,y.DecimalPipe,B.d,y.DatePipe,a.Title,p.b,{provide:c.a,useClass:h,multi:!0},{provide:ee.a,useValue:{duration:3e3}}],imports:[[a.BrowserModule,WN.a.initializeApp(r),Xl.b,M.b.forRoot({loader:{provide:M.a,useFactory:OG.a,deps:[c.b]},isolate:!1}),OG.b,YS,WN.a.initializeApp(r),Xl.b,nH,YS,dC,GS,qS,m.m,f.b,JV,IN,Q.LightboxModule,EG.GroupsModule]]}),e}();i["\u0275\u0275setComponentScope"](A,[y.NgIf,kG,S.f],[M.c]),i["\u0275\u0275setComponentScope"](A,[y.NgIf,kG,S.f],[M.c]),i["\u0275\u0275setComponentScope"](A,[y.NgIf,kG,S.f],[M.c]),i["\u0275\u0275setComponentScope"](N,[y.NgIf,kG],[]),i["\u0275\u0275setComponentScope"](V,[y.NgIf,kG],[]),i["\u0275\u0275setComponentScope"](V,[y.NgIf,kG],[]),i["\u0275\u0275setComponentScope"](wb,[y.NgIf,kG],[]),Object(i.enableProdMode)(),a.platformBrowser().bootstrapModule(MG).catch(function(e){return console.error(e)})},pLZG:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("7o/Q");function l(e,t){return function(n){return n.lift(new c(e,t))}}var c=function(){function e(t,n){Object(a.a)(this,e),this.predicate=t,this.thisArg=n}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new d(e,this.predicate,this.thisArg))}}]),e}(),d=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i,r){var o;return Object(a.a)(this,n),(o=t.call(this,e)).predicate=i,o.thisArg=r,o.count=0,o}return Object(o.a)(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(s.a)},pjAE:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(e){return Error.call(this),this.message=e?"".concat(e.length," errors occurred during unsubscription:\n").concat(e.map(function(e,t){return"".concat(t+1,") ").concat(e.toString())}).join("\n  ")):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}()},pxpQ:function(e,t,n){"use strict";n.d(t,"b",function(){return c}),n.d(t,"a",function(){return u});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("7o/Q"),l=n("WMd4");function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n){return n.lift(new d(e,t))}}var d=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;Object(a.a)(this,e),this.scheduler=t,this.delay=n}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new u(e,this.scheduler,this.delay))}}]),e}(),u=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i){var r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Object(a.a)(this,n),(r=t.call(this,e)).scheduler=i,r.delay=o,r}return Object(o.a)(n,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new p(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(l.a.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(l.a.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(l.a.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){e.notification.observe(e.destination),this.unsubscribe()}}]),n}(s.a),p=Object(o.a)(function e(t,n){Object(a.a)(this,e),this.notification=t,this.destination=n})},"q/0M":function(e,t,n){"use strict";function i(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,r++)i[r]=a[o];return i}var r;n.r(t),n.d(t,"LogLevel",function(){return o}),n.d(t,"Logger",function(){return u}),n.d(t,"setLogLevel",function(){return p}),n.d(t,"setUserLogHandler",function(){return h});var a=[],o=function(e){return e[e.DEBUG=0]="DEBUG",e[e.VERBOSE=1]="VERBOSE",e[e.INFO=2]="INFO",e[e.WARN=3]="WARN",e[e.ERROR=4]="ERROR",e[e.SILENT=5]="SILENT",e}({}),s={debug:o.DEBUG,verbose:o.VERBOSE,info:o.INFO,warn:o.WARN,error:o.ERROR,silent:o.SILENT},l=o.INFO,c=((r={})[o.DEBUG]="log",r[o.VERBOSE]="log",r[o.INFO]="info",r[o.WARN]="warn",r[o.ERROR]="error",r),d=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];if(!(t<e.logLevel)){var a=(new Date).toISOString(),o=c[t];if(!o)throw new Error("Attempted to log a message with an invalid logType (value: "+t+")");console[o].apply(console,i(["["+a+"]  "+e.name+":"],n))}},u=function(){function e(e){this.name=e,this._logLevel=l,this._logHandler=d,this._userLogHandler=null,a.push(this)}return Object.defineProperty(e.prototype,"logLevel",{get:function(){return this._logLevel},set:function(e){if(!(e in o))throw new TypeError('Invalid value "'+e+'" assigned to `logLevel`');this._logLevel=e},enumerable:!1,configurable:!0}),e.prototype.setLogLevel=function(e){this._logLevel="string"==typeof e?s[e]:e},Object.defineProperty(e.prototype,"logHandler",{get:function(){return this._logHandler},set:function(e){if("function"!=typeof e)throw new TypeError("Value assigned to `logHandler` must be a function");this._logHandler=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"userLogHandler",{get:function(){return this._userLogHandler},set:function(e){this._userLogHandler=e},enumerable:!1,configurable:!0}),e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,i([this,o.DEBUG],e)),this._logHandler.apply(this,i([this,o.DEBUG],e))},e.prototype.log=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,i([this,o.VERBOSE],e)),this._logHandler.apply(this,i([this,o.VERBOSE],e))},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,i([this,o.INFO],e)),this._logHandler.apply(this,i([this,o.INFO],e))},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,i([this,o.WARN],e)),this._logHandler.apply(this,i([this,o.WARN],e))},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._userLogHandler&&this._userLogHandler.apply(this,i([this,o.ERROR],e)),this._logHandler.apply(this,i([this,o.ERROR],e))},e}();function p(e){a.forEach(function(t){t.setLogLevel(e)})}function h(e,t){for(var n=function(n){var i=null;t&&t.level&&(i=s[t.level]),n.userLogHandler=null===e?null:function(t,n){for(var r=[],a=2;a<arguments.length;a++)r[a-2]=arguments[a];var s=r.map(function(e){if(null==e)return null;if("string"==typeof e)return e;if("number"==typeof e||"boolean"==typeof e)return e.toString();if(e instanceof Error)return e.message;try{return JSON.stringify(e)}catch(t){return null}}).filter(function(e){return e}).join(" ");n>=(null!=i?i:t.logLevel)&&e({level:o[n].toLowerCase(),message:s,args:r,type:t.name})}},i=0,r=a;i<r.length;i++)n(r[i])}},qCKp:function(e,t,n){"use strict";n.r(t),n.d(t,"Observable",function(){return i.a}),n.d(t,"ConnectableObservable",function(){return r.a}),n.d(t,"GroupedObservable",function(){return a.a}),n.d(t,"observable",function(){return o.a}),n.d(t,"Subject",function(){return s.a}),n.d(t,"BehaviorSubject",function(){return l.a}),n.d(t,"ReplaySubject",function(){return c.a}),n.d(t,"AsyncSubject",function(){return v}),n.d(t,"asap",function(){return y.a}),n.d(t,"asapScheduler",function(){return y.b}),n.d(t,"async",function(){return b.a}),n.d(t,"asyncScheduler",function(){return b.b}),n.d(t,"queue",function(){return x.a}),n.d(t,"queueScheduler",function(){return x.b}),n.d(t,"animationFrame",function(){return _.a}),n.d(t,"animationFrameScheduler",function(){return _.b}),n.d(t,"VirtualTimeScheduler",function(){return C}),n.d(t,"VirtualAction",function(){return k}),n.d(t,"Scheduler",function(){return O.a}),n.d(t,"Subscription",function(){return f.a}),n.d(t,"Subscriber",function(){return E.a}),n.d(t,"Notification",function(){return M.a}),n.d(t,"NotificationKind",function(){return M.b}),n.d(t,"pipe",function(){return I.a}),n.d(t,"noop",function(){return P.a}),n.d(t,"identity",function(){return T.a}),n.d(t,"isObservable",function(){return D.a}),n.d(t,"ArgumentOutOfRangeError",function(){return L.a}),n.d(t,"EmptyError",function(){return R.a}),n.d(t,"ObjectUnsubscribedError",function(){return j.a}),n.d(t,"UnsubscriptionError",function(){return A.a}),n.d(t,"TimeoutError",function(){return F}),n.d(t,"bindCallback",function(){return Y}),n.d(t,"bindNodeCallback",function(){return U}),n.d(t,"combineLatest",function(){return X.a}),n.d(t,"concat",function(){return K.a}),n.d(t,"defer",function(){return J.a}),n.d(t,"empty",function(){return Q.b}),n.d(t,"forkJoin",function(){return ee.a}),n.d(t,"from",function(){return te.a}),n.d(t,"fromEvent",function(){return ne.a}),n.d(t,"fromEventPattern",function(){return re}),n.d(t,"generate",function(){return ae}),n.d(t,"iif",function(){return se}),n.d(t,"interval",function(){return ce}),n.d(t,"merge",function(){return ue.a}),n.d(t,"never",function(){return pe.b}),n.d(t,"of",function(){return he.a}),n.d(t,"onErrorResumeNext",function(){return me}),n.d(t,"pairs",function(){return ge}),n.d(t,"partition",function(){return xe}),n.d(t,"race",function(){return _e.a}),n.d(t,"range",function(){return we}),n.d(t,"throwError",function(){return Ce.a}),n.d(t,"timer",function(){return ke.a}),n.d(t,"using",function(){return Oe}),n.d(t,"zip",function(){return Ee.a}),n.d(t,"scheduled",function(){return Me.a}),n.d(t,"EMPTY",function(){return Q.a}),n.d(t,"NEVER",function(){return pe.a}),n.d(t,"config",function(){return Ie.a});var i=n("HDdC"),r=n("EQ5u"),a=n("OQgR"),o=n("kJWO"),s=n("XNiG"),l=n("2Vo4"),c=n("jtHE"),d=n("1OyB"),u=n("vuIU"),p=n("ReuC"),h=n("foSv"),m=n("Ji7U"),g=n("LK+K"),f=n("quSY"),v=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(){var e;return Object(d.a)(this,n),(e=t.apply(this,arguments)).value=null,e.hasNext=!1,e.hasCompleted=!1,e}return Object(u.a)(n,[{key:"_subscribe",value:function(e){return this.hasError?(e.error(this.thrownError),f.a.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),f.a.EMPTY):Object(p.a)(Object(h.a)(n.prototype),"_subscribe",this).call(this,e)}},{key:"next",value:function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)}},{key:"error",value:function(e){this.hasCompleted||Object(p.a)(Object(h.a)(n.prototype),"error",this).call(this,e)}},{key:"complete",value:function(){this.hasCompleted=!0,this.hasNext&&Object(p.a)(Object(h.a)(n.prototype),"next",this).call(this,this.value),Object(p.a)(Object(h.a)(n.prototype),"complete",this).call(this)}}]),n}(s.a),y=n("7Hc7"),b=n("D0XW"),x=n("qgXg"),_=n("eNwd"),w=n("3N8a"),S=n("IjjT"),C=function(){var e=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:k,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;return Object(d.a)(this,n),(e=t.call(this,i,function(){return e.frame})).maxFrames=r,e.frame=0,e.index=-1,e}return Object(u.a)(n,[{key:"flush",value:function(){for(var e,t,n=this.actions,i=this.maxFrames;(t=n[0])&&t.delay<=i&&(n.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=n.shift();)t.unsubscribe();throw e}}}]),n}(S.a);return e.frameTimeFactor=10,e}(),k=function(e){Object(m.a)(n,e);var t=Object(g.a)(n);function n(e,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.index+=1;return Object(d.a)(this,n),(r=t.call(this,e,i)).scheduler=e,r.work=i,r.index=a,r.active=!0,r.index=e.index=a,r}return Object(u.a)(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!this.id)return Object(p.a)(Object(h.a)(n.prototype),"schedule",this).call(this,e,t);this.active=!1;var i=new n(this.scheduler,this.work);return this.add(i),i.schedule(e,t)}},{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.delay=e.frame+i;var r=e.actions;return r.push(this),r.sort(n.sortActions),!0}},{key:"recycleAsyncId",value:function(e,t){}},{key:"_execute",value:function(e,t){if(!0===this.active)return Object(p.a)(Object(h.a)(n.prototype),"_execute",this).call(this,e,t)}}],[{key:"sortActions",value:function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1}}]),n}(w.a),O=n("Y/cZ"),E=n("7o/Q"),M=n("WMd4"),I=n("mCNh"),P=n("KqfI"),T=n("SpAZ"),D=n("7+OI"),L=n("4I5i"),R=n("sVev"),j=n("9ppp"),A=n("pjAE"),F=function(){function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e}(),B=n("KQm4"),z=n("lJxs"),N=n("8Qeq"),H=n("DH7j"),V=n("z+Ro");function Y(e,t,n){if(t){if(!Object(V.a)(t))return function(){return Y(e,n).apply(void 0,arguments).pipe(Object(z.a)(function(e){return Object(H.a)(e)?t.apply(void 0,Object(B.a)(e)):t(e)}))};n=t}return function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];var o,s=this,l={context:s,subject:o,callbackFunc:e,scheduler:n};return new i.a(function(t){if(n)return n.schedule(W,0,{args:r,subscriber:t,params:l});if(!o){o=new v;try{e.apply(s,[].concat(r,[function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];o.next(t.length<=1?t[0]:t),o.complete()}]))}catch(i){Object(N.a)(o)?o.error(i):console.warn(i)}}return o.subscribe(t)})}}function W(e){var t=this,n=e.args,i=e.subscriber,r=e.params,a=r.callbackFunc,o=r.context,s=r.scheduler,l=r.subject;if(!l){l=r.subject=new v;try{a.apply(o,[].concat(Object(B.a)(n),[function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];t.add(s.schedule(G,0,{value:n.length<=1?n[0]:n,subject:l}))}]))}catch(c){l.error(c)}}this.add(l.subscribe(i))}function G(e){var t=e.subject;t.next(e.value),t.complete()}function U(e,t,n){if(t){if(!Object(V.a)(t))return function(){return U(e,n).apply(void 0,arguments).pipe(Object(z.a)(function(e){return Object(H.a)(e)?t.apply(void 0,Object(B.a)(e)):t(e)}))};n=t}return function(){for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];var o={subject:void 0,args:r,callbackFunc:e,scheduler:n,context:this};return new i.a(function(t){var i=o.context,a=o.subject;if(n)return n.schedule(q,0,{params:o,subscriber:t,context:i});if(!a){a=o.subject=new v;try{e.apply(i,[].concat(r,[function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var i=t.shift();i?a.error(i):(a.next(t.length<=1?t[0]:t),a.complete())}]))}catch(s){Object(N.a)(a)?a.error(s):console.warn(s)}}return a.subscribe(t)})}}function q(e){var t=this,n=e.params,i=e.subscriber,r=e.context,a=n.callbackFunc,o=n.args,s=n.scheduler,l=n.subject;if(!l){l=n.subject=new v;try{a.apply(r,[].concat(Object(B.a)(o),[function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];var r=n.shift();t.add(r?s.schedule($,0,{err:r,subject:l}):s.schedule(Z,0,{value:n.length<=1?n[0]:n,subject:l}))}]))}catch(c){this.add(s.schedule($,0,{err:c,subject:l}))}}this.add(l.subscribe(i))}function Z(e){var t=e.subject;t.next(e.value),t.complete()}function $(e){e.subject.error(e.err)}var X=n("itXk"),K=n("GyhO"),J=n("NXyV"),Q=n("EY2u"),ee=n("cp0P"),te=n("Cfvw"),ne=n("xgIS"),ie=n("n6bG");function re(e,t,n){return n?re(e,t).pipe(Object(z.a)(function(e){return Object(H.a)(e)?n.apply(void 0,Object(B.a)(e)):n(e)})):new i.a(function(n){var i,r=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n.next(1===t.length?t[0]:t)};try{i=e(r)}catch(a){return void n.error(a)}if(Object(ie.a)(t))return function(){return t(r,i)}})}function ae(e,t,n,r,a){var o,s;return 1==arguments.length?(s=e.initialState,t=e.condition,n=e.iterate,o=e.resultSelector||T.a,a=e.scheduler):void 0===r||Object(V.a)(r)?(s=e,o=T.a,a=r):(s=e,o=r),new i.a(function(e){var i=s;if(a)return a.schedule(oe,0,{subscriber:e,iterate:n,condition:t,resultSelector:o,state:i});for(;;){if(t){var r=void 0;try{r=t(i)}catch(c){return void e.error(c)}if(!r){e.complete();break}}var l=void 0;try{l=o(i)}catch(c){return void e.error(c)}if(e.next(l),e.closed)break;try{i=n(i)}catch(c){return void e.error(c)}}})}function oe(e){var t=e.subscriber,n=e.condition;if(!t.closed){if(e.needIterate)try{e.state=e.iterate(e.state)}catch(a){return void t.error(a)}else e.needIterate=!0;if(n){var i;try{i=n(e.state)}catch(a){return void t.error(a)}if(!i)return void t.complete();if(t.closed)return}var r;try{r=e.resultSelector(e.state)}catch(a){return void t.error(a)}if(!t.closed&&(t.next(r),!t.closed))return this.schedule(e)}}function se(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Q.a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Q.a;return Object(J.a)(function(){return e()?t:n})}var le=n("Y7HM");function ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.a;return(!Object(le.a)(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=b.a),new i.a(function(n){return n.add(t.schedule(de,e,{subscriber:n,counter:0,period:e})),n})}function de(e){var t=e.subscriber,n=e.counter,i=e.period;t.next(n),this.schedule({subscriber:t,counter:n+1,period:i},i)}var ue=n("VRyK"),pe=n("5yfJ"),he=n("LRne");function me(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return Q.a;var r=t[0],a=t.slice(1);return 1===t.length&&Object(H.a)(r)?me.apply(void 0,Object(B.a)(r)):new i.a(function(e){var t=function(){return e.add(me.apply(void 0,Object(B.a)(a)).subscribe(e))};return Object(te.a)(r).subscribe({next:function(t){e.next(t)},error:t,complete:t})})}function ge(e,t){return new i.a(t?function(n){var i=Object.keys(e),r=new f.a;return r.add(t.schedule(fe,0,{keys:i,index:0,subscriber:n,subscription:r,obj:e})),r}:function(t){for(var n=Object.keys(e),i=0;i<n.length&&!t.closed;i++){var r=n[i];e.hasOwnProperty(r)&&t.next([r,e[r]])}t.complete()})}function fe(e){var t=e.keys,n=e.index,i=e.subscriber,r=e.subscription,a=e.obj;if(!i.closed)if(n<t.length){var o=t[n];i.next([o,a[o]]),r.add(this.schedule({keys:t,index:n+1,subscriber:i,subscription:r,obj:a}))}else i.complete()}function ve(e,t){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=e,n.thisArg=t,n}var ye=n("SeVD"),be=n("pLZG");function xe(e,t,n){return[Object(be.a)(t,n)(new i.a(Object(ye.a)(e))),Object(be.a)(ve(t,n))(new i.a(Object(ye.a)(e)))]}var _e=n("Nv8m");function we(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return new i.a(function(i){void 0===t&&(t=e,e=0);var r=0,a=e;if(n)return n.schedule(Se,0,{index:r,count:t,start:e,subscriber:i});for(;;){if(r++>=t){i.complete();break}if(i.next(a++),i.closed)break}})}function Se(e){var t=e.start,n=e.index,i=e.subscriber;n>=e.count?i.complete():(i.next(t),i.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}var Ce=n("z6cu"),ke=n("PqYM");function Oe(e,t){return new i.a(function(n){var i,r;try{i=e()}catch(o){return void n.error(o)}try{r=t(i)}catch(o){return void n.error(o)}var a=(r?Object(te.a)(r):Q.a).subscribe(n);return function(){a.unsubscribe(),i&&i.unsubscribe()}})}var Ee=n("1uah"),Me=n("7HRe"),Ie=n("2fFW")},qFsG:function(e,t,n){"use strict";n.d(t,"a",function(){return v}),n.d(t,"b",function(){return w}),n.d(t,"c",function(){return S}),n.d(t,"d",function(){return g});var i=n("1OyB"),r=n("vuIU"),a=n("Ji7U"),o=n("LK+K"),s=n("ihCf"),l=n("fXoL"),c=n("8LU1"),d=n("nLfN"),u=n("FKr1"),p=n("kmnG"),h=n("XNiG"),m=n("3Pt+"),g=function(){var e=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"matAutosizeMinRows",get:function(){return this.minRows},set:function(e){this.minRows=e}},{key:"matAutosizeMaxRows",get:function(){return this.maxRows},set:function(e){this.maxRows=e}},{key:"matAutosize",get:function(){return this.enabled},set:function(e){this.enabled=e}},{key:"matTextareaAutosize",get:function(){return this.enabled},set:function(e){this.enabled=e}}]),n}(s.b);return e.\u0275fac=function(t){return f(t||e)},e.\u0275dir=l["\u0275\u0275defineDirective"]({type:e,selectors:[["textarea","mat-autosize",""],["textarea","matTextareaAutosize",""]],hostAttrs:["rows","1",1,"cdk-textarea-autosize","mat-autosize"],inputs:{cdkAutosizeMinRows:"cdkAutosizeMinRows",cdkAutosizeMaxRows:"cdkAutosizeMaxRows",matAutosizeMinRows:"matAutosizeMinRows",matAutosizeMaxRows:"matAutosizeMaxRows",matAutosize:["mat-autosize","matAutosize"],matTextareaAutosize:"matTextareaAutosize"},exportAs:["matTextareaAutosize"],features:[l["\u0275\u0275InheritDefinitionFeature"]]}),e}(),f=l["\u0275\u0275getInheritedFactory"](g),v=new l.InjectionToken("MAT_INPUT_VALUE_ACCESSOR"),y=["button","checkbox","file","hidden","image","radio","range","reset","submit"],b=0,x=Object(r.a)(function e(t,n,r,a){Object(i.a)(this,e),this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=r,this.ngControl=a}),_=Object(u.B)(x),w=function(){var e=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,r,a,o,s,l,c,u,p,m){var g;Object(i.a)(this,n),(g=t.call(this,l,o,s,a))._elementRef=e,g._platform=r,g.ngControl=a,g._autofillMonitor=u,g._formField=m,g._uid="mat-input-".concat(b++),g.focused=!1,g.stateChanges=new h.a,g.controlType="mat-input",g.autofilled=!1,g._disabled=!1,g._required=!1,g._type="text",g._readonly=!1,g._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(function(e){return Object(d.e)().has(e)});var f=g._elementRef.nativeElement,v=f.nodeName.toLowerCase();return g._inputValueAccessor=c||f,g._previousNativeValue=g.value,g.id=g.id,r.IOS&&p.runOutsideAngular(function(){e.nativeElement.addEventListener("keyup",function(e){var t=e.target;t.value||t.selectionStart||t.selectionEnd||(t.setSelectionRange(1,1),t.setSelectionRange(0,0))})}),g._isServer=!g._platform.isBrowser,g._isNativeSelect="select"===v,g._isTextarea="textarea"===v,g._isNativeSelect&&(g.controlType=f.multiple?"mat-native-select-multiple":"mat-native-select"),g}return Object(r.a)(n,[{key:"disabled",get:function(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled},set:function(e){this._disabled=Object(c.c)(e),this.focused&&(this.focused=!1,this.stateChanges.next())}},{key:"id",get:function(){return this._id},set:function(e){this._id=e||this._uid}},{key:"required",get:function(){return this._required},set:function(e){this._required=Object(c.c)(e)}},{key:"type",get:function(){return this._type},set:function(e){this._type=e||"text",this._validateType(),!this._isTextarea&&Object(d.e)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}},{key:"value",get:function(){return this._inputValueAccessor.value},set:function(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}},{key:"readonly",get:function(){return this._readonly},set:function(e){this._readonly=Object(c.c)(e)}},{key:"ngAfterViewInit",value:function(){var e=this;this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(function(t){e.autofilled=t.isAutofilled,e.stateChanges.next()})}},{key:"ngOnChanges",value:function(){this.stateChanges.next()}},{key:"ngOnDestroy",value:function(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement)}},{key:"ngDoCheck",value:function(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}},{key:"focus",value:function(e){this._elementRef.nativeElement.focus(e)}},{key:"_focusChanged",value:function(e){e===this.focused||this.readonly&&e||(this.focused=e,this.stateChanges.next())}},{key:"_onInput",value:function(){}},{key:"_dirtyCheckPlaceholder",value:function(){var e,t,n=(null===(t=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===t?void 0:t.call(e))?null:this.placeholder;if(n!==this._previousPlaceholder){var i=this._elementRef.nativeElement;this._previousPlaceholder=n,n?i.setAttribute("placeholder",n):i.removeAttribute("placeholder")}}},{key:"_dirtyCheckNativeValue",value:function(){var e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}},{key:"_validateType",value:function(){y.indexOf(this._type)}},{key:"_isNeverEmpty",value:function(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}},{key:"_isBadInput",value:function(){var e=this._elementRef.nativeElement.validity;return e&&e.badInput}},{key:"empty",get:function(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}},{key:"shouldLabelFloat",get:function(){if(this._isNativeSelect){var e=this._elementRef.nativeElement,t=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&t&&t.label)}return this.focused||!this.empty}},{key:"setDescribedByIds",value:function(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}},{key:"onContainerClick",value:function(){this.focused||this.focus()}}]),n}(_);return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](l.ElementRef),l["\u0275\u0275directiveInject"](d.a),l["\u0275\u0275directiveInject"](m.n,10),l["\u0275\u0275directiveInject"](m.q,8),l["\u0275\u0275directiveInject"](m.i,8),l["\u0275\u0275directiveInject"](u.d),l["\u0275\u0275directiveInject"](v,10),l["\u0275\u0275directiveInject"](s.a),l["\u0275\u0275directiveInject"](l.NgZone),l["\u0275\u0275directiveInject"](p.a,8))},e.\u0275dir=l["\u0275\u0275defineDirective"]({type:e,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:9,hostBindings:function(e,t){1&e&&l["\u0275\u0275listener"]("focus",function(){return t._focusChanged(!0)})("blur",function(){return t._focusChanged(!1)})("input",function(){return t._onInput()}),2&e&&(l["\u0275\u0275hostProperty"]("disabled",t.disabled)("required",t.required),l["\u0275\u0275attribute"]("id",t.id)("data-placeholder",t.placeholder)("readonly",t.readonly&&!t._isNativeSelect||null)("aria-invalid",t.errorState&&!t.empty)("aria-required",t.required),l["\u0275\u0275classProp"]("mat-input-server",t._isServer))},inputs:{id:"id",disabled:"disabled",required:"required",type:"type",value:"value",readonly:"readonly",placeholder:"placeholder",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"]},exportAs:["matInput"],features:[l["\u0275\u0275ProvidersFeature"]([{provide:p.d,useExisting:e}]),l["\u0275\u0275InheritDefinitionFeature"],l["\u0275\u0275NgOnChangesFeature"]]}),e}(),S=function(){var e=Object(r.a)(function e(){Object(i.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=l["\u0275\u0275defineInjector"]({providers:[u.d],imports:[[s.c,p.e,u.j],s.c,p.e]}),e}()},qgXg:function(e,t,n){"use strict";n.d(t,"b",function(){return d}),n.d(t,"a",function(){return u});var i=n("1OyB"),r=n("vuIU"),a=n("ReuC"),o=n("foSv"),s=n("Ji7U"),l=n("LK+K"),c=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,r){var a;return Object(i.a)(this,n),(a=t.call(this,e,r)).scheduler=e,a.work=r,a}return Object(r.a)(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?Object(a.a)(Object(o.a)(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?Object(a.a)(Object(o.a)(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==i&&i>0||null===i&&this.delay>0?Object(a.a)(Object(o.a)(n.prototype),"requestAsyncId",this).call(this,e,t,i):e.flush(this)}}]),n}(n("3N8a").a),d=new(function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n)}(n("IjjT").a))(c),u=d},quSY:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("1OyB"),r=n("vuIU"),a=n("DH7j"),o=n("XoHu"),s=n("n6bG"),l=n("pjAE"),c=function(){var e,t=function(){function e(t){Object(i.a)(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}return Object(r.a)(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,i=this._ctorUnsubscribe,r=this._unsubscribe,c=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var u=0;u<n.length;++u)n[u].remove(this);if(Object(s.a)(r)){i&&(this._unsubscribe=void 0);try{r.call(this)}catch(g){t=g instanceof l.a?d(g.errors):[g]}}if(Object(a.a)(c))for(var p=-1,h=c.length;++p<h;){var m=c[p];if(Object(o.a)(m))try{m.unsubscribe()}catch(g){t=t||[],g instanceof l.a?t=t.concat(d(g.errors)):t.push(g)}}if(t)throw new l.a(t)}}},{key:"add",value:function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var i=n;(n=new e)._subscriptions=[i]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var r=n._parentOrParents;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}var a=this._subscriptions;return null===a?this._subscriptions=[n]:a.push(n),n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}]),e}();return t.EMPTY=((e=new t).closed=!0,e),t}();function d(e){return e.reduce(function(e,t){return e.concat(t instanceof l.a?t.errors:t)},[])}},qvJo:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["\u0925\u094b\u0921\u092f\u093e \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940","\u0925\u094b\u0921\u0947 \u0938\u0945\u0915\u0902\u0921"],ss:[e+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",e+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[e+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",e+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[e+" \u0935\u0930\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[e+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",e+" \u0926\u0940\u0938"],M:["\u090f\u0915\u093e \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928","\u090f\u0915 \u092e\u094d\u0939\u092f\u0928\u094b"],MM:[e+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",e+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[e+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",e+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return i?r[n][0]:r[n][1]}e.defineLocale("gom-deva",{months:{standalone:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940_\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940\u0932_\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932\u092f_\u0911\u0917\u0938\u094d\u091f_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930_\u0911\u0915\u094d\u091f\u094b\u092c\u0930_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930_\u0921\u093f\u0938\u0947\u0902\u092c\u0930".split("_"),format:"\u091c\u093e\u0928\u0947\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092b\u0947\u092c\u094d\u0930\u0941\u0935\u093e\u0930\u0940\u091a\u094d\u092f\u093e_\u092e\u093e\u0930\u094d\u091a\u093e\u091a\u094d\u092f\u093e_\u090f\u092a\u094d\u0930\u0940\u0932\u093e\u091a\u094d\u092f\u093e_\u092e\u0947\u092f\u093e\u091a\u094d\u092f\u093e_\u091c\u0942\u0928\u093e\u091a\u094d\u092f\u093e_\u091c\u0941\u0932\u092f\u093e\u091a\u094d\u092f\u093e_\u0911\u0917\u0938\u094d\u091f\u093e\u091a\u094d\u092f\u093e_\u0938\u092a\u094d\u091f\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0911\u0915\u094d\u091f\u094b\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0928\u094b\u0935\u094d\u0939\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e_\u0921\u093f\u0938\u0947\u0902\u092c\u0930\u093e\u091a\u094d\u092f\u093e".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"\u091c\u093e\u0928\u0947._\u092b\u0947\u092c\u094d\u0930\u0941._\u092e\u093e\u0930\u094d\u091a_\u090f\u092a\u094d\u0930\u0940._\u092e\u0947_\u091c\u0942\u0928_\u091c\u0941\u0932._\u0911\u0917._\u0938\u092a\u094d\u091f\u0947\u0902._\u0911\u0915\u094d\u091f\u094b._\u0928\u094b\u0935\u094d\u0939\u0947\u0902._\u0921\u093f\u0938\u0947\u0902.".split("_"),monthsParseExact:!0,weekdays:"\u0906\u092f\u0924\u093e\u0930_\u0938\u094b\u092e\u093e\u0930_\u092e\u0902\u0917\u0933\u093e\u0930_\u092c\u0941\u0927\u0935\u093e\u0930_\u092c\u093f\u0930\u0947\u0938\u094d\u0924\u093e\u0930_\u0938\u0941\u0915\u094d\u0930\u093e\u0930_\u0936\u0947\u0928\u0935\u093e\u0930".split("_"),weekdaysShort:"\u0906\u092f\u0924._\u0938\u094b\u092e._\u092e\u0902\u0917\u0933._\u092c\u0941\u0927._\u092c\u094d\u0930\u0947\u0938\u094d\u0924._\u0938\u0941\u0915\u094d\u0930._\u0936\u0947\u0928.".split("_"),weekdaysMin:"\u0906_\u0938\u094b_\u092e\u0902_\u092c\u0941_\u092c\u094d\u0930\u0947_\u0938\u0941_\u0936\u0947".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LTS:"A h:mm:ss [\u0935\u093e\u091c\u0924\u093e\u0902]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]",llll:"ddd, D MMM YYYY, A h:mm [\u0935\u093e\u091c\u0924\u093e\u0902]"},calendar:{sameDay:"[\u0906\u092f\u091c] LT",nextDay:"[\u092b\u093e\u0932\u094d\u092f\u093e\u0902] LT",nextWeek:"[\u092b\u0941\u0921\u0932\u094b] dddd[,] LT",lastDay:"[\u0915\u093e\u0932] LT",lastWeek:"[\u092b\u093e\u091f\u0932\u094b] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s \u0906\u0926\u0940\u0902",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(\u0935\u0947\u0930)/,ordinal:function(e,t){switch(t){case"D":return e+"\u0935\u0947\u0930";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/\u0930\u093e\u0924\u0940|\u0938\u0915\u093e\u0933\u0940\u0902|\u0926\u0928\u092a\u093e\u0930\u093e\u0902|\u0938\u093e\u0902\u091c\u0947/,meridiemHour:function(e,t){return 12===e&&(e=0),"\u0930\u093e\u0924\u0940"===t?e<4?e:e+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===t?e:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===t?e>12?e:e+12:"\u0938\u093e\u0902\u091c\u0947"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"\u0930\u093e\u0924\u0940":e<12?"\u0938\u0915\u093e\u0933\u0940\u0902":e<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":e<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(n("wd/R"))},r3oX:function(e,t,n){"use strict";n.d(t,"a",function(){return Ae}),n.d(t,"b",function(){return pt}),n.d(t,"c",function(){return rt}),n.d(t,"d",function(){return ze});var i=n("rePB"),r=n("Ji7U"),a=n("LK+K"),o=n("1OyB"),s=n("vuIU"),l=n("mrSG"),c=n("fXoL"),d=n("ofXK"),u=n("XNiG"),p=n("2Vo4"),h=n("VRyK"),m=n("UXun"),g=n("1G5W"),f=n("pLZG"),v=n("vkgz"),y=n("lJxs"),b=n("/uUt"),x=n("R0Ic"),_=n("ZgVP"),w=n("3Pt+");function S(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"ngx-material-timepicker-24-hours-face",17),c["\u0275\u0275listener"]("hourChange",function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).onHourChange(e)})("hourSelected",function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).onHourSelected(e)}),c["\u0275\u0275pipe"](1,"async"),c["\u0275\u0275elementEnd"]()}if(2&e){var i=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("selectedHour",c["\u0275\u0275pipeBind1"](1,4,i.selectedHour))("minTime",i.minTime)("maxTime",i.maxTime)("format",i.format)}}function C(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"ngx-material-timepicker-12-hours-face",18),c["\u0275\u0275listener"]("hourChange",function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).onHourChange(e)})("hourSelected",function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"](2).onHourSelected(e)}),c["\u0275\u0275pipe"](1,"async"),c["\u0275\u0275pipe"](2,"async"),c["\u0275\u0275elementEnd"]()}if(2&e){var i=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("selectedHour",c["\u0275\u0275pipeBind1"](1,4,i.selectedHour))("period",c["\u0275\u0275pipeBind1"](2,6,i.selectedPeriod))("minTime",i.minTime)("maxTime",i.maxTime)}}function k(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div"),c["\u0275\u0275template"](1,S,2,6,"ngx-material-timepicker-24-hours-face",15),c["\u0275\u0275template"](2,C,3,8,"ng-template",null,16,c["\u0275\u0275templateRefExtractor"]),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275reference"](3),i=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",24===i.format)("ngIfElse",n)}}function O(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"ngx-material-timepicker-minutes-face",19),c["\u0275\u0275listener"]("minuteChange",function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onMinuteChange(e)}),c["\u0275\u0275pipe"](1,"async"),c["\u0275\u0275pipe"](2,"async"),c["\u0275\u0275pipe"](3,"async"),c["\u0275\u0275elementEnd"]()}if(2&e){var i,r=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("selectedMinute",c["\u0275\u0275pipeBind1"](1,7,r.selectedMinute))("selectedHour",null==(i=c["\u0275\u0275pipeBind1"](2,9,r.selectedHour))?null:i.time)("minTime",r.minTime)("maxTime",r.maxTime)("format",r.format)("period",c["\u0275\u0275pipeBind1"](3,11,r.selectedPeriod))("minutesGap",r.minutesGap)}}function E(e,t){1&e&&c["\u0275\u0275elementContainer"](0)}function M(e,t){1&e&&c["\u0275\u0275elementContainer"](0)}function I(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"ngx-material-timepicker-button"),c["\u0275\u0275text"](1,"Cancel"),c["\u0275\u0275elementEnd"]())}function P(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"ngx-material-timepicker-button"),c["\u0275\u0275text"](1,"Ok"),c["\u0275\u0275elementEnd"]())}var T=function(e){return{"timepicker-backdrop-overlay--transparent":e}};function D(e,t){1&e&&(c["\u0275\u0275namespaceSVG"](),c["\u0275\u0275elementStart"](0,"svg",2),c["\u0275\u0275element"](1,"path",3),c["\u0275\u0275elementEnd"]())}var L=[[["","ngxMaterialTimepickerToggleIcon",""]]],R=["[ngxMaterialTimepickerToggleIcon]"],j=["clockFace"],A=["clockHand"],F=function(e){return{transform:e}},B=function(e,t){return{active:e,disabled:t}};function z(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",9),c["\u0275\u0275elementStart"](1,"span",10),c["\u0275\u0275pipe"](2,"activeHour"),c["\u0275\u0275text"](3),c["\u0275\u0275pipe"](4,"timeLocalizer"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,i=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("ngStyle",c["\u0275\u0275pureFunction1"](11,F,"rotateZ("+n.angle+"deg) translateX(-50%)")),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngStyle",c["\u0275\u0275pureFunction1"](13,F,"rotateZ(-"+n.angle+"deg)"))("ngClass",c["\u0275\u0275pureFunction2"](15,B,c["\u0275\u0275pipeBind3"](2,4,n.time,i.selectedTime.time,i.isClockFaceDisabled),n.disabled)),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate1"](" ",c["\u0275\u0275pipeBind2"](4,8,n.time,i.timeUnit.HOUR)," ")}}function N(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",13),c["\u0275\u0275elementStart"](1,"span",10),c["\u0275\u0275pipe"](2,"activeHour"),c["\u0275\u0275text"](3),c["\u0275\u0275pipe"](4,"timeLocalizer"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,i=c["\u0275\u0275nextContext"](3);c["\u0275\u0275styleProp"]("height",i.innerClockFaceSize,"px"),c["\u0275\u0275property"]("ngStyle",c["\u0275\u0275pureFunction1"](13,F,"rotateZ("+n.angle+"deg) translateX(-50%)")),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngStyle",c["\u0275\u0275pureFunction1"](15,F,"rotateZ(-"+n.angle+"deg)"))("ngClass",c["\u0275\u0275pureFunction2"](17,B,c["\u0275\u0275pipeBind3"](2,6,n.time,null==i.selectedTime?null:i.selectedTime.time,i.isClockFaceDisabled),n.disabled)),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate1"](" ",c["\u0275\u0275pipeBind2"](4,10,n.time,i.timeUnit.HOUR),"")}}function H(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",11),c["\u0275\u0275template"](1,N,5,20,"div",12),c["\u0275\u0275pipe"](2,"slice"),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](2);c["\u0275\u0275styleProp"]("top","calc(50% - "+n.innerClockFaceSize+"px)"),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",c["\u0275\u0275pipeBind3"](2,4,n.faceTime,12,24))("ngForTrackBy",n.trackByTime)}}function V(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",6),c["\u0275\u0275template"](1,z,5,18,"div",7),c["\u0275\u0275pipe"](2,"slice"),c["\u0275\u0275template"](3,H,3,8,"div",8),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",c["\u0275\u0275pipeBind3"](2,3,n.faceTime,0,12))("ngForTrackBy",n.trackByTime),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",n.faceTime.length>12)}}function Y(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",9),c["\u0275\u0275elementStart"](1,"span",10),c["\u0275\u0275pipe"](2,"activeMinute"),c["\u0275\u0275text"](3),c["\u0275\u0275pipe"](4,"timeLocalizer"),c["\u0275\u0275pipe"](5,"minutesFormatter"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,i=c["\u0275\u0275nextContext"](2);c["\u0275\u0275property"]("ngStyle",c["\u0275\u0275pureFunction1"](15,F,"rotateZ("+n.angle+"deg) translateX(-50%)")),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngStyle",c["\u0275\u0275pureFunction1"](17,F,"rotateZ(-"+n.angle+"deg)"))("ngClass",c["\u0275\u0275pureFunction2"](19,B,c["\u0275\u0275pipeBind4"](2,4,n.time,null==i.selectedTime?null:i.selectedTime.time,i.minutesGap,i.isClockFaceDisabled),n.disabled)),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate1"](" ",c["\u0275\u0275pipeBind2"](4,9,c["\u0275\u0275pipeBind2"](5,12,n.time,i.minutesGap),i.timeUnit.MINUTE),"")}}function W(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",6),c["\u0275\u0275template"](1,Y,6,22,"div",7),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"]();c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngForOf",n.faceTime)("ngForTrackBy",n.trackByTime)}}var G=function(e){return{"clock-face__clock-hand_minute":e}},U=["*"];function q(e,t){1&e&&c["\u0275\u0275elementContainer"](0)}function Z(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"small",10),c["\u0275\u0275text"](1," * use arrows ("),c["\u0275\u0275elementStart"](2,"span"),c["\u0275\u0275text"](3,"\u21c5"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275text"](4,") to change the time"),c["\u0275\u0275elementEnd"]())}var $=function(e){return{"timepicker-dial__hint-container--hidden":e}};function X(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",7),c["\u0275\u0275template"](1,q,1,0,"ng-container",8),c["\u0275\u0275template"](2,Z,5,0,"ng-template",null,9,c["\u0275\u0275templateRefExtractor"]),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275reference"](3),i=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](2,$,!i.isHintVisible)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngTemplateOutlet",i.editableHintTmpl?i.editableHintTmpl:n)}}var K=function(e){return{"timepicker-dial__period--hidden":e}},J=function(e){return{"timepicker-dial__item_active":e}};function Q(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"input",2),c["\u0275\u0275listener"]("ngModelChange",function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().time=e})("input",function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().updateTime()})("focus",function(e){c["\u0275\u0275restoreView"](n);var t=c["\u0275\u0275nextContext"]();return t.saveTimeAndChangeTimeUnit(e,t.timeUnit)}),c["\u0275\u0275pipe"](1,"timeLocalizer"),c["\u0275\u0275elementEnd"]()}if(2&e){var i=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](7,J,i.isActive))("ngModel",c["\u0275\u0275pipeBind2"](1,4,i.time,i.timeUnit))("disabled",i.disabled)("timepickerAutofocus",i.isActive)}}function ee(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"input",3),c["\u0275\u0275listener"]("ngModelChange",function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onModelChange(e)})("input",function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().updateTime()})("focus",function(e){c["\u0275\u0275restoreView"](n);var t=c["\u0275\u0275nextContext"]();return t.saveTimeAndChangeTimeUnit(e,t.timeUnit)})("keydown",function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().onKeydown(e)})("keypress",function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().changeTimeByKeyboard(e)}),c["\u0275\u0275pipe"](1,"timeLocalizer"),c["\u0275\u0275pipe"](2,"timeParser"),c["\u0275\u0275elementEnd"]()}if(2&e){var i=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](11,J,i.isActive))("ngModel",c["\u0275\u0275pipeBind3"](1,4,c["\u0275\u0275pipeBind2"](2,8,i.time,i.timeUnit),i.timeUnit,!0))("disabled",i.disabled)("timepickerAutofocus",i.isActive)}}function te(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",3),c["\u0275\u0275listener"]("@scaleInOut.done",function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().animationDone()}),c["\u0275\u0275elementStart"](1,"p"),c["\u0275\u0275text"](2,"Current time would be invalid in this period."),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}2&e&&c["\u0275\u0275property"]("@scaleInOut",void 0)}function ne(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"ngx-timepicker-period-selector",9),c["\u0275\u0275listener"]("periodSelected",function(e){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().changePeriod(e)}),c["\u0275\u0275elementEnd"]()}if(2&e){var i=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("selectedPeriod",i.period)("disabled",i.disabled||i.isChangePeriodDisabled)}}function ie(e,t){1&e&&c["\u0275\u0275elementContainer"](0)}var re=function(e){return{"ngx-timepicker__toggle--left":e}};function ae(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"ngx-material-timepicker-toggle",10),c["\u0275\u0275elementStart"](1,"span",11),c["\u0275\u0275template"](2,ie,1,0,"ng-container",12),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](),i=c["\u0275\u0275reference"](10),r=c["\u0275\u0275reference"](12);c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](4,re,"left"===n.buttonAlign))("for",i)("disabled",n.disabled),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngTemplateOutlet",n.toggleIcon||r)}}function oe(e,t){1&e&&(c["\u0275\u0275namespaceSVG"](),c["\u0275\u0275elementStart"](0,"svg",13),c["\u0275\u0275element"](1,"path",14),c["\u0275\u0275elementEnd"]())}var se=function(e){return{"ngx-timepicker--disabled":e}},le=function(e){return{"ngx-timepicker-control--active":e}},ce=function(e){return{"period-selector__button--active":e}};function de(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"ul",6),c["\u0275\u0275elementStart"](1,"li"),c["\u0275\u0275elementStart"](2,"button",7),c["\u0275\u0275listener"]("click",function(){c["\u0275\u0275restoreView"](n);var e=c["\u0275\u0275nextContext"]();return e.select(e.period.AM)}),c["\u0275\u0275text"](3),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](4,"li"),c["\u0275\u0275elementStart"](5,"button",7),c["\u0275\u0275listener"]("click",function(){c["\u0275\u0275restoreView"](n);var e=c["\u0275\u0275nextContext"]();return e.select(e.period.PM)}),c["\u0275\u0275text"](6),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()}if(2&e){var i=c["\u0275\u0275nextContext"]();c["\u0275\u0275property"]("@scaleInOut",void 0)("timepickerAutofocus",!0),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](6,ce,i.localizedPeriod===i.meridiems[0])),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](i.meridiems[0]),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](8,ce,i.localizedPeriod===i.meridiems[1])),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](i.meridiems[1])}}function ue(e,t){if(1&e){var n=c["\u0275\u0275getCurrentView"]();c["\u0275\u0275elementStart"](0,"div",8),c["\u0275\u0275listener"]("click",function(){return c["\u0275\u0275restoreView"](n),c["\u0275\u0275nextContext"]().backdropClick()}),c["\u0275\u0275elementEnd"]()}}var pe=function(e){return{"period-control__button--disabled":e}};function he(e,t){1&e&&c["\u0275\u0275elementContainer"](0)}function me(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",3),c["\u0275\u0275template"](1,he,1,0,"ng-container",4),c["\u0275\u0275elementEnd"]()),2&e){var n=c["\u0275\u0275nextContext"](),i=c["\u0275\u0275reference"](4);c["\u0275\u0275property"]("ngxAppendToInput",n.inputElement),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngTemplateOutlet",i)}}function ge(e,t){1&e&&c["\u0275\u0275elementContainer"](0)}function fe(e,t){if(1&e&&c["\u0275\u0275template"](0,ge,1,0,"ng-container",4),2&e){c["\u0275\u0275nextContext"]();var n=c["\u0275\u0275reference"](4);c["\u0275\u0275property"]("ngTemplateOutlet",n)}}function ve(e,t){1&e&&c["\u0275\u0275projection"](0)}var ye=function(){var e=function(){function e(){Object(o.a)(this,e),this.backdropClickSubject=new u.a,this.keydownEventSubject=new u.a}return Object(s.a)(e,[{key:"backdropClick",get:function(){return this.backdropClickSubject.asObservable().pipe(Object(m.a)({bufferSize:1,refCount:!0}))}},{key:"keydownEvent",get:function(){return this.keydownEventSubject.asObservable().pipe(Object(m.a)({bufferSize:1,refCount:!0}))}},{key:"dispatchEvent",value:function(e){switch(e.type){case"click":this.backdropClickSubject.next(e);break;case"keydown":this.keydownEventSubject.next(e);break;default:throw new Error("no such event type")}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}(),be=function(){var e=function(){function e(t,n,i,r){Object(o.a)(this,e),this.cfr=t,this.appRef=n,this.injector=i,this.document=r}return Object(s.a)(e,[{key:"appendTimepickerToBody",value:function(e,t){var n=this;this.componentRef=this.cfr.resolveComponentFactory(e).create(this.injector),Object.keys(t).forEach(function(e){return n.componentRef.instance[e]=t[e]}),this.appRef.attachView(this.componentRef.hostView),this.document.body.appendChild(this.componentRef.hostView.rootNodes[0])}},{key:"destroyTimepicker",value:function(){this.componentRef.destroy(),this.appRef.detachView(this.componentRef.hostView)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](c.ComponentFactoryResolver),c["\u0275\u0275inject"](c.ApplicationRef),c["\u0275\u0275inject"](c.Injector),c["\u0275\u0275inject"](d.DOCUMENT,8))},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(c["\u0275\u0275inject"])(c.ComponentFactoryResolver),Object(c["\u0275\u0275inject"])(c.ApplicationRef),Object(c["\u0275\u0275inject"])(c.INJECTOR),Object(c["\u0275\u0275inject"])(d.DOCUMENT,8))},token:e,providedIn:"root"}),e=Object(l.__decorate)([Object(l.__param)(3,Object(c.Optional)()),Object(l.__param)(3,Object(c.Inject)(d.DOCUMENT))],e)}(),xe=function(e){return e[e.HOUR=0]="HOUR",e[e.MINUTE=1]="MINUTE",e}({}),_e=function(e){return e.AM="AM",e.PM="PM",e}({}),we=function(e){return e.TWELVE="hh:mm a",e.TWELVE_SHORT="h:m a",e.TWENTY_FOUR="HH:mm",e.TWENTY_FOUR_SHORT="H:m",e}({});function Se(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"minutes";return"hours"===n?e.hour>=t.hour:"minutes"===n?e.hasSame(t,n)||e.valueOf()>t.valueOf():void 0}function Ce(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"minutes";return"hours"===n?e.hour<=t.hour:"minutes"===n?e.hasSame(t,n)||e.valueOf()<=t.valueOf():void 0}function ke(e){return!!([46,8,9,27,13].some(function(t){return t===e.keyCode})||65==e.keyCode&&(!0===e.ctrlKey||!0===e.metaKey)||67==e.keyCode&&(!0===e.ctrlKey||!0===e.metaKey)||88==e.keyCode&&(!0===e.ctrlKey||!0===e.metaKey)||e.keyCode>=35&&e.keyCode<=40)||!((e.keyCode<48||e.keyCode>57)&&(e.keyCode<96||e.keyCode>105))}var Oe=function(){var e=function(){function e(){Object(o.a)(this,e)}return Object(s.a)(e,null,[{key:"parseTime",value:function(t,n){var i=e.getLocaleOptionsByTime(t,n),r=i.numberingSystem,a=i.locale,o=2===t.split(" ").length;return _.DateTime.fromFormat(t,o?we.TWELVE_SHORT:we.TWENTY_FOUR_SHORT,{numberingSystem:r,locale:a})}},{key:"formatTime",value:function(t,n){if(!t)return"Invalid Time";var i=n.format,r=e.parseTime(t,n).setLocale(e.DEFAULT_LOCALE);return 24!==i?r.toLocaleString(Object.assign({},_.DateTime.TIME_SIMPLE,{hour12:24!==i,numberingSystem:e.DEFAULT_NUMBERING_SYSTEM})).replace(/\u200E/g,"").replace(/\u202F/g," "):r.toISOTime({includeOffset:!1,suppressMilliseconds:!0,suppressSeconds:!0}).replace(/\u200E/g,"").replace(/\u202F/g," ")}},{key:"toLocaleTimeString",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.format,r=void 0===i?e.DEFAULT_FORMAT:i,a=n.locale,o=void 0===a?e.DEFAULT_LOCALE:a,s=24===r?"h23":"h12",l=Object.assign({},_.DateTime.TIME_SIMPLE,{hourCycle:s}),c=24===r?we.TWENTY_FOUR_SHORT:we.TWELVE_SHORT,d=Object.assign({locale:n.locale,numberingSystem:n.numberingSystem},l);return _.DateTime.fromFormat(t,c).setLocale(o).toLocaleString(d).replace(/\u202F/g," ")}},{key:"isTimeAvailable",value:function(e,t,n,i,r,a){if(e){var o=this.parseTime(e,{format:a}),s=o.minute;if(r&&s==s&&s%r!=0)throw new Error("Your minutes - ".concat(s," doesn't match your minutesGap - ").concat(r));var l=t&&!n&&Se(o,t,i),c=n&&!t&&Ce(o,n,i),d=t&&n&&function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"minutes";return"hours"===i?Ce(e,n,i)&&Se(e,t,i):"minutes"===i?Ce(e,n)&&Se(e,t):void 0}(o,t,n,i);return l||c||d||!t&&!n}}},{key:"formatHour",value:function(e,t,n){if(24===t)return e;var i=n===_e.AM?e:e+12;return n===_e.AM&&12===i?0:n===_e.PM&&24===i?12:i}},{key:"fromDateTimeToString",value:function(t,n){var i=24===n?we.TWENTY_FOUR:we.TWELVE;return t.reconfigure({numberingSystem:e.DEFAULT_NUMBERING_SYSTEM,locale:e.DEFAULT_LOCALE}).toFormat(i).replace(/\u202F/g," ")}},{key:"getLocaleOptionsByTime",value:function(t,n){var i={numberingSystem:n.numberingSystem,locale:n.locale},r={numberingSystem:e.DEFAULT_NUMBERING_SYSTEM,locale:e.DEFAULT_LOCALE};return isNaN(parseInt(t,10))?i:r}}]),e}();return e.DEFAULT_FORMAT=12,e.DEFAULT_LOCALE="en-US",e.DEFAULT_NUMBERING_SYSTEM="latn",e}(),Ee={time:12,angle:360},Me={time:0,angle:360},Ie=function(){var e=function(){function e(){Object(o.a)(this,e),this.hourSubject=new p.a(Ee),this.minuteSubject=new p.a(Me),this.periodSubject=new p.a(_e.AM)}return Object(s.a)(e,[{key:"hour",set:function(e){this.hourSubject.next(e)}},{key:"selectedHour",get:function(){return this.hourSubject.asObservable()}},{key:"minute",set:function(e){this.minuteSubject.next(e)}},{key:"selectedMinute",get:function(){return this.minuteSubject.asObservable()}},{key:"period",set:function(e){(e===_e.AM||e===_e.PM)&&this.periodSubject.next(e)}},{key:"selectedPeriod",get:function(){return this.periodSubject.asObservable()}},{key:"setDefaultTimeIfAvailable",value:function(e,t,n,i,r){try{Oe.isTimeAvailable(e,t,n,"minutes",r)&&this.setDefaultTime(e,i)}catch(a){console.error(a)}}},{key:"getFullTime",value:function(e){var t=this.hourSubject.getValue().time,n=this.minuteSubject.getValue().time,i=null!=t?t:Ee.time,r=null!=n?n:Me.time,a=12===e?this.periodSubject.getValue():"",o="".concat(i,":").concat(r," ").concat(a).trim();return Oe.formatTime(o,{format:e})}},{key:"setDefaultTime",value:function(e,t){var n=Oe.parseTime(e,{format:t}).toJSDate();if(_.DateTime.fromJSDate(n).isValid){var i=e.substr(e.length-2).toUpperCase(),r=n.getHours();this.hour=Object.assign({},Ee,{time:Pe(r,i)}),this.minute=Object.assign({},Me,{time:n.getMinutes()}),this.period=i}else this.resetTime()}},{key:"resetTime",value:function(){this.hour=Object.assign({},Ee),this.minute=Object.assign({},Me),this.period=_e.AM}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:function(t){return e.\u0275fac(t)},providedIn:"root"}),e.ngInjectableDef=Object(c["\u0275\u0275defineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e}();function Pe(e,t){switch(t){case _e.AM:return 0===e?12:e;case _e.PM:return 12===e?12:e-12;default:return e}}var Te,De=new c.InjectionToken("TimeLocale",{providedIn:"root",factory:function(){return Oe.DEFAULT_LOCALE}}),Le=new c.InjectionToken("NumberingSystem",{providedIn:"root",factory:function(){return Oe.DEFAULT_NUMBERING_SYSTEM}}),Re=function(e){return e.ENTER="enter",e.LEAVE="leave",e}({}),je=function(){var e=function(){function e(t,n,i){Object(o.a)(this,e),this.timepickerService=t,this.eventService=n,this.locale=i,this.timeUnit=xe,this.activeTimeUnit=xe.HOUR,this.unsubscribe=new u.a}return Object(s.a)(e,[{key:"defaultTime",get:function(){return this._defaultTime},set:function(e){this._defaultTime=e,this.setDefaultTime(e)}},{key:"onKeydown",value:function(e){this.eventService.dispatchEvent(e),e.stopPropagation()}},{key:"ngOnInit",value:function(){this.animationState=!this.disableAnimation&&Re.ENTER,this.defineTime(),this.selectedHour=this.timepickerService.selectedHour.pipe(Object(m.a)({bufferSize:1,refCount:!0})),this.selectedMinute=this.timepickerService.selectedMinute.pipe(Object(m.a)({bufferSize:1,refCount:!0})),this.selectedPeriod=this.timepickerService.selectedPeriod.pipe(Object(m.a)({bufferSize:1,refCount:!0})),this.timepickerBaseRef.timeUpdated.pipe(Object(g.a)(this.unsubscribe)).subscribe(this.setDefaultTime.bind(this))}},{key:"onHourChange",value:function(e){this.timepickerService.hour=e,this.onTimeChange()}},{key:"onHourSelected",value:function(e){this.hoursOnly||this.changeTimeUnit(xe.MINUTE),this.timepickerBaseRef.hourSelected.next(e)}},{key:"onMinuteChange",value:function(e){this.timepickerService.minute=e,this.onTimeChange()}},{key:"changePeriod",value:function(e){this.timepickerService.period=e,this.onTimeChange()}},{key:"changeTimeUnit",value:function(e){this.activeTimeUnit=e}},{key:"setTime",value:function(){this.timepickerBaseRef.timeSet.next(this.timepickerService.getFullTime(this.format)),this.close()}},{key:"close",value:function(){this.disableAnimation?this.timepickerBaseRef.close():this.animationState=Re.LEAVE}},{key:"animationDone",value:function(e){"done"===e.phaseName&&e.toState===Re.LEAVE&&this.timepickerBaseRef.close()}},{key:"ngOnDestroy",value:function(){this.unsubscribe.next(),this.unsubscribe.complete()}},{key:"setDefaultTime",value:function(e){this.timepickerService.setDefaultTimeIfAvailable(e,this.minTime,this.maxTime,this.format,this.minutesGap)}},{key:"defineTime",value:function(){var e=this.minTime;if(e&&!this.time&&!this.defaultTime){var t=Oe.fromDateTimeToString(e,this.format);this.setDefaultTime(t)}}},{key:"onTimeChange",value:function(){var e=Oe.toLocaleTimeString(this.timepickerService.getFullTime(this.format),{locale:this.locale,format:this.format});this.timepickerBaseRef.timeChanged.emit(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](Ie),c["\u0275\u0275directiveInject"](ye),c["\u0275\u0275directiveInject"](De))},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-material-timepicker-container"]],hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("keydown",function(e){return t.onKeydown(e)})},inputs:{defaultTime:"defaultTime"},features:[c["\u0275\u0275ProvidersFeature"]([Ie])],decls:22,vars:31,consts:[[1,"timepicker-backdrop-overlay",3,"overlay","ngClass"],[1,"timepicker-overlay"],[3,"appendToInput","inputElement","ngxMaterialTimepickerTheme"],[1,"timepicker",3,"ngClass"],[1,"timepicker__header"],[3,"format","hour","minute","period","activeTimeUnit","minTime","maxTime","isEditable","editableHintTmpl","minutesGap","hoursOnly","periodChanged","timeUnitChanged","hourChanged","minuteChanged"],[1,"timepicker__main-content"],[1,"timepicker__body",3,"ngSwitch"],[4,"ngSwitchCase"],[3,"selectedMinute","selectedHour","minTime","maxTime","format","period","minutesGap","minuteChange",4,"ngSwitchCase"],[1,"timepicker__actions"],[3,"click"],[4,"ngTemplateOutlet"],["cancelBtnDefault",""],["confirmBtnDefault",""],[3,"selectedHour","minTime","maxTime","format","hourChange","hourSelected",4,"ngIf","ngIfElse"],["ampmHours",""],[3,"selectedHour","minTime","maxTime","format","hourChange","hourSelected"],[3,"selectedHour","period","minTime","maxTime","hourChange","hourSelected"],[3,"selectedMinute","selectedHour","minTime","maxTime","format","period","minutesGap","minuteChange"]],template:function(e,t){if(1&e&&(c["\u0275\u0275element"](0,"div",0),c["\u0275\u0275elementStart"](1,"div",1),c["\u0275\u0275elementStart"](2,"ngx-material-timepicker-content",2),c["\u0275\u0275elementStart"](3,"div",3),c["\u0275\u0275listener"]("@timepicker.done",function(e){return t.animationDone(e)}),c["\u0275\u0275elementStart"](4,"header",4),c["\u0275\u0275elementStart"](5,"ngx-material-timepicker-dial",5),c["\u0275\u0275listener"]("periodChanged",function(e){return t.changePeriod(e)})("timeUnitChanged",function(e){return t.changeTimeUnit(e)})("hourChanged",function(e){return t.onHourChange(e)})("minuteChanged",function(e){return t.onMinuteChange(e)}),c["\u0275\u0275pipe"](6,"async"),c["\u0275\u0275pipe"](7,"async"),c["\u0275\u0275pipe"](8,"async"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](9,"div",6),c["\u0275\u0275elementStart"](10,"div",7),c["\u0275\u0275template"](11,k,4,2,"div",8),c["\u0275\u0275template"](12,O,4,13,"ngx-material-timepicker-minutes-face",9),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](13,"div",10),c["\u0275\u0275elementStart"](14,"div",11),c["\u0275\u0275listener"]("click",function(){return t.close()}),c["\u0275\u0275template"](15,E,1,0,"ng-container",12),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](16,"div",11),c["\u0275\u0275listener"]("click",function(){return t.setTime()}),c["\u0275\u0275template"](17,M,1,0,"ng-container",12),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](18,I,2,0,"ng-template",null,13,c["\u0275\u0275templateRefExtractor"]),c["\u0275\u0275template"](20,P,2,0,"ng-template",null,14,c["\u0275\u0275templateRefExtractor"])),2&e){var n,i,r=c["\u0275\u0275reference"](19),a=c["\u0275\u0275reference"](21);c["\u0275\u0275property"]("overlay",t.preventOverlayClick)("ngClass",c["\u0275\u0275pureFunction1"](29,T,t.appendToInput)),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("appendToInput",t.appendToInput)("inputElement",t.inputElement)("ngxMaterialTimepickerTheme",t.theme),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("@timepicker",t.animationState)("ngClass",t.timepickerClass),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("format",t.format)("hour",null==(n=c["\u0275\u0275pipeBind1"](6,23,t.selectedHour))?null:n.time)("minute",null==(i=c["\u0275\u0275pipeBind1"](7,25,t.selectedMinute))?null:i.time)("period",c["\u0275\u0275pipeBind1"](8,27,t.selectedPeriod))("activeTimeUnit",t.activeTimeUnit)("minTime",t.minTime)("maxTime",t.maxTime)("isEditable",t.enableKeyboardInput)("editableHintTmpl",t.editableHintTmpl)("minutesGap",t.minutesGap)("hoursOnly",t.hoursOnly),c["\u0275\u0275advance"](5),c["\u0275\u0275property"]("ngSwitch",t.activeTimeUnit),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngSwitchCase",t.timeUnit.HOUR),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngSwitchCase",t.timeUnit.MINUTE),c["\u0275\u0275advance"](3),c["\u0275\u0275property"]("ngTemplateOutlet",t.cancelBtnTmpl?t.cancelBtnTmpl:r),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngTemplateOutlet",t.confirmBtnTmpl?t.confirmBtnTmpl:a)}},directives:function(){return[tt,d.NgClass,dt,Ne,Ze,d.NgSwitch,d.NgSwitchCase,d.NgTemplateOutlet,d.NgIf,Ye,We,Ge,qe]},pipes:function(){return[d.AsyncPipe]},styles:['[_nghost-%COMP%]{--body-background-color:#fff;--primary-font-family:"Roboto",sans-serif;--button-color:deepskyblue;--dial-active-color:#fff;--dial-inactive-color:rgba(255, 255, 255, .5);--dial-background-color:deepskyblue;--dial-editable-active-color:deepskyblue;--dial-editable-background-color:#fff;--clock-face-time-active-color:#fff;--clock-face-time-inactive-color:#6c6c6c;--clock-face-inner-time-inactive-color:#929292;--clock-face-time-disabled-color:#c5c5c5;--clock-face-background-color:#f0f0f0;--clock-hand-color:deepskyblue}.timepicker-backdrop-overlay[_ngcontent-%COMP%]{position:fixed;top:0;bottom:0;right:0;left:0;background-color:rgba(0,0,0,.3);z-index:999;pointer-events:auto}.timepicker-backdrop-overlay--transparent[_ngcontent-%COMP%]{background-color:transparent}.timepicker-overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;z-index:999;pointer-events:none}.timepicker[_ngcontent-%COMP%]{width:300px;border-radius:2px;box-shadow:rgba(0,0,0,.25) 0 14px 45px,rgba(0,0,0,.22) 0 10px 18px;outline:0;position:static;z-index:999;pointer-events:auto}.timepicker__header[_ngcontent-%COMP%]{padding:15px 30px;background-color:#00bfff}@supports (background-color:var(--dial-background-color)){.timepicker__header[_ngcontent-%COMP%]{background-color:var(--dial-background-color)}}.timepicker__body[_ngcontent-%COMP%]{padding:15px 5px;display:flex;justify-content:center;align-items:center;background-color:#fff}@supports (background-color:var(--body-background-color)){.timepicker__body[_ngcontent-%COMP%]{background-color:var(--body-background-color)}}.timepicker__actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding:15px;background-color:#fff}@supports (background-color:var(--body-background-color)){.timepicker__actions[_ngcontent-%COMP%]{background-color:var(--body-background-color)}}@media (max-device-width:1023px) and (orientation:landscape){.timepicker[_ngcontent-%COMP%]{display:flex;width:515px}.timepicker__header[_ngcontent-%COMP%]{display:flex;align-items:center}.timepicker__main-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}.timepicker__actions[_ngcontent-%COMP%]{padding:5px;margin-top:-1px}}'],data:{animation:[Object(x.n)("timepicker",[Object(x.m)("* => ".concat(Re.ENTER),[Object(x.l)({transform:"translateY(-30%)"}),Object(x.e)("0.2s ease-out",Object(x.l)({transform:"translateY(0)"}))]),Object(x.m)("".concat(Re.ENTER," => ").concat(Re.LEAVE),[Object(x.l)({transform:"translateY(0)",opacity:1}),Object(x.e)("0.2s ease-out",Object(x.l)({transform:"translateY(-30%)",opacity:0}))])])]}}),e=Object(l.__decorate)([Object(l.__param)(2,Object(c.Inject)(De))],e)}(),Ae=function(){var e=function(){function e(t,n){Object(o.a)(this,e),this.eventService=t,this.domService=n,this.timeUpdated=new u.a,this.isEsc=!0,this.hoursOnly=!1,this.timeSet=new c.EventEmitter,this.opened=new c.EventEmitter,this.closed=new c.EventEmitter,this.hourSelected=new c.EventEmitter,this.timeChanged=new c.EventEmitter,this.unsubscribe=new u.a}return Object(s.a)(e,[{key:"ngxMaterialTimepickerTheme",set:function(e){console.warn("'ngxMaterialTimepickerTheme' is deprecated. Use 'theme' instead"),this._ngxMaterialTimepickerTheme=e}},{key:"format",get:function(){return this.timepickerInput?this.timepickerInput.format:this._format},set:function(e){this._format=24===e?24:12}},{key:"minutesGap",get:function(){return this._minutesGap},set:function(e){null!=e&&(e=Math.floor(e),this._minutesGap=e<=59?e:1)}},{key:"minTime",get:function(){return this.timepickerInput?this.timepickerInput.min:this.min}},{key:"maxTime",get:function(){return this.timepickerInput?this.timepickerInput.max:this.max}},{key:"disabled",get:function(){return this.timepickerInput&&this.timepickerInput.disabled}},{key:"time",get:function(){return this.timepickerInput&&this.timepickerInput.value}},{key:"inputElement",get:function(){return this.timepickerInput&&this.timepickerInput.element}},{key:"registerInput",value:function(e){if(this.timepickerInput)throw Error("A Timepicker can only be associated with a single input.");this.timepickerInput=e}},{key:"open",value:function(){this.domService.appendTimepickerToBody(je,{timepickerBaseRef:this,time:this.time,defaultTime:this.defaultTime,maxTime:this.maxTime,minTime:this.minTime,format:this.format,minutesGap:this.minutesGap,disableAnimation:this.disableAnimation,cancelBtnTmpl:this.cancelBtnTmpl,confirmBtnTmpl:this.confirmBtnTmpl,editableHintTmpl:this.editableHintTmpl,disabled:this.disabled,enableKeyboardInput:this.enableKeyboardInput,preventOverlayClick:this.preventOverlayClick,appendToInput:this.appendToInput,hoursOnly:this.hoursOnly,theme:this.theme||this._ngxMaterialTimepickerTheme,timepickerClass:this.timepickerClass,inputElement:this.inputElement}),this.opened.next(),this.subscribeToEvents()}},{key:"close",value:function(){this.domService.destroyTimepicker(),this.closed.next(),this.unsubscribeFromEvents()}},{key:"updateTime",value:function(e){this.timeUpdated.next(e)}},{key:"subscribeToEvents",value:function(){var e=this;Object(h.a)(this.eventService.backdropClick,this.eventService.keydownEvent.pipe(Object(f.a)(function(t){return 27===t.keyCode&&e.isEsc}))).pipe(Object(g.a)(this.unsubscribe)).subscribe(function(){return e.close()})}},{key:"unsubscribeFromEvents",value:function(){this.unsubscribe.next(),this.unsubscribe.complete()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](ye),c["\u0275\u0275directiveInject"](be))},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-material-timepicker"]],inputs:{isEsc:["ESC","isEsc"],hoursOnly:"hoursOnly",ngxMaterialTimepickerTheme:"ngxMaterialTimepickerTheme",format:"format",minutesGap:"minutesGap",cancelBtnTmpl:"cancelBtnTmpl",editableHintTmpl:"editableHintTmpl",confirmBtnTmpl:"confirmBtnTmpl",enableKeyboardInput:"enableKeyboardInput",preventOverlayClick:"preventOverlayClick",disableAnimation:"disableAnimation",appendToInput:"appendToInput",defaultTime:"defaultTime",timepickerClass:"timepickerClass",theme:"theme",min:"min",max:"max"},outputs:{timeSet:"timeSet",opened:"opened",closed:"closed",hourSelected:"hourSelected",timeChanged:"timeChanged"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),e}(),Fe=function(){var e=Object(s.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngxMaterialTimepickerToggleIcon",""]]}),e}(),Be=function(){var e=function(){function e(){Object(o.a)(this,e)}return Object(s.a)(e,[{key:"disabled",get:function(){return void 0===this._disabled?this.timepicker.disabled:this._disabled},set:function(e){this._disabled=e}},{key:"open",value:function(e){this.timepicker&&(this.timepicker.open(),e.stopPropagation())}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-material-timepicker-toggle"]],contentQueries:function(e,t,n){var i;1&e&&c["\u0275\u0275contentQuery"](n,Fe,3),2&e&&c["\u0275\u0275queryRefresh"](i=c["\u0275\u0275loadQuery"]())&&(t.customIcon=i.first)},inputs:{disabled:"disabled",timepicker:["for","timepicker"]},ngContentSelectors:R,decls:3,vars:2,consts:[["type","button",1,"ngx-material-timepicker-toggle",3,"disabled","click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24px","height","24px",4,"ngIf"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24px","height","24px"],["d","M 12 2 C 6.4889971 2 2 6.4889971 2 12 C 2 17.511003                   6.4889971 22 12 22 C 17.511003 22 22 17.511003 22 12 C 22 6.4889971 17.511003 2 12 2 z M 12 4 C 16.430123 4 20 7.5698774 20 12 C 20 16.430123 16.430123 20 12 20 C 7.5698774 20 4 16.430123 4 12 C 4 7.5698774 7.5698774 4 12 4 z M 11 6 L 11 12.414062 L 15.292969 16.707031 L 16.707031 15.292969 L 13 11.585938 L 13 6 L 11 6 z"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](L),c["\u0275\u0275elementStart"](0,"button",0),c["\u0275\u0275listener"]("click",function(e){return t.open(e)}),c["\u0275\u0275template"](1,D,2,0,"svg",1),c["\u0275\u0275projection"](2),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275property"]("disabled",t.disabled),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.customIcon))},directives:[d.NgIf],styles:[".ngx-material-timepicker-toggle[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;padding:4px;background-color:transparent;border-radius:50%;text-align:center;border:none;outline:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition:background-color .3s;cursor:pointer}.ngx-material-timepicker-toggle[_ngcontent-%COMP%]:focus{background-color:rgba(0,0,0,.07)}"]}),e}(),ze=function(){var e=Te=function(){function e(t,n){Object(o.a)(this,e),this.elementRef=t,this.locale=n,this._format=12,this._value="",this.timepickerSubscriptions=[],this.onTouched=function(){},this.onChange=function(){}}return Object(s.a)(e,[{key:"format",get:function(){return this._format},set:function(e){this._format=24===e?24:12,e&&this.previousFormat&&this.previousFormat!==this._format&&(this.value=this._value,this._timepicker.updateTime(this._value)),this.previousFormat=this._format}},{key:"min",get:function(){return this._min},set:function(e){this._min="string"!=typeof e?e:Oe.parseTime(e,{locale:this.locale,format:this.format})}},{key:"max",get:function(){return this._max},set:function(e){this._max="string"!=typeof e?e:Oe.parseTime(e,{locale:this.locale,format:this.format})}},{key:"timepicker",set:function(e){this.registerTimepicker(e)}},{key:"value",get:function(){return this._value?Oe.toLocaleTimeString(this._value,{format:this.format,locale:this.locale}):""},set:function(e){if(!e)return this._value="",void this.updateInputValue();var t=Oe.formatTime(e,{locale:this.locale,format:this.format});if(Oe.isTimeAvailable(t,this._min,this._max,"minutes",this._timepicker.minutesGap,this._format))return this._value=t,void this.updateInputValue();console.warn("Selected time doesn't match min or max value")}},{key:"element",get:function(){return this.elementRef&&this.elementRef.nativeElement}},{key:"defaultTime",set:function(e){this._timepicker.defaultTime=Oe.formatTime(e,{locale:this.locale,format:this.format})}},{key:"updateValue",value:function(e){this.value=e,this.onChange(e)}},{key:"ngOnChanges",value:function(e){e.value&&e.value.currentValue&&(this.defaultTime=e.value.currentValue)}},{key:"onClick",value:function(e){this.disableClick||(this._timepicker.open(),e.stopPropagation())}},{key:"writeValue",value:function(e){this.value=e,e&&(this.defaultTime=e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"ngOnDestroy",value:function(){this.timepickerSubscriptions.forEach(function(e){return e.unsubscribe()})}},{key:"registerTimepicker",value:function(e){var t=this;if(!e)throw new Error("NgxMaterialTimepickerComponent is not defined. Please make sure you passed the timepicker to ngxTimepicker directive");this._timepicker=e,this._timepicker.registerInput(this),this.timepickerSubscriptions.push(this._timepicker.timeSet.subscribe(function(e){t.value=e,t.onChange(t.value),t.onTouched(),t.defaultTime=t._value}))}},{key:"updateInputValue",value:function(){this.elementRef.nativeElement.value=this.value}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](De))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngxTimepicker",""]],hostVars:1,hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("change",function(e){return t.updateValue(e.target.value)})("blur",function(){return t.onTouched()})("click",function(e){return t.onClick(e)}),2&e&&c["\u0275\u0275hostProperty"]("disabled",t.disabled)},inputs:{format:"format",value:"value",min:"min",max:"max",timepicker:["ngxTimepicker","timepicker"],disabled:"disabled",disableClick:"disableClick"},features:[c["\u0275\u0275ProvidersFeature"]([{provide:w.m,useExisting:Te,multi:!0}]),c["\u0275\u0275NgOnChangesFeature"]]}),e=Te=Object(l.__decorate)([Object(l.__param)(1,Object(c.Inject)(De))],e)}(),Ne=function(){var e=function(){function e(t){Object(o.a)(this,e),this.element=t.nativeElement}return Object(s.a)(e,[{key:"ngAfterViewInit",value:function(){this.theme&&this.setTheme(this.theme)}},{key:"setTheme",value:function(e){for(var t in e)if(e.hasOwnProperty(t)){if("string"==typeof e[t]){for(var n in e)e.hasOwnProperty(n)&&this.element.style.setProperty("--".concat(n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),e[n]);return}this.setTheme(e[t])}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ElementRef))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngxMaterialTimepickerTheme",""]],inputs:{theme:["ngxMaterialTimepickerTheme","theme"]}}),e}(),He=function(){function e(){Object(o.a)(this,e)}return Object(s.a)(e,null,[{key:"getHours",value:function(e){return Array(e).fill(1).map(function(e,t){var n=e+t;return{time:24===n?0:n,angle:30*n}})}},{key:"disableHours",value:function(e,t){return t.min||t.max?e.map(function(e){var n=24===t.format?e.time:Oe.formatHour(e.time,t.format,t.period),i=_.DateTime.fromObject({hour:n}).toFormat(we.TWELVE);return Object.assign({},e,{disabled:!Oe.isTimeAvailable(i,t.min,t.max,"hours")})}):e}},{key:"getMinutes",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=60,n=360/t,i=[],r=0;r<t;r++){var a=n*r;r%e==0&&i.push({time:r,angle:0!==a?a:360})}return i}},{key:"disableMinutes",value:function(e,t,n){if(n.min||n.max){var i=Oe.formatHour(t,n.format,n.period);return e.map(function(e){var t=_.DateTime.fromObject({hour:i,minute:e.time}).toFormat(we.TWELVE);return Object.assign({},e,{disabled:!Oe.isTimeAvailable(t,n.min,n.max,"minutes")})})}return e}}]),e}(),Ve=function(){var e=function(){function e(t){Object(o.a)(this,e),this.hourChange=new c.EventEmitter,this.hourSelected=new c.EventEmitter,this.hoursList=[],this.hoursList=He.getHours(t)}return Object(s.a)(e,[{key:"onTimeSelected",value:function(e){this.hourSelected.next(e)}}]),e}();return e.\u0275fac=function(e){c["\u0275\u0275invalidFactory"]()},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,inputs:{selectedHour:"selectedHour",minTime:"minTime",maxTime:"maxTime",format:"format"},outputs:{hourChange:"hourChange",hourSelected:"hourSelected"}}),e}(),Ye=function(){var e=function(e){Object(r.a)(n,e);var t=Object(a.a)(n);function n(){return Object(o.a)(this,n),t.call(this,24)}return Object(s.a)(n,[{key:"ngAfterContentInit",value:function(){this.hoursList=He.disableHours(this.hoursList,{min:this.minTime,max:this.maxTime,format:this.format})}}]),n}(Ve);return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-material-timepicker-24-hours-face"]],features:[c["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:3,consts:[[3,"selectedTime","faceTime","format","timeChange","timeSelected"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"ngx-material-timepicker-face",0),c["\u0275\u0275listener"]("timeChange",function(e){return t.hourChange.next(e)})("timeSelected",function(e){return t.onTimeSelected(e)}),c["\u0275\u0275elementEnd"]()),2&e&&c["\u0275\u0275property"]("selectedTime",t.selectedHour)("faceTime",t.hoursList)("format",t.format)},directives:function(){return[Ue]},encapsulation:2,changeDetection:0}),e}(),We=function(){var e=function(e){Object(r.a)(n,e);var t=Object(a.a)(n);function n(){return Object(o.a)(this,n),t.call(this,12)}return Object(s.a)(n,[{key:"ngOnChanges",value:function(e){e.period&&e.period.currentValue&&(this.hoursList=He.disableHours(this.hoursList,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period}))}}]),n}(Ve);return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-material-timepicker-12-hours-face"]],inputs:{period:"period"},features:[c["\u0275\u0275InheritDefinitionFeature"],c["\u0275\u0275NgOnChangesFeature"]],decls:1,vars:2,consts:[[3,"selectedTime","faceTime","timeChange","timeSelected"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"ngx-material-timepicker-face",0),c["\u0275\u0275listener"]("timeChange",function(e){return t.hourChange.next(e)})("timeSelected",function(e){return t.onTimeSelected(e)}),c["\u0275\u0275elementEnd"]()),2&e&&c["\u0275\u0275property"]("selectedTime",t.selectedHour)("faceTime",t.hoursList)},directives:function(){return[Ue]},encapsulation:2,changeDetection:0}),e}(),Ge=function(){var e=function(){function e(){Object(o.a)(this,e),this.minutesList=[],this.timeUnit=xe,this.minuteChange=new c.EventEmitter}return Object(s.a)(e,[{key:"ngOnChanges",value:function(e){if(e.period&&e.period.currentValue){var t=He.getMinutes(this.minutesGap);this.minutesList=He.disableMinutes(t,this.selectedHour,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period})}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-material-timepicker-minutes-face"]],inputs:{selectedMinute:"selectedMinute",selectedHour:"selectedHour",period:"period",minTime:"minTime",maxTime:"maxTime",format:"format",minutesGap:"minutesGap"},outputs:{minuteChange:"minuteChange"},features:[c["\u0275\u0275NgOnChangesFeature"]],decls:1,vars:4,consts:[[3,"faceTime","selectedTime","minutesGap","unit","timeChange"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"ngx-material-timepicker-face",0),c["\u0275\u0275listener"]("timeChange",function(e){return t.minuteChange.next(e)}),c["\u0275\u0275elementEnd"]()),2&e&&c["\u0275\u0275property"]("faceTime",t.minutesList)("selectedTime",t.selectedMinute)("minutesGap",t.minutesGap)("unit",t.timeUnit.MINUTE)},directives:function(){return[Ue]},encapsulation:2}),e}(),Ue=function(){var e=function(){function e(){Object(o.a)(this,e),this.timeUnit=xe,this.innerClockFaceSize=85,this.timeChange=new c.EventEmitter,this.timeSelected=new c.EventEmitter}return Object(s.a)(e,[{key:"ngAfterViewInit",value:function(){this.setClockHandPosition(),this.addTouchEvents()}},{key:"ngOnChanges",value:function(e){var t=this,n=e.faceTime,i=e.selectedTime;n&&n.currentValue&&i&&i.currentValue&&(this.selectedTime=this.faceTime.find(function(e){return e.time===t.selectedTime.time})),i&&i.currentValue&&this.setClockHandPosition(),n&&n.currentValue&&setTimeout(function(){return t.selectAvailableTime()})}},{key:"trackByTime",value:function(e,t){return t.time}},{key:"onMousedown",value:function(e){e.preventDefault(),this.isStarted=!0}},{key:"selectTime",value:function(e){if(this.isStarted||!(e instanceof MouseEvent)||"click"===e.type){var t,n,i,r,a,o=this.clockFace.nativeElement.getBoundingClientRect(),s=o.left+o.width/2,l=o.top+o.height/2,c=180*Math.atan(Math.abs(e.clientX-s)/Math.abs(e.clientY-l))/Math.PI,d=(t=s,i=e.clientX,a=c,(r=e.clientY)>(n=l)&&i>=t?180-a:r>n&&i<t?180+a:r<n&&i<t?360-a:a),u=this.format&&this.isInnerClockFace(s,l,e.clientX,e.clientY),p=(function(e,t){return Math.round(e/t)*t}(d,this.unit===xe.MINUTE?6*(this.minutesGap||1):30)||360)+(u?360:0),h=this.faceTime.find(function(e){return e.angle===p});h&&!h.disabled&&(this.timeChange.next(h),this.isStarted||this.timeSelected.next(h.time))}}},{key:"onMouseup",value:function(e){e.preventDefault(),this.isStarted=!1}},{key:"ngOnDestroy",value:function(){this.removeTouchEvents()}},{key:"addTouchEvents",value:function(){this.touchStartHandler=this.onMousedown.bind(this),this.touchEndHandler=this.onMouseup.bind(this),this.clockFace.nativeElement.addEventListener("touchstart",this.touchStartHandler),this.clockFace.nativeElement.addEventListener("touchend",this.touchEndHandler)}},{key:"removeTouchEvents",value:function(){this.clockFace.nativeElement.removeEventListener("touchstart",this.touchStartHandler),this.clockFace.nativeElement.removeEventListener("touchend",this.touchEndHandler)}},{key:"setClockHandPosition",value:function(){24===this.format&&(this.selectedTime.time>12||0===this.selectedTime.time?this.decreaseClockHand():this.increaseClockHand()),this.clockHand.nativeElement.style.transform="rotate(".concat(this.selectedTime.angle,"deg)")}},{key:"selectAvailableTime",value:function(){var e=this,t=this.faceTime.find(function(t){return e.selectedTime.time===t.time});if(this.isClockFaceDisabled=this.faceTime.every(function(e){return e.disabled}),t&&t.disabled&&!this.isClockFaceDisabled){var n=this.faceTime.find(function(e){return!e.disabled});this.timeChange.next(n)}}},{key:"isInnerClockFace",value:function(e,t,n,i){return Math.sqrt(Math.pow(n-e,2)+Math.pow(i-t,2))<this.innerClockFaceSize}},{key:"decreaseClockHand",value:function(){this.clockHand.nativeElement.style.height="75px",this.clockHand.nativeElement.style.top="calc(50% - 75px)"}},{key:"increaseClockHand",value:function(){this.clockHand.nativeElement.style.height="103px",this.clockHand.nativeElement.style.top="calc(50% - 103px)"}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-material-timepicker-face"]],viewQuery:function(e,t){var n;1&e&&(c["\u0275\u0275viewQuery"](j,3),c["\u0275\u0275viewQuery"](A,3)),2&e&&(c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.clockFace=n.first),c["\u0275\u0275queryRefresh"](n=c["\u0275\u0275loadQuery"]())&&(t.clockHand=n.first))},hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("mousedown",function(e){return t.onMousedown(e)})("click",function(e){return t.selectTime(e)})("touchmove",function(e){return t.selectTime(e.changedTouches[0])})("touchend",function(e){return t.selectTime(e.changedTouches[0])})("mousemove",function(e){return t.selectTime(e)})("mouseup",function(e){return t.onMouseup(e)})},inputs:{selectedTime:"selectedTime",faceTime:"faceTime",unit:"unit",format:"format",minutesGap:"minutesGap"},outputs:{timeChange:"timeChange",timeSelected:"timeSelected"},features:[c["\u0275\u0275NgOnChangesFeature"]],decls:7,vars:6,consts:[[1,"clock-face"],["clockFace",""],["class","clock-face__container",4,"ngIf","ngIfElse"],[1,"clock-face__clock-hand",3,"ngClass","hidden"],["clockHand",""],["minutesFace",""],[1,"clock-face__container"],["class","clock-face__number clock-face__number--outer",3,"ngStyle",4,"ngFor","ngForOf","ngForTrackBy"],["class","clock-face__inner",3,"top",4,"ngIf"],[1,"clock-face__number","clock-face__number--outer",3,"ngStyle"],[3,"ngStyle","ngClass"],[1,"clock-face__inner"],["class","clock-face__number clock-face__number--inner",3,"ngStyle","height",4,"ngFor","ngForOf","ngForTrackBy"],[1,"clock-face__number","clock-face__number--inner",3,"ngStyle"]],template:function(e,t){if(1&e&&(c["\u0275\u0275elementStart"](0,"div",0,1),c["\u0275\u0275template"](2,V,4,7,"div",2),c["\u0275\u0275element"](3,"span",3,4),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](5,W,2,2,"ng-template",null,5,c["\u0275\u0275templateRefExtractor"])),2&e){var n=c["\u0275\u0275reference"](6);c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",t.unit!==t.timeUnit.MINUTE)("ngIfElse",n),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](4,G,t.unit===t.timeUnit.MINUTE))("hidden",t.isClockFaceDisabled)}},directives:function(){return[d.NgIf,d.NgClass,d.NgForOf,d.NgStyle]},pipes:function(){return[d.SlicePipe,lt,st,ct,nt]},styles:['.clock-face[_ngcontent-%COMP%]{width:290px;height:290px;border-radius:50%;position:relative;display:flex;justify-content:center;padding:20px;box-sizing:border-box;background-color:#f0f0f0}@supports (background-color:var(--clock-face-background-color)){.clock-face[_ngcontent-%COMP%]{background-color:var(--clock-face-background-color)}}.clock-face__inner[_ngcontent-%COMP%]{position:absolute}.clock-face__container[_ngcontent-%COMP%]{margin-left:-2px}.clock-face__number[_ngcontent-%COMP%]{position:absolute;transform-origin:0 100%;width:50px;text-align:center;z-index:2}.clock-face__number--outer[_ngcontent-%COMP%]{height:calc(290px / 2 - 20px)}.clock-face__number--outer[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:16px;color:#6c6c6c}@supports (color:var(--clock-face-time-inactive-color)){.clock-face__number--outer[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:var(--clock-face-time-inactive-color)}}.clock-face__number--inner[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:14px;color:#929292}@supports (color:var(--clock-face-inner-time-inactive-color)){.clock-face__number--inner[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{color:var(--clock-face-inner-time-inactive-color)}}.clock-face__number[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:30px;height:30px;display:flex;justify-content:center;align-items:center;margin:auto;border-radius:50%;font-weight:500;font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.clock-face__number[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-family:var(--primary-font-family)}}.clock-face__number[_ngcontent-%COMP%] > span.active[_ngcontent-%COMP%]{background-color:#00bfff;color:#fff}@supports (background-color:var(--clock-hand-color)){.clock-face__number[_ngcontent-%COMP%] > span.active[_ngcontent-%COMP%]{background-color:var(--clock-hand-color);color:var(--clock-face-time-active-color)}}.clock-face__number[_ngcontent-%COMP%] > span.disabled[_ngcontent-%COMP%]{color:#c5c5c5}@supports (color:var(--clock-face-time-disabled-color)){.clock-face__number[_ngcontent-%COMP%] > span.disabled[_ngcontent-%COMP%]{color:var(--clock-face-time-disabled-color)}}.clock-face__clock-hand[_ngcontent-%COMP%]{height:103px;width:2px;transform-origin:0 100%;position:absolute;top:calc(50% - 103px);z-index:1;background-color:#00bfff}@supports (background-color:var(--clock-hand-color)){.clock-face__clock-hand[_ngcontent-%COMP%]{background-color:var(--clock-hand-color)}}.clock-face__clock-hand[_ngcontent-%COMP%]:after{content:"";width:7px;height:7px;border-radius:50%;background-color:inherit;position:absolute;bottom:-3px;left:-3.5px}.clock-face__clock-hand_minute[_ngcontent-%COMP%]:before{content:"";width:7px;height:7px;background-color:#fff;border-radius:50%;position:absolute;top:-8px;left:calc(50% - 8px);box-sizing:content-box;border:4px solid #00bfff}@supports (border-color:var(--clock-hand-color)){.clock-face__clock-hand_minute[_ngcontent-%COMP%]:before{border-color:var(--clock-hand-color)}}@media (max-device-width:1023px) and (orientation:landscape){.clock-face[_ngcontent-%COMP%]{width:225px;height:225px;padding:5px}.clock-face__number--outer[_ngcontent-%COMP%]{height:calc(225px / 2 - 5px)}.clock-face__clock-hand_minute[_ngcontent-%COMP%]:before{top:0}}'],changeDetection:0}),e}(),qe=function(){var e=Object(s.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-material-timepicker-button"]],ngContentSelectors:U,decls:3,vars:0,consts:[["type","button",1,"timepicker-button"]],template:function(e,t){1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275elementStart"](0,"button",0),c["\u0275\u0275elementStart"](1,"span"),c["\u0275\u0275projection"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]())},styles:[".timepicker-button[_ngcontent-%COMP%]{display:inline-block;height:36px;min-width:88px;line-height:36px;border:12px;border-radius:2px;background-color:transparent;text-align:center;transition:450ms cubic-bezier(.23,1,.32,1);overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;cursor:pointer;outline:0;color:#00bfff}@supports (color:var(--button-color)){.timepicker-button[_ngcontent-%COMP%]{color:var(--button-color)}}.timepicker-button[_ngcontent-%COMP%]:focus, .timepicker-button[_ngcontent-%COMP%]:hover{background-color:rgba(153,153,153,.2)}.timepicker-button[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-size:14px;text-transform:uppercase;font-weight:600;padding-left:16px;padding-right:16px;font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-button[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{font-family:var(--primary-font-family)}}"]}),e}(),Ze=function(){var e=function(){function e(t){Object(o.a)(this,e),this.locale=t,this.timeUnit=xe,this.meridiems=_.Info.meridiems({locale:this.locale}),this.periodChanged=new c.EventEmitter,this.timeUnitChanged=new c.EventEmitter,this.hourChanged=new c.EventEmitter,this.minuteChanged=new c.EventEmitter}return Object(s.a)(e,[{key:"ngOnChanges",value:function(e){if(e.period&&e.period.currentValue||e.format&&e.format.currentValue){var t=He.getHours(this.format);this.hours=He.disableHours(t,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period})}if(e.period&&e.period.currentValue||e.hour&&e.hour.currentValue){var n=He.getMinutes(this.minutesGap);this.minutes=He.disableMinutes(n,+this.hour,{min:this.minTime,max:this.maxTime,format:this.format,period:this.period})}}},{key:"changeTimeUnit",value:function(e){this.timeUnitChanged.next(e)}},{key:"changePeriod",value:function(e){this.periodChanged.next(e)}},{key:"changeHour",value:function(e){this.hourChanged.next(e)}},{key:"changeMinute",value:function(e){this.minuteChanged.next(e)}},{key:"showHint",value:function(){this.isHintVisible=!0}},{key:"hideHint",value:function(){this.isHintVisible=!1}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](De))},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-material-timepicker-dial"]],inputs:{editableHintTmpl:"editableHintTmpl",hour:"hour",minute:"minute",format:"format",period:"period",activeTimeUnit:"activeTimeUnit",minTime:"minTime",maxTime:"maxTime",isEditable:"isEditable",minutesGap:"minutesGap",hoursOnly:"hoursOnly"},outputs:{periodChanged:"periodChanged",timeUnitChanged:"timeUnitChanged",hourChanged:"hourChanged",minuteChanged:"minuteChanged"},features:[c["\u0275\u0275NgOnChangesFeature"]],decls:9,vars:25,consts:[[1,"timepicker-dial"],[1,"timepicker-dial__container"],[1,"timepicker-dial__time"],[3,"timeList","time","timeUnit","isActive","isEditable","timeUnitChanged","timeChanged","focused","unfocused"],[3,"timeList","time","timeUnit","isActive","isEditable","minutesGap","disabled","timeUnitChanged","timeChanged","focused","unfocused"],[1,"timepicker-dial__period",3,"ngClass","selectedPeriod","activeTimeUnit","maxTime","minTime","format","hours","minutes","selectedHour","meridiems","periodChanged"],[3,"ngClass",4,"ngIf"],[3,"ngClass"],[4,"ngTemplateOutlet"],["editableHintDefault",""],[1,"timepicker-dial__hint"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275elementStart"](1,"div",1),c["\u0275\u0275elementStart"](2,"div",2),c["\u0275\u0275elementStart"](3,"ngx-material-timepicker-dial-control",3),c["\u0275\u0275listener"]("timeUnitChanged",function(e){return t.changeTimeUnit(e)})("timeChanged",function(e){return t.changeHour(e)})("focused",function(){return t.showHint()})("unfocused",function(){return t.hideHint()}),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](4,"span"),c["\u0275\u0275text"](5,":"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](6,"ngx-material-timepicker-dial-control",4),c["\u0275\u0275listener"]("timeUnitChanged",function(e){return t.changeTimeUnit(e)})("timeChanged",function(e){return t.changeMinute(e)})("focused",function(){return t.showHint()})("unfocused",function(){return t.hideHint()}),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](7,"ngx-material-timepicker-period",5),c["\u0275\u0275listener"]("periodChanged",function(e){return t.changePeriod(e)}),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](8,X,4,4,"div",6),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](3),c["\u0275\u0275property"]("timeList",t.hours)("time",t.hour)("timeUnit",t.timeUnit.HOUR)("isActive",t.activeTimeUnit===t.timeUnit.HOUR)("isEditable",t.isEditable),c["\u0275\u0275advance"](3),c["\u0275\u0275property"]("timeList",t.minutes)("time",t.minute)("timeUnit",t.timeUnit.MINUTE)("isActive",t.activeTimeUnit===t.timeUnit.MINUTE)("isEditable",t.isEditable)("minutesGap",t.minutesGap)("disabled",t.hoursOnly),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](23,K,24===t.format))("selectedPeriod",t.period)("activeTimeUnit",t.activeTimeUnit)("maxTime",t.maxTime)("minTime",t.minTime)("format",t.format)("hours",t.hours)("minutes",t.minutes)("selectedHour",t.hour)("meridiems",t.meridiems),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.isEditable||t.editableHintTmpl))},directives:function(){return[Xe,et,d.NgClass,d.NgIf,d.NgTemplateOutlet]},styles:[".timepicker-dial[_ngcontent-%COMP%]{text-align:right}.timepicker-dial__container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;-webkit-tap-highlight-color:transparent}.timepicker-dial__time[_ngcontent-%COMP%]{display:flex;align-items:baseline;line-height:normal;font-size:50px;color:rgba(255,255,255,.5);font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-dial__time[_ngcontent-%COMP%]{font-family:var(--primary-font-family);color:var(--dial-inactive-color)}}.timepicker-dial__period[_ngcontent-%COMP%]{display:block;margin-left:10px}.timepicker-dial__hint-container--hidden[_ngcontent-%COMP%], .timepicker-dial__period--hidden[_ngcontent-%COMP%]{visibility:hidden}.timepicker-dial__hint[_ngcontent-%COMP%]{display:inline-block;font-size:10px;color:#fff}@supports (color:var(--dial-active-color)){.timepicker-dial__hint[_ngcontent-%COMP%]{color:var(--dial-active-color)}}.timepicker-dial__hint[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px}@media (max-device-width:1023px) and (orientation:landscape){.timepicker-dial__container[_ngcontent-%COMP%]{flex-direction:column}.timepicker-dial__period[_ngcontent-%COMP%]{margin-left:0}}"],changeDetection:0}),e=Object(l.__decorate)([Object(l.__param)(0,Object(c.Inject)(De))],e)}(),$e=function(){var e=function(){function e(t,n){Object(o.a)(this,e),this.locale=t,this.numberingSystem=n}return Object(s.a)(e,[{key:"transform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xe.HOUR;return null==e||""===e?"":isNaN(+e)?t===xe.MINUTE?this.parseTime(e,"m","minute"):this.parseTime(e,"H","hour"):e}},{key:"parseTime",value:function(e,t,n){var i=_.DateTime.fromFormat(String(e),t,{numberingSystem:this.numberingSystem,locale:this.locale})[n];if(!isNaN(i))return i;throw new Error("Cannot parse time - ".concat(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](De),c["\u0275\u0275directiveInject"](Le))},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"timeParser",type:e,pure:!0}),e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:function(t){return e.\u0275fac(t)}}),e=Object(l.__decorate)([Object(l.__param)(0,Object(c.Inject)(De)),Object(l.__param)(1,Object(c.Inject)(Le))],e)}(),Xe=function(){var e=function(){function e(t){Object(o.a)(this,e),this.timeParserPipe=t,this.timeUnitChanged=new c.EventEmitter,this.timeChanged=new c.EventEmitter,this.focused=new c.EventEmitter,this.unfocused=new c.EventEmitter}return Object(s.a)(e,[{key:"selectedTime",get:function(){var e=this;if(this.time)return this.timeList.find(function(t){return t.time===+e.time})}},{key:"saveTimeAndChangeTimeUnit",value:function(e,t){e.preventDefault(),this.previousTime=this.time,this.timeUnitChanged.next(t),this.focused.next()}},{key:"updateTime",value:function(){var e=this.selectedTime;e&&(this.timeChanged.next(e),this.previousTime=e.time)}},{key:"changeTimeByKeyboard",value:function(e){var t=String.fromCharCode(e.keyCode);(function(e,t,n){if(/\d/.test(t))return Ke(e+t,n)})(this.time,t,this.timeList)&&e.preventDefault()}},{key:"onKeydown",value:function(e){ke(e)?this.changeTimeByArrow(e.keyCode):e.preventDefault()}},{key:"onModelChange",value:function(e){this.time=this.timeParserPipe.transform(e,this.timeUnit).toString()}},{key:"changeTimeByArrow",value:function(e){var t;38===e?t=String(+this.time+(this.minutesGap||1)):40===e&&(t=String(+this.time-(this.minutesGap||1))),Ke(t,this.timeList)||(this.time=t,this.updateTime())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"]($e))},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-material-timepicker-dial-control"]],inputs:{time:"time",timeList:"timeList",timeUnit:"timeUnit",isActive:"isActive",isEditable:"isEditable",minutesGap:"minutesGap",disabled:"disabled"},outputs:{timeUnitChanged:"timeUnitChanged",timeChanged:"timeChanged",focused:"focused",unfocused:"unfocused"},features:[c["\u0275\u0275ProvidersFeature"]([$e])],decls:3,vars:2,consts:[["class","timepicker-dial__control timepicker-dial__item","readonly","",3,"ngClass","ngModel","disabled","timepickerAutofocus","ngModelChange","input","focus",4,"ngIf","ngIfElse"],["editableTemplate",""],["readonly","",1,"timepicker-dial__control","timepicker-dial__item",3,"ngClass","ngModel","disabled","timepickerAutofocus","ngModelChange","input","focus"],[1,"timepicker-dial__control","timepicker-dial__item","timepicker-dial__control_editable",3,"ngClass","ngModel","disabled","timepickerAutofocus","ngModelChange","input","focus","keydown","keypress"]],template:function(e,t){if(1&e&&(c["\u0275\u0275template"](0,Q,2,9,"input",0),c["\u0275\u0275template"](1,ee,3,13,"ng-template",null,1,c["\u0275\u0275templateRefExtractor"])),2&e){var n=c["\u0275\u0275reference"](2);c["\u0275\u0275property"]("ngIf",!t.isEditable)("ngIfElse",n)}},directives:function(){return[d.NgIf,w.c,d.NgClass,w.o,w.r,it]},pipes:function(){return[st,$e]},styles:[".timepicker-dial__item[_ngcontent-%COMP%]{cursor:pointer;color:rgba(255,255,255,.5);font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-dial__item[_ngcontent-%COMP%]{font-family:var(--primary-font-family);color:var(--dial-inactive-color)}}.timepicker-dial__item_active[_ngcontent-%COMP%]{color:#fff}@supports (color:var(--dial-active-color)){.timepicker-dial__item_active[_ngcontent-%COMP%]{color:var(--dial-active-color)}}.timepicker-dial__control[_ngcontent-%COMP%]{border:none;background-color:transparent;font-size:50px;width:60px;padding:0;border-radius:3px;text-align:right}.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{color:#00bfff;background-color:#fff;outline:#00bfff}@supports (color:var(--dial-editable-active-color)){.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{color:var(--dial-editable-active-color)}}@supports (background-color:var(--dial-editable-background-color)){.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{background-color:var(--dial-editable-background-color)}}@supports (outline:var(--dial-editable-active-color)){.timepicker-dial__control_editable[_ngcontent-%COMP%]:focus{outline:var(--dial-editable-active-color)}}.timepicker-dial__control[_ngcontent-%COMP%]:disabled{cursor:default}.timepicker-dial__control[_ngcontent-%COMP%]:focus-visible{outline:0}"]}),e}();function Ke(e,t){var n=t.find(function(t){return t.time===+e});return!n||n&&n.disabled}var Je,Qe,et=function(){var e=function(){function e(){Object(o.a)(this,e),this.timePeriod=_e,this.isPeriodAvailable=!0,this.periodChanged=new c.EventEmitter}return Object(s.a)(e,[{key:"changePeriod",value:function(e){this.isPeriodAvailable=this.isSwitchPeriodAvailable(e),this.isPeriodAvailable&&this.periodChanged.next(e)}},{key:"animationDone",value:function(){this.isPeriodAvailable=!0}},{key:"isSwitchPeriodAvailable",value:function(e){return!this.getDisabledTimeByPeriod(e).every(function(e){return e.disabled})}},{key:"getDisabledTimeByPeriod",value:function(e){switch(this.activeTimeUnit){case xe.HOUR:return He.disableHours(this.hours,{min:this.minTime,max:this.maxTime,format:this.format,period:e});case xe.MINUTE:return He.disableMinutes(this.minutes,+this.selectedHour,{min:this.minTime,max:this.maxTime,format:this.format,period:e});default:throw new Error("no such TimeUnit")}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-material-timepicker-period"]],inputs:{selectedPeriod:"selectedPeriod",format:"format",activeTimeUnit:"activeTimeUnit",hours:"hours",minutes:"minutes",minTime:"minTime",maxTime:"maxTime",selectedHour:"selectedHour",meridiems:"meridiems"},outputs:{periodChanged:"periodChanged"},decls:6,vars:9,consts:[[1,"timepicker-period"],["type","button",1,"timepicker-dial__item","timepicker-period__btn",3,"ngClass","click"],["class","timepicker-period__warning",4,"ngIf"],[1,"timepicker-period__warning"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275elementStart"](1,"button",1),c["\u0275\u0275listener"]("click",function(){return t.changePeriod(t.timePeriod.AM)}),c["\u0275\u0275text"](2),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](3,"button",1),c["\u0275\u0275listener"]("click",function(){return t.changePeriod(t.timePeriod.PM)}),c["\u0275\u0275text"](4),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](5,te,3,1,"div",2),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](5,J,t.selectedPeriod===t.timePeriod.AM)),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](t.meridiems[0]),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](7,J,t.selectedPeriod===t.timePeriod.PM)),c["\u0275\u0275advance"](1),c["\u0275\u0275textInterpolate"](t.meridiems[1]),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.isPeriodAvailable))},directives:[d.NgClass,d.NgIf],styles:[".timepicker-dial__item[_ngcontent-%COMP%]{cursor:pointer;color:rgba(255,255,255,.5);font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-dial__item[_ngcontent-%COMP%]{font-family:var(--primary-font-family);color:var(--dial-inactive-color)}}.timepicker-dial__item_active[_ngcontent-%COMP%]{color:#fff}@supports (color:var(--dial-active-color)){.timepicker-dial__item_active[_ngcontent-%COMP%]{color:var(--dial-active-color)}}.timepicker-period[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:relative}.timepicker-period__btn[_ngcontent-%COMP%]{padding:1px 3px;border:0;background-color:transparent;font-size:18px;font-weight:500;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;border-radius:3px;transition:background-color .5s;font-family:Roboto,sans-serif}.timepicker-period__btn[_ngcontent-%COMP%]:focus{background-color:rgba(0,0,0,.07)}.timepicker-period__warning[_ngcontent-%COMP%]{padding:5px 10px;border-radius:3px;background-color:rgba(0,0,0,.55);color:#fff;position:absolute;width:200px;left:-20px;top:40px}.timepicker-period__warning[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0;font-size:12px;font-family:Roboto,sans-serif}@supports (font-family:var(--primary-font-family)){.timepicker-period__btn[_ngcontent-%COMP%], .timepicker-period__warning[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{font-family:var(--primary-font-family)}}"],data:{animation:[Object(x.n)("scaleInOut",[Object(x.m)(":enter",[Object(x.l)({transform:"scale(0)"}),Object(x.e)(".2s",Object(x.l)({transform:"scale(1)"})),Object(x.j)([Object(x.e)("3s",Object(x.l)({opacity:1})),Object(x.e)(".3s",Object(x.l)({opacity:0}))])])])]}}),e}(),tt=function(){var e=function(){function e(t){Object(o.a)(this,e),this.eventService=t}return Object(s.a)(e,[{key:"onClick",value:function(e){this.preventClick||this.eventService.dispatchEvent(e),e.preventDefault()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](ye))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","overlay",""]],hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("click",function(e){return t.onClick(e)})},inputs:{preventClick:["overlay","preventClick"]}}),e}(),nt=function(){var e=function(){function e(){Object(o.a)(this,e)}return Object(s.a)(e,[{key:"transform",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return e?e%t==0?e:"":e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"minutesFormatter",type:e,pure:!0}),e}(),it=function(){var e=function(){function e(t,n){Object(o.a)(this,e),this.element=t,this.document=n,this.activeElement=this.document.activeElement}return Object(s.a)(e,[{key:"ngOnChanges",value:function(){var e=this;this.isFocusActive&&setTimeout(function(){return e.element.nativeElement.focus({preventScroll:!0})})}},{key:"ngOnDestroy",value:function(){var e=this;setTimeout(function(){return e.activeElement.focus({preventScroll:!0})})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](d.DOCUMENT,8))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","timepickerAutofocus",""]],inputs:{isFocusActive:["timepickerAutofocus","isFocusActive"]},features:[c["\u0275\u0275NgOnChangesFeature"]]}),e=Object(l.__decorate)([Object(l.__param)(1,Object(c.Optional)()),Object(l.__param)(1,Object(c.Inject)(d.DOCUMENT))],e)}(),rt=function(){var e=Je=function(){function e(t,n){Object(o.a)(this,e),this.timepickerService=t,this.locale=n,this.minHour=1,this.maxHour=12,this.timeUnit=xe,this.buttonAlign="right",this.timeChanged=new c.EventEmitter,this._format=12,this.unsubscribe$=new u.a,this.isFirstTimeChange=!0,this.onChange=function(){}}return Object(s.a)(e,[{key:"format",get:function(){return this._format},set:function(e){this._format=24===e?24:12,this.minHour=12===this._format?1:0,this.maxHour=12===this._format?12:23,this.hoursList=He.getHours(this._format),e&&this.previousFormat&&this.previousFormat!==this._format&&this.updateTime(this.timepickerTime),this.previousFormat=this._format}},{key:"min",get:function(){return this._min},set:function(e){this._min="string"!=typeof e?e:Oe.parseTime(e,{locale:this.locale,format:this.format})}},{key:"max",get:function(){return this._max},set:function(e){this._max="string"!=typeof e?e:Oe.parseTime(e,{locale:this.locale,format:this.format})}},{key:"defaultTime",get:function(){return this._defaultTime},set:function(e){this._defaultTime=e,this.isDefaultTime=!!e}},{key:"minutesGap",get:function(){return this._minutesGap},set:function(e){null!=e&&(e=Math.floor(e),this._minutesGap=e<=59?e:1)}},{key:"ngOnInit",value:function(){var e=this;this.initTime(this.defaultTime),this.hoursList=He.getHours(this._format),this.minutesList=He.getMinutes(),this.isTimeRangeSet=!(!this.min&&!this.max),this.hour$=this.timepickerService.selectedHour.pipe(Object(v.a)(function(t){return e.selectedHour=t.time}),Object(y.a)(this.changeDefaultTimeValue.bind(this)),Object(v.a)(function(){return e.isTimeRangeSet&&e.updateAvailableMinutes()})),this.minute$=this.timepickerService.selectedMinute.pipe(Object(y.a)(this.changeDefaultTimeValue.bind(this)),Object(v.a)(function(){return e.isFirstTimeChange=!1})),12===this.format?this.timepickerService.selectedPeriod.pipe(Object(b.a)(),Object(v.a)(function(t){return e.period=t}),Object(v.a)(function(t){return e.isChangePeriodDisabled=e.isPeriodDisabled(t)}),Object(g.a)(this.unsubscribe$)).subscribe(function(){return e.isTimeRangeSet&&e.updateAvailableTime()}):this.isTimeRangeSet&&this.updateAvailableTime()}},{key:"writeValue",value:function(e){e?this.initTime(e):this.resetTime()}},{key:"registerOnTouched",value:function(e){}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"setDisabledState",value:function(e){this.disabled=e}},{key:"changeHour",value:function(e){this.timepickerService.hour=this.hoursList.find(function(t){return t.time===e}),this.changeTime()}},{key:"changeMinute",value:function(e){this.timepickerService.minute=this.minutesList.find(function(t){return t.time===e}),this.changeTime()}},{key:"changePeriod",value:function(e){this.timepickerService.period=e,this.changeTime()}},{key:"onTimeSet",value:function(e){this.updateTime(e),this.emitLocalTimeChange(e)}},{key:"ngOnDestroy",value:function(){this.unsubscribe$.next(),this.unsubscribe$.complete()}},{key:"changeTime",value:function(){var e=this.timepickerService.getFullTime(this.format);this.timepickerTime=e,this.emitLocalTimeChange(e)}},{key:"resetTime",value:function(){this.timepickerService.hour={angle:0,time:null},this.timepickerService.minute={angle:0,time:null}}},{key:"emitLocalTimeChange",value:function(e){var t=Oe.toLocaleTimeString(e,{format:this.format,locale:this.locale});this.onChange(t),this.timeChanged.emit(t)}},{key:"changeDefaultTimeValue",value:function(e){return!this.isDefaultTime&&this.isFirstTimeChange?Object.assign({},e,{time:null}):e}},{key:"updateAvailableHours",value:function(){this.hoursList=He.disableHours(this.hoursList,{min:this.min,max:this.max,format:this.format,period:this.period})}},{key:"updateAvailableMinutes",value:function(){this.minutesList=He.disableMinutes(this.minutesList,this.selectedHour,{min:this.min,max:this.max,format:this.format,period:this.period})}},{key:"updateAvailableTime",value:function(){this.updateAvailableHours(),this.selectedHour&&this.updateAvailableMinutes()}},{key:"updateTime",value:function(e){if(e){var t=Oe.formatTime(e,{locale:this.locale,format:this.format});this.timepickerService.setDefaultTimeIfAvailable(t,this.min,this.max,this.format),this.timepickerTime=t}}},{key:"initTime",value:function(e){if(!Oe.isTimeAvailable(e,this.min,this.max,"minutes",null,this.format)){if(this.min)return void this.updateTime(Oe.fromDateTimeToString(this.min,this.format));if(this.max)return void this.updateTime(Oe.fromDateTimeToString(this.max,this.format))}this.updateTime(e)}},{key:"isPeriodDisabled",value:function(e){return He.disableHours(He.getHours(12),{min:this.min,max:this.max,format:12,period:e===_e.AM?_e.PM:_e.AM}).every(function(e){return e.disabled})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](Ie),c["\u0275\u0275directiveInject"](De))},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-timepicker-field"]],inputs:{buttonAlign:"buttonAlign",format:"format",min:"min",max:"max",defaultTime:"defaultTime",minutesGap:"minutesGap",disabled:"disabled",toggleIcon:"toggleIcon",clockTheme:"clockTheme",controlOnly:"controlOnly",cancelBtnTmpl:"cancelBtnTmpl",confirmBtnTmpl:"confirmBtnTmpl"},outputs:{timeChanged:"timeChanged"},features:[c["\u0275\u0275ProvidersFeature"]([Ie,{provide:w.m,useExisting:Je,multi:!0}])],decls:13,vars:34,consts:[[1,"ngx-timepicker",3,"ngClass"],[1,"ngx-timepicker__control--first",3,"placeholder","time","min","max","timeUnit","disabled","timeList","preventTyping","timeChanged"],[1,"ngx-timepicker__time-colon","ngx-timepicker__control--second"],[1,"ngx-timepicker__control--third",3,"placeholder","time","min","max","timeUnit","disabled","timeList","preventTyping","minutesGap","timeChanged"],["class","ngx-timepicker__control--forth",3,"selectedPeriod","disabled","periodSelected",4,"ngIf"],["class","ngx-timepicker__toggle",3,"ngClass","for","disabled",4,"ngIf"],[3,"min","max","theme","defaultTime","format","cancelBtnTmpl","confirmBtnTmpl","minutesGap","timeSet"],["timepicker",""],["defaultIcon",""],[1,"ngx-timepicker__control--forth",3,"selectedPeriod","disabled","periodSelected"],[1,"ngx-timepicker__toggle",3,"ngClass","for","disabled"],["ngxMaterialTimepickerToggleIcon",""],[4,"ngTemplateOutlet"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 24 24","width","24px","height","24px"],["d","M 12 2 C 6.4889971 2 2 6.4889971 2 12 C 2 17.511003                   6.4889971 22 12 22 C 17.511003 22 22 17.511003 22 12 C 22 6.4889971 17.511003 2 12 2 z M 12 4 C 16.430123 4 20 7.5698774 20 12 C 20 16.430123 16.430123 20 12 20 C 7.5698774 20 4 16.430123 4 12 C 4 7.5698774 7.5698774 4 12 4 z M 11 6 L 11 12.414062 L 15.292969 16.707031 L 16.707031 15.292969 L 13 11.585938 L 13 6 L 11 6 z"]],template:function(e,t){var n,i;1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275elementStart"](1,"ngx-timepicker-time-control",1),c["\u0275\u0275listener"]("timeChanged",function(e){return t.changeHour(e)}),c["\u0275\u0275pipe"](2,"async"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](3,"span",2),c["\u0275\u0275text"](4,":"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](5,"ngx-timepicker-time-control",3),c["\u0275\u0275listener"]("timeChanged",function(e){return t.changeMinute(e)}),c["\u0275\u0275pipe"](6,"async"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](7,ne,1,2,"ngx-timepicker-period-selector",4),c["\u0275\u0275template"](8,ae,3,6,"ngx-material-timepicker-toggle",5),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](9,"ngx-material-timepicker",6,7),c["\u0275\u0275listener"]("timeSet",function(e){return t.onTimeSet(e)}),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](11,oe,2,0,"ng-template",null,8,c["\u0275\u0275templateRefExtractor"])),2&e&&(c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](32,se,t.disabled)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("placeholder","HH")("time",null==(n=c["\u0275\u0275pipeBind1"](2,28,t.hour$))?null:n.time)("min",t.minHour)("max",t.maxHour)("timeUnit",t.timeUnit.HOUR)("disabled",t.disabled)("timeList",t.hoursList)("preventTyping",t.isTimeRangeSet),c["\u0275\u0275advance"](4),c["\u0275\u0275property"]("placeholder","MM")("time",null==(i=c["\u0275\u0275pipeBind1"](6,30,t.minute$))?null:i.time)("min",0)("max",59)("timeUnit",t.timeUnit.MINUTE)("disabled",t.disabled)("timeList",t.minutesList)("preventTyping",t.isTimeRangeSet)("minutesGap",t.minutesGap),c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngIf",24!==t.format),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",!t.controlOnly),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("min",t.min)("max",t.max)("theme",t.clockTheme)("defaultTime",t.timepickerTime)("format",t.format)("cancelBtnTmpl",t.cancelBtnTmpl)("confirmBtnTmpl",t.confirmBtnTmpl)("minutesGap",t.minutesGap))},directives:function(){return[d.NgClass,at,d.NgIf,Ae,ot,Be,Fe,d.NgTemplateOutlet]},pipes:function(){return[d.AsyncPipe]},styles:[".ngx-timepicker[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%;border-bottom:1px solid rgba(0,0,0,.12)}.ngx-timepicker--disabled[_ngcontent-%COMP%]{background:rgba(0,0,0,.07);pointer-events:none}.ngx-timepicker__time-colon[_ngcontent-%COMP%]{margin-left:10px}.ngx-timepicker__control--first[_ngcontent-%COMP%]{order:1}.ngx-timepicker__control--second[_ngcontent-%COMP%]{order:2}.ngx-timepicker__control--third[_ngcontent-%COMP%]{order:3}.ngx-timepicker__control--forth[_ngcontent-%COMP%], .ngx-timepicker__toggle[_ngcontent-%COMP%]{order:4}.ngx-timepicker__toggle--left[_ngcontent-%COMP%]{order:0}"],changeDetection:0}),e=Je=Object(l.__decorate)([Object(l.__param)(1,Object(c.Inject)(De))],e)}(),at=function(){var e=function(){function e(t){Object(o.a)(this,e),this.timeParser=t,this.timeChanged=new c.EventEmitter}return Object(s.a)(e,[{key:"ngOnChanges",value:function(e){e.timeList&&null!=this.time&&this.isSelectedTimeDisabled(this.time)&&this.setAvailableTime()}},{key:"changeTime",value:function(e){e.stopPropagation();var t=String.fromCharCode(e.keyCode),n=function(e,t){if(/\d/.test(t))return+(e+t)}(String(this.time),t);this.changeTimeIfValid(n)}},{key:"onKeydown",value:function(e){switch(e.stopPropagation(),ke(e)||e.preventDefault(),e.key){case"ArrowUp":this.increase();break;case"ArrowDown":this.decrease()}this.preventTyping&&"Tab"!==e.key&&e.preventDefault()}},{key:"increase",value:function(){if(!this.disabled){var e=+this.time+(this.minutesGap||1);e>this.max&&(e=this.min),this.isSelectedTimeDisabled(e)&&(e=this.getAvailableTime(e,this.getNextAvailableTime.bind(this))),e!==this.time&&this.timeChanged.emit(e)}}},{key:"decrease",value:function(){if(!this.disabled){var e=+this.time-(this.minutesGap||1);e<this.min&&(e=this.minutesGap?this.max-(this.minutesGap-1):this.max),this.isSelectedTimeDisabled(e)&&(e=this.getAvailableTime(e,this.getPrevAvailableTime.bind(this))),e!==this.time&&this.timeChanged.emit(e)}}},{key:"onFocus",value:function(){this.isFocused=!0,this.previousTime=this.time}},{key:"onBlur",value:function(){this.isFocused=!1,this.previousTime!==this.time&&this.changeTimeIfValid(+this.time)}},{key:"onModelChange",value:function(e){this.time=+this.timeParser.transform(e,this.timeUnit)}},{key:"changeTimeIfValid",value:function(e){if(!isNaN(e)){if(this.time=e,this.time>this.max){var t=String(e);this.time=+t[t.length-1]}this.time<this.min&&(this.time=this.min),this.timeChanged.emit(this.time)}}},{key:"isSelectedTimeDisabled",value:function(e){return this.timeList.find(function(t){return t.time===e}).disabled}},{key:"getNextAvailableTime",value:function(e){for(var t=this.timeList,n=t.length,i=e+1;i<n;i++){var r=t[i];if(!r.disabled)return r.time}}},{key:"getPrevAvailableTime",value:function(e){for(var t=e;t>=0;t--){var n=this.timeList[t];if(!n.disabled)return n.time}}},{key:"getAvailableTime",value:function(e,t){var n=t(this.timeList.findIndex(function(t){return t.time===e}));return null!=n?n:this.time}},{key:"setAvailableTime",value:function(){var e=this.timeList.find(function(e){return!e.disabled});null!=e&&(this.time=e.time,this.timeChanged.emit(this.time))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"]($e))},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-timepicker-time-control"]],inputs:{time:"time",min:"min",max:"max",placeholder:"placeholder",timeUnit:"timeUnit",disabled:"disabled",timeList:"timeList",preventTyping:"preventTyping",minutesGap:"minutesGap"},outputs:{timeChanged:"timeChanged"},features:[c["\u0275\u0275ProvidersFeature"]([$e]),c["\u0275\u0275NgOnChangesFeature"]],decls:9,vars:13,consts:[[1,"ngx-timepicker-control",3,"ngClass"],["maxlength","2",1,"ngx-timepicker-control__input",3,"ngModel","placeholder","disabled","ngModelChange","keydown","keypress","focus","blur"],[1,"ngx-timepicker-control__arrows"],["role","button",1,"ngx-timepicker-control__arrow",3,"click"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275elementStart"](1,"input",1),c["\u0275\u0275listener"]("ngModelChange",function(e){return t.onModelChange(e)})("keydown",function(e){return t.onKeydown(e)})("keypress",function(e){return t.changeTime(e)})("focus",function(){return t.onFocus()})("blur",function(){return t.onBlur()}),c["\u0275\u0275pipe"](2,"timeLocalizer"),c["\u0275\u0275pipe"](3,"timeParser"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](4,"div",2),c["\u0275\u0275elementStart"](5,"span",3),c["\u0275\u0275listener"]("click",function(){return t.increase()}),c["\u0275\u0275text"](6," \u25b2 "),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](7,"span",3),c["\u0275\u0275listener"]("click",function(){return t.decrease()}),c["\u0275\u0275text"](8," \u25bc "),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"]()),2&e&&(c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](11,le,t.isFocused)),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngModel",c["\u0275\u0275pipeBind3"](2,4,c["\u0275\u0275pipeBind2"](3,8,t.time,t.timeUnit),t.timeUnit,!0))("placeholder",t.placeholder)("disabled",t.disabled))},directives:function(){return[d.NgClass,w.c,w.k,w.o,w.r]},pipes:function(){return[st,$e]},styles:['.ngx-timepicker-control[_ngcontent-%COMP%]{position:relative;display:flex;width:60px;height:30px;padding:0 5px;box-sizing:border-box}.ngx-timepicker-control--active[_ngcontent-%COMP%]:after{content:"";position:absolute;bottom:-2px;left:0;width:100%;height:1px;background-color:#00bfff}.ngx-timepicker-control__input[_ngcontent-%COMP%]{width:100%;height:100%;padding:0 5px 0 0;border:0;font-size:1rem;color:inherit;outline:0;text-align:center}.ngx-timepicker-control__input[_ngcontent-%COMP%]:disabled{background-color:transparent}.ngx-timepicker-control__arrows[_ngcontent-%COMP%]{position:absolute;right:2px;top:0;display:flex;flex-direction:column}.ngx-timepicker-control__arrow[_ngcontent-%COMP%]{font-size:11px;color:rgba(0,0,0,.4);cursor:pointer;transition:color .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ngx-timepicker-control__arrow[_ngcontent-%COMP%]:hover{color:rgba(0,0,0,.9)}'],changeDetection:0}),e}(),ot=function(){var e=function(){function e(t){Object(o.a)(this,e),this.locale=t,this.periodSelected=new c.EventEmitter,this.period=_e,this.meridiems=_.Info.meridiems({locale:this.locale})}return Object(s.a)(e,[{key:"selectedPeriod",set:function(e){e&&(this.localizedPeriod=this.meridiems[[_e.AM,_e.PM].indexOf(e)])}},{key:"open",value:function(){this.disabled||(this.isOpened=!0)}},{key:"select",value:function(e){this.periodSelected.next(e),this.isOpened=!1}},{key:"backdropClick",value:function(){this.isOpened=!1}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](De))},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-timepicker-period-selector"]],inputs:{selectedPeriod:"selectedPeriod",isOpened:"isOpened",disabled:"disabled"},outputs:{periodSelected:"periodSelected"},decls:9,vars:6,consts:[[1,"period"],[1,"period-control"],["type","button",1,"period-control__button","period__btn--default",3,"ngClass","click"],[1,"period-control__arrow"],["class","period-selector",3,"timepickerAutofocus",4,"ngIf"],["class","overlay",3,"click",4,"ngIf"],[1,"period-selector",3,"timepickerAutofocus"],["type","button",1,"period-selector__button","period__btn--default",3,"ngClass","click"],[1,"overlay",3,"click"]],template:function(e,t){1&e&&(c["\u0275\u0275elementStart"](0,"div",0),c["\u0275\u0275elementStart"](1,"div",1),c["\u0275\u0275elementStart"](2,"button",2),c["\u0275\u0275listener"]("click",function(){return t.open()}),c["\u0275\u0275elementStart"](3,"span"),c["\u0275\u0275text"](4),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementStart"](5,"span",3),c["\u0275\u0275text"](6,"\u25bc"),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](7,de,7,10,"ul",4),c["\u0275\u0275elementEnd"](),c["\u0275\u0275template"](8,ue,1,0,"div",5)),2&e&&(c["\u0275\u0275advance"](2),c["\u0275\u0275property"]("ngClass",c["\u0275\u0275pureFunction1"](4,pe,t.disabled)),c["\u0275\u0275advance"](2),c["\u0275\u0275textInterpolate"](t.localizedPeriod),c["\u0275\u0275advance"](3),c["\u0275\u0275property"]("ngIf",t.isOpened),c["\u0275\u0275advance"](1),c["\u0275\u0275property"]("ngIf",t.isOpened))},directives:[d.NgClass,d.NgIf,it],styles:['.period[_ngcontent-%COMP%]{position:relative}.period__btn--default[_ngcontent-%COMP%]{padding:0;border:none;background-color:transparent;cursor:pointer;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;outline:0}.period-control[_ngcontent-%COMP%]{position:relative}.period-control__button[_ngcontent-%COMP%]{position:relative;width:60px;font-size:1rem;color:inherit;text-align:center}.period-control__button[_ngcontent-%COMP%]:not(.period-control__button--disabled):focus:after{content:"";position:absolute;bottom:-8px;left:0;width:100%;height:1px;background-color:#00bfff}.period-control__arrow[_ngcontent-%COMP%]{margin-left:10px;font-size:12px;color:rgba(0,0,0,.4)}.period-selector[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 50px);right:calc(-50% + -50px);max-width:135px;width:150px;padding:6px 0;margin:0;list-style:none;background-color:#f5f5f5;box-shadow:0 1px 3px 0 rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);z-index:201}.period-selector__button[_ngcontent-%COMP%]{width:100%;height:48px;padding:0 16px;line-height:48px}.period-selector__button--active[_ngcontent-%COMP%]{color:#00bfff}.period-selector__button[_ngcontent-%COMP%]:focus{background-color:#eee}.overlay[_ngcontent-%COMP%]{position:fixed;width:100%;height:100%;top:0;left:0;background-color:transparent;z-index:200}'],data:{animation:[Object(x.n)("scaleInOut",[Object(x.m)(":enter",[Object(x.l)({transform:"scale(0)",opacity:0}),Object(x.e)(200,Object(x.l)({transform:"scale(1)",opacity:1}))]),Object(x.m)(":leave",[Object(x.e)(200,Object(x.l)({transform:"scale(0)",opacity:0}))])])]},changeDetection:0}),e=Object(l.__decorate)([Object(l.__param)(0,Object(c.Inject)(De))],e)}(),st=function(){var e=function(){function e(t){Object(o.a)(this,e),this.locale=t}return Object(s.a)(e,[{key:"transform",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(null==e||""===e)return"";switch(t){case xe.HOUR:var i=0===e||n?"HH":"H";return this.formatTime("hour",e,i);case xe.MINUTE:return this.formatTime("minute",e,"mm");default:throw new Error("There is no Time Unit with type ".concat(t))}}},{key:"formatTime",value:function(e,t,n){try{return _.DateTime.fromObject(Object(i.a)({},e,+t)).setLocale(this.locale).toFormat(n)}catch(r){throw new Error("Cannot format provided time - ".concat(t," to locale - ").concat(this.locale))}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](De))},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"timeLocalizer",type:e,pure:!0}),e=Object(l.__decorate)([Object(l.__param)(0,Object(c.Inject)(De))],e)}(),lt=function(){var e=function(){function e(){Object(o.a)(this,e)}return Object(s.a)(e,[{key:"transform",value:function(e,t,n){return null!=e&&!n&&e===t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"activeHour",type:e,pure:!0}),e}(),ct=function(){var e=function(){function e(){Object(o.a)(this,e)}return Object(s.a)(e,[{key:"transform",value:function(e,t,n,i){return null!=e&&!i&&t===e&&e%(n||5)==0}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"activeMinute",type:e,pure:!0}),e}(),dt=function(){var e=Object(s.a)(function e(){Object(o.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=c["\u0275\u0275defineComponent"]({type:e,selectors:[["ngx-material-timepicker-content"]],inputs:{appendToInput:"appendToInput",inputElement:"inputElement"},ngContentSelectors:U,decls:5,vars:2,consts:[[3,"ngxAppendToInput",4,"ngIf","ngIfElse"],["timepickerModal",""],["timepickerOutlet",""],[3,"ngxAppendToInput"],[4,"ngTemplateOutlet"]],template:function(e,t){if(1&e&&(c["\u0275\u0275projectionDef"](),c["\u0275\u0275template"](0,me,2,2,"div",0),c["\u0275\u0275template"](1,fe,1,1,"ng-template",null,1,c["\u0275\u0275templateRefExtractor"]),c["\u0275\u0275template"](3,ve,1,0,"ng-template",null,2,c["\u0275\u0275templateRefExtractor"])),2&e){var n=c["\u0275\u0275reference"](2);c["\u0275\u0275property"]("ngIf",t.appendToInput)("ngIfElse",n)}},directives:function(){return[d.NgIf,ut,d.NgTemplateOutlet]},encapsulation:2}),e}(),ut=function(){var e=function(){function e(t,n){Object(o.a)(this,e),this.renderer=n,this.element=t.nativeElement}return Object(s.a)(e,[{key:"inputCords",get:function(){return this.inputElement.getBoundingClientRect()}},{key:"direction",get:function(){var e=this.element.offsetHeight,t=this._inputCords,n=t.top,i=(window&&window.innerHeight)-t.bottom<e;return i&&n>e?"top":i&&n<e?"center":"bottom"}},{key:"ngAfterViewInit",value:function(){this._inputCords=this.inputCords,this._direction=this.direction,this.append()}},{key:"changePosition",value:function(){var e=this.inputCords,t=this.defineElementYByDirection(e.top,e.bottom);this.setStyle("top","".concat(t,"px"))}},{key:"append",value:function(){var e=this._inputCords,t=e.left,n=this.defineElementYByDirection(e.top,e.bottom);this.setStyle("position","fixed"),this.setStyle("left","".concat(t,"px")),this.setStyle("top","".concat(n,"px"))}},{key:"setStyle",value:function(e,t){this.renderer.setStyle(this.element,e,t)}},{key:"defineElementYByDirection",value:function(e,t){return"top"===this._direction?e-this.element.offsetHeight:"center"===this._direction?e-this.element.offsetHeight/2:t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](c.ElementRef),c["\u0275\u0275directiveInject"](c.Renderer2))},e.\u0275dir=c["\u0275\u0275defineDirective"]({type:e,selectors:[["","ngxAppendToInput",""]],hostBindings:function(e,t){1&e&&c["\u0275\u0275listener"]("scroll",function(){return t.changePosition()},!1,c["\u0275\u0275resolveWindow"])},inputs:{inputElement:["ngxAppendToInput","inputElement"]}}),e}(),pt=function(){var e=Qe=function(){function e(){Object(o.a)(this,e)}return Object(s.a)(e,null,[{key:"setOpts",value:function(e,t){return{ngModule:Qe,providers:[{provide:De,useValue:e},{provide:Le,useValue:t}]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=c["\u0275\u0275defineInjector"]({imports:[[d.CommonModule,w.j]]}),e}()},rDax:function(e,t,n){"use strict";n.d(t,"a",function(){return ae}),n.d(t,"b",function(){return re}),n.d(t,"c",function(){return te}),n.d(t,"d",function(){return j}),n.d(t,"e",function(){return V}),n.d(t,"f",function(){return se});var i=n("ODXe"),r=n("uFwe"),a=n("ReuC"),o=n("foSv"),s=n("Ji7U"),l=n("LK+K"),c=n("1OyB"),d=n("vuIU"),u=n("vxfF"),p=n("fXoL"),h=n("nLfN"),m=n("cH1L"),g=n("ofXK"),f=n("8LU1"),v=n("+rOU"),y=n("XNiG"),b=n("quSY"),x=n("VRyK"),_=n("IzEk"),w=n("1G5W"),S=n("7o/Q"),C=function(){function e(t,n){Object(c.a)(this,e),this.predicate=t,this.inclusive=n}return Object(d.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new k(e,this.predicate,this.inclusive))}}]),e}(),k=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r){var a;return Object(c.a)(this,n),(a=t.call(this,e)).predicate=i,a.inclusive=r,a.index=0,a}return Object(d.a)(n,[{key:"_next",value:function(e){var t,n=this.destination;try{t=this.predicate(e,this.index++)}catch(i){return void n.error(i)}this.nextOrComplete(e,t)}},{key:"nextOrComplete",value:function(e,t){var n=this.destination;Boolean(t)?n.next(e):(this.inclusive&&n.next(e),n.complete())}}]),n}(S.a),O=n("FtGj"),E=Object(h.g)(),M=function(){function e(t,n){Object(c.a)(this,e),this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=n}return Object(d.a)(e,[{key:"attach",value:function(){}},{key:"enable",value:function(){if(this._canBeEnabled()){var e=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=e.style.left||"",this._previousHTMLStyles.top=e.style.top||"",e.style.left=Object(f.d)(-this._previousScrollPosition.left),e.style.top=Object(f.d)(-this._previousScrollPosition.top),e.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}},{key:"disable",value:function(){if(this._isEnabled){var e=this._document.documentElement,t=e.style,n=this._document.body.style,i=t.scrollBehavior||"",r=n.scrollBehavior||"";this._isEnabled=!1,t.left=this._previousHTMLStyles.left,t.top=this._previousHTMLStyles.top,e.classList.remove("cdk-global-scrollblock"),E&&(t.scrollBehavior=n.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),E&&(t.scrollBehavior=i,n.scrollBehavior=r)}}},{key:"_canBeEnabled",value:function(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var e=this._document.body,t=this._viewportRuler.getViewportSize();return e.scrollHeight>t.height||e.scrollWidth>t.width}}]),e}(),I=function(){function e(t,n,i,r){var a=this;Object(c.a)(this,e),this._scrollDispatcher=t,this._ngZone=n,this._viewportRuler=i,this._config=r,this._scrollSubscription=null,this._detach=function(){a.disable(),a._overlayRef.hasAttached()&&a._ngZone.run(function(){return a._overlayRef.detach()})}}return Object(d.a)(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;if(!this._scrollSubscription){var t=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(function(){var t=e._viewportRuler.getViewportScrollPosition().top;Math.abs(t-e._initialScrollPosition)>e._config.threshold?e._detach():e._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),P=function(){function e(){Object(c.a)(this,e)}return Object(d.a)(e,[{key:"enable",value:function(){}},{key:"disable",value:function(){}},{key:"attach",value:function(){}}]),e}();function T(e,t){return t.some(function(t){return e.bottom<t.top||e.top>t.bottom||e.right<t.left||e.left>t.right})}function D(e,t){return t.some(function(t){return e.top<t.top||e.bottom>t.bottom||e.left<t.left||e.right>t.right})}var L=function(){function e(t,n,i,r){Object(c.a)(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this._config=r,this._scrollSubscription=null}return Object(d.a)(e,[{key:"attach",value:function(e){this._overlayRef=e}},{key:"enable",value:function(){var e=this;this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(function(){if(e._overlayRef.updatePosition(),e._config&&e._config.autoClose){var t=e._overlayRef.overlayElement.getBoundingClientRect(),n=e._viewportRuler.getViewportSize(),i=n.width,r=n.height;T(t,[{width:i,height:r,bottom:r,right:i,top:0,left:0}])&&(e.disable(),e._ngZone.run(function(){return e._overlayRef.detach()}))}}))}},{key:"disable",value:function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}},{key:"detach",value:function(){this.disable(),this._overlayRef=null}}]),e}(),R=function(){var e=Object(d.a)(function e(t,n,i,r){var a=this;Object(c.a)(this,e),this._scrollDispatcher=t,this._viewportRuler=n,this._ngZone=i,this.noop=function(){return new P},this.close=function(e){return new I(a._scrollDispatcher,a._ngZone,a._viewportRuler,e)},this.block=function(){return new M(a._viewportRuler,a._document)},this.reposition=function(e){return new L(a._scrollDispatcher,a._viewportRuler,a._ngZone,e)},this._document=r});return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275inject"](u.b),p["\u0275\u0275inject"](u.d),p["\u0275\u0275inject"](p.NgZone),p["\u0275\u0275inject"](g.DOCUMENT))},e.\u0275prov=Object(p["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(p["\u0275\u0275inject"])(u.b),Object(p["\u0275\u0275inject"])(u.d),Object(p["\u0275\u0275inject"])(p.NgZone),Object(p["\u0275\u0275inject"])(g.DOCUMENT))},token:e,providedIn:"root"}),e}(),j=Object(d.a)(function e(t){if(Object(c.a)(this,e),this.scrollStrategy=new P,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,t)for(var n=0,i=Object.keys(t);n<i.length;n++){var r=i[n];void 0!==t[r]&&(this[r]=t[r])}}),A=Object(d.a)(function e(t,n,i,r,a){Object(c.a)(this,e),this.offsetX=i,this.offsetY=r,this.panelClass=a,this.originX=t.originX,this.originY=t.originY,this.overlayX=n.overlayX,this.overlayY=n.overlayY}),F=Object(d.a)(function e(t,n){Object(c.a)(this,e),this.connectionPair=t,this.scrollableViewProperties=n}),B=function(){var e=function(){function e(t){Object(c.a)(this,e),this._attachedOverlays=[],this._document=t}return Object(d.a)(e,[{key:"ngOnDestroy",value:function(){this.detach()}},{key:"add",value:function(e){this.remove(e),this._attachedOverlays.push(e)}},{key:"remove",value:function(e){var t=this._attachedOverlays.indexOf(e);t>-1&&this._attachedOverlays.splice(t,1),0===this._attachedOverlays.length&&this.detach()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275inject"](g.DOCUMENT))},e.\u0275prov=Object(p["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(p["\u0275\u0275inject"])(g.DOCUMENT))},token:e,providedIn:"root"}),e}(),z=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e){var i;return Object(c.a)(this,n),(i=t.call(this,e))._keydownListener=function(e){for(var t=i._attachedOverlays,n=t.length-1;n>-1;n--)if(t[n]._keydownEvents.observers.length>0){t[n]._keydownEvents.next(e);break}},i}return Object(d.a)(n,[{key:"add",value:function(e){Object(a.a)(Object(o.a)(n.prototype),"add",this).call(this,e),this._isAttached||(this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}},{key:"detach",value:function(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}]),n}(B);return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275inject"](g.DOCUMENT))},e.\u0275prov=Object(p["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(p["\u0275\u0275inject"])(g.DOCUMENT))},token:e,providedIn:"root"}),e}(),N=function(){var e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i){var r;return Object(c.a)(this,n),(r=t.call(this,e))._platform=i,r._cursorStyleIsSet=!1,r._clickListener=function(e){for(var t=e.composedPath?e.composedPath()[0]:e.target,n=r._attachedOverlays.slice(),i=n.length-1;i>-1;i--){var a=n[i];if(!(a._outsidePointerEvents.observers.length<1)&&a.hasAttached()){if(a.overlayElement.contains(t))break;a._outsidePointerEvents.next(e)}}},r}return Object(d.a)(n,[{key:"add",value:function(e){if(Object(a.a)(Object(o.a)(n.prototype),"add",this).call(this,e),!this._isAttached){var t=this._document.body;t.addEventListener("click",this._clickListener,!0),t.addEventListener("auxclick",this._clickListener,!0),t.addEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=t.style.cursor,t.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}},{key:"detach",value:function(){if(this._isAttached){var e=this._document.body;e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}}]),n}(B);return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275inject"](g.DOCUMENT),p["\u0275\u0275inject"](h.a))},e.\u0275prov=Object(p["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(p["\u0275\u0275inject"])(g.DOCUMENT),Object(p["\u0275\u0275inject"])(h.a))},token:e,providedIn:"root"}),e}(),H=!("undefined"==typeof window||!window||!window.__karma__&&!window.jasmine),V=function(){var e=function(){function e(t,n){Object(c.a)(this,e),this._platform=n,this._document=t}return Object(d.a)(e,[{key:"ngOnDestroy",value:function(){var e=this._containerElement;e&&e.parentNode&&e.parentNode.removeChild(e)}},{key:"getContainerElement",value:function(){return this._containerElement||this._createContainer(),this._containerElement}},{key:"_createContainer",value:function(){var e="cdk-overlay-container";if(this._platform.isBrowser||H)for(var t=this._document.querySelectorAll(".".concat(e,'[platform="server"], ')+".".concat(e,'[platform="test"]')),n=0;n<t.length;n++)t[n].parentNode.removeChild(t[n]);var i=this._document.createElement("div");i.classList.add(e),H?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275inject"](g.DOCUMENT),p["\u0275\u0275inject"](h.a))},e.\u0275prov=Object(p["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(p["\u0275\u0275inject"])(g.DOCUMENT),Object(p["\u0275\u0275inject"])(h.a))},token:e,providedIn:"root"}),e}(),Y=function(){function e(t,n,i,r,a,o,s,l,d){var u=this;Object(c.a)(this,e),this._portalOutlet=t,this._host=n,this._pane=i,this._config=r,this._ngZone=a,this._keyboardDispatcher=o,this._document=s,this._location=l,this._outsideClickDispatcher=d,this._backdropElement=null,this._backdropClick=new y.a,this._attachments=new y.a,this._detachments=new y.a,this._locationChanges=b.a.EMPTY,this._backdropClickHandler=function(e){return u._backdropClick.next(e)},this._keydownEvents=new y.a,this._outsidePointerEvents=new y.a,r.scrollStrategy&&(this._scrollStrategy=r.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=r.positionStrategy}return Object(d.a)(e,[{key:"overlayElement",get:function(){return this._pane}},{key:"backdropElement",get:function(){return this._backdropElement}},{key:"hostElement",get:function(){return this._host}},{key:"attach",value:function(e){var t=this,n=this._portalOutlet.attach(e);return!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host),this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(Object(_.a)(1)).subscribe(function(){t.hasAttached()&&t.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(function(){return t.dispose()})),this._outsideClickDispatcher.add(this),n}},{key:"detach",value:function(){if(this.hasAttached()){this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();var e=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),e}}},{key:"dispose",value:function(){var e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this.detachBackdrop(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host&&this._host.parentNode&&(this._host.parentNode.removeChild(this._host),this._host=null),this._previousHostParent=this._pane=null,e&&this._detachments.next(),this._detachments.complete()}},{key:"hasAttached",value:function(){return this._portalOutlet.hasAttached()}},{key:"backdropClick",value:function(){return this._backdropClick}},{key:"attachments",value:function(){return this._attachments}},{key:"detachments",value:function(){return this._detachments}},{key:"keydownEvents",value:function(){return this._keydownEvents}},{key:"outsidePointerEvents",value:function(){return this._outsidePointerEvents}},{key:"getConfig",value:function(){return this._config}},{key:"updatePosition",value:function(){this._positionStrategy&&this._positionStrategy.apply()}},{key:"updatePositionStrategy",value:function(e){e!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=e,this.hasAttached()&&(e.attach(this),this.updatePosition()))}},{key:"updateSize",value:function(e){this._config=Object.assign(Object.assign({},this._config),e),this._updateElementSize()}},{key:"setDirection",value:function(e){this._config=Object.assign(Object.assign({},this._config),{direction:e}),this._updateElementDirection()}},{key:"addPanelClass",value:function(e){this._pane&&this._toggleClasses(this._pane,e,!0)}},{key:"removePanelClass",value:function(e){this._pane&&this._toggleClasses(this._pane,e,!1)}},{key:"getDirection",value:function(){var e=this._config.direction;return e?"string"==typeof e?e:e.value:"ltr"}},{key:"updateScrollStrategy",value:function(e){e!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=e,this.hasAttached()&&(e.attach(this),e.enable()))}},{key:"_updateElementDirection",value:function(){this._host.setAttribute("dir",this.getDirection())}},{key:"_updateElementSize",value:function(){if(this._pane){var e=this._pane.style;e.width=Object(f.d)(this._config.width),e.height=Object(f.d)(this._config.height),e.minWidth=Object(f.d)(this._config.minWidth),e.minHeight=Object(f.d)(this._config.minHeight),e.maxWidth=Object(f.d)(this._config.maxWidth),e.maxHeight=Object(f.d)(this._config.maxHeight)}}},{key:"_togglePointerEvents",value:function(e){this._pane.style.pointerEvents=e?"":"none"}},{key:"_attachBackdrop",value:function(){var e=this,t="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){e._backdropElement&&e._backdropElement.classList.add(t)})}):this._backdropElement.classList.add(t)}},{key:"_updateStackingOrder",value:function(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}},{key:"detachBackdrop",value:function(){var e=this,t=this._backdropElement;if(t){var n,i=function i(){t&&(t.removeEventListener("click",e._backdropClickHandler),t.removeEventListener("transitionend",i),t.parentNode&&t.parentNode.removeChild(t)),e._backdropElement==t&&(e._backdropElement=null),e._config.backdropClass&&e._toggleClasses(t,e._config.backdropClass,!1),clearTimeout(n)};t.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(function(){t.addEventListener("transitionend",i)}),t.style.pointerEvents="none",n=this._ngZone.runOutsideAngular(function(){return setTimeout(i,500)})}}},{key:"_toggleClasses",value:function(e,t,n){var i=e.classList;Object(f.b)(t).forEach(function(e){e&&(n?i.add(e):i.remove(e))})}},{key:"_detachContentWhenStable",value:function(){var e=this;this._ngZone.runOutsideAngular(function(){var t=e._ngZone.onStable.pipe(Object(w.a)(Object(x.a)(e._attachments,e._detachments))).subscribe(function(){e._pane&&e._host&&0!==e._pane.children.length||(e._pane&&e._config.panelClass&&e._toggleClasses(e._pane,e._config.panelClass,!1),e._host&&e._host.parentElement&&(e._previousHostParent=e._host.parentElement,e._previousHostParent.removeChild(e._host)),t.unsubscribe())})})}},{key:"_disposeScrollStrategy",value:function(){var e=this._scrollStrategy;e&&(e.disable(),e.detach&&e.detach())}}]),e}(),W="cdk-overlay-connected-position-bounding-box",G=/([A-Za-z%]+)$/,U=function(){function e(t,n,i,r,a){Object(c.a)(this,e),this._viewportRuler=n,this._document=i,this._platform=r,this._overlayContainer=a,this._lastBoundingBoxSize={width:0,height:0},this._isPushed=!1,this._canPush=!0,this._growAfterOpen=!1,this._hasFlexibleDimensions=!0,this._positionLocked=!1,this._viewportMargin=0,this._scrollables=[],this._preferredPositions=[],this._positionChanges=new y.a,this._resizeSubscription=b.a.EMPTY,this._offsetX=0,this._offsetY=0,this._appliedPanelClasses=[],this.positionChanges=this._positionChanges,this.setOrigin(t)}return Object(d.a)(e,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(e){var t=this;this._validatePositions(),e.hostElement.classList.add(W),this._overlayRef=e,this._boundingBox=e.hostElement,this._pane=e.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(function(){t._isInitialRender=!0,t.apply()})}},{key:"apply",value:function(){if(!this._isDisposed&&this._platform.isBrowser)if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)this.reapplyLastPosition();else{this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect();var e,t,n=this._originRect,i=this._overlayRect,a=this._viewportRect,o=[],s=Object(r.a)(this._preferredPositions);try{for(s.s();!(t=s.n()).done;){var l=t.value,c=this._getOriginPoint(n,l),d=this._getOverlayPoint(c,i,l),u=this._getOverlayFit(d,i,a,l);if(u.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(l,c);this._canFitWithFlexibleDimensions(u,d,a)?o.push({position:l,origin:c,overlayRect:i,boundingBoxRect:this._calculateBoundingBoxRect(c,l)}):(!e||e.overlayFit.visibleArea<u.visibleArea)&&(e={overlayFit:u,overlayPoint:d,originPoint:c,position:l,overlayRect:i})}}catch(y){s.e(y)}finally{s.f()}if(o.length){var p,h=null,m=-1,g=Object(r.a)(o);try{for(g.s();!(p=g.n()).done;){var f=p.value,v=f.boundingBoxRect.width*f.boundingBoxRect.height*(f.position.weight||1);v>m&&(m=v,h=f)}}catch(y){g.e(y)}finally{g.f()}return this._isPushed=!1,void this._applyPosition(h.position,h.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(e.position,e.originPoint);this._applyPosition(e.position,e.originPoint)}}},{key:"detach",value:function(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}},{key:"dispose",value:function(){this._isDisposed||(this._boundingBox&&q(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(W),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}},{key:"reapplyLastPosition",value:function(){if(!this._isDisposed&&(!this._platform||this._platform.isBrowser)){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect();var e=this._lastPosition||this._preferredPositions[0],t=this._getOriginPoint(this._originRect,e);this._applyPosition(e,t)}}},{key:"withScrollableContainers",value:function(e){return this._scrollables=e,this}},{key:"withPositions",value:function(e){return this._preferredPositions=e,-1===e.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}},{key:"withViewportMargin",value:function(e){return this._viewportMargin=e,this}},{key:"withFlexibleDimensions",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._hasFlexibleDimensions=e,this}},{key:"withGrowAfterOpen",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._growAfterOpen=e,this}},{key:"withPush",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._canPush=e,this}},{key:"withLockedPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._positionLocked=e,this}},{key:"setOrigin",value:function(e){return this._origin=e,this}},{key:"withDefaultOffsetX",value:function(e){return this._offsetX=e,this}},{key:"withDefaultOffsetY",value:function(e){return this._offsetY=e,this}},{key:"withTransformOriginOn",value:function(e){return this._transformOriginSelector=e,this}},{key:"_getOriginPoint",value:function(e,t){var n;if("center"==t.originX)n=e.left+e.width/2;else{var i=this._isRtl()?e.right:e.left,r=this._isRtl()?e.left:e.right;n="start"==t.originX?i:r}return{x:n,y:"center"==t.originY?e.top+e.height/2:"top"==t.originY?e.top:e.bottom}}},{key:"_getOverlayPoint",value:function(e,t,n){var i;return i="center"==n.overlayX?-t.width/2:"start"===n.overlayX?this._isRtl()?-t.width:0:this._isRtl()?0:-t.width,{x:e.x+i,y:e.y+("center"==n.overlayY?-t.height/2:"top"==n.overlayY?0:-t.height)}}},{key:"_getOverlayFit",value:function(e,t,n,i){var r=$(t),a=e.x,o=e.y,s=this._getOffset(i,"x"),l=this._getOffset(i,"y");s&&(a+=s),l&&(o+=l);var c=0-o,d=o+r.height-n.height,u=this._subtractOverflows(r.width,0-a,a+r.width-n.width),p=this._subtractOverflows(r.height,c,d),h=u*p;return{visibleArea:h,isCompletelyWithinViewport:r.width*r.height===h,fitsInViewportVertically:p===r.height,fitsInViewportHorizontally:u==r.width}}},{key:"_canFitWithFlexibleDimensions",value:function(e,t,n){if(this._hasFlexibleDimensions){var i=n.bottom-t.y,r=n.right-t.x,a=Z(this._overlayRef.getConfig().minHeight),o=Z(this._overlayRef.getConfig().minWidth);return(e.fitsInViewportVertically||null!=a&&a<=i)&&(e.fitsInViewportHorizontally||null!=o&&o<=r)}return!1}},{key:"_pushOverlayOnScreen",value:function(e,t,n){if(this._previousPushAmount&&this._positionLocked)return{x:e.x+this._previousPushAmount.x,y:e.y+this._previousPushAmount.y};var i,r,a=$(t),o=this._viewportRect,s=Math.max(e.x+a.width-o.width,0),l=Math.max(e.y+a.height-o.height,0),c=Math.max(o.top-n.top-e.y,0),d=Math.max(o.left-n.left-e.x,0);return this._previousPushAmount={x:i=a.width<=o.width?d||-s:e.x<this._viewportMargin?o.left-n.left-e.x:0,y:r=a.height<=o.height?c||-l:e.y<this._viewportMargin?o.top-n.top-e.y:0},{x:e.x+i,y:e.y+r}}},{key:"_applyPosition",value:function(e,t){if(this._setTransformOrigin(e),this._setOverlayElementStyles(t,e),this._setBoundingBoxStyles(t,e),e.panelClass&&this._addPanelClasses(e.panelClass),this._lastPosition=e,this._positionChanges.observers.length){var n=this._getScrollVisibility(),i=new F(e,n);this._positionChanges.next(i)}this._isInitialRender=!1}},{key:"_setTransformOrigin",value:function(e){if(this._transformOriginSelector){var t,n=this._boundingBox.querySelectorAll(this._transformOriginSelector),i=e.overlayY;t="center"===e.overlayX?"center":this._isRtl()?"start"===e.overlayX?"right":"left":"start"===e.overlayX?"left":"right";for(var r=0;r<n.length;r++)n[r].style.transformOrigin="".concat(t," ").concat(i)}}},{key:"_calculateBoundingBoxRect",value:function(e,t){var n,i,r,a,o,s,l=this._viewportRect,c=this._isRtl();if("top"===t.overlayY)n=l.height-(i=e.y)+this._viewportMargin;else if("bottom"===t.overlayY)n=l.height-(r=l.height-e.y+2*this._viewportMargin)+this._viewportMargin;else{var d=Math.min(l.bottom-e.y+l.top,e.y),u=this._lastBoundingBoxSize.height;i=e.y-d,(n=2*d)>u&&!this._isInitialRender&&!this._growAfterOpen&&(i=e.y-u/2)}if("end"===t.overlayX&&!c||"start"===t.overlayX&&c)s=l.width-e.x+this._viewportMargin,a=e.x-this._viewportMargin;else if("start"===t.overlayX&&!c||"end"===t.overlayX&&c)o=e.x,a=l.right-e.x;else{var p=Math.min(l.right-e.x+l.left,e.x),h=this._lastBoundingBoxSize.width;o=e.x-p,(a=2*p)>h&&!this._isInitialRender&&!this._growAfterOpen&&(o=e.x-h/2)}return{top:i,left:o,bottom:r,right:s,width:a,height:n}}},{key:"_setBoundingBoxStyles",value:function(e,t){var n=this._calculateBoundingBoxRect(e,t);this._isInitialRender||this._growAfterOpen||(n.height=Math.min(n.height,this._lastBoundingBoxSize.height),n.width=Math.min(n.width,this._lastBoundingBoxSize.width));var i={};if(this._hasExactPosition())i.top=i.left="0",i.bottom=i.right=i.maxHeight=i.maxWidth="",i.width=i.height="100%";else{var r=this._overlayRef.getConfig().maxHeight,a=this._overlayRef.getConfig().maxWidth;i.height=Object(f.d)(n.height),i.top=Object(f.d)(n.top),i.bottom=Object(f.d)(n.bottom),i.width=Object(f.d)(n.width),i.left=Object(f.d)(n.left),i.right=Object(f.d)(n.right),i.alignItems="center"===t.overlayX?"center":"end"===t.overlayX?"flex-end":"flex-start",i.justifyContent="center"===t.overlayY?"center":"bottom"===t.overlayY?"flex-end":"flex-start",r&&(i.maxHeight=Object(f.d)(r)),a&&(i.maxWidth=Object(f.d)(a))}this._lastBoundingBoxSize=n,q(this._boundingBox.style,i)}},{key:"_resetBoundingBoxStyles",value:function(){q(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}},{key:"_resetOverlayElementStyles",value:function(){q(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}},{key:"_setOverlayElementStyles",value:function(e,t){var n={},i=this._hasExactPosition(),r=this._hasFlexibleDimensions,a=this._overlayRef.getConfig();if(i){var o=this._viewportRuler.getViewportScrollPosition();q(n,this._getExactOverlayY(t,e,o)),q(n,this._getExactOverlayX(t,e,o))}else n.position="static";var s="",l=this._getOffset(t,"x"),c=this._getOffset(t,"y");l&&(s+="translateX(".concat(l,"px) ")),c&&(s+="translateY(".concat(c,"px)")),n.transform=s.trim(),a.maxHeight&&(i?n.maxHeight=Object(f.d)(a.maxHeight):r&&(n.maxHeight="")),a.maxWidth&&(i?n.maxWidth=Object(f.d)(a.maxWidth):r&&(n.maxWidth="")),q(this._pane.style,n)}},{key:"_getExactOverlayY",value:function(e,t,n){var i={top:"",bottom:""},r=this._getOverlayPoint(t,this._overlayRect,e);this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n));var a=this._overlayContainer.getContainerElement().getBoundingClientRect().top;return r.y-=a,"bottom"===e.overlayY?i.bottom="".concat(this._document.documentElement.clientHeight-(r.y+this._overlayRect.height),"px"):i.top=Object(f.d)(r.y),i}},{key:"_getExactOverlayX",value:function(e,t,n){var i={left:"",right:""},r=this._getOverlayPoint(t,this._overlayRect,e);return this._isPushed&&(r=this._pushOverlayOnScreen(r,this._overlayRect,n)),"right"==(this._isRtl()?"end"===e.overlayX?"left":"right":"end"===e.overlayX?"right":"left")?i.right="".concat(this._document.documentElement.clientWidth-(r.x+this._overlayRect.width),"px"):i.left=Object(f.d)(r.x),i}},{key:"_getScrollVisibility",value:function(){var e=this._getOriginRect(),t=this._pane.getBoundingClientRect(),n=this._scrollables.map(function(e){return e.getElementRef().nativeElement.getBoundingClientRect()});return{isOriginClipped:D(e,n),isOriginOutsideView:T(e,n),isOverlayClipped:D(t,n),isOverlayOutsideView:T(t,n)}}},{key:"_subtractOverflows",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return n.reduce(function(e,t){return e-Math.max(t,0)},e)}},{key:"_getNarrowedViewportRect",value:function(){var e=this._document.documentElement.clientWidth,t=this._document.documentElement.clientHeight,n=this._viewportRuler.getViewportScrollPosition();return{top:n.top+this._viewportMargin,left:n.left+this._viewportMargin,right:n.left+e-this._viewportMargin,bottom:n.top+t-this._viewportMargin,width:e-2*this._viewportMargin,height:t-2*this._viewportMargin}}},{key:"_isRtl",value:function(){return"rtl"===this._overlayRef.getDirection()}},{key:"_hasExactPosition",value:function(){return!this._hasFlexibleDimensions||this._isPushed}},{key:"_getOffset",value:function(e,t){return"x"===t?null==e.offsetX?this._offsetX:e.offsetX:null==e.offsetY?this._offsetY:e.offsetY}},{key:"_validatePositions",value:function(){}},{key:"_addPanelClasses",value:function(e){var t=this;this._pane&&Object(f.b)(e).forEach(function(e){""!==e&&-1===t._appliedPanelClasses.indexOf(e)&&(t._appliedPanelClasses.push(e),t._pane.classList.add(e))})}},{key:"_clearPanelClasses",value:function(){var e=this;this._pane&&(this._appliedPanelClasses.forEach(function(t){e._pane.classList.remove(t)}),this._appliedPanelClasses=[])}},{key:"_getOriginRect",value:function(){var e=this._origin;if(e instanceof p.ElementRef)return e.nativeElement.getBoundingClientRect();if(e instanceof Element)return e.getBoundingClientRect();var t=e.width||0,n=e.height||0;return{top:e.y,bottom:e.y+n,left:e.x,right:e.x+t,height:n,width:t}}}]),e}();function q(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Z(e){if("number"!=typeof e&&null!=e){var t=e.split(G),n=Object(i.a)(t,2),r=n[1];return r&&"px"!==r?null:parseFloat(n[0])}return e||null}function $(e){return{top:Math.floor(e.top),right:Math.floor(e.right),bottom:Math.floor(e.bottom),left:Math.floor(e.left),width:Math.floor(e.width),height:Math.floor(e.height)}}var X=function(){function e(t,n,i,r,a,o,s){Object(c.a)(this,e),this._preferredPositions=[],this._positionStrategy=new U(i,r,a,o,s).withFlexibleDimensions(!1).withPush(!1).withViewportMargin(0),this.withFallbackPosition(t,n),this.onPositionChange=this._positionStrategy.positionChanges}return Object(d.a)(e,[{key:"positions",get:function(){return this._preferredPositions}},{key:"attach",value:function(e){this._overlayRef=e,this._positionStrategy.attach(e),this._direction&&(e.setDirection(this._direction),this._direction=null)}},{key:"dispose",value:function(){this._positionStrategy.dispose()}},{key:"detach",value:function(){this._positionStrategy.detach()}},{key:"apply",value:function(){this._positionStrategy.apply()}},{key:"recalculateLastPosition",value:function(){this._positionStrategy.reapplyLastPosition()}},{key:"withScrollableContainers",value:function(e){this._positionStrategy.withScrollableContainers(e)}},{key:"withFallbackPosition",value:function(e,t,n,i){var r=new A(e,t,n,i);return this._preferredPositions.push(r),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"withDirection",value:function(e){return this._overlayRef?this._overlayRef.setDirection(e):this._direction=e,this}},{key:"withOffsetX",value:function(e){return this._positionStrategy.withDefaultOffsetX(e),this}},{key:"withOffsetY",value:function(e){return this._positionStrategy.withDefaultOffsetY(e),this}},{key:"withLockedPosition",value:function(e){return this._positionStrategy.withLockedPosition(e),this}},{key:"withPositions",value:function(e){return this._preferredPositions=e.slice(),this._positionStrategy.withPositions(this._preferredPositions),this}},{key:"setOrigin",value:function(e){return this._positionStrategy.setOrigin(e),this}}]),e}(),K="cdk-global-overlay-wrapper",J=function(){function e(){Object(c.a)(this,e),this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}return Object(d.a)(e,[{key:"attach",value:function(e){var t=e.getConfig();this._overlayRef=e,this._width&&!t.width&&e.updateSize({width:this._width}),this._height&&!t.height&&e.updateSize({height:this._height}),e.hostElement.classList.add(K),this._isDisposed=!1}},{key:"top",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._bottomOffset="",this._topOffset=e,this._alignItems="flex-start",this}},{key:"left",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._rightOffset="",this._leftOffset=e,this._justifyContent="flex-start",this}},{key:"bottom",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._topOffset="",this._bottomOffset=e,this._alignItems="flex-end",this}},{key:"right",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._leftOffset="",this._rightOffset=e,this._justifyContent="flex-end",this}},{key:"width",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({width:e}):this._width=e,this}},{key:"height",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this._overlayRef?this._overlayRef.updateSize({height:e}):this._height=e,this}},{key:"centerHorizontally",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.left(e),this._justifyContent="center",this}},{key:"centerVertically",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return this.top(e),this._alignItems="center",this}},{key:"apply",value:function(){if(this._overlayRef&&this._overlayRef.hasAttached()){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement.style,n=this._overlayRef.getConfig(),i=n.width,r=n.height,a=n.maxWidth,o=n.maxHeight,s=!("100%"!==i&&"100vw"!==i||a&&"100%"!==a&&"100vw"!==a),l=!("100%"!==r&&"100vh"!==r||o&&"100%"!==o&&"100vh"!==o);e.position=this._cssPosition,e.marginLeft=s?"0":this._leftOffset,e.marginTop=l?"0":this._topOffset,e.marginBottom=this._bottomOffset,e.marginRight=this._rightOffset,s?t.justifyContent="flex-start":"center"===this._justifyContent?t.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?t.justifyContent="flex-end":"flex-end"===this._justifyContent&&(t.justifyContent="flex-start"):t.justifyContent=this._justifyContent,t.alignItems=l?"flex-start":this._alignItems}}},{key:"dispose",value:function(){if(!this._isDisposed&&this._overlayRef){var e=this._overlayRef.overlayElement.style,t=this._overlayRef.hostElement,n=t.style;t.classList.remove(K),n.justifyContent=n.alignItems=e.marginTop=e.marginBottom=e.marginLeft=e.marginRight=e.position="",this._overlayRef=null,this._isDisposed=!0}}}]),e}(),Q=function(){var e=function(){function e(t,n,i,r){Object(c.a)(this,e),this._viewportRuler=t,this._document=n,this._platform=i,this._overlayContainer=r}return Object(d.a)(e,[{key:"global",value:function(){return new J}},{key:"connectedTo",value:function(e,t,n){return new X(t,n,e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}},{key:"flexibleConnectedTo",value:function(e){return new U(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275inject"](u.d),p["\u0275\u0275inject"](g.DOCUMENT),p["\u0275\u0275inject"](h.a),p["\u0275\u0275inject"](V))},e.\u0275prov=Object(p["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(p["\u0275\u0275inject"])(u.d),Object(p["\u0275\u0275inject"])(g.DOCUMENT),Object(p["\u0275\u0275inject"])(h.a),Object(p["\u0275\u0275inject"])(V))},token:e,providedIn:"root"}),e}(),ee=0,te=function(){var e=function(){function e(t,n,i,r,a,o,s,l,d,u,p){Object(c.a)(this,e),this.scrollStrategies=t,this._overlayContainer=n,this._componentFactoryResolver=i,this._positionBuilder=r,this._keyboardDispatcher=a,this._injector=o,this._ngZone=s,this._document=l,this._directionality=d,this._location=u,this._outsideClickDispatcher=p}return Object(d.a)(e,[{key:"create",value:function(e){var t=this._createHostElement(),n=this._createPaneElement(t),i=this._createPortalOutlet(n),r=new j(e);return r.direction=r.direction||this._directionality.value,new Y(i,t,n,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}},{key:"position",value:function(){return this._positionBuilder}},{key:"_createPaneElement",value:function(e){var t=this._document.createElement("div");return t.id="cdk-overlay-".concat(ee++),t.classList.add("cdk-overlay-pane"),e.appendChild(t),t}},{key:"_createHostElement",value:function(){var e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}},{key:"_createPortalOutlet",value:function(e){return this._appRef||(this._appRef=this._injector.get(p.ApplicationRef)),new v.e(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275inject"](R),p["\u0275\u0275inject"](V),p["\u0275\u0275inject"](p.ComponentFactoryResolver),p["\u0275\u0275inject"](Q),p["\u0275\u0275inject"](z),p["\u0275\u0275inject"](p.Injector),p["\u0275\u0275inject"](p.NgZone),p["\u0275\u0275inject"](g.DOCUMENT),p["\u0275\u0275inject"](m.b),p["\u0275\u0275inject"](g.Location),p["\u0275\u0275inject"](N))},e.\u0275prov=p["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),ne=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],ie=new p.InjectionToken("cdk-connected-overlay-scroll-strategy"),re=function(){var e=Object(d.a)(function e(t){Object(c.a)(this,e),this.elementRef=t});return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275directiveInject"](p.ElementRef))},e.\u0275dir=p["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),e}(),ae=function(){var e=function(){function e(t,n,i,r,a){Object(c.a)(this,e),this._overlay=t,this._dir=a,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=b.a.EMPTY,this._attachSubscription=b.a.EMPTY,this._detachSubscription=b.a.EMPTY,this._positionSubscription=b.a.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new p.EventEmitter,this.positionChange=new p.EventEmitter,this.attach=new p.EventEmitter,this.detach=new p.EventEmitter,this.overlayKeydown=new p.EventEmitter,this.overlayOutsideClick=new p.EventEmitter,this._templatePortal=new v.g(n,i),this._scrollStrategyFactory=r,this.scrollStrategy=this._scrollStrategyFactory()}return Object(d.a)(e,[{key:"offsetX",get:function(){return this._offsetX},set:function(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"offsetY",get:function(){return this._offsetY},set:function(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}},{key:"hasBackdrop",get:function(){return this._hasBackdrop},set:function(e){this._hasBackdrop=Object(f.c)(e)}},{key:"lockPosition",get:function(){return this._lockPosition},set:function(e){this._lockPosition=Object(f.c)(e)}},{key:"flexibleDimensions",get:function(){return this._flexibleDimensions},set:function(e){this._flexibleDimensions=Object(f.c)(e)}},{key:"growAfterOpen",get:function(){return this._growAfterOpen},set:function(e){this._growAfterOpen=Object(f.c)(e)}},{key:"push",get:function(){return this._push},set:function(e){this._push=Object(f.c)(e)}},{key:"overlayRef",get:function(){return this._overlayRef}},{key:"dir",get:function(){return this._dir?this._dir.value:"ltr"}},{key:"ngOnDestroy",value:function(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}},{key:"ngOnChanges",value:function(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}},{key:"_createOverlay",value:function(){var e=this;this.positions&&this.positions.length||(this.positions=ne);var t=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=t.attachments().subscribe(function(){return e.attach.emit()}),this._detachSubscription=t.detachments().subscribe(function(){return e.detach.emit()}),t.keydownEvents().subscribe(function(t){e.overlayKeydown.next(t),t.keyCode!==O.h||e.disableClose||Object(O.t)(t)||(t.preventDefault(),e._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(function(t){e.overlayOutsideClick.next(t)})}},{key:"_buildConfig",value:function(){var e=this._position=this.positionStrategy||this._createPositionStrategy(),t=new j({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(t.width=this.width),(this.height||0===this.height)&&(t.height=this.height),(this.minWidth||0===this.minWidth)&&(t.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(t.minHeight=this.minHeight),this.backdropClass&&(t.backdropClass=this.backdropClass),this.panelClass&&(t.panelClass=this.panelClass),t}},{key:"_updatePositionStrategy",value:function(e){var t=this,n=this.positions.map(function(e){return{originX:e.originX,originY:e.originY,overlayX:e.overlayX,overlayY:e.overlayY,offsetX:e.offsetX||t.offsetX,offsetY:e.offsetY||t.offsetY,panelClass:e.panelClass||void 0}});return e.setOrigin(this.origin.elementRef).withPositions(n).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}},{key:"_createPositionStrategy",value:function(){var e=this._overlay.position().flexibleConnectedTo(this.origin.elementRef);return this._updatePositionStrategy(e),e}},{key:"_attachOverlay",value:function(){var e=this;this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(function(t){e.backdropClick.emit(t)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return function(n){return n.lift(new C(e,t))}}(function(){return e.positionChange.observers.length>0})).subscribe(function(t){e.positionChange.emit(t),0===e.positionChange.observers.length&&e._positionSubscription.unsubscribe()}))}},{key:"_detachOverlay",value:function(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275directiveInject"](te),p["\u0275\u0275directiveInject"](p.TemplateRef),p["\u0275\u0275directiveInject"](p.ViewContainerRef),p["\u0275\u0275directiveInject"](ie),p["\u0275\u0275directiveInject"](m.b,8))},e.\u0275dir=p["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"],positions:["cdkConnectedOverlayPositions","positions"],origin:["cdkConnectedOverlayOrigin","origin"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[p["\u0275\u0275NgOnChangesFeature"]]}),e}(),oe={provide:ie,deps:[te],useFactory:function(e){return function(){return e.scrollStrategies.reposition()}}},se=function(){var e=Object(d.a)(function e(){Object(c.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=p["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=p["\u0275\u0275defineInjector"]({providers:[te,oe],imports:[[m.a,v.f,u.c],u.c]}),e}()},raLr:function(e,t,n){!function(e){"use strict";function t(e,t,n){return"m"===n?t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===n?t?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":e+" "+(i=+e,r={ss:t?"\u0441\u0435\u043a\u0443\u043d\u0434\u0430_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434":"\u0441\u0435\u043a\u0443\u043d\u0434\u0443_\u0441\u0435\u043a\u0443\u043d\u0434\u0438_\u0441\u0435\u043a\u0443\u043d\u0434",mm:t?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443_\u0445\u0432\u0438\u043b\u0438\u043d\u0438_\u0445\u0432\u0438\u043b\u0438\u043d",hh:t?"\u0433\u043e\u0434\u0438\u043d\u0430_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d":"\u0433\u043e\u0434\u0438\u043d\u0443_\u0433\u043e\u0434\u0438\u043d\u0438_\u0433\u043e\u0434\u0438\u043d",dd:"\u0434\u0435\u043d\u044c_\u0434\u043d\u0456_\u0434\u043d\u0456\u0432",MM:"\u043c\u0456\u0441\u044f\u0446\u044c_\u043c\u0456\u0441\u044f\u0446\u0456_\u043c\u0456\u0441\u044f\u0446\u0456\u0432",yy:"\u0440\u0456\u043a_\u0440\u043e\u043a\u0438_\u0440\u043e\u043a\u0456\u0432"}[n].split("_"),i%10==1&&i%100!=11?r[0]:i%10>=2&&i%10<=4&&(i%100<10||i%100>=20)?r[1]:r[2]);var i,r}function n(e){return function(){return e+"\u043e"+(11===this.hours()?"\u0431":"")+"] LT"}}e.defineLocale("uk",{months:{format:"\u0441\u0456\u0447\u043d\u044f_\u043b\u044e\u0442\u043e\u0433\u043e_\u0431\u0435\u0440\u0435\u0437\u043d\u044f_\u043a\u0432\u0456\u0442\u043d\u044f_\u0442\u0440\u0430\u0432\u043d\u044f_\u0447\u0435\u0440\u0432\u043d\u044f_\u043b\u0438\u043f\u043d\u044f_\u0441\u0435\u0440\u043f\u043d\u044f_\u0432\u0435\u0440\u0435\u0441\u043d\u044f_\u0436\u043e\u0432\u0442\u043d\u044f_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043d\u044f".split("_"),standalone:"\u0441\u0456\u0447\u0435\u043d\u044c_\u043b\u044e\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c_\u043a\u0432\u0456\u0442\u0435\u043d\u044c_\u0442\u0440\u0430\u0432\u0435\u043d\u044c_\u0447\u0435\u0440\u0432\u0435\u043d\u044c_\u043b\u0438\u043f\u0435\u043d\u044c_\u0441\u0435\u0440\u043f\u0435\u043d\u044c_\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c_\u0436\u043e\u0432\u0442\u0435\u043d\u044c_\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043d\u044c".split("_")},monthsShort:"\u0441\u0456\u0447_\u043b\u044e\u0442_\u0431\u0435\u0440_\u043a\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043b\u0438\u043f_\u0441\u0435\u0440\u043f_\u0432\u0435\u0440_\u0436\u043e\u0432\u0442_\u043b\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekdays:function(e,t){var n={nominative:"\u043d\u0435\u0434\u0456\u043b\u044f_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044f_\u0441\u0443\u0431\u043e\u0442\u0430".split("_"),accusative:"\u043d\u0435\u0434\u0456\u043b\u044e_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a_\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a_\u0441\u0435\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u044e_\u0441\u0443\u0431\u043e\u0442\u0443".split("_"),genitive:"\u043d\u0435\u0434\u0456\u043b\u0456_\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043a\u0430_\u0432\u0456\u0432\u0442\u043e\u0440\u043a\u0430_\u0441\u0435\u0440\u0435\u0434\u0438_\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430_\u043f\u2019\u044f\u0442\u043d\u0438\u0446\u0456_\u0441\u0443\u0431\u043e\u0442\u0438".split("_")};return!0===e?n.nominative.slice(1,7).concat(n.nominative.slice(0,1)):e?n[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(t)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:n.nominative},weekdaysShort:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),weekdaysMin:"\u043d\u0434_\u043f\u043d_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043f\u0442_\u0441\u0431".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"},calendar:{sameDay:n("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:n("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:n("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:n("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return n("[\u041c\u0438\u043d\u0443\u043b\u043e\u0433\u043e] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043e\u043c\u0443",s:"\u0434\u0435\u043a\u0456\u043b\u044c\u043a\u0430 \u0441\u0435\u043a\u0443\u043d\u0434",ss:t,m:t,mm:t,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:t,d:"\u0434\u0435\u043d\u044c",dd:t,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:t,y:"\u0440\u0456\u043a",yy:t},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(e){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(e)},meridiem:function(e,t,n){return e<4?"\u043d\u043e\u0447\u0456":e<12?"\u0440\u0430\u043d\u043a\u0443":e<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-\u0439";case"D":return e+"-\u0433\u043e";default:return e}},week:{dow:1,doy:7}})}(n("wd/R"))},rePB:function(e,t,n){"use strict";function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return i})},rhsj:function(e,t,n){"use strict";var i=n("fXoL"),r=this&&this.__decorate||function(e,t,n,i){var r,a=arguments.length,o=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(o=(a<3?r(o):a>3?r(t,n,o):r(t,n))||o);return a>3&&o&&Object.defineProperty(t,n,o),o},a=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0});var o=n("qCKp");n("fXoL"),t.LIGHTBOX_EVENT={CHANGE_PAGE:1,CLOSE:2,OPEN:3,ZOOM_IN:4,ZOOM_OUT:5,ROTATE_LEFT:6,ROTATE_RIGHT:7};var s=function(){function e(){this._lightboxEventSource=new o.Subject,this.lightboxEvent$=this._lightboxEventSource.asObservable()}return e.prototype.broadcastLightboxEvent=function(e){this._lightboxEventSource.next(e)},(e=r([a("design:paramtypes",[])],e)).\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();t.LightboxEvent=s;var l=function(){function e(){}return Object.defineProperty(e.prototype,"nativeWindow",{get:function(){return window},enumerable:!0,configurable:!0}),e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.\u0275\u0275defineInjectable({token:e,factory:function(t){return e.\u0275fac(t)}}),e}();t.LightboxWindowRef=l},"s+uk":function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-at",{months:"J\xe4nner_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"J\xe4n._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},s4An:function(e,t,n){"use strict";function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.d(t,"a",function(){return i})},sVev:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}()},sYmb:function(e,t,n){"use strict";n.d(t,"a",function(){return x}),n.d(t,"b",function(){return V}),n.d(t,"c",function(){return H}),n.d(t,"d",function(){return N});var i=n("uFwe"),r=n("rePB"),a=n("Ji7U"),o=n("LK+K"),s=n("vuIU"),l=n("1OyB"),c=n("fXoL"),d=n("LRne"),u=n("7+OI"),p=n("cp0P"),h=n("GyhO"),m=n("NXyV"),g=n("IzEk"),f=n("UXun"),v=n("lJxs"),y=n("bOdf"),b=n("eIep"),x=Object(s.a)(function e(){Object(l.a)(this,e)}),_=function(){var e=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(){return Object(l.a)(this,n),t.apply(this,arguments)}return Object(s.a)(n,[{key:"getTranslation",value:function(e){return Object(d.a)({})}}]),n}(x);return e.\u0275fac=function(t){return w(t||e)},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),w=c["\u0275\u0275getInheritedFactory"](_),S=Object(s.a)(function e(){Object(l.a)(this,e)}),C=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,[{key:"handle",value:function(e){return e.key}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}();function k(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,i,r,a=typeof e;if(a==typeof t&&"object"==a){if(!Array.isArray(e)){if(Array.isArray(t))return!1;for(i in r=Object.create(null),e){if(!k(e[i],t[i]))return!1;r[i]=!0}for(i in t)if(!(i in r)&&void 0!==t[i])return!1;return!0}if(!Array.isArray(t))return!1;if((n=e.length)==t.length){for(i=0;i<n;i++)if(!k(e[i],t[i]))return!1;return!0}}return!1}function O(e){return null!=e}function E(e){return e&&"object"==typeof e&&!Array.isArray(e)}function M(e,t){var n=Object.assign({},e);return E(e)&&E(t)&&Object.keys(t).forEach(function(i){E(t[i])&&i in e?n[i]=M(e[i],t[i]):Object.assign(n,Object(r.a)({},i,t[i]))}),n}var I=Object(s.a)(function e(){Object(l.a)(this,e)}),P=function(){var e=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(){var e;return Object(l.a)(this,n),(e=t.apply(this,arguments)).templateMatcher=/{{\s?([^{}\s]*)\s?}}/g,e}return Object(s.a)(n,[{key:"interpolate",value:function(e,t){return"string"==typeof e?this.interpolateString(e,t):"function"==typeof e?this.interpolateFunction(e,t):e}},{key:"getValue",value:function(e,t){var n="string"==typeof t?t.split("."):[t];t="";do{t+=n.shift(),!O(e)||!O(e[t])||"object"!=typeof e[t]&&n.length?n.length?t+=".":e=void 0:(e=e[t],t="")}while(n.length);return e}},{key:"interpolateFunction",value:function(e,t){return e(t)}},{key:"interpolateString",value:function(e,t){var n=this;return t?e.replace(this.templateMatcher,function(e,i){var r=n.getValue(t,i);return O(r)?r:e}):e}}]),n}(I);return e.\u0275fac=function(t){return T(t||e)},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),T=c["\u0275\u0275getInheritedFactory"](P),D=Object(s.a)(function e(){Object(l.a)(this,e)}),L=function(){var e=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(){return Object(l.a)(this,n),t.apply(this,arguments)}return Object(s.a)(n,[{key:"compile",value:function(e,t){return e}},{key:"compileTranslations",value:function(e,t){return e}}]),n}(D);return e.\u0275fac=function(t){return R(t||e)},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),R=c["\u0275\u0275getInheritedFactory"](L),j=Object(s.a)(function e(){Object(l.a)(this,e),this.currentLang=this.defaultLang,this.translations={},this.langs=[],this.onTranslationChange=new c.EventEmitter,this.onLangChange=new c.EventEmitter,this.onDefaultLangChange=new c.EventEmitter}),A=new c.InjectionToken("USE_STORE"),F=new c.InjectionToken("USE_DEFAULT_LANG"),B=new c.InjectionToken("DEFAULT_LANGUAGE"),z=new c.InjectionToken("USE_EXTEND"),N=function(){var e=function(){function e(t,n,i,r,a){var o=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],s=arguments.length>6&&void 0!==arguments[6]&&arguments[6],d=arguments.length>7&&void 0!==arguments[7]&&arguments[7],u=arguments.length>8?arguments[8]:void 0;Object(l.a)(this,e),this.store=t,this.currentLoader=n,this.compiler=i,this.parser=r,this.missingTranslationHandler=a,this.useDefaultLang=o,this.isolate=s,this.extend=d,this.pending=!1,this._onTranslationChange=new c.EventEmitter,this._onLangChange=new c.EventEmitter,this._onDefaultLangChange=new c.EventEmitter,this._langs=[],this._translations={},this._translationRequests={},u&&this.setDefaultLang(u)}return Object(s.a)(e,[{key:"onTranslationChange",get:function(){return this.isolate?this._onTranslationChange:this.store.onTranslationChange}},{key:"onLangChange",get:function(){return this.isolate?this._onLangChange:this.store.onLangChange}},{key:"onDefaultLangChange",get:function(){return this.isolate?this._onDefaultLangChange:this.store.onDefaultLangChange}},{key:"defaultLang",get:function(){return this.isolate?this._defaultLang:this.store.defaultLang},set:function(e){this.isolate?this._defaultLang=e:this.store.defaultLang=e}},{key:"currentLang",get:function(){return this.isolate?this._currentLang:this.store.currentLang},set:function(e){this.isolate?this._currentLang=e:this.store.currentLang=e}},{key:"langs",get:function(){return this.isolate?this._langs:this.store.langs},set:function(e){this.isolate?this._langs=e:this.store.langs=e}},{key:"translations",get:function(){return this.isolate?this._translations:this.store.translations},set:function(e){this.isolate?this._translations=e:this.store.translations=e}},{key:"setDefaultLang",value:function(e){var t=this;if(e!==this.defaultLang){var n=this.retrieveTranslations(e);void 0!==n?(null==this.defaultLang&&(this.defaultLang=e),n.pipe(Object(g.a)(1)).subscribe(function(n){t.changeDefaultLang(e)})):this.changeDefaultLang(e)}}},{key:"getDefaultLang",value:function(){return this.defaultLang}},{key:"use",value:function(e){var t=this;if(e===this.currentLang)return Object(d.a)(this.translations[e]);var n=this.retrieveTranslations(e);return void 0!==n?(this.currentLang||(this.currentLang=e),n.pipe(Object(g.a)(1)).subscribe(function(n){t.changeLang(e)}),n):(this.changeLang(e),Object(d.a)(this.translations[e]))}},{key:"retrieveTranslations",value:function(e){var t;return(void 0===this.translations[e]||this.extend)&&(this._translationRequests[e]=this._translationRequests[e]||this.getTranslation(e),t=this._translationRequests[e]),t}},{key:"getTranslation",value:function(e){var t=this;this.pending=!0;var n=this.currentLoader.getTranslation(e).pipe(Object(f.a)(1),Object(g.a)(1));return this.loadingTranslations=n.pipe(Object(v.a)(function(n){return t.compiler.compileTranslations(n,e)}),Object(f.a)(1),Object(g.a)(1)),this.loadingTranslations.subscribe({next:function(n){t.translations[e]=t.extend&&t.translations[e]?Object.assign(Object.assign({},n),t.translations[e]):n,t.updateLangs(),t.pending=!1},error:function(e){t.pending=!1}}),n}},{key:"setTranslation",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t=this.compiler.compileTranslations(t,e),this.translations[e]=(n||this.extend)&&this.translations[e]?M(this.translations[e],t):t,this.updateLangs(),this.onTranslationChange.emit({lang:e,translations:this.translations[e]})}},{key:"getLangs",value:function(){return this.langs}},{key:"addLangs",value:function(e){var t=this;e.forEach(function(e){-1===t.langs.indexOf(e)&&t.langs.push(e)})}},{key:"updateLangs",value:function(){this.addLangs(Object.keys(this.translations))}},{key:"getParsedResult",value:function(e,t,n){var r;if(t instanceof Array){var a,o={},s=!1,l=Object(i.a)(t);try{for(l.s();!(a=l.n()).done;){var c=a.value;o[c]=this.getParsedResult(e,c,n),Object(u.a)(o[c])&&(s=!0)}}catch(g){l.e(g)}finally{l.f()}if(s){var h=t.map(function(e){return Object(u.a)(o[e])?o[e]:Object(d.a)(o[e])});return Object(p.a)(h).pipe(Object(v.a)(function(e){var n={};return e.forEach(function(e,i){n[t[i]]=e}),n}))}return o}if(e&&(r=this.parser.interpolate(this.parser.getValue(e,t),n)),void 0===r&&null!=this.defaultLang&&this.defaultLang!==this.currentLang&&this.useDefaultLang&&(r=this.parser.interpolate(this.parser.getValue(this.translations[this.defaultLang],t),n)),void 0===r){var m={key:t,translateService:this};void 0!==n&&(m.interpolateParams=n),r=this.missingTranslationHandler.handle(m)}return void 0!==r?r:t}},{key:"get",value:function(e,t){var n=this;if(!O(e)||!e.length)throw new Error('Parameter "key" required');if(this.pending)return this.loadingTranslations.pipe(Object(y.a)(function(i){return i=n.getParsedResult(i,e,t),Object(u.a)(i)?i:Object(d.a)(i)}));var i=this.getParsedResult(this.translations[this.currentLang],e,t);return Object(u.a)(i)?i:Object(d.a)(i)}},{key:"getStreamOnTranslationChange",value:function(e,t){var n=this;if(!O(e)||!e.length)throw new Error('Parameter "key" required');return Object(h.a)(Object(m.a)(function(){return n.get(e,t)}),this.onTranslationChange.pipe(Object(b.a)(function(i){var r=n.getParsedResult(i.translations,e,t);return"function"==typeof r.subscribe?r:Object(d.a)(r)})))}},{key:"stream",value:function(e,t){var n=this;if(!O(e)||!e.length)throw new Error('Parameter "key" required');return Object(h.a)(Object(m.a)(function(){return n.get(e,t)}),this.onLangChange.pipe(Object(b.a)(function(i){var r=n.getParsedResult(i.translations,e,t);return Object(u.a)(r)?r:Object(d.a)(r)})))}},{key:"instant",value:function(e,t){if(!O(e)||!e.length)throw new Error('Parameter "key" required');var n=this.getParsedResult(this.translations[this.currentLang],e,t);if(Object(u.a)(n)){if(e instanceof Array){var i={};return e.forEach(function(t,n){i[e[n]]=e[n]}),i}return e}return n}},{key:"set",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.currentLang;this.translations[n][e]=this.compiler.compile(t,n),this.updateLangs(),this.onTranslationChange.emit({lang:n,translations:this.translations[n]})}},{key:"changeLang",value:function(e){this.currentLang=e,this.onLangChange.emit({lang:e,translations:this.translations[e]}),null==this.defaultLang&&this.changeDefaultLang(e)}},{key:"changeDefaultLang",value:function(e){this.defaultLang=e,this.onDefaultLangChange.emit({lang:e,translations:this.translations[e]})}},{key:"reloadLang",value:function(e){return this.resetLang(e),this.getTranslation(e)}},{key:"resetLang",value:function(e){this._translationRequests[e]=void 0,this.translations[e]=void 0}},{key:"getBrowserLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator){var e=window.navigator.languages?window.navigator.languages[0]:null;if(void 0!==(e=e||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage))return-1!==e.indexOf("-")&&(e=e.split("-")[0]),-1!==e.indexOf("_")&&(e=e.split("_")[0]),e}}},{key:"getBrowserCultureLang",value:function(){if("undefined"!=typeof window&&void 0!==window.navigator)return(window.navigator.languages?window.navigator.languages[0]:null)||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](j),c["\u0275\u0275inject"](x),c["\u0275\u0275inject"](D),c["\u0275\u0275inject"](I),c["\u0275\u0275inject"](S),c["\u0275\u0275inject"](F),c["\u0275\u0275inject"](A),c["\u0275\u0275inject"](z),c["\u0275\u0275inject"](B))},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),H=function(){var e=function(){function e(t,n){Object(l.a)(this,e),this.translate=t,this._ref=n,this.value=""}return Object(s.a)(e,[{key:"updateValue",value:function(e,t,n){var i=this,r=function(t){i.value=void 0!==t?t:e,i.lastKey=e,i._ref.markForCheck()};if(n){var a=this.translate.getParsedResult(n,e,t);Object(u.a)(a.subscribe)?a.subscribe(r):r(a)}this.translate.get(e,t).subscribe(r)}},{key:"transform",value:function(e){var t,n=this;if(!e||!e.length)return e;for(var i=arguments.length,r=new Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];if(k(e,this.lastKey)&&k(r,this.lastParams))return this.value;if(O(r[0])&&r.length)if("string"==typeof r[0]&&r[0].length){var o=r[0].replace(/(\')?([a-zA-Z0-9_]+)(\')?(\s)?:/g,'"$2":').replace(/:(\s)?(\')(.*?)(\')/g,':"$3"');try{t=JSON.parse(o)}catch(s){throw new SyntaxError("Wrong parameter in TranslatePipe. Expected a valid Object, received: ".concat(r[0]))}}else"object"!=typeof r[0]||Array.isArray(r[0])||(t=r[0]);return this.lastKey=e,this.lastParams=r,this.updateValue(e,t),this._dispose(),this.onTranslationChange||(this.onTranslationChange=this.translate.onTranslationChange.subscribe(function(i){n.lastKey&&i.lang===n.translate.currentLang&&(n.lastKey=null,n.updateValue(e,t,i.translations))})),this.onLangChange||(this.onLangChange=this.translate.onLangChange.subscribe(function(i){n.lastKey&&(n.lastKey=null,n.updateValue(e,t,i.translations))})),this.onDefaultLangChange||(this.onDefaultLangChange=this.translate.onDefaultLangChange.subscribe(function(){n.lastKey&&(n.lastKey=null,n.updateValue(e,t))})),this.value}},{key:"_dispose",value:function(){void 0!==this.onTranslationChange&&(this.onTranslationChange.unsubscribe(),this.onTranslationChange=void 0),void 0!==this.onLangChange&&(this.onLangChange.unsubscribe(),this.onLangChange=void 0),void 0!==this.onDefaultLangChange&&(this.onDefaultLangChange.unsubscribe(),this.onDefaultLangChange=void 0)}},{key:"ngOnDestroy",value:function(){this._dispose()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275directiveInject"](N),c["\u0275\u0275injectPipeChangeDetectorRef"]())},e.\u0275pipe=c["\u0275\u0275definePipe"]({name:"translate",type:e,pure:!1}),e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),V=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,null,[{key:"forRoot",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:x,useClass:_},t.compiler||{provide:D,useClass:L},t.parser||{provide:I,useClass:P},t.missingTranslationHandler||{provide:S,useClass:C},j,{provide:A,useValue:t.isolate},{provide:F,useValue:t.useDefaultLang},{provide:z,useValue:t.extend},{provide:B,useValue:t.defaultLanguage},N]}}},{key:"forChild",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.loader||{provide:x,useClass:_},t.compiler||{provide:D,useClass:L},t.parser||{provide:I,useClass:P},t.missingTranslationHandler||{provide:S,useClass:C},{provide:A,useValue:t.isolate},{provide:F,useValue:t.useDefaultLang},{provide:z,useValue:t.extend},{provide:B,useValue:t.defaultLanguage},N]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=c["\u0275\u0275defineInjector"]({}),e}()},sp3z:function(e,t,n){!function(e){"use strict";e.defineLocale("lo",{months:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),monthsShort:"\u0ea1\u0eb1\u0e87\u0e81\u0ead\u0e99_\u0e81\u0eb8\u0ea1\u0e9e\u0eb2_\u0ea1\u0eb5\u0e99\u0eb2_\u0ec0\u0ea1\u0eaa\u0eb2_\u0e9e\u0eb6\u0e94\u0eaa\u0eb0\u0e9e\u0eb2_\u0ea1\u0eb4\u0e96\u0eb8\u0e99\u0eb2_\u0e81\u0ecd\u0ea5\u0eb0\u0e81\u0ebb\u0e94_\u0eaa\u0eb4\u0e87\u0eab\u0eb2_\u0e81\u0eb1\u0e99\u0e8d\u0eb2_\u0e95\u0eb8\u0ea5\u0eb2_\u0e9e\u0eb0\u0e88\u0eb4\u0e81_\u0e97\u0eb1\u0e99\u0ea7\u0eb2".split("_"),weekdays:"\u0ead\u0eb2\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysShort:"\u0e97\u0eb4\u0e94_\u0e88\u0eb1\u0e99_\u0ead\u0eb1\u0e87\u0e84\u0eb2\u0e99_\u0e9e\u0eb8\u0e94_\u0e9e\u0eb0\u0eab\u0eb1\u0e94_\u0eaa\u0eb8\u0e81_\u0ec0\u0eaa\u0ebb\u0eb2".split("_"),weekdaysMin:"\u0e97_\u0e88_\u0ead\u0e84_\u0e9e_\u0e9e\u0eab_\u0eaa\u0e81_\u0eaa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"\u0ea7\u0eb1\u0e99dddd D MMMM YYYY HH:mm"},meridiemParse:/\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2|\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87/,isPM:function(e){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===e},meridiem:function(e,t,n){return e<12?"\u0e95\u0ead\u0e99\u0ec0\u0e8a\u0ebb\u0ec9\u0eb2":"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"},calendar:{sameDay:"[\u0ea1\u0eb7\u0ec9\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextDay:"[\u0ea1\u0eb7\u0ec9\u0ead\u0eb7\u0ec8\u0e99\u0ec0\u0ea7\u0ea5\u0eb2] LT",nextWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0edc\u0ec9\u0eb2\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastDay:"[\u0ea1\u0eb7\u0ec9\u0ea7\u0eb2\u0e99\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",lastWeek:"[\u0ea7\u0eb1\u0e99]dddd[\u0ec1\u0ea5\u0ec9\u0ea7\u0e99\u0eb5\u0ec9\u0ec0\u0ea7\u0ea5\u0eb2] LT",sameElse:"L"},relativeTime:{future:"\u0ead\u0eb5\u0e81 %s",past:"%s\u0e9c\u0ec8\u0eb2\u0e99\u0ea1\u0eb2",s:"\u0e9a\u0ecd\u0ec8\u0ec0\u0e97\u0ebb\u0ec8\u0eb2\u0ec3\u0e94\u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",ss:"%d \u0ea7\u0eb4\u0e99\u0eb2\u0e97\u0eb5",m:"1 \u0e99\u0eb2\u0e97\u0eb5",mm:"%d \u0e99\u0eb2\u0e97\u0eb5",h:"1 \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",hh:"%d \u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87",d:"1 \u0ea1\u0eb7\u0ec9",dd:"%d \u0ea1\u0eb7\u0ec9",M:"1 \u0ec0\u0e94\u0eb7\u0ead\u0e99",MM:"%d \u0ec0\u0e94\u0eb7\u0ead\u0e99",y:"1 \u0e9b\u0eb5",yy:"%d \u0e9b\u0eb5"},dayOfMonthOrdinalParse:/(\u0e97\u0eb5\u0ec8)\d{1,2}/,ordinal:function(e){return"\u0e97\u0eb5\u0ec8"+e}})}(n("wd/R"))},spgP:function(e,t,n){"use strict";(function(e){n.d(t,"a",function(){return T}),n.d(t,"b",function(){return C}),n.d(t,"c",function(){return S}),n.d(t,"d",function(){return k}),n.d(t,"e",function(){return y}),n.d(t,"f",function(){return w}),n.d(t,"g",function(){return I}),n.d(t,"h",function(){return E}),n.d(t,"i",function(){return b}),n.d(t,"j",function(){return _});var i=n("T5bk"),r=n("KQm4"),a=n("1OyB"),o=n("vuIU"),s=n("qgXg"),l=n("D0XW"),c=n("vkgz"),d=n("tf+s"),u=n("pxpQ"),p=n("fXoL"),h=n("Wcq6"),m=n.n(h);function g(){}var f=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.b;Object(a.a)(this,e),this.zone=t,this.delegate=n}return Object(o.a)(e,[{key:"now",value:function(){return this.delegate.now()}},{key:"schedule",value:function(e,t,n){var i=this.zone;return this.delegate.schedule(function(t){var n=this;i.runGuarded(function(){e.apply(n,[t])})},t,n)}}]),e}(),v=function(){function e(t){Object(a.a)(this,e),this.zone=t,this.task=null}return Object(o.a)(e,[{key:"call",value:function(e,t){var n=this.unscheduleTask.bind(this);return this.task=this.zone.run(function(){return Zone.current.scheduleMacroTask("firebaseZoneBlock",g,{},g,g)}),t.pipe(Object(c.a)({next:n,complete:n,error:n})).subscribe(e).add(n)}},{key:"unscheduleTask",value:function(){var e=this;setTimeout(function(){null!=e.task&&"scheduled"===e.task.state&&(e.task.invoke(),e.task=null)},10)}}]),e}(),y=Object(o.a)(function e(t){Object(a.a)(this,e),this.ngZone=t,this.outsideAngular=t.runOutsideAngular(function(){return new f(Zone.current)}),this.insideAngular=t.run(function(){return new f(Zone.current,l.b)})});function b(e){return function(t){return(t=t.lift(new v(e.ngZone))).pipe(Object(d.a)(e.outsideAngular),Object(u.b)(e.insideAngular))}}var x=["ngOnDestroy"],_=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return new Proxy(e,{get:function(a,o){return n.runOutsideAngular(function(){var a;if(e[o])return(null===(a=null==i?void 0:i.spy)||void 0===a?void 0:a.get)&&i.spy.get(o,e[o]),e[o];if(x.indexOf(o)>-1)return function(){};var s=t.toPromise().then(function(e){var t=e&&e[o];return"function"==typeof t?t.bind(e):t&&t.then?t.then(function(e){return n.run(function(){return e})}):n.run(function(){return t})});return new Proxy(function(){},{get:function(e,t){return s[t]},apply:function(e,t,n){return s.then(function(e){var t,a=e&&e.apply(void 0,Object(r.a)(n));return(null===(t=null==i?void 0:i.spy)||void 0===t?void 0:t.apply)&&i.spy.apply(o,n,a),a})}})})}})},w=function(e,t){t.forEach(function(t){Object.getOwnPropertyNames(t.prototype||t).forEach(function(n){Object.defineProperty(e.prototype,n,Object.getOwnPropertyDescriptor(t.prototype||t,n))})})},S=new p.InjectionToken("angularfire2.app.options"),C=new p.InjectionToken("angularfire2.app.nameOrConfig"),k=Object(o.a)(function e(){Object(a.a)(this,e)}),O=new p.Version("6.1.5");function E(t,n,i){var r="object"==typeof i&&i||{};r.name=r.name||"string"==typeof i&&i||"[DEFAULT]";var a=m.a.apps.filter(function(e){return e&&e.name===r.name})[0]||n.runOutsideAngular(function(){return m.a.initializeApp(t,r)});try{if(JSON.stringify(t)!==JSON.stringify(a.options)){var o=!!e.hot;M("error","".concat(a.name," Firebase App already initialized with different options").concat(o?", you may need to reload as Firebase is not HMR aware.":"."))}}catch(s){}return a}var M=function(e){if(Object(p.isDevMode)()&&"undefined"!=typeof console){for(var t,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];(t=console)[e].apply(t,i)}};function I(t,n,a,o,s){var l=globalThis.\u0275AngularfireInstanceCache.get(t)||[],c=Object(i.a)(l),d=c[0],u=c.slice(1);if(d){try{if(s.some(function(e,t){var n=u[t];return e&&"object"==typeof e?JSON.stringify(e)!==JSON.stringify(n):e!==n})){var p=!!e.hot;M("error","".concat(n," was already initialized on the ").concat(a.name," Firebase App instance with different settings.").concat(p?" You may need to reload as Firebase is not HMR aware.":""))}}catch(m){}return d}var h=o();return globalThis.\u0275AngularfireInstanceCache.set(t,[h].concat(Object(r.a)(s))),h}globalThis.\u0275AngularfireInstanceCache||(globalThis.\u0275AngularfireInstanceCache=new Map);var P={provide:k,useFactory:E,deps:[S,p.NgZone,[new p.Optional,C]]},T=function(){var e=function(){function e(t){Object(a.a)(this,e),m.a.registerVersion("angularfire",O.full,t.toString()),m.a.registerVersion("angular",p.VERSION.full)}return Object(o.a)(e,null,[{key:"initializeApp",value:function(t,n){return{ngModule:e,providers:[{provide:S,useValue:t},{provide:C,useValue:n}]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275inject"](p.PLATFORM_ID))},e.\u0275mod=p["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=p["\u0275\u0275defineInjector"]({providers:[P]}),e}()}).call(this,n("kIY7")(e))},"t+mt":function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n("wd/R"))},tGlX:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},tT3J:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_br\u02e4ayr\u02e4_mar\u02e4s\u02e4_ibrir_mayyw_ywnyw_ywlywz_\u0263w\u0161t_\u0161wtanbir_kt\u02e4wbr\u02e4_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asi\u1e0dyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minu\u1e0d",mm:"%d minu\u1e0d",h:"sa\u025ba",hh:"%d tassa\u025bin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(n("wd/R"))},tUCv:function(e,t,n){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,n){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(n("wd/R"))},tbfe:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),i=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],r=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,i){return e?/-MMM-/.test(i)?n[e.month()]:t[e.month()]:t},monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,weekdays:"domingo_lunes_martes_mi\xe9rcoles_jueves_viernes_s\xe1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xe9._jue._vie._s\xe1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xe1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[ma\xf1ana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xeda",dd:"%d d\xedas",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un a\xf1o",yy:"%d a\xf1os"},dayOfMonthOrdinalParse:/\d{1,2}\xba/,ordinal:"%d\xba",week:{dow:0,doy:4},invalidDate:"Fecha inv\xe1lida"})}(n("wd/R"))},"tf+s":function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("1OyB"),r=n("vuIU"),a=n("Ji7U"),o=n("LK+K"),s=n("HDdC"),l=n("7Hc7"),c=n("Y7HM"),d=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e){var r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.a;return Object(i.a)(this,n),(r=t.call(this)).source=e,r.delayTime=a,r.scheduler=o,(!Object(c.a)(a)||a<0)&&(r.delayTime=0),o&&"function"==typeof o.schedule||(r.scheduler=l.a),r}return Object(r.a)(n,[{key:"_subscribe",value:function(e){return this.scheduler.schedule(n.dispatch,this.delayTime,{source:this.source,subscriber:e})}}],[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.a;return new n(e,t,i)}},{key:"dispatch",value:function(e){return this.add(e.source.subscribe(e.subscriber))}}]),n}(s.a);function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n){return n.lift(new p(e,t))}}var p=function(){function e(t,n){Object(i.a)(this,e),this.scheduler=t,this.delay=n}return Object(r.a)(e,[{key:"call",value:function(e,t){return new d(t,this.delay,this.scheduler).subscribe(e)}}]),e}()},"tk/3":function(e,t,n){"use strict";n.d(t,"a",function(){return j}),n.d(t,"b",function(){return L}),n.d(t,"c",function(){return Z}),n.d(t,"d",function(){return w});var i=n("Ji7U"),r=n("LK+K"),a=n("ODXe"),o=n("KQm4"),s=n("vuIU"),l=n("1OyB"),c=n("fXoL"),d=n("LRne"),u=n("HDdC"),p=n("bOdf"),h=n("pLZG"),m=n("lJxs"),g=n("ofXK"),f=Object(s.a)(function e(){Object(l.a)(this,e)}),v=Object(s.a)(function e(){Object(l.a)(this,e)}),y=function(){function e(t){var n=this;Object(l.a)(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){n.headers=new Map,t.split("\n").forEach(function(e){var t=e.indexOf(":");if(t>0){var i=e.slice(0,t),r=i.toLowerCase(),a=e.slice(t+1).trim();n.maybeSetNormalizedName(i,r),n.headers.has(r)?n.headers.get(r).push(a):n.headers.set(r,[a])}})}:function(){n.headers=new Map,Object.keys(t).forEach(function(e){var i=t[e],r=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(n.headers.set(r,i),n.maybeSetNormalizedName(e,r))})}:this.headers=new Map}return Object(s.a)(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(function(e){return t.applyUpdate(e)}),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach(function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))})}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var i=("a"===e.op?this.headers.get(t):void 0)||[];i.push.apply(i,Object(o.a)(n)),this.headers.set(t,i);break;case"d":var r=e.value;if(r){var a=this.headers.get(t);if(!a)return;0===(a=a.filter(function(e){return-1===r.indexOf(e)})).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,a)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach(function(n){return e(t.normalizedNames.get(n),t.headers.get(n))})}}]),e}(),b=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,[{key:"encodeKey",value:function(e){return _(e)}},{key:"encodeValue",value:function(e){return _(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function x(e,t){var n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(function(e){var i=e.indexOf("="),r=-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],o=Object(a.a)(r,2),s=o[0],l=o[1],c=n.get(s)||[];c.push(l),n.set(s,c)}),n}function _(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var w=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Object(l.a)(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new b,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=x(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(function(e){var i=n.fromObject[e];t.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}return Object(s.a)(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"appendAll",value:function(e){var t=[];return Object.keys(e).forEach(function(n){var i=e[n];Array.isArray(i)?i.forEach(function(e){t.push({param:n,value:e,op:"a"})}):t.push({param:n,value:i,op:"a"})}),this.clone(t)}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map(function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map(function(t){return n+"="+e.encoder.encodeValue(t)}).join("&")}).filter(function(e){return""!==e}).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(function(t){return e.map.set(t,e.cloneFrom.map.get(t))}),this.updates.forEach(function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var i=e.map.get(t.param)||[],r=i.indexOf(t.value);-1!==r&&i.splice(r,1),i.length>0?e.map.set(t.param,i):e.map.delete(t.param)}}),this.cloneFrom=this.updates=null)}}]),e}();function S(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function C(e){return"undefined"!=typeof Blob&&e instanceof Blob}function k(e){return"undefined"!=typeof FormData&&e instanceof FormData}var O=function(){function e(t,n,i,r){var a;if(Object(l.a)(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||r?(this.body=void 0!==i?i:null,a=r):a=i,a&&(this.reportProgress=!!a.reportProgress,this.withCredentials=!!a.withCredentials,a.responseType&&(this.responseType=a.responseType),a.headers&&(this.headers=a.headers),a.params&&(this.params=a.params)),this.headers||(this.headers=new y),this.params){var o=this.params.toString();if(0===o.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s<n.length-1?"&":"")+o}}else this.params=new w,this.urlWithParams=n}return Object(s.a)(e,[{key:"serializeBody",value:function(){return null===this.body?null:S(this.body)||C(this.body)||k(this.body)||"string"==typeof this.body?this.body:this.body instanceof w?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||k(this.body)?null:C(this.body)?this.body.type||null:S(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof w?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}},{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.method||this.method,i=t.url||this.url,r=t.responseType||this.responseType,a=void 0!==t.body?t.body:this.body,o=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,l=t.headers||this.headers,c=t.params||this.params;return void 0!==t.setHeaders&&(l=Object.keys(t.setHeaders).reduce(function(e,n){return e.set(n,t.setHeaders[n])},l)),t.setParams&&(c=Object.keys(t.setParams).reduce(function(e,n){return e.set(n,t.setParams[n])},c)),new e(n,i,a,{params:c,headers:l,reportProgress:s,responseType:r,withCredentials:o})}}]),e}(),E=function(e){return e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User",e}({}),M=Object(s.a)(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";Object(l.a)(this,e),this.headers=t.headers||new y,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||i,this.url=t.url||null,this.ok=this.status>=200&&this.status<300}),I=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(l.a)(this,n),(e=t.call(this,i)).type=E.ResponseHeader,e}return Object(s.a)(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(M),P=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(){var e,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object(l.a)(this,n),(e=t.call(this,i)).type=E.Response,e.body=void 0!==i.body?i.body:null,e}return Object(s.a)(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(M),T=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e){var i;return Object(l.a)(this,n),(i=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",i.ok=!1,i.message=i.status>=200&&i.status<300?"Http failure during parsing for ".concat(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),i.error=e.error||null,i}return Object(s.a)(n)}(M);function D(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var L=function(){var e=function(){function e(t){Object(l.a)(this,e),this.handler=t}return Object(s.a)(e,[{key:"request",value:function(e,t){var n,i=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof O)n=e;else{var a=void 0;a=r.headers instanceof y?r.headers:new y(r.headers);var o=void 0;r.params&&(o=r.params instanceof w?r.params:new w({fromObject:r.params})),n=new O(e,t,void 0!==r.body?r.body:null,{headers:a,params:o,reportProgress:r.reportProgress,responseType:r.responseType||"json",withCredentials:r.withCredentials})}var s=Object(d.a)(n).pipe(Object(p.a)(function(e){return i.handler.handle(e)}));if(e instanceof O||"events"===r.observe)return s;var l=s.pipe(Object(h.a)(function(e){return e instanceof P}));switch(r.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return l.pipe(Object(m.a)(function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return l.pipe(Object(m.a)(function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return l.pipe(Object(m.a)(function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return l.pipe(Object(m.a)(function(e){return e.body}))}case"response":return l;default:throw new Error("Unreachable: unhandled observe type ".concat(r.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new w).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,D(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,D(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,D(n,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](f))},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),R=function(){function e(t,n){Object(l.a)(this,e),this.next=t,this.interceptor=n}return Object(s.a)(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),j=new c.InjectionToken("HTTP_INTERCEPTORS"),A=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),F=/^\)\]\}',?\n/,B=Object(s.a)(function e(){Object(l.a)(this,e)}),z=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),N=function(){var e=function(){function e(t){Object(l.a)(this,e),this.xhrFactory=t}return Object(s.a)(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new u.a(function(n){var i=t.xhrFactory.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach(function(e,t){return i.setRequestHeader(e,t.join(","))}),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var r=e.detectContentTypeHeader();null!==r&&i.setRequestHeader("Content-Type",r)}if(e.responseType){var a=e.responseType.toLowerCase();i.responseType="json"!==a?a:"text"}var o=e.serializeBody(),s=null,l=function(){if(null!==s)return s;var t=1223===i.status?204:i.status,n=i.statusText||"OK",r=new y(i.getAllResponseHeaders()),a=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new I({headers:r,status:t,statusText:n,url:a})},c=function(){var t=l(),r=t.headers,a=t.status,o=t.statusText,s=t.url,c=null;204!==a&&(c=void 0===i.response?i.responseText:i.response),0===a&&(a=c?200:0);var d=a>=200&&a<300;if("json"===e.responseType&&"string"==typeof c){var u=c;c=c.replace(F,"");try{c=""!==c?JSON.parse(c):null}catch(p){c=u,d&&(d=!1,c={error:p,text:c})}}d?(n.next(new P({body:c,headers:r,status:a,statusText:o,url:s||void 0})),n.complete()):n.error(new T({error:c,headers:r,status:a,statusText:o,url:s||void 0}))},d=function(e){var t=l(),r=new T({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t.url||void 0});n.error(r)},u=!1,p=function(t){u||(n.next(l()),u=!0);var r={type:E.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},h=function(e){var t={type:E.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",c),i.addEventListener("error",d),i.addEventListener("timeout",d),i.addEventListener("abort",d),e.reportProgress&&(i.addEventListener("progress",p),null!==o&&i.upload&&i.upload.addEventListener("progress",h)),i.send(o),n.next({type:E.Sent}),function(){i.removeEventListener("error",d),i.removeEventListener("abort",d),i.removeEventListener("load",c),i.removeEventListener("timeout",d),e.reportProgress&&(i.removeEventListener("progress",p),null!==o&&i.upload&&i.upload.removeEventListener("progress",h)),i.readyState!==i.DONE&&i.abort()}})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](B))},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),H=new c.InjectionToken("XSRF_COOKIE_NAME"),V=new c.InjectionToken("XSRF_HEADER_NAME"),Y=Object(s.a)(function e(){Object(l.a)(this,e)}),W=function(){var e=function(){function e(t,n,i){Object(l.a)(this,e),this.doc=t,this.platform=n,this.cookieName=i,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return Object(s.a)(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(g["\u0275parseCookieValue"])(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](g.DOCUMENT),c["\u0275\u0275inject"](c.PLATFORM_ID),c["\u0275\u0275inject"](H))},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),G=function(){var e=function(){function e(t,n){Object(l.a)(this,e),this.tokenService=t,this.headerName=n}return Object(s.a)(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var i=this.tokenService.getToken();return null===i||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,i)})),t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](Y),c["\u0275\u0275inject"](V))},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),U=function(){var e=function(){function e(t,n){Object(l.a)(this,e),this.backend=t,this.injector=n,this.chain=null}return Object(s.a)(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(j,[]);this.chain=t.reduceRight(function(e,t){return new R(e,t)},this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(c["\u0275\u0275inject"](v),c["\u0275\u0275inject"](c.Injector))},e.\u0275prov=c["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),q=function(){var e=function(){function e(){Object(l.a)(this,e)}return Object(s.a)(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:G,useClass:A}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:H,useValue:t.cookieName}:[],t.headerName?{provide:V,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=c["\u0275\u0275defineInjector"]({providers:[G,{provide:j,useExisting:G,multi:!0},{provide:Y,useClass:W},{provide:H,useValue:"XSRF-TOKEN"},{provide:V,useValue:"X-XSRF-TOKEN"}]}),e}(),Z=function(){var e=Object(s.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=c["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=c["\u0275\u0275defineInjector"]({providers:[L,{provide:f,useClass:U},N,{provide:v,useExisting:N},z,{provide:B,useExisting:z}],imports:[[q.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},tqnS:function(e,t,n){"use strict";n.d(t,"a",function(){return xt}),n.d(t,"b",function(){return _t});var i=n("JYNk"),r=n("0IaG"),a=n("uJc7"),o=n("deNa"),s=n("tk/3"),l=n("1zuJ"),c=n("yjSS"),d=n("fXoL"),u=n("jhN1"),p=n("tyNb"),h=n("sYmb"),m=n("ofXK"),g=n("7EHt"),f=n("/t3+"),v=n("bTqV"),y=n("NFeN");function b(e,t){1&e&&(d["\u0275\u0275elementStart"](0,"div",18),d["\u0275\u0275elementStart"](1,"strong"),d["\u0275\u0275elementStart"](2,"h4",19),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e&&(d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate"](d["\u0275\u0275pipeBind1"](4,1,"ROOT.Partners")))}function x(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",20),d["\u0275\u0275elementStart"](1,"h4",21),d["\u0275\u0275element"](2,"img",22),d["\u0275\u0275text"](3),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate1"](" ",n.partnerError,"")}}function _(e,t){1&e&&(d["\u0275\u0275elementStart"](0,"span"),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()),2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](2,1,"ROOT.Please allow a few minutes for initial data transfers")," "))}function w(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",20),d["\u0275\u0275elementStart"](1,"h4",21),d["\u0275\u0275element"](2,"img",23),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275template"](5,_,3,3,"span",24),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate2"](" ",n.partnerLinked," ",d["\u0275\u0275pipeBind1"](4,3,"ROOT.Linked"),""),d["\u0275\u0275advance"](2),d["\u0275\u0275property"]("ngIf",n.show_data_message)}}function S(e,t){1&e&&d["\u0275\u0275element"](0,"img",26)}function C(e,t){1&e&&d["\u0275\u0275element"](0,"img",27)}function k(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"div",25),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"]();return e.showLinkedPartners=!e.showLinkedPartners}),d["\u0275\u0275template"](1,S,1,0,"img",10),d["\u0275\u0275template"](2,C,1,0,"img",11),d["\u0275\u0275elementStart"](3,"div",12),d["\u0275\u0275text"](4),d["\u0275\u0275pipe"](5,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!i.showLinkedPartners),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.showLinkedPartners),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](5,3,"ROOT.Linked")," ")}}function O(e,t){1&e&&(d["\u0275\u0275elementStart"](0,"div",51),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()),2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](2,1,"ROOT.Preferred")," "))}function E(e,t){1&e&&(d["\u0275\u0275elementStart"](0,"div",52),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()),2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](2,1,"ROOT.Linked")," "))}function M(e,t){1&e&&d["\u0275\u0275element"](0,"img",53)}function I(e,t){1&e&&(d["\u0275\u0275elementStart"](0,"div",54),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementStart"](3,"a",55),d["\u0275\u0275text"](4),d["\u0275\u0275pipe"](5,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](2,2,"ROOT.garmin_note")," \xa0 "),d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate"](d["\u0275\u0275pipeBind1"](5,4,"ROOT.More")))}function P(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"a",56),d["\u0275\u0275elementStart"](1,"button",57),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275element"](3,"img",58),d["\u0275\u0275text"](4),d["\u0275\u0275pipe"](5,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275propertyInterpolate"]("routerLink",n.moreInfo),d["\u0275\u0275advance"](1),d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](2,3,"ROOT.Info")),d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](5,5,"ROOT.Info")," ")}}function T(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"a",59),d["\u0275\u0275elementStart"](1,"button",57),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275element"](3,"img",58),d["\u0275\u0275text"](4),d["\u0275\u0275pipe"](5,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275propertyInterpolate"]("href",n.moreInfo,d["\u0275\u0275sanitizeUrl"]),d["\u0275\u0275advance"](1),d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](2,3,"ROOT.Info")),d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](5,5,"ROOT.Info")," ")}}function D(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).linkAccount(e)}),d["\u0275\u0275pipe"](1,"translate"),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](1,2,"ROOT.Link")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,4,"ROOT.Link")," "))}function L(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).unLink(e)}),d["\u0275\u0275pipe"](1,"translate"),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](1,2,"ROOT.Unlink")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,4,"ROOT.Unlink")," "))}function R(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",60),d["\u0275\u0275template"](1,D,4,6,"button",61),d["\u0275\u0275template"](2,L,4,6,"button",61),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.linked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.linked)}}function j(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"a",56),d["\u0275\u0275elementStart"](1,"button",63),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275propertyInterpolate"]("routerLink",n.partnerLinkUrl),d["\u0275\u0275advance"](1),d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](2,3,"ROOT.Link")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](4,5,"ROOT.Link")," ")}}function A(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"a",56),d["\u0275\u0275elementStart"](1,"button",63),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275propertyInterpolate"]("routerLink",n.partnerLinkUrl),d["\u0275\u0275advance"](1),d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](2,3,"ROOT.Unlink")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](4,5,"ROOT.Unlink")," ")}}function F(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",60),d["\u0275\u0275template"](1,j,5,7,"a",45),d["\u0275\u0275template"](2,A,5,7,"a",45),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.linked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.linked)}}function B(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",67),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275pipe"](3,"date"),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate2"]("",d["\u0275\u0275pipeBind1"](2,2,"ROOT.Linked"),": ",d["\u0275\u0275pipeBind2"](3,4,n.details.creation_date,"MMM d, y"),"")}}function z(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",67),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275pipe"](3,"date"),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate2"]("",d["\u0275\u0275pipeBind1"](2,2,"ROOT.Last Sync"),": ",d["\u0275\u0275pipeBind2"](3,4,n.details.last_sync_date,"MMM d, y"),"")}}function N(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",68),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate2"]("",d["\u0275\u0275pipeBind1"](2,2,"ROOT.Permissions"),": ",n.details.settings,"")}}function H(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",64),d["\u0275\u0275template"](1,B,4,7,"p",65),d["\u0275\u0275template"](2,z,4,7,"p",65),d["\u0275\u0275template"](3,N,3,4,"p",66),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.details.creation_date),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.details.last_sync_date),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.details.settings&&"N/A"!=n.details.settings)}}function V(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).setPreferredPartner(e)}),d["\u0275\u0275pipe"](1,"translate"),d["\u0275\u0275element"](2,"img",69),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](1,2,"ROOT.Set Preferred")),d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](4,4,"ROOT.Set Preferred")," "))}var Y=function(e,t){return{"partner-manage-button-selected":e,"partner-manage-button":t}};function W(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",1),d["\u0275\u0275template"](1,V,5,6,"button",61),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit,i=d["\u0275\u0275nextContext"](2);d["\u0275\u0275property"]("ngClass",d["\u0275\u0275pureFunction2"](2,Y,i.selectedPartner==n.name,i.selectedPartner!=n.name)),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.linked)}}function G(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",72),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).setAutoShare(e,!0)}),d["\u0275\u0275pipe"](1,"translate"),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](1,2,"ROOT.Enable Auto Share")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,4,"ROOT.Enable Auto Share")," "))}function U(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",72),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).setAutoShare(e,!1)}),d["\u0275\u0275pipe"](1,"translate"),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](1,2,"ROOT.Disable Auto Share")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,4,"ROOT.Disable Auto Share")," "))}var q=function(e,t){return{"partner-manage-button-selected autoShareButton":e,"partner-manage-button autoShareButton":t}};function Z(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",70),d["\u0275\u0275template"](1,G,4,6,"button",71),d["\u0275\u0275template"](2,U,4,6,"button",71),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit,i=d["\u0275\u0275nextContext"](2);d["\u0275\u0275property"]("ngClass",d["\u0275\u0275pureFunction2"](3,q,i.selectedPartner==n.name,i.selectedPartner!=n.name)),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.autoShare),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.autoShare)}}function $(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",72),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).setAutoImport(e,!0)}),d["\u0275\u0275pipe"](1,"translate"),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](1,2,"ROOT.Enable Workout Import")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,4,"ROOT.Enable Workout Import")," "))}function X(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",72),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).setAutoImport(e,!1)}),d["\u0275\u0275pipe"](1,"translate"),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](1,2,"ROOT.Disable Workout Import")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,4,"ROOT.Disable Workout Import")," "))}function K(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",70),d["\u0275\u0275template"](1,$,4,6,"button",71),d["\u0275\u0275template"](2,X,4,6,"button",71),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit,i=d["\u0275\u0275nextContext"](2);d["\u0275\u0275property"]("ngClass",d["\u0275\u0275pureFunction2"](3,q,i.selectedPartner==n.name,i.selectedPartner!=n.name)),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.autoImport),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.autoImport)}}function J(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"div"),d["\u0275\u0275elementStart"](1,"div",30),d["\u0275\u0275elementStart"](2,"div",31),d["\u0275\u0275template"](3,O,3,3,"div",32),d["\u0275\u0275template"](4,E,3,3,"div",33),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](5,"mat-accordion"),d["\u0275\u0275elementStart"](6,"mat-expansion-panel",34),d["\u0275\u0275listener"]("opened",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"](3).panelOpenState=!0})("closed",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"](3).panelOpenState=!1}),d["\u0275\u0275elementStart"](7,"mat-expansion-panel-header",35),d["\u0275\u0275elementStart"](8,"mat-panel-title",36),d["\u0275\u0275element"](9,"img",37),d["\u0275\u0275elementStart"](10,"h3",38),d["\u0275\u0275text"](11),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](12,"mat-panel-description",39),d["\u0275\u0275elementStart"](13,"div",40),d["\u0275\u0275template"](14,M,1,0,"img",41),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](15,"div",42),d["\u0275\u0275text"](16),d["\u0275\u0275pipe"](17,"translate"),d["\u0275\u0275template"](18,I,6,6,"div",43),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](19,"div",44),d["\u0275\u0275template"](20,P,6,7,"a",45),d["\u0275\u0275template"](21,T,6,7,"a",46),d["\u0275\u0275template"](22,R,3,2,"p",47),d["\u0275\u0275template"](23,F,3,2,"p",47),d["\u0275\u0275template"](24,H,4,3,"div",48),d["\u0275\u0275template"](25,W,2,5,"p",49),d["\u0275\u0275template"](26,Z,3,6,"p",50),d["\u0275\u0275template"](27,K,3,6,"p",50),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"]().$implicit,r=d["\u0275\u0275nextContext"](2);d["\u0275\u0275advance"](3),d["\u0275\u0275property"]("ngIf",r.preferred==i.name),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",r.preferred!=i.name&&i.linked),d["\u0275\u0275advance"](2),d["\u0275\u0275property"]("expanded",!1),d["\u0275\u0275advance"](3),d["\u0275\u0275propertyInterpolate"]("src",i.imageSrc,d["\u0275\u0275sanitizeUrl"]),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",i.partnerName," "),d["\u0275\u0275advance"](3),d["\u0275\u0275property"]("ngIf","Strava"==i.partnerName),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](17,16,"ROOT."+i.partnerDescriptionKey)," "),d["\u0275\u0275advance"](2),d["\u0275\u0275property"]("ngIf","Garmin"==i.partnerName),d["\u0275\u0275advance"](2),d["\u0275\u0275property"]("ngIf",i.localInfo),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!i.localInfo),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!i.partnerLinkUrl&&0==i.social),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.partnerLinkUrl&&0==i.social),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.linked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.linked&&1==i.platform&&r.preferred!=i.name),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.linked&&1==i.upload),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.linked&&1==i.download)}}function Q(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div"),d["\u0275\u0275template"](1,J,28,18,"div",24),d["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.linked)}}function ee(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",28),d["\u0275\u0275template"](1,Q,2,1,"div",29),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngForOf",n.linkedPartners)}}function te(e,t){1&e&&d["\u0275\u0275element"](0,"div",73)}function ne(e,t){1&e&&d["\u0275\u0275element"](0,"img",26)}function ie(e,t){1&e&&d["\u0275\u0275element"](0,"img",27)}function re(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",67),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275pipe"](3,"date"),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate2"]("",d["\u0275\u0275pipeBind1"](2,2,"ROOT.Linked"),": ",d["\u0275\u0275pipeBind2"](3,4,n.details.creation_date,"MMM d, y"),"")}}function ae(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",67),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275pipe"](3,"date"),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate2"]("",d["\u0275\u0275pipeBind1"](2,2,"ROOT.Last Sync"),": ",d["\u0275\u0275pipeBind2"](3,4,n.details.last_sync_date,"MMM d, y"),"")}}function oe(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",68),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate2"]("",d["\u0275\u0275pipeBind1"](2,2,"ROOT.Permissions"),": ",n.details.settings||"Not available","")}}function se(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",64),d["\u0275\u0275template"](1,re,4,7,"p",65),d["\u0275\u0275template"](2,ae,4,7,"p",65),d["\u0275\u0275template"](3,oe,3,4,"p",66),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.details.creation_date),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.details.last_sync_date),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf","N/A"!==n.details.settings)}}function le(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"a",59),d["\u0275\u0275elementStart"](1,"button",63),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275element"](3,"img",58),d["\u0275\u0275text"](4),d["\u0275\u0275pipe"](5,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275propertyInterpolate"]("href",n.moreInfo,d["\u0275\u0275sanitizeUrl"]),d["\u0275\u0275advance"](1),d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](2,3,"ROOT.Info")),d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](5,5,"ROOT.Info")," ")}}function ce(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).linkAccount(e)}),d["\u0275\u0275pipe"](1,"translate"),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](1,2,"ROOT.Link")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,4,"ROOT.Link")," "))}function de(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).unLink(e)}),d["\u0275\u0275pipe"](1,"translate"),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](1,2,"ROOT.Unlink")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,4,"ROOT.Unlink")," "))}function ue(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",60),d["\u0275\u0275template"](1,ce,4,6,"button",61),d["\u0275\u0275template"](2,de,4,6,"button",61),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.linked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.linked)}}function pe(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"a",56),d["\u0275\u0275elementStart"](1,"button",63),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275propertyInterpolate"]("routerLink",n.partnerLinkUrl),d["\u0275\u0275advance"](1),d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](2,3,"ROOT.Link")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](4,5,"ROOT.Link")," ")}}function he(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"a",79),d["\u0275\u0275elementStart"](1,"button",63),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275propertyInterpolate"]("routerLink",n.partnerLinkUrl),d["\u0275\u0275advance"](1),d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](2,3,"ROOT.Unlink")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](4,5,"ROOT.Unlink")," ")}}function me(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",60),d["\u0275\u0275template"](1,pe,5,7,"a",45),d["\u0275\u0275template"](2,he,5,7,"a",78),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.linked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.linked)}}function ge(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).setPreferredPartner(e)}),d["\u0275\u0275pipe"](1,"translate"),d["\u0275\u0275element"](2,"img",80),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](1,2,"ROOT.Set Preferred")),d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](4,4,"ROOT.Set Preferred")," "))}function fe(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",1),d["\u0275\u0275template"](1,ge,5,6,"button",61),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit,i=d["\u0275\u0275nextContext"](2);d["\u0275\u0275property"]("ngClass",d["\u0275\u0275pureFunction2"](2,Y,i.selectedPartner==n.name,i.selectedPartner!=n.name)),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.linked)}}function ve(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",72),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).setAutoShare(e,!0)}),d["\u0275\u0275pipe"](1,"translate"),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](1,2,"ROOT.Enable Auto Share")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,4,"ROOT.Enable Auto Share")," "))}function ye(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",72),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).setAutoShare(e,!1)}),d["\u0275\u0275pipe"](1,"translate"),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275attribute"]("aria-label",d["\u0275\u0275pipeBind1"](1,2,"ROOT.Disable Auto Share")),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,4,"ROOT.Disable Auto Share")," "))}function be(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",70),d["\u0275\u0275template"](1,ve,4,6,"button",71),d["\u0275\u0275template"](2,ye,4,6,"button",71),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit,i=d["\u0275\u0275nextContext"](2);d["\u0275\u0275property"]("ngClass",d["\u0275\u0275pureFunction2"](3,q,i.selectedPartner==n.name,i.selectedPartner!=n.name)),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.autoShare),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.autoShare)}}function xe(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"mat-accordion"),d["\u0275\u0275elementStart"](1,"mat-expansion-panel",77),d["\u0275\u0275listener"]("opened",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"](3).panelOpenState=!0})("closed",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"](3).panelOpenState=!1}),d["\u0275\u0275elementStart"](2,"mat-expansion-panel-header",35),d["\u0275\u0275elementStart"](3,"mat-panel-title",36),d["\u0275\u0275element"](4,"img",37),d["\u0275\u0275elementStart"](5,"h3",38),d["\u0275\u0275text"](6),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](7,"mat-panel-description",39),d["\u0275\u0275elementStart"](8,"div",42),d["\u0275\u0275text"](9),d["\u0275\u0275pipe"](10,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](11,"div",44),d["\u0275\u0275template"](12,se,4,3,"div",48),d["\u0275\u0275template"](13,le,6,7,"a",46),d["\u0275\u0275template"](14,ue,3,2,"div",47),d["\u0275\u0275template"](15,me,3,2,"p",47),d["\u0275\u0275template"](16,fe,2,5,"p",49),d["\u0275\u0275template"](17,be,3,6,"p",50),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"]().$implicit,r=d["\u0275\u0275nextContext"](2);d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("expanded",!1),d["\u0275\u0275advance"](3),d["\u0275\u0275propertyInterpolate"]("src",i.imageSrc,d["\u0275\u0275sanitizeUrl"]),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",i.partnerName," "),d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](10,10,"ROOT."+i.partnerDescriptionKey)," "),d["\u0275\u0275advance"](3),d["\u0275\u0275property"]("ngIf",i.linked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf","withings"!=i.name),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!i.partnerLinkUrl&&0==i.social),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.partnerLinkUrl&&0==i.social),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.linked&&1==i.platform&&r.preferred!=i.name),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.linked&&1==i.upload)}}function _e(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",76),d["\u0275\u0275template"](1,xe,18,12,"mat-accordion",24),d["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.linked)}}function we(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",74),d["\u0275\u0275template"](1,_e,2,1,"div",75),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngForOf",n.platformPartners)}}var Se=function(e,t){return{tipsPartnersURL:e,daily_activity:t}};function Ce(e,t){if(1&e&&(d["\u0275\u0275element"](0,"p",81),d["\u0275\u0275pipe"](1,"translate")),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275property"]("hidden",n.selectedPartner)("innerHTML",d["\u0275\u0275pipeBind2"](1,2,"ROOT.preferred_description",d["\u0275\u0275pureFunction2"](5,Se,n.tipsPartnersURL,n.daily_activity_link)),d["\u0275\u0275sanitizeHtml"])}}function ke(e,t){1&e&&d["\u0275\u0275element"](0,"img",26)}function Oe(e,t){1&e&&d["\u0275\u0275element"](0,"img",27)}function Ee(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"div",82),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"]();return e.showNutritionPartners=!e.showNutritionPartners}),d["\u0275\u0275template"](1,ke,1,0,"img",10),d["\u0275\u0275template"](2,Oe,1,0,"img",11),d["\u0275\u0275elementStart"](3,"div",12),d["\u0275\u0275text"](4),d["\u0275\u0275pipe"](5,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!i.showNutritionPartners),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.showNutritionPartners),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](5,3,"ROOT.Nutrition")," ")}}function Me(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",67),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275pipe"](3,"date"),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate2"]("",d["\u0275\u0275pipeBind1"](2,2,"ROOT.Linked"),": ",d["\u0275\u0275pipeBind2"](3,4,n.details.creation_date,"MMM d, y"),"")}}function Ie(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",67),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275pipe"](3,"date"),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate2"]("",d["\u0275\u0275pipeBind1"](2,2,"ROOT.Last Sync"),": ",d["\u0275\u0275pipeBind2"](3,4,n.details.last_sync_date,"MMM d, y"),"")}}function Pe(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",68),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate2"]("",d["\u0275\u0275pipeBind1"](2,2,"ROOT.Permissions"),": ",n.details.settings||"Not available","")}}function Te(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",64),d["\u0275\u0275template"](1,Me,4,7,"p",65),d["\u0275\u0275template"](2,Ie,4,7,"p",65),d["\u0275\u0275template"](3,Pe,3,4,"p",66),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.details.creation_date),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.details.last_sync_date),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf","N/A"!=n.details.settings)}}function De(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"a",59),d["\u0275\u0275elementStart"](1,"button",63),d["\u0275\u0275element"](2,"img",58),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275propertyInterpolate"]("href",n.moreInfo,d["\u0275\u0275sanitizeUrl"]),d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](4,2,"ROOT.Info")," ")}}function Le(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](4);return e.showLoseitInfo=!e.showLoseitInfo}),d["\u0275\u0275element"](1,"img",58),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,1,"ROOT.Info")," "))}function Re(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).linkAccount(e)}),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](2,1,"ROOT.Link")," "))}function je(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).unLink(e)}),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](2,1,"ROOT.Unlink")," "))}function Ae(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",60),d["\u0275\u0275template"](1,Re,3,3,"button",61),d["\u0275\u0275template"](2,je,3,3,"button",61),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.linked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.linked)}}function Fe(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"a",56),d["\u0275\u0275elementStart"](1,"button",63),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275propertyInterpolate"]("routerLink",n.partnerLinkUrl),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,2,"ROOT.Link")," ")}}function Be(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"a",56),d["\u0275\u0275elementStart"](1,"button",63),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275propertyInterpolate"]("routerLink",n.partnerLinkUrl),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,2,"ROOT.Unlink")," ")}}function ze(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",60),d["\u0275\u0275template"](1,Fe,4,4,"a",45),d["\u0275\u0275template"](2,Be,4,4,"a",45),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.linked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.linked)}}function Ne(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).setPreferredPartner(e)}),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](2,1,"ROOT.Set Preferred")," "))}function He(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",1),d["\u0275\u0275template"](1,Ne,3,3,"button",61),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit,i=d["\u0275\u0275nextContext"](2);d["\u0275\u0275property"]("ngClass",d["\u0275\u0275pureFunction2"](2,Y,i.selectedPartner==n.name,i.selectedPartner!=n.name)),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.linked)}}function Ve(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",72),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).setAutoShare(e,!0)}),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](2,1,"ROOT.Enable Auto Share")," "))}function Ye(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",72),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).setAutoShare(e,!1)}),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](2,1,"ROOT.Disable Auto Share")," "))}function We(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",70),d["\u0275\u0275template"](1,Ve,3,3,"button",71),d["\u0275\u0275template"](2,Ye,3,3,"button",71),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit,i=d["\u0275\u0275nextContext"](2);d["\u0275\u0275property"]("ngClass",d["\u0275\u0275pureFunction2"](3,q,i.selectedPartner==n.name,i.selectedPartner!=n.name)),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.autoShare),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.autoShare)}}function Ge(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",87),d["\u0275\u0275elementStart"](1,"p"),d["\u0275\u0275text"](2),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](3,"ol",88),d["\u0275\u0275elementStart"](4,"li"),d["\u0275\u0275text"](5,"Open your App"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](6,"li"),d["\u0275\u0275text"](7,"Go to the Results tab and select the workout you wish to share. Tap Share in the upper right "),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](8,"li"),d["\u0275\u0275text"](9,"Tap Lose It!"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](10,"li"),d["\u0275\u0275text"](11,"The time and calories of your workout will appear in another screen. Tap \u201cAdd\u201d in the upper right hand corner "),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](12,"li"),d["\u0275\u0275text"](13,'From here you will have two options: go back to Fitdigits, or Remain in Lose It!. Tap "Remain in Lose It!" to view your shared results. '),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](14,"li"),d["\u0275\u0275text"](15,"Scroll to the appropriate date to view your posted workout! "),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](4);d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"]("The iOS version of Fitdigits offers the ability to post your workout results to Lose It! directly from the ",n.ThemeService.baseAppName," app. Make sure you have downloaded Lose It! and have created an account on your device before starting.")}}function Ue(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"mat-accordion"),d["\u0275\u0275elementStart"](1,"mat-expansion-panel",77),d["\u0275\u0275listener"]("opened",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"](3).panelOpenState=!0})("closed",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"](3).panelOpenState=!1}),d["\u0275\u0275elementStart"](2,"mat-expansion-panel-header",35),d["\u0275\u0275elementStart"](3,"mat-panel-title",36),d["\u0275\u0275element"](4,"img",37),d["\u0275\u0275elementStart"](5,"h3",38),d["\u0275\u0275text"](6),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](7,"mat-panel-description",39),d["\u0275\u0275elementStart"](8,"div",42),d["\u0275\u0275text"](9),d["\u0275\u0275pipe"](10,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](11,"div",44),d["\u0275\u0275template"](12,Te,4,3,"div",48),d["\u0275\u0275template"](13,De,5,4,"a",46),d["\u0275\u0275template"](14,Le,4,3,"button",61),d["\u0275\u0275template"](15,Ae,3,2,"p",47),d["\u0275\u0275template"](16,ze,3,2,"p",47),d["\u0275\u0275template"](17,He,2,5,"p",49),d["\u0275\u0275template"](18,We,3,6,"p",50),d["\u0275\u0275template"](19,Ge,16,1,"div",86),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"]().$implicit,r=d["\u0275\u0275nextContext"](2);d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("expanded",!1),d["\u0275\u0275advance"](3),d["\u0275\u0275propertyInterpolate"]("src",i.imageSrc,d["\u0275\u0275sanitizeUrl"]),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",i.partnerName," "),d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](10,12,"ROOT."+i.partnerDescriptionKey)," "),d["\u0275\u0275advance"](3),d["\u0275\u0275property"]("ngIf",i.linked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf","loseit"!=i.name),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf","loseit"==i.name),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!i.partnerLinkUrl&&0==i.social),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.partnerLinkUrl&&0==i.social),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.linked&&1==i.platform&&r.preferred!=i.name),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.linked&&1==i.upload),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",r.showLoseitInfo&&"LoseIt!"==i.partnerName)}}function qe(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",85),d["\u0275\u0275template"](1,Ue,20,14,"mat-accordion",24),d["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.linked)}}function Ze(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",83),d["\u0275\u0275template"](1,qe,2,1,"div",84),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngForOf",n.nutritionPartners)}}function $e(e,t){1&e&&d["\u0275\u0275element"](0,"img",26)}function Xe(e,t){1&e&&d["\u0275\u0275element"](0,"img",27)}function Ke(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"div",82),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"]();return e.showWorkoutPartners=!e.showWorkoutPartners}),d["\u0275\u0275template"](1,$e,1,0,"img",10),d["\u0275\u0275template"](2,Xe,1,0,"img",11),d["\u0275\u0275elementStart"](3,"div",12),d["\u0275\u0275text"](4),d["\u0275\u0275pipe"](5,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!i.showWorkoutPartners),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.showWorkoutPartners),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](5,3,"ROOT.Workout_Sharing")," ")}}function Je(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",67),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275pipe"](3,"date"),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate2"]("",d["\u0275\u0275pipeBind1"](2,2,"ROOT.Linked"),": ",d["\u0275\u0275pipeBind2"](3,4,n.details.creation_date,"MMM d, y"),"")}}function Qe(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",67),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275pipe"](3,"date"),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate2"]("",d["\u0275\u0275pipeBind1"](2,2,"ROOT.Last Sync"),": ",d["\u0275\u0275pipeBind2"](3,4,n.details.last_sync_date,"MMM d, y"),"")}}function et(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",68),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate2"]("",d["\u0275\u0275pipeBind1"](2,2,"ROOT.Permissions"),": ",n.details.settings||"Not available","")}}function tt(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",64),d["\u0275\u0275template"](1,Je,4,7,"p",65),d["\u0275\u0275template"](2,Qe,4,7,"p",65),d["\u0275\u0275template"](3,et,3,4,"p",66),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.details.creation_date),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.details.last_sync_date),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf","N/A"!=n.details.settings)}}function nt(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"a",59),d["\u0275\u0275elementStart"](1,"button",63),d["\u0275\u0275element"](2,"img",58),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275propertyInterpolate"]("href",n.moreInfo,d["\u0275\u0275sanitizeUrl"]),d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](4,2,"ROOT.Info")," ")}}function it(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](4);return e.showRunkeeperInfo=!e.showRunkeeperInfo}),d["\u0275\u0275element"](1,"img",58),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,1,"ROOT.Info")," "))}function rt(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](4);return e.showTrainingPeaksInfo=!e.showTrainingPeaksInfo}),d["\u0275\u0275element"](1,"img",58),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,1,"ROOT.Info")," "))}function at(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).linkAccount(e)}),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](2,1,"ROOT.Link")," "))}function ot(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",62),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).unLink(e)}),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](2,1,"ROOT.Unlink")," "))}function st(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",60),d["\u0275\u0275template"](1,at,3,3,"button",61),d["\u0275\u0275template"](2,ot,3,3,"button",61),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.linked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.linked)}}function lt(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"a",56),d["\u0275\u0275elementStart"](1,"button",63),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275propertyInterpolate"]("routerLink",n.partnerLinkUrl),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,2,"ROOT.Link")," ")}}function ct(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"a",56),d["\u0275\u0275elementStart"](1,"button",63),d["\u0275\u0275text"](2),d["\u0275\u0275pipe"](3,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](3).$implicit;d["\u0275\u0275propertyInterpolate"]("routerLink",n.partnerLinkUrl),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](3,2,"ROOT.Unlink")," ")}}function dt(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",60),d["\u0275\u0275template"](1,lt,4,4,"a",45),d["\u0275\u0275template"](2,ct,4,4,"a",45),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.linked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.linked)}}function ut(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",72),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).setAutoShare(e,!0)}),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](2,1,"ROOT.Enable Auto Share")," "))}function pt(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"button",72),d["\u0275\u0275listener"]("click",function(){d["\u0275\u0275restoreView"](n);var e=d["\u0275\u0275nextContext"](3).$implicit;return d["\u0275\u0275nextContext"](2).setAutoShare(e,!1)}),d["\u0275\u0275text"](1),d["\u0275\u0275pipe"](2,"translate"),d["\u0275\u0275elementEnd"]()}2&e&&(d["\u0275\u0275advance"](1),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](2,1,"ROOT.Disable Auto Share")," "))}function ht(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"p",1),d["\u0275\u0275template"](1,ut,3,3,"button",71),d["\u0275\u0275template"](2,pt,3,3,"button",71),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](2).$implicit,i=d["\u0275\u0275nextContext"](2);d["\u0275\u0275property"]("ngClass",d["\u0275\u0275pureFunction2"](3,q,i.selectedPartner==n.name,i.selectedPartner!=n.name)),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.autoShare),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",n.autoShare)}}function mt(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",87),d["\u0275\u0275elementStart"](1,"p"),d["\u0275\u0275text"](2),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](4);d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"]("",n.ThemeService.baseAppName," only shares TO RunKeeper, it does not receive any information from them.")}}function gt(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",87),d["\u0275\u0275elementStart"](1,"p"),d["\u0275\u0275text"](2),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"](4);d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"]("",n.ThemeService.baseAppName," only shares TO TrainingPeaks, it does not receive any information from them.")}}function ft(e,t){if(1&e){var n=d["\u0275\u0275getCurrentView"]();d["\u0275\u0275elementStart"](0,"mat-accordion"),d["\u0275\u0275elementStart"](1,"mat-expansion-panel",77),d["\u0275\u0275listener"]("opened",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"](3).panelOpenState=!0})("closed",function(){return d["\u0275\u0275restoreView"](n),d["\u0275\u0275nextContext"](3).panelOpenState=!1}),d["\u0275\u0275elementStart"](2,"mat-expansion-panel-header",35),d["\u0275\u0275elementStart"](3,"mat-panel-title",36),d["\u0275\u0275element"](4,"img",37),d["\u0275\u0275elementStart"](5,"h3",38),d["\u0275\u0275text"](6),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](7,"mat-panel-description",39),d["\u0275\u0275elementStart"](8,"div",42),d["\u0275\u0275text"](9),d["\u0275\u0275pipe"](10,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](11,"div",44),d["\u0275\u0275template"](12,tt,4,3,"div",48),d["\u0275\u0275template"](13,nt,5,4,"a",46),d["\u0275\u0275template"](14,it,4,3,"button",61),d["\u0275\u0275template"](15,rt,4,3,"button",61),d["\u0275\u0275template"](16,st,3,2,"p",47),d["\u0275\u0275template"](17,dt,3,2,"p",47),d["\u0275\u0275template"](18,ht,3,6,"p",49),d["\u0275\u0275template"](19,mt,3,1,"div",86),d["\u0275\u0275template"](20,gt,3,1,"div",86),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()}if(2&e){var i=d["\u0275\u0275nextContext"]().$implicit,r=d["\u0275\u0275nextContext"](2);d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("expanded",!1),d["\u0275\u0275advance"](3),d["\u0275\u0275propertyInterpolate"]("src",i.imageSrc,d["\u0275\u0275sanitizeUrl"]),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",i.partnerName," "),d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](10,13,"ROOT."+i.partnerDescriptionKey)," "),d["\u0275\u0275advance"](3),d["\u0275\u0275property"]("ngIf",i.linked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf","runkeeper"!=i.name&&"trainingpeaks"!=i.name),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf","runkeeper"==i.name),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf","trainingpeaks"==i.name),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!i.partnerLinkUrl&&0==i.social),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.partnerLinkUrl&&0==i.social),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",i.linked&&1==i.upload),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",r.showRunkeeperInfo&&"RunKeeper"==i.partnerName),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",r.showTrainingPeaksInfo&&"TrainingPeaks"==i.partnerName)}}function vt(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",85),d["\u0275\u0275template"](1,ft,21,15,"mat-accordion",24),d["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!n.linked)}}function yt(e,t){if(1&e&&(d["\u0275\u0275elementStart"](0,"div",83),d["\u0275\u0275template"](1,vt,2,1,"div",84),d["\u0275\u0275elementEnd"]()),2&e){var n=d["\u0275\u0275nextContext"]();d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngForOf",n.workoutSharePartners)}}var bt=function(e){return{"dark-theme":e}},xt=function(){function e(e,t,n,i,r,a,o,s,l){var c=this;this.titleService=e,this.partnersService=t,this.dialog=n,this.AccountService=i,this.ThemeService=r,this.PermissionsService=a,this.window=o,this.route=s,this.translate=l,this.showLoadingOverlay=!1,this.preferred="",this.tipsPartnersURL="https://my.fitdigits.com/partners/",this.daily_activity_link="/dailyactivity",this.isMobileEmbedded=!1,this.showDailyPartners=!0,this.showWorkoutPartners=!0,this.showNutritionPartners=!0,this.linkedPartners=[],this.panelOpenState=!1,this.showLinkedPartners=!0,this.showLoseitInfo=!1,this.showRunkeeperInfo=!0,this.showTrainingPeaksInfo=!0,this.show_data_message=!1,this.platformPartners=[_t.applehealth,_t.googlefit,_t.garmin,_t.fitbit],this.nutritionPartners=[_t.loseit,_t.myfitnesspal],this.workoutSharePartners=[_t.runkeeper,_t.strava,_t.trainingpeaks],this.socialPartners=[_t.facebook,_t.twitter],l.addLangs(["en","es","fr","it","de"]),l.setDefaultLang("en"),this.route.queryParams.subscribe(function(e){c.partnerError=e.error,c.partnerLinked=e.partner_linked})}return e.prototype.errorPopup=function(){this.dialog.open(St,{data:this.errorDetails})},e.prototype.ngOnInit=function(){var e=this,t=new s.d({fromString:this.window.location.search?this.window.location.search.substr(1):""});"Garmin"!=this.partnerLinked&&"Fitbit"!=this.partnerLinked||(this.show_data_message=!0);try{var n=t.get("link"),i=t.get("providerName");if(this.showLoadingOverlay=!0,("fitbit"===i.toLowerCase()||"trainingpeaks"===i.toLowerCase())&&"true"===n){var r=t.get("set_preferred");this.set_preferred="true"==r,this.linkAccountMobile(i)}}catch(a){}this.selectedPartner&&(this.showNutritionPartners=!1,this.showWorkoutPartners=!1),console.log(this.ThemeService.isMobileEmbedded),this.panelOpenState=!1,this.AccountService.isMobileEmbedded().subscribe(function(t){e.isMobileEmbedded=t}),this.AccountService.isLoggedIn&&this.partnersService.getPartnerAuthorizedList().subscribe(function(t){if(e.showLoadingOverlay=!0,e.errorDetails){var n=atob(e.errorDetails.split("#_=_")[0]);e.errorDetails=JSON.parse(n),e.errorPopup()}for(var i=0;i<t.response.partners.length;i++){var r=Object.keys(t.response.partners[i])[0];t.response.partners[i][r].authorized&&"withings"!=r.toLowerCase()&&e.linkedPartners.push(_t[r.toLowerCase()])}e.linkedPartners.sort(function(e,t){return e.platform?-1:1});for(var a=0;a<e.platformPartners.length;a++)for(var o=0;o<t.response.partners.length;o++){var s=Object.keys(t.response.partners[o])[0],l=e.platformPartners[a].partnerName;if(s.replace(/ +/g,"").toLowerCase()==l.replace(/ +/g,"").toLowerCase()){e.platformPartners[a].linked=t.response.partners[o][s].authorized,e.platformPartners[a].preferred=t.response.partners[o][s].preferred,!0===e.platformPartners[a].preferred&&(e.preferred=e.platformPartners[a].name),e.platformPartners[a].details=t.response.partners[o][s].details,e.platformPartners[a].autoShare=t.response.partners[o][s].auto_share,e.platformPartners[a].autoImport=t.response.partners[o][s].auto_import;break}}for(a=0;a<e.nutritionPartners.length;a++)for(o=0;o<t.response.partners.length;o++)if(s=Object.keys(t.response.partners[o])[0],l=e.nutritionPartners[a].partnerName,s.replace(/ +/g,"").toLowerCase()==l.replace(/ +/g,"").toLowerCase()){e.nutritionPartners[a].linked=t.response.partners[o][s].authorized,e.nutritionPartners[a].preferred=t.response.partners[o][s].preferred,!0===e.nutritionPartners[a].preferred&&(e.preferred=e.nutritionPartners[a].name),e.nutritionPartners[a].autoShare=t.response.partners[o][s].auto_share,e.nutritionPartners[a].autoImport=t.response.partners[o][s].auto_import;break}for(a=0;a<e.workoutSharePartners.length;a++)for(o=0;o<t.response.partners.length;o++)if(s=Object.keys(t.response.partners[o])[0],l=e.workoutSharePartners[a].partnerName,s.replace(/ +/g,"").toLowerCase()==l.replace(/ +/g,"").toLowerCase()){e.workoutSharePartners[a].linked=t.response.partners[o][s].authorized,e.workoutSharePartners[a].preferred=t.response.partners[o][s].preferred,!0===e.workoutSharePartners[a].preferred&&(e.preferred=e.workoutSharePartners[a].name),e.workoutSharePartners[a].autoShare=t.response.partners[o][s].auto_share,e.workoutSharePartners[a].autoImport=t.response.partners[o][s].auto_import;break}for(a=0;a<e.socialPartners.length;a++)for(o=0;o<t.response.partners.length;o++)if(s=Object.keys(t.response.partners[o])[0],l=e.socialPartners[a].partnerName,s.replace(/ +/g,"").toLowerCase()==l.replace(/ +/g,"").toLowerCase()){e.socialPartners[a].linked=t.response.partners[o][s].authorized,e.socialPartners[a].preferred=t.response.partners[o][s].preferred,!0===e.socialPartners[a].preferred&&(e.preferred=e.socialPartners[a].name),e.socialPartners[a].autoShare=t.response.partners[o][s].auto_share,e.socialPartners[a].autoImport=t.response.partners[o][s].auto_import;break}e.showLoadingOverlay=!1})},e.prototype.linkAccountMobile=function(e){this.partnersService.connectPingPartner(e,this.set_preferred,!0).subscribe(function(e){window.location.href=e.response.authorize.uri})},e.prototype.linkAccount=function(e){this.preferred&&!0===e.platform?this.dialog.open(wt,{data:e,maxWidth:"100vw",maxHeight:"100vh"}):this.partnersService.connectPingPartner(e.name,!0,this.ThemeService.isMobileEmbedded).subscribe(function(e){console.log(e.response.authorize.uri),window.location.href=e.response.authorize.uri})},e.prototype.unLink=function(e){var t=this;this.partnersService.disconnectPartner(e.name).subscribe(function(n){e.preferred=!1,t.preferred="",e.linked=!1})},e.prototype.setPreferredPartner=function(e){var t=this;this.partnersService.setPreferred(e.name).subscribe(function(n){e.preferred=!0,t.preferred=e.name})},e.prototype.setAutoShare=function(e,t){this.partnersService.setAutoShare(e.name,t).subscribe(function(n){e.autoShare=t})},e.prototype.setAutoImport=function(e,t){this.partnersService.setAutoImport(e.name,t).subscribe(function(n){e.autoImport=t})},e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](u.Title),d["\u0275\u0275directiveInject"](i.a),d["\u0275\u0275directiveInject"](r.b),d["\u0275\u0275directiveInject"](a.a),d["\u0275\u0275directiveInject"](o.a),d["\u0275\u0275directiveInject"](c.a),d["\u0275\u0275directiveInject"](l.a),d["\u0275\u0275directiveInject"](p.a),d["\u0275\u0275directiveInject"](h.d))},e.\u0275cmp=d["\u0275\u0275defineComponent"]({type:e,selectors:[["app-partners"]],inputs:{errorDetails:"errorDetails"},decls:23,vars:23,consts:[[1,"loading-overlay",3,"hidden"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[1,"sectionStructure"],["id","fd-partners",3,"hidden"],["class","partner-linked-new",4,"ngIf"],["class","header-view","style","clear:both;",3,"click",4,"ngIf"],["style","clear:both;",4,"ngIf"],["style","text-align: center; font-weight: 300; color:#b2b2b2;margin-top:20px;",4,"ngIf"],[1,"header-view",3,"hidden","click"],["src","/static/img/icons/down_arrow_gray.png","class","openArrow",4,"ngIf"],["src","/static/img/icons/up_arrow_gray.png","class","openArrow",4,"ngIf"],[1,"header-view-header"],["class","partner-wrap clear-both",4,"ngIf"],["class","partner-subtext",3,"hidden","innerHTML",4,"ngIf"],["class","header-view",3,"click",4,"ngIf"],["class","partner-wrap","style","clear:both;",4,"ngIf"],[1,"clearboth",2,"margin","60px"],[1,"main-menu-section-heading"],[1,"title"],[1,"partner-linked-new"],[2,"margin","10px"],["src","/static/img/404-error-emoticon.png",2,"margin-right","10px","height","30px"],["src","/static/img/party_icon.png",2,"margin-right","10px"],[4,"ngIf"],[1,"header-view",2,"clear","both",3,"click"],["src","/static/img/icons/down_arrow_gray.png",1,"openArrow"],["src","/static/img/icons/up_arrow_gray.png",1,"openArrow"],[2,"clear","both"],[4,"ngFor","ngForOf"],[1,"partner-ribbon-container"],[1,"partner-ribbon-wrapper"],["class","partner-ribbon","style","background-color:#FCB424; border-color:#FCB424;",4,"ngIf"],["class","partner-ribbon","style","background-color:#4597CB; border-color:#4597CB;",4,"ngIf"],[1,"panel-container",2,"font-size","16px",3,"expanded","opened","closed"],[1,"partner-cell"],[1,"categoryHeader"],[1,"partnerIcon-unlinked",3,"src"],[1,"partner-title",2,"margin-top","8px"],[2,"display","block"],[2,"text-align","center"],["style","width:200px; margin-bottom: 10px;","src","../../static/img/icons/connect-with-strava.png","alt","Connect with Strava",4,"ngIf"],[1,"partner-description"],["class","garmin-note",4,"ngIf"],[1,"partner-link-details"],["class","ahrefButton",3,"routerLink",4,"ngIf"],["class","ahrefButton",3,"href",4,"ngIf"],["class","partner-manage-button",4,"ngIf"],["class","partner-linked-summary",4,"ngIf"],[3,"ngClass",4,"ngIf"],["style","min-width: 130px;",3,"ngClass",4,"ngIf"],[1,"partner-ribbon",2,"background-color","#FCB424","border-color","#FCB424"],[1,"partner-ribbon",2,"background-color","#4597CB","border-color","#4597CB"],["src","../../static/img/icons/connect-with-strava.png","alt","Connect with Strava",2,"width","200px","margin-bottom","10px"],[1,"garmin-note"],["routerLink","/fitness-sensors/ant"],[1,"ahrefButton",3,"routerLink"],[1,"themed-clear-button",2,"margin-top","5px"],["src","/static/img/review/i-info-button.png",1,"info-button"],[1,"ahrefButton",3,"href"],[1,"partner-manage-button"],["class","themed-clear-button",3,"click",4,"ngIf"],[1,"themed-clear-button",3,"click"],[1,"themed-clear-button"],[1,"partner-linked-summary"],["class","partner-details",4,"ngIf"],["class","partner-details","style","width: 200px;word-wrap: break-word;",4,"ngIf"],[1,"partner-details"],[1,"partner-details",2,"width","200px","word-wrap","break-word"],["src","/static/img/goals-icon-colored.png",2,"width","30px","margin-top","-8px"],[2,"min-width","130px",3,"ngClass"],["class","themed-clear-button autoShareBtn",3,"click",4,"ngIf"],[1,"themed-clear-button","autoShareBtn",3,"click"],[2,"text-align","center","font-weight","300","color","#b2b2b2","margin-top","20px"],[1,"partner-wrap","clear-both"],["class","full-width",4,"ngFor","ngForOf"],[1,"full-width"],[1,"panel-container",3,"expanded","opened","closed"],[3,"routerLink",4,"ngIf"],[3,"routerLink"],["src","/static/img/health-partners-icon.png",2,"width","30px"],[1,"partner-subtext",3,"hidden","innerHTML"],[1,"header-view",3,"click"],[1,"partner-wrap",2,"clear","both"],["class","partner-item",4,"ngFor","ngForOf"],[1,"partner-item"],["style","margin-top:30px; font-size:16px;",4,"ngIf"],[2,"margin-top","30px","font-size","16px"],[1,"list-spacing"]],template:function(e,t){1&e&&(d["\u0275\u0275element"](0,"div",0),d["\u0275\u0275elementStart"](1,"div",1),d["\u0275\u0275template"](2,b,5,3,"div",2),d["\u0275\u0275elementStart"](3,"div",3),d["\u0275\u0275elementStart"](4,"div",4),d["\u0275\u0275template"](5,x,4,1,"div",5),d["\u0275\u0275template"](6,w,6,5,"div",5),d["\u0275\u0275template"](7,k,6,5,"div",6),d["\u0275\u0275template"](8,ee,2,1,"div",7),d["\u0275\u0275template"](9,te,1,0,"div",8),d["\u0275\u0275elementStart"](10,"div",9),d["\u0275\u0275listener"]("click",function(){return t.showDailyPartners=!t.showDailyPartners}),d["\u0275\u0275template"](11,ne,1,0,"img",10),d["\u0275\u0275template"](12,ie,1,0,"img",11),d["\u0275\u0275elementStart"](13,"div",12),d["\u0275\u0275text"](14),d["\u0275\u0275pipe"](15,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275template"](16,we,2,1,"div",13),d["\u0275\u0275template"](17,Ce,2,8,"p",14),d["\u0275\u0275template"](18,Ee,6,5,"div",15),d["\u0275\u0275template"](19,Ze,2,1,"div",16),d["\u0275\u0275template"](20,Ke,6,5,"div",15),d["\u0275\u0275template"](21,yt,2,1,"div",16),d["\u0275\u0275element"](22,"div",17),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e&&(d["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngClass",d["\u0275\u0275pureFunction1"](21,bt,t.ThemeService.isDarkTheme)),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),d["\u0275\u0275advance"](2),d["\u0275\u0275property"]("hidden",t.showLoadingOverlay),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",t.partnerError),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",t.partnerLinked),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",t.linkedPartners.length>0&&!t.showLoadingOverlay),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",t.showLinkedPartners),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",0==t.linkedPartners.length&&!t.showLoadingOverlay&&t.AccountService.isLoggedIn),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("hidden",t.selectedPartner),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",!t.showDailyPartners),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",t.showDailyPartners),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](15,19,"ROOT.Daily Activity")," "),d["\u0275\u0275advance"](2),d["\u0275\u0275property"]("ngIf",t.showDailyPartners),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",null==t.selectedPartner),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",t.showNutritionPartners),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",null==t.selectedPartner),d["\u0275\u0275advance"](1),d["\u0275\u0275property"]("ngIf",t.showWorkoutPartners))},directives:[m.NgClass,m.NgIf,m.NgForOf,g.a,g.c,g.f,g.g,g.e,p.f],pipes:[h.c,m.DatePipe],styles:[".sidebarTextOpen[_ngcontent-%COMP%]{float:left;height:auto;visibility:visible;max-width:100px}.sidebarTextClosed[_ngcontent-%COMP%]{height:0;width:0;visibility:hidden}[appSliderItem][_ngcontent-%COMP%]{flex-shrink:0}.account-profile-menu[_ngcontent-%COMP%]{color:#b2b2b2;width:200px}.account-profile-menu[_ngcontent-%COMP%]   [_ngcontent-%COMP%]:hover{color:#efefef!important}.main_account_icon[_ngcontent-%COMP%]{max-height:30px;border-radius:5px;margin:5px 5px 0 0}.button-icon[_ngcontent-%COMP%]{margin-right:8px;float:left;margin-top:12px}.main_inbox_icon[_ngcontent-%COMP%]{width:38px;margin:10px 10px 0}.header-logo-open[_ngcontent-%COMP%]{margin:10px 0 0 240px;float:left}.header-logo-closed[_ngcontent-%COMP%]{margin:10px 0 0 80px;float:left}.list-spacing[_ngcontent-%COMP%]{line-height:1.8em}.subtitle[_ngcontent-%COMP%]{font-size:24px}p[_ngcontent-%COMP%]{margin:0 0 20px}.header-view-header[_ngcontent-%COMP%]{margin-bottom:10px;border-radius:5px;border-bottom:1px solid #b2b2b2;cursor:pointer}.header-view[_ngcontent-%COMP%]{margin-top:10px}.support-content[_ngcontent-%COMP%]{margin-top:20px;float:left}h4[_ngcontent-%COMP%]{margin:30px 0}.support-audio[_ngcontent-%COMP%]{width:100%;max-width:765px;margin:auto auto 20px}.support-image-large[_ngcontent-%COMP%]{max-width:100%;margin:20px 0}.support-image-single[_ngcontent-%COMP%]{float:right;width:250px}.header-band[_ngcontent-%COMP%]{background-color:rgba(234,235,236,.3);text-align:center;width:100%;margin-top:40px;line-height:30px;padding-right:20px;color:#b2b2b2;font-style:italic}.header-container[_ngcontent-%COMP%], .header-container-loggedout[_ngcontent-%COMP%]{background-color:transparent}.header-container-loggedout[_ngcontent-%COMP%]{margin-top:-50px;border:0 solid}.logged-out-header[_ngcontent-%COMP%]{float:left;width:100%;margin-top:20px}.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:20px}.signin-header[_ngcontent-%COMP%]{position:relative;margin-right:20px;padding-right:30px;padding-left:30px;z-index:20;color:#fff;width:100px;float:right}.top300[_ngcontent-%COMP%]{background:transparent url(/static/img/running_home1.png) top no-repeat;background-size:100%}.compTopText[_ngcontent-%COMP%]{margin:30px 0 0}.sensorColumnLeft[_ngcontent-%COMP%]{width:50%;float:left;clear:both;padding-right:20px}.sensorColumnRight[_ngcontent-%COMP%]{width:50%;float:right;padding-left:20px}.compBLEicon[_ngcontent-%COMP%]{float:right;height:80px}.note-info[_ngcontent-%COMP%]{border:1px dotted;width:100%;float:left;padding:10px}.note-info-icon[_ngcontent-%COMP%]{width:48px;float:left;margin:5px 20px 10px}.main-img[_ngcontent-%COMP%]{float:right;width:250px}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;background-size:contain;background-color:#fff;border-radius:5px;margin:0 0 20px;float:left;width:100%}.moveGoalProgressContent[_ngcontent-%COMP%]{margin:auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarSmallContainer[_ngcontent-%COMP%]{margin:0 auto;width:120px;height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOffBkgrnd.png) 0 no-repeat;background-size:contain}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarSmallOnBkgrnd[_ngcontent-%COMP%]{height:13px;background:transparent url(/static/img/bkgrnd/progressBarSmOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700;color:#000}.progressText[_ngcontent-%COMP%]{margin-bottom:6px}.goalProgressIcon[_ngcontent-%COMP%]{width:20px;margin-top:-3px}@media (max-width:480px){.moveGoalProgressContentListItem[_ngcontent-%COMP%]{margin:10px 5px}}@media (max-width:600px){.header-logo-new[_ngcontent-%COMP%]{float:left;margin-left:0;visibility:hidden;height:0;width:0}.top300[_ngcontent-%COMP%]{background-size:100% 250px}.compTopText[_ngcontent-%COMP%]{margin:0}.sensorColumnLeft[_ngcontent-%COMP%]{width:100%;padding-right:0}.sensorColumnRight[_ngcontent-%COMP%]{width:100%;padding-left:0}.compBLEicon[_ngcontent-%COMP%]{float:none}}@media (max-width:460px){.top300[_ngcontent-%COMP%]{background-size:100% 135px}.support-image-single[_ngcontent-%COMP%]{float:none;width:250px;clear:both;margin-left:50px}.main-img[_ngcontent-%COMP%]{float:none;clear:both;max-width:90%;margin:auto}}",'.partner-cell[_ngcontent-%COMP%]{height:60px}h3[_ngcontent-%COMP%]{font-size:18px;font-weight:400}.partnerIcon-unlinked[_ngcontent-%COMP%]{width:36px;height:36px;float:left;margin:0 20px 0 0}.categoryHeader[_ngcontent-%COMP%]{width:100%;float:left}#fd-partners[_ngcontent-%COMP%], .mat-expansion-panel-content[_ngcontent-%COMP%]{font-size:16px}#fd-partners[_ngcontent-%COMP%]{padding:0 0 20px;max-width:960px;margin:auto;text-align:left}#fd-partners[_ngcontent-%COMP%]   .panel-body[_ngcontent-%COMP%]{padding-top:0}#fd-partners[_ngcontent-%COMP%]   .partner-category[_ngcontent-%COMP%]{text-align:center;font-size:24px!important;color:#feb519;margin-bottom:15px;padding-bottom:5px;background:url(/static/img/bkgrnd/line-for-partners-page.png) bottom no-repeat}#fd-partners[_ngcontent-%COMP%]   .partner-subtext[_ngcontent-%COMP%]{font-size:16px!important;font-weight:400;text-align:center;font-style:italic;width:90%;margin:auto;padding-bottom:20px;padding-top:20px}#fd-partners[_ngcontent-%COMP%]   .btn-danger[_ngcontent-%COMP%]{padding:6px 12px;font-size:16px;color:#fff;background-color:#9b538f;border-color:#66375c}#fd-partners[_ngcontent-%COMP%]   .btn-danger[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#66375c;border-color:#66375c}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]{padding:0 40px 20px}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{color:#4597cb;font-size:36px;font-weight:500;margin-bottom:10px}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:18px;line-height:1.3}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]{color:#4597cb;font-weight:400;text-decoration:underline}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .link[_ngcontent-%COMP%]:hover{cursor:pointer}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .margin-top-40[_ngcontent-%COMP%]{margin-top:40px}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]{width:11%;float:left}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:90px;margin-top:20px;margin-left:15px}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%]   img.digifit-partner[_ngcontent-%COMP%]{width:105px;margin-left:15px}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .three-quarter-icon-container[_ngcontent-%COMP%]{width:82%;float:left}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .three-quarter-icon-container[_ngcontent-%COMP%] > a.contentTitle[_ngcontent-%COMP%]{color:#4597cb;font-weight:400;font-size:22px}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .three-quarter-icon-container[_ngcontent-%COMP%] > a.contentTitle[_ngcontent-%COMP%]:hover{color:#4597cb;cursor:pointer}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .partner-title[_ngcontent-%COMP%]{font-weight:400;color:#4597cb}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   h4.partner-instruction[_ngcontent-%COMP%]{font-size:20px;text-decoration:underline}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   h4.partner-instruction[_ngcontent-%COMP%]:focus{outline:0}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   h4.partner-instruction[_ngcontent-%COMP%]:hover{cursor:pointer}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   ul.instruction-list[_ngcontent-%COMP%]{list-style:decimal;padding:0 20px 20px}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   ul.instruction-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:18px}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .partner-ribbon-container[_ngcontent-%COMP%]{position:relative;min-height:238px;padding-bottom:20px;width:43%}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .partner-ribbon-container[_ngcontent-%COMP%]   .partner-ribbon-wrapper[_ngcontent-%COMP%]{position:absolute;overflow:hidden;width:80px;height:90px;top:-25px;right:-20px}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .partner-ribbon-container[_ngcontent-%COMP%]   .partner-ribbon[_ngcontent-%COMP%]{position:relative;display:block;text-align:center;font-size:14px;font-weight:700;color:#fff;transform:rotate(30deg);padding:6px 0;left:5px;top:30px;width:65px;z-index:10;line-height:20px;background-color:#1e597e;border-color:#1e597e;box-shadow:0 0 3px rgba(0,0,0,.3)}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .partner-ribbon-container[_ngcontent-%COMP%]   .partner-ribbon[_ngcontent-%COMP%]:after, #fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .partner-ribbon-container[_ngcontent-%COMP%]   .partner-ribbon[_ngcontent-%COMP%]:before{position:absolute;content:" ";line-height:0;border-top:0 solid #676767;border-left:0 solid transparent;border-right:0 solid transparent}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .partner[_ngcontent-%COMP%]   .caption[_ngcontent-%COMP%]{display:block;position:relative}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .partner-footnote[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-style:italic;font-size:15px;margin-top:0}#fd-partners[_ngcontent-%COMP%]   .fa-th-list.icon[_ngcontent-%COMP%]{font-size:18px;color:#fff;padding-right:5px}#fd-partners[_ngcontent-%COMP%]   .partner[_ngcontent-%COMP%]{display:block;padding:0 4px 4px;margin-bottom:5px;position:relative;text-align:left}#fd-partners[_ngcontent-%COMP%]   .partner.linked[_ngcontent-%COMP%]{border:1px solid #e2e3e4;min-height:120px;float:left;padding-top:10px}#fd-partners[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]{border-top:7px solid;border-right:7px solid transparent;border-left:7px solid transparent}#fd-partners[_ngcontent-%COMP%]   .caret[_ngcontent-%COMP%]:hover{color:#fff}#fd-partners[_ngcontent-%COMP%]   .btn-group[_ngcontent-%COMP%]{position:absolute;right:5px}#fd-partners[_ngcontent-%COMP%]   .error-msg[_ngcontent-%COMP%]{margin-top:10px;margin-left:5px;font-size:12px;color:#f43a07;font-weight:400}#fd-partners[_ngcontent-%COMP%]   .partner-manage-button[_ngcontent-%COMP%]{margin:5px 3px 5px 0;float:right;text-align:right}#fd-partners[_ngcontent-%COMP%]   .partner-ribbon-container[_ngcontent-%COMP%]{position:relative}#fd-partners[_ngcontent-%COMP%]   .partner-ribbon-container[_ngcontent-%COMP%]   .partner-ribbon-wrapper[_ngcontent-%COMP%]{position:absolute;overflow:hidden;width:80px;height:90px;top:-25px;right:-20px}#fd-partners[_ngcontent-%COMP%]   .partner-ribbon-container[_ngcontent-%COMP%]   .partner-ribbon[_ngcontent-%COMP%]{position:relative;display:block;text-align:center;font-size:14px;font-weight:700;color:#fff;transform:rotate(30deg);padding:6px 0;left:5px;top:30px;width:65px;z-index:10;line-height:20px;background-color:#1e597e;border-color:#1e597e;box-shadow:0 0 3px rgba(0,0,0,.3)}#fd-partners[_ngcontent-%COMP%]   .partner-ribbon-container[_ngcontent-%COMP%]   .partner-ribbon[_ngcontent-%COMP%]:after, #fd-partners[_ngcontent-%COMP%]   .partner-ribbon-container[_ngcontent-%COMP%]   .partner-ribbon[_ngcontent-%COMP%]:before{position:absolute;content:" ";line-height:0;border-top:0 solid #676767;border-left:0 solid transparent;border-right:0 solid transparent}#fd-partners[_ngcontent-%COMP%]   .partner[_ngcontent-%COMP%]   .caption[_ngcontent-%COMP%]{display:block;position:relative;float:left}#fd-partners[_ngcontent-%COMP%]   section.image-container[_ngcontent-%COMP%]{width:84px;height:64px;float:left;margin-left:5px;margin-right:5px}.partnerIcon[_ngcontent-%COMP%]{margin-top:15px;margin-left:5px;margin-bottom:8px}#fd-partners[_ngcontent-%COMP%]   section.image-container[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:64px}#fd-partners[_ngcontent-%COMP%]   section.image-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%]{position:absolute;display:block;bottom:0;margin-left:7px}#fd-partners[_ngcontent-%COMP%]   section.image-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{display:block;font-size:14px}#fd-partners[_ngcontent-%COMP%]   section.image-container[_ngcontent-%COMP%]   .links[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]:hover{text-decoration:underline}#fd-partners[_ngcontent-%COMP%]   section.partner-content[_ngcontent-%COMP%]{margin-left:0}#fd-partners[_ngcontent-%COMP%]   section.partner-content[_ngcontent-%COMP%] > h3.partner-title[_ngcontent-%COMP%]{font-size:24px;font-weight:400;margin-bottom:5px;top:8px;margin-left:18%}.partner-description[_ngcontent-%COMP%]{width:100%;font-weight:400;font-size:16px;margin-left:0;float:left;min-height:60px;display:block}.partner-link-details[_ngcontent-%COMP%]{clear:both;float:left;width:100%;margin-top:20px;border-bottom:1px solid;padding-bottom:10px;margin-bottom:10px}.partner-linked-summary[_ngcontent-%COMP%]{clear:both;float:left;width:100%;margin-bottom:20px}.info-button[_ngcontent-%COMP%]{width:16px;margin-top:-3px}.partner-title-selected[_ngcontent-%COMP%]{clear:both;font-size:32px;text-align:center}.image-container-selected[_ngcontent-%COMP%]{text-align:center}.partner-image-selected[_ngcontent-%COMP%]{float:left;width:100%;text-align:center}.partner-description-selected[_ngcontent-%COMP%]{margin-left:0}.partnerIcon[_ngcontent-%COMP%]{width:64px}.partnerIcon-selected[_ngcontent-%COMP%]{width:128px;margin-bottom:20px}.partner-details-section-selected[_ngcontent-%COMP%]{margin-left:0;margin-bottom:10px}.partner-manage-button-selected[_ngcontent-%COMP%]{margin-left:0}.garmin-note[_ngcontent-%COMP%]{margin-top:10px;float:left;font-style:italic}@media only screen and (max-device-width:680px){#fd-partners[_ngcontent-%COMP%]   section.partner-content[_ngcontent-%COMP%] > p.partner-description[_ngcontent-%COMP%]{margin-left:0;float:none}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]{padding:0 20px 20px}#fd-partners[_ngcontent-%COMP%]   .partner-subtext[_ngcontent-%COMP%]{width:100%}#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .partner-ribbon-container[_ngcontent-%COMP%]{min-height:100px;width:100%}#fd-partners[_ngcontent-%COMP%]   section.image-container[_ngcontent-%COMP%]{height:auto;float:left}#fd-partners[_ngcontent-%COMP%]   .partner-manage-button[_ngcontent-%COMP%]{clear:right}}@media only screen and (min-device-width:641px) and (max-device-width:1024px){#fd-partners[_ngcontent-%COMP%]   .partner-data[_ngcontent-%COMP%]   .partner-ribbon-container[_ngcontent-%COMP%]{min-height:260px;padding:0}}#fd-partners[_ngcontent-%COMP%]   section.partner-content[_ngcontent-%COMP%]   .btn-gray[_ngcontent-%COMP%], #fd-partners[_ngcontent-%COMP%]   section.partner-content[_ngcontent-%COMP%]   .btn-primary[_ngcontent-%COMP%]{padding:5px 20px;font-size:12px}.partner-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-bottom:15px}.btn-partners[_ngcontent-%COMP%]{color:#4597cb;background-color:#fff;border-color:#4597cb!important;padding:6px 0!important;border-radius:0}.btn-partners.active[_ngcontent-%COMP%], .btn-partners[_ngcontent-%COMP%]:active, .btn-partners[_ngcontent-%COMP%]:focus, .btn-partners[_ngcontent-%COMP%]:hover, .open[_ngcontent-%COMP%]   .dropdown-toggle.btn-partners[_ngcontent-%COMP%]{color:#fff;background-color:#4597cb;border-color:#4597cb}.btn-partners.active[_ngcontent-%COMP%], .btn-partners[_ngcontent-%COMP%]:active, .open[_ngcontent-%COMP%]   .dropdown-toggle.btn-partners[_ngcontent-%COMP%]{background-image:none}.btn-partners.disabled[_ngcontent-%COMP%], .btn-partners.disabled.active[_ngcontent-%COMP%], .btn-partners.disabled[_ngcontent-%COMP%]:active, .btn-partners.disabled[_ngcontent-%COMP%]:focus, .btn-partners.disabled[_ngcontent-%COMP%]:hover, .btn-partners[disabled][_ngcontent-%COMP%], .btn-partners[disabled].active[_ngcontent-%COMP%], .btn-partners[disabled][_ngcontent-%COMP%]:active, .btn-partners[disabled][_ngcontent-%COMP%]:focus, .btn-partners[disabled][_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-partners[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-partners.active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-partners[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-partners[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-partners[_ngcontent-%COMP%]:hover{background-color:#b2b2b2;border-color:#4597cb}.btn-partners[_ngcontent-%COMP%]   .badge[_ngcontent-%COMP%]{color:#3fae48;background-color:#fff}.partner-item[_ngcontent-%COMP%]{width:100%;margin:0}.partner-details[_ngcontent-%COMP%]{padding:0;margin:0;font-size:16px}.partner-border[_ngcontent-%COMP%]{height:5px;width:100%;margin-bottom:15px;padding-bottom:5px;background:url(/static/img/bkgrnd/line-for-partners-page.png) bottom no-repeat}.partner-details-section[_ngcontent-%COMP%]{margin:0 0 10px 18%;float:left;clear:both}.partner-section-title[_ngcontent-%COMP%]{margin:20px 0;border-top:1px solid #b2b2b2;border-bottom:1px solid #b2b2b2;font-size:26px;background-color:#e2e3e4}.autoShareButton[_ngcontent-%COMP%]{float:left!important;min-width:200px!important;text-align:left!important;margin-left:5px}.autoShareBtn[_ngcontent-%COMP%]{float:left}.info_link[_ngcontent-%COMP%]{margin-left:10px;white-space:nowrap;margin-top:10px;float:left}@media only screen and (max-device-width:820px){.partner-item[_ngcontent-%COMP%]{flex:100%;margin:0}.partner-details-section[_ngcontent-%COMP%]{margin:0 0 10px 10px}.autoShareButton[_ngcontent-%COMP%]{float:right!important}.autoShareBtn[_ngcontent-%COMP%]{float:right}}@media only screen and (max-device-width:340px){.partner-details-section[_ngcontent-%COMP%]{float:none}}']}),e}(),_t=function(){function e(){}return e.applehealth={partnerName:"Apple Health",imageSrc:"/static/img/icons/health-logo-icon.png",imageLink:"http://www.apple.com/ios/health/",partnerDescriptionKey:"apple_health_description",name:"applehealth",partnerLinkUrl:"/partners/apple-health",moreInfo:"/partners/apple-health",platform:!0,social:!1,upload:!1,download:!1,linked:!1,preferred:!1,autoShare:!1,autoImport:!1,localInfo:!0,details:{}},e.googlefit={partnerName:"Google Fit",imageSrc:"/static/img/icons/googlefit-logo-icon.png",imageLink:"https://www.google.com/fit/",partnerDescriptionKey:"google_fit_description",name:"googlefit",partnerLinkUrl:"/partners/google-fit",moreInfo:"/partners/google-fit",platform:!0,social:!1,upload:!1,download:!1,linked:!1,preferred:!1,autoShare:!1,autoImport:!1,localInfo:!0,details:{}},e.fitbit={partnerName:"Fitbit",imageSrc:"/static/img/icons/partnerFitbitIcon.png",imageLink:"https://www.fitbit.com",partnerDescriptionKey:"fitbit_description",moreInfo:"/partners/fitbit",name:"fitbit",upload:!0,download:!1,platform:!0,social:!1,linked:!1,preferred:!1,autoShare:!1,autoImport:!1,localInfo:!1,details:{}},e.garmin={partnerName:"Garmin",imageSrc:"/static/img/icons/garmin-icon.png",imageLink:"https://garmin.com/",moreInfo:"/partners/garmin",partnerDescriptionKey:"garmin_description",name:"garmin",platform:!0,social:!1,upload:!1,download:!0,linked:!1,preferred:!1,autoShare:!1,autoImport:!1,localInfo:!1,details:{}},e.loseit={partnerName:"LoseIt!",imageSrc:"/static/img/icons/partnerLoseItIcon.png",imageLink:"http://www.loseit.com",moreInfo:"",partnerDescriptionKey:"loseit!_description",name:"loseit",partnerLinkUrl:"",platform:!1,social:!1,upload:!1,download:!1,linked:!1,preferred:!1,autoShare:!1,autoImport:!1,localInfo:!0,details:{}},e.myfitnesspal={partnerName:"MyFitnessPal",imageSrc:"/static/img/icons/partnerMyFitnessPalIcon.png",imageLink:"https://itunes.apple.com/us/app/calorie-counter-diet-tracker/id341232718?mt=8&ign-mpt=uo%3D4",partnerDescriptionKey:"myfitnesspal_description",moreInfo:"/partners/myfitnesspal",name:"myfitnesspal",platform:!1,social:!1,upload:!0,download:!1,linked:!1,preferred:!1,autoShare:!1,autoImport:!1,localInfo:!1,details:{}},e.runkeeper={partnerName:"RunKeeper",imageSrc:"/static/img/icons/partnerRunkeeperIcon.png",imageLink:"http://www.runkeeper.com/",partnerDescriptionKey:"runkeeper_description",moreInfo:"http://www.runkeeper.com/",name:"runkeeper",platform:!1,social:!1,upload:!0,download:!1,linked:!1,preferred:!1,autoShare:!1,autoImport:!1,localInfo:!0,details:{}},e.strava={partnerName:"Strava",imageSrc:"/static/img/icons/partnerStravaIcon.png",imageLink:"https://www.strava.com",partnerDescriptionKey:"strava_description",moreInfo:"https://www.strava.com",name:"strava",platform:!1,social:!1,upload:!0,download:!1,linked:!1,preferred:!1,autoShare:!1,autoImport:!1,localInfo:!1,details:{}},e.trainingpeaks={partnerName:"TrainingPeaks",imageSrc:"/static/img/icons/partnerTrainingPeaksIcon.png",imageLink:"http://home.trainingpeaks.com/",partnerDescriptionKey:"trainingpeaks_description",moreInfo:"https://home.trainingpeaks.com/",name:"trainingpeaks",platform:!1,social:!1,upload:!0,download:!1,linked:!1,preferred:!1,autoShare:!1,autoImport:!1,localInfo:!0,details:{}},e.facebook={partnerName:"Facebook",imageSrc:"/static/img/icons/facebookIcon.png",imageLink:"http://www.facebook.com/",partnerDescriptionKey:"facebook_description",moreInfo:"https://www.facebook.com/",name:"facebook",platform:!1,social:!0,upload:!1,download:!1,linked:!1,preferred:!1,autoShare:!1,autoImport:!1,localInfo:!0,details:{}},e.twitter={partnerName:"Twitter",imageSrc:"/static/img/icons/twitter-logo-partner.png",imageLink:"https://www.twitter.com/",partnerDescriptionKey:"twitter_description",moreInfo:"https://www.twitter.com/",name:"twitter",platform:!1,social:!0,upload:!1,download:!1,linked:!1,preferred:!1,autoShare:!1,autoImport:!1,localInfo:!0,details:{}},e}(),wt=function(){function e(e,t,n,i){this.dialogRef=e,this.ThemeService=t,this.partnersService=n,this.data=i,this.partner=this.data}return e.prototype.connect=function(e){this.partnersService.connectPingPartner(this.partner.name,!0,this.ThemeService.isMobileEmbedded).subscribe(function(e){window.location.href=e.response.authorize.uri})},e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](r.f),d["\u0275\u0275directiveInject"](o.a),d["\u0275\u0275directiveInject"](i.a),d["\u0275\u0275directiveInject"](r.a))},e.\u0275cmp=d["\u0275\u0275defineComponent"]({type:e,selectors:[["preferred-link"]],decls:29,vars:24,consts:[[1,"mat-primary"],[1,"modalClose"],["mat-button","",2,"float","right",3,"click"],[2,"margin","20px"],["aria-label","Submit",1,"themed-clear-button","create-button",2,"margin-right","20px",3,"click"],["aria-label","Submit",1,"themed-clear-button","delete-cancel",3,"click"]],template:function(e,t){1&e&&(d["\u0275\u0275elementStart"](0,"mat-toolbar",0),d["\u0275\u0275elementStart"](1,"mat-toolbar-row"),d["\u0275\u0275elementStart"](2,"h2"),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](5,"div",1),d["\u0275\u0275elementStart"](6,"button",2),d["\u0275\u0275listener"]("click",function(){return t.cancel()}),d["\u0275\u0275elementStart"](7,"mat-icon"),d["\u0275\u0275text"](8,"close"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](9,"mat-dialog-content"),d["\u0275\u0275elementStart"](10,"div",3),d["\u0275\u0275text"](11),d["\u0275\u0275pipe"](12,"translate"),d["\u0275\u0275element"](13,"br"),d["\u0275\u0275element"](14,"br"),d["\u0275\u0275text"](15),d["\u0275\u0275pipe"](16,"translate"),d["\u0275\u0275pipe"](17,"translate"),d["\u0275\u0275element"](18,"br"),d["\u0275\u0275element"](19,"br"),d["\u0275\u0275text"](20),d["\u0275\u0275pipe"](21,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](22,"mat-dialog-actions"),d["\u0275\u0275elementStart"](23,"button",4),d["\u0275\u0275listener"]("click",function(){return t.connect(!0)}),d["\u0275\u0275text"](24),d["\u0275\u0275pipe"](25,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](26,"button",5),d["\u0275\u0275listener"]("click",function(){return t.connect(!1)}),d["\u0275\u0275text"](27),d["\u0275\u0275pipe"](28,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e&&(d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate"](d["\u0275\u0275pipeBind1"](4,10,"ROOT.Preferred Daily Activity Provider")),d["\u0275\u0275advance"](8),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](12,12,"ROOT.You currently have another partner providing daily activity data.")," "),d["\u0275\u0275advance"](4),d["\u0275\u0275textInterpolate4"](" ",d["\u0275\u0275pipeBind1"](16,14,"ROOT.Setting")," ",t.partner.partnerName," ",d["\u0275\u0275pipeBind1"](17,16,"ROOT.as the preferred provider for daily activity means Fitdigits will show\n\t\tdaily activity (steps, active calories, etc) only from")," ",t.partner.partnerName,". "),d["\u0275\u0275advance"](5),d["\u0275\u0275textInterpolate2"](" ",t.partner.partnerName," ",d["\u0275\u0275pipeBind1"](21,18,"ROOT.to be your Preferred Partner?")," "),d["\u0275\u0275advance"](4),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](25,20,"ROOT.Yes")," "),d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate1"](" ",d["\u0275\u0275pipeBind1"](28,22,"ROOT.No")," "))},directives:[f.a,f.c,v.b,y.a,r.d,r.c],pipes:[h.c],encapsulation:2}),e}(),St=function(){function e(e,t){this.dialogRef=e,this.data=t,this.errorDetails=this.data}return e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(d["\u0275\u0275directiveInject"](r.f),d["\u0275\u0275directiveInject"](r.a))},e.\u0275cmp=d["\u0275\u0275defineComponent"]({type:e,selectors:[["error-popup"]],decls:19,vars:9,consts:[[1,"md-primary"],["flex",""],["mat-button","",1,"md-icon-button",2,"float","right",3,"click"],["mat-dialog-content",""],[2,"margin","20px"],[2,"margin","10px"],["mat-dialog-actions","","layout","row"],["mat-button","",1,"md-primary",3,"click"]],template:function(e,t){1&e&&(d["\u0275\u0275elementStart"](0,"mat-toolbar",0),d["\u0275\u0275elementStart"](1,"mat-toolbar-row"),d["\u0275\u0275elementStart"](2,"h2"),d["\u0275\u0275text"](3),d["\u0275\u0275pipe"](4,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275element"](5,"span",1),d["\u0275\u0275elementStart"](6,"button",2),d["\u0275\u0275listener"]("click",function(){return t.cancel()}),d["\u0275\u0275text"](7," X "),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](8,"div",3),d["\u0275\u0275elementStart"](9,"div",4),d["\u0275\u0275elementStart"](10,"div",5),d["\u0275\u0275text"](11),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](12,"div",5),d["\u0275\u0275text"](13),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementStart"](14,"div",6),d["\u0275\u0275elementStart"](15,"button",7),d["\u0275\u0275listener"]("click",function(){return t.cancel()}),d["\u0275\u0275elementStart"](16,"span"),d["\u0275\u0275text"](17),d["\u0275\u0275pipe"](18,"translate"),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"](),d["\u0275\u0275elementEnd"]()),2&e&&(d["\u0275\u0275advance"](3),d["\u0275\u0275textInterpolate"](d["\u0275\u0275pipeBind1"](4,5,"ROOT.Error linking partner")),d["\u0275\u0275advance"](8),d["\u0275\u0275textInterpolate1"]("We ran into an error trying to connect your account with ",t.errorDetails.partner,". Please try again or contact Support."),d["\u0275\u0275advance"](2),d["\u0275\u0275textInterpolate2"]("",t.errorDetails.error," ",t.errorDetails.msg,""),d["\u0275\u0275advance"](4),d["\u0275\u0275textInterpolate"](d["\u0275\u0275pipeBind1"](18,7,"ROOT.OK")))},directives:[f.a,f.c,v.b,r.d,r.c],pipes:[h.c],encapsulation:2}),e}()},tyNb:function(e,t,n){"use strict";n.d(t,"a",function(){return Ke}),n.d(t,"b",function(){return se}),n.d(t,"c",function(){return Z}),n.d(t,"d",function(){return On}),n.d(t,"e",function(){return Mn}),n.d(t,"f",function(){return In}),n.d(t,"g",function(){return Vn}),n.d(t,"h",function(){return Tn}),n.d(t,"i",function(){return Mt});var i=n("rePB"),r=n("JX7q"),a=n("uFwe"),o=n("KQm4"),s=n("Ji7U"),l=n("LK+K"),c=n("vuIU"),d=n("1OyB"),u=n("ofXK"),p=n("fXoL"),h=n("Cfvw"),m=n("LRne"),g=n("2Vo4"),f=n("itXk"),v=n("HDdC"),y=n("sVev"),b=n("GyhO"),x=n("NXyV"),_=n("EY2u"),w=n("EQ5u"),S=n("XNiG"),C=n("lJxs"),k=n("eIep"),O=n("IzEk"),E=n("JX91"),M=n("Kqap"),I=n("pLZG"),P=n("JIr8"),T=n("bOdf"),D=n("7o/Q"),L=n("4I5i");function R(e){return function(t){return 0===e?Object(_.b)():t.lift(new j(e))}}var j=function(){function e(t){if(Object(d.a)(this,e),this.total=t,this.total<0)throw new L.a}return Object(c.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new A(e,this.total))}}]),e}(),A=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i){var r;return Object(d.a)(this,n),(r=t.call(this,e)).total=i,r.ring=new Array,r.count=0,r}return Object(c.a)(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,i=this.count++;t.length<n?t.push(e):t[i%n]=e}},{key:"_complete",value:function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,i=this.ring,r=0;r<n;r++){var a=t++%n;e.next(i[a])}e.complete()}}]),n}(D.a),F=n("XDbj"),B=n("xbPD"),z=n("SpAZ"),N=n("SxV6"),H=n("5+tZ"),V=n("vkgz"),Y=n("x+ZX"),W=n("nYR2"),G=n("bHdf"),U=Object(c.a)(function e(t,n){Object(d.a)(this,e),this.id=t,this.url=n}),q=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i){var r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return Object(d.a)(this,n),(r=t.call(this,e,i)).navigationTrigger=a,r.restoredState=o,r}return Object(c.a)(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(U),Z=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r){var a;return Object(d.a)(this,n),(a=t.call(this,e,i)).urlAfterRedirects=r,a}return Object(c.a)(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(U),$=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r){var a;return Object(d.a)(this,n),(a=t.call(this,e,i)).reason=r,a}return Object(c.a)(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(U),X=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r){var a;return Object(d.a)(this,n),(a=t.call(this,e,i)).error=r,a}return Object(c.a)(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(U),K=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r,a){var o;return Object(d.a)(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return Object(c.a)(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(U),J=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r,a){var o;return Object(d.a)(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return Object(c.a)(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(U),Q=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r,a,o){var s;return Object(d.a)(this,n),(s=t.call(this,e,i)).urlAfterRedirects=r,s.state=a,s.shouldActivate=o,s}return Object(c.a)(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(U),ee=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r,a){var o;return Object(d.a)(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return Object(c.a)(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(U),te=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i,r,a){var o;return Object(d.a)(this,n),(o=t.call(this,e,i)).urlAfterRedirects=r,o.state=a,o}return Object(c.a)(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(U),ne=function(){function e(t){Object(d.a)(this,e),this.route=t}return Object(c.a)(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),ie=function(){function e(t){Object(d.a)(this,e),this.route=t}return Object(c.a)(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),re=function(){function e(t){Object(d.a)(this,e),this.snapshot=t}return Object(c.a)(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ae=function(){function e(t){Object(d.a)(this,e),this.snapshot=t}return Object(c.a)(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),oe=function(){function e(t){Object(d.a)(this,e),this.snapshot=t}return Object(c.a)(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),se=function(){function e(t){Object(d.a)(this,e),this.snapshot=t}return Object(c.a)(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),le=function(){function e(t,n,i){Object(d.a)(this,e),this.routerEvent=t,this.position=n,this.anchor=i}return Object(c.a)(e,[{key:"toString",value:function(){var e=this.position?"".concat(this.position[0],", ").concat(this.position[1]):null;return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(e,"')")}}]),e}(),ce="primary",de=function(){function e(t){Object(d.a)(this,e),this.params=t||{}}return Object(c.a)(e,[{key:"has",value:function(e){return Object.prototype.hasOwnProperty.call(this.params,e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function ue(e){return new de(e)}function pe(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function he(e,t,n){var i=n.path.split("/");if(i.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||i.length<e.length))return null;for(var r={},a=0;a<i.length;a++){var o=i[a],s=e[a];if(o.startsWith(":"))r[o.substring(1)]=s;else if(o!==s.path)return null}return{consumed:e.slice(0,i.length),posParams:r}}function me(e,t){var n,i=e?Object.keys(e):void 0,r=t?Object.keys(t):void 0;if(!i||!r||i.length!=r.length)return!1;for(var a=0;a<i.length;a++)if(!ge(e[n=i[a]],t[n]))return!1;return!0}function ge(e,t){if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;var n=Object(o.a)(e).sort(),i=Object(o.a)(t).sort();return n.every(function(e,t){return i[t]===e})}return e===t}function fe(e){return Array.prototype.concat.apply([],e)}function ve(e){return e.length>0?e[e.length-1]:null}function ye(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function be(e){return Object(p["\u0275isObservable"])(e)?e:Object(p["\u0275isPromise"])(e)?Object(h.a)(Promise.resolve(e)):Object(m.a)(e)}function xe(e,t,n){return n?function(e,t){return me(e,t)}(e.queryParams,t.queryParams)&&_e(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(function(n){return ge(e[n],t[n])})}(e.queryParams,t.queryParams)&&we(e.root,t.root)}function _e(e,t){if(!Ee(e.segments,t.segments))return!1;if(e.numberOfChildren!==t.numberOfChildren)return!1;for(var n in t.children){if(!e.children[n])return!1;if(!_e(e.children[n],t.children[n]))return!1}return!0}function we(e,t){return Se(e,t,t.segments)}function Se(e,t,n){if(e.segments.length>n.length)return!!Ee(e.segments.slice(0,n.length),n)&&!t.hasChildren();if(e.segments.length===n.length){if(!Ee(e.segments,n))return!1;for(var i in t.children){if(!e.children[i])return!1;if(!we(e.children[i],t.children[i]))return!1}return!0}var r=n.slice(0,e.segments.length),a=n.slice(e.segments.length);return!!Ee(e.segments,r)&&!!e.children.primary&&Se(e.children.primary,t,a)}var Ce=function(){function e(t,n,i){Object(d.a)(this,e),this.root=t,this.queryParams=n,this.fragment=i}return Object(c.a)(e,[{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){return Pe.serialize(this)}}]),e}(),ke=function(){function e(t,n){var i=this;Object(d.a)(this,e),this.segments=t,this.children=n,this.parent=null,ye(n,function(e,t){return e.parent=i})}return Object(c.a)(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}},{key:"toString",value:function(){return Te(this)}}]),e}(),Oe=function(){function e(t,n){Object(d.a)(this,e),this.path=t,this.parameters=n}return Object(c.a)(e,[{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=ue(this.parameters)),this._parameterMap}},{key:"toString",value:function(){return Be(this)}}]),e}();function Ee(e,t){return e.length===t.length&&e.every(function(e,n){return e.path===t[n].path})}var Me=Object(c.a)(function e(){Object(d.a)(this,e)}),Ie=function(){function e(){Object(d.a)(this,e)}return Object(c.a)(e,[{key:"parse",value:function(e){var t=new Ye(e);return new Ce(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){var t,n,i="/".concat(De(e.root,!0)),r=(t=e.queryParams,(n=Object.keys(t).map(function(e){var n=t[e];return Array.isArray(n)?n.map(function(t){return"".concat(Re(e),"=").concat(Re(t))}).join("&"):"".concat(Re(e),"=").concat(Re(n))})).length?"?".concat(n.join("&")):""),a="string"==typeof e.fragment?"#".concat(encodeURI(e.fragment)):"";return"".concat(i).concat(r).concat(a)}}]),e}(),Pe=new Ie;function Te(e){return e.segments.map(function(e){return Be(e)}).join("/")}function De(e,t){if(!e.hasChildren())return Te(e);if(t){var n=e.children.primary?De(e.children.primary,!1):"",i=[];return ye(e.children,function(e,t){t!==ce&&i.push("".concat(t,":").concat(De(e,!1)))}),i.length>0?"".concat(n,"(").concat(i.join("//"),")"):n}var r=function(e,t){var n=[];return ye(e.children,function(e,i){i===ce&&(n=n.concat(t(e,i)))}),ye(e.children,function(e,i){i!==ce&&(n=n.concat(t(e,i)))}),n}(e,function(t,n){return n===ce?[De(e.children.primary,!1)]:["".concat(n,":").concat(De(t,!1))]});return 1===Object.keys(e.children).length&&null!=e.children.primary?"".concat(Te(e),"/").concat(r[0]):"".concat(Te(e),"/(").concat(r.join("//"),")")}function Le(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Re(e){return Le(e).replace(/%3B/gi,";")}function je(e){return Le(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ae(e){return decodeURIComponent(e)}function Fe(e){return Ae(e.replace(/\+/g,"%20"))}function Be(e){return"".concat(je(e.path)).concat((t=e.parameters,Object.keys(t).map(function(e){return";".concat(je(e),"=").concat(je(t[e]))}).join("")));var t}var ze=/^[^\/()?;=#]+/;function Ne(e){var t=e.match(ze);return t?t[0]:""}var He=/^[^=?&#]+/,Ve=/^[^?&#]+/,Ye=function(){function e(t){Object(d.a)(this,e),this.url=t,this.remaining=t}return Object(c.a)(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ke([],{}):new ke([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new ke(e,t)),n}},{key:"parseSegment",value:function(){var e=Ne(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new Oe(Ae(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=Ne(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var i=Ne(this.remaining);i&&this.capture(n=i)}e[Ae(t)]=Ae(n)}}},{key:"parseQueryParam",value:function(e){var t,n=(t=this.remaining.match(He))?t[0]:"";if(n){this.capture(n);var i="";if(this.consumeOptional("=")){var r=function(e){var t=e.match(Ve);return t?t[0]:""}(this.remaining);r&&this.capture(i=r)}var a=Fe(n),o=Fe(i);if(e.hasOwnProperty(a)){var s=e[a];Array.isArray(s)||(e[a]=s=[s]),s.push(o)}else e[a]=o}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Ne(this.remaining),i=this.remaining[n.length];if("/"!==i&&")"!==i&&";"!==i)throw new Error("Cannot parse url '".concat(this.url,"'"));var r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r=ce);var a=this.parseChildren();t[r]=1===Object.keys(a).length?a.primary:new ke([],a),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),We=function(){function e(t){Object(d.a)(this,e),this._root=t}return Object(c.a)(e,[{key:"root",get:function(){return this._root.value}},{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=Ge(e,this._root);return t?t.children.map(function(e){return e.value}):[]}},{key:"firstChild",value:function(e){var t=Ge(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=Ue(e,this._root);return t.length<2?[]:t[t.length-2].children.map(function(e){return e.value}).filter(function(t){return t!==e})}},{key:"pathFromRoot",value:function(e){return Ue(e,this._root).map(function(e){return e.value})}}]),e}();function Ge(e,t){if(e===t.value)return t;var n,i=Object(a.a)(t.children);try{for(i.s();!(n=i.n()).done;){var r=Ge(e,n.value);if(r)return r}}catch(o){i.e(o)}finally{i.f()}return null}function Ue(e,t){if(e===t.value)return[t];var n,i=Object(a.a)(t.children);try{for(i.s();!(n=i.n()).done;){var r=Ue(e,n.value);if(r.length)return r.unshift(t),r}}catch(o){i.e(o)}finally{i.f()}return[]}var qe=function(){function e(t,n){Object(d.a)(this,e),this.value=t,this.children=n}return Object(c.a)(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function Ze(e){var t={};return e&&e.children.forEach(function(e){return t[e.value.outlet]=e}),t}var $e=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i){var a;return Object(d.a)(this,n),(a=t.call(this,e)).snapshot=i,nt(Object(r.a)(a),e),a}return Object(c.a)(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(We);function Xe(e,t){var n=function(e,t){var n=new et([],{},{},"",{},ce,t,null,e.root,-1,{});return new tt("",new qe(n,[]))}(e,t),i=new g.a([new Oe("",{})]),r=new g.a({}),a=new g.a({}),o=new g.a({}),s=new g.a(""),l=new Ke(i,r,o,s,a,ce,t,n.root);return l.snapshot=n.root,new $e(new qe(l,[]),n)}var Ke=function(){function e(t,n,i,r,a,o,s,l){Object(d.a)(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this._futureSnapshot=l}return Object(c.a)(e,[{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(C.a)(function(e){return ue(e)}))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(C.a)(function(e){return ue(e)}))),this._queryParamMap}},{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}}]),e}();function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,i=0;if("always"!==t)for(i=n.length-1;i>=1;){var r=n[i],a=n[i-1];if(r.routeConfig&&""===r.routeConfig.path)i--;else{if(a.component)break;i--}}return Qe(n.slice(i))}function Qe(e){return e.reduce(function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}},{params:{},data:{},resolve:{}})}var et=function(){function e(t,n,i,r,a,o,s,l,c,u,p){Object(d.a)(this,e),this.url=t,this.params=n,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=l,this._urlSegment=c,this._lastPathIndex=u,this._resolve=p}return Object(c.a)(e,[{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=ue(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ue(this.queryParams)),this._queryParamMap}},{key:"toString",value:function(){var e=this.url.map(function(e){return e.toString()}).join("/"),t=this.routeConfig?this.routeConfig.path:"";return"Route(url:'".concat(e,"', path:'").concat(t,"')")}}]),e}(),tt=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(e,i){var a;return Object(d.a)(this,n),(a=t.call(this,i)).url=e,nt(Object(r.a)(a),i),a}return Object(c.a)(n,[{key:"toString",value:function(){return it(this._root)}}]),n}(We);function nt(e,t){t.value._routerState=e,t.children.forEach(function(t){return nt(e,t)})}function it(e){var t=e.children.length>0?" { ".concat(e.children.map(it).join(", ")," } "):"";return"".concat(e.value).concat(t)}function rt(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,me(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),me(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!me(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),me(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function at(e,t){var n,i;return me(e.params,t.params)&&Ee(n=e.url,i=t.url)&&n.every(function(e,t){return me(e.parameters,i[t].parameters)})&&!(!e.parent!=!t.parent)&&(!e.parent||at(e.parent,t.parent))}function ot(e,t,n){if(n&&e.shouldReuseRoute(t.value,n.value.snapshot)){var i=n.value;i._futureSnapshot=t.value;var r=function(e,t,n){return t.children.map(function(t){var i,r=Object(a.a)(n.children);try{for(r.s();!(i=r.n()).done;){var o=i.value;if(e.shouldReuseRoute(t.value,o.value.snapshot))return ot(e,t,o)}}catch(s){r.e(s)}finally{r.f()}return ot(e,t)})}(e,t,n);return new qe(i,r)}if(e.shouldAttach(t.value)){var o=e.retrieve(t.value);if(null!==o){var s=o.route;return st(t,s),s}}var l,c=new Ke(new g.a((l=t.value).url),new g.a(l.params),new g.a(l.queryParams),new g.a(l.fragment),new g.a(l.data),l.outlet,l.component,l),d=t.children.map(function(t){return ot(e,t)});return new qe(c,d)}function st(e,t){if(e.value.routeConfig!==t.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(e.children.length!==t.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");t.value._futureSnapshot=e.value;for(var n=0;n<e.children.length;++n)st(e.children[n],t.children[n])}function lt(e,t,n,i,r){if(0===n.length)return ut(t.root,t.root,t,i,r);var a=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new ht(!0,0,e);var t=0,n=!1,i=e.reduce(function(e,i,r){if("object"==typeof i&&null!=i){if(i.outlets){var a={};return ye(i.outlets,function(e,t){a[t]="string"==typeof e?e.split("/"):e}),[].concat(Object(o.a)(e),[{outlets:a}])}if(i.segmentPath)return[].concat(Object(o.a)(e),[i.segmentPath])}return"string"!=typeof i?[].concat(Object(o.a)(e),[i]):0===r?(i.split("/").forEach(function(i,r){0==r&&"."===i||(0==r&&""===i?n=!0:".."===i?t++:""!=i&&e.push(i))}),e):[].concat(Object(o.a)(e),[i])},[]);return new ht(n,t,i)}(n);if(a.toRoot())return ut(t.root,new ke([],{}),t,i,r);var s=function(e,t,n){if(e.isAbsolute)return new mt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex){var i=n.snapshot._urlSegment;return new mt(i,i===t.root,0)}var r=ct(e.commands[0])?0:1;return function(e,t,n){for(var i=e,r=t,a=n;a>r;){if(a-=r,!(i=i.parent))throw new Error("Invalid number of '../'");r=i.segments.length}return new mt(i,!1,r-a)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(a,t,e),l=s.processChildren?ft(s.segmentGroup,s.index,a.commands):gt(s.segmentGroup,s.index,a.commands);return ut(s.segmentGroup,l,t,i,r)}function ct(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function dt(e){return"object"==typeof e&&null!=e&&e.outlets}function ut(e,t,n,i,r){var a={};return i&&ye(i,function(e,t){a[t]=Array.isArray(e)?e.map(function(e){return"".concat(e)}):"".concat(e)}),new Ce(n.root===e?t:pt(n.root,e,t),a,r)}function pt(e,t,n){var i={};return ye(e.children,function(e,r){i[r]=e===t?n:pt(e,t,n)}),new ke(e.segments,i)}var ht=function(){function e(t,n,i){if(Object(d.a)(this,e),this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=i,t&&i.length>0&&ct(i[0]))throw new Error("Root segment cannot have matrix parameters");var r=i.find(dt);if(r&&r!==ve(i))throw new Error("{outlets:{}} has to be the last command")}return Object(c.a)(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),mt=Object(c.a)(function e(t,n,i){Object(d.a)(this,e),this.segmentGroup=t,this.processChildren=n,this.index=i});function gt(e,t,n){if(e||(e=new ke([],{})),0===e.segments.length&&e.hasChildren())return ft(e,t,n);var i=function(e,t,n){for(var i=0,r=t,a={match:!1,pathIndex:0,commandIndex:0};r<e.segments.length;){if(i>=n.length)return a;var o=e.segments[r],s=n[i];if(dt(s))break;var l="".concat(s),c=i<n.length-1?n[i+1]:null;if(r>0&&void 0===l)break;if(l&&c&&"object"==typeof c&&void 0===c.outlets){if(!xt(l,c,o))return a;i+=2}else{if(!xt(l,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}(e,t,n),r=n.slice(i.commandIndex);if(i.match&&i.pathIndex<e.segments.length){var a=new ke(e.segments.slice(0,i.pathIndex),{});return a.children.primary=new ke(e.segments.slice(i.pathIndex),e.children),ft(a,0,r)}return i.match&&0===r.length?new ke(e.segments,{}):i.match&&!e.hasChildren()?vt(e,t,n):i.match?ft(e,0,r):vt(e,t,n)}function ft(e,t,n){if(0===n.length)return new ke(e.segments,{});var r=function(e){return dt(e[0])?e[0].outlets:Object(i.a)({},ce,e)}(n),a={};return ye(r,function(n,i){"string"==typeof n&&(n=[n]),null!==n&&(a[i]=gt(e.children[i],t,n))}),ye(e.children,function(e,t){void 0===r[t]&&(a[t]=e)}),new ke(e.segments,a)}function vt(e,t,n){for(var i=e.segments.slice(0,t),r=0;r<n.length;){var a=n[r];if(dt(a)){var o=yt(a.outlets);return new ke(i,o)}if(0===r&&ct(n[0]))i.push(new Oe(e.segments[t].path,bt(n[0]))),r++;else{var s=dt(a)?a.outlets.primary:"".concat(a),l=r<n.length-1?n[r+1]:null;s&&l&&ct(l)?(i.push(new Oe(s,bt(l))),r+=2):(i.push(new Oe(s,{})),r++)}}return new ke(i,{})}function yt(e){var t={};return ye(e,function(e,n){"string"==typeof e&&(e=[e]),null!==e&&(t[n]=vt(new ke([],{}),0,e))}),t}function bt(e){var t={};return ye(e,function(e,n){return t[n]="".concat(e)}),t}function xt(e,t,n){return e==n.path&&me(t,n.parameters)}var _t=function(){function e(t,n,i,r){Object(d.a)(this,e),this.routeReuseStrategy=t,this.futureState=n,this.currState=i,this.forwardEvent=r}return Object(c.a)(e,[{key:"activate",value:function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),rt(this.futureState.root),this.activateChildRoutes(t,n,e)}},{key:"deactivateChildRoutes",value:function(e,t,n){var i=this,r=Ze(t);e.children.forEach(function(e){var t=e.value.outlet;i.deactivateRoutes(e,r[t],n),delete r[t]}),ye(r,function(e,t){i.deactivateRouteAndItsChildren(e,n)})}},{key:"deactivateRoutes",value:function(e,t,n){var i=e.value,r=t?t.value:null;if(i===r)if(i.component){var a=n.getContext(i.outlet);a&&this.deactivateChildRoutes(e,t,a.children)}else this.deactivateChildRoutes(e,t,n);else r&&this.deactivateRouteAndItsChildren(t,n)}},{key:"deactivateRouteAndItsChildren",value:function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}},{key:"detachAndStoreRouteSubtree",value:function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var i=n.outlet.detach(),r=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:i,route:e,contexts:r})}}},{key:"deactivateRouteAndOutlet",value:function(e,t){for(var n=t.getContext(e.value.outlet),i=n&&e.value.component?n.children:t,r=Ze(e),a=0,o=Object.keys(r);a<o.length;a++)this.deactivateRouteAndItsChildren(r[o[a]],i);n&&n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated(),n.attachRef=null,n.resolver=null,n.route=null)}},{key:"activateChildRoutes",value:function(e,t,n){var i=this,r=Ze(t);e.children.forEach(function(e){i.activateRoutes(e,r[e.value.outlet],n),i.forwardEvent(new se(e.value.snapshot))}),e.children.length&&this.forwardEvent(new ae(e.value.snapshot))}},{key:"activateRoutes",value:function(e,t,n){var i=e.value,r=t?t.value:null;if(rt(i),i===r)if(i.component){var a=n.getOrCreateContext(i.outlet);this.activateChildRoutes(e,t,a.children)}else this.activateChildRoutes(e,t,n);else if(i.component){var o=n.getOrCreateContext(i.outlet);if(this.routeReuseStrategy.shouldAttach(i.snapshot)){var s=this.routeReuseStrategy.retrieve(i.snapshot);this.routeReuseStrategy.store(i.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),wt(s.route)}else{var l=function(e){for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(i.snapshot),c=l?l.module.componentFactoryResolver:null;o.attachRef=null,o.route=i,o.resolver=c,o.outlet&&o.outlet.activateWith(i,c),this.activateChildRoutes(e,null,o.children)}}else this.activateChildRoutes(e,null,n)}}]),e}();function wt(e){rt(e.value),e.children.forEach(wt)}var St=Object(c.a)(function e(t,n){Object(d.a)(this,e),this.routes=t,this.module=n});function Ct(e){return"function"==typeof e}function kt(e){return e instanceof Ce}var Ot=Symbol("INITIAL_VALUE");function Et(){return Object(k.a)(function(e){return Object(f.a)(e.map(function(e){return e.pipe(Object(O.a)(1),Object(E.a)(Ot))})).pipe(Object(M.a)(function(e,t){var n=!1;return t.reduce(function(e,i,r){if(e!==Ot)return e;if(i===Ot&&(n=!0),!n){if(!1===i)return i;if(r===t.length-1||kt(i))return i}return e},e)},Ot),Object(I.a)(function(e){return e!==Ot}),Object(C.a)(function(e){return kt(e)?e:!0===e}),Object(O.a)(1))})}var Mt=function(){var e=Object(c.a)(function e(){Object(d.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=p["\u0275\u0275defineComponent"]({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&p["\u0275\u0275element"](0,"router-outlet")},directives:function(){return[Tn]},encapsulation:2}),e}();function It(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<e.length;n++){var i=e[n],r=Tt(t,i);Pt(i,r)}}function Pt(e,t){e.children&&It(e.children,t)}function Tt(e,t){return t?e||t.path?e&&!t.path?"".concat(e,"/"):!e&&t.path?t.path:"".concat(e,"/").concat(t.path):"":e}function Dt(e){var t=e.children&&e.children.map(Dt),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&n.outlet!==ce&&(n.component=Mt),n}function Lt(e){return e.outlet||ce}function Rt(e,t){var n=e.filter(function(e){return Lt(e)===t});return n.push.apply(n,Object(o.a)(e.filter(function(e){return Lt(e)!==t}))),n}var jt={matched:!1,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};function At(e,t,n){var i;if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?Object.assign({},jt):{matched:!0,consumedSegments:[],lastChild:0,parameters:{},positionalParamSegments:{}};var r=(t.matcher||he)(n,e,t);if(!r)return Object.assign({},jt);var a={};ye(r.posParams,function(e,t){a[t]=e.path});var o=r.consumed.length>0?Object.assign(Object.assign({},a),r.consumed[r.consumed.length-1].parameters):a;return{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o,positionalParamSegments:null!==(i=r.posParams)&&void 0!==i?i:{}}}function Ft(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"corrected";if(n.length>0&&Nt(e,n,i)){var a=new ke(t,zt(e,t,i,new ke(n,e.children)));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:[]}}if(0===n.length&&Ht(e,n,i)){var o=new ke(e.segments,Bt(e,t,n,i,e.children,r));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:n}}var s=new ke(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Bt(e,t,n,i,r,o){var s,l={},c=Object(a.a)(i);try{for(c.s();!(s=c.n()).done;){var d=s.value;if(Vt(e,n,d)&&!r[Lt(d)]){var u=new ke([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===o?e.segments.length:t.length,l[Lt(d)]=u}}}catch(p){c.e(p)}finally{c.f()}return Object.assign(Object.assign({},r),l)}function zt(e,t,n,i){var r={};r.primary=i,i._sourceSegment=e,i._segmentIndexShift=t.length;var o,s=Object(a.a)(n);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(""===l.path&&Lt(l)!==ce){var c=new ke([],{});c._sourceSegment=e,c._segmentIndexShift=t.length,r[Lt(l)]=c}}}catch(d){s.e(d)}finally{s.f()}return r}function Nt(e,t,n){return n.some(function(n){return Vt(e,t,n)&&Lt(n)!==ce})}function Ht(e,t,n){return n.some(function(n){return Vt(e,t,n)})}function Vt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path}function Yt(e,t,n,i){return!!(Lt(e)===i||i!==ce&&Vt(t,n,e))&&("**"===e.path||At(t,e,n).matched)}function Wt(e,t,n){return 0===t.length&&!e.children[n]}var Gt=Object(c.a)(function e(t){Object(d.a)(this,e),this.segmentGroup=t||null}),Ut=Object(c.a)(function e(t){Object(d.a)(this,e),this.urlTree=t});function qt(e){return new v.a(function(t){return t.error(new Gt(e))})}function Zt(e){return new v.a(function(t){return t.error(new Ut(e))})}function $t(e){return new v.a(function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))})}var Xt=function(){function e(t,n,i,r,a){Object(d.a)(this,e),this.configLoader=n,this.urlSerializer=i,this.urlTree=r,this.config=a,this.allowRedirects=!0,this.ngModule=t.get(p.NgModuleRef)}return Object(c.a)(e,[{key:"apply",value:function(){var e=this,t=Ft(this.urlTree.root,[],[],this.config).segmentGroup,n=new ke(t.segments,t.children);return this.expandSegmentGroup(this.ngModule,this.config,n,ce).pipe(Object(C.a)(function(t){return e.createUrlTree(Kt(t),e.urlTree.queryParams,e.urlTree.fragment)})).pipe(Object(P.a)(function(t){if(t instanceof Ut)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Gt)throw e.noMatchError(t);throw t}))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,ce).pipe(Object(C.a)(function(n){return t.createUrlTree(Kt(n),e.queryParams,e.fragment)})).pipe(Object(P.a)(function(e){if(e instanceof Gt)throw t.noMatchError(e);throw e}))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var r=e.segments.length>0?new ke([],Object(i.a)({},ce,e)):e;return new Ce(r,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,i){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(C.a)(function(e){return new ke([],e)})):this.expandSegment(e,n,t,n.segments,i,!0)}},{key:"expandChildren",value:function(e,t,n){for(var i=this,r=[],a=0,o=Object.keys(n.children);a<o.length;a++){var s=o[a];"primary"===s?r.unshift(s):r.push(s)}return Object(h.a)(r).pipe(Object(T.a)(function(r){var a=n.children[r],o=Rt(t,r);return i.expandSegmentGroup(e,o,a,r).pipe(Object(C.a)(function(e){return{segment:e,outlet:r}}))}),Object(M.a)(function(e,t){return e[t.outlet]=t.segment,e},{}),function(e,t){var n=arguments.length>=2;return function(i){return i.pipe(e?Object(I.a)(function(t,n){return e(t,n,i)}):z.a,R(1),n?Object(B.a)(t):Object(F.a)(function(){return new y.a}))}}())}},{key:"expandSegment",value:function(e,t,n,i,r,a){var o=this;return Object(h.a)(n).pipe(Object(T.a)(function(s){return o.expandSegmentAgainstRoute(e,t,n,s,i,r,a).pipe(Object(P.a)(function(e){if(e instanceof Gt)return Object(m.a)(null);throw e}))}),Object(N.a)(function(e){return!!e}),Object(P.a)(function(e,n){if(e instanceof y.a||"EmptyError"===e.name){if(Wt(t,i,r))return Object(m.a)(new ke([],{}));throw new Gt(t)}throw e}))}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,i,r,a,o){return Yt(i,t,r,a)?void 0===i.redirectTo?this.matchSegmentAgainstRoute(e,t,i,r,a):o&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,i,r,a):qt(t):qt(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,a){return"**"===i.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,i,a):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,i,r,a)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,i){var r=this,a=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Zt(a):this.lineralizeSegments(n,a).pipe(Object(H.a)(function(n){var a=new ke(n,{});return r.expandSegment(e,a,t,n,i,!1)}))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,i,r,a){var o=this,s=At(t,i,r),l=s.consumedSegments,c=s.lastChild,d=s.positionalParamSegments;if(!s.matched)return qt(t);var u=this.applyRedirectCommands(l,i.redirectTo,d);return i.redirectTo.startsWith("/")?Zt(u):this.lineralizeSegments(i,u).pipe(Object(H.a)(function(i){return o.expandSegment(e,t,n,i.concat(r.slice(c)),a,!1)}))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,i,r){var a=this;if("**"===n.path)return n.loadChildren?(n._loadedConfig?Object(m.a)(n._loadedConfig):this.configLoader.load(e.injector,n)).pipe(Object(C.a)(function(e){return n._loadedConfig=e,new ke(i,{})})):Object(m.a)(new ke(i,{}));var o=At(t,n,i),s=o.consumedSegments,l=o.lastChild;if(!o.matched)return qt(t);var c=i.slice(l);return this.getChildConfig(e,n,i).pipe(Object(H.a)(function(e){var i=e.module,o=e.routes,l=Ft(t,s,c,o),d=l.segmentGroup,u=l.slicedSegments,p=new ke(d.segments,d.children);if(0===u.length&&p.hasChildren())return a.expandChildren(i,o,p).pipe(Object(C.a)(function(e){return new ke(s,e)}));if(0===o.length&&0===u.length)return Object(m.a)(new ke(s,{}));var h=Lt(n)===r;return a.expandSegment(i,p,o,u,h?ce:r,!0).pipe(Object(C.a)(function(e){return new ke(s.concat(e.segments),e.children)}))}))}},{key:"getChildConfig",value:function(e,t,n){var i=this;return t.children?Object(m.a)(new St(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(m.a)(t._loadedConfig):this.runCanLoadGuards(e.injector,t,n).pipe(Object(H.a)(function(n){return n?i.configLoader.load(e.injector,t).pipe(Object(C.a)(function(e){return t._loadedConfig=e,e})):function(e){return new v.a(function(t){return t.error(pe("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))})}(t)})):Object(m.a)(new St([],e))}},{key:"runCanLoadGuards",value:function(e,t,n){var i=this,r=t.canLoad;if(!r||0===r.length)return Object(m.a)(!0);var a=r.map(function(i){var r,a=e.get(i);if(function(e){return e&&Ct(e.canLoad)}(a))r=a.canLoad(t,n);else{if(!Ct(a))throw new Error("Invalid CanLoad guard");r=a(t,n)}return be(r)});return Object(m.a)(a).pipe(Et(),Object(V.a)(function(e){if(kt(e)){var t=pe('Redirecting to "'.concat(i.urlSerializer.serialize(e),'"'));throw t.url=e,t}}),Object(C.a)(function(e){return!0===e}))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],i=t.root;;){if(n=n.concat(i.segments),0===i.numberOfChildren)return Object(m.a)(n);if(i.numberOfChildren>1||!i.children.primary)return $t(e.redirectTo);i=i.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,i){var r=this.createSegmentGroup(e,t.root,n,i);return new Ce(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return ye(e,function(e,i){if("string"==typeof e&&e.startsWith(":")){var r=e.substring(1);n[i]=t[r]}else n[i]=e}),n}},{key:"createSegmentGroup",value:function(e,t,n,i){var r=this,a=this.createSegments(e,t.segments,n,i),o={};return ye(t.children,function(t,a){o[a]=r.createSegmentGroup(e,t,n,i)}),new ke(a,o)}},{key:"createSegments",value:function(e,t,n,i){var r=this;return t.map(function(t){return t.path.startsWith(":")?r.findPosParam(e,t,i):r.findOrReturn(t,n)})}},{key:"findPosParam",value:function(e,t,n){var i=n[t.path.substring(1)];if(!i)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return i}},{key:"findOrReturn",value:function(e,t){var n,i=0,r=Object(a.a)(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.path===e.path)return t.splice(i),o;i++}}catch(s){r.e(s)}finally{r.f()}return e}}]),e}();function Kt(e){for(var t={},n=0,i=Object.keys(e.children);n<i.length;n++){var r=i[n],a=Kt(e.children[r]);(a.segments.length>0||a.hasChildren())&&(t[r]=a)}return function(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new ke(e.segments.concat(t.segments),t.children)}return e}(new ke(e.segments,t))}var Jt=Object(c.a)(function e(t){Object(d.a)(this,e),this.path=t,this.route=this.path[this.path.length-1]}),Qt=Object(c.a)(function e(t,n){Object(d.a)(this,e),this.component=t,this.route=n});function en(e,t,n){var i=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(i?i.module.injector:n).get(e)}function tn(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=Ze(t);return e.children.forEach(function(e){nn(e,a[e.value.outlet],n,i.concat([e.value]),r),delete a[e.value.outlet]}),ye(a,function(e,t){return an(e,n.getContext(t),r)}),r}function nn(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=e.value,o=t?t.value:null,s=n?n.getContext(e.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){var l=rn(o,a,a.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Jt(i)):(a.data=o.data,a._resolvedData=o._resolvedData),tn(e,t,a.component?s?s.children:null:n,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new Qt(s.outlet.component,o))}else o&&an(t,s,r),r.canActivateChecks.push(new Jt(i)),tn(e,null,a.component?s?s.children:null:n,i,r);return r}function rn(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Ee(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ee(e.url,t.url)||!me(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!at(e,t)||!me(e.queryParams,t.queryParams);case"paramsChange":default:return!at(e,t)}}function an(e,t,n){var i=Ze(e),r=e.value;ye(i,function(e,i){an(e,r.component?t?t.children.getContext(i):null:t,n)}),n.canDeactivateChecks.push(new Qt(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}var on=Object(c.a)(function e(){Object(d.a)(this,e)});function sn(e){return new v.a(function(t){return t.error(e)})}var ln=function(){function e(t,n,i,r,a,o){Object(d.a)(this,e),this.rootComponentType=t,this.config=n,this.urlTree=i,this.url=r,this.paramsInheritanceStrategy=a,this.relativeLinkResolution=o}return Object(c.a)(e,[{key:"recognize",value:function(){var e=Ft(this.urlTree.root,[],[],this.config.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,ce);if(null===t)return null;var n=new et([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},ce,this.rootComponentType,null,this.urlTree.root,-1,{}),i=new qe(n,t),r=new tt(this.url,i);return this.inheritParamsAndData(r._root),r}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,i=Je(n,this.paramsInheritanceStrategy);n.params=Object.freeze(i.params),n.data=Object.freeze(i.data),e.children.forEach(function(e){return t.inheritParamsAndData(e)})}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){for(var n=[],i=0,r=Object.keys(t.children);i<r.length;i++){var a=r[i],s=t.children[a],l=Rt(e,a),c=this.processSegmentGroup(l,s,a);if(null===c)return null;n.push.apply(n,Object(o.a)(c))}var d=cn(n);return d.sort(function(e,t){return e.value.outlet===ce?-1:t.value.outlet===ce?1:e.value.outlet.localeCompare(t.value.outlet)}),d}},{key:"processSegment",value:function(e,t,n,i){var r,o=Object(a.a)(e);try{for(o.s();!(r=o.n()).done;){var s=this.processSegmentAgainstRoute(r.value,t,n,i);if(null!==s)return s}}catch(l){o.e(l)}finally{o.f()}return Wt(t,n,i)?[]:null}},{key:"processSegmentAgainstRoute",value:function(e,t,n,i){if(e.redirectTo||!Yt(e,t,n,i))return null;var r,a=[],o=[];if("**"===e.path){var s=n.length>0?ve(n).parameters:{};r=new et(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,pn(e),Lt(e),e.component,e,dn(t),un(t)+n.length,hn(e))}else{var l=At(t,e,n);if(!l.matched)return null;a=l.consumedSegments,o=n.slice(l.lastChild),r=new et(a,l.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,pn(e),Lt(e),e.component,e,dn(t),un(t)+a.length,hn(e))}var c=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),d=Ft(t,a,o,c.filter(function(e){return void 0===e.redirectTo}),this.relativeLinkResolution),u=d.segmentGroup,p=d.slicedSegments;if(0===p.length&&u.hasChildren()){var h=this.processChildren(c,u);return null===h?null:[new qe(r,h)]}if(0===c.length&&0===p.length)return[new qe(r,[])];var m=Lt(e)===i,g=this.processSegment(c,u,p,m?ce:i);return null===g?null:[new qe(r,g)]}}]),e}();function cn(e){var t,n=[],i=new Set,r=Object(a.a)(e);try{var s=function(){var e=t.value;if(!function(e){var t=e.value.routeConfig;return t&&""===t.path&&void 0===t.redirectTo}(e))return n.push(e),1;var r,a=n.find(function(t){return e.value.routeConfig===t.value.routeConfig});void 0!==a?((r=a.children).push.apply(r,Object(o.a)(e.children)),i.add(a)):n.push(e)};for(r.s();!(t=r.n()).done;)s()}catch(p){r.e(p)}finally{r.f()}var l,c=Object(a.a)(i);try{for(c.s();!(l=c.n()).done;){var d=l.value,u=cn(d.children);n.push(new qe(d.value,u))}}catch(p){c.e(p)}finally{c.f()}return n.filter(function(e){return!i.has(e)})}function dn(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function un(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function pn(e){return e.data||{}}function hn(e){return e.resolve||{}}function mn(e){return Object(k.a)(function(t){var n=e(t);return n?Object(h.a)(n).pipe(Object(C.a)(function(){return t})):Object(m.a)(t)})}var gn=Object(c.a)(function e(){Object(d.a)(this,e)}),fn=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){return Object(d.a)(this,n),t.apply(this,arguments)}return Object(c.a)(n)}(function(){function e(){Object(d.a)(this,e)}return Object(c.a)(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}()),vn=new p.InjectionToken("ROUTES"),yn=function(){function e(t,n,i,r){Object(d.a)(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=i,this.onLoadEndListener=r}return Object(c.a)(e,[{key:"load",value:function(e,t){var n=this;if(t._loader$)return t._loader$;this.onLoadStartListener&&this.onLoadStartListener(t);var i=this.loadModuleFactory(t.loadChildren).pipe(Object(C.a)(function(i){n.onLoadEndListener&&n.onLoadEndListener(t);var r=i.create(e);return new St(fe(r.injector.get(vn,void 0,p.InjectFlags.Self|p.InjectFlags.Optional)).map(Dt),r)}),Object(P.a)(function(e){throw t._loader$=void 0,e}));return t._loader$=new w.a(i,function(){return new S.a}).pipe(Object(Y.a)()),t._loader$}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?Object(h.a)(this.loader.load(e)):be(e()).pipe(Object(H.a)(function(e){return e instanceof p.NgModuleFactory?Object(m.a)(e):Object(h.a)(t.compiler.compileModuleAsync(e))}))}}]),e}(),bn=Object(c.a)(function e(){Object(d.a)(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new xn,this.attachRef=null}),xn=function(){function e(){Object(d.a)(this,e),this.contexts=new Map}return Object(c.a)(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new bn,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),_n=Object(c.a)(function e(){Object(d.a)(this,e)}),wn=function(){function e(){Object(d.a)(this,e)}return Object(c.a)(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function Sn(e){throw e}function Cn(e,t,n){return t.parse("/")}function kn(e,t){return Object(m.a)(null)}var On=function(){var e=function(){function e(t,n,i,r,a,o,s,l){var c=this;Object(d.a)(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=i,this.location=r,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.lastLocationChangeInfo=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new S.a,this.errorHandler=Sn,this.malformedUriErrorHandler=Cn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:kn,afterPreactivation:kn},this.urlHandlingStrategy=new wn,this.routeReuseStrategy=new fn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.ngModule=a.get(p.NgModuleRef),this.console=a.get(p["\u0275Console"]);var u=a.get(p.NgZone);this.isNgZoneEnabled=u instanceof p.NgZone&&p.NgZone.isInAngularZone(),this.resetConfig(l),this.currentUrlTree=new Ce(new ke([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new yn(o,s,function(e){return c.triggerEvent(new ne(e))},function(e){return c.triggerEvent(new ie(e))}),this.routerState=Xe(this.currentUrlTree,this.rootComponentType),this.transitions=new g.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return Object(c.a)(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(Object(I.a)(function(e){return 0!==e.id}),Object(C.a)(function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})}),Object(k.a)(function(e){var i,r,a,o=!1,s=!1;return Object(m.a)(e).pipe(Object(V.a)(function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Object(k.a)(function(e){var i,r,a,o,s=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||s)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(m.a)(e).pipe(Object(k.a)(function(e){var i=t.transitions.getValue();return n.next(new q(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),i!==t.transitions.getValue()?_.a:Promise.resolve(e)}),(i=t.ngModule.injector,r=t.configLoader,a=t.urlSerializer,o=t.config,Object(k.a)(function(e){return function(e,t,n,i,r){return new Xt(e,t,n,i,r).apply()}(i,r,a,e.extractedUrl,o).pipe(Object(C.a)(function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})}))})),Object(V.a)(function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,n,i,r,a){return Object(H.a)(function(i){return function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";try{var o=new ln(e,t,n,i,r,a).recognize();return null===o?sn(new on):Object(m.a)(o)}catch(s){return sn(s)}}(e,n,i.urlAfterRedirects,(o=i.urlAfterRedirects,t.serializeUrl(o)),r,a).pipe(Object(C.a)(function(e){return Object.assign(Object.assign({},i),{targetSnapshot:e})}));var o})}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Object(V.a)(function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects);var i=new K(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(i)}));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var l=e.extractedUrl,c=e.source,d=e.restoredState,u=e.extras,p=new q(e.id,t.serializeUrl(l),c,d);n.next(p);var h=Xe(l,t.rootComponentType).snapshot;return Object(m.a)(Object.assign(Object.assign({},e),{targetSnapshot:h,urlAfterRedirects:l,extras:Object.assign(Object.assign({},u),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),_.a}),mn(function(e){var n=e.extras;return t.hooks.beforePreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Object(V.a)(function(e){var n=new J(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),Object(C.a)(function(e){return Object.assign(Object.assign({},e),{guards:(n=e.targetSnapshot,i=e.currentSnapshot,r=t.rootContexts,a=n._root,tn(a,i?i._root:null,r,[a.value]))});var n,i,r,a}),function(e,t){return Object(H.a)(function(n){var i=n.targetSnapshot,r=n.currentSnapshot,a=n.guards,o=a.canActivateChecks,s=a.canDeactivateChecks;return 0===s.length&&0===o.length?Object(m.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,i){return Object(h.a)(e).pipe(Object(H.a)(function(e){return function(e,t,n,i,r){var a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(m.a)(!0);var o=a.map(function(a){var o,s=en(a,t,r);if(function(e){return e&&Ct(e.canDeactivate)}(s))o=be(s.canDeactivate(e,t,n,i));else{if(!Ct(s))throw new Error("Invalid CanDeactivate guard");o=be(s(e,t,n,i))}return o.pipe(Object(N.a)())});return Object(m.a)(o).pipe(Et())}(e.component,e.route,n,t,i)}),Object(N.a)(function(e){return!0!==e},!0))}(s,i,r,e).pipe(Object(H.a)(function(n){return n&&"boolean"==typeof n?function(e,t,n,i){return Object(h.a)(t).pipe(Object(T.a)(function(t){return Object(b.a)(function(e,t){return null!==e&&t&&t(new re(e)),Object(m.a)(!0)}(t.route.parent,i),function(e,t){return null!==e&&t&&t(new oe(e)),Object(m.a)(!0)}(t.route,i),function(e,t,n){var i=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)}).filter(function(e){return null!==e}).map(function(t){return Object(x.a)(function(){var r=t.guards.map(function(r){var a,o=en(r,t.node,n);if(function(e){return e&&Ct(e.canActivateChild)}(o))a=be(o.canActivateChild(i,e));else{if(!Ct(o))throw new Error("Invalid CanActivateChild guard");a=be(o(i,e))}return a.pipe(Object(N.a)())});return Object(m.a)(r).pipe(Et())})});return Object(m.a)(r).pipe(Et())}(e,t.path,n),function(e,t,n){var i=t.routeConfig?t.routeConfig.canActivate:null;if(!i||0===i.length)return Object(m.a)(!0);var r=i.map(function(i){return Object(x.a)(function(){var r,a=en(i,t,n);if(function(e){return e&&Ct(e.canActivate)}(a))r=be(a.canActivate(t,e));else{if(!Ct(a))throw new Error("Invalid CanActivate guard");r=be(a(t,e))}return r.pipe(Object(N.a)())})});return Object(m.a)(r).pipe(Et())}(e,t.route,n))}),Object(N.a)(function(e){return!0!==e},!0))}(i,o,e,t):Object(m.a)(n)}),Object(C.a)(function(e){return Object.assign(Object.assign({},n),{guardsResult:e})}))})}(t.ngModule.injector,function(e){return t.triggerEvent(e)}),Object(V.a)(function(e){if(kt(e.guardsResult)){var n=pe('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}var i=new Q(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(i)}),Object(I.a)(function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var i=new $(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(i),e.resolve(!1),!1}return!0}),mn(function(e){if(e.guards.canActivateChecks.length)return Object(m.a)(e).pipe(Object(V.a)(function(e){var n=new ee(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}),Object(k.a)(function(e){var i,r,a=!1;return Object(m.a)(e).pipe((i=t.paramsInheritanceStrategy,r=t.ngModule.injector,Object(H.a)(function(e){var t=e.targetSnapshot,n=e.guards.canActivateChecks;if(!n.length)return Object(m.a)(e);var a=0;return Object(h.a)(n).pipe(Object(T.a)(function(e){return function(e,t,n,i){return function(e,t,n,i){var r=Object.keys(e);if(0===r.length)return Object(m.a)({});var a={};return Object(h.a)(r).pipe(Object(H.a)(function(r){return function(e,t,n,i){var r=en(e,t,i);return be(r.resolve?r.resolve(t,n):r(t,n))}(e[r],t,n,i).pipe(Object(V.a)(function(e){a[r]=e}))}),R(1),Object(H.a)(function(){return Object.keys(a).length===r.length?Object(m.a)(a):_.a}))}(e._resolve,e,t,i).pipe(Object(C.a)(function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Je(e,n).resolve),null}))}(e.route,t,i,r)}),Object(V.a)(function(){return a++}),R(1),Object(H.a)(function(t){return a===n.length?Object(m.a)(e):_.a}))})),Object(V.a)({next:function(){return a=!0},complete:function(){if(!a){var i=new $(e.id,t.serializeUrl(e.extractedUrl),"At least one route resolver didn't emit any value.");n.next(i),e.resolve(!1)}}}))}),Object(V.a)(function(e){var n=new te(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)}))}),mn(function(e){var n=e.extras;return t.hooks.afterPreactivation(e.targetSnapshot,{navigationId:e.id,appliedUrlTree:e.extractedUrl,rawUrlTree:e.rawUrl,skipLocationChange:!!n.skipLocationChange,replaceUrl:!!n.replaceUrl})}),Object(C.a)(function(e){var n,i,r,a=(r=ot(t.routeReuseStrategy,(n=e.targetSnapshot)._root,(i=e.currentRouterState)?i._root:void 0),new $e(r,n));return Object.assign(Object.assign({},e),{targetRouterState:a})}),Object(V.a)(function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)}),(i=t.rootContexts,r=t.routeReuseStrategy,a=function(e){return t.triggerEvent(e)},Object(C.a)(function(e){return new _t(r,e.targetRouterState,e.currentRouterState,a).activate(i),e})),Object(V.a)({next:function(){o=!0},complete:function(){o=!0}}),Object(W.a)(function(){if(!o&&!s){t.resetUrlToCurrentUrlTree();var i=new $(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId));n.next(i),e.resolve(!1)}t.currentNavigation=null}),Object(P.a)(function(i){if(s=!0,(l=i)&&l.ngNavigationCancelingError){var r=kt(i.url);r||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var a=new $(e.id,t.serializeUrl(e.extractedUrl),i.message);n.next(a),r?setTimeout(function(){var n=t.urlHandlingStrategy.merge(i.url,t.rawUrlTree);t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var o=new X(e.id,t.serializeUrl(e.extractedUrl),i);n.next(o);try{e.resolve(t.errorHandler(i))}catch(c){e.reject(c)}}var l;return _.a}))}))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe(function(t){var n=e.extractLocationChangeInfoFromEvent(t);e.shouldScheduleNavigation(e.lastLocationChangeInfo,n)&&setTimeout(function(){var t=n.source,i=n.state,r=n.urlTree,a={replaceUrl:!0};if(i){var o=Object.assign({},i);delete o.navigationId,0!==Object.keys(o).length&&(a.state=o)}e.scheduleNavigation(r,t,i,a)},0),e.lastLocationChangeInfo=n}))}},{key:"extractLocationChangeInfoFromEvent",value:function(e){var t;return{source:"popstate"===e.type?"popstate":"hashchange",urlTree:this.parseUrl(e.url),state:(null===(t=e.state)||void 0===t?void 0:t.navigationId)?e.state:null,transitionId:this.getTransition().id}}},{key:"shouldScheduleNavigation",value:function(e,t){if(!e)return!0;var n=t.urlTree.toString()===e.urlTree.toString();return!(t.transitionId===e.transitionId&&n&&("hashchange"===t.source&&"popstate"===e.source||"popstate"===t.source&&"hashchange"===e.source))}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){It(e),this.config=e.map(Dt),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,i=t.queryParams,r=t.fragment,a=t.queryParamsHandling,o=t.preserveFragment,s=n||this.routerState.root,l=o?this.currentUrlTree.fragment:r,c=null;switch(a){case"merge":c=Object.assign(Object.assign({},this.currentUrlTree.queryParams),i);break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=i||null}return null!==c&&(c=this.removeEmptyProps(c)),lt(s,this.currentUrlTree,e,c,l)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1},n=kt(e)?e:this.parseUrl(e),i=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(i,"imperative",null,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return En(e),this.navigateByUrl(this.createUrlTree(e,t),t)}},{key:"serializeUrl",value:function(e){return this.urlSerializer.serialize(e)}},{key:"parseUrl",value:function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}},{key:"isActive",value:function(e,t){if(kt(e))return xe(this.currentUrlTree,e,t);var n=this.parseUrl(e);return xe(this.currentUrlTree,n,t)}},{key:"removeEmptyProps",value:function(e){return Object.keys(e).reduce(function(t,n){var i=e[n];return null!=i&&(t[n]=i),t},{})}},{key:"processNavigations",value:function(){var e=this;this.navigations.subscribe(function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new Z(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),e.lastSuccessfulNavigation=e.currentNavigation,t.resolve(!0)},function(t){e.console.warn("Unhandled Navigation Error: ")})}},{key:"scheduleNavigation",value:function(e,t,n,i,r){if(this.disposed)return Promise.resolve(!1);var a,o,s,l=this.getTransition(),c="imperative"!==t&&"imperative"===(null==l?void 0:l.source),d=(this.lastSuccessfulId===l.id||this.currentNavigation?l.rawUrl:l.urlAfterRedirects).toString()===e.toString();if(c&&d)return Promise.resolve(!0);r?(a=r.resolve,o=r.reject,s=r.promise):s=new Promise(function(e,t){a=e,o=t});var u=++this.navigationId;return this.setTransition({id:u,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:i,resolve:a,reject:o,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch(function(e){return Promise.reject(e)})}},{key:"setBrowserUrl",value:function(e,t,n,i){var r=this.urlSerializer.serialize(e);i=i||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign(Object.assign({},i),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},i),{navigationId:n}))}},{key:"resetStateAndUrl",value:function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275inject"](p.Type),p["\u0275\u0275inject"](Me),p["\u0275\u0275inject"](xn),p["\u0275\u0275inject"](u.Location),p["\u0275\u0275inject"](p.Injector),p["\u0275\u0275inject"](p.NgModuleFactoryLoader),p["\u0275\u0275inject"](p.Compiler),p["\u0275\u0275inject"](void 0))},e.\u0275prov=p["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}();function En(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains ".concat(n," segment at index ").concat(t))}}var Mn=function(){var e=function(){function e(t,n,i,r,a){Object(d.a)(this,e),this.router=t,this.route=n,this.commands=[],this.onChanges=new S.a,null==i&&r.setAttribute(a.nativeElement,"tabindex","0")}return Object(c.a)(e,[{key:"ngOnChanges",value:function(e){this.onChanges.next(this)}},{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"onClick",value:function(){var e={skipLocationChange:Pn(this.skipLocationChange),replaceUrl:Pn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Pn(this.preserveFragment)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275directiveInject"](On),p["\u0275\u0275directiveInject"](Ke),p["\u0275\u0275injectAttribute"]("tabindex"),p["\u0275\u0275directiveInject"](p.Renderer2),p["\u0275\u0275directiveInject"](p.ElementRef))},e.\u0275dir=p["\u0275\u0275defineDirective"]({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&p["\u0275\u0275listener"]("click",function(){return t.onClick()})},inputs:{routerLink:"routerLink",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[p["\u0275\u0275NgOnChangesFeature"]]}),e}(),In=function(){var e=function(){function e(t,n,i){var r=this;Object(d.a)(this,e),this.router=t,this.route=n,this.locationStrategy=i,this.commands=[],this.onChanges=new S.a,this.subscription=t.events.subscribe(function(e){e instanceof Z&&r.updateTargetUrlAndHref()})}return Object(c.a)(e,[{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"ngOnChanges",value:function(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(e,t,n,i,r){if(0!==e||t||n||i||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var a={skipLocationChange:Pn(this.skipLocationChange),replaceUrl:Pn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Pn(this.preserveFragment)})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275directiveInject"](On),p["\u0275\u0275directiveInject"](Ke),p["\u0275\u0275directiveInject"](u.LocationStrategy))},e.\u0275dir=p["\u0275\u0275defineDirective"]({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&p["\u0275\u0275listener"]("click",function(e){return t.onClick(e.button,e.ctrlKey,e.shiftKey,e.altKey,e.metaKey)}),2&e&&(p["\u0275\u0275hostProperty"]("href",t.href,p["\u0275\u0275sanitizeUrl"]),p["\u0275\u0275attribute"]("target",t.target))},inputs:{routerLink:"routerLink",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo"},features:[p["\u0275\u0275NgOnChangesFeature"]]}),e}();function Pn(e){return""===e||!!e}var Tn=function(){var e=function(){function e(t,n,i,r,a){Object(d.a)(this,e),this.parentContexts=t,this.location=n,this.resolver=i,this.changeDetector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new p.EventEmitter,this.deactivateEvents=new p.EventEmitter,this.name=r||ce,t.onChildOutletCreated(this.name,this)}return Object(c.a)(e,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e}},{key:"attach",value:function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}},{key:"deactivate",value:function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}},{key:"activateWith",value:function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),i=this.parentContexts.getOrCreateContext(this.name).children,r=new Dn(e,i,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275directiveInject"](xn),p["\u0275\u0275directiveInject"](p.ViewContainerRef),p["\u0275\u0275directiveInject"](p.ComponentFactoryResolver),p["\u0275\u0275injectAttribute"]("name"),p["\u0275\u0275directiveInject"](p.ChangeDetectorRef))},e.\u0275dir=p["\u0275\u0275defineDirective"]({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e}(),Dn=function(){function e(t,n,i){Object(d.a)(this,e),this.route=t,this.childContexts=n,this.parent=i}return Object(c.a)(e,[{key:"get",value:function(e,t){return e===Ke?this.route:e===xn?this.childContexts:this.parent.get(e,t)}}]),e}(),Ln=Object(c.a)(function e(){Object(d.a)(this,e)}),Rn=function(){function e(){Object(d.a)(this,e)}return Object(c.a)(e,[{key:"preload",value:function(e,t){return t().pipe(Object(P.a)(function(){return Object(m.a)(null)}))}}]),e}(),jn=function(){function e(){Object(d.a)(this,e)}return Object(c.a)(e,[{key:"preload",value:function(e,t){return Object(m.a)(null)}}]),e}(),An=function(){var e=function(){function e(t,n,i,r,a){Object(d.a)(this,e),this.router=t,this.injector=r,this.preloadingStrategy=a,this.loader=new yn(n,i,function(e){return t.triggerEvent(new ne(e))},function(e){return t.triggerEvent(new ie(e))})}return Object(c.a)(e,[{key:"setUpPreloading",value:function(){var e=this;this.subscription=this.router.events.pipe(Object(I.a)(function(e){return e instanceof Z}),Object(T.a)(function(){return e.preload()})).subscribe(function(){})}},{key:"preload",value:function(){var e=this.injector.get(p.NgModuleRef);return this.processRoutes(e,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription&&this.subscription.unsubscribe()}},{key:"processRoutes",value:function(e,t){var n,i=[],r=Object(a.a)(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(o.loadChildren&&!o.canLoad&&o._loadedConfig){var s=o._loadedConfig;i.push(this.processRoutes(s.module,s.routes))}else o.loadChildren&&!o.canLoad?i.push(this.preloadConfig(e,o)):o.children&&i.push(this.processRoutes(e,o.children))}}catch(l){r.e(l)}finally{r.f()}return Object(h.a)(i).pipe(Object(G.a)(),Object(C.a)(function(e){}))}},{key:"preloadConfig",value:function(e,t){var n=this;return this.preloadingStrategy.preload(t,function(){return(t._loadedConfig?Object(m.a)(t._loadedConfig):n.loader.load(e.injector,t)).pipe(Object(H.a)(function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)}))})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275inject"](On),p["\u0275\u0275inject"](p.NgModuleFactoryLoader),p["\u0275\u0275inject"](p.Compiler),p["\u0275\u0275inject"](p.Injector),p["\u0275\u0275inject"](Ln))},e.\u0275prov=p["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),Fn=function(){var e=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Object(d.a)(this,e),this.router=t,this.viewportScroller=n,this.options=i,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},i.scrollPositionRestoration=i.scrollPositionRestoration||"disabled",i.anchorScrolling=i.anchorScrolling||"disabled"}return Object(c.a)(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof q?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Z&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))})}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe(function(t){t instanceof le&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))})}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new le(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275inject"](On),p["\u0275\u0275inject"](u.ViewportScroller),p["\u0275\u0275inject"](void 0))},e.\u0275prov=p["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}(),Bn=new p.InjectionToken("ROUTER_CONFIGURATION"),zn=new p.InjectionToken("ROUTER_FORROOT_GUARD"),Nn=[u.Location,{provide:Me,useClass:Ie},{provide:On,useFactory:function(e,t,n,i,r,a,o){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},l=arguments.length>8?arguments[8]:void 0,c=arguments.length>9?arguments[9]:void 0,d=new On(null,e,t,n,i,r,a,fe(o));if(l&&(d.urlHandlingStrategy=l),c&&(d.routeReuseStrategy=c),qn(s,d),s.enableTracing){var p=Object(u["\u0275getDOM"])();d.events.subscribe(function(e){p.logGroup("Router Event: ".concat(e.constructor.name)),p.log(e.toString()),p.log(e),p.logGroupEnd()})}return d},deps:[Me,xn,u.Location,p.Injector,p.NgModuleFactoryLoader,p.Compiler,vn,Bn,[_n,new p.Optional],[gn,new p.Optional]]},xn,{provide:Ke,useFactory:function(e){return e.routerState.root},deps:[On]},{provide:p.NgModuleFactoryLoader,useClass:p.SystemJsNgModuleLoader},An,jn,Rn,{provide:Bn,useValue:{enableTracing:!1}}];function Hn(){return new p.NgProbeToken("Router",On)}var Vn=function(){var e=function(){function e(t,n){Object(d.a)(this,e)}return Object(c.a)(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Nn,Un(t),{provide:zn,useFactory:Gn,deps:[[On,new p.Optional,new p.SkipSelf]]},{provide:Bn,useValue:n||{}},{provide:u.LocationStrategy,useFactory:Wn,deps:[u.PlatformLocation,[new p.Inject(u.APP_BASE_HREF),new p.Optional],Bn]},{provide:Fn,useFactory:Yn,deps:[On,u.ViewportScroller,Bn]},{provide:Ln,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:jn},{provide:p.NgProbeToken,multi:!0,useFactory:Hn},[Zn,{provide:p.APP_INITIALIZER,multi:!0,useFactory:$n,deps:[Zn]},{provide:Kn,useFactory:Xn,deps:[Zn]},{provide:p.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Kn}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[Un(t)]}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275inject"](zn,8),p["\u0275\u0275inject"](On,8))},e.\u0275mod=p["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=p["\u0275\u0275defineInjector"]({}),e}();function Yn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Fn(e,t,n)}function Wn(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new u.HashLocationStrategy(e,t):new u.PathLocationStrategy(e,t)}function Gn(e){return"guarded"}function Un(e){return[{provide:p.ANALYZE_FOR_ENTRY_COMPONENTS,multi:!0,useValue:e},{provide:vn,multi:!0,useValue:e}]}function qn(e,t){e.errorHandler&&(t.errorHandler=e.errorHandler),e.malformedUriErrorHandler&&(t.malformedUriErrorHandler=e.malformedUriErrorHandler),e.onSameUrlNavigation&&(t.onSameUrlNavigation=e.onSameUrlNavigation),e.paramsInheritanceStrategy&&(t.paramsInheritanceStrategy=e.paramsInheritanceStrategy),e.relativeLinkResolution&&(t.relativeLinkResolution=e.relativeLinkResolution),e.urlUpdateStrategy&&(t.urlUpdateStrategy=e.urlUpdateStrategy)}var Zn=function(){var e=function(){function e(t){Object(d.a)(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new S.a}return Object(c.a)(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(u.LOCATION_INITIALIZED,Promise.resolve(null)).then(function(){var t=null,n=new Promise(function(e){return t=e}),i=e.injector.get(On),r=e.injector.get(Bn);return"disabled"===r.initialNavigation?(i.setUpLocationChangeListener(),t(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(i.hooks.afterPreactivation=function(){return e.initNavigation?Object(m.a)(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},i.initialNavigation()):t(!0),n})}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Bn),n=this.injector.get(An),i=this.injector.get(Fn),r=this.injector.get(On),a=this.injector.get(p.ApplicationRef);e===a.components[0]&&("enabledNonBlocking"!==t.initialNavigation&&void 0!==t.initialNavigation||r.initialNavigation(),n.setUpPreloading(),i.init(),r.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(p["\u0275\u0275inject"](p.Injector))},e.\u0275prov=p["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}();function $n(e){return e.appInitializer.bind(e)}function Xn(e){return e.bootstrapListener.bind(e)}var Kn=new p.InjectionToken("Router Initializer")},u3GI:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?r[n][0]:r[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_M\xe4rz_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._M\xe4rz_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},u47x:function(e,t,n){"use strict";n.d(t,"a",function(){return re}),n.d(t,"b",function(){return j}),n.d(t,"c",function(){return T}),n.d(t,"d",function(){return U}),n.d(t,"e",function(){return Q}),n.d(t,"f",function(){return V}),n.d(t,"g",function(){return A}),n.d(t,"h",function(){return K}),n.d(t,"i",function(){return H}),n.d(t,"j",function(){return ie}),n.d(t,"k",function(){return G}),n.d(t,"l",function(){return q}),n.d(t,"m",function(){return Z});var i=n("ODXe"),r=(n("JX7q"),n("ReuC")),a=n("foSv"),o=n("Ji7U"),s=n("LK+K"),l=n("1OyB"),c=n("vuIU"),d=n("ofXK"),u=n("fXoL"),p=n("XNiG"),h=n("quSY"),m=n("LRne"),g=n("FtGj"),f=n("vkgz"),v=n("Kj3r"),y=n("pLZG"),b=n("lJxs"),x=n("IzEk"),_=n("8LU1"),w=n("nLfN"),S=n("GU7r");function C(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}var k="cdk-describedby-message-container",O="cdk-describedby-message",E="cdk-describedby-host",M=0,I=new Map,P=null,T=function(){var e=function(){function e(t){Object(l.a)(this,e),this._document=t}return Object(c.a)(e,[{key:"describe",value:function(e,t,n){if(this._canBeDescribed(e,t)){var i=D(t,n);"string"!=typeof t?(L(t),I.set(i,{messageElement:t,referenceCount:0})):I.has(i)||this._createMessageElement(t,n),this._isElementDescribedByMessage(e,i)||this._addMessageReference(e,i)}}},{key:"removeDescription",value:function(e,t,n){if(t&&this._isElementNode(e)){var i=D(t,n);if(this._isElementDescribedByMessage(e,i)&&this._removeMessageReference(e,i),"string"==typeof t){var r=I.get(i);r&&0===r.referenceCount&&this._deleteMessageElement(i)}P&&0===P.childNodes.length&&this._deleteMessagesContainer()}}},{key:"ngOnDestroy",value:function(){for(var e=this._document.querySelectorAll("[".concat(E,"]")),t=0;t<e.length;t++)this._removeCdkDescribedByReferenceIds(e[t]),e[t].removeAttribute(E);P&&this._deleteMessagesContainer(),I.clear()}},{key:"_createMessageElement",value:function(e,t){var n=this._document.createElement("div");L(n),n.textContent=e,t&&n.setAttribute("role",t),this._createMessagesContainer(),P.appendChild(n),I.set(D(e,t),{messageElement:n,referenceCount:0})}},{key:"_deleteMessageElement",value:function(e){var t=I.get(e),n=t&&t.messageElement;P&&n&&P.removeChild(n),I.delete(e)}},{key:"_createMessagesContainer",value:function(){if(!P){var e=this._document.getElementById(k);e&&e.parentNode&&e.parentNode.removeChild(e),(P=this._document.createElement("div")).id=k,P.style.visibility="hidden",P.classList.add("cdk-visually-hidden"),this._document.body.appendChild(P)}}},{key:"_deleteMessagesContainer",value:function(){P&&P.parentNode&&(P.parentNode.removeChild(P),P=null)}},{key:"_removeCdkDescribedByReferenceIds",value:function(e){var t=C(e,"aria-describedby").filter(function(e){return 0!=e.indexOf(O)});e.setAttribute("aria-describedby",t.join(" "))}},{key:"_addMessageReference",value:function(e,t){var n,i,r,a=I.get(t);i=a.messageElement.id,(r=C(n=e,"aria-describedby")).some(function(e){return e.trim()==i.trim()})||(r.push(i.trim()),n.setAttribute("aria-describedby",r.join(" "))),e.setAttribute(E,""),a.referenceCount++}},{key:"_removeMessageReference",value:function(e,t){var n,i,r,a,o=I.get(t);o.referenceCount--,r=o.messageElement.id,(a=C(n=e,i="aria-describedby").filter(function(e){return e!=r.trim()})).length?n.setAttribute(i,a.join(" ")):n.removeAttribute(i),e.removeAttribute(E)}},{key:"_isElementDescribedByMessage",value:function(e,t){var n=C(e,"aria-describedby"),i=I.get(t),r=i&&i.messageElement.id;return!!r&&-1!=n.indexOf(r)}},{key:"_canBeDescribed",value:function(e,t){if(!this._isElementNode(e))return!1;if(t&&"object"==typeof t)return!0;var n=null==t?"":"".concat(t).trim(),i=e.getAttribute("aria-label");return!(!n||i&&i.trim()===n)}},{key:"_isElementNode",value:function(e){return e.nodeType===this._document.ELEMENT_NODE}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275inject"](d.DOCUMENT))},e.\u0275prov=Object(u["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(u["\u0275\u0275inject"])(d.DOCUMENT))},token:e,providedIn:"root"}),e}();function D(e,t){return"string"==typeof e?"".concat(t||"","/").concat(e):e}function L(e){e.id||(e.id="".concat(O,"-").concat(M++))}var R=function(){function e(t){var n=this;Object(l.a)(this,e),this._items=t,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new p.a,this._typeaheadSubscription=h.a.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=function(e){return e.disabled},this._pressedLetters=[],this.tabOut=new p.a,this.change=new p.a,t instanceof u.QueryList&&t.changes.subscribe(function(e){if(n._activeItem){var t=e.toArray().indexOf(n._activeItem);t>-1&&t!==n._activeItemIndex&&(n._activeItemIndex=t)}})}return Object(c.a)(e,[{key:"skipPredicate",value:function(e){return this._skipPredicateFn=e,this}},{key:"withWrap",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._wrap=e,this}},{key:"withVerticalOrientation",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._vertical=e,this}},{key:"withHorizontalOrientation",value:function(e){return this._horizontal=e,this}},{key:"withAllowedModifierKeys",value:function(e){return this._allowedModifierKeys=e,this}},{key:"withTypeAhead",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:200;return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(Object(f.a)(function(t){return e._pressedLetters.push(t)}),Object(v.a)(t),Object(y.a)(function(){return e._pressedLetters.length>0}),Object(b.a)(function(){return e._pressedLetters.join("")})).subscribe(function(t){for(var n=e._getItemsArray(),i=1;i<n.length+1;i++){var r=(e._activeItemIndex+i)%n.length,a=n[r];if(!e._skipPredicateFn(a)&&0===a.getLabel().toUpperCase().trim().indexOf(t)){e.setActiveItem(r);break}}e._pressedLetters=[]}),this}},{key:"withHomeAndEnd",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._homeAndEnd=e,this}},{key:"setActiveItem",value:function(e){var t=this._activeItem;this.updateActiveItem(e),this._activeItem!==t&&this.change.next(this._activeItemIndex)}},{key:"onKeydown",value:function(e){var t=this,n=e.keyCode,i=["altKey","ctrlKey","metaKey","shiftKey"].every(function(n){return!e[n]||t._allowedModifierKeys.indexOf(n)>-1});switch(n){case g.p:return void this.tabOut.next();case g.e:if(this._vertical&&i){this.setNextItemActive();break}return;case g.q:if(this._vertical&&i){this.setPreviousItemActive();break}return;case g.n:if(this._horizontal&&i){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case g.j:if(this._horizontal&&i){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case g.i:if(this._homeAndEnd&&i){this.setFirstItemActive();break}return;case g.f:if(this._homeAndEnd&&i){this.setLastItemActive();break}return;default:return void((i||Object(g.t)(e,"shiftKey"))&&(e.key&&1===e.key.length?this._letterKeyStream.next(e.key.toLocaleUpperCase()):(n>=g.a&&n<=g.r||n>=g.s&&n<=g.k)&&this._letterKeyStream.next(String.fromCharCode(n))))}this._pressedLetters=[],e.preventDefault()}},{key:"activeItemIndex",get:function(){return this._activeItemIndex}},{key:"activeItem",get:function(){return this._activeItem}},{key:"isTyping",value:function(){return this._pressedLetters.length>0}},{key:"setFirstItemActive",value:function(){this._setActiveItemByIndex(0,1)}},{key:"setLastItemActive",value:function(){this._setActiveItemByIndex(this._items.length-1,-1)}},{key:"setNextItemActive",value:function(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}},{key:"setPreviousItemActive",value:function(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}},{key:"updateActiveItem",value:function(e){var t=this._getItemsArray(),n="number"==typeof e?e:t.indexOf(e),i=t[n];this._activeItem=null==i?null:i,this._activeItemIndex=n}},{key:"_setActiveItemByDelta",value:function(e){this._wrap?this._setActiveInWrapMode(e):this._setActiveInDefaultMode(e)}},{key:"_setActiveInWrapMode",value:function(e){for(var t=this._getItemsArray(),n=1;n<=t.length;n++){var i=(this._activeItemIndex+e*n+t.length)%t.length;if(!this._skipPredicateFn(t[i]))return void this.setActiveItem(i)}}},{key:"_setActiveInDefaultMode",value:function(e){this._setActiveItemByIndex(this._activeItemIndex+e,e)}},{key:"_setActiveItemByIndex",value:function(e,t){var n=this._getItemsArray();if(n[e]){for(;this._skipPredicateFn(n[e]);)if(!n[e+=t])return;this.setActiveItem(e)}}},{key:"_getItemsArray",value:function(){return this._items instanceof u.QueryList?this._items.toArray():this._items}}]),e}(),j=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){return Object(l.a)(this,n),t.apply(this,arguments)}return Object(c.a)(n,[{key:"setActiveItem",value:function(e){this.activeItem&&this.activeItem.setInactiveStyles(),Object(r.a)(Object(a.a)(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.setActiveStyles()}}]),n}(R),A=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){var e;return Object(l.a)(this,n),(e=t.apply(this,arguments))._origin="program",e}return Object(c.a)(n,[{key:"setFocusOrigin",value:function(e){return this._origin=e,this}},{key:"setActiveItem",value:function(e){Object(r.a)(Object(a.a)(n.prototype),"setActiveItem",this).call(this,e),this.activeItem&&this.activeItem.focus(this._origin)}}]),n}(R),F=function(){var e=function(){function e(t){Object(l.a)(this,e),this._platform=t}return Object(c.a)(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(t){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){if(-1===z(n))return!1;if(!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),r=z(e);return e.hasAttribute("contenteditable")?-1!==r:"iframe"!==i&&"object"!==i&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&("audio"===i?!!e.hasAttribute("controls")&&-1!==r:"video"===i?-1!==r&&(null!==r||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}},{key:"isFocusable",value:function(e,t){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||B(e))}(e)&&!this.isDisabled(e)&&((null==t?void 0:t.ignoreVisibility)||this.isVisible(e))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275inject"](w.a))},e.\u0275prov=Object(u["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(u["\u0275\u0275inject"])(w.a))},token:e,providedIn:"root"}),e}();function B(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function z(e){if(!B(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var N=function(){function e(t,n,i,r){var a=this,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];Object(l.a)(this,e),this._element=t,this._checker=n,this._ngZone=i,this._document=r,this._hasAttached=!1,this.startAnchorListener=function(){return a.focusLastTabbableElement()},this.endAnchorListener=function(){return a.focusFirstTabbableElement()},this._enabled=!0,o||this.attachAnchors()}return Object(c.a)(e,[{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular(function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusInitialElement())})})}},{key:"focusFirstTabbableElementWhenReady",value:function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusFirstTabbableElement())})})}},{key:"focusLastTabbableElementWhenReady",value:function(){var e=this;return new Promise(function(t){e._executeOnStable(function(){return t(e.focusLastTabbableElement())})})}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], ")+"[cdkFocusRegion".concat(e,"], ")+"[cdk-focus-".concat(e,"]")),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-".concat(e))?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(e,"', ")+"use 'cdkFocusRegion".concat(e,"' instead. The deprecated ")+"attribute will be removed in 8.0.0.",t[n]):t[n].hasAttribute("cdk-focus-region-".concat(e))&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(e,"', ")+"use 'cdkFocusRegion".concat(e,"' instead. The deprecated attribute ")+"will be removed in 8.0.0.",t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),!this._checker.isFocusable(e)){var t=this._getFirstTabbableElement(e);return null==t||t.focus(),!!t}return e.focus(),!0}return this.focusFirstTabbableElement()}},{key:"focusFirstTabbableElement",value:function(){var e=this._getRegionBoundary("start");return e&&e.focus(),!!e}},{key:"focusLastTabbableElement",value:function(){var e=this._getRegionBoundary("end");return e&&e.focus(),!!e}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=0;n<t.length;n++){var i=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_getLastTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=t.length-1;n>=0;n--){var i=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(i)return i}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.pipe(Object(x.a)(1)).subscribe(e)}}]),e}(),H=function(){var e=function(){function e(t,n,i){Object(l.a)(this,e),this._checker=t,this._ngZone=n,this._document=i}return Object(c.a)(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new N(e,this._checker,this._ngZone,this._document,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275inject"](F),u["\u0275\u0275inject"](u.NgZone),u["\u0275\u0275inject"](d.DOCUMENT))},e.\u0275prov=Object(u["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(u["\u0275\u0275inject"])(F),Object(u["\u0275\u0275inject"])(u.NgZone),Object(u["\u0275\u0275inject"])(d.DOCUMENT))},token:e,providedIn:"root"}),e}(),V=function(){var e=function(){function e(t,n,i){Object(l.a)(this,e),this._elementRef=t,this._focusTrapFactory=n,this._previouslyFocusedElement=null,this._document=i,this.focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement,!0)}return Object(c.a)(e,[{key:"enabled",get:function(){return this.focusTrap.enabled},set:function(e){this.focusTrap.enabled=Object(_.c)(e)}},{key:"autoCapture",get:function(){return this._autoCapture},set:function(e){this._autoCapture=Object(_.c)(e)}},{key:"ngOnDestroy",value:function(){this.focusTrap.destroy(),this._previouslyFocusedElement&&(this._previouslyFocusedElement.focus(),this._previouslyFocusedElement=null)}},{key:"ngAfterContentInit",value:function(){this.focusTrap.attachAnchors(),this.autoCapture&&this._captureFocus()}},{key:"ngDoCheck",value:function(){this.focusTrap.hasAttached()||this.focusTrap.attachAnchors()}},{key:"ngOnChanges",value:function(e){var t=e.autoCapture;t&&!t.firstChange&&this.autoCapture&&this.focusTrap.hasAttached()&&this._captureFocus()}},{key:"_captureFocus",value:function(){var e,t,n=null===(e=this._document)||void 0===e?void 0:e.activeElement;this._previouslyFocusedElement=(null===(t=null==n?void 0:n.shadowRoot)||void 0===t?void 0:t.activeElement)||n,this.focusTrap.focusInitialElementWhenReady()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275directiveInject"](u.ElementRef),u["\u0275\u0275directiveInject"](H),u["\u0275\u0275directiveInject"](d.DOCUMENT))},e.\u0275dir=u["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkTrapFocus",""]],inputs:{enabled:["cdkTrapFocus","enabled"],autoCapture:["cdkTrapFocusAutoCapture","autoCapture"]},exportAs:["cdkTrapFocus"],features:[u["\u0275\u0275NgOnChangesFeature"]]}),e}();"undefined"!=typeof Element&&Element;var Y=new u.InjectionToken("liveAnnouncerElement",{providedIn:"root",factory:function(){return null}}),W=new u.InjectionToken("LIVE_ANNOUNCER_DEFAULT_OPTIONS"),G=function(){var e=function(){function e(t,n,i,r){Object(l.a)(this,e),this._ngZone=n,this._defaultOptions=r,this._document=i,this._liveElement=t||this._createLiveElement()}return Object(c.a)(e,[{key:"announce",value:function(e){for(var t,n,i=this,r=this._defaultOptions,a=arguments.length,o=new Array(a>1?a-1:0),s=1;s<a;s++)o[s-1]=arguments[s];return 1===o.length&&"number"==typeof o[0]?n=o[0]:(t=o[0],n=o[1]),this.clear(),clearTimeout(this._previousTimeout),t||(t=r&&r.politeness?r.politeness:"polite"),null==n&&r&&(n=r.duration),this._liveElement.setAttribute("aria-live",t),this._ngZone.runOutsideAngular(function(){return new Promise(function(t){clearTimeout(i._previousTimeout),i._previousTimeout=setTimeout(function(){i._liveElement.textContent=e,t(),"number"==typeof n&&(i._previousTimeout=setTimeout(function(){return i.clear()},n))},100)})})}},{key:"clear",value:function(){this._liveElement&&(this._liveElement.textContent="")}},{key:"ngOnDestroy",value:function(){clearTimeout(this._previousTimeout),this._liveElement&&this._liveElement.parentNode&&(this._liveElement.parentNode.removeChild(this._liveElement),this._liveElement=null)}},{key:"_createLiveElement",value:function(){for(var e="cdk-live-announcer-element",t=this._document.getElementsByClassName(e),n=this._document.createElement("div"),i=0;i<t.length;i++)t[i].parentNode.removeChild(t[i]);return n.classList.add(e),n.classList.add("cdk-visually-hidden"),n.setAttribute("aria-atomic","true"),n.setAttribute("aria-live","polite"),this._document.body.appendChild(n),n}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275inject"](Y,8),u["\u0275\u0275inject"](u.NgZone),u["\u0275\u0275inject"](d.DOCUMENT),u["\u0275\u0275inject"](W,8))},e.\u0275prov=Object(u["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(u["\u0275\u0275inject"])(Y,8),Object(u["\u0275\u0275inject"])(u.NgZone),Object(u["\u0275\u0275inject"])(d.DOCUMENT),Object(u["\u0275\u0275inject"])(W,8))},token:e,providedIn:"root"}),e}(),U=function(){var e=function(){function e(t,n,i,r){Object(l.a)(this,e),this._elementRef=t,this._liveAnnouncer=n,this._contentObserver=i,this._ngZone=r,this._politeness="polite"}return Object(c.a)(e,[{key:"politeness",get:function(){return this._politeness},set:function(e){var t=this;this._politeness="off"===e||"assertive"===e?e:"polite","off"===this._politeness?this._subscription&&(this._subscription.unsubscribe(),this._subscription=null):this._subscription||(this._subscription=this._ngZone.runOutsideAngular(function(){return t._contentObserver.observe(t._elementRef).subscribe(function(){var e=t._elementRef.nativeElement.textContent;e!==t._previousAnnouncedText&&(t._liveAnnouncer.announce(e,t._politeness),t._previousAnnouncedText=e)})}))}},{key:"ngOnDestroy",value:function(){this._subscription&&this._subscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275directiveInject"](u.ElementRef),u["\u0275\u0275directiveInject"](G),u["\u0275\u0275directiveInject"](S.b),u["\u0275\u0275directiveInject"](u.NgZone))},e.\u0275dir=u["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkAriaLive",""]],inputs:{politeness:["cdkAriaLive","politeness"]},exportAs:["cdkAriaLive"]}),e}();function q(e){return 0===e.buttons}function Z(e){var t=e.touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0];return!(!t||-1!==t.identifier||null!=t.radiusX&&1!==t.radiusX||null!=t.radiusY&&1!==t.radiusY)}var $=new u.InjectionToken("cdk-focus-monitor-default-options"),X=Object(w.f)({passive:!0,capture:!0}),K=function(){var e=function(){function e(t,n,i,r){var a=this;Object(l.a)(this,e),this._ngZone=t,this._platform=n,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){a._lastTouchTarget=null,a._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(e){if(!a._lastTouchTarget){var t=q(e)?"keyboard":"mouse";a._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=function(e){Z(e)?a._lastTouchTarget||a._setOriginForCurrentEventQueue("keyboard"):(null!=a._touchTimeoutId&&clearTimeout(a._touchTimeoutId),a._lastTouchTarget=J(e),a._touchTimeoutId=setTimeout(function(){return a._lastTouchTarget=null},650))},this._windowFocusListener=function(){a._windowFocused=!0,a._windowFocusTimeoutId=setTimeout(function(){return a._windowFocused=!1})},this._rootNodeFocusAndBlurListener=function(e){for(var t=J(e),n="focus"===e.type?a._onFocus:a._onBlur,i=t;i;i=i.parentElement)n.call(a,e,i)},this._document=i,this._detectionMode=(null==r?void 0:r.detectionMode)||0}return Object(c.a)(e,[{key:"monitor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=Object(_.e)(e);if(!this._platform.isBrowser||1!==n.nodeType)return Object(m.a)(null);var i=Object(w.c)(n)||this._getDocument(),r=this._elementInfo.get(n);if(r)return t&&(r.checkChildren=!0),r.subject;var a={checkChildren:t,subject:new p.a,rootNode:i};return this._elementInfo.set(n,a),this._registerGlobalListeners(a),a.subject}},{key:"stopMonitoring",value:function(e){var t=Object(_.e)(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var r=this,a=Object(_.e)(e);a===this._getDocument().activeElement?this._getClosestElementsInfo(a).forEach(function(e){var n=Object(i.a)(e,2);return r._originChanged(n[0],t,n[1])}):(this._setOriginForCurrentEventQueue(t),"function"==typeof a.focus&&a.focus(n))}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach(function(t,n){return e.stopMonitoring(n)})}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular(function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout(function(){return t._origin=null},1))})}},{key:"_wasCausedByTouch",value:function(e){var t=J(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);n&&(n.checkChildren||t===J(e))&&this._originChanged(t,this._getFocusOrigin(e),n)}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run(function(){return e.next(t)})}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,i=this._rootNodeFocusListenerCount.get(n)||0;i||this._ngZone.runOutsideAngular(function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,X),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,X)}),this._rootNodeFocusListenerCount.set(n,i+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular(function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,X),e.addEventListener("mousedown",t._documentMousedownListener,X),e.addEventListener("touchstart",t._documentTouchstartListener,X),n.addEventListener("focus",t._windowFocusListener)})}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,X),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,X),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var i=this._getDocument(),r=this._getWindow();i.removeEventListener("keydown",this._documentKeydownListener,X),i.removeEventListener("mousedown",this._documentMousedownListener,X),i.removeEventListener("touchstart",this._documentTouchstartListener,X),r.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}},{key:"_originChanged",value:function(e,t,n){this._setClasses(e,t),this._emitOrigin(n.subject,t),this._lastFocusOrigin=t}},{key:"_getClosestElementsInfo",value:function(e){var t=[];return this._elementInfo.forEach(function(n,i){(i===e||n.checkChildren&&i.contains(e))&&t.push([i,n])}),t}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275inject"](u.NgZone),u["\u0275\u0275inject"](w.a),u["\u0275\u0275inject"](d.DOCUMENT,8),u["\u0275\u0275inject"]($,8))},e.\u0275prov=Object(u["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(u["\u0275\u0275inject"])(u.NgZone),Object(u["\u0275\u0275inject"])(w.a),Object(u["\u0275\u0275inject"])(d.DOCUMENT,8),Object(u["\u0275\u0275inject"])($,8))},token:e,providedIn:"root"}),e}();function J(e){return e.composedPath?e.composedPath()[0]:e.target}var Q=function(){var e=function(){function e(t,n){Object(l.a)(this,e),this._elementRef=t,this._focusMonitor=n,this.cdkFocusChange=new u.EventEmitter}return Object(c.a)(e,[{key:"ngAfterViewInit",value:function(){var e=this,t=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(t,1===t.nodeType&&t.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(function(t){return e.cdkFocusChange.emit(t)})}},{key:"ngOnDestroy",value:function(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275directiveInject"](u.ElementRef),u["\u0275\u0275directiveInject"](K))},e.\u0275dir=u["\u0275\u0275defineDirective"]({type:e,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),e}(),ee="cdk-high-contrast-black-on-white",te="cdk-high-contrast-white-on-black",ne="cdk-high-contrast-active",ie=function(){var e=function(){function e(t,n){Object(l.a)(this,e),this._platform=t,this._document=n}return Object(c.a)(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,i=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),i){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove(ne),e.remove(ee),e.remove(te);var t=this.getHighContrastMode();1===t?(e.add(ne),e.add(ee)):2===t&&(e.add(ne),e.add(te))}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275inject"](w.a),u["\u0275\u0275inject"](d.DOCUMENT))},e.\u0275prov=Object(u["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(u["\u0275\u0275inject"])(w.a),Object(u["\u0275\u0275inject"])(d.DOCUMENT))},token:e,providedIn:"root"}),e}(),re=function(){var e=Object(c.a)(function e(t){Object(l.a)(this,e),t._applyBodyHighContrastModeCssClasses()});return e.\u0275fac=function(t){return new(t||e)(u["\u0275\u0275inject"](ie))},e.\u0275mod=u["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=u["\u0275\u0275defineInjector"]({imports:[[w.b,S.c]]}),e}()},uEye:function(e,t,n){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_m\xe5ndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._m\xe5._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_m\xe5_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I g\xe5r klokka] LT",lastWeek:"[F\xf8reg\xe5ande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein m\xe5nad",MM:"%d m\xe5nader",y:"eit \xe5r",yy:"%d \xe5r"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},uFwe:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("BsWD");function r(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=Object(i.a)(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw o}}}}},uJc7:function(e,t,n){"use strict";n.d(t,"a",function(){return p});var i=n("1zuJ"),r=n("lJxs"),a=n("eXdc"),o=n("XNiG"),s=n("deNa"),l=n("fXoL"),c=n("tk/3"),d=n("b6Qw"),u=n("tyNb"),p=function(){function e(e,t,n,i,r){this.http=e,this.cookieService=t,this.route=n,this.window=i,this.ThemeService=r,this._isLoggedIn=!1,this._isAnonymous=!1,this._isAuditing=!1,this._isLoginView=new o.a,this._isMobileEmbedded=new o.a,this._createAccountURL="/api/v2/auth/create",this._authenticateSocialURL="/api/v2/auth/social_login",this._facebookLoginURL="/api/v2/auth/social_login",this._connectAccountURL="/api/v2/facebook/connect_account",this._activityMonitorsURL="/api/v2/account/list_activity_monitors_connectivity_status",this._addToNewsletterURL="/api/v2/tasks/sendgrid/newsletter",this._disableAccountURL="/api/v2/account/disable",this._rotateImageURL="/api/v2/workout/rotate_image",this._updateMemberPermissionsURL="/api/v2/group/update_member_permission_list",this._logoutURL="/api/v2/auth/logout",this._templateValuesURL="/api/v2/account/get_template_values",this._accountURL="/api/v2/account/get_account",this._uploadProfilePhotoURL="/api/v2/account/upload_image",this._rotateProfilePhotoURL="/api/v2/account/rotate_image",this._getLivetrackingPrivacyURL="/api/v2/account/get_livetracking_privacy",this._setLivetrackingPrivacyURL="/api/v2/account/set_livetracking_privacy",this._setNotificationSettingURL="/api/v2/account/set_notification_setting",this._getSmartCoachURL="/api/v2/coach/get_coach_data",this._listSmartCoachesURL="/api/v2/coach/list_smart_coaches",this._listCoachHistoryURL="/api/v2/coach/history",this._updateSmartCoachURL="/api/v2/coach/upsert_coach_data",this._getSmartCoachInterviewURL="/api/v2/ai/gpt/smart_coach_interview",this._authenticateURL="/api/v2/auth/authenticate",this._changePasswordURL="/api/v2/account/change_password",this._verifyEmailURL="/api/v2/auth/is_exist",this._forgotPasswordURL="/api/v2/auth/forgot_password",this._updateAccountURL="/api/v2/account/update",this._supportQueryURL="/api/v2/ai/gpt/support",this._reviewQueryURL="/api/v2/review/get_review"}return e.prototype.logout=function(){var e=this;this.callLogout().subscribe(function(t){e.setLoginView(!0),e._account=null,e.isLoggedIn=!1,e.cookieService.delete("session"),e.route.navigate(["/login"])})},e.prototype.clearAccountCache=function(){this._account=null},Object.defineProperty(e.prototype,"cloudBuckets",{get:function(){return{IMAGE_BUCKET:"https://storage.googleapis.com/image_manager/",STATIC_BUCKET:"https://storage.googleapis.com/static_manager/"}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isLoggedIn",{get:function(){return this._isLoggedIn},set:function(e){this._isLoggedIn=e},enumerable:!1,configurable:!0}),e.prototype.isLoginView=function(){return this._isLoginView.asObservable()},e.prototype.setLoginView=function(e){this._isLoginView.next(e)},e.prototype.isMobileEmbedded=function(){return this._isMobileEmbedded.asObservable()},e.prototype.setMobileEmbedded=function(e){this._isMobileEmbedded.next(e)},Object.defineProperty(e.prototype,"isAuditing",{get:function(){return this._isAuditing},set:function(e){this._isAuditing=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isAnonymous",{get:function(){return this._isAnonymous},set:function(e){this._isAnonymous=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"account",{get:function(){return this._account},set:function(e){this._account=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"auditor",{get:function(){return this._auditor},set:function(e){this._auditor=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"messageProfileImage",{get:function(){return this._messageProfileImage},set:function(e){this._messageProfileImage=e},enumerable:!1,configurable:!0}),e.prototype.authenticate=function(e,t,n,i){var r={login:e,password:t};return n&&(r.group_id=n),(i||""==i)&&(r.employee_id=i),this.http.post(this.getPy3Host()+this._authenticateURL,{params:r},{})},e.prototype.authenticateSocial=function(e,t,n){return this.http.post(this.getPy3Host()+this._authenticateSocialURL,{token:e,provider:t,appName:n},{})},e.prototype.changePassword=function(e){return this.http.post(this.getPy3Host()+this._changePasswordURL,e,{})},e.prototype.callLogout=function(){return this.http.post(this.getPy3Host()+this._logoutURL,{},{})},e.prototype.initialAuth=function(e,t){var n={params:{product:"FD"},deviceId:e};try{if(null==t){var i=this.getDevice();i&&(n.deviceId=i)}}catch(r){}return this.http.post(this.getPy3Host()+this._templateValuesURL,n,{})},e.prototype.forgotPassword=function(e){return this.http.post(this.getPy3Host()+this._forgotPasswordURL,{account:{email:e}},{})},e.prototype.verifyEmail=function(e){return this.http.post(this.getPy3Host()+this._verifyEmailURL,{account:{login:e}},{})},e.prototype.updateMemberPermissions=function(e,t){return this.http.post(this.getPy3Host()+this._updateMemberPermissionsURL,{params:{path:e,permission_list:t}},{})},e.prototype.createAccount=function(e,t){return e.appName=this.ThemeService.isThemeBecolorado?"web_move":"web_site",e.fitnessLevel||(e.fitnessLevel="5"),e.weight||(e.weight="150"),t&&(e.groupId=t),this.http.post(this.getPy3Host()+this._createAccountURL,{account:e},{})},e.prototype.getAccount=function(){return this.http.post(this.getPy3Host()+this._accountURL,{params:{str_values:!1}},{}).pipe(Object(r.a)(function(e){return new a.a(e.response.account)}))},e.prototype.updateAccount=function(e){return this.http.post(this.getPy3Host()+this._updateAccountURL,{account:e.toDict(),params:{update_both_email_login:!0}},{})},e.prototype.disableAccount=function(){return this.http.post(this.getPy3Host()+this._disableAccountURL,{},{})},e.prototype.getActivityMonitors=function(){return this.http.post(this.getPy3Host()+this._activityMonitorsURL,{},{})},e.prototype.getDevice=function(){return JSON.parse(atob(this.cookieService.get("session").split("|")[0])).deviceId},e.prototype.uploadProfilePhoto=function(e){return this.http.post(this.getPy3Host()+this._uploadProfilePhotoURL,e,{})},e.prototype.rotateImage=function(e){var t={params:{image_gcsKey:e}};return this.http.post(this.getPy3Host()+this._rotateImageURL,t,{})},e.prototype.rotateProfilePhoto=function(){return this.http.post(this.getPy3Host()+this._rotateProfilePhotoURL,{},{})},e.prototype.getHostname=function(){return"localhost"==this.window.location.hostname?(this.ThemeService.isDevMode=!0,"https://my.fitdigits.com"):(this.ThemeService.isDevMode=!1,"")},e.prototype.getPy3Host=function(){return"localhost"==this.window.location.hostname?(this.ThemeService.isDevMode=!0,"http://localhost:8081"):(this.ThemeService.isDevMode=!1,"")},e.prototype.getCloudHost=function(){return"localhost"==this.window.location.hostname?(this.ThemeService.isDevMode=!0,"http://localhost:8081"):(this.ThemeService.isDevMode=!1,"")},e.prototype.addToNewsletter=function(e){var t={params:{email:e}};return this.http.post(this.getPy3Host()+this._addToNewsletterURL,t,{})},e.prototype.connectFacebook=function(e){var t={params:{accessToken:e}};return this.http.post(this.getHostname()+this._connectAccountURL,t,{})},e.prototype.logInWithFacebook=function(e,t){console.log("logInWithFacebook");var n={token:e,provider:"FACEBOOK",appName:"web_site",groupId:t};return this.http.post(this.getPy3Host()+this._facebookLoginURL,n,{})},e.prototype.getLTPrivacy=function(){return this.http.post(this.getPy3Host()+this._getLivetrackingPrivacyURL,{},{})},e.prototype.setLTPrivacy=function(e){return this.http.post(this.getPy3Host()+this._setLivetrackingPrivacyURL,{params:{status:e}},{})},e.prototype.setNotificationSetting=function(e,t){return this.http.post(this.getPy3Host()+this._setNotificationSettingURL,{params:{setting:e,value:t}},{})},e.prototype.getSmartCoach=function(){return this.http.post(this.getPy3Host()+this._getSmartCoachURL,{},{})},e.prototype.listSmartCoaches=function(){return this.http.post(this.getPy3Host()+this._listSmartCoachesURL,{},{})},e.prototype.listCoachHistory=function(e,t){return this.http.post(this.getPy3Host()+this._listCoachHistoryURL,{params:{start_date:e,end_date:t}},{})},e.prototype.updateSmartCoach=function(e){return this.http.post(this.getPy3Host()+this._updateSmartCoachURL,{params:{smart_coach:e}},{})},e.prototype.getSmartCoachInterview=function(e){var t={params:{question:e,dry_run:!1}};return console.log(t),this.http.post(this.getPy3Host()+this._getSmartCoachInterviewURL,t,{})},e.prototype.upsertInterview=function(e){var t={params:{meta_data:e}};return console.log(t),this.http.post(this.getPy3Host()+this._updateSmartCoachURL,t,{})},e.prototype.supportQuery=function(e,t){var n={params:{prompt:e,app_name:t}};return console.log(n),this.http.post(this.getPy3Host()+this._supportQueryURL,n,{})},e.prototype.getReviewData=function(e,t,n){var i={params:{account_id:e,event:t,year:n}};return console.log(i),this.http.post(this.getPy3Host()+this._reviewQueryURL,i,{})},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275inject"](c.b),l["\u0275\u0275inject"](d.a),l["\u0275\u0275inject"](u.d),l["\u0275\u0275inject"](i.a),l["\u0275\u0275inject"](s.a))},e.\u0275prov=l["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac}),e}()},uXwI:function(e,t,n){!function(e){"use strict";var t={ss:"sekundes_sekund\u0113m_sekunde_sekundes".split("_"),m:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),mm:"min\u016btes_min\u016bt\u0113m_min\u016bte_min\u016btes".split("_"),h:"stundas_stund\u0101m_stunda_stundas".split("_"),hh:"stundas_stund\u0101m_stunda_stundas".split("_"),d:"dienas_dien\u0101m_diena_dienas".split("_"),dd:"dienas_dien\u0101m_diena_dienas".split("_"),M:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),MM:"m\u0113ne\u0161a_m\u0113ne\u0161iem_m\u0113nesis_m\u0113ne\u0161i".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function n(e,t,n){return n?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function i(e,i,r){return e+" "+n(t[r],e,i)}function r(e,i,r){return n(t[r],e,i)}e.defineLocale("lv",{months:"janv\u0101ris_febru\u0101ris_marts_apr\u012blis_maijs_j\u016bnijs_j\u016blijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_j\u016bn_j\u016bl_aug_sep_okt_nov_dec".split("_"),weekdays:"sv\u0113tdiena_pirmdiena_otrdiena_tre\u0161diena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[\u0160odien pulksten] LT",nextDay:"[R\u012bt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pag\u0101ju\u0161\u0101] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"p\u0113c %s",past:"pirms %s",s:function(e,t){return t?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:i,m:r,mm:i,h:r,hh:i,d:r,dd:i,M:r,MM:i,y:r,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},vkgz:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("JX7q"),r=n("Ji7U"),a=n("LK+K"),o=n("1OyB"),s=n("vuIU"),l=n("7o/Q"),c=n("KqfI"),d=n("n6bG");function u(e,t,n){return function(i){return i.lift(new p(e,t,n))}}var p=function(){function e(t,n,i){Object(o.a)(this,e),this.nextOrObserver=t,this.error=n,this.complete=i}return Object(s.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new h(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),h=function(e){Object(r.a)(n,e);var t=Object(a.a)(n);function n(e,r,a,s){var l;return Object(o.a)(this,n),(l=t.call(this,e))._tapNext=c.a,l._tapError=c.a,l._tapComplete=c.a,l._tapError=a||c.a,l._tapComplete=s||c.a,Object(d.a)(r)?(l._context=Object(i.a)(l),l._tapNext=r):r&&(l._context=r,l._tapNext=r.next||c.a,l._tapError=r.error||c.a,l._tapComplete=r.complete||c.a),l}return Object(s.a)(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(l.a)},vtpD:function(e,t,n){"use strict";n.d(t,"b",function(){return le}),n.d(t,"a",function(){return he});var i=n("3Pt+"),r=n("uJc7"),a=n("0IaG"),o=n("Ew8h"),s=n("Bu+s"),l=n("fXoL"),c=function(){function e(){var e=this;this.appleScriptUrl="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js",this.ready=new Promise(function(t){"undefined"!=typeof window?n("ojxP")(e.appleScriptUrl,function(){return t(!0)}):t(!1)}),this.ready.then(function(t){t&&e.init()})}return e.prototype.init=function(){AppleID.auth.init({clientId:"com.fitdigits.my",scope:"name email",redirectURI:"https://my.fitdigits.com/api/v2/apple/signin",state:"test_state"})},e.\u0275prov=l["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac=function(t){return new(t||e)},providedIn:"root"}),e}(),d=n("deNa"),u=n("yjSS"),p=n("1zuJ"),h=n("jhN1"),m=n("sYmb"),g=n("h+eY"),f=n("tyNb"),v=n("b6Qw"),y=n("ofXK"),b=n("Xa2L"),x=n("/t3+"),_=n("bTqV"),w=n("kmnG");function S(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",96),l["\u0275\u0275elementStart"](1,"span",97),l["\u0275\u0275text"](2,"*"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](3," CU Health Plan Members - REQUIRED for monthly incentive "),l["\u0275\u0275elementEnd"]())}function C(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"section",98),l["\u0275\u0275elementStart"](1,"span"),l["\u0275\u0275text"](2),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](n.error)}}function k(e,t){1&e&&l["\u0275\u0275element"](0,"mat-spinner",99),2&e&&l["\u0275\u0275property"]("diameter",20)}function O(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",103),l["\u0275\u0275text"](1),l["\u0275\u0275pipe"](2,"translate"),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](2,1,"ROOT.Login with Facebook")," "))}function E(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",103),l["\u0275\u0275text"](1," . . . . . "),l["\u0275\u0275elementEnd"]())}function M(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div",100),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().facebookLogin()}),l["\u0275\u0275element"](1,"img",101),l["\u0275\u0275template"](2,O,3,3,"div",102),l["\u0275\u0275template"](3,E,2,0,"div",102),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",!i.FacebookloginStarted),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",i.FacebookloginStarted)}}function I(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",103),l["\u0275\u0275text"](1),l["\u0275\u0275pipe"](2,"translate"),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](2,1,"ROOT.Login with Facebook")," "))}function P(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",103),l["\u0275\u0275text"](1," . . . . . "),l["\u0275\u0275elementEnd"]())}function T(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div",100),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().facebookLogin()}),l["\u0275\u0275element"](1,"img",101),l["\u0275\u0275template"](2,I,3,3,"div",102),l["\u0275\u0275template"](3,P,2,0,"div",102),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",!i.FacebookloginStarted),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",i.FacebookloginStarted)}}function D(e,t){1&e&&l["\u0275\u0275element"](0,"mat-spinner",99),2&e&&l["\u0275\u0275property"]("diameter",20)}function L(e,t){1&e&&l["\u0275\u0275element"](0,"mat-spinner",99),2&e&&l["\u0275\u0275property"]("diameter",20)}function R(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"section",98),l["\u0275\u0275elementStart"](1,"span"),l["\u0275\u0275text"](2),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](n.error)}}var j=function(e){return[e]};function A(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div"),l["\u0275\u0275elementStart"](1,"i",10),l["\u0275\u0275text"](2,"check"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](3),l["\u0275\u0275pipe"](4,"translate"),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](4,1,"ROOT.Your password reset link will be emailed to you.")," "))}function F(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",11),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](n.error)}}function B(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"button",12),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().cancel()}),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275text"](2),l["\u0275\u0275pipe"](3,"translate"),l["\u0275\u0275elementEnd"]()}2&e&&(l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](1,2,"ROOT.Cancel")),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](3,4,"ROOT.Cancel")," "))}function z(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"button",13),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().submit()}),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275text"](2),l["\u0275\u0275pipe"](3,"translate"),l["\u0275\u0275elementEnd"]()}2&e&&(l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](1,2,"ROOT.Submit")),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](3,4,"ROOT.Submit")," "))}function N(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"button",12),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().cancel()}),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275text"](2),l["\u0275\u0275pipe"](3,"translate"),l["\u0275\u0275elementEnd"]()}2&e&&(l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](1,2,"ROOT.Close")),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](3,4,"ROOT.Close")," "))}function H(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",9),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](n.error)}}function V(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"p"),l["\u0275\u0275text"](1,"Joining the program is subject to accepting the Fitdigits and CU Health. Move. "),l["\u0275\u0275elementStart"](2,"a",12),l["\u0275\u0275text"](3,"Participant Agreement"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](4,"br"),l["\u0275\u0275text"](5,"and the "),l["\u0275\u0275elementStart"](6,"a",13),l["\u0275\u0275text"](7," terms and conditions"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](8," which will be presented on the following screen."),l["\u0275\u0275element"](9,"br"),l["\u0275\u0275elementEnd"]())}function Y(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",14),l["\u0275\u0275elementStart"](1,"i",15),l["\u0275\u0275text"](2,"error"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](3),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"](" ",n.error," ")}}var W=function(e){return{color:e}};function G(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",10),l["\u0275\u0275element"](1,"input",15),l["\u0275\u0275elementEnd"]())}function U(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",10),l["\u0275\u0275element"](1,"input",16),l["\u0275\u0275elementEnd"]())}function q(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",10),l["\u0275\u0275element"](1,"input",17),l["\u0275\u0275elementEnd"]())}function Z(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",18),l["\u0275\u0275element"](1,"input",19),l["\u0275\u0275elementEnd"]())}function $(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div"),l["\u0275\u0275elementStart"](1,"fieldset"),l["\u0275\u0275elementStart"](2,"div",10),l["\u0275\u0275element"](3,"input",11),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](4,G,2,0,"div",12),l["\u0275\u0275template"](5,U,2,0,"div",12),l["\u0275\u0275elementStart"](6,"div",10),l["\u0275\u0275element"](7,"input",13),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](8,q,2,0,"div",12),l["\u0275\u0275template"](9,Z,2,0,"div",14),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("ngIf",2==n.step),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",2==n.step),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngIf",2==n.step),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",2==n.step)}}function X(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",20),l["\u0275\u0275element"](1,"a",21),l["\u0275\u0275elementStart"](2,"h2",22),l["\u0275\u0275elementStart"](3,"strong"),l["\u0275\u0275text"](4,"CU Health"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](5,". "),l["\u0275\u0275elementStart"](6,"em"),l["\u0275\u0275text"](7,"Move"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](8,"."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](9,"h3",23),l["\u0275\u0275text"](10,"Participant Agreement"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](11,"br"),l["\u0275\u0275elementStart"](12,"p"),l["\u0275\u0275text"](13,"The University of Colorado Health and Welfare Trust and Plan (\u201cPlan\u201d) has developed a movement program ("),l["\u0275\u0275elementStart"](14,"em"),l["\u0275\u0275text"](15,"Move"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](16,".) to reward CU Health Plan participants that lead an active lifestyle. The Plan Employers (University of Colorado and University Physicians, Inc.) \xa0will provide each participant with a taxable incentive payment of $25 for every month the participant engages in at least 30 minutes of moderate and/or vigorous physical activity a minimum of 12 days per month.\xa0 The daily 30 minute requirement may be accumulated through a minimum of 10 minute increments over the course of each day or, if using a Fitbit, Jawbone UP or Misfit Shine tracking device, by taking 10,000 steps over the course of a day.\xa0 The Plan has contracted with Fitdigits Inc. to provide a simple way to track participant progress and encourage each participant to meet the monthly goal.\xa0 To take part in "),l["\u0275\u0275elementStart"](17,"em"),l["\u0275\u0275text"](18,"Move."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](19,", each participant understands, agrees to and/or certifies the following:"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](20,"ol"),l["\u0275\u0275elementStart"](21,"li"),l["\u0275\u0275text"](22,"I certify that I am eighteen years of age or older. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](23,"br"),l["\u0275\u0275elementStart"](24,"li"),l["\u0275\u0275text"](25,"I certify that I am employed by a Plan Employer and am currently participating in a CU Health Plan."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](26,"br"),l["\u0275\u0275elementStart"](27,"li"),l["\u0275\u0275text"](28,"I understand I should seek the advice of a physician or other competent medical professional before beginning any physical activity and/or weight loss program or if I have any questions or concerns regarding my health or medical care.\xa0 I understand that if I am unable to meet the physical activity requirements for the incentive under this movement program because of my health status, I have the opportunity to earn the same incentive by different means.\xa0 I understand that I can contact questions@becolorado.org to establish an alternate incentive opportunity in accordance with my physician\u2019s recommendation."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](29,"br"),l["\u0275\u0275elementStart"](30,"li"),l["\u0275\u0275text"](31,"If I experience any abnormal physical symptoms while participating in "),l["\u0275\u0275elementStart"](32,"em"),l["\u0275\u0275text"](33,"Move."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](34,", I will stop exercising immediately and consult my physician. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](35,"br"),l["\u0275\u0275element"](36,"br"),l["\u0275\u0275elementStart"](37,"p",23),l["\u0275\u0275elementStart"](38,"u"),l["\u0275\u0275text"](39,"USE OF THE "),l["\u0275\u0275elementStart"](40,"strong"),l["\u0275\u0275text"](41,"CU HEALTH"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](42,". "),l["\u0275\u0275elementStart"](43,"em"),l["\u0275\u0275text"](44,"MOVE"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](45,". APPS AND WEBSITE"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](46,"li"),l["\u0275\u0275text"](47,"I understand that Fitdigits has developed a CU Health. Move. app and website in order to track my progress toward meeting the requirement of 12 times per month of 30 minutes or more of moderate to vigorous physical activity.\xa0 The daily 30 minute requirement may be accumulated through a minimum of 10 minute increments over the course of each day, or if using a Fitbit, Jawbone UP or Misfit Shine tracking device, by taking 10,000 steps over the course of a day."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](48,"br"),l["\u0275\u0275elementStart"](49,"li"),l["\u0275\u0275text"](50,"\xa0I agree to download the free CU Health. Move. app from Fitdigits at the Apple store or the Google Play store or sign up at the CU Health. Move. skinned Fitdigits website "),l["\u0275\u0275elementStart"](51,"a",24),l["\u0275\u0275text"](52,"https://becolorado.fitdigits.com"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](53," in order to report my physical activity minutes."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](54,"br"),l["\u0275\u0275elementStart"](55,"li"),l["\u0275\u0275text"](56,"I understand that although the app and website have the CU Health. Move. branding, they are solely run by Fitdigits and my use of the app and website is governed by Fitdigits\u2019 Privacy Policy and Terms of Service."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](57,"br"),l["\u0275\u0275elementStart"](58,"li"),l["\u0275\u0275text"](59,"I have read and understand Fitdigits\u2019 Privacy Policy "),l["\u0275\u0275elementStart"](60,"a",25),l["\u0275\u0275text"](61,"https://www.fitdigits.com/privacy-policy.html"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](62," and understand that it covers my use of the app and website and the use of my information by Fitdigits."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](63,"br"),l["\u0275\u0275elementStart"](64,"li"),l["\u0275\u0275text"](65,"I have read and understand Fitdigits\u2019 Terms of Service "),l["\u0275\u0275elementStart"](66,"a",26),l["\u0275\u0275text"](67,"https://www.fitdigits.com/terms-and-conditions.html"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](68," \xa0and understand that it covers my use of the app and website and the use of my information by Fitdigits."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](69,"br"),l["\u0275\u0275elementStart"](70,"li"),l["\u0275\u0275text"](71,"I understand that any information I provide to Fitdigits regarding my physical activity is governed by Fitdigits\u2019 Terms of Service and Privacy Policy and that any additional information I provide is voluntarily provided and subject to Fitdigits\u2019 Terms of Service and Privacy Policy."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](72,"br"),l["\u0275\u0275elementStart"](73,"li"),l["\u0275\u0275text"](74,"I agree to provide my monthly physical activity minutes to Fitdigits via the app or website.\xa0 I understand that my physical activity minutes may be uploaded automatically through the app or other third-party component (e.g.\xa0 FitBit).\xa0 "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](75,"br"),l["\u0275\u0275elementStart"](76,"li"),l["\u0275\u0275text"](77,"I understand that to track the number of steps I take per day for this program, I must be using a Fitbit, Jawbone UP or Misfit Shine device to track my movement."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](78,"br"),l["\u0275\u0275elementStart"](79,"li"),l["\u0275\u0275text"](80,"I understand that I may self-report my physical activity minutes by manually entering the information through the website or app a maximum of two times per month."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](81,"br"),l["\u0275\u0275elementStart"](82,"li"),l["\u0275\u0275text"](83,"I certify that any self-reported and manually entered physical activity minutes are a true and accurate record of my physical activity. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](84,"br"),l["\u0275\u0275elementStart"](85,"li"),l["\u0275\u0275text"](86,"I understand that various third-party products may be used in combination with Fitdigits to provide additional user features.\xa0 I understand that neither the Plan nor the Plan Employers require any participant to purchase these products, endorses any of these products or guarantees their quality in any way.\xa0 Use or purchase of any third-party products is the sole responsibility of the participant."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](87,"br"),l["\u0275\u0275elementStart"](88,"li"),l["\u0275\u0275text"](89,"I understand that the CU Health. Move. Fitdigits app and website may include advertising.\xa0 I understand that neither the Plan nor the Plan Employers endorse any of the products advertised or guarantee their quality in any way. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](90,"br"),l["\u0275\u0275element"](91,"br"),l["\u0275\u0275elementStart"](92,"p",23),l["\u0275\u0275elementStart"](93,"u"),l["\u0275\u0275text"](94,"REQUIREMENTS TO EARN THE INCENTIVE PAYMENT"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](95,"li"),l["\u0275\u0275text"](96,"I understand that in order for any physical activity minutes to count towards my incentive, all physical activity minutes must be completed by the end of the month and downloaded or manually entered by the 5th calendar day of the following month.\xa0 I understand that it is my responsibility to ensure that all physical activity minutes are timely received by Fitdigits."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](97,"br"),l["\u0275\u0275elementStart"](98,"li"),l["\u0275\u0275text"](99,"To meet the 10,000 steps per day requirement, I must have either a Fitbit, Jawbone UP or Misfit Shine device that is capable of tracking my steps and is supported by Fitdigits. I understand that I may earn the incentive payment through a combination of days in which I took 10,000 steps (only if I am using a Fitbit, Jawbone UP or Misfit Shine) and/or days in which I completed a minimum of 30 minutes of moderate and/or vigorous physical activity recorded via the Move. application.\n"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](100,"br"),l["\u0275\u0275elementStart"](101,"li"),l["\u0275\u0275text"](102,"I understand that moderate physical activity is defined as physical activity that is the equivalent of brisk walking or biking at a casual pace. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](103,"br"),l["\u0275\u0275elementStart"](104,"li"),l["\u0275\u0275text"](105,"I understand that vigorous physical activity is defined as physical activity that is the equivalent of running, jogging, swimming laps, playing competitive sports or jumping rope."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](106,"br"),l["\u0275\u0275element"](107,"br"),l["\u0275\u0275elementStart"](108,"p",23),l["\u0275\u0275elementStart"](109,"u"),l["\u0275\u0275text"](110,"INCENTIVE PAYMENT"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](111,"li"),l["\u0275\u0275text"](112,"I understand that I will earn a taxable $25 cash incentive for each month that I meet the requirement of at least 30 minutes of moderate and/or vigorous physical activity a minimum of 12 days per calendar month. \xa0The daily 30 minute requirement may be accumulated through a minimum of 10 minute increments over the course of each day or, if using a Fitbit, Jawbone UP or Misfit Shine tracking device, by taking 10,000 steps over the course of a day."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](113,"br"),l["\u0275\u0275elementStart"](114,"li"),l["\u0275\u0275text"](115,"I understand that payments will be processed quarterly.\xa0 I understand I will only receive payment for the months in which I met the requirement.\xa0 Incentives earned for April-June will be paid in August.\xa0 Incentives earned for July-September will be paid in November.\xa0 Incentives earned for October-December will be paid in February.\xa0 Incentives earned for January-March will be paid in May. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](116,"br"),l["\u0275\u0275elementStart"](117,"li"),l["\u0275\u0275text"](118,"I understand that in order to receive the quarterly payment I must still be employed by a Plan Employer at the time of payment. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](119,"br"),l["\u0275\u0275elementStart"](120,"li"),l["\u0275\u0275text"](121,"I understand that payment will terminate upon termination of my employment with a Plan Employer, and I will only receive payment if I am a current employee of a Plan Employer at the time of payment."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](122,"br"),l["\u0275\u0275element"](123,"br"),l["\u0275\u0275elementStart"](124,"p",23),l["\u0275\u0275elementStart"](125,"u"),l["\u0275\u0275text"](126,"COMMUNICATION"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](127,"li"),l["\u0275\u0275text"](128,"I understand that Fitdigits will send me monthly emails updating the status of my progress and will notify me via email when I have met the monthly requirement.\xa0 I understand that I can opt out of the email notifications at any time. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](129,"br"),l["\u0275\u0275elementStart"](130,"li"),l["\u0275\u0275text"](131,"I understand that the only information my employer will receive from Fitdigits is whether I have met the minimum required monthly physical activity and de-identified, aggregate reporting on the use of the program by participants."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](132,"br"),l["\u0275\u0275elementStart"](133,"li"),l["\u0275\u0275text"](134,"\xa0I understand that if I no longer want to participate in "),l["\u0275\u0275elementStart"](135,"em"),l["\u0275\u0275text"](136,"Move"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](137,". I can remove myself from the program at any time by notifying questions@becolorado.org. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](138,"br"),l["\u0275\u0275elementStart"](139,"li"),l["\u0275\u0275text"](140,"I understand that this Participation Agreement is subject to change at any time.\xa0 My continued participation in this program constitutes my acceptance of the changes.\xa0 The Plan will post the most recent Participant Agreement, incorporating any changes, on the CU Health. Move. website at "),l["\u0275\u0275elementStart"](141,"a",27),l["\u0275\u0275text"](142,"becolorado.org"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](143,"."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](144,"p"),l["\u0275\u0275text"](145,"\xa0"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]())}function K(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-error"),l["\u0275\u0275text"](1," Passwords do not match "),l["\u0275\u0275elementEnd"]())}function J(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",29),l["\u0275\u0275elementStart"](1,"i",30),l["\u0275\u0275text"](2,"error"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](3),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"](" ",n.error," ")}}function Q(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div"),l["\u0275\u0275template"](1,K,2,0,"mat-error",3),l["\u0275\u0275template"](2,J,4,1,"div",28),l["\u0275\u0275elementStart"](3,"p"),l["\u0275\u0275text"](4),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",n.bcRegisterForm.hasError("notSame")),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",n.error),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"]("",n.step," - Account creation is subject to accepting the Fitdigits and CU Health. Move. Participant Agreement and the terms and conditions which will be presented on the following screen.")}}function ee(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1,"..."),l["\u0275\u0275elementEnd"]())}function te(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"button",31),l["\u0275\u0275text"](1,"Next "),l["\u0275\u0275template"](2,ee,2,0,"span",3),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275property"]("disabled","INVALID"===n.bcRegisterForm.status),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",n.completeCalls)}}function ne(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"button",32),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().cancel()}),l["\u0275\u0275text"](1," Cancel "),l["\u0275\u0275elementEnd"]()}}function ie(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1,"Accept"),l["\u0275\u0275elementEnd"]())}function re(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1,"Processing..."),l["\u0275\u0275elementEnd"]())}function ae(e,t){1&e&&l["\u0275\u0275element"](0,"mat-spinner",35),2&e&&l["\u0275\u0275property"]("diameter",20)}function oe(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"button",33),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275template"](2,ie,2,0,"span",3),l["\u0275\u0275template"](3,re,2,0,"span",3),l["\u0275\u0275template"](4,ae,1,1,"mat-spinner",34),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275property"]("disabled",n.completeCalls),l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](1,5,"ROOT.Accept")),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",!n.completeCalls),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",n.completeCalls),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",n.completeCalls)}}function se(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"button",36),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().cancel()}),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275text"](2," Decline "),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"]();l["\u0275\u0275property"]("disabled",i.completeCalls),l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](1,2,"ROOT.Decline"))}}var le=function(){function e(e,t,n,r,a,o,s,l,c,d,u,p,h,m,g){this.titleService=e,this.dialog=n,this.formBuilder=r,this.AccountService=a,this.translate=o,this.ThemeService=s,this.window=l,this.analytics=c,this.PermissionsService=d,this.router=u,this.cookieService=p,this.GroupService=h,this.renderer=m,this.el=g,this.showLoadingOverlay=!1,this.loginStarted=!1,this.isThemeBeColorado=!1,this.isThemeFitdigits=!0,this.displayReset=!0,this.hasGroupInvite=!1,this.FacebookloginStarted=!1,this.AppleloginStarted=!1,this.password="",this.AccountService.setLoginView(!0),this.loginForm=this.formBuilder.group({email:["",[i.y.required,i.y.email]],password:["",i.y.required]}),this.bcLoginForm=this.formBuilder.group({email:["",[i.y.required,i.y.email]],password:["",i.y.required],eid:""})}return e.prototype.ngOnInit=function(){this.window.location.host.startsWith("www")&&(this.window.location.href="https://my.fitdigits.com/login"),this.AccountService.setLoginView(!0),this.loginForm.reset(),this.isThemeBeColorado=this.ThemeService.isThemeBecolorado,this.isThemeFitdigits=this.ThemeService.isThemeFitdigits},e.prototype.ngOnDestroy=function(){},e.prototype.groupInvite=function(){var e=this;this.dialog.open(de,{maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(t){t&&e.router.navigate(["registration",{invitecode:t}])})},e.prototype.forgotPassword=function(){this.dialog.open(ce,{maxWidth:"100vw",maxHeight:"100vh",minWidth:"50vw"})},e.prototype.bcRegister=function(){var e=this;this.dialog.open(me,{maxWidth:"100vw",maxHeight:"100vh",minWidth:"50vw",panelClass:"dialog-fill"}).afterClosed().subscribe(function(t){!0===t&&(e.storeAccount(),e.router.navigate(["/home"]))})},e.prototype.storeAccount=function(){var e=this;this.AccountService.getAccount().subscribe(function(t){"dark"===t.colorTheme&&(e.ThemeService.isDarkTheme=!0),e.translate.use(t.language||"en"),e.AccountService.account=t,e.AccountService.isLoggedIn=!0,e.AccountService.setLoginView(!1),e.PermissionsService.purchasingStatus().subscribe(function(t){e.PermissionsService.starTrainerAccess="star_trainer"==t.response.highest_tier,e.PermissionsService.starAccess="star"==t.response.highest_tier||1==e.PermissionsService.starTrainerAccess,e.PermissionsService.proPlusAccess="pro_plus"==t.response.highest_tier||1==e.PermissionsService.starAccess,e.PermissionsService.noAds=e.PermissionsService.hasProPlusMin(),e.analytics.logEvent(e.ThemeService.isThemeBecolorado?"cuhp_login":e.ThemeService.isThemeSpinning?"spinning_login":"login",{accountId:e.AccountService.account.accountId}),e.loginStarted=!1,e.router.navigate(["/home"])})})},e.prototype.bcLogin=function(e){var t=this;void 0===e.eid&&(e.eid=""),this.AccountService.authenticate(e.email,e.password,null,e.eid).subscribe(function(n){n.response.error?t.error=n.response.error.message:(console.log(n),void 0!==n.response.group_path&&t.isThemeBeColorado?(console.log("NOT ENROLLED"),t.dialog.open(ue,{maxWidth:"100vw",maxHeight:"100vh",minWidth:"50vw",panelClass:"dialog-fill"}).afterClosed().subscribe(function(n){console.log(n),!1===n?t.storeAccount():t.dialog.open(pe,{maxWidth:"100vw",maxHeight:"100vh",minWidth:"50vw",data:e.email,panelClass:"dialog-fill"}).afterClosed().subscribe(function(e){if(e){var n=e[0],i=e[1];t.dialog.open(he,{maxWidth:"100vw",maxHeight:"100vh",panelClass:"dialog-fill"}).afterClosed().subscribe(function(e){!0===e&&t.GroupService.BCEnroll(n,i).subscribe(function(e){t.storeAccount(),t.router.navigate(["/home"])})})}})})):t.storeAccount())},function(e){console.log(e),t.error=e.error.response.error.message})},e.prototype.appleLogin=function(){this.AppleloginStarted=!0,AppleID.auth.signIn(),this.AppleloginStarted=!1},e.prototype.appleSuccess=function(e){console.log("apple event")},e.prototype.appleFailure=function(e){console.log("apple event fail")},e.prototype.login=function(e){var t=this;this.error=null,this.loginStarted=!0,this.AccountService.authenticate(e.email,e.password).subscribe(function(e){e.response.error?(t.error=e.response.error.message,t.loginStarted=!1):(t.storeAccount(),t.loginStarted=!1)},function(e){t.loginStarted=!1,console.log(e),t.error=e.error.response.error.message})},e.prototype.enrollNow=function(){},e.prototype.facebookLogin=function(){this.FacebookloginStarted=!0;var e,t=this;FB.getLoginStatus(function(n){var i=this;"connected"===n.status?e=n.authResponse.accessToken:FB.login(function(n){var i=this;n.authResponse&&t.AccountService.authenticateSocial(e=n.authResponse.accessToken,"FACEBOOK","web_site").subscribe(function(e){t.storeAccount(),i.FacebookloginStarted=!1})},{scope:"email,user_birthday,user_friends,user_location,user_gender"}),e&&t.AccountService.authenticateSocial(e,"FACEBOOK","web_site").subscribe(function(e){t.storeAccount(),i.FacebookloginStarted=!1})})},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](h.Title),l["\u0275\u0275directiveInject"](c),l["\u0275\u0275directiveInject"](a.b),l["\u0275\u0275directiveInject"](i.d),l["\u0275\u0275directiveInject"](r.a),l["\u0275\u0275directiveInject"](m.d),l["\u0275\u0275directiveInject"](d.a),l["\u0275\u0275directiveInject"](p.a),l["\u0275\u0275directiveInject"](g.a),l["\u0275\u0275directiveInject"](u.a),l["\u0275\u0275directiveInject"](f.d),l["\u0275\u0275directiveInject"](v.a),l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](l.Renderer2),l["\u0275\u0275directiveInject"](l.ElementRef))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-login"]],hostBindings:function(e,t){1&e&&l["\u0275\u0275listener"]("AppleIDSignInOnSuccess",function(e){return t.appleSuccess(e)},!1,l["\u0275\u0275resolveDocument"])("AppleIDSignInOnFailure",function(e){return t.appleFailure(e)},!1,l["\u0275\u0275resolveDocument"])},decls:194,vars:49,consts:[["id","content"],["id","login-content",1,"login-content-container"],[1,"loading-overlay",3,"hidden"],[1,"page-signin"],[1,"login-header-bc",3,"hidden"],["href","https://becolorado.fitdigits.com"],["alt","CU Health Plan. Move.","src","/static/img/theme/move/move_header_logo_mountains_new.png",1,"nav-logo-bc"],[1,"loginTable",3,"hidden"],[1,"loginFeatureListTd"],["id","loginFeatureList"],[2,"margin-bottom","20px"],[1,"loginSectionTitle"],[1,"italic"],[1,"loginSectionSubtitle"],["id","loginFeaturesListWrapper"],[1,"btn-primary","float-right","themedRoundButton","enrollNow",3,"click"],["href","http://becolorado.org/programs/be-colorado-move/",1,"loginCompatLink","blueText","text-center"],[2,"vertical-align","top"],[1,"signin-body"],[1,"container",2,"padding","0 !important"],[1,"form-container"],[1,"form-horizontal","loginForm",3,"formGroup","ngSubmit"],[2,"text-align","center"],[2,"white-space","nowrap"],[1,"form-group","loginForm"],[1,"fa","fa-envelope-o","fa-fw","position"],["type","email","formControlName","email","placeholder","Email","required","",1,"form-control","fd-input-lg","text-center"],[1,"fa","fa-key","fa-fw","position"],["type","password","formControlName","password","placeholder","Password","required","",1,"form-control","fd-input-lg","text-center"],[1,"form-group","loginForm",2,"margin-bottom","35px !important"],["type","text","formControlName","eid","placeholder","Employee ID*",1,"form-control","fd-input-lg","text-center"],["class","loginTip loginForm",4,"ngIf"],[1,"form-group","loginForm","signInButtonDiv"],["type","submit",1,"btn-primary","float-right","themedRoundButton","signInButton"],["class","error-message",4,"ngIf"],[1,"text-center"],[3,"click"],[1,"loginBCTd"],[1,"moveDownloadApp"],[2,"padding-left","11px"],["src","/static/img/loginUltimateAppCUHP.png"],[1,"textAlignCenter",2,"font-size","14px","padding-bottom","20px"],["id","loginAppDownloadContent-cuhp"],[1,"loginAppDownloadCol","floatleft"],["href","https://itunes.apple.com/us/app/be-colorado-move/id616346637?mt=8","onclick","_gaq.push(['_trackPageview', '/iTunes/Download/BeColorado/Login/']);","target","_blank"],["src","/static/img/btn/appStoreBtn.png","alt","App Store"],[1,"loginAppDownloadCol","floatright"],["href","https://play.google.com/store/apps/details?id=com.fitdigits.becolorado.app","onclick","_gaq.push(['_trackPageview', '/GooglePlay/Download/BeColoradoDroid/Login']);","target","_blank"],["src","/static/img/btn/androidMarketBtn2.png","alt","Android Marketplace",1,"floatright"],[1,"clearboth"],[1,"textAlignCenter"],["href","https://www.fitdigits.com/compatibility.html",1,"loginCompatLink","blueText"],[3,"hidden"],["routerLink","/support",1,"supportHeader"],["src","/static/img/support_icon.png",1,"supportHeaderIcon"],[1,"carousel-img","full-screen-background"],[1,"login-header"],["routerLink","/welcome"],["src","/static/img/fitdigits-header-logo.png",1,"nav-logo"],[1,"loginInner"],[1,"login-column-left"],[1,"signin-body",2,"border","0px"],[1,"spinnerDiv"],["class","spinner",3,"diameter",4,"ngIf"],["class","facebook-login-button","style","margin: 0px auto 30px;",3,"click",4,"ngIf"],["src","/static/img/apple-id-sign-in-with.png",2,"cursor","pointer","border-radius","19px",3,"click"],[2,"text-align","center","width","100%","margin-top","20px"],["name","loginForm","novalidate","",1,"form-horizontal","loginForm",3,"formGroup","ngSubmit"],["formControlName","email","required","","type","email",1,"form-control","fd-input-lg","text-center",3,"placeholder"],["formControlName","password","required","","type","password",1,"form-control","fd-input-lg","text-center",3,"placeholder"],["type","submit",3,"ngClass","disabled"],[1,"text-center",2,"margin-top","30px"],[1,"login-column-right"],[1,"fitdigitsDownloadApp"],[1,"login-graphic"],["src","/static/img//loginUltimateAppFD2.png"],[1,"text-center","no-account"],["id","loginAppDownloadContent"],["href","https://itunes.apple.com/us/app/icardio-workout-tracker/id314841648?mt=8","onclick","_gaq.push(['_trackPageview', '/iTunes/Download/iCardio/Login/']);","target","_blank"],["alt","App Store","src","/static/img/btn/appStoreBtn.png"],["href","https://play.google.com/store/apps/details?id=com.fitdigits.icardio.app&hl=en","onclick","_gaq.push(['_trackPageview', '/GooglePlay/Download/iCardio/Login']);","target","_blank"],["alt","Android Marketplace","src","/static/img/btn/androidMarketBtn2.png",1,"floatright"],[1,"text-center","text-small","account-text","login-content-container-fd"],[1,"login-signup"],["routerLink","/registration",1,"bold","text-center"],[1,"header-container"],[1,"header-band",2,"height","0px"],[1,"rightFooter"],["routerLink","/privacy-policy.html"],["routerLink","/terms-and-conditions.html",1,"ng-scope"],["id","loginAppDownloadContent2",2,"max-width","500px","margin","auto","padding","10px",3,"hidden"],[1,"full-width","text-center"],[1,"btn-primary","themedRoundButton",3,"click"],[1,"textAlignCenter","bc-text-download"],[1,"textAlignCenter","login-compatibility"],["href","http://becolorado.org/programs/be-colorado-move/",1,"blueText","text-center"],[1,"loginTip","loginForm"],[1,"redText",2,"font-size","14px"],[1,"error-message"],[1,"spinner",3,"diameter"],[1,"facebook-login-button",2,"margin","0px auto 30px",3,"click"],["src","/static/img/btn/facebook_icon.png",1,"facebook-login-button-icon"],["class","facebook-login-button-inside",4,"ngIf"],[1,"facebook-login-button-inside"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",0),l["\u0275\u0275elementStart"](1,"div",1),l["\u0275\u0275element"](2,"div",2),l["\u0275\u0275elementStart"](3,"div"),l["\u0275\u0275elementStart"](4,"div",3),l["\u0275\u0275elementStart"](5,"div",4),l["\u0275\u0275elementStart"](6,"a",5),l["\u0275\u0275element"](7,"img",6),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](8,"table",7),l["\u0275\u0275elementStart"](9,"tr"),l["\u0275\u0275elementStart"](10,"td",8),l["\u0275\u0275elementStart"](11,"div",9),l["\u0275\u0275elementStart"](12,"div",10),l["\u0275\u0275elementStart"](13,"span",11),l["\u0275\u0275text"](14,"The CU Health Plan. "),l["\u0275\u0275elementStart"](15,"span",12),l["\u0275\u0275text"](16,"Move."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](17,"br"),l["\u0275\u0275elementStart"](18,"span",13),l["\u0275\u0275text"](19,"Health & Fitness Tracker"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](20,"div",14),l["\u0275\u0275elementStart"](21,"ul"),l["\u0275\u0275elementStart"](22,"li"),l["\u0275\u0275text"](23,"Earn $25 a month to simply "),l["\u0275\u0275elementStart"](24,"span",12),l["\u0275\u0275text"](25,"Move."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](26,"li"),l["\u0275\u0275text"](27,"Complete 30 minutes of moderate to intense movement 12 times a month"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](28,"li"),l["\u0275\u0275text"](29," Use the CU Health Plan. "),l["\u0275\u0275elementStart"](30,"span",12),l["\u0275\u0275text"](31,"Move."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](32," app, or sync Apple Health,\tGoogle Fit, Fitbit, or Garmin to the CU Health Plan. "),l["\u0275\u0275elementStart"](33,"span",12),l["\u0275\u0275text"](34,"Move."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](35," website "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](36,"div"),l["\u0275\u0275elementStart"](37,"button",15),l["\u0275\u0275listener"]("click",function(){return t.bcRegister()}),l["\u0275\u0275text"](38," Enroll Now "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](39,"a",16),l["\u0275\u0275text"](40,"FAQ"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](41,"td",17),l["\u0275\u0275elementStart"](42,"div",18),l["\u0275\u0275elementStart"](43,"div",19),l["\u0275\u0275elementStart"](44,"div",20),l["\u0275\u0275elementStart"](45,"form",21),l["\u0275\u0275listener"]("ngSubmit",function(){return t.bcLogin(t.bcLoginForm.value)}),l["\u0275\u0275elementStart"](46,"fieldset"),l["\u0275\u0275elementStart"](47,"p",22),l["\u0275\u0275text"](48," Please use your previously registered "),l["\u0275\u0275elementStart"](49,"span",23),l["\u0275\u0275elementStart"](50,"em"),l["\u0275\u0275text"](51,"Move."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](52," email"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](53,"div",24),l["\u0275\u0275element"](54,"i",25),l["\u0275\u0275element"](55,"input",26),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](56,"div",24),l["\u0275\u0275element"](57,"i",27),l["\u0275\u0275element"](58,"input",28),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](59,"div",29),l["\u0275\u0275element"](60,"i",27),l["\u0275\u0275element"](61,"input",30),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](62,S,4,0,"div",31),l["\u0275\u0275elementStart"](63,"div",32),l["\u0275\u0275elementStart"](64,"button",33),l["\u0275\u0275text"](65," Sign In "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](66,C,3,1,"section",34),l["\u0275\u0275elementStart"](67,"section"),l["\u0275\u0275element"](68,"br"),l["\u0275\u0275elementStart"](69,"p",35),l["\u0275\u0275elementStart"](70,"a",36),l["\u0275\u0275listener"]("click",function(){return t.forgotPassword()}),l["\u0275\u0275text"](71,"Forgot your password?"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](72,"td",37),l["\u0275\u0275elementStart"](73,"div",38),l["\u0275\u0275elementStart"](74,"div",39),l["\u0275\u0275element"](75,"img",40),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](76,"div",41),l["\u0275\u0275text"](77," Download the "),l["\u0275\u0275elementStart"](78,"span",12),l["\u0275\u0275text"](79,"Move."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](80," App Today! "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](81,"div",42),l["\u0275\u0275elementStart"](82,"div",43),l["\u0275\u0275elementStart"](83,"a",44),l["\u0275\u0275element"](84,"img",45),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](85,"div",46),l["\u0275\u0275elementStart"](86,"a",47),l["\u0275\u0275element"](87,"img",48),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](88,"div",49),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](89,"div",50),l["\u0275\u0275elementStart"](90,"a",51),l["\u0275\u0275text"](91,"View Compatibility Chart"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](92,"div",52),l["\u0275\u0275elementStart"](93,"a",53),l["\u0275\u0275element"](94,"img",54),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](95,"div",55),l["\u0275\u0275elementStart"](96,"div",56),l["\u0275\u0275elementStart"](97,"a",57),l["\u0275\u0275element"](98,"img",58),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](99,"div",59),l["\u0275\u0275elementStart"](100,"div",60),l["\u0275\u0275elementStart"](101,"div",61),l["\u0275\u0275elementStart"](102,"div",19),l["\u0275\u0275elementStart"](103,"div",20),l["\u0275\u0275elementStart"](104,"div",62),l["\u0275\u0275template"](105,k,1,1,"mat-spinner",63),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](106,M,4,2,"div",64),l["\u0275\u0275template"](107,T,4,2,"div",64),l["\u0275\u0275elementStart"](108,"div",62),l["\u0275\u0275template"](109,D,1,1,"mat-spinner",63),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](110,"img",65),l["\u0275\u0275listener"]("click",function(){return t.appleLogin()}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](111,"div",66),l["\u0275\u0275text"](112),l["\u0275\u0275pipe"](113,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](114,"form",67),l["\u0275\u0275listener"]("ngSubmit",function(){return t.login(t.loginForm.value)}),l["\u0275\u0275elementStart"](115,"fieldset"),l["\u0275\u0275elementStart"](116,"div",24),l["\u0275\u0275element"](117,"i",25),l["\u0275\u0275element"](118,"input",68),l["\u0275\u0275pipe"](119,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](120,"div",24),l["\u0275\u0275element"](121,"i",27),l["\u0275\u0275element"](122,"input",69),l["\u0275\u0275pipe"](123,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](124,"div",24),l["\u0275\u0275elementStart"](125,"div",62),l["\u0275\u0275template"](126,L,1,1,"mat-spinner",63),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](127,"button",70),l["\u0275\u0275text"](128),l["\u0275\u0275pipe"](129,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](130,R,3,1,"section",34),l["\u0275\u0275elementStart"](131,"section"),l["\u0275\u0275elementStart"](132,"p",71),l["\u0275\u0275elementStart"](133,"a",36),l["\u0275\u0275listener"]("click",function(){return t.forgotPassword()}),l["\u0275\u0275text"](134),l["\u0275\u0275pipe"](135,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](136,"div",72),l["\u0275\u0275elementStart"](137,"div",73),l["\u0275\u0275elementStart"](138,"div",74),l["\u0275\u0275element"](139,"img",75),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](140,"div",76),l["\u0275\u0275text"](141),l["\u0275\u0275pipe"](142,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](143,"div",77),l["\u0275\u0275elementStart"](144,"div",43),l["\u0275\u0275elementStart"](145,"a",78),l["\u0275\u0275element"](146,"img",79),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](147,"div",46),l["\u0275\u0275elementStart"](148,"a",80),l["\u0275\u0275element"](149,"img",81),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](150,"div",49),l["\u0275\u0275element"](151,"br"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](152,"div",82),l["\u0275\u0275elementStart"](153,"div",83),l["\u0275\u0275elementStart"](154,"a",84),l["\u0275\u0275text"](155),l["\u0275\u0275pipe"](156,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](157,"div",49),l["\u0275\u0275elementStart"](158,"div",85),l["\u0275\u0275elementStart"](159,"div",86),l["\u0275\u0275elementStart"](160,"div",87),l["\u0275\u0275elementStart"](161,"a",88),l["\u0275\u0275text"](162),l["\u0275\u0275pipe"](163,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](164," \u2022 "),l["\u0275\u0275elementStart"](165,"a",89),l["\u0275\u0275text"](166),l["\u0275\u0275pipe"](167,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](168,"br"),l["\u0275\u0275text"](169),l["\u0275\u0275pipe"](170,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](171,"div",90),l["\u0275\u0275elementStart"](172,"div",91),l["\u0275\u0275elementStart"](173,"button",92),l["\u0275\u0275listener"]("click",function(){return t.bcRegister()}),l["\u0275\u0275text"](174,"Enroll Now "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](175,"div",93),l["\u0275\u0275text"](176," Download the "),l["\u0275\u0275elementStart"](177,"span",12),l["\u0275\u0275text"](178,"Move."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](179," App Today! "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](180,"div"),l["\u0275\u0275elementStart"](181,"div",43),l["\u0275\u0275elementStart"](182,"a",44),l["\u0275\u0275element"](183,"img",45),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](184,"div",46),l["\u0275\u0275elementStart"](185,"a",47),l["\u0275\u0275element"](186,"img",48),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](187,"div",49),l["\u0275\u0275elementStart"](188,"div",94),l["\u0275\u0275elementStart"](189,"a",95),l["\u0275\u0275text"](190,"FAQ"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](191,"a",51),l["\u0275\u0275text"](192,"View Compatibility Chart"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](193,"div",49),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("hidden",!t.ThemeService.isThemeBecolorado),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("hidden",!t.ThemeService.isThemeBecolorado),l["\u0275\u0275advance"](37),l["\u0275\u0275property"]("formGroup",t.bcLoginForm),l["\u0275\u0275advance"](17),l["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado),l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("ngIf",t.error),l["\u0275\u0275advance"](26),l["\u0275\u0275property"]("hidden",t.ThemeService.isThemeBecolorado),l["\u0275\u0275advance"](13),l["\u0275\u0275property"]("ngIf",t.FacebookloginStarted),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf","en"!==t.translate.currentLang),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf","en"==t.translate.currentLang),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",t.AppleloginStarted),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](113,27,"ROOT.Or")," "),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("formGroup",t.loginForm),l["\u0275\u0275advance"](4),l["\u0275\u0275propertyInterpolate"]("placeholder",l["\u0275\u0275pipeBind1"](119,29,"ROOT.Email")),l["\u0275\u0275advance"](4),l["\u0275\u0275propertyInterpolate"]("placeholder",l["\u0275\u0275pipeBind1"](123,31,"ROOT.password")),l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("ngIf",t.loginStarted),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngClass",l["\u0275\u0275pureFunction1"](47,j,t.loginStarted?"btn-primary-light themedRoundButton fdSignInButton":"btn-primary themedRoundButton fdSignInButton"))("disabled",""==t.loginForm.value.email||""==t.loginForm.value.password||t.loginStarted),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](129,33,"ROOT.Sign In")," "),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",t.error),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](135,35,"ROOT.Forgot your password?")),l["\u0275\u0275advance"](7),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](142,37,"ROOT.Dont have an account yet")," "),l["\u0275\u0275advance"](14),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](156,39,"ROOT.Sign up Online"),""),l["\u0275\u0275advance"](7),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](163,41,"ROOT.Privacy Policy")),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](167,43,"ROOT.Terms of Service")),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"](" \xa9 Fitdigits, Inc. ",l["\u0275\u0275pipeBind1"](170,45,"ROOT.All rights reserved worldwide")," "),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("hidden",!t.ThemeService.isThemeBecolorado))},directives:[i.z,i.p,i.i,i.c,i.o,i.g,i.w,y.NgIf,f.f,y.NgClass,b.c],pipes:[m.c],styles:[".loginFormButton[_ngcontent-%COMP%]{font-size:16px;line-height:42px}.enrollNow[_ngcontent-%COMP%]{max-width:420px;margin:auto}.login-content-container[_ngcontent-%COMP%]{margin-left:0}.fdSignInButton[_ngcontent-%COMP%]{width:212px}.supportHeaderIcon[_ngcontent-%COMP%]{right:20px}.loginInner[_ngcontent-%COMP%]{border-radius:10px}.login-signup[_ngcontent-%COMP%]{padding:10px 0}.no-account[_ngcontent-%COMP%]{font-size:14px;padding-bottom:20px;margin-top:-10px;color:#000}.form-dark[_ngcontent-%COMP%]{color:#fff}.spinnerDiv[_ngcontent-%COMP%]{width:20px;height:20px;position:relative;top:30px;left:225px;margin-top:5px}.spinner[_ngcontent-%COMP%]{float:right}@media (max-width:769px){.signInButton[_ngcontent-%COMP%]{float:none!important;min-width:50%}.signInButtonDiv[_ngcontent-%COMP%]{float:left;width:100%;text-align:center}.fdSignInButton[_ngcontent-%COMP%]{float:none!important}}"]}),e}(),ce=function(){function e(e,t,n){this.dialogRef=e,this.accountService=t,this.data=n,this.sent=!1}return e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.submit=function(){var e=this;this.accountService.forgotPassword(this.email).subscribe(function(t){e.sent=!0,e.dialogRef.close()},function(t){console.log(t),e.error=t.error.response.error.message})},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](a.f),l["\u0275\u0275directiveInject"](r.a),l["\u0275\u0275directiveInject"](a.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["reset-password"]],decls:17,vars:12,consts:[[1,"md-primary"],["mat-dialog-content",""],[2,"margin","20px"],["for","email",2,"padding-right","30px"],["id","email","type","email","name","email",2,"background-color","transparent","width","300px",3,"ngModel","ngModelChange"],[4,"ngIf"],["style","color:red;",4,"ngIf"],["mat-dialog-actions","","layout","row",2,"justify-content","space-between"],["mat-button","",3,"click",4,"ngIf"],["class","btn-primary themedRoundButton",3,"click",4,"ngIf"],[1,"material-icons",2,"color","#3FAE48","vertical-align","sub"],[2,"color","red"],["mat-button","",3,"click"],[1,"btn-primary","themedRoundButton",3,"click"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-toolbar",0),l["\u0275\u0275elementStart"](1,"mat-toolbar-row"),l["\u0275\u0275elementStart"](2,"h2"),l["\u0275\u0275text"](3),l["\u0275\u0275pipe"](4,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"div",1),l["\u0275\u0275elementStart"](6,"div",2),l["\u0275\u0275elementStart"](7,"label",3),l["\u0275\u0275text"](8),l["\u0275\u0275pipe"](9,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](10,"input",4),l["\u0275\u0275listener"]("ngModelChange",function(e){return t.email=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](11,A,5,3,"div",5),l["\u0275\u0275template"](12,F,2,1,"div",6),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](13,"div",7),l["\u0275\u0275template"](14,B,4,6,"button",8),l["\u0275\u0275template"](15,z,4,6,"button",9),l["\u0275\u0275template"](16,N,4,6,"button",8),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](4,8,"ROOT.Forgot your password?")),l["\u0275\u0275advance"](5),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](9,10,"ROOT.Email")),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngModel",t.email),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.sent),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.error),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",!t.sent),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!t.sent),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.sent))},directives:[x.a,x.c,a.d,i.c,i.o,i.r,y.NgIf,a.c,_.b],pipes:[m.c],encapsulation:2}),e}(),de=function(){function e(e,t){this.dialogRef=e,this.GroupService=t}return e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.submit=function(){var e=this;this.error="",this.GroupService.getGroupByInviteCode(this.inviteCode).subscribe(function(t){var n=t.response;Object.keys(n).length>0?(e.groupName=n.name,e.dialogRef.close(e.inviteCode)):e.error="Invitation code not found."})},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](a.f),l["\u0275\u0275directiveInject"](o.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["group-invite"]],decls:20,vars:15,consts:[[1,"md-primary"],["mat-dialog-content",""],[2,"margin","20px"],["for","email",2,"padding-right","30px"],["id","email","name","inviteCode",3,"ngModel","ngModelChange"],["style","color: red;margin-top: 10px;",4,"ngIf"],["mat-dialog-actions","","layout","row",2,"justify-content","space-between"],["mat-button","","aria-label","Cancel",3,"click"],["mat-button","","aria-label","Submit",3,"color","click"],[2,"color","red","margin-top","10px"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-toolbar",0),l["\u0275\u0275elementStart"](1,"mat-toolbar-row"),l["\u0275\u0275elementStart"](2,"h2"),l["\u0275\u0275text"](3),l["\u0275\u0275pipe"](4,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"div",1),l["\u0275\u0275elementStart"](6,"div",2),l["\u0275\u0275elementStart"](7,"label",3),l["\u0275\u0275text"](8),l["\u0275\u0275pipe"](9,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](10,"input",4),l["\u0275\u0275listener"]("ngModelChange",function(e){return t.inviteCode=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](11,"br"),l["\u0275\u0275template"](12,H,2,1,"div",5),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](13,"div",6),l["\u0275\u0275elementStart"](14,"button",7),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275text"](15),l["\u0275\u0275pipe"](16,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](17,"button",8),l["\u0275\u0275listener"]("click",function(){return t.submit()}),l["\u0275\u0275text"](18),l["\u0275\u0275pipe"](19,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](4,7,"ROOT.Enter your invitation code")),l["\u0275\u0275advance"](5),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](9,9,"ROOT.Invite Code")),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngModel",t.inviteCode),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",t.error),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](16,11,"ROOT.Cancel")," "),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("color","primary"),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](19,13,"ROOT.Submit")," "))},directives:[x.a,x.c,a.d,i.c,i.o,i.r,y.NgIf,a.c,_.b],pipes:[m.c],encapsulation:2}),e}(),ue=function(){function e(e){this.dialogRef=e}return e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.enroll=function(){this.dialogRef.close(!0)},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](a.f))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["bc-unenrolled"]],decls:13,vars:0,consts:[[1,"md-primary"],["mat-dialog-content",""],[2,"margin","20px"],["mat-dialog-actions","","layout","row",2,"justify-content","flex-end"],[1,"btn-primary","float-right","themedRoundButton",2,"margin-right","10px",3,"click"],["aria-label","Submit",1,"btn-warning","float-right","themedRoundButton",3,"click"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-toolbar",0),l["\u0275\u0275elementStart"](1,"mat-toolbar-row"),l["\u0275\u0275elementStart"](2,"h2"),l["\u0275\u0275text"](3,"Please Complete Enrollment"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](4,"div",1),l["\u0275\u0275elementStart"](5,"div",2),l["\u0275\u0275elementStart"](6,"p"),l["\u0275\u0275text"](7,"This account is not currently enrolled in the Move. Program. Would you like to finish your enrollment and start earning incentives?"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](8,"div",3),l["\u0275\u0275elementStart"](9,"button",4),l["\u0275\u0275listener"]("click",function(){return t.enroll()}),l["\u0275\u0275text"](10," YES "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](11,"button",5),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275text"](12," NO THANKS "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]())},directives:[x.a,x.c,a.d,a.c],encapsulation:2}),e}(),pe=function(){function e(e,t,n,i,r,a){this.dialogRef=e,this.GroupService=t,this.data=n,this.router=i,this.formBuilder=r,this.ThemeService=a,this.email=this.data,this.bcEnrollForm=this.formBuilder.group({lastName:"",existingAccount:"false",eid:""})}return e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.enroll=function(e){var t=this;this.existingAccount="true",this.GroupService.BCValidateEnrollment(e.eid,e.lastName,this.email,this.existingAccount).subscribe(function(n){t.dialogRef.close([e.eid,e.lastName])},function(e){console.log(e),t.error=e.error.response.error.message})},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](a.f),l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](a.a),l["\u0275\u0275directiveInject"](f.d),l["\u0275\u0275directiveInject"](i.d),l["\u0275\u0275directiveInject"](d.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["bc-enroll"]],decls:18,vars:9,consts:[[1,"md-primary",2,"min-width","50%"],["mat-dialog-content",""],[2,"margin","20px"],[1,"form-horizontal","loginForm",3,"formGroup","ngSubmit"],[1,"form-group","loginForm"],["type","text","formControlName","lastName","placeholder","Last Name","required","",1,"form-control","input-lg","text-center",3,"ngStyle"],[1,"form-group","loginForm",2,"margin-bottom","35px !important"],["type","text","formControlName","eid","placeholder","Employee ID","required","",1,"form-control","input-lg","text-center",3,"ngStyle"],[4,"ngIf"],["type","text","formControlName","existingAccount","value","true",1,"hidden"],["type","submit",1,"btn-primary","float-right","themedRoundButton"],["style","color:red; border:1px solid; padding:8px;",4,"ngIf"],["href","https://www.fitdigits.com/becolorado/becolorado-participant-agreement.html","target","_blank"],["href","http://www.fitdigits.com/terms-and-conditions.html","target","_blank"],[2,"color","red","border","1px solid","padding","8px"],[1,"material-icons",2,"color","red","float","left","margin-right","8px"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-toolbar",0),l["\u0275\u0275elementStart"](1,"mat-toolbar-row"),l["\u0275\u0275elementStart"](2,"h2"),l["\u0275\u0275text"](3,"Move Program Enrollment"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](4,"div",1),l["\u0275\u0275elementStart"](5,"div",2),l["\u0275\u0275elementStart"](6,"form",3),l["\u0275\u0275listener"]("ngSubmit",function(){return t.enroll(t.bcEnrollForm.value)}),l["\u0275\u0275elementStart"](7,"fieldset"),l["\u0275\u0275elementStart"](8,"div",4),l["\u0275\u0275element"](9,"input",5),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](10,"div",6),l["\u0275\u0275element"](11,"input",7),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](12,V,10,0,"p",8),l["\u0275\u0275element"](13,"input",9),l["\u0275\u0275elementStart"](14,"div",4),l["\u0275\u0275elementStart"](15,"button",10),l["\u0275\u0275text"](16,"Next"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](17,Y,4,1,"div",11),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](6),l["\u0275\u0275property"]("formGroup",t.bcEnrollForm),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngStyle",l["\u0275\u0275pureFunction1"](5,W,1==t.ThemeService.isDarkTheme?"#FFF":"inherit")),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngStyle",l["\u0275\u0275pureFunction1"](7,W,1==t.ThemeService.isDarkTheme?"#FFF":"inherit")),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!t.error),l["\u0275\u0275advance"](5),l["\u0275\u0275property"]("ngIf",t.error))},directives:[x.a,x.c,a.d,i.z,i.p,i.i,i.c,i.o,i.g,i.w,y.NgStyle,y.NgIf],encapsulation:2}),e}(),he=function(){function e(e,t,n,i){this.dialogRef=e,this.GroupService=t,this.data=n,this.router=i}return e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.accept=function(){this.dialogRef.close(!0)},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](a.f),l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](a.a),l["\u0275\u0275directiveInject"](f.d))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["bc-agreement"]],decls:158,vars:6,consts:[[1,"md-primary"],["mat-dialog-content",""],["id","moveAgreementFrameContainer",2,"overflow-y","scroll"],["href",""],["align","center",2,"padding-top","30px"],["align","center"],["href","https://becolorado.fitdigits.com/"],["href","https://www.fitdigits.com/privacy-policy.html"],["href","https://www.fitdigits.com/terms-and-conditions.html"],["href","http://becolorado.org/"],["mat-dialog-actions","","layout","row",2,"justify-content","flex-end"],[1,"btn-primary","float-right","themedRoundButton",2,"margin-right","10px",3,"click"],[1,"btn-warning","float-right","themedRoundButton",3,"click"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-toolbar",0),l["\u0275\u0275elementStart"](1,"mat-toolbar-row"),l["\u0275\u0275elementStart"](2,"h2"),l["\u0275\u0275text"](3,"Move Program Enrollment"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](4,"div",1),l["\u0275\u0275elementStart"](5,"div",2),l["\u0275\u0275element"](6,"a",3),l["\u0275\u0275elementStart"](7,"h2",4),l["\u0275\u0275elementStart"](8,"strong"),l["\u0275\u0275text"](9,"CU Health"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](10,". "),l["\u0275\u0275elementStart"](11,"em"),l["\u0275\u0275text"](12,"Move"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](13,"."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](14,"h3",5),l["\u0275\u0275text"](15,"Participant Agreement"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](16,"br"),l["\u0275\u0275elementStart"](17,"p"),l["\u0275\u0275text"](18,"The University of Colorado Health and Welfare Trust and Plan (\u201cPlan\u201d) has developed a movement program ("),l["\u0275\u0275elementStart"](19,"em"),l["\u0275\u0275text"](20,"Move"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](21,".) to reward CU Health Plan participants that lead an active lifestyle. The Plan Employers (University of Colorado and University Physicians, Inc.) \xa0will provide each participant with a taxable incentive payment of $25 for every month the participant engages in at least 30 minutes of moderate and/or vigorous physical activity a minimum of 12 days per month.\xa0 The daily 30 minute requirement may be accumulated through a minimum of 10 minute increments over the course of each day or, if using a Fitbit, Jawbone UP or Misfit Shine tracking device, by taking 10,000 steps over the course of a day.\xa0 The Plan has contracted with Fitdigits Inc. to provide a simple way to track participant progress and encourage each participant to meet the monthly goal.\xa0 To take part in "),l["\u0275\u0275elementStart"](22,"em"),l["\u0275\u0275text"](23,"Move."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](24,", each participant understands, agrees to and/or certifies the following:"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](25,"ol"),l["\u0275\u0275elementStart"](26,"li"),l["\u0275\u0275text"](27,"I certify that I am eighteen years of age or older. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](28,"br"),l["\u0275\u0275elementStart"](29,"li"),l["\u0275\u0275text"](30,"I certify that I am employed by a Plan Employer and am currently participating in a CU Health Plan."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](31,"br"),l["\u0275\u0275elementStart"](32,"li"),l["\u0275\u0275text"](33,"I understand I should seek the advice of a physician or other competent medical professional before beginning any physical activity and/or weight loss program or if I have any questions or concerns regarding my health or medical care.\xa0 I understand that if I am unable to meet the physical activity requirements for the incentive under this movement program because of my health status, I have the opportunity to earn the same incentive by different means.\xa0 I understand that I can contact questions@becolorado.org to establish an alternate incentive opportunity in accordance with my physician\u2019s recommendation."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](34,"br"),l["\u0275\u0275elementStart"](35,"li"),l["\u0275\u0275text"](36,"If I experience any abnormal physical symptoms while participating in "),l["\u0275\u0275elementStart"](37,"em"),l["\u0275\u0275text"](38,"Move."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](39,", I will stop exercising immediately and consult my physician. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](40,"br"),l["\u0275\u0275element"](41,"br"),l["\u0275\u0275elementStart"](42,"p",5),l["\u0275\u0275elementStart"](43,"u"),l["\u0275\u0275text"](44,"USE OF THE "),l["\u0275\u0275elementStart"](45,"strong"),l["\u0275\u0275text"](46,"CU HEALTH"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](47,". "),l["\u0275\u0275elementStart"](48,"em"),l["\u0275\u0275text"](49,"MOVE"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](50,". APPS AND WEBSITE"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](51,"li"),l["\u0275\u0275text"](52,"I understand that Fitdigits has developed a CU Health. Move. app and website in order to track my progress toward meeting the requirement of 12 times per month of 30 minutes or more of moderate to vigorous physical activity.\xa0 The daily 30 minute requirement may be accumulated through a minimum of 10 minute increments over the course of each day, or if using a Fitbit, Jawbone UP or Misfit Shine tracking device, by taking 10,000 steps over the course of a day."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](53,"br"),l["\u0275\u0275elementStart"](54,"li"),l["\u0275\u0275text"](55,"\xa0I agree to download the free CU Health. Move. app from Fitdigits at the Apple store or the Google Play store or sign up at the CU Health. Move. skinned Fitdigits website "),l["\u0275\u0275elementStart"](56,"a",6),l["\u0275\u0275text"](57,"https://becolorado.fitdigits.com"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](58," in order to report my physical activity minutes."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](59,"br"),l["\u0275\u0275elementStart"](60,"li"),l["\u0275\u0275text"](61,"I understand that although the app and website have the CU Health. Move. branding, they are solely run by Fitdigits and my use of the app and website is governed by Fitdigits\u2019 Privacy Policy and Terms of Service."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](62,"br"),l["\u0275\u0275elementStart"](63,"li"),l["\u0275\u0275text"](64,"I have read and understand Fitdigits\u2019 Privacy Policy "),l["\u0275\u0275elementStart"](65,"a",7),l["\u0275\u0275text"](66,"https://www.fitdigits.com/privacy-policy.html"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](67," and understand that it covers my use of the app and website and the use of my information by Fitdigits."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](68,"br"),l["\u0275\u0275elementStart"](69,"li"),l["\u0275\u0275text"](70,"I have read and understand Fitdigits\u2019 Terms of Service "),l["\u0275\u0275elementStart"](71,"a",8),l["\u0275\u0275text"](72,"https://www.fitdigits.com/terms-and-conditions.html"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](73," \xa0and understand that it covers my use of the app and website and the use of my information by Fitdigits."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](74,"br"),l["\u0275\u0275elementStart"](75,"li"),l["\u0275\u0275text"](76,"I understand that any information I provide to Fitdigits regarding my physical activity is governed by Fitdigits\u2019 Terms of Service and Privacy Policy and that any additional information I provide is voluntarily provided and subject to Fitdigits\u2019 Terms of Service and Privacy Policy."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](77,"br"),l["\u0275\u0275elementStart"](78,"li"),l["\u0275\u0275text"](79,"I agree to provide my monthly physical activity minutes to Fitdigits via the app or website.\xa0 I understand that my physical activity minutes may be uploaded automatically through the app or other third-party component (e.g.\xa0 FitBit).\xa0 "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](80,"br"),l["\u0275\u0275elementStart"](81,"li"),l["\u0275\u0275text"](82,"I understand that to track the number of steps I take per day for this program, I must be using a Fitbit, Jawbone UP or Misfit Shine device to track my movement."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](83,"br"),l["\u0275\u0275elementStart"](84,"li"),l["\u0275\u0275text"](85,"I understand that I may self-report my physical activity minutes by manually entering the information through the website or app a maximum of two times per month."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](86,"br"),l["\u0275\u0275elementStart"](87,"li"),l["\u0275\u0275text"](88,"I certify that any self-reported and manually entered physical activity minutes are a true and accurate record of my physical activity. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](89,"br"),l["\u0275\u0275elementStart"](90,"li"),l["\u0275\u0275text"](91,"I understand that various third-party products may be used in combination with Fitdigits to provide additional user features.\xa0 I understand that neither the Plan nor the Plan Employers require any participant to purchase these products, endorses any of these products or guarantees their quality in any way.\xa0 Use or purchase of any third-party products is the sole responsibility of the participant."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](92,"br"),l["\u0275\u0275elementStart"](93,"li"),l["\u0275\u0275text"](94,"I understand that the CU Health. Move. Fitdigits app and website may include advertising.\xa0 I understand that neither the Plan nor the Plan Employers endorse any of the products advertised or guarantee their quality in any way. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](95,"br"),l["\u0275\u0275element"](96,"br"),l["\u0275\u0275elementStart"](97,"p",5),l["\u0275\u0275elementStart"](98,"u"),l["\u0275\u0275text"](99,"REQUIREMENTS TO EARN THE INCENTIVE PAYMENT"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](100,"li"),l["\u0275\u0275text"](101,"I understand that in order for any physical activity minutes to count towards my incentive, all physical activity minutes must be completed by the end of the month and downloaded or manually entered by the 5th calendar day of the following month.\xa0 I understand that it is my responsibility to ensure that all physical activity minutes are timely received by Fitdigits."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](102,"br"),l["\u0275\u0275elementStart"](103,"li"),l["\u0275\u0275text"](104,"To meet the 10,000 steps per day requirement, I must have either a Fitbit, Jawbone UP or Misfit Shine device that is capable of tracking my steps and is supported by Fitdigits. I understand that I may earn the incentive payment through a combination of days in which I took 10,000 steps (only if I am using a Fitbit, Jawbone UP or Misfit Shine) and/or days in which I completed a minimum of 30 minutes of moderate and/or vigorous physical activity recorded via the Move. application.\n"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](105,"br"),l["\u0275\u0275elementStart"](106,"li"),l["\u0275\u0275text"](107,"I understand that moderate physical activity is defined as physical activity that is the equivalent of brisk walking or biking at a casual pace. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](108,"br"),l["\u0275\u0275elementStart"](109,"li"),l["\u0275\u0275text"](110,"I understand that vigorous physical activity is defined as physical activity that is the equivalent of running, jogging, swimming laps, playing competitive sports or jumping rope."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](111,"br"),l["\u0275\u0275element"](112,"br"),l["\u0275\u0275elementStart"](113,"p",5),l["\u0275\u0275elementStart"](114,"u"),l["\u0275\u0275text"](115,"INCENTIVE PAYMENT"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](116,"li"),l["\u0275\u0275text"](117,"I understand that I will earn a taxable $25 cash incentive for each month that I meet the requirement of at least 30 minutes of moderate and/or vigorous physical activity a minimum of 12 days per calendar month. \xa0The daily 30 minute requirement may be accumulated through a minimum of 10 minute increments over the course of each day or, if using a Fitbit, Jawbone UP or Misfit Shine tracking device, by taking 10,000 steps over the course of a day."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](118,"br"),l["\u0275\u0275elementStart"](119,"li"),l["\u0275\u0275text"](120,"I understand that payments will be processed quarterly.\xa0 I understand I will only receive payment for the months in which I met the requirement.\xa0 Incentives earned for April-June will be paid in August.\xa0 Incentives earned for July-September will be paid in November.\xa0 Incentives earned for October-December will be paid in February.\xa0 Incentives earned for January-March will be paid in May. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](121,"br"),l["\u0275\u0275elementStart"](122,"li"),l["\u0275\u0275text"](123,"I understand that in order to receive the quarterly payment I must still be employed by a Plan Employer at the time of payment. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](124,"br"),l["\u0275\u0275elementStart"](125,"li"),l["\u0275\u0275text"](126,"I understand that payment will terminate upon termination of my employment with a Plan Employer, and I will only receive payment if I am a current employee of a Plan Employer at the time of payment."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](127,"br"),l["\u0275\u0275element"](128,"br"),l["\u0275\u0275elementStart"](129,"p",5),l["\u0275\u0275elementStart"](130,"u"),l["\u0275\u0275text"](131,"COMMUNICATION"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](132,"li"),l["\u0275\u0275text"](133,"I understand that Fitdigits will send me monthly emails updating the status of my progress and will notify me via email when I have met the monthly requirement.\xa0 I understand that I can opt out of the email notifications at any time. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](134,"br"),l["\u0275\u0275elementStart"](135,"li"),l["\u0275\u0275text"](136,"I understand that the only information my employer will receive from Fitdigits is whether I have met the minimum required monthly physical activity and de-identified, aggregate reporting on the use of the program by participants."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](137,"br"),l["\u0275\u0275elementStart"](138,"li"),l["\u0275\u0275text"](139,"\xa0I understand that if I no longer want to participate in "),l["\u0275\u0275elementStart"](140,"em"),l["\u0275\u0275text"](141,"Move"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](142,". I can remove myself from the program at any time by notifying questions@becolorado.org. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](143,"br"),l["\u0275\u0275elementStart"](144,"li"),l["\u0275\u0275text"](145,"I understand that this Participation Agreement is subject to change at any time.\xa0 My continued participation in this program constitutes my acceptance of the changes.\xa0 The Plan will post the most recent Participant Agreement, incorporating any changes, on the CU Health. Move. website at "),l["\u0275\u0275elementStart"](146,"a",9),l["\u0275\u0275text"](147,"becolorado.org"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](148,"."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](149,"p"),l["\u0275\u0275text"](150,"\xa0"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](151,"div",10),l["\u0275\u0275elementStart"](152,"button",11),l["\u0275\u0275listener"]("click",function(){return t.accept()}),l["\u0275\u0275pipe"](153,"translate"),l["\u0275\u0275text"](154," Accept "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](155,"button",12),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275pipe"](156,"translate"),l["\u0275\u0275text"](157," Decline "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](152),l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](153,2,"ROOT.Accept")),l["\u0275\u0275advance"](3),l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](156,4,"ROOT.Decline")))},directives:[x.a,x.c,a.d,a.c],pipes:[m.c],encapsulation:2}),e}(),me=function(){function e(e,t,n,r,a,o,s){this.dialogRef=e,this.AccountService=t,this.GroupService=n,this.data=r,this.dialog=a,this.router=o,this.formBuilder=s,this.email=this.data,this.step=1,this.completeCalls=!1,1==this.step&&(this.bcRegisterForm=this.formBuilder.group({lastName:["",i.y.required],eid:["",i.y.required]}))}return e.prototype.cancel=function(){this.accepted=!1,this.dialogRef.close(!1)},e.prototype.create=function(e){var t=this;this.existingAccount="false",1==this.step&&(console.log("Step 1"),this.GroupService.BCEnrollmentCheck(e.eid,e.lastName).subscribe(function(n){t.step=t.step+1,t.error=null,t.bcRegisterForm=t.formBuilder.group({lastName:[e.lastName,i.y.required],eid:[e.eid,i.y.required],email:["",i.y.email],firstName:["",i.y.required],password:["",i.y.required],confirmPassword:["",i.y.required]},{validator:s.p})},function(e){console.log(e),t.error=e.error.response.error.message})),2==this.step&&(this.error=null,console.log("Step 2"),this.GroupService.BCValidateEnrollment(e.eid,e.lastName,e.email,e.existingAccount).subscribe(function(e){t.step=t.step+1,console.log(t.step),t.error=null,console.log("Step 3")},function(e){console.log(e),t.error=e.error.response.error.message})),3==this.step&&0!=this.accepted&&(console.log(this.accepted),this.error=null,console.log("Agreed"),e.login=e.email,this.completeCalls=!0,this.AccountService.createAccount(e,null).subscribe(function(n){n.response.account&&t.AccountService.authenticate(e.email,e.password).subscribe(function(n){t.GroupService.BCEnroll(e.eid,e.lastName).subscribe(function(e){t.router.navigate(["/home"]),t.dialogRef.close(!0)},function(e){console.log(e),t.error=e.error.response.error.message})},function(e){console.log(e),t.error=e.error.response.error.message})},function(e){console.log(e),t.error=e.error.response.error.message}))},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](a.f),l["\u0275\u0275directiveInject"](r.a),l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](a.a),l["\u0275\u0275directiveInject"](a.b),l["\u0275\u0275directiveInject"](f.d),l["\u0275\u0275directiveInject"](i.d))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["bc-register"]],decls:15,vars:8,consts:[[1,"md-primary"],[1,"form-horizontal","loginForm",3,"formGroup","ngSubmit"],[2,"margin","5px 20px"],[4,"ngIf"],["id","moveAgreementFrameContainer","style","overflow-y: scroll",4,"ngIf"],["layout","row",2,"justify-content","flex-end"],["type","submit","class","btn-primary float-right themedRoundButton",3,"disabled",4,"ngIf"],["mat-flat-button","","class","float-left","aria-label","Submit",3,"click",4,"ngIf"],["type","submit","class","btn-primary float-right themedRoundButton","style","margin-right: 10px",3,"disabled",4,"ngIf"],["class","btn-warning float-right themedRoundButton",3,"disabled","click",4,"ngIf"],[1,"form-group","loginForm"],["type","text","formControlName","eid","placeholder","Employee ID","required","",1,"form-control","input-lg","text-center"],["class","form-group loginForm",4,"ngIf"],["type","text","formControlName","lastName","placeholder","Last Name","required","",1,"form-control","input-lg","text-center"],["class","form-group loginForm","style","margin-bottom:25px !important;",4,"ngIf"],["type","text","formControlName","email","placeholder","Email","required","",1,"form-control","input-lg","text-center"],["type","text","formControlName","firstName","placeholder","First Name","required","",1,"form-control","input-lg","text-center"],["type","password","formControlName","password","placeholder","Password","required","",1,"form-control","input-lg","text-center"],[1,"form-group","loginForm",2,"margin-bottom","25px !important"],["type","password","formControlName","confirmPassword","placeholder","Confirm Password","required","",1,"form-control","input-lg","text-center"],["id","moveAgreementFrameContainer",2,"overflow-y","scroll"],["href",""],["align","center",2,"padding-top","30px"],["align","center"],["href","https://becolorado.fitdigits.com/"],["href","https://www.fitdigits.com/privacy-policy.html"],["href","https://www.fitdigits.com/terms-and-conditions.html"],["href","http://becolorado.org/"],["style","color:red; border:1px solid; padding:8px;",4,"ngIf"],[2,"color","red","border","1px solid","padding","8px"],[1,"material-icons",2,"color","red","float","left","margin-right","8px"],["type","submit",1,"btn-primary","float-right","themedRoundButton",3,"disabled"],["mat-flat-button","","aria-label","Submit",1,"float-left",3,"click"],["type","submit",1,"btn-primary","float-right","themedRoundButton",2,"margin-right","10px",3,"disabled"],["style","float:right; margin-left: 10px;margin-top: 5px;",3,"diameter",4,"ngIf"],[2,"float","right","margin-left","10px","margin-top","5px",3,"diameter"],[1,"btn-warning","float-right","themedRoundButton",3,"disabled","click"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-toolbar",0),l["\u0275\u0275elementStart"](1,"mat-toolbar-row"),l["\u0275\u0275elementStart"](2,"h2"),l["\u0275\u0275text"](3,"Move Program Enrollment"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](4,"form",1),l["\u0275\u0275listener"]("ngSubmit",function(){return t.create(t.bcRegisterForm.value)}),l["\u0275\u0275elementStart"](5,"mat-dialog-content"),l["\u0275\u0275elementStart"](6,"div",2),l["\u0275\u0275template"](7,$,10,4,"div",3),l["\u0275\u0275template"](8,X,146,0,"div",4),l["\u0275\u0275template"](9,Q,5,3,"div",3),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](10,"mat-dialog-actions",5),l["\u0275\u0275template"](11,te,3,2,"button",6),l["\u0275\u0275template"](12,ne,2,0,"button",7),l["\u0275\u0275template"](13,oe,5,7,"button",8),l["\u0275\u0275template"](14,se,3,4,"button",9),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("formGroup",t.bcRegisterForm),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngIf",t.step<3),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",3==t.step),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.step<3),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",t.step<3),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.step<3),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",3==t.step),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",3==t.step))},directives:[x.a,x.c,i.z,i.p,i.i,a.d,y.NgIf,a.c,i.c,i.o,i.g,i.w,w.b,_.b,b.c],pipes:[m.c],encapsulation:2}),e}()},vuIU:function(e,t,n){"use strict";function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function r(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}n.d(t,"a",function(){return r})},vxfF:function(e,t,n){"use strict";n.d(t,"a",function(){return y}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return b}),n.d(t,"d",function(){return v}),n("ODXe"),n("uFwe"),n("ReuC"),n("foSv"),n("Ji7U"),n("LK+K");var i=n("1OyB"),r=n("vuIU"),a=n("8LU1"),o=n("fXoL"),s=n("XNiG"),l=n("LRne"),c=n("HDdC"),d=n("xgIS"),u=(n("eNwd"),n("7Hc7"),n("quSY"),n("7+OI"),n("/uUt"),n("3UWI")),p=n("pLZG"),h=(n("1G5W"),n("JX91"),n("Zy1z"),n("eIep"),n("UXun"),n("nLfN")),m=n("ofXK"),g=n("cH1L");n("0EQZ");var f=function(){var e=function(){function e(t,n,r){Object(i.a)(this,e),this._ngZone=t,this._platform=n,this._scrolled=new s.a,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}return Object(r.a)(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(function(){return t._scrolled.next(e)}))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new c.a(function(n){e._globalSubscription||e._addGlobalListener();var i=t>0?e._scrolled.pipe(Object(u.a)(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){i.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}}):Object(l.a)()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach(function(t,n){return e.deregister(n)}),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(Object(p.a)(function(e){return!e||n.indexOf(e)>-1}))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach(function(i,r){t._scrollableContainsElement(r,e)&&n.push(r)}),n}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=Object(a.e)(t),i=e.getElementRef().nativeElement;do{if(n==i)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular(function(){var t=e._getWindow();return Object(d.a)(t.document,"scroll").subscribe(function(){return e._scrolled.next()})})}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](o.NgZone),o["\u0275\u0275inject"](h.a),o["\u0275\u0275inject"](m.DOCUMENT,8))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(o["\u0275\u0275inject"])(o.NgZone),Object(o["\u0275\u0275inject"])(h.a),Object(o["\u0275\u0275inject"])(m.DOCUMENT,8))},token:e,providedIn:"root"}),e}(),v=function(){var e=function(){function e(t,n,r){var a=this;Object(i.a)(this,e),this._platform=t,this._change=new s.a,this._changeListener=function(e){a._change.next(e)},this._document=r,n.runOutsideAngular(function(){if(t.isBrowser){var e=a._getWindow();e.addEventListener("resize",a._changeListener),e.addEventListener("orientationchange",a._changeListener)}a.change().subscribe(function(){return a._updateViewportSize()})})}return Object(r.a)(e,[{key:"ngOnDestroy",value:function(){if(this._platform.isBrowser){var e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,i=t.height;return{top:e.top,left:e.left,bottom:e.top+i,right:e.left+n,height:i,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._document,t=this._getWindow(),n=e.documentElement,i=n.getBoundingClientRect();return{top:-i.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-i.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(Object(u.a)(e)):this._change}},{key:"_getWindow",value:function(){return this._document.defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](h.a),o["\u0275\u0275inject"](o.NgZone),o["\u0275\u0275inject"](m.DOCUMENT,8))},e.\u0275prov=Object(o["\u0275\u0275defineInjectable"])({factory:function(){return new e(Object(o["\u0275\u0275inject"])(h.a),Object(o["\u0275\u0275inject"])(o.NgZone),Object(o["\u0275\u0275inject"])(m.DOCUMENT,8))},token:e,providedIn:"root"}),e}(),y=function(){var e=Object(r.a)(function e(){Object(i.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({}),e}(),b=function(){var e=Object(r.a)(function e(){Object(i.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=o["\u0275\u0275defineInjector"]({imports:[[g.a,h.b,y],g.a,y]}),e}()},w1tV:function(e,t,n){"use strict";n.d(t,"a",function(){return s}),n("1OyB"),n("vuIU");var i=n("EQ5u"),r=n("x+ZX"),a=n("XNiG");function o(){return new a.a}function s(){return function(e){return Object(r.a)()((t=o,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,i.b);return r.source=e,r.subjectFactory=n,r})(e));var t}}},wQk9:function(e,t,n){!function(e){"use strict";e.defineLocale("tzm",{months:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),monthsShort:"\u2d49\u2d4f\u2d4f\u2d30\u2d62\u2d54_\u2d31\u2d55\u2d30\u2d62\u2d55_\u2d4e\u2d30\u2d55\u2d5a_\u2d49\u2d31\u2d54\u2d49\u2d54_\u2d4e\u2d30\u2d62\u2d62\u2d53_\u2d62\u2d53\u2d4f\u2d62\u2d53_\u2d62\u2d53\u2d4d\u2d62\u2d53\u2d63_\u2d56\u2d53\u2d5b\u2d5c_\u2d5b\u2d53\u2d5c\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d3d\u2d5f\u2d53\u2d31\u2d55_\u2d4f\u2d53\u2d61\u2d30\u2d4f\u2d31\u2d49\u2d54_\u2d37\u2d53\u2d4a\u2d4f\u2d31\u2d49\u2d54".split("_"),weekdays:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysShort:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),weekdaysMin:"\u2d30\u2d59\u2d30\u2d4e\u2d30\u2d59_\u2d30\u2d62\u2d4f\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4f\u2d30\u2d59_\u2d30\u2d3d\u2d54\u2d30\u2d59_\u2d30\u2d3d\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d4e\u2d61\u2d30\u2d59_\u2d30\u2d59\u2d49\u2d39\u2d62\u2d30\u2d59".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[\u2d30\u2d59\u2d37\u2d45 \u2d34] LT",nextDay:"[\u2d30\u2d59\u2d3d\u2d30 \u2d34] LT",nextWeek:"dddd [\u2d34] LT",lastDay:"[\u2d30\u2d5a\u2d30\u2d4f\u2d5c \u2d34] LT",lastWeek:"dddd [\u2d34] LT",sameElse:"L"},relativeTime:{future:"\u2d37\u2d30\u2d37\u2d45 \u2d59 \u2d62\u2d30\u2d4f %s",past:"\u2d62\u2d30\u2d4f %s",s:"\u2d49\u2d4e\u2d49\u2d3d",ss:"%d \u2d49\u2d4e\u2d49\u2d3d",m:"\u2d4e\u2d49\u2d4f\u2d53\u2d3a",mm:"%d \u2d4e\u2d49\u2d4f\u2d53\u2d3a",h:"\u2d59\u2d30\u2d44\u2d30",hh:"%d \u2d5c\u2d30\u2d59\u2d59\u2d30\u2d44\u2d49\u2d4f",d:"\u2d30\u2d59\u2d59",dd:"%d o\u2d59\u2d59\u2d30\u2d4f",M:"\u2d30\u2d62o\u2d53\u2d54",MM:"%d \u2d49\u2d62\u2d62\u2d49\u2d54\u2d4f",y:"\u2d30\u2d59\u2d33\u2d30\u2d59",yy:"%d \u2d49\u2d59\u2d33\u2d30\u2d59\u2d4f"},week:{dow:6,doy:12}})}(n("wd/R"))},wZkO:function(e,t,n){"use strict";n.d(t,"a",function(){return ie}),n.d(t,"b",function(){return me}),n.d(t,"c",function(){return J}),n.d(t,"d",function(){return we}),n("JX7q");var i=n("KQm4"),r=n("ReuC"),a=n("foSv"),o=n("Ji7U"),s=n("LK+K"),l=n("1OyB"),c=n("vuIU"),d=n("u47x"),u=n("GU7r"),p=n("+rOU"),h=n("ofXK"),m=n("fXoL"),g=n("FKr1"),f=n("R1ws"),v=n("XNiG"),y=n("quSY"),b=n("VRyK"),x=n("xgIS"),_=n("LRne"),w=n("PqYM"),S=n("R0Ic"),C=n("JX91"),k=n("/uUt"),O=n("1G5W"),E=n("8LU1"),M=n("nLfN"),I=n("FtGj"),P=n("cH1L"),T=n("vxfF");function D(e,t){1&e&&m["\u0275\u0275projection"](0)}var L=["*"];function R(e,t){}var j=function(e){return{animationDuration:e}},A=function(e,t){return{value:e,params:t}},F=["tabBodyWrapper"],B=["tabHeader"];function z(e,t){}function N(e,t){if(1&e&&m["\u0275\u0275template"](0,z,0,0,"ng-template",9),2&e){var n=m["\u0275\u0275nextContext"]().$implicit;m["\u0275\u0275property"]("cdkPortalOutlet",n.templateLabel)}}function H(e,t){if(1&e&&m["\u0275\u0275text"](0),2&e){var n=m["\u0275\u0275nextContext"]().$implicit;m["\u0275\u0275textInterpolate"](n.textLabel)}}function V(e,t){if(1&e){var n=m["\u0275\u0275getCurrentView"]();m["\u0275\u0275elementStart"](0,"div",6),m["\u0275\u0275listener"]("click",function(){m["\u0275\u0275restoreView"](n);var e=t.$implicit,i=t.index,r=m["\u0275\u0275nextContext"](),a=m["\u0275\u0275reference"](1);return r._handleClick(e,a,i)})("cdkFocusChange",function(e){m["\u0275\u0275restoreView"](n);var i=t.index;return m["\u0275\u0275nextContext"]()._tabFocusChanged(e,i)}),m["\u0275\u0275elementStart"](1,"div",7),m["\u0275\u0275template"](2,N,1,1,"ng-template",8),m["\u0275\u0275template"](3,H,1,1,"ng-template",8),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"]()}if(2&e){var i=t.$implicit,r=t.index,a=m["\u0275\u0275nextContext"]();m["\u0275\u0275classProp"]("mat-tab-label-active",a.selectedIndex==r),m["\u0275\u0275property"]("id",a._getTabLabelId(r))("disabled",i.disabled)("matRippleDisabled",i.disabled||a.disableRipple),m["\u0275\u0275attribute"]("tabIndex",a._getTabIndex(i,r))("aria-posinset",r+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(r))("aria-selected",a.selectedIndex==r)("aria-label",i.ariaLabel||null)("aria-labelledby",!i.ariaLabel&&i.ariaLabelledby?i.ariaLabelledby:null),m["\u0275\u0275advance"](2),m["\u0275\u0275property"]("ngIf",i.templateLabel),m["\u0275\u0275advance"](1),m["\u0275\u0275property"]("ngIf",!i.templateLabel)}}function Y(e,t){if(1&e){var n=m["\u0275\u0275getCurrentView"]();m["\u0275\u0275elementStart"](0,"mat-tab-body",10),m["\u0275\u0275listener"]("_onCentered",function(){return m["\u0275\u0275restoreView"](n),m["\u0275\u0275nextContext"]()._removeTabBodyWrapperHeight()})("_onCentering",function(e){return m["\u0275\u0275restoreView"](n),m["\u0275\u0275nextContext"]()._setTabBodyWrapperHeight(e)}),m["\u0275\u0275elementEnd"]()}if(2&e){var i=t.$implicit,r=t.index,a=m["\u0275\u0275nextContext"]();m["\u0275\u0275classProp"]("mat-tab-body-active",a.selectedIndex==r),m["\u0275\u0275property"]("id",a._getTabContentId(r))("content",i.content)("position",i.position)("origin",i.origin)("animationDuration",a.animationDuration),m["\u0275\u0275attribute"]("aria-labelledby",a._getTabLabelId(r))}}var W=["tabListContainer"],G=["tabList"],U=["nextPaginator"],q=["previousPaginator"],Z=new m.InjectionToken("MatInkBarPositioner",{providedIn:"root",factory:function(){return function(e){return{left:e?(e.offsetLeft||0)+"px":"0",width:e?(e.offsetWidth||0)+"px":"0"}}}}),$=function(){var e=function(){function e(t,n,i,r){Object(l.a)(this,e),this._elementRef=t,this._ngZone=n,this._inkBarPositioner=i,this._animationMode=r}return Object(c.a)(e,[{key:"alignToElement",value:function(e){var t=this;this.show(),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(function(){requestAnimationFrame(function(){return t._setStyles(e)})}):this._setStyles(e)}},{key:"show",value:function(){this._elementRef.nativeElement.style.visibility="visible"}},{key:"hide",value:function(){this._elementRef.nativeElement.style.visibility="hidden"}},{key:"_setStyles",value:function(e){var t=this._inkBarPositioner(e),n=this._elementRef.nativeElement;n.style.left=t.left,n.style.width=t.width}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ElementRef),m["\u0275\u0275directiveInject"](m.NgZone),m["\u0275\u0275directiveInject"](Z),m["\u0275\u0275directiveInject"](f.a,8))},e.\u0275dir=m["\u0275\u0275defineDirective"]({type:e,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,t){2&e&&m["\u0275\u0275classProp"]("_mat-animation-noopable","NoopAnimations"===t._animationMode)}}),e}(),X=new m.InjectionToken("MatTabContent"),K=new m.InjectionToken("MatTabLabel"),J=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(){return Object(l.a)(this,n),t.apply(this,arguments)}return Object(c.a)(n)}(p.b);return e.\u0275fac=function(t){return Q(t||e)},e.\u0275dir=m["\u0275\u0275defineDirective"]({type:e,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],features:[m["\u0275\u0275ProvidersFeature"]([{provide:K,useExisting:e}]),m["\u0275\u0275InheritDefinitionFeature"]]}),e}(),Q=m["\u0275\u0275getInheritedFactory"](J),ee=Object(c.a)(function e(){Object(l.a)(this,e)}),te=Object(g.A)(ee),ne=new m.InjectionToken("MAT_TAB_GROUP"),ie=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i){var r;return Object(l.a)(this,n),(r=t.call(this))._viewContainerRef=e,r._closestTabGroup=i,r.textLabel="",r._contentPortal=null,r._stateChanges=new v.a,r.position=null,r.origin=null,r.isActive=!1,r}return Object(c.a)(n,[{key:"templateLabel",get:function(){return this._templateLabel},set:function(e){this._setTemplateLabelInput(e)}},{key:"content",get:function(){return this._contentPortal}},{key:"ngOnChanges",value:function(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}},{key:"ngOnDestroy",value:function(){this._stateChanges.complete()}},{key:"ngOnInit",value:function(){this._contentPortal=new p.g(this._explicitContent||this._implicitContent,this._viewContainerRef)}},{key:"_setTemplateLabelInput",value:function(e){e&&(this._templateLabel=e)}}]),n}(te);return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ViewContainerRef),m["\u0275\u0275directiveInject"](ne))},e.\u0275cmp=m["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-tab"]],contentQueries:function(e,t,n){var i;1&e&&(m["\u0275\u0275contentQuery"](n,K,1),m["\u0275\u0275contentQuery"](n,X,3,m.TemplateRef)),2&e&&(m["\u0275\u0275queryRefresh"](i=m["\u0275\u0275loadQuery"]())&&(t.templateLabel=i.first),m["\u0275\u0275queryRefresh"](i=m["\u0275\u0275loadQuery"]())&&(t._explicitContent=i.first))},viewQuery:function(e,t){var n;1&e&&m["\u0275\u0275viewQuery"](m.TemplateRef,3),2&e&&m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._implicitContent=n.first)},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"]},exportAs:["matTab"],features:[m["\u0275\u0275InheritDefinitionFeature"],m["\u0275\u0275NgOnChangesFeature"]],ngContentSelectors:L,decls:1,vars:0,template:function(e,t){1&e&&(m["\u0275\u0275projectionDef"](),m["\u0275\u0275template"](0,D,1,0,"ng-template"))},encapsulation:2}),e}(),re={translateTab:Object(S.n)("translateTab",[Object(S.k)("center, void, left-origin-center, right-origin-center",Object(S.l)({transform:"none"})),Object(S.k)("left",Object(S.l)({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),Object(S.k)("right",Object(S.l)({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),Object(S.m)("* => left, * => right, left => center, right => center",Object(S.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Object(S.m)("void => left-origin-center",[Object(S.l)({transform:"translate3d(-100%, 0, 0)"}),Object(S.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Object(S.m)("void => right-origin-center",[Object(S.l)({transform:"translate3d(100%, 0, 0)"}),Object(S.e)("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},ae=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r,a){var o;return Object(l.a)(this,n),(o=t.call(this,e,i,a))._host=r,o._centeringSub=y.a.EMPTY,o._leavingSub=y.a.EMPTY,o}return Object(c.a)(n,[{key:"ngOnInit",value:function(){var e=this;Object(r.a)(Object(a.a)(n.prototype),"ngOnInit",this).call(this),this._centeringSub=this._host._beforeCentering.pipe(Object(C.a)(this._host._isCenterPosition(this._host._position))).subscribe(function(t){t&&!e.hasAttached()&&e.attach(e._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(function(){e.detach()})}},{key:"ngOnDestroy",value:function(){Object(r.a)(Object(a.a)(n.prototype),"ngOnDestroy",this).call(this),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}]),n}(p.c);return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ComponentFactoryResolver),m["\u0275\u0275directiveInject"](m.ViewContainerRef),m["\u0275\u0275directiveInject"](Object(m.forwardRef)(function(){return se})),m["\u0275\u0275directiveInject"](h.DOCUMENT))},e.\u0275dir=m["\u0275\u0275defineDirective"]({type:e,selectors:[["","matTabBodyHost",""]],features:[m["\u0275\u0275InheritDefinitionFeature"]]}),e}(),oe=function(){var e=function(){function e(t,n,i){var r=this;Object(l.a)(this,e),this._elementRef=t,this._dir=n,this._dirChangeSubscription=y.a.EMPTY,this._translateTabComplete=new v.a,this._onCentering=new m.EventEmitter,this._beforeCentering=new m.EventEmitter,this._afterLeavingCenter=new m.EventEmitter,this._onCentered=new m.EventEmitter(!0),this.animationDuration="500ms",n&&(this._dirChangeSubscription=n.change.subscribe(function(e){r._computePositionAnimationState(e),i.markForCheck()})),this._translateTabComplete.pipe(Object(k.a)(function(e,t){return e.fromState===t.fromState&&e.toState===t.toState})).subscribe(function(e){r._isCenterPosition(e.toState)&&r._isCenterPosition(r._position)&&r._onCentered.emit(),r._isCenterPosition(e.fromState)&&!r._isCenterPosition(r._position)&&r._afterLeavingCenter.emit()})}return Object(c.a)(e,[{key:"position",set:function(e){this._positionIndex=e,this._computePositionAnimationState()}},{key:"ngOnInit",value:function(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}},{key:"ngOnDestroy",value:function(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}},{key:"_onTranslateTabStarted",value:function(e){var t=this._isCenterPosition(e.toState);this._beforeCentering.emit(t),t&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_isCenterPosition",value:function(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}},{key:"_computePositionAnimationState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._getLayoutDirection();this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}},{key:"_computePositionFromOrigin",value:function(e){var t=this._getLayoutDirection();return"ltr"==t&&e<=0||"rtl"==t&&e>0?"left-origin-center":"right-origin-center"}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ElementRef),m["\u0275\u0275directiveInject"](P.b,8),m["\u0275\u0275directiveInject"](m.ChangeDetectorRef))},e.\u0275dir=m["\u0275\u0275defineDirective"]({type:e,inputs:{animationDuration:"animationDuration",position:"position",_content:["content","_content"],origin:"origin"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),e}(),se=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r){return Object(l.a)(this,n),t.call(this,e,i,r)}return Object(c.a)(n)}(oe);return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ElementRef),m["\u0275\u0275directiveInject"](P.b,8),m["\u0275\u0275directiveInject"](m.ChangeDetectorRef))},e.\u0275cmp=m["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-tab-body"]],viewQuery:function(e,t){var n;1&e&&m["\u0275\u0275viewQuery"](p.c,1),2&e&&m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._portalHost=n.first)},hostAttrs:[1,"mat-tab-body"],features:[m["\u0275\u0275InheritDefinitionFeature"]],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,t){1&e&&(m["\u0275\u0275elementStart"](0,"div",0,1),m["\u0275\u0275listener"]("@translateTab.start",function(e){return t._onTranslateTabStarted(e)})("@translateTab.done",function(e){return t._translateTabComplete.next(e)}),m["\u0275\u0275template"](2,R,0,0,"ng-template",2),m["\u0275\u0275elementEnd"]()),2&e&&m["\u0275\u0275property"]("@translateTab",m["\u0275\u0275pureFunction2"](3,A,t._position,m["\u0275\u0275pureFunction1"](1,j,t.animationDuration)))},directives:[ae],styles:[".mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}\n"],encapsulation:2,data:{animation:[re.translateTab]}}),e}(),le=new m.InjectionToken("MAT_TABS_CONFIG"),ce=0,de=Object(c.a)(function e(){Object(l.a)(this,e)}),ue=Object(c.a)(function e(t){Object(l.a)(this,e),this._elementRef=t}),pe=Object(g.y)(Object(g.z)(ue),"primary"),he=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r,a){var o;return Object(l.a)(this,n),(o=t.call(this,e))._changeDetectorRef=i,o._animationMode=a,o._tabs=new m.QueryList,o._indexToSelect=0,o._tabBodyWrapperHeight=0,o._tabsSubscription=y.a.EMPTY,o._tabLabelSubscription=y.a.EMPTY,o._selectedIndex=null,o.headerPosition="above",o.selectedIndexChange=new m.EventEmitter,o.focusChange=new m.EventEmitter,o.animationDone=new m.EventEmitter,o.selectedTabChange=new m.EventEmitter(!0),o._groupId=ce++,o.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",o.disablePagination=!(!r||null==r.disablePagination)&&r.disablePagination,o.dynamicHeight=!(!r||null==r.dynamicHeight)&&r.dynamicHeight,o}return Object(c.a)(n,[{key:"dynamicHeight",get:function(){return this._dynamicHeight},set:function(e){this._dynamicHeight=Object(E.c)(e)}},{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(e){this._indexToSelect=Object(E.f)(e,null)}},{key:"animationDuration",get:function(){return this._animationDuration},set:function(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}},{key:"backgroundColor",get:function(){return this._backgroundColor},set:function(e){var t=this._elementRef.nativeElement;t.classList.remove("mat-background-".concat(this.backgroundColor)),e&&t.classList.add("mat-background-".concat(e)),this._backgroundColor=e}},{key:"ngAfterContentChecked",value:function(){var e=this,t=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=t){var n=null==this._selectedIndex;if(!n){this.selectedTabChange.emit(this._createChangeEvent(t));var i=this._tabBodyWrapper.nativeElement;i.style.minHeight=i.clientHeight+"px"}Promise.resolve().then(function(){e._tabs.forEach(function(e,n){return e.isActive=n===t}),n||(e.selectedIndexChange.emit(t),e._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach(function(n,i){n.position=i-t,null==e._selectedIndex||0!=n.position||n.origin||(n.origin=t-e._selectedIndex)}),this._selectedIndex!==t&&(this._selectedIndex=t,this._changeDetectorRef.markForCheck())}},{key:"ngAfterContentInit",value:function(){var e=this;this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(function(){if(e._clampTabIndex(e._indexToSelect)===e._selectedIndex)for(var t=e._tabs.toArray(),n=0;n<t.length;n++)if(t[n].isActive){e._indexToSelect=e._selectedIndex=n;break}e._changeDetectorRef.markForCheck()})}},{key:"_subscribeToAllTabChanges",value:function(){var e=this;this._allTabs.changes.pipe(Object(C.a)(this._allTabs)).subscribe(function(t){e._tabs.reset(t.filter(function(t){return t._closestTabGroup===e})),e._tabs.notifyOnChanges()})}},{key:"ngOnDestroy",value:function(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}},{key:"realignInkBar",value:function(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}},{key:"_focusChanged",value:function(e){this.focusChange.emit(this._createChangeEvent(e))}},{key:"_createChangeEvent",value:function(e){var t=new de;return t.index=e,this._tabs&&this._tabs.length&&(t.tab=this._tabs.toArray()[e]),t}},{key:"_subscribeToTabLabels",value:function(){var e=this;this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=b.a.apply(void 0,Object(i.a)(this._tabs.map(function(e){return e._stateChanges}))).subscribe(function(){return e._changeDetectorRef.markForCheck()})}},{key:"_clampTabIndex",value:function(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}},{key:"_getTabLabelId",value:function(e){return"mat-tab-label-".concat(this._groupId,"-").concat(e)}},{key:"_getTabContentId",value:function(e){return"mat-tab-content-".concat(this._groupId,"-").concat(e)}},{key:"_setTabBodyWrapperHeight",value: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")}}},{key:"_removeTabBodyWrapperHeight",value:function(){var e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}},{key:"_handleClick",value:function(e,t,n){e.disabled||(this.selectedIndex=t.focusIndex=n)}},{key:"_getTabIndex",value:function(e,t){return e.disabled?null:this.selectedIndex===t?0:-1}},{key:"_tabFocusChanged",value:function(e,t){e&&(this._tabHeader.focusIndex=t)}}]),n}(pe);return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ElementRef),m["\u0275\u0275directiveInject"](m.ChangeDetectorRef),m["\u0275\u0275directiveInject"](le,8),m["\u0275\u0275directiveInject"](f.a,8))},e.\u0275dir=m["\u0275\u0275defineDirective"]({type:e,inputs:{headerPosition:"headerPosition",animationDuration:"animationDuration",disablePagination:"disablePagination",dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[m["\u0275\u0275InheritDefinitionFeature"]]}),e}(),me=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r,a){return Object(l.a)(this,n),t.call(this,e,i,r,a)}return Object(c.a)(n)}(he);return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ElementRef),m["\u0275\u0275directiveInject"](m.ChangeDetectorRef),m["\u0275\u0275directiveInject"](le,8),m["\u0275\u0275directiveInject"](f.a,8))},e.\u0275cmp=m["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-tab-group"]],contentQueries:function(e,t,n){var i;1&e&&m["\u0275\u0275contentQuery"](n,ie,1),2&e&&m["\u0275\u0275queryRefresh"](i=m["\u0275\u0275loadQuery"]())&&(t._allTabs=i)},viewQuery:function(e,t){var n;1&e&&(m["\u0275\u0275viewQuery"](F,1),m["\u0275\u0275viewQuery"](B,1)),2&e&&(m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._tabBodyWrapper=n.first),m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._tabHeader=n.first))},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,t){2&e&&m["\u0275\u0275classProp"]("mat-tab-group-dynamic-height",t.dynamicHeight)("mat-tab-group-inverted-header","below"===t.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[m["\u0275\u0275ProvidersFeature"]([{provide:ne,useExisting:e}]),m["\u0275\u0275InheritDefinitionFeature"]],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,t){1&e&&(m["\u0275\u0275elementStart"](0,"mat-tab-header",0,1),m["\u0275\u0275listener"]("indexFocused",function(e){return t._focusChanged(e)})("selectFocusedIndex",function(e){return t.selectedIndex=e}),m["\u0275\u0275template"](2,V,4,14,"div",2),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](3,"div",3,4),m["\u0275\u0275template"](5,Y,1,8,"mat-tab-body",5),m["\u0275\u0275elementEnd"]()),2&e&&(m["\u0275\u0275property"]("selectedIndex",t.selectedIndex||0)("disableRipple",t.disableRipple)("disablePagination",t.disablePagination),m["\u0275\u0275advance"](2),m["\u0275\u0275property"]("ngForOf",t._tabs),m["\u0275\u0275advance"](1),m["\u0275\u0275classProp"]("_mat-animation-noopable","NoopAnimations"===t._animationMode),m["\u0275\u0275advance"](2),m["\u0275\u0275property"]("ngForOf",t._tabs))},directives:function(){return[_e,h.NgForOf,ve,g.t,d.e,h.NgIf,p.c,se]},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:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@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-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;flex-basis:100%}.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}\n"],encapsulation:2}),e}(),ge=Object(c.a)(function e(){Object(l.a)(this,e)}),fe=Object(g.A)(ge),ve=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e){var i;return Object(l.a)(this,n),(i=t.call(this)).elementRef=e,i}return Object(c.a)(n,[{key:"focus",value:function(){this.elementRef.nativeElement.focus()}},{key:"getOffsetLeft",value:function(){return this.elementRef.nativeElement.offsetLeft}},{key:"getOffsetWidth",value:function(){return this.elementRef.nativeElement.offsetWidth}}]),n}(fe);return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ElementRef))},e.\u0275dir=m["\u0275\u0275defineDirective"]({type:e,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,t){2&e&&(m["\u0275\u0275attribute"]("aria-disabled",!!t.disabled),m["\u0275\u0275classProp"]("mat-tab-disabled",t.disabled))},inputs:{disabled:"disabled"},features:[m["\u0275\u0275InheritDefinitionFeature"]]}),e}(),ye=Object(M.f)({passive:!0}),be=function(){var e=function(){function e(t,n,i,r,a,o,s){var c=this;Object(l.a)(this,e),this._elementRef=t,this._changeDetectorRef=n,this._viewportRuler=i,this._dir=r,this._ngZone=a,this._platform=o,this._animationMode=s,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new v.a,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new v.a,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new m.EventEmitter,this.indexFocused=new m.EventEmitter,a.runOutsideAngular(function(){Object(x.a)(t.nativeElement,"mouseleave").pipe(Object(O.a)(c._destroyed)).subscribe(function(){c._stopInterval()})})}return Object(c.a)(e,[{key:"selectedIndex",get:function(){return this._selectedIndex},set:function(e){e=Object(E.f)(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}},{key:"ngAfterViewInit",value:function(){var e=this;Object(x.a)(this._previousPaginator.nativeElement,"touchstart",ye).pipe(Object(O.a)(this._destroyed)).subscribe(function(){e._handlePaginatorPress("before")}),Object(x.a)(this._nextPaginator.nativeElement,"touchstart",ye).pipe(Object(O.a)(this._destroyed)).subscribe(function(){e._handlePaginatorPress("after")})}},{key:"ngAfterContentInit",value:function(){var e=this,t=this._dir?this._dir.change:Object(_.a)(null),n=this._viewportRuler.change(150),i=function(){e.updatePagination(),e._alignInkBarToSelectedTab()};this._keyManager=new d.g(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),"undefined"!=typeof requestAnimationFrame?requestAnimationFrame(i):i(),Object(b.a)(t,n,this._items.changes).pipe(Object(O.a)(this._destroyed)).subscribe(function(){e._ngZone.run(function(){return Promise.resolve().then(i)}),e._keyManager.withHorizontalOrientation(e._getLayoutDirection())}),this._keyManager.change.pipe(Object(O.a)(this._destroyed)).subscribe(function(t){e.indexFocused.emit(t),e._setTabFocus(t)})}},{key:"ngAfterContentChecked",value:function(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}},{key:"ngOnDestroy",value:function(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}},{key:"_handleKeydown",value:function(e){if(!Object(I.t)(e))switch(e.keyCode){case I.g:case I.o:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}},{key:"_onContentChanges",value:function(){var e=this,t=this._elementRef.nativeElement.textContent;t!==this._currentTextContent&&(this._currentTextContent=t||"",this._ngZone.run(function(){e.updatePagination(),e._alignInkBarToSelectedTab(),e._changeDetectorRef.markForCheck()}))}},{key:"updatePagination",value:function(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}},{key:"focusIndex",get:function(){return this._keyManager?this._keyManager.activeItemIndex:0},set:function(e){this._isValidIndex(e)&&this.focusIndex!==e&&this._keyManager&&this._keyManager.setActiveItem(e)}},{key:"_isValidIndex",value:function(e){if(!this._items)return!0;var t=this._items?this._items.toArray()[e]:null;return!!t&&!t.disabled}},{key:"_setTabFocus",value:function(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();var t=this._tabListContainer.nativeElement,n=this._getLayoutDirection();t.scrollLeft="ltr"==n?0:t.scrollWidth-t.offsetWidth}}},{key:"_getLayoutDirection",value:function(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}},{key:"_updateTabScrollPosition",value:function(){if(!this.disablePagination){var e=this.scrollDistance,t="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform="translateX(".concat(Math.round(t),"px)"),(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}}},{key:"scrollDistance",get:function(){return this._scrollDistance},set:function(e){this._scrollTo(e)}},{key:"_scrollHeader",value:function(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}},{key:"_handlePaginatorClick",value:function(e){this._stopInterval(),this._scrollHeader(e)}},{key:"_scrollToLabel",value:function(e){if(!this.disablePagination){var t=this._items?this._items.toArray()[e]:null;if(t){var n,i,r=this._tabListContainer.nativeElement.offsetWidth,a=t.elementRef.nativeElement,o=a.offsetLeft,s=a.offsetWidth;"ltr"==this._getLayoutDirection()?i=(n=o)+s:n=(i=this._tabList.nativeElement.offsetWidth-o)-s;var l=this.scrollDistance,c=this.scrollDistance+r;n<l?this.scrollDistance-=l-n+60:i>c&&(this.scrollDistance+=i-c+60)}}}},{key:"_checkPaginationEnabled",value:function(){if(this.disablePagination)this._showPaginationControls=!1;else{var e=this._tabList.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}},{key:"_checkScrollingControls",value:function(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}},{key:"_getMaxScrollDistance",value:function(){return this._tabList.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}},{key:"_alignInkBarToSelectedTab",value:function(){var e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,t=e?e.elementRef.nativeElement:null;t?this._inkBar.alignToElement(t):this._inkBar.hide()}},{key:"_stopInterval",value:function(){this._stopScrolling.next()}},{key:"_handlePaginatorPress",value:function(e,t){var n=this;t&&null!=t.button&&0!==t.button||(this._stopInterval(),Object(w.a)(650,100).pipe(Object(O.a)(Object(b.a)(this._stopScrolling,this._destroyed))).subscribe(function(){var t=n._scrollHeader(e),i=t.distance;(0===i||i>=t.maxScrollDistance)&&n._stopInterval()}))}},{key:"_scrollTo",value:function(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};var t=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(t,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:t,distance:this._scrollDistance}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ElementRef),m["\u0275\u0275directiveInject"](m.ChangeDetectorRef),m["\u0275\u0275directiveInject"](T.d),m["\u0275\u0275directiveInject"](P.b,8),m["\u0275\u0275directiveInject"](m.NgZone),m["\u0275\u0275directiveInject"](M.a),m["\u0275\u0275directiveInject"](f.a,8))},e.\u0275dir=m["\u0275\u0275defineDirective"]({type:e,inputs:{disablePagination:"disablePagination"}}),e}(),xe=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r,a,o,s,c){var d;return Object(l.a)(this,n),(d=t.call(this,e,i,r,a,o,s,c))._disableRipple=!1,d}return Object(c.a)(n,[{key:"disableRipple",get:function(){return this._disableRipple},set:function(e){this._disableRipple=Object(E.c)(e)}},{key:"_itemSelected",value:function(e){e.preventDefault()}}]),n}(be);return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ElementRef),m["\u0275\u0275directiveInject"](m.ChangeDetectorRef),m["\u0275\u0275directiveInject"](T.d),m["\u0275\u0275directiveInject"](P.b,8),m["\u0275\u0275directiveInject"](m.NgZone),m["\u0275\u0275directiveInject"](M.a),m["\u0275\u0275directiveInject"](f.a,8))},e.\u0275dir=m["\u0275\u0275defineDirective"]({type:e,inputs:{disableRipple:"disableRipple"},features:[m["\u0275\u0275InheritDefinitionFeature"]]}),e}(),_e=function(){var e=function(e){Object(o.a)(n,e);var t=Object(s.a)(n);function n(e,i,r,a,o,s,c){return Object(l.a)(this,n),t.call(this,e,i,r,a,o,s,c)}return Object(c.a)(n)}(xe);return e.\u0275fac=function(t){return new(t||e)(m["\u0275\u0275directiveInject"](m.ElementRef),m["\u0275\u0275directiveInject"](m.ChangeDetectorRef),m["\u0275\u0275directiveInject"](T.d),m["\u0275\u0275directiveInject"](P.b,8),m["\u0275\u0275directiveInject"](m.NgZone),m["\u0275\u0275directiveInject"](M.a),m["\u0275\u0275directiveInject"](f.a,8))},e.\u0275cmp=m["\u0275\u0275defineComponent"]({type:e,selectors:[["mat-tab-header"]],contentQueries:function(e,t,n){var i;1&e&&m["\u0275\u0275contentQuery"](n,ve,0),2&e&&m["\u0275\u0275queryRefresh"](i=m["\u0275\u0275loadQuery"]())&&(t._items=i)},viewQuery:function(e,t){var n;1&e&&(m["\u0275\u0275viewQuery"]($,3),m["\u0275\u0275viewQuery"](W,3),m["\u0275\u0275viewQuery"](G,3),m["\u0275\u0275viewQuery"](U,1),m["\u0275\u0275viewQuery"](q,1)),2&e&&(m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._inkBar=n.first),m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._tabListContainer=n.first),m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._tabList=n.first),m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._nextPaginator=n.first),m["\u0275\u0275queryRefresh"](n=m["\u0275\u0275loadQuery"]())&&(t._previousPaginator=n.first))},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,t){2&e&&m["\u0275\u0275classProp"]("mat-tab-header-pagination-controls-enabled",t._showPaginationControls)("mat-tab-header-rtl","rtl"==t._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[m["\u0275\u0275InheritDefinitionFeature"]],ngContentSelectors:L,decls:13,vars:8,consts:[["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["aria-hidden","true","mat-ripple","",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,t){1&e&&(m["\u0275\u0275projectionDef"](),m["\u0275\u0275elementStart"](0,"div",0,1),m["\u0275\u0275listener"]("click",function(){return t._handlePaginatorClick("before")})("mousedown",function(e){return t._handlePaginatorPress("before",e)})("touchend",function(){return t._stopInterval()}),m["\u0275\u0275element"](2,"div",2),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](3,"div",3,4),m["\u0275\u0275listener"]("keydown",function(e){return t._handleKeydown(e)}),m["\u0275\u0275elementStart"](5,"div",5,6),m["\u0275\u0275listener"]("cdkObserveContent",function(){return t._onContentChanges()}),m["\u0275\u0275elementStart"](7,"div",7),m["\u0275\u0275projection"](8),m["\u0275\u0275elementEnd"](),m["\u0275\u0275element"](9,"mat-ink-bar"),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementEnd"](),m["\u0275\u0275elementStart"](10,"div",8,9),m["\u0275\u0275listener"]("mousedown",function(e){return t._handlePaginatorPress("after",e)})("click",function(){return t._handlePaginatorClick("after")})("touchend",function(){return t._stopInterval()}),m["\u0275\u0275element"](12,"div",2),m["\u0275\u0275elementEnd"]()),2&e&&(m["\u0275\u0275classProp"]("mat-tab-header-pagination-disabled",t._disableScrollBefore),m["\u0275\u0275property"]("matRippleDisabled",t._disableScrollBefore||t.disableRipple),m["\u0275\u0275advance"](5),m["\u0275\u0275classProp"]("_mat-animation-noopable","NoopAnimations"===t._animationMode),m["\u0275\u0275advance"](5),m["\u0275\u0275classProp"]("mat-tab-header-pagination-disabled",t._disableScrollAfter),m["\u0275\u0275property"]("matRippleDisabled",t._disableScrollAfter||t.disableRipple))},directives:[g.t,u.a,$],styles:['.mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none}.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-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .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-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.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:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n'],encapsulation:2}),e}(),we=function(){var e=Object(c.a)(function e(){Object(l.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=m["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=m["\u0275\u0275defineInjector"]({imports:[[h.CommonModule,g.j,p.f,g.u,u.c,d.a],g.j]}),e}()},"wd/R":function(e,t,n){(function(e){e.exports=function(){"use strict";var t,i;function r(){return t.apply(null,arguments)}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(s(e,t))return!1;return!0}function c(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function u(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var n,i=[],r=e.length;for(n=0;n<r;++n)i.push(t(e[n],n));return i}function h(e,t){for(var n in t)s(t,n)&&(e[n]=t[n]);return s(t,"toString")&&(e.toString=t.toString),s(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,n,i){return Ct(e,t,n,i,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function f(e){if(null==e._isValid){var t=g(e),n=i.call(t.parsedDateParts,function(e){return null!=e}),r=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(r=r&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return r;e._isValid=r}return e._isValid}function v(e){var t=m(NaN);return null!=e?h(g(t),e):g(t).userInvalidated=!0,t}i=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),i=n.length>>>0;for(t=0;t<i;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var y=r.momentProperties=[],b=!1;function x(e,t){var n,i,r,a=y.length;if(c(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),c(t._i)||(e._i=t._i),c(t._f)||(e._f=t._f),c(t._l)||(e._l=t._l),c(t._strict)||(e._strict=t._strict),c(t._tzm)||(e._tzm=t._tzm),c(t._isUTC)||(e._isUTC=t._isUTC),c(t._offset)||(e._offset=t._offset),c(t._pf)||(e._pf=g(t)),c(t._locale)||(e._locale=t._locale),a>0)for(n=0;n<a;n++)c(r=t[i=y[n]])||(e[i]=r);return e}function _(e){x(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===b&&(b=!0,r.updateOffset(this),b=!1)}function w(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function S(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function C(e,t){var n=!0;return h(function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,o,l=[],c=arguments.length;for(a=0;a<c;a++){if(i="","object"==typeof arguments[a]){for(o in i+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}S(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)},t)}var k,O={};function E(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),O[e]||(S(t),O[e]=!0)}function M(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function I(e,t){var n,i=h({},e);for(n in t)s(t,n)&&(o(e[n])&&o(t[n])?(i[n]={},h(i[n],e[n]),h(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)s(e,n)&&!s(t,n)&&o(e[n])&&(i[n]=h({},i[n]));return i}function P(e){null!=e&&this.set(e)}function T(e,t,n){var i=""+Math.abs(e);return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,t-i.length)).toString().substr(1)+i}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var D=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},j={};function A(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(j[e]=r),t&&(j[t[0]]=function(){return T(r.apply(this,arguments),t[1],t[2])}),n&&(j[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function F(e,t){return e.isValid()?(t=B(t,e.localeData()),R[t]=R[t]||function(e){var t,n,i,r=e.match(D);for(t=0,n=r.length;t<n;t++)r[t]=j[r[t]]?j[r[t]]:(i=r[t]).match(/\[[\s\S]/)?i.replace(/^\[|\]$/g,""):i.replace(/\\/g,"");return function(t){var i,a="";for(i=0;i<n;i++)a+=M(r[i])?r[i].call(t,e):r[i];return a}}(t),R[t](e)):e.localeData().invalidDate()}function B(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(L.lastIndex=0;n>=0&&L.test(e);)e=e.replace(L,i),L.lastIndex=0,n-=1;return e}var z={};function N(e,t){var n=e.toLowerCase();z[n]=z[n+"s"]=z[t]=e}function H(e){return"string"==typeof e?z[e]||z[e.toLowerCase()]:void 0}function V(e){var t,n,i={};for(n in e)s(e,n)&&(t=H(n))&&(i[t]=e[n]);return i}var Y={};function W(e,t){Y[e]=t}function G(e){return e%4==0&&e%100!=0||e%400==0}function U(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function q(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=U(t)),n}function Z(e,t){return function(n){return null!=n?(X(this,e,n),r.updateOffset(this,t),this):$(this,e)}}function $(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function X(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&G(e.year())&&1===e.month()&&29===e.date()?(n=q(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),we(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}var K,J=/\d/,Q=/\d\d/,ee=/\d{3}/,te=/\d{4}/,ne=/[+-]?\d{6}/,ie=/\d\d?/,re=/\d\d\d\d?/,ae=/\d\d\d\d\d\d?/,oe=/\d{1,3}/,se=/\d{1,4}/,le=/[+-]?\d{1,6}/,ce=/\d+/,de=/[+-]?\d+/,ue=/Z|[+-]\d\d:?\d\d/gi,pe=/Z|[+-]\d\d(?::?\d\d)?/gi,he=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function me(e,t,n){K[e]=M(t)?t:function(e,i){return e&&n?n:t}}function ge(e,t){return s(K,e)?K[e](t._strict,t._locale):new RegExp(fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r})))}function fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}K={};var ve,ye={};function be(e,t){var n,i,r=t;for("string"==typeof e&&(e=[e]),d(t)&&(r=function(e,n){n[t]=q(e)}),i=e.length,n=0;n<i;n++)ye[e[n]]=r}function xe(e,t){be(e,function(e,n,i,r){i._w=i._w||{},t(e,i._w,i,r)})}function _e(e,t,n){null!=t&&s(ye,e)&&ye[e](t,n._a,n,e)}function we(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=(t%12+12)%12;return e+=(t-n)/12,1===n?G(e)?29:28:31-n%7%2}ve=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},A("M",["MM",2],"Mo",function(){return this.month()+1}),A("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),A("MMMM",0,0,function(e){return this.localeData().months(this,e)}),N("month","M"),W("month",8),me("M",ie),me("MM",ie,Q),me("MMM",function(e,t){return t.monthsShortRegex(e)}),me("MMMM",function(e,t){return t.monthsRegex(e)}),be(["M","MM"],function(e,t){t[1]=q(e)-1}),be(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[1]=r:g(n).invalidMonth=e});var Se="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Ce="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ke=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Oe=he,Ee=he;function Me(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=m([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,o))?r:null:-1!==(r=ve.call(this._longMonthsParse,o))?r:null:"MMM"===t?-1!==(r=ve.call(this._shortMonthsParse,o))||-1!==(r=ve.call(this._longMonthsParse,o))?r:null:-1!==(r=ve.call(this._longMonthsParse,o))||-1!==(r=ve.call(this._shortMonthsParse,o))?r:null}function Ie(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=q(t);else if(!d(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),we(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Pe(e){return null!=e?(Ie(this,e),r.updateOffset(this,!0),this):$(this,"Month")}function Te(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],a=[];for(t=0;t<12;t++)n=m([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),a.sort(e),t=0;t<12;t++)i[t]=fe(i[t]),r[t]=fe(r[t]);for(t=0;t<24;t++)a[t]=fe(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function De(e){return G(e)?366:365}A("Y",0,0,function(){var e=this.year();return e<=9999?T(e,4):"+"+e}),A(0,["YY",2],0,function(){return this.year()%100}),A(0,["YYYY",4],0,"year"),A(0,["YYYYY",5],0,"year"),A(0,["YYYYYY",6,!0],0,"year"),N("year","y"),W("year",1),me("Y",de),me("YY",ie,Q),me("YYYY",se,te),me("YYYYY",le,ne),me("YYYYYY",le,ne),be(["YYYYY","YYYYYY"],0),be("YYYY",function(e,t){t[0]=2===e.length?r.parseTwoDigitYear(e):q(e)}),be("YY",function(e,t){t[0]=r.parseTwoDigitYear(e)}),be("Y",function(e,t){t[0]=parseInt(e,10)}),r.parseTwoDigitYear=function(e){return q(e)+(q(e)>68?1900:2e3)};var Le=Z("FullYear",!0);function Re(e,t,n,i,r,a,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}function je(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function Ae(e,t,n){var i=7+t-n;return-(7+je(e,0,i).getUTCDay()-t)%7+i-1}function Fe(e,t,n,i,r){var a,o,s=1+7*(t-1)+(7+n-i)%7+Ae(e,i,r);return s<=0?o=De(a=e-1)+s:s>De(e)?(a=e+1,o=s-De(e)):(a=e,o=s),{year:a,dayOfYear:o}}function Be(e,t,n){var i,r,a=Ae(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?i=o+ze(r=e.year()-1,t,n):o>ze(e.year(),t,n)?(i=o-ze(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function ze(e,t,n){var i=Ae(e,t,n),r=Ae(e+1,t,n);return(De(e)-i+r)/7}function Ne(e,t){return e.slice(t,7).concat(e.slice(0,t))}A("w",["ww",2],"wo","week"),A("W",["WW",2],"Wo","isoWeek"),N("week","w"),N("isoWeek","W"),W("week",5),W("isoWeek",5),me("w",ie),me("ww",ie,Q),me("W",ie),me("WW",ie,Q),xe(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=q(e)}),A("d",0,"do","day"),A("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),A("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),A("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),A("e",0,0,"weekday"),A("E",0,0,"isoWeekday"),N("day","d"),N("weekday","e"),N("isoWeekday","E"),W("day",11),W("weekday",11),W("isoWeekday",11),me("d",ie),me("e",ie),me("E",ie),me("dd",function(e,t){return t.weekdaysMinRegex(e)}),me("ddd",function(e,t){return t.weekdaysShortRegex(e)}),me("dddd",function(e,t){return t.weekdaysRegex(e)}),xe(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),xe(["d","e","E"],function(e,t,n,i){t[i]=q(e)});var He="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ve="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ye="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),We=he,Ge=he,Ue=he;function qe(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=m([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,o))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,o))?r:null:"dddd"===t?-1!==(r=ve.call(this._weekdaysParse,o))||-1!==(r=ve.call(this._shortWeekdaysParse,o))||-1!==(r=ve.call(this._minWeekdaysParse,o))?r:null:"ddd"===t?-1!==(r=ve.call(this._shortWeekdaysParse,o))||-1!==(r=ve.call(this._weekdaysParse,o))||-1!==(r=ve.call(this._minWeekdaysParse,o))?r:null:-1!==(r=ve.call(this._minWeekdaysParse,o))||-1!==(r=ve.call(this._weekdaysParse,o))||-1!==(r=ve.call(this._shortWeekdaysParse,o))?r:null}function Ze(){function e(e,t){return t.length-e.length}var t,n,i,r,a,o=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),i=fe(this.weekdaysMin(n,"")),r=fe(this.weekdaysShort(n,"")),a=fe(this.weekdays(n,"")),o.push(i),s.push(r),l.push(a),c.push(i),c.push(r),c.push(a);o.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function $e(){return this.hours()%12||12}function Xe(e,t){A(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ke(e,t){return t._meridiemParse}A("H",["HH",2],0,"hour"),A("h",["hh",2],0,$e),A("k",["kk",2],0,function(){return this.hours()||24}),A("hmm",0,0,function(){return""+$e.apply(this)+T(this.minutes(),2)}),A("hmmss",0,0,function(){return""+$e.apply(this)+T(this.minutes(),2)+T(this.seconds(),2)}),A("Hmm",0,0,function(){return""+this.hours()+T(this.minutes(),2)}),A("Hmmss",0,0,function(){return""+this.hours()+T(this.minutes(),2)+T(this.seconds(),2)}),Xe("a",!0),Xe("A",!1),N("hour","h"),W("hour",13),me("a",Ke),me("A",Ke),me("H",ie),me("h",ie),me("k",ie),me("HH",ie,Q),me("hh",ie,Q),me("kk",ie,Q),me("hmm",re),me("hmmss",ae),me("Hmm",re),me("Hmmss",ae),be(["H","HH"],3),be(["k","kk"],function(e,t,n){var i=q(e);t[3]=24===i?0:i}),be(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),be(["h","hh"],function(e,t,n){t[3]=q(e),g(n).bigHour=!0}),be("hmm",function(e,t,n){var i=e.length-2;t[3]=q(e.substr(0,i)),t[4]=q(e.substr(i)),g(n).bigHour=!0}),be("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=q(e.substr(0,i)),t[4]=q(e.substr(i,2)),t[5]=q(e.substr(r)),g(n).bigHour=!0}),be("Hmm",function(e,t,n){var i=e.length-2;t[3]=q(e.substr(0,i)),t[4]=q(e.substr(i))}),be("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[3]=q(e.substr(0,i)),t[4]=q(e.substr(i,2)),t[5]=q(e.substr(r))});var Je,Qe=Z("Hours",!0),et={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Se,monthsShort:Ce,week:{dow:0,doy:6},weekdays:He,weekdaysMin:Ye,weekdaysShort:Ve,meridiemParse:/[ap]\.?m?\.?/i},tt={},nt={};function it(e,t){var n,i=Math.min(e.length,t.length);for(n=0;n<i;n+=1)if(e[n]!==t[n])return n;return i}function rt(e){return e?e.toLowerCase().replace("_","-"):e}function at(t){var i=null;if(void 0===tt[t]&&void 0!==e&&e&&e.exports&&function(e){return null!=e.match("^[^/\\\\]*$")}(t))try{i=Je._abbr,n("RnhZ")("./"+t),ot(i)}catch(r){tt[t]=null}return tt[t]}function ot(e,t){var n;return e&&((n=c(t)?lt(e):st(e,t))?Je=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),Je._abbr}function st(e,t){if(null!==t){var n,i=et;if(t.abbr=e,null!=tt[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=tt[e]._config;else if(null!=t.parentLocale)if(null!=tt[t.parentLocale])i=tt[t.parentLocale]._config;else{if(null==(n=at(t.parentLocale)))return nt[t.parentLocale]||(nt[t.parentLocale]=[]),nt[t.parentLocale].push({name:e,config:t}),null;i=n._config}return tt[e]=new P(I(i,t)),nt[e]&&nt[e].forEach(function(e){st(e.name,e.config)}),ot(e),tt[e]}return delete tt[e],null}function lt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Je;if(!a(e)){if(t=at(e))return t;e=[e]}return function(e){for(var t,n,i,r,a=0;a<e.length;){for(t=(r=rt(e[a]).split("-")).length,n=(n=rt(e[a+1]))?n.split("-"):null;t>0;){if(i=at(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&it(r,n)>=t-1)break;t--}a++}return Je}(e)}function ct(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>we(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,g(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),g(e)._overflowWeeks&&-1===t&&(t=7),g(e)._overflowWeekday&&-1===t&&(t=8),g(e).overflow=t),e}var dt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,ut=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pt=/Z|[+-]\d\d(?::?\d\d)?/,ht=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],mt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],gt=/^\/?Date\((-?\d+)/i,ft=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,vt={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function yt(e){var t,n,i,r,a,o,s=e._i,l=dt.exec(s)||ut.exec(s),c=ht.length,d=mt.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(ht[t][1].exec(l[1])){r=ht[t][0],i=!1!==ht[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=d;t<n;t++)if(mt[t][1].exec(l[3])){a=(l[2]||" ")+mt[t][0];break}if(null==a)return void(e._isValid=!1)}if(!i&&null!=a)return void(e._isValid=!1);if(l[4]){if(!pt.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=r+(a||"")+(o||""),wt(e)}else e._isValid=!1}function bt(e){var t,n,i,r,a,o,s,l,c,d=ft.exec(e._i.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,""));if(d){if(n=d[3],i=d[2],r=d[5],a=d[6],o=d[7],s=[(l=d[4],c=parseInt(l,10),c<=49?2e3+c:c<=999?1900+c:c),Ce.indexOf(n),parseInt(i,10),parseInt(r,10),parseInt(a,10)],o&&s.push(parseInt(o,10)),!function(e,t,n){return!e||Ve.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}(d[1],t=s,e))return;e._a=t,e._tzm=function(e,t,n){if(e)return vt[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return(i-r)/100*60+r}(d[8],d[9],d[10]),e._d=je.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function xt(e,t,n){return null!=e?e:null!=t?t:n}function _t(e){var t,n,i,a,o,s=[];if(!e._d){for(i=function(e){var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[2]&&null==e._a[1]&&function(e){var t,n,i,r,a,o,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,o=4,n=xt(t.GG,e._a[0],Be(kt(),1,4).year),i=xt(t.W,1),((r=xt(t.E,1))<1||r>7)&&(l=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,c=Be(kt(),a,o),n=xt(t.gg,e._a[0],c.year),i=xt(t.w,c.week),null!=t.d?((r=t.d)<0||r>6)&&(l=!0):null!=t.e?(r=t.e+a,(t.e<0||t.e>6)&&(l=!0)):r=a),i<1||i>ze(n,a,o)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(s=Fe(n,i,r,a,o),e._a[0]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(o=xt(e._a[0],i[0]),(e._dayOfYear>De(o)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=je(o,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?je:Re).apply(null,s),a=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24),e._w&&void 0!==e._w.d&&e._w.d!==a&&(g(e).weekdayMismatch=!0)}}function wt(e){if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],g(e).empty=!0;var t,n,i,a,o,s,l,c=""+e._i,d=c.length,u=0;for(l=(i=B(e._f,e._locale).match(D)||[]).length,t=0;t<l;t++)(n=(c.match(ge(a=i[t],e))||[])[0])&&((o=c.substr(0,c.indexOf(n))).length>0&&g(e).unusedInput.push(o),c=c.slice(c.indexOf(n)+n.length),u+=n.length),j[a]?(n?g(e).empty=!1:g(e).unusedTokens.push(a),_e(a,n,e)):e._strict&&!n&&g(e).unusedTokens.push(a);g(e).charsLeftOver=d-u,c.length>0&&g(e).unusedInput.push(c),e._a[3]<=12&&!0===g(e).bigHour&&e._a[3]>0&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[3]=function(e,t,n){var i;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0),t):t}(e._locale,e._a[3],e._meridiem),null!==(s=g(e).era)&&(e._a[0]=e._locale.erasConvertYear(s,e._a[0])),_t(e),ct(e)}else bt(e);else yt(e)}function St(e){var t=e._i,n=e._f;return e._locale=e._locale||lt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(ct(t)):(u(t)?e._d=t:a(n)?function(e){var t,n,i,r,a,o,s=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)a=0,o=!1,t=x({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],wt(t),f(t)&&(o=!0),a+=g(t).charsLeftOver,a+=10*g(t).unusedTokens.length,g(t).score=a,s?a<i&&(i=a,n=t):(null==i||a<i||o)&&(i=a,n=t,o&&(s=!0));h(e,n||t)}(e):n?wt(e):function(e){var t=e._i;c(t)?e._d=new Date(r.now()):u(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=gt.exec(e._i);null===t?(yt(e),!1===e._isValid&&(delete e._isValid,bt(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:r.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):a(t)?(e._a=p(t.slice(0),function(e){return parseInt(e,10)}),_t(e)):o(t)?function(e){if(!e._d){var t=V(e._i);e._a=p([t.year,t.month,void 0===t.day?t.date:t.day,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),_t(e)}}(e):d(t)?e._d=new Date(t):r.createFromInputFallback(e)}(e),f(e)||(e._d=null),e))}function Ct(e,t,n,i,r){var s,c={};return!0!==t&&!1!==t||(i=t,t=void 0),!0!==n&&!1!==n||(i=n,n=void 0),(o(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),c._isAMomentObject=!0,c._useUTC=c._isUTC=r,c._l=n,c._i=e,c._f=t,c._strict=i,(s=new _(ct(St(c))))._nextDay&&(s.add(1,"d"),s._nextDay=void 0),s}function kt(e,t,n,i){return Ct(e,t,n,i,!1)}r.createFromInputFallback=C("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),r.ISO_8601=function(){},r.RFC_2822=function(){};var Ot=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=kt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),Et=C("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=kt.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()});function Mt(e,t){var n,i;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return kt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var It=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Pt(e){var t=V(e),n=t.year||0,i=t.quarter||0,r=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,l=t.hour||0,c=t.minute||0,d=t.second||0,u=t.millisecond||0;this._isValid=function(e){var t,n,i=!1,r=It.length;for(t in e)if(s(e,t)&&(-1===ve.call(It,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<r;++n)if(e[It[n]]){if(i)return!1;parseFloat(e[It[n]])!==q(e[It[n]])&&(i=!0)}return!0}(t),this._milliseconds=+u+1e3*d+6e4*c+1e3*l*60*60,this._days=+o+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=lt(),this._bubble()}function Tt(e){return e instanceof Pt}function Dt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function Lt(e,t){A(e,0,0,function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+T(~~(e/60),2)+t+T(~~e%60,2)})}Lt("Z",":"),Lt("ZZ",""),me("Z",pe),me("ZZ",pe),be(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=jt(pe,e)});var Rt=/([\+\-]|\d\d)/gi;function jt(e,t){var n,i,r=(t||"").match(e);return null===r?null:0===(i=60*(n=((r[r.length-1]||[])+"").match(Rt)||["-",0,0])[1]+q(n[2]))?0:"+"===n[0]?i:-i}function At(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(w(e)||u(e)?e.valueOf():kt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),r.updateOffset(n,!1),n):kt(e).local()}function Ft(e){return-Math.round(e._d.getTimezoneOffset())}function Bt(){return!!this.isValid()&&this._isUTC&&0===this._offset}r.updateOffset=function(){};var zt=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Nt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ht(e,t){var n,i,r,a,o,l,c=e,u=null;return Tt(e)?c={ms:e._milliseconds,d:e._days,M:e._months}:d(e)||!isNaN(+e)?(c={},t?c[t]=+e:c.milliseconds=+e):(u=zt.exec(e))?(n="-"===u[1]?-1:1,c={y:0,d:q(u[2])*n,h:q(u[3])*n,m:q(u[4])*n,s:q(u[5])*n,ms:q(Dt(1e3*u[6]))*n}):(u=Nt.exec(e))?c={y:Vt(u[2],n="-"===u[1]?-1:1),M:Vt(u[3],n),w:Vt(u[4],n),d:Vt(u[5],n),h:Vt(u[6],n),m:Vt(u[7],n),s:Vt(u[8],n)}:null==c?c={}:"object"==typeof c&&("from"in c||"to"in c)&&(a=kt(c.from),o=kt(c.to),r=a.isValid()&&o.isValid()?(o=At(o,a),a.isBefore(o)?l=Yt(a,o):((l=Yt(o,a)).milliseconds=-l.milliseconds,l.months=-l.months),l):{milliseconds:0,months:0},(c={}).ms=r.milliseconds,c.M=r.months),i=new Pt(c),Tt(e)&&s(e,"_locale")&&(i._locale=e._locale),Tt(e)&&s(e,"_isValid")&&(i._isValid=e._isValid),i}function Vt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Yt(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Wt(e,t){return function(n,i){var r;return null===i||isNaN(+i)||(E(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=i,i=r),Gt(this,Ht(n,i),e),this}}function Gt(e,t,n,i){var a=t._milliseconds,o=Dt(t._days),s=Dt(t._months);e.isValid()&&(i=null==i||i,s&&Ie(e,$(e,"Month")+s*n),o&&X(e,"Date",$(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}Ht.fn=Pt.prototype,Ht.invalid=function(){return Ht(NaN)};var Ut=Wt(1,"add"),qt=Wt(-1,"subtract");function Zt(e){return"string"==typeof e||e instanceof String}function $t(e){return w(e)||u(e)||Zt(e)||d(e)||function(e){var t=a(e),n=!1;return t&&(n=0===e.filter(function(t){return!d(t)&&Zt(e)}).length),t&&n}(e)||function(e){var t,n=o(e)&&!l(e),i=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=r.length;for(t=0;t<a;t+=1)i=i||s(e,r[t]);return n&&i}(e)||null==e}function Xt(e){var t,n=o(e)&&!l(e),i=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<r.length;t+=1)i=i||s(e,r[t]);return n&&i}function Kt(e,t){if(e.date()<t.date())return-Kt(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(n+1,"months")-i)))||0}function Jt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=lt(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Qt=C("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function en(){return this._locale}var tn=1e3,nn=6e4,rn=36e5,an=126227808e5;function on(e,t){return(e%t+t)%t}function sn(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-an:new Date(e,t,n).valueOf()}function ln(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-an:Date.UTC(e,t,n)}function cn(e,t){return t.erasAbbrRegex(e)}function dn(){var e,t,n=[],i=[],r=[],a=[],o=this.eras();for(e=0,t=o.length;e<t;++e)i.push(fe(o[e].name)),n.push(fe(o[e].abbr)),r.push(fe(o[e].narrow)),a.push(fe(o[e].name)),a.push(fe(o[e].abbr)),a.push(fe(o[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+i.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}function un(e,t){A(0,[e,e.length],0,t)}function pn(e,t,n,i,r){var a;return null==e?Be(this,i,r).year:(t>(a=ze(e,i,r))&&(t=a),hn.call(this,e,t,n,i,r))}function hn(e,t,n,i,r){var a=Fe(e,t,n,i,r),o=je(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}A("N",0,0,"eraAbbr"),A("NN",0,0,"eraAbbr"),A("NNN",0,0,"eraAbbr"),A("NNNN",0,0,"eraName"),A("NNNNN",0,0,"eraNarrow"),A("y",["y",1],"yo","eraYear"),A("y",["yy",2],0,"eraYear"),A("y",["yyy",3],0,"eraYear"),A("y",["yyyy",4],0,"eraYear"),me("N",cn),me("NN",cn),me("NNN",cn),me("NNNN",function(e,t){return t.erasNameRegex(e)}),me("NNNNN",function(e,t){return t.erasNarrowRegex(e)}),be(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,i){var r=n._locale.erasParse(e,i,n._strict);r?g(n).era=r:g(n).invalidEra=e}),me("y",ce),me("yy",ce),me("yyy",ce),me("yyyy",ce),me("yo",function(e,t){return t._eraYearOrdinalRegex||ce}),be(["y","yy","yyy","yyyy"],0),be(["yo"],function(e,t,n,i){var r;n._locale._eraYearOrdinalRegex&&(r=e.match(n._locale._eraYearOrdinalRegex)),t[0]=n._locale.eraYearOrdinalParse?n._locale.eraYearOrdinalParse(e,r):parseInt(e,10)}),A(0,["gg",2],0,function(){return this.weekYear()%100}),A(0,["GG",2],0,function(){return this.isoWeekYear()%100}),un("gggg","weekYear"),un("ggggg","weekYear"),un("GGGG","isoWeekYear"),un("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),W("weekYear",1),W("isoWeekYear",1),me("G",de),me("g",de),me("GG",ie,Q),me("gg",ie,Q),me("GGGG",se,te),me("gggg",se,te),me("GGGGG",le,ne),me("ggggg",le,ne),xe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=q(e)}),xe(["gg","GG"],function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)}),A("Q",0,"Qo","quarter"),N("quarter","Q"),W("quarter",7),me("Q",J),be("Q",function(e,t){t[1]=3*(q(e)-1)}),A("D",["DD",2],"Do","date"),N("date","D"),W("date",9),me("D",ie),me("DD",ie,Q),me("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),be(["D","DD"],2),be("Do",function(e,t){t[2]=q(e.match(ie)[0])});var mn=Z("Date",!0);A("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),W("dayOfYear",4),me("DDD",oe),me("DDDD",ee),be(["DDD","DDDD"],function(e,t,n){n._dayOfYear=q(e)}),A("m",["mm",2],0,"minute"),N("minute","m"),W("minute",14),me("m",ie),me("mm",ie,Q),be(["m","mm"],4);var gn=Z("Minutes",!1);A("s",["ss",2],0,"second"),N("second","s"),W("second",15),me("s",ie),me("ss",ie,Q),be(["s","ss"],5);var fn,vn,yn=Z("Seconds",!1);for(A("S",0,0,function(){return~~(this.millisecond()/100)}),A(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),A(0,["SSS",3],0,"millisecond"),A(0,["SSSS",4],0,function(){return 10*this.millisecond()}),A(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),A(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),A(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),A(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),A(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),W("millisecond",16),me("S",oe,J),me("SS",oe,Q),me("SSS",oe,ee),fn="SSSS";fn.length<=9;fn+="S")me(fn,ce);function bn(e,t){t[6]=q(1e3*("0."+e))}for(fn="S";fn.length<=9;fn+="S")be(fn,bn);vn=Z("Milliseconds",!1),A("z",0,0,"zoneAbbr"),A("zz",0,0,"zoneName");var xn=_.prototype;function _n(e){return e}xn.add=Ut,xn.calendar=function(e,t){1===arguments.length&&(arguments[0]?$t(arguments[0])?(e=arguments[0],t=void 0):Xt(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||kt(),i=At(n,this).startOf("day"),a=r.calendarFormat(this,i)||"sameElse",o=t&&(M(t[a])?t[a].call(this,n):t[a]);return this.format(o||this.localeData().calendar(a,this,kt(n)))},xn.clone=function(){return new _(this)},xn.diff=function(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=At(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=H(t)){case"year":a=Kt(this,i)/12;break;case"month":a=Kt(this,i);break;case"quarter":a=Kt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:U(a)},xn.endOf=function(e){var t,n;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?ln:sn,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=rn-on(t+(this._isUTC?0:this.utcOffset()*nn),rn)-1;break;case"minute":t=this._d.valueOf(),t+=nn-on(t,nn)-1;break;case"second":t=this._d.valueOf(),t+=tn-on(t,tn)-1}return this._d.setTime(t),r.updateOffset(this,!0),this},xn.format=function(e){e||(e=this.isUtc()?r.defaultFormatUtc:r.defaultFormat);var t=F(this,e);return this.localeData().postformat(t)},xn.from=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||kt(e).isValid())?Ht({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},xn.fromNow=function(e){return this.from(kt(),e)},xn.to=function(e,t){return this.isValid()&&(w(e)&&e.isValid()||kt(e).isValid())?Ht({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},xn.toNow=function(e){return this.to(kt(),e)},xn.get=function(e){return M(this[e=H(e)])?this[e]():this},xn.invalidAt=function(){return g(this).overflow},xn.isAfter=function(e,t){var n=w(e)?e:kt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},xn.isBefore=function(e,t){var n=w(e)?e:kt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},xn.isBetween=function(e,t,n,i){var r=w(e)?e:kt(e),a=w(t)?t:kt(t);return!!(this.isValid()&&r.isValid()&&a.isValid())&&("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(a,n):!this.isAfter(a,n))},xn.isSame=function(e,t){var n,i=w(e)?e:kt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=H(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},xn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},xn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},xn.isValid=function(){return f(this)},xn.lang=Qt,xn.locale=Jt,xn.localeData=en,xn.max=Et,xn.min=Ot,xn.parsingFlags=function(){return h({},g(this))},xn.set=function(e,t){if("object"==typeof e){var n,i=function(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:Y[t]});return n.sort(function(e,t){return e.priority-t.priority}),n}(e=V(e)),r=i.length;for(n=0;n<r;n++)this[i[n].unit](e[i[n].unit])}else if(M(this[e=H(e)]))return this[e](t);return this},xn.startOf=function(e){var t,n;if(void 0===(e=H(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?ln:sn,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=on(t+(this._isUTC?0:this.utcOffset()*nn),rn);break;case"minute":t=this._d.valueOf(),t-=on(t,nn);break;case"second":t=this._d.valueOf(),t-=on(t,tn)}return this._d.setTime(t),r.updateOffset(this,!0),this},xn.subtract=qt,xn.toArray=function(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]},xn.toObject=function(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}},xn.toDate=function(){return new Date(this.valueOf())},xn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?F(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",F(n,"Z")):F(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},xn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n="moment",i="";return this.isLocal()||(n=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+n+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+t+"-MM-DD[T]HH:mm:ss.SSS"+i+'[")]')},"undefined"!=typeof Symbol&&null!=Symbol.for&&(xn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),xn.toJSON=function(){return this.isValid()?this.toISOString():null},xn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},xn.unix=function(){return Math.floor(this.valueOf()/1e3)},xn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},xn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},xn.eraName=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].name;if(i[e].until<=n&&n<=i[e].since)return i[e].name}return""},xn.eraNarrow=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].narrow;if(i[e].until<=n&&n<=i[e].since)return i[e].narrow}return""},xn.eraAbbr=function(){var e,t,n,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),i[e].since<=n&&n<=i[e].until)return i[e].abbr;if(i[e].until<=n&&n<=i[e].since)return i[e].abbr}return""},xn.eraYear=function(){var e,t,n,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until<=i&&i<=a[e].since)return(this.year()-r(a[e].since).year())*n+a[e].offset;return this.year()},xn.year=Le,xn.isLeapYear=function(){return G(this.year())},xn.weekYear=function(e){return pn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},xn.isoWeekYear=function(e){return pn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},xn.quarter=xn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},xn.month=Pe,xn.daysInMonth=function(){return we(this.year(),this.month())},xn.week=xn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},xn.isoWeek=xn.isoWeeks=function(e){var t=Be(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},xn.weeksInYear=function(){var e=this.localeData()._week;return ze(this.year(),e.dow,e.doy)},xn.weeksInWeekYear=function(){var e=this.localeData()._week;return ze(this.weekYear(),e.dow,e.doy)},xn.isoWeeksInYear=function(){return ze(this.year(),1,4)},xn.isoWeeksInISOWeekYear=function(){return ze(this.isoWeekYear(),1,4)},xn.date=mn,xn.day=xn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},xn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},xn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7},xn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},xn.hour=xn.hours=Qe,xn.minute=xn.minutes=gn,xn.second=xn.seconds=yn,xn.millisecond=xn.milliseconds=vn,xn.utcOffset=function(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=jt(pe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=Ft(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Gt(this,Ht(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:Ft(this)},xn.utc=function(e){return this.utcOffset(0,e)},xn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Ft(this),"m")),this},xn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=jt(ue,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},xn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?kt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},xn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},xn.isLocal=function(){return!!this.isValid()&&!this._isUTC},xn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},xn.isUtc=Bt,xn.isUTC=Bt,xn.zoneAbbr=function(){return this._isUTC?"UTC":""},xn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},xn.dates=C("dates accessor is deprecated. Use date instead.",mn),xn.months=C("months accessor is deprecated. Use month instead",Pe),xn.years=C("years accessor is deprecated. Use year instead",Le),xn.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),xn.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return x(t,this),(t=St(t))._a?(e=t._isUTC?m(t._a):kt(t._a),this._isDSTShifted=this.isValid()&&function(e,t,n){var i,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(i=0;i<r;i++)q(e[i])!==q(t[i])&&o++;return o+a}(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted});var wn=P.prototype;function Sn(e,t,n,i){var r=lt(),a=m().set(i,t);return r[n](a,e)}function Cn(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return Sn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=Sn(e,i,n,"month");return r}function kn(e,t,n,i){"boolean"==typeof e?(d(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,d(t)&&(n=t,t=void 0),t=t||"");var r,a=lt(),o=e?a._week.dow:0,s=[];if(null!=n)return Sn(t,(n+o)%7,i,"day");for(r=0;r<7;r++)s[r]=Sn(t,(r+o)%7,i,"day");return s}wn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return M(i)?i.call(t,n):i},wn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(D).map(function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e}).join(""),this._longDateFormat[e])},wn.invalidDate=function(){return this._invalidDate},wn.ordinal=function(e){return this._ordinal.replace("%d",e)},wn.preparse=_n,wn.postformat=_n,wn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return M(r)?r(e,t,n,i):r.replace(/%d/i,e)},wn.pastFuture=function(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(n)?n(t):n.replace(/%s/i,t)},wn.set=function(e){var t,n;for(n in e)s(e,n)&&(M(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},wn.eras=function(e,t){var n,i,a,o=this._eras||lt("en")._eras;for(n=0,i=o.length;n<i;++n){switch(typeof o[n].since){case"string":a=r(o[n].since).startOf("day"),o[n].since=a.valueOf()}switch(typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":a=r(o[n].until).startOf("day").valueOf(),o[n].until=a.valueOf()}}return o},wn.erasParse=function(e,t,n){var i,r,a,o,s,l=this.eras();for(e=e.toUpperCase(),i=0,r=l.length;i<r;++i)if(a=l[i].name.toUpperCase(),o=l[i].abbr.toUpperCase(),s=l[i].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(o===e)return l[i];break;case"NNNN":if(a===e)return l[i];break;case"NNNNN":if(s===e)return l[i]}else if([a,o,s].indexOf(e)>=0)return l[i]},wn.erasConvertYear=function(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n},wn.erasAbbrRegex=function(e){return s(this,"_erasAbbrRegex")||dn.call(this),e?this._erasAbbrRegex:this._erasRegex},wn.erasNameRegex=function(e){return s(this,"_erasNameRegex")||dn.call(this),e?this._erasNameRegex:this._erasRegex},wn.erasNarrowRegex=function(e){return s(this,"_erasNarrowRegex")||dn.call(this),e?this._erasNarrowRegex:this._erasRegex},wn.months=function(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ke).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone},wn.monthsShort=function(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ke.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},wn.monthsParse=function(e,t,n){var i,r,a;if(this._monthsParseExact)return Me.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=m([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},wn.monthsRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Te.call(this),e?this._monthsStrictRegex:this._monthsRegex):(s(this,"_monthsRegex")||(this._monthsRegex=Ee),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},wn.monthsShortRegex=function(e){return this._monthsParseExact?(s(this,"_monthsRegex")||Te.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(s(this,"_monthsShortRegex")||(this._monthsShortRegex=Oe),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},wn.week=function(e){return Be(e,this._week.dow,this._week.doy).week},wn.firstDayOfYear=function(){return this._week.doy},wn.firstDayOfWeek=function(){return this._week.dow},wn.weekdays=function(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ne(n,this._week.dow):e?n[e.day()]:n},wn.weekdaysMin=function(e){return!0===e?Ne(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},wn.weekdaysShort=function(e){return!0===e?Ne(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},wn.weekdaysParse=function(e,t,n){var i,r,a;if(this._weekdaysParseExact)return qe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=m([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},wn.weekdaysRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=We),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},wn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ge),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},wn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||Ze.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ue),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},wn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},wn.meridiem=function(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"},ot("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===q(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),r.lang=C("moment.lang is deprecated. Use moment.locale instead.",ot),r.langData=C("moment.langData is deprecated. Use moment.localeData instead.",lt);var On=Math.abs;function En(e,t,n,i){var r=Ht(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function Mn(e){return e<0?Math.floor(e):Math.ceil(e)}function In(e){return 4800*e/146097}function Pn(e){return 146097*e/4800}function Tn(e){return function(){return this.as(e)}}var Dn=Tn("ms"),Ln=Tn("s"),Rn=Tn("m"),jn=Tn("h"),An=Tn("d"),Fn=Tn("w"),Bn=Tn("M"),zn=Tn("Q"),Nn=Tn("y");function Hn(e){return function(){return this.isValid()?this._data[e]:NaN}}var Vn=Hn("milliseconds"),Yn=Hn("seconds"),Wn=Hn("minutes"),Gn=Hn("hours"),Un=Hn("days"),qn=Hn("months"),Zn=Hn("years"),$n=Math.round,Xn={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Kn(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}var Jn=Math.abs;function Qn(e){return(e>0)-(e<0)||+e}function ei(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,i,r,a,o,s,l=Jn(this._milliseconds)/1e3,c=Jn(this._days),d=Jn(this._months),u=this.asSeconds();return u?(e=U(l/60),t=U(e/60),l%=60,e%=60,n=U(d/12),d%=12,i=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=u<0?"-":"",a=Qn(this._months)!==Qn(u)?"-":"",o=Qn(this._days)!==Qn(u)?"-":"",s=Qn(this._milliseconds)!==Qn(u)?"-":"",r+"P"+(n?a+n+"Y":"")+(d?a+d+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+i+"S":"")):"P0D"}var ti=Pt.prototype;return ti.isValid=function(){return this._isValid},ti.abs=function(){var e=this._data;return this._milliseconds=On(this._milliseconds),this._days=On(this._days),this._months=On(this._months),e.milliseconds=On(e.milliseconds),e.seconds=On(e.seconds),e.minutes=On(e.minutes),e.hours=On(e.hours),e.months=On(e.months),e.years=On(e.years),this},ti.add=function(e,t){return En(this,e,t,1)},ti.subtract=function(e,t){return En(this,e,t,-1)},ti.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=H(e))||"quarter"===e||"year"===e)switch(n=this._months+In(t=this._days+i/864e5),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Pn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},ti.asMilliseconds=Dn,ti.asSeconds=Ln,ti.asMinutes=Rn,ti.asHours=jn,ti.asDays=An,ti.asWeeks=Fn,ti.asMonths=Bn,ti.asQuarters=zn,ti.asYears=Nn,ti.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*q(this._months/12):NaN},ti._bubble=function(){var e,t,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Mn(Pn(s)+o),o=0,s=0),l.milliseconds=a%1e3,e=U(a/1e3),l.seconds=e%60,t=U(e/60),l.minutes=t%60,n=U(t/60),l.hours=n%24,o+=U(n/24),s+=r=U(In(o)),o-=Mn(Pn(r)),i=U(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},ti.clone=function(){return Ht(this)},ti.get=function(e){return e=H(e),this.isValid()?this[e+"s"]():NaN},ti.milliseconds=Vn,ti.seconds=Yn,ti.minutes=Wn,ti.hours=Gn,ti.days=Un,ti.weeks=function(){return U(this.days()/7)},ti.months=qn,ti.years=Zn,ti.humanize=function(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,i,r=!1,a=Xn;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(r=e),"object"==typeof t&&(a=Object.assign({},Xn,t),null!=t.s&&null==t.ss&&(a.ss=t.s-1)),i=function(e,t,n,i){var r=Ht(e).abs(),a=$n(r.as("s")),o=$n(r.as("m")),s=$n(r.as("h")),l=$n(r.as("d")),c=$n(r.as("M")),d=$n(r.as("w")),u=$n(r.as("y")),p=a<=n.ss&&["s",a]||a<n.s&&["ss",a]||o<=1&&["m"]||o<n.m&&["mm",o]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(p=p||d<=1&&["w"]||d<n.w&&["ww",d]),(p=p||c<=1&&["M"]||c<n.M&&["MM",c]||u<=1&&["y"]||["yy",u])[2]=t,p[3]=+e>0,p[4]=i,Kn.apply(null,p)}(this,!r,a,n=this.localeData()),r&&(i=n.pastFuture(+this,i)),n.postformat(i)},ti.toISOString=ei,ti.toString=ei,ti.toJSON=ei,ti.locale=Jt,ti.localeData=en,ti.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ei),ti.lang=Qt,A("X",0,0,"unix"),A("x",0,0,"valueOf"),me("x",de),me("X",/[+-]?\d+(\.\d{1,3})?/),be("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e))}),be("x",function(e,t,n){n._d=new Date(q(e))}),r.version="2.29.4",t=kt,r.fn=xn,r.min=function(){return Mt("isBefore",[].slice.call(arguments,0))},r.max=function(){return Mt("isAfter",[].slice.call(arguments,0))},r.now=function(){return Date.now?Date.now():+new Date},r.utc=m,r.unix=function(e){return kt(1e3*e)},r.months=function(e,t){return Cn(e,t,"months")},r.isDate=u,r.locale=ot,r.invalid=v,r.duration=Ht,r.isMoment=w,r.weekdays=function(e,t,n){return kn(e,t,n,"weekdays")},r.parseZone=function(){return kt.apply(null,arguments).parseZone()},r.localeData=lt,r.isDuration=Tt,r.monthsShort=function(e,t){return Cn(e,t,"monthsShort")},r.weekdaysMin=function(e,t,n){return kn(e,t,n,"weekdaysMin")},r.defineLocale=st,r.updateLocale=function(e,t){if(null!=t){var n,i,r=et;null!=tt[e]&&null!=tt[e].parentLocale?tt[e].set(I(tt[e]._config,t)):(null!=(i=at(e))&&(r=i._config),t=I(r,t),null==i&&(t.abbr=e),(n=new P(t)).parentLocale=tt[e],tt[e]=n),ot(e)}else null!=tt[e]&&(null!=tt[e].parentLocale?(tt[e]=tt[e].parentLocale,e===ot()&&ot(e)):null!=tt[e]&&delete tt[e]);return tt[e]},r.locales=function(){return k(tt)},r.weekdaysShort=function(e,t,n){return kn(e,t,n,"weekdaysShort")},r.normalizeUnits=H,r.relativeTimeRounding=function(e){return void 0===e?$n:"function"==typeof e&&($n=e,!0)},r.relativeTimeThreshold=function(e,t){return void 0!==Xn[e]&&(void 0===t?Xn[e]:(Xn[e]=t,"s"===e&&(Xn.ss=t-1),!0))},r.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},r.prototype=xn,r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},r}()}).call(this,n("2pl3")(e))},wj3C:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,r,a=n("mrSG"),o=n("zVF4"),s=n("S+S0"),l=n("q/0M"),c=((i={})["no-app"]="No Firebase App '{$appName}' has been created - call Firebase App.initializeApp()",i["bad-app-name"]="Illegal App name: '{$appName}",i["duplicate-app"]="Firebase App named '{$appName}' already exists",i["app-deleted"]="Firebase App named '{$appName}' already deleted",i["invalid-app-argument"]="firebase.{$appName}() takes either no argument or a Firebase App instance.",i["invalid-log-argument"]="First argument to `onLog` must be null or a function.",i),d=new o.ErrorFactory("app","Firebase",c),u="@firebase/app",p="[DEFAULT]",h=((r={})[u]="fire-core",r["@firebase/analytics"]="fire-analytics",r["@firebase/auth"]="fire-auth",r["@firebase/database"]="fire-rtdb",r["@firebase/functions"]="fire-fn",r["@firebase/installations"]="fire-iid",r["@firebase/messaging"]="fire-fcm",r["@firebase/performance"]="fire-perf",r["@firebase/remote-config"]="fire-rc",r["@firebase/storage"]="fire-gcs",r["@firebase/firestore"]="fire-fst",r["fire-js"]="fire-js",r["firebase-wrapper"]="fire-js-all",r),m=new l.Logger("@firebase/app"),g=function(){function e(e,t,n){var i,r,l=this;this.firebase_=n,this.isDeleted_=!1,this.name_=t.name,this.automaticDataCollectionEnabled_=t.automaticDataCollectionEnabled||!1,this.options_=o.deepCopy(e),this.container=new s.ComponentContainer(t.name),this._addComponent(new s.Component("app",function(){return l},"PUBLIC"));try{for(var c=a.__values(this.firebase_.INTERNAL.components.values()),d=c.next();!d.done;d=c.next())this._addComponent(d.value)}catch(u){i={error:u}}finally{try{d&&!d.done&&(r=c.return)&&r.call(c)}finally{if(i)throw i.error}}}return Object.defineProperty(e.prototype,"automaticDataCollectionEnabled",{get:function(){return this.checkDestroyed_(),this.automaticDataCollectionEnabled_},set:function(e){this.checkDestroyed_(),this.automaticDataCollectionEnabled_=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.checkDestroyed_(),this.name_},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"options",{get:function(){return this.checkDestroyed_(),this.options_},enumerable:!1,configurable:!0}),e.prototype.delete=function(){var e=this;return new Promise(function(t){e.checkDestroyed_(),t()}).then(function(){return e.firebase_.INTERNAL.removeApp(e.name_),Promise.all(e.container.getProviders().map(function(e){return e.delete()}))}).then(function(){e.isDeleted_=!0})},e.prototype._getService=function(e,t){return void 0===t&&(t=p),this.checkDestroyed_(),this.container.getProvider(e).getImmediate({identifier:t})},e.prototype._removeServiceInstance=function(e,t){void 0===t&&(t=p),this.container.getProvider(e).clearInstance(t)},e.prototype._addComponent=function(e){try{this.container.addComponent(e)}catch(t){m.debug("Component "+e.name+" failed to register with FirebaseApp "+this.name,t)}},e.prototype._addOrOverwriteComponent=function(e){this.container.addOrOverwriteComponent(e)},e.prototype.checkDestroyed_=function(){if(this.isDeleted_)throw d.create("app-deleted",{appName:this.name_})},e}();g.prototype.name&&g.prototype.options||g.prototype.delete||console.log("dc");var f=function e(){var t=function(e){var t={},n=new Map,i={__esModule:!0,initializeApp:function(n,r){void 0===r&&(r={}),"object"==typeof r&&null!==r||(r={name:r});var a=r;void 0===a.name&&(a.name=p);var s=a.name;if("string"!=typeof s||!s)throw d.create("bad-app-name",{appName:String(s)});if(o.contains(t,s))throw d.create("duplicate-app",{appName:s});var l=new e(n,a,i);return t[s]=l,l},app:r,registerVersion:function(e,t,n){var i,r=null!==(i=h[e])&&void 0!==i?i:e;n&&(r+="-"+n);var a=r.match(/\s|\//),o=t.match(/\s|\//);if(a||o){var l=['Unable to register library "'+r+'" with version "'+t+'":'];return a&&l.push('library name "'+r+'" contains illegal characters (whitespace or "/")'),a&&o&&l.push("and"),o&&l.push('version name "'+t+'" contains illegal characters (whitespace or "/")'),void m.warn(l.join(" "))}c(new s.Component(r+"-version",function(){return{library:r,version:t}},"VERSION"))},setLogLevel:l.setLogLevel,onLog:function(e,t){if(null!==e&&"function"!=typeof e)throw d.create("invalid-log-argument",{appName:name});l.setUserLogHandler(e,t)},apps:null,SDK_VERSION:"7.20.0",INTERNAL:{registerComponent:c,removeApp:function(e){delete t[e]},components:n,useAsService:function(e,t){return"serverAuth"===t?null:t}}};function r(e){if(!o.contains(t,e=e||p))throw d.create("no-app",{appName:e});return t[e]}function c(s){var l,c,u=s.name;if(n.has(u))return m.debug("There were multiple attempts to register component "+u+"."),"PUBLIC"===s.type?i[u]:null;if(n.set(u,s),"PUBLIC"===s.type){var p=function(e){if(void 0===e&&(e=r()),"function"!=typeof e[u])throw d.create("invalid-app-argument",{appName:u});return e[u]()};void 0!==s.serviceProps&&o.deepExtend(p,s.serviceProps),i[u]=p,e.prototype[u]=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this._getService.bind(this,u).apply(this,s.multipleInstances?e:[])}}try{for(var h=a.__values(Object.keys(t)),g=h.next();!g.done;g=h.next())t[g.value]._addComponent(s)}catch(f){l={error:f}}finally{try{g&&!g.done&&(c=h.return)&&c.call(h)}finally{if(l)throw l.error}}return"PUBLIC"===s.type?i[u]:null}return i.default=i,Object.defineProperty(i,"apps",{get:function(){return Object.keys(t).map(function(e){return t[e]})}}),r.App=e,i}(g);return t.INTERNAL=a.__assign(a.__assign({},t.INTERNAL),{createFirebaseNamespace:e,extendNamespace:function(e){o.deepExtend(t,e)},createSubscribe:o.createSubscribe,ErrorFactory:o.ErrorFactory,deepExtend:o.deepExtend}),t}(),v=function(){function e(e){this.container=e}return e.prototype.getPlatformInfoString=function(){return this.container.getProviders().map(function(e){if(function(e){var t=e.getComponent();return"VERSION"===(null==t?void 0:t.type)}(e)){var t=e.getImmediate();return t.library+"/"+t.version}return null}).filter(function(e){return e}).join(" ")},e}();if(o.isBrowser()&&void 0!==self.firebase){m.warn("\n    Warning: Firebase is already defined in the global scope. Please make sure\n    Firebase library is only loaded once.\n  ");var y=self.firebase.SDK_VERSION;y&&y.indexOf("LITE")>=0&&m.warn("\n    Warning: You are trying to load Firebase while using Firebase Performance standalone script.\n    You should load Firebase Performance with this instance of Firebase to avoid loading duplicate code.\n    ")}var b=f.initializeApp;f.initializeApp=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.isNode()&&m.warn('\n      Warning: This is a browser-targeted Firebase bundle but it appears it is being\n      run in a Node environment.  If running in a Node environment, make sure you\n      are using the bundle specified by the "main" field in package.json.\n      \n      If you are using Webpack, you can specify "main" as the first item in\n      "resolve.mainFields":\n      https://webpack.js.org/configuration/resolve/#resolvemainfields\n      \n      If using Rollup, use the rollup-plugin-node-resolve plugin and specify "main"\n      as the first item in "mainFields", e.g. [\'main\', \'module\'].\n      https://github.com/rollup/rollup-plugin-node-resolve\n      '),b.apply(void 0,e)};var x=f;!function(e,t){e.INTERNAL.registerComponent(new s.Component("platform-logger",function(e){return new v(e)},"PRIVATE")),e.registerVersion(u,"0.6.11",void 0),e.registerVersion("fire-js","")}(x),t.default=x,t.firebase=x},"x+ZX":function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("7o/Q");function l(){return function(e){return e.lift(new c(e))}}var c=function(){function e(t){Object(a.a)(this,e),this.connectable=t}return Object(o.a)(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var i=new d(e,n),r=t.subscribe(i);return i.closed||(i.connection=n.connect()),r}}]),e}(),d=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i){var r;return Object(a.a)(this,n),(r=t.call(this,e)).connectable=i,r}return Object(o.a)(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,i=e._connection;this.connection=null,!i||n&&i!==n||i.unsubscribe()}}else this.connection=null}}]),n}(s.a)},x6pH:function(e,t,n){!function(e){"use strict";e.defineLocale("he",{months:"\u05d9\u05e0\u05d5\u05d0\u05e8_\u05e4\u05d1\u05e8\u05d5\u05d0\u05e8_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05d9\u05dc_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05d5\u05e1\u05d8_\u05e1\u05e4\u05d8\u05de\u05d1\u05e8_\u05d0\u05d5\u05e7\u05d8\u05d5\u05d1\u05e8_\u05e0\u05d5\u05d1\u05de\u05d1\u05e8_\u05d3\u05e6\u05de\u05d1\u05e8".split("_"),monthsShort:"\u05d9\u05e0\u05d5\u05f3_\u05e4\u05d1\u05e8\u05f3_\u05de\u05e8\u05e5_\u05d0\u05e4\u05e8\u05f3_\u05de\u05d0\u05d9_\u05d9\u05d5\u05e0\u05d9_\u05d9\u05d5\u05dc\u05d9_\u05d0\u05d5\u05d2\u05f3_\u05e1\u05e4\u05d8\u05f3_\u05d0\u05d5\u05e7\u05f3_\u05e0\u05d5\u05d1\u05f3_\u05d3\u05e6\u05de\u05f3".split("_"),weekdays:"\u05e8\u05d0\u05e9\u05d5\u05df_\u05e9\u05e0\u05d9_\u05e9\u05dc\u05d9\u05e9\u05d9_\u05e8\u05d1\u05d9\u05e2\u05d9_\u05d7\u05de\u05d9\u05e9\u05d9_\u05e9\u05d9\u05e9\u05d9_\u05e9\u05d1\u05ea".split("_"),weekdaysShort:"\u05d0\u05f3_\u05d1\u05f3_\u05d2\u05f3_\u05d3\u05f3_\u05d4\u05f3_\u05d5\u05f3_\u05e9\u05f3".split("_"),weekdaysMin:"\u05d0_\u05d1_\u05d2_\u05d3_\u05d4_\u05d5_\u05e9".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [\u05d1]MMMM YYYY",LLL:"D [\u05d1]MMMM YYYY HH:mm",LLLL:"dddd, D [\u05d1]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[\u05d4\u05d9\u05d5\u05dd \u05d1\u05be]LT",nextDay:"[\u05de\u05d7\u05e8 \u05d1\u05be]LT",nextWeek:"dddd [\u05d1\u05e9\u05e2\u05d4] LT",lastDay:"[\u05d0\u05ea\u05de\u05d5\u05dc \u05d1\u05be]LT",lastWeek:"[\u05d1\u05d9\u05d5\u05dd] dddd [\u05d4\u05d0\u05d7\u05e8\u05d5\u05df \u05d1\u05e9\u05e2\u05d4] LT",sameElse:"L"},relativeTime:{future:"\u05d1\u05e2\u05d5\u05d3 %s",past:"\u05dc\u05e4\u05e0\u05d9 %s",s:"\u05de\u05e1\u05e4\u05e8 \u05e9\u05e0\u05d9\u05d5\u05ea",ss:"%d \u05e9\u05e0\u05d9\u05d5\u05ea",m:"\u05d3\u05e7\u05d4",mm:"%d \u05d3\u05e7\u05d5\u05ea",h:"\u05e9\u05e2\u05d4",hh:function(e){return 2===e?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":e+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(e){return 2===e?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":e+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(e){return 2===e?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":e+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(e){return 2===e?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":e%10==0&&10!==e?e+" \u05e9\u05e0\u05d4":e+" \u05e9\u05e0\u05d9\u05dd"}},meridiemParse:/\u05d0\u05d7\u05d4"\u05e6|\u05dc\u05e4\u05e0\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8|\u05d1\u05d1\u05d5\u05e7\u05e8|\u05d1\u05e2\u05e8\u05d1/i,isPM:function(e){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(e)},meridiem:function(e,t,n){return e<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":e<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":e<12?n?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":e<18?n?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(n("wd/R"))},xbPD:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("7o/Q");function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new c(e))}}var c=function(){function e(t){Object(a.a)(this,e),this.defaultValue=t}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new d(e,this.defaultValue))}}]),e}(),d=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i){var r;return Object(a.a)(this,n),(r=t.call(this,e)).defaultValue=i,r.isEmpty=!0,r}return Object(o.a)(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(s.a)},xgIS:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("KQm4"),r=n("HDdC"),a=n("DH7j"),o=n("n6bG"),s=n("lJxs");function l(e,t,n,d){return Object(o.a)(n)&&(d=n,n=void 0),d?l(e,t,n).pipe(Object(s.a)(function(e){return Object(a.a)(e)?d.apply(void 0,Object(i.a)(e)):d(e)})):new r.a(function(i){c(e,t,function(e){i.next(arguments.length>1?Array.prototype.slice.call(arguments):e)},i,n)})}function c(e,t,n,i,r){var a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(e)){var o=e;e.addEventListener(t,n,r),a=function(){return o.removeEventListener(t,n,r)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(e)){var s=e;e.on(t,n),a=function(){return s.off(t,n)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(e)){var l=e;e.addListener(t,n),a=function(){return l.removeListener(t,n)}}else{if(!e||!e.length)throw new TypeError("Invalid event target");for(var d=0,u=e.length;d<u;d++)c(e[d],t,n,i,r)}i.add(a)}},yCtX:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("HDdC"),r=n("ngJS"),a=n("jZKg");function o(e,t){return t?Object(a.a)(e,t):new i.a(Object(r.a)(e))}},yLV6:function(e,t,n){var i;!function(r,a,o,s){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],d=a.createElement("div"),u=Math.round,p=Math.abs,h=Date.now;function m(e,t,n){return setTimeout(_(e,n),t)}function g(e,t,n){return!!Array.isArray(e)&&(f(e,n[t],n),!0)}function f(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==s)for(i=0;i<e.length;)t.call(n,e[i],i,e),i++;else for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function v(e,t,n){var i="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",a=r.console&&(r.console.warn||r.console.log);return a&&a.call(r.console,i,n),e.apply(this,arguments)}}l="function"!=typeof Object.assign?function(e){if(e===s||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])}return t}:Object.assign;var y=v(function(e,t,n){for(var i=Object.keys(t),r=0;r<i.length;)(!n||n&&e[i[r]]===s)&&(e[i[r]]=t[i[r]]),r++;return e},"extend","Use `assign`."),b=v(function(e,t){return y(e,t,!0)},"merge","Use `assign`.");function x(e,t,n){var i,r=t.prototype;(i=e.prototype=Object.create(r)).constructor=e,i._super=r,n&&l(i,n)}function _(e,t){return function(){return e.apply(t,arguments)}}function w(e,t){return"function"==typeof e?e.apply(t&&t[0]||s,t):e}function S(e,t){return e===s?t:e}function C(e,t,n){f(M(t),function(t){e.addEventListener(t,n,!1)})}function k(e,t,n){f(M(t),function(t){e.removeEventListener(t,n,!1)})}function O(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function E(e,t){return e.indexOf(t)>-1}function M(e){return e.trim().split(/\s+/g)}function I(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;i<e.length;){if(n&&e[i][n]==t||!n&&e[i]===t)return i;i++}return-1}function P(e){return Array.prototype.slice.call(e,0)}function T(e,t,n){for(var i=[],r=[],a=0;a<e.length;){var o=t?e[a][t]:e[a];I(r,o)<0&&i.push(e[a]),r[a]=o,a++}return n&&(i=t?i.sort(function(e,n){return e[t]>n[t]}):i.sort()),i}function D(e,t){for(var n,i,r=t[0].toUpperCase()+t.slice(1),a=0;a<c.length;){if((i=(n=c[a])?n+r:t)in e)return i;a++}return s}var L=1;function R(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r}var j="ontouchstart"in r,A=D(r,"PointerEvent")!==s,F=j&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),B="touch",z="mouse",N=["x","y"],H=["clientX","clientY"];function V(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){w(e.options.enable,[e])&&n.handler(t)},this.init()}function Y(e,t,n){var i=n.pointers.length,r=n.changedPointers.length,a=1&t&&i-r==0,o=12&t&&i-r==0;n.isFirst=!!a,n.isFinal=!!o,a&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,i=t.pointers,r=i.length;n.firstInput||(n.firstInput=W(t)),r>1&&!n.firstMultiple?n.firstMultiple=W(t):1===r&&(n.firstMultiple=!1);var a=n.firstInput,o=n.firstMultiple,l=o?o.center:a.center,c=t.center=G(i);t.timeStamp=h(),t.deltaTime=t.timeStamp-a.timeStamp,t.angle=$(l,c),t.distance=Z(l,c),function(e,t){var n=t.center,i=e.offsetDelta||{},r=e.prevDelta||{},a=e.prevInput||{};1!==t.eventType&&4!==a.eventType||(r=e.prevDelta={x:a.deltaX||0,y:a.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=r.x+(n.x-i.x),t.deltaY=r.y+(n.y-i.y)}(n,t),t.offsetDirection=q(t.deltaX,t.deltaY);var d,u,m=U(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=m.x,t.overallVelocityY=m.y,t.overallVelocity=p(m.x)>p(m.y)?m.x:m.y,t.scale=o?(d=o.pointers,Z((u=i)[0],u[1],H)/Z(d[0],d[1],H)):1,t.rotation=o?function(e,t){return $(t[1],t[0],H)+$(e[1],e[0],H)}(o.pointers,i):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,i,r,a,o=e.lastInterval||t,l=t.timeStamp-o.timeStamp;if(8!=t.eventType&&(l>25||o.velocity===s)){var c=t.deltaX-o.deltaX,d=t.deltaY-o.deltaY,u=U(l,c,d);i=u.x,r=u.y,n=p(u.x)>p(u.y)?u.x:u.y,a=q(c,d),e.lastInterval=t}else n=o.velocity,i=o.velocityX,r=o.velocityY,a=o.direction;t.velocity=n,t.velocityX=i,t.velocityY=r,t.direction=a}(n,t);var g=e.element;O(t.srcEvent.target,g)&&(g=t.srcEvent.target),t.target=g}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function W(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:u(e.pointers[n].clientX),clientY:u(e.pointers[n].clientY)},n++;return{timeStamp:h(),pointers:t,center:G(t),deltaX:e.deltaX,deltaY:e.deltaY}}function G(e){var t=e.length;if(1===t)return{x:u(e[0].clientX),y:u(e[0].clientY)};for(var n=0,i=0,r=0;r<t;)n+=e[r].clientX,i+=e[r].clientY,r++;return{x:u(n/t),y:u(i/t)}}function U(e,t,n){return{x:t/e||0,y:n/e||0}}function q(e,t){return e===t?1:p(e)>=p(t)?e<0?2:4:t<0?8:16}function Z(e,t,n){n||(n=N);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return Math.sqrt(i*i+r*r)}function $(e,t,n){return n||(n=N),180*Math.atan2(t[n[1]]-e[n[1]],t[n[0]]-e[n[0]])/Math.PI}V.prototype={handler:function(){},init:function(){this.evEl&&C(this.element,this.evEl,this.domHandler),this.evTarget&&C(this.target,this.evTarget,this.domHandler),this.evWin&&C(R(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(R(this.element),this.evWin,this.domHandler)}};var X={mousedown:1,mousemove:2,mouseup:4},K="mousedown",J="mousemove mouseup";function Q(){this.evEl=K,this.evWin=J,this.pressed=!1,V.apply(this,arguments)}x(Q,V,{handler:function(e){var t=X[e.type];1&t&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:z,srcEvent:e}))}});var ee={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},te={2:B,3:"pen",4:z,5:"kinect"},ne="pointerdown",ie="pointermove pointerup pointercancel";function re(){this.evEl=ne,this.evWin=ie,V.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(ne="MSPointerDown",ie="MSPointerMove MSPointerUp MSPointerCancel"),x(re,V,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),r=ee[i],a=te[e.pointerType]||e.pointerType,o=a==B,s=I(t,e.pointerId,"pointerId");1&r&&(0===e.button||o)?s<0&&(t.push(e),s=t.length-1):12&r&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,r,{pointers:t,changedPointers:[e],pointerType:a,srcEvent:e}),n&&t.splice(s,1))}});var ae={touchstart:1,touchmove:2,touchend:4,touchcancel:8},oe="touchstart",se="touchstart touchmove touchend touchcancel";function le(){this.evTarget=oe,this.evWin=se,this.started=!1,V.apply(this,arguments)}function ce(e,t){var n=P(e.touches),i=P(e.changedTouches);return 12&t&&(n=T(n.concat(i),"identifier",!0)),[n,i]}x(le,V,{handler:function(e){var t=ae[e.type];if(1===t&&(this.started=!0),this.started){var n=ce.call(this,e,t);12&t&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:B,srcEvent:e})}}});var de={touchstart:1,touchmove:2,touchend:4,touchcancel:8},ue="touchstart touchmove touchend touchcancel";function pe(){this.evTarget=ue,this.targetIds={},V.apply(this,arguments)}function he(e,t){var n=P(e.touches),i=this.targetIds;if(3&t&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,a,o=P(e.changedTouches),s=[],l=this.target;if(a=n.filter(function(e){return O(e.target,l)}),1===t)for(r=0;r<a.length;)i[a[r].identifier]=!0,r++;for(r=0;r<o.length;)i[o[r].identifier]&&s.push(o[r]),12&t&&delete i[o[r].identifier],r++;return s.length?[T(a.concat(s),"identifier",!0),s]:void 0}function me(){V.apply(this,arguments);var e=_(this.handler,this);this.touch=new pe(this.manager,e),this.mouse=new Q(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function ge(e,t){1&e?(this.primaryTouch=t.changedPointers[0].identifier,fe.call(this,t)):12&e&&fe.call(this,t)}function fe(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout(function(){var e=i.indexOf(n);e>-1&&i.splice(e,1)},2500)}}function ve(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],a=Math.abs(t-r.x),o=Math.abs(n-r.y);if(a<=25&&o<=25)return!0}return!1}x(pe,V,{handler:function(e){var t=de[e.type],n=he.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:B,srcEvent:e})}}),x(me,V,{handler:function(e,t,n){var i=n.pointerType==z;if(!(i&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(n.pointerType==B)ge.call(this,t,n);else if(i&&ve.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ye=D(d.style,"touchAction"),be=ye!==s,xe="compute",_e="auto",we="manipulation",Se="none",Ce="pan-x",ke="pan-y",Oe=function(){if(!be)return!1;var e={},t=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){e[n]=!t||r.CSS.supports("touch-action",n)}),e}();function Ee(e,t){this.manager=e,this.set(t)}Ee.prototype={set:function(e){e==xe&&(e=this.compute()),be&&this.manager.element.style&&Oe[e]&&(this.manager.element.style[ye]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return f(this.manager.recognizers,function(t){w(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))}),function(e){if(E(e,Se))return Se;var t=E(e,Ce),n=E(e,ke);return t&&n?Se:t||n?t?Ce:ke:E(e,we)?we:_e}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var i=this.actions,r=E(i,Se)&&!Oe.none,a=E(i,ke)&&!Oe["pan-y"],o=E(i,Ce)&&!Oe["pan-x"];if(r&&1===e.pointers.length&&e.distance<2&&e.deltaTime<250)return;if(!o||!a)return r||a&&6&n||o&&24&n?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var Me=32;function Ie(e){this.options=l({},this.defaults,e||{}),this.id=L++,this.manager=null,this.options.enable=S(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function Pe(e){return 16&e?"cancel":8&e?"end":4&e?"move":2&e?"start":""}function Te(e){return 16==e?"down":8==e?"up":2==e?"left":4==e?"right":""}function De(e,t){var n=t.manager;return n?n.get(e):e}function Le(){Ie.apply(this,arguments)}function Re(){Le.apply(this,arguments),this.pX=null,this.pY=null}function je(){Le.apply(this,arguments)}function Ae(){Ie.apply(this,arguments),this._timer=null,this._input=null}function Fe(){Le.apply(this,arguments)}function Be(){Le.apply(this,arguments)}function ze(){Ie.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Ne(e,t){return(t=t||{}).recognizers=S(t.recognizers,Ne.defaults.preset),new He(e,t)}function He(e,t){this.options=l({},Ne.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new(this.options.inputClass||(A?re:F?pe:j?me:Q))(this,Y),this.touchAction=new Ee(this,this.options.touchAction),Ve(this,!0),f(this.options.recognizers,function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])},this)}function Ve(e,t){var n,i=e.element;i.style&&(f(e.options.cssProps,function(r,a){n=D(i.style,a),t?(e.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=e.oldCssProps[n]||""}),t||(e.oldCssProps={}))}Ie.prototype={defaults:{},set:function(e){return l(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(g(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=De(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return g(e,"dropRecognizeWith",this)||(e=De(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(g(e,"requireFailure",this))return this;var t=this.requireFail;return-1===I(t,e=De(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(g(e,"dropRequireFailure",this))return this;e=De(e,this);var t=I(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function i(n){t.manager.emit(n,e)}n<8&&i(t.options.event+Pe(n)),i(t.options.event),e.additionalEvent&&i(e.additionalEvent),n>=8&&i(t.options.event+Pe(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=Me},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(33&this.requireFail[e].state))return!1;e++}return!0},recognize:function(e){var t=l({},e);if(!w(this.options.enable,[this,t]))return this.reset(),void(this.state=Me);56&this.state&&(this.state=1),this.state=this.process(t),30&this.state&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},x(Le,Ie,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,i=6&t,r=this.attrTest(e);return i&&(8&n||!r)?16|t:i||r?4&n?8|t:2&t?4|t:2:Me}}),x(Re,Le,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var e=this.options.direction,t=[];return 6&e&&t.push(ke),24&e&&t.push(Ce),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,r=e.direction,a=e.deltaX,o=e.deltaY;return r&t.direction||(6&t.direction?(r=0===a?1:a<0?2:4,n=a!=this.pX,i=Math.abs(e.deltaX)):(r=0===o?1:o<0?8:16,n=o!=this.pY,i=Math.abs(e.deltaY))),e.direction=r,n&&i>t.threshold&&r&t.direction},attrTest:function(e){return Le.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=Te(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),x(je,Le,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Se]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){1!==e.scale&&(e.additionalEvent=this.options.event+(e.scale<1?"in":"out")),this._super.emit.call(this,e)}}),x(Ae,Ie,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[_e]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime>t.time;if(this._input=e,!i||!n||12&e.eventType&&!r)this.reset();else if(1&e.eventType)this.reset(),this._timer=m(function(){this.state=8,this.tryEmit()},t.time,this);else if(4&e.eventType)return 8;return Me},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=h(),this.manager.emit(this.options.event,this._input)))}}),x(Fe,Le,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Se]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),x(Be,Le,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Re.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return 30&n?t=e.overallVelocity:6&n?t=e.overallVelocityX:24&n&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&p(t)>this.options.velocity&&4&e.eventType},emit:function(e){var t=Te(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),x(ze,Ie,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[we]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime<t.time;if(this.reset(),1&e.eventType&&0===this.count)return this.failTimeout();if(i&&r&&n){if(4!=e.eventType)return this.failTimeout();var a=!this.pTime||e.timeStamp-this.pTime<t.interval,o=!this.pCenter||Z(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,o&&a?this.count+=1:this.count=1,this._input=e,0==this.count%t.taps)return this.hasRequireFailures()?(this._timer=m(function(){this.state=8,this.tryEmit()},t.interval,this),2):8}return Me},failTimeout:function(){return this._timer=m(function(){this.state=Me},this.options.interval,this),Me},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Ne.VERSION="2.0.7",Ne.defaults={domEvents:!1,touchAction:xe,enable:!0,inputTarget:null,inputClass:null,preset:[[Fe,{enable:!1}],[je,{enable:!1},["rotate"]],[Be,{direction:6}],[Re,{direction:6},["swipe"]],[ze],[ze,{event:"doubletap",taps:2},["tap"]],[Ae]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},He.prototype={set:function(e){return l(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var i=this.recognizers,r=t.curRecognizer;(!r||r&&8&r.state)&&(r=t.curRecognizer=null);for(var a=0;a<i.length;)n=i[a],2===t.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(e),!r&&14&n.state&&(r=t.curRecognizer=n),a++}},get:function(e){if(e instanceof Ie)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(g(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(g(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=I(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==s&&t!==s){var n=this.handlers;return f(M(e),function(e){n[e]=n[e]||[],n[e].push(t)}),this}},off:function(e,t){if(e!==s){var n=this.handlers;return f(M(e),function(e){t?n[e]&&n[e].splice(I(n[e],t),1):delete n[e]}),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=a.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](t),i++}},destroy:function(){this.element&&Ve(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},l(Ne,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:Me,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:He,Input:V,TouchAction:Ee,TouchInput:pe,MouseInput:Q,PointerEventInput:re,TouchMouseInput:me,SingleTouchInput:le,Recognizer:Ie,AttrRecognizer:Le,Tap:ze,Pan:Re,Swipe:Be,Pinch:je,Rotate:Fe,Press:Ae,on:C,off:k,each:f,merge:b,extend:y,assign:l,inherit:x,bindFn:_,prefixed:D}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=Ne,(i=(function(){return Ne}).call(t,n,t,e))===s||(e.exports=i)}(window,document)},yPMs:function(e,t,n){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_N\xebntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_N\xebn_Dhj".split("_"),weekdays:"E Diel_E H\xebn\xeb_E Mart\xeb_E M\xebrkur\xeb_E Enjte_E Premte_E Shtun\xeb".split("_"),weekdaysShort:"Die_H\xebn_Mar_M\xebr_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_M\xeb_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,n){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot n\xeb] LT",nextDay:"[Nes\xebr n\xeb] LT",nextWeek:"dddd [n\xeb] LT",lastDay:"[Dje n\xeb] LT",lastWeek:"dddd [e kaluar n\xeb] LT",sameElse:"L"},relativeTime:{future:"n\xeb %s",past:"%s m\xeb par\xeb",s:"disa sekonda",ss:"%d sekonda",m:"nj\xeb minut\xeb",mm:"%d minuta",h:"nj\xeb or\xeb",hh:"%d or\xeb",d:"nj\xeb dit\xeb",dd:"%d dit\xeb",M:"nj\xeb muaj",MM:"%d muaj",y:"nj\xeb vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},yi8o:function(e,t,n){},yjSS:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("uJc7"),r=n("fXoL"),a=n("tk/3"),o=function(){function e(e,t){this.http=e,this.accountService=t,this._purchaseStatusURL="/api/v2/purchasing/status",this._groupCreditsURL="/api/v2/purchasing/group_credits"}return Object.defineProperty(e.prototype,"noAds",{get:function(){return this._noAds},set:function(e){this._noAds=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"youtubeSearchAccess",{get:function(){return this._youtubeSearchAccess},set:function(e){this._youtubeSearchAccess=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isFree",{get:function(){return this._isFree},set:function(e){this._isFree=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"proPlusAccess",{get:function(){return this._proPlusAccess},set:function(e){this._proPlusAccess=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"proAccess",{get:function(){return this._proAccess},set:function(e){this._proAccess=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"starAccess",{get:function(){return this._starAccess},set:function(e){this._starAccess=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"starTrainerAccess",{get:function(){return this._starTrainerAccess},set:function(e){this._starTrainerAccess=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"highestTier",{get:function(){return this._highestTier},set:function(e){this._highestTier=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groupCreationCredits",{get:function(){return this._groupCreationCredits},set:function(e){this._groupCreationCredits=e},enumerable:!1,configurable:!0}),e.prototype.hasProAccess=function(){return!0===this.proAccess},e.prototype.hasProPlusMin=function(){return!0===this.starAccess||!0===this.proPlusAccess},e.prototype.hasStarAccessMin=function(){return!0===this.starAccess||!0===this.starTrainerAccess},e.prototype.hasStarTrainerAccess=function(){return!0===this.starTrainerAccess},e.prototype.purchasingStatus=function(){return this.http.post(this.accountService.getPy3Host()+this._purchaseStatusURL,{},{})},e.prototype.getGroupCredits=function(){return this.http.post(this.accountService.getPy3Host()+this._groupCreditsURL,{},{})},e.\u0275fac=function(t){return new(t||e)(r["\u0275\u0275inject"](a.b),r["\u0275\u0275inject"](i.a))},e.\u0275prov=r["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},"z+Ro":function(e,t,n){"use strict";function i(e){return e&&"function"==typeof e.schedule}n.d(t,"a",function(){return i})},z1FC:function(e,t,n){!function(e){"use strict";function t(e,t,n,i){var r={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[e+" m\xeduts",e+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[e+" \xfeoras",e+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return i||t?r[n][0]:r[n][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Mar\xe7_Avr\xefu_Mai_G\xfcn_Julia_Guscht_Setemvar_Listop\xe4ts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_G\xfcn_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"S\xfaladi_L\xfane\xe7i_Maitzi_M\xe1rcuri_Xh\xfaadi_Vi\xe9ner\xe7i_S\xe1turi".split("_"),weekdaysShort:"S\xfal_L\xfan_Mai_M\xe1r_Xh\xfa_Vi\xe9_S\xe1t".split("_"),weekdaysMin:"S\xfa_L\xfa_Ma_M\xe1_Xh_Vi_S\xe1".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,n){return e>11?n?"d'o":"D'O":n?"d'a":"D'A"},calendar:{sameDay:"[oxhi \xe0] LT",nextDay:"[dem\xe0 \xe0] LT",nextWeek:"dddd [\xe0] LT",lastDay:"[ieiri \xe0] LT",lastWeek:"[s\xfcr el] dddd [lasteu \xe0] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z3Vd:function(e,t,n){!function(e){"use strict";var t="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function n(e,n,i,r){var a=function(e){var n=Math.floor(e%1e3/100),i=Math.floor(e%100/10),r=e%10,a="";return n>0&&(a+=t[n]+"vatlh"),i>0&&(a+=(""!==a?" ":"")+t[i]+"maH"),r>0&&(a+=(""!==a?" ":"")+t[r]),""===a?"pagh":a}(e);switch(i){case"ss":return a+" lup";case"mm":return a+" tup";case"hh":return a+" rep";case"dd":return a+" jaj";case"MM":return a+" jar";case"yy":return a+" DIS"}}e.defineLocale("tlh",{months:"tera\u2019 jar wa\u2019_tera\u2019 jar cha\u2019_tera\u2019 jar wej_tera\u2019 jar loS_tera\u2019 jar vagh_tera\u2019 jar jav_tera\u2019 jar Soch_tera\u2019 jar chorgh_tera\u2019 jar Hut_tera\u2019 jar wa\u2019maH_tera\u2019 jar wa\u2019maH wa\u2019_tera\u2019 jar wa\u2019maH cha\u2019".split("_"),monthsShort:"jar wa\u2019_jar cha\u2019_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa\u2019maH_jar wa\u2019maH wa\u2019_jar wa\u2019maH cha\u2019".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa\u2019leS] LT",nextWeek:"LLL",lastDay:"[wa\u2019Hu\u2019] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"},past:function(e){var t=e;return-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu\u2019":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"},s:"puS lup",ss:n,m:"wa\u2019 tup",mm:n,h:"wa\u2019 rep",hh:n,d:"wa\u2019 jaj",dd:n,M:"wa\u2019 jar",MM:n,y:"wa\u2019 DIS",yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n("wd/R"))},z6cu:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("HDdC");function r(e,t){return new i.a(t?function(n){return t.schedule(a,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function a(e){e.subscriber.error(e.error)}},zOVB:function(e,t,n){"use strict";n.r(t),n.d(t,"GroupsModule",function(){return si});var i=n("d2mR"),r=n("tyNb"),a=n("Sh3t"),o=n("Ew8h"),s=n("0IaG"),l=n("fXoL"),c=n("sYmb"),d=n("/t3+"),u=n("bTqV"),p=n("3Pt+"),h=n("ofXK");function m(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"p"),l["\u0275\u0275text"](1),l["\u0275\u0275pipe"](2,"translate"),l["\u0275\u0275elementStart"](3,"strong"),l["\u0275\u0275text"](4),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"]("",l["\u0275\u0275pipeBind1"](2,2,"ROOT.Your current invitation code is")," "),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](n.group.groupInvitationCode)}}var g=function(){function e(e,t,n,i){this.dialogRef=e,this.group=t,this.translate=n,this.groupService=i,n.addLangs(["en","es","fr","it","de"]),n.setDefaultLang("en")}return e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.send=function(){var e=this,t=this.groupInvitations.split(",");this.groupService.inviteGroupMembers(this.group.id,t).subscribe(function(t){e.dialogRef.close()})},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](s.f),l["\u0275\u0275directiveInject"](s.a),l["\u0275\u0275directiveInject"](c.d),l["\u0275\u0275directiveInject"](o.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-invite-members"]],decls:23,vars:14,consts:[[1,"md-primary"],[2,"display","inline","padding-top","10px"],[2,"float","right","width","50px","text-align","right","margin-bottom","40px"],["mat-button","",1,"md-icon-button",2,"float","right",3,"click"],["mat-dialog-content",""],[2,"margin","20px"],["for","groupInvitationCode",2,"padding-top","8px"],["id","groupInvitationCode",1,"emailInvitations",3,"ngModel","ngModelChange"],[4,"ngIf"],["mat-dialog-actions","","layout","row"],[1,"create-button",3,"click"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-toolbar",0),l["\u0275\u0275elementStart"](1,"mat-toolbar-row",1),l["\u0275\u0275elementStart"](2,"div",2),l["\u0275\u0275elementStart"](3,"button",3),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275text"](4," X "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"h2"),l["\u0275\u0275text"](6),l["\u0275\u0275pipe"](7,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](8,"div",4),l["\u0275\u0275elementStart"](9,"div",5),l["\u0275\u0275elementStart"](10,"p"),l["\u0275\u0275text"](11),l["\u0275\u0275pipe"](12,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](13,"label",6),l["\u0275\u0275text"](14),l["\u0275\u0275pipe"](15,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](16,"textarea",7),l["\u0275\u0275listener"]("ngModelChange",function(e){return t.groupInvitations=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](17,m,5,4,"p",8),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](18,"div",9),l["\u0275\u0275elementStart"](19,"button",10),l["\u0275\u0275listener"]("click",function(){return t.send()}),l["\u0275\u0275elementStart"](20,"span"),l["\u0275\u0275text"](21),l["\u0275\u0275pipe"](22,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](6),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](7,6,"ROOT.Group Invitations")),l["\u0275\u0275advance"](5),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](12,8,"ROOT.Please enter emails separated with a comma")),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](15,10,"ROOT.Email Recipients")),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngModel",t.groupInvitations),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.group.groupInvitationCode),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](22,12,"ROOT.Send")))},directives:[d.a,d.c,u.b,s.d,p.c,p.o,p.r,h.NgIf,s.c],pipes:[c.c],styles:[".emailInvitations[_ngcontent-%COMP%]{background-color:transparent!important}"]}),e}(),f=n("yjSS"),v=n("cp0P"),y=n("deNa"),b=n("jhN1"),x=n("dNgK"),_=function(){function e(e,t,n){this.dialogRef=e,this.data=t,this.groupService=n,this.group=this.data.group,this.message=this.data.messageData}return e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.send=function(){var e=this;this.groupService.sendGroupMessage(this.group.id,this.message.title,this.message.description,this.message.push).subscribe(function(t){e.dialogRef.close(!0)})},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](s.f),l["\u0275\u0275directiveInject"](s.a),l["\u0275\u0275directiveInject"](o.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-message-members-review"]],decls:24,vars:12,consts:[[1,"md-primary"],[2,"display","inline","padding-top","10px"],[2,"float","right","width","50px","text-align","right","margin-bottom","40px"],["mat-button","",1,"md-icon-button",2,"float","right",3,"click"],["mat-dialog-content",""],[2,"margin","20px"],[2,"margin","10px"],["mat-dialog-actions","","layout","row"],["mat-raised-button","","color","warn",3,"color","click"],["mat-raised-button","",3,"click"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-toolbar",0),l["\u0275\u0275elementStart"](1,"mat-toolbar-row",1),l["\u0275\u0275elementStart"](2,"div",2),l["\u0275\u0275elementStart"](3,"button",3),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275text"](4," X "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"h2"),l["\u0275\u0275text"](6),l["\u0275\u0275pipe"](7,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](8,"div",4),l["\u0275\u0275elementStart"](9,"div",5),l["\u0275\u0275elementStart"](10,"div",6),l["\u0275\u0275elementStart"](11,"h3"),l["\u0275\u0275text"](12),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](13,"p"),l["\u0275\u0275text"](14),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](15,"div",7),l["\u0275\u0275elementStart"](16,"button",8),l["\u0275\u0275listener"]("click",function(){return t.send()}),l["\u0275\u0275elementStart"](17,"span"),l["\u0275\u0275text"](18),l["\u0275\u0275pipe"](19,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](20,"button",9),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275elementStart"](21,"span"),l["\u0275\u0275text"](22),l["\u0275\u0275pipe"](23,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](6),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](7,6,"ROOT.Confirm Message")),l["\u0275\u0275advance"](6),l["\u0275\u0275textInterpolate"](t.message.title),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](t.message.description),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("color","primary"),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](19,8,"ROOT.Send")),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](23,10,"ROOT.Cancel")))},directives:[d.a,d.c,u.b,s.d,s.c],pipes:[c.c],styles:[""]}),e}(),w=n("kmnG"),S=n("qFsG"),C=n("bSwM");function k(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"p"),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"]("Push message rate limit exceeded. Try again in ",n.group.rateLimitRemaining," minutes or send without a push notification.")}}var O=function(){function e(e,t,n,i,r,a){this.groupService=e,this.formBuilder=t,this.translate=n,this.router=i,this.route=r,this.dialog=a,this.sentMessage=new l.EventEmitter,this.showLoadingOverlay=!0,this.messageForm=this.formBuilder.group({title:["",[p.y.required]],description:["",[p.y.required]],push:[{value:!1,disabled:!1}]})}return e.prototype.sendMessage=function(){var e=this;this.dialog.open(_,{data:{group:this.group,messageData:this.messageForm.value},maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(t){!0===t&&e.sentMessage.emit(!0)})},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](p.d),l["\u0275\u0275directiveInject"](c.d),l["\u0275\u0275directiveInject"](r.d),l["\u0275\u0275directiveInject"](r.a),l["\u0275\u0275directiveInject"](s.b))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-message-members"]],inputs:{group:"group"},outputs:{sentMessage:"sentMessage"},decls:30,vars:9,consts:[[1,"clear-both","group-messages"],["name","groupMemberMessageForm",3,"formGroup","ngSubmit"],[1,"form-group",2,"margin","0 !important","padding-bottom","10px"],[2,"width","100%"],["matInput","","type","text","maxlength","75","required","","formControlName","title",1,"form-control",2,"box-shadow","none"],["matInput","","required","","name","description","formControlName","description",1,"form-control",2,"box-shadow","none"],["formControlName","push","id","push",2,"font-weight","100 !important",3,"color"],[4,"ngIf"],[3,"hidden"],[2,"text-align","right","display","block","margin-bottom","20px"],["mat-raised-button","",1,"export-button",3,"disabled","click"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",0),l["\u0275\u0275elementStart"](1,"h3"),l["\u0275\u0275text"](2),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](3,"form",1),l["\u0275\u0275listener"]("ngSubmit",function(){return t.sendMessage()}),l["\u0275\u0275elementStart"](4,"fieldset"),l["\u0275\u0275elementStart"](5,"div",2),l["\u0275\u0275elementStart"](6,"div"),l["\u0275\u0275elementStart"](7,"mat-form-field",3),l["\u0275\u0275elementStart"](8,"mat-label"),l["\u0275\u0275text"](9,"Title"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](10,"input",4),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](11,"fieldset"),l["\u0275\u0275elementStart"](12,"div",2),l["\u0275\u0275elementStart"](13,"div"),l["\u0275\u0275elementStart"](14,"mat-form-field",3),l["\u0275\u0275elementStart"](15,"mat-label"),l["\u0275\u0275text"](16,"Description"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](17,"textarea",5),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](18,"fieldset"),l["\u0275\u0275elementStart"](19,"div",2),l["\u0275\u0275elementStart"](20,"div"),l["\u0275\u0275elementStart"](21,"mat-checkbox",6),l["\u0275\u0275text"](22,"Send as a Push notification"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](23,k,2,1,"p",7),l["\u0275\u0275elementStart"](24,"p",8),l["\u0275\u0275text"](25,"Note: Only one group push notification allowed per hour."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](26,"section",9),l["\u0275\u0275elementStart"](27,"button",10),l["\u0275\u0275listener"]("click",function(){return t.sendMessage()}),l["\u0275\u0275text"](28),l["\u0275\u0275pipe"](29,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"]("",t.group.name," Message"),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("formGroup",t.messageForm),l["\u0275\u0275advance"](18),l["\u0275\u0275property"]("color","primary"),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",t.group.hitRateLimit),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("hidden",t.group.hitRateLimit),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("disabled",t.messageForm.invalid),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](29,7,"ROOT.Next")," "))},directives:[p.z,p.p,p.i,w.c,w.g,S.b,p.c,p.k,p.w,p.o,p.g,C.a,h.NgIf,u.b],pipes:[c.c],styles:["label[_ngcontent-%COMP%]{font-weight:100!important}.group-messages[_ngcontent-%COMP%]{margin:20px auto;border-top:2px dashed;border-bottom:2px dashed;float:left;width:100%}"]}),e}(),E=n("bv9b"),M=n("+0xr"),I=n("Bu+s");function P(e,t){1&e&&l["\u0275\u0275element"](0,"mat-progress-bar",7)}function T(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-header-cell"),l["\u0275\u0275text"](1,"Employee ID - Last Name"),l["\u0275\u0275elementEnd"]())}function D(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"mat-cell"),l["\u0275\u0275text"](1),l["\u0275\u0275pipe"](2,"capitalize"),l["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate2"]("",n.employee_id," - ",l["\u0275\u0275pipeBind1"](2,2,n.last_name),"")}}function L(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-header-cell"),l["\u0275\u0275text"](1,"Eligibility Date"),l["\u0275\u0275elementEnd"]())}function R(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1,"Hasn't Enrolled"),l["\u0275\u0275elementEnd"]())}function j(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1),l["\u0275\u0275pipe"](2,"date"),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]().$implicit;l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"]("Removed ",l["\u0275\u0275pipeBind2"](2,1,n.disable_date,"shortDate"),"")}}function A(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1,"Enrolled"),l["\u0275\u0275elementEnd"]())}function F(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"mat-cell"),l["\u0275\u0275text"](1),l["\u0275\u0275pipe"](2,"date"),l["\u0275\u0275template"](3,R,2,0,"span",16),l["\u0275\u0275template"](4,j,3,4,"span",16),l["\u0275\u0275template"](5,A,2,0,"span",16),l["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind2"](2,4,n.creation_date,"M/d/yy h:mm a"),"\xa0\xa0 "),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",!n.account_id),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",n.account_id&&!n.enabled),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",n.account_id&&n.enabled)}}function B(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-header-cell"),l["\u0275\u0275text"](1,"Email"),l["\u0275\u0275elementEnd"]())}function z(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"mat-cell"),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",n.email,"")}}function N(e,t){1&e&&l["\u0275\u0275element"](0,"mat-header-row")}function H(e,t){1&e&&l["\u0275\u0275element"](0,"mat-row")}function V(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"mat-table",8),l["\u0275\u0275elementContainerStart"](1,9),l["\u0275\u0275template"](2,T,2,0,"mat-header-cell",10),l["\u0275\u0275template"](3,D,3,4,"mat-cell",11),l["\u0275\u0275elementContainerEnd"](),l["\u0275\u0275elementContainerStart"](4,12),l["\u0275\u0275template"](5,L,2,0,"mat-header-cell",10),l["\u0275\u0275template"](6,F,6,7,"mat-cell",11),l["\u0275\u0275elementContainerEnd"](),l["\u0275\u0275elementContainerStart"](7,13),l["\u0275\u0275template"](8,B,2,0,"mat-header-cell",10),l["\u0275\u0275template"](9,z,2,1,"mat-cell",11),l["\u0275\u0275elementContainerEnd"](),l["\u0275\u0275template"](10,N,1,0,"mat-header-row",14),l["\u0275\u0275template"](11,H,1,0,"mat-row",15),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275property"]("dataSource",n.members),l["\u0275\u0275advance"](10),l["\u0275\u0275property"]("matHeaderRowDef",n.displayedCols),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("matRowDefColumns",n.displayedCols)}}function Y(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-header-cell"),l["\u0275\u0275text"](1,"Employee ID"),l["\u0275\u0275elementEnd"]())}function W(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"mat-cell"),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",n.employee_id," ")}}function G(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-header-cell"),l["\u0275\u0275text"](1,"Activity"),l["\u0275\u0275elementEnd"]())}function U(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"mat-cell"),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",n.activity," ")}}function q(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-header-cell"),l["\u0275\u0275text"](1,"Event Date"),l["\u0275\u0275elementEnd"]())}function Z(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"mat-cell"),l["\u0275\u0275text"](1),l["\u0275\u0275pipe"](2,"date"),l["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind2"](2,1,n.event_date,"M/d/yy")," ")}}function $(e,t){1&e&&l["\u0275\u0275element"](0,"mat-header-row")}function X(e,t){1&e&&l["\u0275\u0275element"](0,"mat-row")}var K=function(){return["employeeId","activity","eventDate"]};function J(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"mat-table",17),l["\u0275\u0275elementContainerStart"](1,18),l["\u0275\u0275template"](2,Y,2,0,"mat-header-cell",10),l["\u0275\u0275template"](3,W,2,1,"mat-cell",11),l["\u0275\u0275elementContainerEnd"](),l["\u0275\u0275elementContainerStart"](4,19),l["\u0275\u0275template"](5,G,2,0,"mat-header-cell",10),l["\u0275\u0275template"](6,U,2,1,"mat-cell",11),l["\u0275\u0275elementContainerEnd"](),l["\u0275\u0275elementContainerStart"](7,20),l["\u0275\u0275template"](8,q,2,0,"mat-header-cell",10),l["\u0275\u0275template"](9,Z,3,4,"mat-cell",11),l["\u0275\u0275elementContainerEnd"](),l["\u0275\u0275template"](10,$,1,0,"mat-header-row",14),l["\u0275\u0275template"](11,X,1,0,"mat-row",15),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275property"]("dataSource",n.events),l["\u0275\u0275advance"](10),l["\u0275\u0275property"]("matHeaderRowDef",l["\u0275\u0275pureFunction0"](3,K)),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("matRowDefColumns",l["\u0275\u0275pureFunction0"](4,K))}}var Q=function(){function e(e){this.groupService=e,this.members=[],this.loading=!1,this.numbers=/^\d+$/,this.searchText="",this.events=[],this.errorMsg="",this.displayedCols=["lastName","eligibilityDate","email"]}return e.prototype.searchMember=function(){var e=this;this.loading=!0,this.errorMsg="",this.members=[];var t={group_path:this.group.id};this.searchText.match(this.numbers)?t.employee_id=this.searchText:t.last_name=this.searchText,this.groupService.searchMember(t).subscribe(function(t){e.members=t.response,e.events=t.events,console.log(e.events),e.loading=!1},function(t){console.log(t),e.errorMsg=t.error.response.error.message,e.loading=!1})},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](o.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-member-search"]],inputs:{group:"group"},decls:12,vars:5,consts:[[2,"margin","30px 0px 30px 10px"],["matInput","",3,"ngModel","ngModelChange"],["mat-stroked-button","",2,"border-radius","18px","margin-left","20px",3,"click"],["mode","indeterminate",4,"ngIf"],[1,"error-msg"],["style","width: 100%; margin: 0 auto; display:inline;",3,"dataSource",4,"ngIf"],["style","width: 100%; margin-top: 20px;",3,"dataSource",4,"ngIf"],["mode","indeterminate"],[2,"width","100%","margin","0 auto","display","inline",3,"dataSource"],["matColumnDef","lastName"],[4,"matHeaderCellDef"],[4,"matCellDef"],["matColumnDef","eligibilityDate"],["matColumnDef","email"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],[4,"ngIf"],[2,"width","100%","margin-top","20px",3,"dataSource"],["matColumnDef","employeeId"],["matColumnDef","activity"],["matColumnDef","eventDate"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",0),l["\u0275\u0275elementStart"](1,"mat-form-field"),l["\u0275\u0275elementStart"](2,"mat-label"),l["\u0275\u0275text"](3,"Search"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](4,"input",1),l["\u0275\u0275listener"]("ngModelChange",function(e){return t.searchText=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"button",2),l["\u0275\u0275listener"]("click",function(){return t.searchMember()}),l["\u0275\u0275text"](6,"Search"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](7,P,1,0,"mat-progress-bar",3),l["\u0275\u0275elementStart"](8,"p",4),l["\u0275\u0275text"](9),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](10,V,12,3,"mat-table",5),l["\u0275\u0275template"](11,J,12,5,"mat-table",6),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("ngModel",t.searchText),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngIf",t.loading),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](t.errorMsg),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.searchText),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.events&&t.events.length>0))},directives:[w.c,w.g,S.b,p.c,p.o,p.r,u.b,h.NgIf,E.a,M.j,M.c,M.e,M.b,M.g,M.i,M.d,M.a,M.f,M.h],pipes:[I.o,h.DatePipe],styles:[".mat-column-lastName[_ngcontent-%COMP%]{flex:0 0 25%!important;width:25%!important;-webkit-hyphens:auto;hyphens:auto;margin-left:0!important}.mat-column-email[_ngcontent-%COMP%], .mat-column-lastName[_ngcontent-%COMP%]{word-wrap:break-word!important;white-space:unset!important;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.mat-column-email[_ngcontent-%COMP%]{flex:0 0 45%!important;width:45%!important}.mat-column-eligibilityDate[_ngcontent-%COMP%]{word-wrap:break-word!important;white-space:unset!important;flex:0 0 30%!important;width:30%!important;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}"]}),e}(),ee=n("Xa2L"),te=n("hxEm"),ne=n("/c3D"),ie=n("IfvR"),re=n("uJc7"),ae=n("TlQw");function oe(e,t){if(1&e&&l["\u0275\u0275element"](0,"img",14),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/group_member_photo/",n.member.accountId,"",l["\u0275\u0275sanitizeUrl"])}}function se(e,t){if(1&e&&l["\u0275\u0275element"](0,"img",14),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275propertyInterpolate2"]("src","https://storage.googleapis.com/image_manager/profile_image/",n.member.accountId,"/",n.member.imageFilename,"",l["\u0275\u0275sanitizeUrl"])}}var le=function(){return{standalone:!0}},ce=function(){function e(e,t,n,i,r,a){this.member=e,this.translate=t,this.dialog=n,this.inboxService=i,this.dialogRef=r,this.groupService=a,this.messageTitle="",this.messageText="",t.addLangs(["en","es","fr","it","de"]),t.setDefaultLang("en")}return e.prototype.cancel=function(){this.dialogRef.close()},e.prototype.send=function(){var e=this;this.inboxService.createConversation([String(this.member.accountId)],this.messageTitle,this.messageText).subscribe(function(t){e.dialogRef.close()})},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](s.a),l["\u0275\u0275directiveInject"](c.d),l["\u0275\u0275directiveInject"](s.b),l["\u0275\u0275directiveInject"](ae.a),l["\u0275\u0275directiveInject"](s.f),l["\u0275\u0275directiveInject"](o.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-message-member"]],decls:30,vars:19,consts:[[1,"md-primary"],[2,"display","inline","padding-top","10px"],[2,"float","right","width","50px","text-align","right","margin-bottom","40px"],["mat-button","",1,"md-icon-button",2,"float","right",3,"click"],["mat-dialog-content",""],[2,"margin","20px"],[2,"margin","10px"],[3,"src",4,"ngIf"],[2,"float","right","margin","15px"],["matInput","","maxlength","50",3,"ngModel","ngModelOptions","ngModelChange"],["matInput","","maxlength","280",3,"ngModel","ngModelOptions","ngModelChange"],["mat-dialog-actions","","layout","row"],["mat-raised-button","",3,"color","click"],["mat-raised-button","",3,"click"],[3,"src"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-toolbar",0),l["\u0275\u0275elementStart"](1,"mat-toolbar-row",1),l["\u0275\u0275elementStart"](2,"div",2),l["\u0275\u0275elementStart"](3,"button",3),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275text"](4," X "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"h2"),l["\u0275\u0275text"](6),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](7,"div",4),l["\u0275\u0275elementStart"](8,"div",5),l["\u0275\u0275elementStart"](9,"div",6),l["\u0275\u0275template"](10,oe,1,1,"img",7),l["\u0275\u0275template"](11,se,1,2,"img",7),l["\u0275\u0275elementStart"](12,"form",8),l["\u0275\u0275elementStart"](13,"mat-form-field"),l["\u0275\u0275elementStart"](14,"mat-label"),l["\u0275\u0275text"](15),l["\u0275\u0275pipe"](16,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](17,"input",9),l["\u0275\u0275listener"]("ngModelChange",function(e){return t.messageTitle=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](18,"mat-form-field"),l["\u0275\u0275element"](19,"mat-label"),l["\u0275\u0275elementStart"](20,"textarea",10),l["\u0275\u0275listener"]("ngModelChange",function(e){return t.messageText=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](21,"div",11),l["\u0275\u0275elementStart"](22,"button",12),l["\u0275\u0275listener"]("click",function(){return t.send()}),l["\u0275\u0275elementStart"](23,"span"),l["\u0275\u0275text"](24),l["\u0275\u0275pipe"](25,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](26,"button",13),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275elementStart"](27,"span"),l["\u0275\u0275text"](28),l["\u0275\u0275pipe"](29,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](6),l["\u0275\u0275textInterpolate"](t.member.name),l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("ngIf",!t.member.hasImage),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.member.hasImage),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](16,11,"ROOT.Message Title")),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngModel",t.messageTitle)("ngModelOptions",l["\u0275\u0275pureFunction0"](17,le)),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngModel",t.messageText)("ngModelOptions",l["\u0275\u0275pureFunction0"](18,le)),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("color","primary"),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](25,13,"ROOT.Send")),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](29,15,"ROOT.Cancel")))},directives:[d.a,d.c,u.b,s.d,h.NgIf,p.z,p.p,p.q,w.c,w.g,S.b,p.c,p.k,p.o,p.r,s.c],pipes:[c.c],styles:[""]}),e}(),de=n("LvDl"),ue=n("wd/R"),pe=n("eXdc"),he=n("b6Qw"),me=n("AB3J"),ge=n("STbY"),fe=n("NFeN");function ve(e,t){1&e&&l["\u0275\u0275element"](0,"mat-progress-bar",15)}function ye(e,t){1&e&&l["\u0275\u0275element"](0,"td")}function be(e,t){if(1&e&&l["\u0275\u0275element"](0,"img",26),2&e){var n=l["\u0275\u0275nextContext"]().$implicit;l["\u0275\u0275propertyInterpolate2"]("src","https://storage.googleapis.com/image_manager/profile_image/",n.accountId,"/",n.imageFilename,"",l["\u0275\u0275sanitizeUrl"])}}function xe(e,t){if(1&e&&l["\u0275\u0275element"](0,"img",26),2&e){var n=l["\u0275\u0275nextContext"]().$implicit;l["\u0275\u0275propertyInterpolate1"]("src","https://my.fitdigits.com/api/v2/group_member_photo/",n.accountId,"",l["\u0275\u0275sanitizeUrl"])}}function _e(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div",27),l["\u0275\u0275elementStart"](1,"a",19),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"]().$implicit;return l["\u0275\u0275nextContext"]().beginAudit(e)}),l["\u0275\u0275element"](2,"img",28),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}}function we(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"span",19),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"]().$implicit;return l["\u0275\u0275nextContext"]().editMemberRole(e)}),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"]().$implicit;l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](i.name)}}function Se(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2).$implicit;l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](n.name)}}function Ce(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2).$implicit;l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](n.emailAddress)}}function ke(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"a",19),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"]().$implicit;return l["\u0275\u0275nextContext"]().editMemberRole(e)}),l["\u0275\u0275template"](1,Se,2,1,"span",12),l["\u0275\u0275template"](2,Ce,2,1,"span",12),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"]().$implicit;l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf","Anonymous"!=i.name),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf","Anonymous"==i.name)}}function Oe(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"button",31),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"](2).$implicit;return l["\u0275\u0275nextContext"]().navigateToMember(e)}),l["\u0275\u0275text"](1,"View Page"),l["\u0275\u0275elementEnd"]()}}function Ee(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"td"),l["\u0275\u0275elementStart"](1,"button",29),l["\u0275\u0275elementStart"](2,"mat-icon"),l["\u0275\u0275text"](3,"more_vert"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](4,"mat-menu",null,30),l["\u0275\u0275elementStart"](6,"button",31),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"]().$implicit;return l["\u0275\u0275nextContext"]().editMemberRole(e)}),l["\u0275\u0275text"](7,"Edit User"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](8,"button",31),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"]().$implicit;return l["\u0275\u0275nextContext"]().sendMessage(e)}),l["\u0275\u0275text"](9,"Message"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](10,Oe,2,0,"button",32),l["\u0275\u0275elementStart"](11,"button",31),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"]().$implicit;return l["\u0275\u0275nextContext"]().beginAudit(e)}),l["\u0275\u0275text"](12,"Audit"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275reference"](5),r=l["\u0275\u0275nextContext"]().$implicit;l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("matMenuTriggerFor",i),l["\u0275\u0275advance"](9),l["\u0275\u0275property"]("ngIf",r.customUri)}}function Me(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"tr"),l["\u0275\u0275elementStart"](1,"td",16),l["\u0275\u0275elementStart"](2,"div",17),l["\u0275\u0275elementStart"](3,"div",18),l["\u0275\u0275elementStart"](4,"a",19),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=t.$implicit;return l["\u0275\u0275nextContext"]().navigateToMember(e)}),l["\u0275\u0275template"](5,be,1,2,"img",20),l["\u0275\u0275template"](6,xe,1,1,"img",20),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](7,_e,3,0,"div",21),l["\u0275\u0275element"](8,"div",22),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](9,"td",23),l["\u0275\u0275template"](10,we,2,1,"span",24),l["\u0275\u0275template"](11,ke,3,2,"a",24),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](12,"td",25),l["\u0275\u0275text"](13),l["\u0275\u0275pipe"](14,"number"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](15,"td",25),l["\u0275\u0275text"](16),l["\u0275\u0275pipe"](17,"number"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](18,"td",25),l["\u0275\u0275text"](19),l["\u0275\u0275pipe"](20,"milesToKm"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](21,"td",25),l["\u0275\u0275text"](22),l["\u0275\u0275pipe"](23,"secondsToHMS"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](24,"td",25),l["\u0275\u0275text"](25),l["\u0275\u0275pipe"](26,"number"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](27,Ee,13,2,"td",12),l["\u0275\u0275elementEnd"]()}if(2&e){var i=t.$implicit,r=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](5),l["\u0275\u0275property"]("ngIf",i.hasImage),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!i.hasImage),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",r.hasStarTrainerAccess&&i.permissions.allow_audit_navigation&&r.group.isAuditEnabled&&r.viewer.isAdmin&&r.viewer.isAuditor&&i.accountId!=r.viewer.accountId),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngIf",!r.viewer.isAdmin),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",r.viewer.isAdmin),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](14,11,i.aggregateData.all.count)),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](17,13,i.aggregateData.all.calories)),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind2"](20,15,i.aggregateData.all.miles,r.isMetric)),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](23,18,i.aggregateData.all.seconds)),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](26,20,i.aggregateData.all.steps)),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",r.viewer.isAdmin)}}var Ie=function(){function e(e,t,n,i,r,a,o,s){this.dateService=e,this.groupService=t,this.dialog=n,this.router=i,this.auditService=r,this.cookieService=a,this.PermissionsService=o,this.AccountService=s,this.loading=!0,this.hasStarTrainerAccess=!1,this.isMetric=!1,this.reverse=!0,this.currentSortedType="aggregateData.all.count",this.initSort=!1}return e.prototype.editMemberRole=function(e){this.viewer.isAdmin&&this.dialog.open(ne.a,{data:e,maxWidth:"100vw",maxHeight:"100vh",minWidth:"50vw"}).afterClosed().subscribe(function(e){})},e.prototype.sortMembers=function(e){null!=e?this.currentSortedType=e:e=this.currentSortedType;var t=this.members.map(function(e){return Object.assign({},e)}),n="asc";this.reverse&&(n="desc"),this.members=Object(de.orderBy)(t,e,n),this.reverse=!this.reverse},e.prototype.beginAudit=function(e){var t=this;this.auditService.enterAuditSession(e.auditPath).subscribe(function(n){t.AccountService.initialAuth(null,!0).subscribe(function(n){t.AccountService.getAccount().subscribe(function(i){console.log("group member");var r=Object(de.cloneDeep)(e);r.aggregateData=null,t.cookieService.set("groupMember",JSON.stringify(r)),console.log(i),t.AccountService.account=i,t.AccountService.auditor=new pe.b(n.response.data.auditor_account),t.auditService.setAuditing(!0),t.router.navigate(["/home"])})})})},e.prototype.sendMessage=function(e){this.viewer.isAdmin&&this.dialog.open(ce,{data:e,maxWidth:"100vw",maxHeight:"100vh"})},e.prototype.getData=function(){var e=this;this.groupService.memberStats(this.group.id,this.startDate,this.endDate).subscribe(function(t){e.members=[];for(var n=0;n<t.response.records.length;n++)e.members.push(new a.b(t.response.records[n]));e.sortMembers(null),e.loading=!1})},e.prototype.navigateToMember=function(e){"#"!=e.memberLink&&this.router.navigate([e.memberLink])},e.prototype.ngOnInit=function(){var e=this;this.hasStarTrainerAccess=this.PermissionsService.hasStarTrainerAccess(),this.dateSubscription=this.dateService.dateRange.subscribe(function(t){e.startDate=ue(t.startDate),e.endDate=ue(t.endDate),e.getData()})},e.prototype.ngOnDestroy=function(){this.dateSubscription.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](te.a),l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](s.b),l["\u0275\u0275directiveInject"](r.d),l["\u0275\u0275directiveInject"](ie.a),l["\u0275\u0275directiveInject"](he.a),l["\u0275\u0275directiveInject"](f.a),l["\u0275\u0275directiveInject"](re.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-member-listing"]],inputs:{group:"group",viewer:"viewer"},decls:28,vars:4,consts:[[2,"margin-top","20px"],[1,"member-leaderboard-widget"],["mode","indeterminate",4,"ngIf"],[1,"center"],[1,"pointer"],[2,"text-align","left","padding-left","5px",3,"click"],[1,"member-table-td",3,"click"],["src","/static/img/workout-icon.png",1,"main_menu_icons","activity_icon"],["src","/static/img/theme/site/calorie-icon.png","width","10px",2,"margin-right","3px"],["src","/static/img/icons/squareDistanceIcon.png","width","16px",2,"margin-right","3px"],["src","/static/img/icons/squareDurationIcon.png","width","16px",2,"margin-right","3px"],["src","/static/img/theme/site/steps-icon.png","width","14px",2,"float","right"],[4,"ngIf"],[4,"ngFor","ngForOf"],[2,"clear","both","margin","60px","float","left"],["mode","indeterminate"],[2,"width","60px"],[2,"float","left"],[1,"crop"],[3,"click"],["class","grid-photo",3,"src",4,"ngIf"],["class","coach-link",4,"ngIf"],[1,"crop-placeholder"],[1,"member-data-td",2,"text-align","left"],[3,"click",4,"ngIf"],[1,"member-data-td"],[1,"grid-photo",3,"src"],[1,"coach-link"],["src","/static/img/coach-whistle.png","align","right","width","22","height","22","alt","Coach View",1,"coach-whistle"],["mat-button","",3,"matMenuTriggerFor"],["groupMemberMenu","matMenu"],["mat-menu-item","",3,"click"],["mat-menu-item","",3,"click",4,"ngIf"]],template:function(e,t){1&e&&(l["\u0275\u0275element"](0,"div",0),l["\u0275\u0275element"](1,"app-datepicker"),l["\u0275\u0275elementStart"](2,"div",1),l["\u0275\u0275template"](3,ve,1,0,"mat-progress-bar",2),l["\u0275\u0275elementStart"](4,"table",3),l["\u0275\u0275elementStart"](5,"thead"),l["\u0275\u0275elementStart"](6,"tr",4),l["\u0275\u0275elementStart"](7,"td",5),l["\u0275\u0275listener"]("click",function(){return t.sortMembers("name")}),l["\u0275\u0275text"](8,"Members"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](9,"td",5),l["\u0275\u0275listener"]("click",function(){return t.sortMembers("name")}),l["\u0275\u0275text"](10,"\xa0"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](11,"td",6),l["\u0275\u0275listener"]("click",function(){return t.sortMembers("aggregateData.all.count")}),l["\u0275\u0275element"](12,"img",7),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](13,"td",6),l["\u0275\u0275listener"]("click",function(){return t.sortMembers("aggregateData.all.calories")}),l["\u0275\u0275element"](14,"img",8),l["\u0275\u0275text"](15," CAL"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](16,"td",6),l["\u0275\u0275listener"]("click",function(){return t.sortMembers("aggregateData.all.miles")}),l["\u0275\u0275element"](17,"img",9),l["\u0275\u0275text"](18),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](19,"td",6),l["\u0275\u0275listener"]("click",function(){return t.sortMembers("aggregateData.all.seconds")}),l["\u0275\u0275element"](20,"img",10),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](21,"td",6),l["\u0275\u0275listener"]("click",function(){return t.sortMembers("aggregateData.all.steps")}),l["\u0275\u0275element"](22,"img",11),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](23,ye,1,0,"td",12),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](24,"tbody"),l["\u0275\u0275template"](25,Me,28,22,"tr",13),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](26,"div",14),l["\u0275\u0275text"](27,"\xa0"),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngIf",t.loading),l["\u0275\u0275advance"](15),l["\u0275\u0275textInterpolate1"](" ",t.distanceMetric,""),l["\u0275\u0275advance"](5),l["\u0275\u0275property"]("ngIf",t.viewer.isAdmin),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngForOf",t.members))},directives:[me.a,h.NgIf,h.NgForOf,E.a,u.b,ge.d,fe.a,ge.a,ge.b],pipes:[h.DecimalPipe,I.Q,I.db],styles:[".member-leaderboard-widget[_ngcontent-%COMP%]   table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(odd){background-color:rgba(128,130,133,.4)}"]}),e}();function Pe(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",4),l["\u0275\u0275elementStart"](1,"a",5),l["\u0275\u0275element"](2,"img",6),l["\u0275\u0275elementStart"](3,"strong"),l["\u0275\u0275elementStart"](4,"h4",7),l["\u0275\u0275text"](5),l["\u0275\u0275pipe"](6,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](5),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](6,1,"ROOT.Teams")))}function Te(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"button",33),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"](3);return e.showMessageMembers=!e.showMessageMembers}),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275elementStart"](2,"i",28),l["\u0275\u0275text"](3,"mail_outline"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}2&e&&l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](1,1,"ROOT.Message"))}function De(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div"),l["\u0275\u0275elementStart"](1,"app-message-members",34),l["\u0275\u0275listener"]("sentMessage",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"](3).sentMessage(e)}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"](3);l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("group",i.group)}}function Le(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",35),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](3);l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" Coach views requires a Star Trainer level and the group administrator to enable Group Coaching (currently ",n.group.isAuditEnabled?"On":"Off","). ")}}var Re=function(e){return["/groups",e]};function je(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div",17),l["\u0275\u0275elementStart"](1,"div",18),l["\u0275\u0275elementStart"](2,"a",19),l["\u0275\u0275element"](3,"img",20),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](4,"div",21),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"](2).editGroup()}),l["\u0275\u0275elementStart"](5,"button",22),l["\u0275\u0275element"](6,"img",23),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](7,"h4",24),l["\u0275\u0275text"](8),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](9,"div",25),l["\u0275\u0275elementStart"](10,"div",26),l["\u0275\u0275elementStart"](11,"button",27),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"](2).inviteMember()}),l["\u0275\u0275pipe"](12,"translate"),l["\u0275\u0275elementStart"](13,"i",28),l["\u0275\u0275text"](14,"person_add"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](15,Te,4,3,"button",29),l["\u0275\u0275elementStart"](16,"div",30),l["\u0275\u0275text"](17),l["\u0275\u0275element"](18,"img",31),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](19,De,2,1,"div",13),l["\u0275\u0275template"](20,Le,2,1,"div",32),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"](2);l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("routerLink",l["\u0275\u0275pureFunction1"](12,Re,i.group.id)),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("src",i.group.profilePhoto,l["\u0275\u0275sanitizeUrl"]),l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("routerLink",l["\u0275\u0275pureFunction1"](14,Re,i.group.id)),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",i.group.name," "),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("hidden",i.BCGroup),l["\u0275\u0275advance"](1),l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](12,10,"ROOT.INVITE")),l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("ngIf",i.hasStarTrainerAccess),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"](" ",i.group.memberCount," "),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",i.showMessageMembers),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",null!=i.groupMember.isAuditor&&i.group.isAuditEnabled&&!i.groupMember.isAuditor)}}function Ae(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div"),l["\u0275\u0275element"](1,"app-member-search",36),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("group",n.group)}}function Fe(e,t){1&e&&l["\u0275\u0275element"](0,"mat-spinner",55),2&e&&l["\u0275\u0275property"]("diameter",20)}function Be(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]().$implicit;l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",n.employees," enabled ")}}function ze(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"tr"),l["\u0275\u0275elementStart"](1,"td"),l["\u0275\u0275template"](2,Fe,1,1,"mat-spinner",54),l["\u0275\u0275text"](3),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](4,"td"),l["\u0275\u0275text"](5),l["\u0275\u0275pipe"](6,"number"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](7,"td"),l["\u0275\u0275text"](8),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](9,"td"),l["\u0275\u0275template"](10,Be,2,1,"span",13),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit,i=l["\u0275\u0275nextContext"](3);l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",i.gettingImport),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",n.file_name," "),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"]("",l["\u0275\u0275pipeBind2"](6,5,n.file_size/125,"1.0-0")," kB"),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"](" ",n.file_stat," "),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf","Complete"===n.file_stat)}}function Ne(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1,"Show Content"),l["\u0275\u0275elementEnd"]())}function He(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1,"Hide Content"),l["\u0275\u0275elementEnd"]())}function Ve(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"tr"),l["\u0275\u0275elementStart"](1,"td"),l["\u0275\u0275text"](2),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](3,"td"),l["\u0275\u0275text"](4),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"td"),l["\u0275\u0275text"](6),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](7,"td"),l["\u0275\u0275text"](8),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](n.lastname),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](n.employee),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](n.employer),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](n.trust)}}function Ye(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",56),l["\u0275\u0275element"](1,"hr"),l["\u0275\u0275elementStart"](2,"table",57),l["\u0275\u0275elementStart"](3,"thead"),l["\u0275\u0275elementStart"](4,"tr"),l["\u0275\u0275elementStart"](5,"th"),l["\u0275\u0275text"](6,"Last Name"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](7,"th"),l["\u0275\u0275text"](8,"Employee ID"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](9,"th"),l["\u0275\u0275text"](10,"Employer ID"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](11,"th"),l["\u0275\u0275text"](12,"Trust"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](13,"tbody",58),l["\u0275\u0275template"](14,Ve,9,4,"tr",50),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](3);l["\u0275\u0275advance"](14),l["\u0275\u0275property"]("ngForOf",n.memberList)}}function We(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div"),l["\u0275\u0275elementStart"](1,"div",37),l["\u0275\u0275elementStart"](2,"div",38),l["\u0275\u0275elementStart"](3,"div",39),l["\u0275\u0275text"](4," Group Member Management "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"form",40),l["\u0275\u0275elementStart"](6,"div",41),l["\u0275\u0275text"](7,"Eligibility File:"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](8,"div",42),l["\u0275\u0275elementStart"](9,"input",43),l["\u0275\u0275listener"]("change",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"](2).receiveFiles(e.target.files)}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](10,"div",44),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](11,"div",45),l["\u0275\u0275elementStart"](12,"span",46),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"](2).uploadFile()}),l["\u0275\u0275text"](13,"Upload"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](14,"div",47),l["\u0275\u0275elementStart"](15,"div"),l["\u0275\u0275element"](16,"hr"),l["\u0275\u0275elementStart"](17,"table",48),l["\u0275\u0275elementStart"](18,"thead"),l["\u0275\u0275elementStart"](19,"tr"),l["\u0275\u0275elementStart"](20,"th"),l["\u0275\u0275text"](21,"Upload File"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](22,"th"),l["\u0275\u0275text"](23,"Size"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](24,"th"),l["\u0275\u0275text"](25,"Status"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](26,"th"),l["\u0275\u0275text"](27,"Comments"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](28,"tbody",49),l["\u0275\u0275template"](29,ze,11,8,"tr",50),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](30,"div",51),l["\u0275\u0275elementStart"](31,"span",52),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"](2);return e.csv_visible=!e.csv_visible}),l["\u0275\u0275template"](32,Ne,2,0,"span",13),l["\u0275\u0275template"](33,He,2,0,"span",13),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](34,Ye,15,1,"div",53),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"](2);l["\u0275\u0275advance"](29),l["\u0275\u0275property"]("ngForOf",i.importList),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngIf",0==i.csv_visible),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",1==i.csv_visible),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",1==i.csv_visible)}}function Ge(e,t){if(1&e&&l["\u0275\u0275element"](0,"app-member-listing",59),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275property"]("group",n.group)("viewer",n.groupMember)}}function Ue(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"a",60),l["\u0275\u0275elementStart"](1,"button",61),l["\u0275\u0275element"](2,"img",62),l["\u0275\u0275elementStart"](3,"span",63),l["\u0275\u0275text"](4),l["\u0275\u0275pipe"](5,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275propertyInterpolate1"]("href","https://my.fitdigits.com/api/v2/group/export_members?path=",n.group.id,"",l["\u0275\u0275sanitizeUrl"]),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](5,2,"ROOT.Export"))}}var qe=function(e){return[e]};function Ze(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",8),l["\u0275\u0275elementStart"](1,"div",9),l["\u0275\u0275elementStart"](2,"section",10),l["\u0275\u0275template"](3,je,21,16,"div",11),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](4,"div",12),l["\u0275\u0275template"](5,Ae,2,1,"div",13),l["\u0275\u0275template"](6,We,35,4,"div",13),l["\u0275\u0275template"](7,Ge,1,2,"app-member-listing",14),l["\u0275\u0275template"](8,Ue,6,4,"a",15),l["\u0275\u0275element"](9,"div",16),l["\u0275\u0275element"](10,"br"),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275property"]("ngClass",l["\u0275\u0275pureFunction1"](6,qe,n.ThemeService.isDarkTheme?"dark-theme":"")),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngIf",n.group),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",n.BCGroup&&n.showSearch),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",n.BCGroup),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!n.BCGroup),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!n.BCGroup)}}var $e=function(){function e(e,t,n,i,r,o,s,l,c){var d=this;this.titleService=e,this.groupService=t,this.PermissionsService=n,this.router=i,this.translate=r,this.ThemeService=o,this.snackBar=s,this.route=l,this.dialog=c,this.groupID=this.route.snapshot.paramMap.get("groupId"),this.hasStarTrainerAccess=!1,this.isAuditor=!1,this.showMessageMembers=!1,this.BCGroup=!1,this.BCGroups=[9595181,9605139,9967050],this.showLoadingOverlay=!0,this.showSearch=!0,this.csv_visible=!1,this.groupSwitcher=this.groupService.groupSwitcher.subscribe(function(e){d.showLoadingOverlay=!0,d.groupID=e.id.toString(),d.group=e,d.router.navigate(["/groups",e.id,"admin"]),d.groupService.getGroupMember(d.groupID).subscribe(function(e){d.groupMember=new a.b(e.response),d.showLoadingOverlay=!1})})}return e.prototype.inviteMember=function(){this.dialog.open(g,{data:this.group,minWidth:"50vw",maxWidth:"100vw",maxHeight:"100vh"})},e.prototype.sentMessage=function(e){e&&(this.showMessageMembers=!1,this.snackBar.open(this.translate.instant("ROOT.Message sent to group",{value:this.group.name})))},e.prototype.editGroup=function(){this.router.navigate(["/groups",this.group.id,"admin","edit"])},e.prototype.receiveFiles=function(e){this.files=e},e.prototype.uploadFile=function(){var e=this,t=new FormData;t.append("file",this.files[0]),t.append("groupID",this.groupID);var n=this.groupService.getDevice();t.append("deviceId",n),this.groupService.uploadGroupMembers(t).subscribe(function(t){e.getBCData()})},e.prototype.messageMembers=function(){this.router.navigate(["/groups",this.group.id,"message_members"])},e.prototype.getBCData=function(){var e=this;this.gettingImport=!0,this.groupService.getGroupImportList(this.groupID).subscribe(function(t){e.importList=t.response.file_list,e.gettingImport=!1}),this.groupService.getGroupImportMemberList(this.groupID).subscribe(function(t){e.memberList=t.response.member_list})},e.prototype.ngOnInit=function(){for(var e=this,t=0;t<this.BCGroups.length;t++)this.BCGroups[t]==Number(this.groupID)&&(this.BCGroup=!0);this.BCGroup&&this.getBCData(),this.hasStarTrainerAccess=this.PermissionsService.hasStarTrainerAccess(),Object(v.a)([this.groupService.getGroupMember(this.groupID),this.groupService.getGroup(this.groupID),this.groupService.getAdminMembership()]).subscribe(function(t){e.groupMember=new a.b(t[0].response),e.group=new a.a(t[1].response),e.groupService.adminMemberships=t[2].response,e.showLoadingOverlay=!1})},e.prototype.ngOnDestroy=function(){this.groupSwitcher.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](b.Title),l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](f.a),l["\u0275\u0275directiveInject"](r.d),l["\u0275\u0275directiveInject"](c.d),l["\u0275\u0275directiveInject"](y.a),l["\u0275\u0275directiveInject"](x.b),l["\u0275\u0275directiveInject"](r.a),l["\u0275\u0275directiveInject"](s.b))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-group-admin"]],decls:4,vars:3,consts:[[1,"loading-overlay",3,"hidden"],["class","main-menu-section-heading",4,"ngIf"],[1,"sectionStructure"],["class","group-summary-info",3,"ngClass",4,"ngIf"],[1,"main-menu-section-heading"],["routerLink","/groups"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],[1,"group-summary-info",3,"ngClass"],[1,"group-aggregate-info",2,"padding","0px"],[1,"row"],["class","group-info",4,"ngIf"],[2,"clear","both","padding-bottom","0px"],[4,"ngIf"],[3,"group","viewer",4,"ngIf"],["style","float:right; max-width:160px;",3,"href",4,"ngIf"],[1,"clear-both"],[1,"group-info"],[1,"group-info-left"],[3,"routerLink"],[1,"group-admin-photo",3,"src"],[1,"group-admin-edit",3,"click"],["mat-mini-fab","",1,"group-button","group-admin-edit-button"],["src","/static/img/gear_icon_white.png",1,"group-admin-gear"],[1,"group-info-h4",3,"routerLink"],[1,"team-message-button-container"],[3,"hidden"],["mat-mini-fab","",1,"inviteMember",3,"click"],[1,"material-icons"],["class","messageMember","mat-mini-fab","",3,"click",4,"ngIf"],[1,"group-info-stats-right"],["src","/static/img/health-partners-icon.png",1,"group_member_icons"],["style","clear:both; padding:10px;",4,"ngIf"],["mat-mini-fab","",1,"messageMember",3,"click"],[3,"group","sentMessage"],[2,"clear","both","padding","10px"],[3,"group"],["id","groupsAdminImportUsersContentItem",1,"contentListItem"],[1,"membercsvimportheader"],[1,"membercsvimportheader-title"],["enctype","multipart/form-data","id","groupsAdminCsvUploadForm","method","POST"],[1,"floatleft","membercsvimportfield"],["id","groupsAdminCsvUploadContainer",1,"customFileInputContainer2",2,"border","0px solid","float","left","margin-top","8px"],["type","file","accept",".csv","required","",2,"padding","5px 20px","border-radius","18px",3,"change"],[1,"customFileInputViewDiv",2,"border","0px solid"],[1,"customFileInputSubmit2"],["id","fileInputCsvSubmitBtn",1,"cssbutton","bluebutton","membercsvimportbuttons",3,"click"],[1,"clearboth"],[1,"group-admin-file-details"],["id","groupImportList"],[4,"ngFor","ngForOf"],[1,"floatright"],["id","fileInputCsvShowBtn",1,"cssbutton","bluebutton","membercsvimportbuttons",3,"click"],["id","fileInputCsvContent","style","clear:both; overflow: scroll; height: 400px !important;",4,"ngIf"],["class","spinner",3,"diameter",4,"ngIf"],[1,"spinner",3,"diameter"],["id","fileInputCsvContent",2,"clear","both","overflow","scroll","height","400px !important"],[2,"width","100%"],["id","groupImportMemberList"],[3,"group","viewer"],[2,"float","right","max-width","160px",3,"href"],["mat-raised-button","",1,"group-button","group-admin-edit-button","float-right",2,"margin","20px 10px","width","unset !important","border-radius","18px"],["src","/static/img/icons/exportIcon.png",1,"group-admin-gear",2,"margin-top","-4px"],[2,"padding","5px"]],template:function(e,t){1&e&&(l["\u0275\u0275element"](0,"div",0),l["\u0275\u0275template"](1,Pe,7,3,"div",1),l["\u0275\u0275elementStart"](2,"div",2),l["\u0275\u0275template"](3,Ze,11,8,"div",3),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",0==t.showLoadingOverlay))},directives:[h.NgIf,r.f,h.NgClass,u.b,r.e,O,Q,p.z,p.p,p.q,h.NgForOf,ee.c,Ie],pipes:[c.c,h.DecimalPipe],styles:[".group-admin-photo[_ngcontent-%COMP%]{margin-bottom:5px;margin-right:36px;float:right;height:60px}.group-admin-edit[_ngcontent-%COMP%]{padding:0;margin:0;color:#4597cb;text-align:right;float:right}.group-admin-edit-button[_ngcontent-%COMP%]{float:right;margin:6px 20px 20px 0;background-color:transparent}.group-admin-file-details[_ngcontent-%COMP%]{margin:0 0 30px 10px}.team-message-button-container[_ngcontent-%COMP%]{float:right;width:100%}.group-info-h4[_ngcontent-%COMP%]{font-size:20px;cursor:pointer}.group-info[_ngcontent-%COMP%]{padding-left:20px;padding-right:20px}.group-info-left[_ngcontent-%COMP%]{float:left;line-height:20px;padding-left:10px;width:100%}.group-info-stats-left[_ngcontent-%COMP%]{float:left;text-align:right;width:70px}.group-info-stats-right[_ngcontent-%COMP%]{float:right;text-align:right;width:110px;padding-right:20px;margin-top:10px}.membercsvimportheader[_ngcontent-%COMP%]{text-align:center;border-bottom:1px solid #4597cb;margin:20px 0}.membercsvimportheader-title[_ngcontent-%COMP%]{color:#fff;padding:5px}.membercsvimportbuttons[_ngcontent-%COMP%]{float:left;background-image:none!important;color:#4597cb!important;border:1px solid;border-radius:18px;padding:8px 25px;margin:8px 20px}.membercsvimportfield[_ngcontent-%COMP%]{width:100%;padding:0 20px 0 0;border:0 solid}.cuhealth-search-link[_ngcontent-%COMP%]{clear:right;padding-left:20px;padding-top:5px;float:right}.messageMember[_ngcontent-%COMP%]{margin-left:10px;float:left}.inviteMember[_ngcontent-%COMP%]{margin-right:10px;float:left}.group_member_icons[_ngcontent-%COMP%]{margin-left:0}@media (max-width:420px){.team-message-button-container[_ngcontent-%COMP%]{clear:right}.team-message-button[_ngcontent-%COMP%]{margin-left:0;margin-top:10px}}.group-admin-file-details[_ngcontent-%COMP%]{width:100%;margin-left:10px}.left-arrow[_ngcontent-%COMP%]{float:left;margin:0 10px 0 0;height:33px}.team-invite-button[_ngcontent-%COMP%]{margin-left:0;float:left}.team-message-button[_ngcontent-%COMP%]{margin-left:20px;width:160px}@media (max-width:420px){.team-message-button-container[_ngcontent-%COMP%]{clear:left}.team-message-button[_ngcontent-%COMP%]{margin-left:0;margin-top:10px}}"]}),e}(),Xe=function(){function e(e,t,n,i,r){this.dialogRef=e,this.group=t,this.formBuilder=n,this.translate=i,this.groupService=r,this.passForm=this.formBuilder.group({password:["",p.y.required],confirmPassword:["",p.y.required]},{validator:I.p})}return e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.save=function(){var e=this;this.groupService.updateGroupPassword(this.group.id,this.passForm.value.password).subscribe(function(t){e.dialogRef.close(!1)})},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](s.f),l["\u0275\u0275directiveInject"](s.a),l["\u0275\u0275directiveInject"](p.d),l["\u0275\u0275directiveInject"](c.d),l["\u0275\u0275directiveInject"](o.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-group-change-password"]],decls:30,vars:17,consts:[[1,"md-primary"],[2,"display","inline","padding-top","10px"],[2,"float","right","width","50px","text-align","right","margin-bottom","40px"],["mat-button","",1,"md-icon-button",2,"float","right",3,"click"],["mat-dialog-content",""],[2,"margin","20px"],[3,"formGroup","ngSubmit"],["matInput","","type","password","formControlName","password"],["matInput","","type","password","formControlName","confirmPassword"],["mat-dialog-actions","","layout","row"],["mat-raised-button","","color","warn",3,"color","click"],["mat-raised-button","",3,"click"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-toolbar",0),l["\u0275\u0275elementStart"](1,"mat-toolbar-row",1),l["\u0275\u0275elementStart"](2,"div",2),l["\u0275\u0275elementStart"](3,"button",3),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275text"](4," X "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"h2"),l["\u0275\u0275text"](6),l["\u0275\u0275pipe"](7,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](8,"div",4),l["\u0275\u0275elementStart"](9,"div",5),l["\u0275\u0275elementStart"](10,"form",6),l["\u0275\u0275listener"]("ngSubmit",function(){return t.save()}),l["\u0275\u0275elementStart"](11,"mat-form-field"),l["\u0275\u0275elementStart"](12,"mat-label"),l["\u0275\u0275text"](13),l["\u0275\u0275pipe"](14,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](15,"input",7),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](16,"mat-form-field"),l["\u0275\u0275elementStart"](17,"mat-label"),l["\u0275\u0275text"](18),l["\u0275\u0275pipe"](19,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](20,"input",8),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](21,"div",9),l["\u0275\u0275elementStart"](22,"button",10),l["\u0275\u0275listener"]("click",function(){return t.save()}),l["\u0275\u0275elementStart"](23,"span"),l["\u0275\u0275text"](24),l["\u0275\u0275pipe"](25,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](26,"button",11),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275elementStart"](27,"span"),l["\u0275\u0275text"](28),l["\u0275\u0275pipe"](29,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](6),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](7,7,"ROOT.Change Group Password")),l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("formGroup",t.passForm),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](14,9,"ROOT.password")),l["\u0275\u0275advance"](5),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](19,11,"ROOT.Confirm Password")),l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("color","primary"),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](25,13,"ROOT.Send")),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](29,15,"ROOT.Cancel")))},directives:[d.a,d.c,u.b,s.d,p.z,p.p,p.i,w.c,w.g,S.b,p.c,p.o,p.g,s.c],pipes:[c.c],styles:[""]}),e}(),Ke=function(e){return{"dark-theme":e}},Je=function(){function e(e,t,n,i,r,a){this.dialogRef=e,this.group=t,this.translate=n,this.dialog=i,this.ThemeService=r,this.groupService=a,this.deleteConfirm="",n.addLangs(["en","es","fr","it","de"]),n.setDefaultLang("en")}return e.prototype.delete=function(){var e=this;this.groupService.deleteGroup(this.group.id).subscribe(function(t){e.dialogRef.close(!0)})},e.prototype.cancel=function(){this.dialogRef.close(!1)},e.prototype.ngOnInit=function(){},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](s.f),l["\u0275\u0275directiveInject"](s.a),l["\u0275\u0275directiveInject"](c.d),l["\u0275\u0275directiveInject"](s.b),l["\u0275\u0275directiveInject"](y.a),l["\u0275\u0275directiveInject"](o.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-delete-group"]],decls:32,vars:29,consts:[[1,"mat-primary"],["width","33","height","33",2,"margin-right","15px","float","left",3,"src"],[1,"flex-span"],["mat-button","",1,"mat-icon-button",3,"click"],["src","/static/img/icons/deleteXIconWhite.png"],[2,"margin","20px"],[2,"margin","10px"],["type","text",2,"text-transform","uppercase",3,"ngModel","ngClass","ngModelChange"],["layout","row"],[1,"themed-clear-button",2,"min-width","unset",3,"click"],[2,"padding","0 10px"],[1,"delete-cancel",3,"disabled","click"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"mat-toolbar",0),l["\u0275\u0275element"](1,"img",1),l["\u0275\u0275elementStart"](2,"h2"),l["\u0275\u0275text"](3),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](4,"span",2),l["\u0275\u0275elementStart"](5,"button",3),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275pipe"](6,"translate"),l["\u0275\u0275element"](7,"img",4),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](8,"mat-dialog-content"),l["\u0275\u0275elementStart"](9,"div",5),l["\u0275\u0275elementStart"](10,"div",6),l["\u0275\u0275text"](11),l["\u0275\u0275pipe"](12,"translate"),l["\u0275\u0275pipe"](13,"translate"),l["\u0275\u0275pipe"](14,"translate"),l["\u0275\u0275element"](15,"br"),l["\u0275\u0275element"](16,"br"),l["\u0275\u0275text"](17),l["\u0275\u0275pipe"](18,"translate"),l["\u0275\u0275element"](19,"br"),l["\u0275\u0275element"](20,"br"),l["\u0275\u0275elementStart"](21,"input",7),l["\u0275\u0275listener"]("ngModelChange",function(e){return t.deleteConfirm=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](22,"mat-dialog-actions",8),l["\u0275\u0275elementStart"](23,"button",9),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275elementStart"](24,"span",10),l["\u0275\u0275text"](25),l["\u0275\u0275pipe"](26,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](27,"span",2),l["\u0275\u0275elementStart"](28,"button",11),l["\u0275\u0275listener"]("click",function(){return t.delete()}),l["\u0275\u0275elementStart"](29,"span"),l["\u0275\u0275text"](30),l["\u0275\u0275pipe"](31,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](1),l["\u0275\u0275propertyInterpolate"]("src",t.group.profilePhoto,l["\u0275\u0275sanitizeUrl"]),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](t.group.name),l["\u0275\u0275advance"](2),l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](6,13,"ROOT.Cancel")),l["\u0275\u0275advance"](6),l["\u0275\u0275textInterpolate4"](" ",l["\u0275\u0275pipeBind1"](12,15,"ROOT.Remove the group"),"\xa0",t.group.name,"? ",l["\u0275\u0275pipeBind1"](13,17,"ROOT.This will automatically drop all members and delete group related data.")," ",l["\u0275\u0275pipeBind1"](14,19,"ROOT.This cannot be reversed.")," "),l["\u0275\u0275advance"](6),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](18,21,'ROOT.Type "YES" to confirm you want to delete it.'),""),l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("ngModel",t.deleteConfirm)("ngClass",l["\u0275\u0275pureFunction1"](27,Ke,t.ThemeService.isDarkTheme)),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](26,23,"ROOT.Cancel")),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("disabled","YES"!=t.deleteConfirm.toUpperCase()),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](31,25,"ROOT.Delete")))},directives:[d.a,u.b,s.d,p.c,p.o,p.r,h.NgClass,s.c],pipes:[c.c],styles:[""]}),e}(),Qe=n("d3UM"),et=n("FKr1");function tt(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"mat-option",4),l["\u0275\u0275elementStart"](1,"span",5),l["\u0275\u0275text"](2),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=t.$implicit;l["\u0275\u0275property"]("value",n.id),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](n.name)}}var nt=function(){function e(e){this.groupService=e,this.adminMemberships=this.groupService.adminMemberships}return e.prototype.switchGroup=function(){console.log(this.selectedGroup);for(var e=0;e<this.adminMemberships.length;e++)this.selectedGroupId==this.adminMemberships[e].id&&this.groupService.groupSwitcher.emit(this.adminMemberships[e])},e.prototype.ngOnInit=function(){this.selectedGroupId=this.selectedGroup.id,console.log(this.selectedGroup)},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](o.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-group-switch"]],inputs:{selectedGroup:"selectedGroup"},decls:5,vars:2,consts:[[1,"team-dropdown-container"],[1,"team-dropdown"],[3,"ngModel","ngModelChange"],["style","color:#4597CB !important;",3,"value",4,"ngFor","ngForOf"],[2,"color","#4597CB !important",3,"value"],[2,"color","#4597CB !important"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",0),l["\u0275\u0275elementStart"](1,"mat-form-field",1),l["\u0275\u0275element"](2,"mat-label"),l["\u0275\u0275elementStart"](3,"mat-select",2),l["\u0275\u0275listener"]("ngModelChange",function(e){return t.selectedGroupId=e})("ngModelChange",function(){return t.switchGroup()}),l["\u0275\u0275template"](4,tt,3,2,"mat-option",3),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngModel",t.selectedGroupId),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngForOf",t.adminMemberships))},directives:[w.c,w.g,Qe.a,p.o,p.r,h.NgForOf,et.o],styles:[".team-dropdown-container[_ngcontent-%COMP%]{float:left}.team-dropdown[_ngcontent-%COMP%]{width:300px}"]}),e}(),it=n("JX7q"),rt=n("Ji7U"),at=n("LK+K"),ot=n("vuIU"),st=n("1OyB");function lt(e,t){}var ct,dt=function(){var e="undefined"!=typeof window?window:void 0;return e&&e.tinymce?e.tinymce:null},ut=function(){var e=Object(ot.a)(function e(){Object(st.a)(this,e),this.onBeforePaste=new l.EventEmitter,this.onBlur=new l.EventEmitter,this.onClick=new l.EventEmitter,this.onContextMenu=new l.EventEmitter,this.onCopy=new l.EventEmitter,this.onCut=new l.EventEmitter,this.onDblclick=new l.EventEmitter,this.onDrag=new l.EventEmitter,this.onDragDrop=new l.EventEmitter,this.onDragEnd=new l.EventEmitter,this.onDragGesture=new l.EventEmitter,this.onDragOver=new l.EventEmitter,this.onDrop=new l.EventEmitter,this.onFocus=new l.EventEmitter,this.onFocusIn=new l.EventEmitter,this.onFocusOut=new l.EventEmitter,this.onKeyDown=new l.EventEmitter,this.onKeyPress=new l.EventEmitter,this.onKeyUp=new l.EventEmitter,this.onMouseDown=new l.EventEmitter,this.onMouseEnter=new l.EventEmitter,this.onMouseLeave=new l.EventEmitter,this.onMouseMove=new l.EventEmitter,this.onMouseOut=new l.EventEmitter,this.onMouseOver=new l.EventEmitter,this.onMouseUp=new l.EventEmitter,this.onPaste=new l.EventEmitter,this.onSelectionChange=new l.EventEmitter,this.onActivate=new l.EventEmitter,this.onAddUndo=new l.EventEmitter,this.onBeforeAddUndo=new l.EventEmitter,this.onBeforeExecCommand=new l.EventEmitter,this.onBeforeGetContent=new l.EventEmitter,this.onBeforeRenderUI=new l.EventEmitter,this.onBeforeSetContent=new l.EventEmitter,this.onChange=new l.EventEmitter,this.onClearUndos=new l.EventEmitter,this.onDeactivate=new l.EventEmitter,this.onDirty=new l.EventEmitter,this.onExecCommand=new l.EventEmitter,this.onGetContent=new l.EventEmitter,this.onHide=new l.EventEmitter,this.onInit=new l.EventEmitter,this.onInitNgModel=new l.EventEmitter,this.onLoadContent=new l.EventEmitter,this.onNodeChange=new l.EventEmitter,this.onPostProcess=new l.EventEmitter,this.onPostRender=new l.EventEmitter,this.onPreInit=new l.EventEmitter,this.onPreProcess=new l.EventEmitter,this.onProgressState=new l.EventEmitter,this.onRedo=new l.EventEmitter,this.onRemove=new l.EventEmitter,this.onReset=new l.EventEmitter,this.onResizeEditor=new l.EventEmitter,this.onSaveContent=new l.EventEmitter,this.onSetAttrib=new l.EventEmitter,this.onObjectResizeStart=new l.EventEmitter,this.onObjectResized=new l.EventEmitter,this.onObjectSelected=new l.EventEmitter,this.onSetContent=new l.EventEmitter,this.onShow=new l.EventEmitter,this.onSubmit=new l.EventEmitter,this.onUndo=new l.EventEmitter,this.onVisualAid=new l.EventEmitter});return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=l["\u0275\u0275defineDirective"]({type:e,outputs:{onBeforePaste:"onBeforePaste",onBlur:"onBlur",onClick:"onClick",onContextMenu:"onContextMenu",onCopy:"onCopy",onCut:"onCut",onDblclick:"onDblclick",onDrag:"onDrag",onDragDrop:"onDragDrop",onDragEnd:"onDragEnd",onDragGesture:"onDragGesture",onDragOver:"onDragOver",onDrop:"onDrop",onFocus:"onFocus",onFocusIn:"onFocusIn",onFocusOut:"onFocusOut",onKeyDown:"onKeyDown",onKeyPress:"onKeyPress",onKeyUp:"onKeyUp",onMouseDown:"onMouseDown",onMouseEnter:"onMouseEnter",onMouseLeave:"onMouseLeave",onMouseMove:"onMouseMove",onMouseOut:"onMouseOut",onMouseOver:"onMouseOver",onMouseUp:"onMouseUp",onPaste:"onPaste",onSelectionChange:"onSelectionChange",onActivate:"onActivate",onAddUndo:"onAddUndo",onBeforeAddUndo:"onBeforeAddUndo",onBeforeExecCommand:"onBeforeExecCommand",onBeforeGetContent:"onBeforeGetContent",onBeforeRenderUI:"onBeforeRenderUI",onBeforeSetContent:"onBeforeSetContent",onChange:"onChange",onClearUndos:"onClearUndos",onDeactivate:"onDeactivate",onDirty:"onDirty",onExecCommand:"onExecCommand",onGetContent:"onGetContent",onHide:"onHide",onInit:"onInit",onInitNgModel:"onInitNgModel",onLoadContent:"onLoadContent",onNodeChange:"onNodeChange",onPostProcess:"onPostProcess",onPostRender:"onPostRender",onPreInit:"onPreInit",onPreProcess:"onPreProcess",onProgressState:"onProgressState",onRedo:"onRedo",onRemove:"onRemove",onReset:"onReset",onResizeEditor:"onResizeEditor",onSaveContent:"onSaveContent",onSetAttrib:"onSetAttrib",onObjectResizeStart:"onObjectResizeStart",onObjectResized:"onObjectResized",onObjectSelected:"onObjectSelected",onSetContent:"onSetContent",onShow:"onShow",onSubmit:"onSubmit",onUndo:"onUndo",onVisualAid:"onVisualAid"}}),e}(),pt=["onActivate","onAddUndo","onBeforeAddUndo","onBeforeExecCommand","onBeforeGetContent","onBeforeRenderUI","onBeforeSetContent","onBeforePaste","onBlur","onChange","onClearUndos","onClick","onContextMenu","onCopy","onCut","onDblclick","onDeactivate","onDirty","onDrag","onDragDrop","onDragEnd","onDragGesture","onDragOver","onDrop","onExecCommand","onFocus","onFocusIn","onFocusOut","onGetContent","onHide","onInit","onKeyDown","onKeyPress","onKeyUp","onLoadContent","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onNodeChange","onObjectResizeStart","onObjectResized","onObjectSelected","onPaste","onPostProcess","onPostRender","onPreProcess","onProgressState","onRedo","onRemove","onReset","onResizeEditor","onSaveContent","onSelectionChange","onSetAttrib","onSetContent","onShow","onSubmit","onUndo","onVisualAid"],ht=function(e,t){return"string"==typeof e?e.split(",").map(function(e){return e.trim()}):Array.isArray(e)?e:t},mt=0,gt=function(e){var t=(new Date).getTime();return e+"_"+Math.floor(1e9*Math.random())+ ++mt+String(t)},ft=function(e){return void 0!==e&&"textarea"===e.tagName.toLowerCase()},vt=function(e){return void 0===e||""===e?[]:Array.isArray(e)?e:e.split(" ")},yt=function(){},bt=function(e){return null==e},xt=function(){return{listeners:[],scriptId:gt("tiny-script"),scriptLoaded:!1}},_t=(ct=xt(),{load:function(e,t,n){ct.scriptLoaded?n():(ct.listeners.push(n),e.getElementById(ct.scriptId)||function(e,t,n,i){var r=t.createElement("script");r.referrerPolicy="origin",r.type="application/javascript",r.id=e,r.src=n,r.addEventListener("load",function e(){r.removeEventListener("load",e),ct.listeners.forEach(function(e){return e()}),ct.scriptLoaded=!0}),t.head&&t.head.appendChild(r)}(ct.scriptId,e,t))},reinitialize:function(){ct=xt()}}),wt=new l.InjectionToken("TINYMCE_SCRIPT_SRC"),St={provide:p.m,useExisting:Object(l.forwardRef)(function(){return Ct}),multi:!0},Ct=function(){var e=function(e){Object(rt.a)(n,e);var t=Object(at.a)(n);function n(e,i,r,a){var o;return Object(st.a)(this,n),(o=t.call(this)).platformId=r,o.tinymceScriptSrc=a,o.cloudChannel="5",o.apiKey="no-api-key",o.id="",o.modelEvents="change input undo redo",o.onTouchedCallback=yt,o._elementRef=e,o.ngZone=i,o.initialise=o.initialise.bind(Object(it.a)(o)),o}return Object(ot.a)(n,[{key:"disabled",get:function(){return this._disabled},set:function(e){this._disabled=e,this._editor&&this._editor.initialized&&this._editor.setMode(e?"readonly":"design")}},{key:"editor",get:function(){return this._editor}},{key:"writeValue",value:function(e){this._editor&&this._editor.initialized?this._editor.setContent(bt(e)?"":e):this.initialValue=null===e?void 0:e}},{key:"registerOnChange",value:function(e){this.onChangeCallback=e}},{key:"registerOnTouched",value:function(e){this.onTouchedCallback=e}},{key:"setDisabledState",value:function(e){this._editor?this._editor.setMode(e?"readonly":"design"):e&&(this.init=Object.assign(Object.assign({},this.init),{readonly:!0}))}},{key:"ngAfterViewInit",value:function(){var e;Object(h.isPlatformBrowser)(this.platformId)&&(this.id=this.id||gt("tiny-angular"),this.inline=void 0!==this.inline?!1!==this.inline:!!(null===(e=this.init)||void 0===e?void 0:e.inline),this.createElement(),null!==dt()?this.initialise():this._element&&this._element.ownerDocument&&_t.load(this._element.ownerDocument,this.getScriptSrc(),this.initialise.bind(this)))}},{key:"ngOnDestroy",value:function(){null!==dt()&&dt().remove(this._editor)}},{key:"createElement",value:function(){this._element=document.createElement(this.inline?"string"==typeof this.tagName?this.tagName:"div":"textarea"),this._element&&(document.getElementById(this.id)&&console.warn("TinyMCE-Angular: an element with id [".concat(this.id,"] already exists. Editors with duplicate Id will not be able to mount")),this._element.id=this.id,ft(this._element)&&(this._element.style.visibility="hidden"),this._elementRef.nativeElement.appendChild(this._element))}},{key:"initialise",value:function(){var e,t,n=this,i=Object.assign(Object.assign({},this.init),{target:this._element,inline:this.inline,readonly:this.disabled,plugins:(e=this.init&&this.init.plugins,t=this.plugins,vt(e).concat(vt(t))),toolbar:this.toolbar||this.init&&this.init.toolbar,setup:function(e){n._editor=e,e.on("init",function(t){n.initEditor(e)}),function(e,t){(function(e){var t=ht(e.ignoreEvents,[]);return ht(e.allowedEvents,pt).filter(function(e){return pt.includes(e)&&!t.includes(e)})})(e).forEach(function(n){var i=e[n];t.on(n.substring(2),function(n){return e.ngZone.run(function(){return i.emit({event:n,editor:t})})})})}(n,e),n.init&&"function"==typeof n.init.setup&&n.init.setup(e)}});ft(this._element)&&(this._element.style.visibility=""),this.ngZone.runOutsideAngular(function(){dt().init(i)})}},{key:"getScriptSrc",value:function(){return bt(this.tinymceScriptSrc)?"https://cdn.tiny.cloud/1/".concat(this.apiKey,"/tinymce/").concat(this.cloudChannel,"/tinymce.min.js"):this.tinymceScriptSrc}},{key:"initEditor",value:function(e){var t=this;e.on("blur",function(){return t.ngZone.run(function(){return t.onTouchedCallback()})}),e.on(this.modelEvents,function(){return t.ngZone.run(function(){return t.emitOnChange(e)})}),"string"==typeof this.initialValue&&this.ngZone.run(function(){e.setContent(t.initialValue),e.getContent()!==t.initialValue&&t.emitOnChange(e),void 0!==t.onInitNgModel&&t.onInitNgModel.emit(e)})}},{key:"emitOnChange",value:function(e){this.onChangeCallback&&this.onChangeCallback(e.getContent({format:this.outputFormat}))}}]),n}(ut);return e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](l.ElementRef),l["\u0275\u0275directiveInject"](l.NgZone),l["\u0275\u0275directiveInject"](l.PLATFORM_ID),l["\u0275\u0275directiveInject"](wt,8))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["editor"]],inputs:{cloudChannel:"cloudChannel",apiKey:"apiKey",id:"id",modelEvents:"modelEvents",disabled:"disabled",initialValue:"initialValue",init:"init",inline:"inline",outputFormat:"outputFormat",tagName:"tagName",plugins:"plugins",toolbar:"toolbar",allowedEvents:"allowedEvents",ignoreEvents:"ignoreEvents"},features:[l["\u0275\u0275ProvidersFeature"]([St]),l["\u0275\u0275InheritDefinitionFeature"]],decls:1,vars:0,template:function(e,t){1&e&&l["\u0275\u0275template"](0,lt,0,0,"ng-template")},styles:["[_nghost-%COMP%] { display: block; }"]}),e}(),kt=function(){var e=Object(ot.a)(function e(){Object(st.a)(this,e)});return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=l["\u0275\u0275defineInjector"]({imports:[[h.CommonModule,p.j]]}),e}();function Ot(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div"),l["\u0275\u0275elementStart"](1,"mat-toolbar",2),l["\u0275\u0275elementStart"](2,"mat-toolbar-row",3),l["\u0275\u0275elementStart"](3,"a",4),l["\u0275\u0275element"](4,"img",5),l["\u0275\u0275element"](5,"img",6),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](6,"app-group-switch",7),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](7,"div",8),l["\u0275\u0275elementStart"](8,"div",9),l["\u0275\u0275elementStart"](9,"div",10),l["\u0275\u0275elementStart"](10,"mat-form-field",11),l["\u0275\u0275elementStart"](11,"mat-label"),l["\u0275\u0275text"](12,"Team Name"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](13,"input",12),l["\u0275\u0275listener"]("ngModelChange",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().editGroup.name=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](14,"br"),l["\u0275\u0275elementStart"](15,"mat-form-field",11),l["\u0275\u0275elementStart"](16,"mat-label"),l["\u0275\u0275text"](17,"Website"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](18,"input",12),l["\u0275\u0275listener"]("ngModelChange",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().editGroup.url=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](19,"br"),l["\u0275\u0275elementStart"](20,"mat-form-field",11),l["\u0275\u0275elementStart"](21,"mat-label"),l["\u0275\u0275text"](22,"Description"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](23,"textarea",13),l["\u0275\u0275listener"]("ngModelChange",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().editGroup.description=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](24,"div",14),l["\u0275\u0275elementStart"](25,"label"),l["\u0275\u0275text"](26,"Team Photo / Icon"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](27,"img",15),l["\u0275\u0275elementStart"](28,"input",16),l["\u0275\u0275listener"]("change",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().receiveFiles(e.target.files)}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](29,"div",14),l["\u0275\u0275elementStart"](30,"label"),l["\u0275\u0275text"](31,"Team Banner"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](32,"br"),l["\u0275\u0275element"](33,"img",17),l["\u0275\u0275element"](34,"br"),l["\u0275\u0275elementStart"](35,"span",18),l["\u0275\u0275elementStart"](36,"input",16),l["\u0275\u0275listener"]("change",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().receiveBanner(e.target.files)}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](37,"button",19),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().removeBanner()}),l["\u0275\u0275elementStart"](38,"span"),l["\u0275\u0275elementStart"](39,"span",20),l["\u0275\u0275text"](40,"delete"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](41,"div",21),l["\u0275\u0275elementStart"](42,"mat-form-field",11),l["\u0275\u0275elementStart"](43,"mat-label"),l["\u0275\u0275text"](44,"Invitation Code"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](45,"input",12),l["\u0275\u0275listener"]("ngModelChange",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().editGroup.inviteCode=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](46,"br"),l["\u0275\u0275elementStart"](47,"mat-form-field",11),l["\u0275\u0275elementStart"](48,"mat-label"),l["\u0275\u0275text"](49,"Password"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](50,"input",22),l["\u0275\u0275listener"]("ngModelChange",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().editGroup.password=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](51,"mat-icon",23),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"]();return e.hide=!e.hide}),l["\u0275\u0275text"](52),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](53,"h3",24),l["\u0275\u0275text"](54),l["\u0275\u0275pipe"](55,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](56,"table",25),l["\u0275\u0275elementStart"](57,"tbody"),l["\u0275\u0275elementStart"](58,"tr",26),l["\u0275\u0275elementStart"](59,"td"),l["\u0275\u0275elementStart"](60,"mat-checkbox",27),l["\u0275\u0275listener"]("ngModelChange",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().editGroup.components.leaderboard=e}),l["\u0275\u0275text"](61),l["\u0275\u0275pipe"](62,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](63,"td"),l["\u0275\u0275elementStart"](64,"mat-checkbox",27),l["\u0275\u0275listener"]("ngModelChange",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().editGroup.components.feed=e}),l["\u0275\u0275text"](65),l["\u0275\u0275pipe"](66,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](67,"td"),l["\u0275\u0275elementStart"](68,"mat-checkbox",27),l["\u0275\u0275listener"]("ngModelChange",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().editGroup.components.roster=e}),l["\u0275\u0275text"](69),l["\u0275\u0275pipe"](70,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](71,"tr",26),l["\u0275\u0275elementStart"](72,"td"),l["\u0275\u0275elementStart"](73,"mat-checkbox",27),l["\u0275\u0275listener"]("ngModelChange",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().editGroup.components.messages=e}),l["\u0275\u0275text"](74),l["\u0275\u0275pipe"](75,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](76,"td"),l["\u0275\u0275elementStart"](77,"mat-checkbox",27),l["\u0275\u0275listener"]("ngModelChange",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().editGroup.components.livetracking=e}),l["\u0275\u0275text"](78),l["\u0275\u0275pipe"](79,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](80,"td"),l["\u0275\u0275elementStart"](81,"mat-checkbox",27),l["\u0275\u0275listener"]("ngModelChange",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().editGroup.components.calendar=e}),l["\u0275\u0275text"](82),l["\u0275\u0275pipe"](83,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](84,"h3"),l["\u0275\u0275text"](85),l["\u0275\u0275pipe"](86,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](87,"editor",28),l["\u0275\u0275listener"]("ngModelChange",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().widget=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](88,"br"),l["\u0275\u0275element"](89,"div",21),l["\u0275\u0275elementStart"](90,"div",29),l["\u0275\u0275elementStart"](91,"button",30),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().save()}),l["\u0275\u0275elementStart"](92,"span"),l["\u0275\u0275text"](93),l["\u0275\u0275pipe"](94,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](95,"button",31),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().delete()}),l["\u0275\u0275elementStart"](96,"span"),l["\u0275\u0275text"](97),l["\u0275\u0275pipe"](98,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngClass",i.ThemeService.themeClass),l["\u0275\u0275advance"](2),l["\u0275\u0275propertyInterpolate1"]("routerLink","/groups/",i.group.id,"/admin"),l["\u0275\u0275advance"](2),l["\u0275\u0275propertyInterpolate"]("src",i.group.profilePhoto,l["\u0275\u0275sanitizeUrl"]),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("selectedGroup",i.group),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngClass",i.ThemeService.themeClass),l["\u0275\u0275advance"](6),l["\u0275\u0275property"]("ngModel",i.editGroup.name),l["\u0275\u0275advance"](5),l["\u0275\u0275property"]("ngModel",i.editGroup.url),l["\u0275\u0275advance"](5),l["\u0275\u0275property"]("ngModel",i.editGroup.description),l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("src",i.group.profilePhoto,l["\u0275\u0275sanitizeUrl"]),l["\u0275\u0275advance"](6),l["\u0275\u0275property"]("src",i.group.bannerPhoto,l["\u0275\u0275sanitizeUrl"]),l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("color","warn"),l["\u0275\u0275advance"](8),l["\u0275\u0275property"]("ngModel",i.editGroup.inviteCode),l["\u0275\u0275advance"](5),l["\u0275\u0275property"]("type",i.hide?"password":"text")("ngModel",i.editGroup.password),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](i.hide?"visibility_off":"visibility"),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("hidden",i.editGroup.isTrainerGroup),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](55,41,"ROOT.Allow_Members_to_View")),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("hidden",i.editGroup.isTrainerGroup),l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("ngModel",i.editGroup.components.leaderboard)("color","primary"),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](62,43,"ROOT.Leaderboard")),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngModel",i.editGroup.components.feed)("color","primary"),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](66,45,"ROOT.Feed")),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngModel",i.editGroup.components.roster)("color","primary"),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](70,47,"ROOT.Roster")),l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("ngModel",i.editGroup.components.messages)("color","primary"),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](75,49,"ROOT.Messages")),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngModel",i.editGroup.components.livetracking)("color","primary"),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](79,51,"ROOT.Livetracking")),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngModel",i.editGroup.components.calendar)("color","primary"),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](83,53,"ROOT.Calendar")),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](86,55,"ROOT.Team_Message")),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngModel",i.widget)("init",i.tinymce_init),l["\u0275\u0275advance"](6),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](94,57,"ROOT.Save")),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](98,59,"ROOT.Delete"))}}var Et=function(){function e(e,t,n,i,r,a){var o=this;this.titleService=e,this.dialog=t,this.router=n,this.route=i,this.ThemeService=r,this.groupService=a,this.groupID=this.route.snapshot.paramMap.get("groupId"),this.hide=!0,this.showLoadingOverlay=!0,this.tinymce_init={height:200,base_url:"/tinymce",menubar:"edit view format",suffix:".min",plugins:["image media paste preview"],toolbar:"undo redo | formatselect image | bold italic backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | removeformat"},this.groupSwitcher=this.groupService.groupSwitcher.subscribe(function(e){o.showLoadingOverlay=!0,o.groupID=e.id.toString(),o.router.navigateByUrl("/groups/"+e.id+"/admin/edit"),o.ngOnInit()})}return e.prototype.receiveFiles=function(e){var t=new FormData;t.append("file",e[0]),t.append("path",String(this.group.id)),t.append("photo_type","profile"),this.groupService.uploadPhoto(t).subscribe(function(e){})},e.prototype.receiveBanner=function(e){var t=new FormData;t.append("file",e[0]),t.append("path",String(this.group.id)),t.append("photo_type","cover"),this.groupService.uploadPhoto(t).subscribe(function(e){})},e.prototype.removeBanner=function(){var e=this;this.groupService.removeBanner(this.group.id).subscribe(function(t){e.group.bannerRemoved=!0,e.group.bannerPhoto=""})},e.prototype.editPassword=function(){this.dialog.open(Xe,{data:this.group,maxWidth:"100vw",maxHeight:"100vh"})},e.prototype.delete=function(){var e=this;this.dialog.open(Je,{data:this.group,maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(t){!0===t&&e.router.navigate(["/groups"])})},e.prototype.cancel=function(){this.router.navigate(["/groups",this.group.id,"admin"])},e.prototype.save=function(){var e=this;Object(v.a)([this.groupService.updateGroup(this.editGroup),this.groupService.setGroupMessage(this.groupID,this.widget)]).subscribe(function(t){e.router.navigate(["/groups",e.group.id,"admin"])})},e.prototype.ngOnInit=function(){var e=this;this.ThemeService.isDarkTheme&&(this.tinymce_init.skin="oxide-dark",this.tinymce_init.content_css="dark"),Object(v.a)([this.groupService.getAdminMembership(),this.groupService.getGroupMessage(this.groupID),this.groupService.getGroup(this.groupID)]).subscribe(function(t){e.groupService.adminMemberships=t[0].response;try{e.widget=t[1].response.content.html}catch(n){}e.group=new a.a(t[2].response),e.editGroup=Object(I.q)(e.group),e.showLoadingOverlay=!1})},e.prototype.ngOnDestroy=function(){this.groupSwitcher.unsubscribe()},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](b.Title),l["\u0275\u0275directiveInject"](s.b),l["\u0275\u0275directiveInject"](r.d),l["\u0275\u0275directiveInject"](r.a),l["\u0275\u0275directiveInject"](y.a),l["\u0275\u0275directiveInject"](o.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-group-edit"]],decls:2,vars:2,consts:[[1,"loading-overlay",3,"hidden"],[4,"ngIf"],[1,"md-primary",3,"ngClass"],[2,"display","inline","padding-top","10px"],[3,"routerLink"],["src","/static/img/grey-arrow-back.png",1,"left-arrow"],["width","33","height","33",2,"margin-right","15px","float","left",3,"src"],[3,"selectedGroup"],[1,"team-admin-edit",3,"ngClass"],[2,"margin","20px"],[2,"margin","10px 0px"],[1,"group-admin-text-field"],["matInput","","type","text",3,"ngModel","ngModelChange"],["matInput","","placeholder","Group Description",3,"ngModel","ngModelChange"],[2,"margin-bottom","25px"],["width","50","height","50",2,"margin-right","15px","float","left","margin-top","7px",3,"src"],["type","file","accept","image/*",3,"change"],[2,"max-width","100%","margin-bottom","10px",3,"src"],[2,"display","flex"],["mat-raised-button","",2,"line-height","30px","min-width","50px","padding","0",3,"color","click"],[1,"material-icons",2,"vertical-align","middle","padding-bottom","5px"],[2,"clear","both"],["matInput","",3,"type","ngModel","ngModelChange"],["matSuffix","",1,"no-text-select",2,"cursor","pointer",3,"click"],[3,"hidden"],[1,"group-member-allowed-views",3,"hidden"],[2,"border","none"],[1,"graphOptionCheckbox",3,"ngModel","color","ngModelChange"],[3,"ngModel","init","ngModelChange"],[2,"float","left","width","100%","margin","30px 20px"],[1,"create-button",3,"click"],[1,"delete-cancel","float-right",2,"margin-top","20px",3,"click"]],template:function(e,t){1&e&&(l["\u0275\u0275element"](0,"div",0),l["\u0275\u0275template"](1,Ot,99,61,"div",1)),2&e&&(l["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!t.showLoadingOverlay))},directives:[h.NgIf,d.a,h.NgClass,d.c,r.f,nt,w.c,w.g,S.b,p.c,p.o,p.r,u.b,fe.a,w.h,C.a,Ct],pipes:[c.c],styles:["mat-label[_ngcontent-%COMP%]{font-size:15px}.left-arrow[_ngcontent-%COMP%]{float:left;margin:0 10px 0 0;height:33px}.tinymce-buttons[_ngcontent-%COMP%]{width:100px;margin-left:20px;margin-bottom:20px}.team-admin-edit[_ngcontent-%COMP%]{margin-top:20px;float:left;width:100%;border-bottom:1px solid}.group-member-allowed-views[_ngcontent-%COMP%]{width:100%}.group-member-allowed-views[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{width:33%}.group-admin-text-field[_ngcontent-%COMP%]{width:100%;margin-bottom:20px}"]}),e}(),Mt=n("mrSG"),It=n("vtpD"),Pt=n("ihCf");function Tt(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div",6),l["\u0275\u0275elementStart"](1,"div",7),l["\u0275\u0275elementStart"](2,"button",8),l["\u0275\u0275elementStart"](3,"mat-icon"),l["\u0275\u0275text"](4,"more_vert"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"mat-menu",null,9),l["\u0275\u0275elementStart"](7,"button",10),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().joinGroup()}),l["\u0275\u0275elementStart"](8,"div",11),l["\u0275\u0275text"](9),l["\u0275\u0275pipe"](10,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](11,"button",10),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().createGroup()}),l["\u0275\u0275elementStart"](12,"div",11),l["\u0275\u0275text"](13),l["\u0275\u0275pipe"](14,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](15,"strong"),l["\u0275\u0275elementStart"](16,"h4",12),l["\u0275\u0275text"](17),l["\u0275\u0275pipe"](18,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275reference"](6);l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("matMenuTriggerFor",i),l["\u0275\u0275advance"](7),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](10,4,"ROOT.Join Team")),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](14,6,"ROOT.Create a Team")),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](18,8,"ROOT.Teams"))}}function Dt(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div",21),l["\u0275\u0275elementStart"](1,"div",22),l["\u0275\u0275elementStart"](2,"a",23),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"](2).subnavJoinMoveProgram2()}),l["\u0275\u0275elementStart"](3,"button",24),l["\u0275\u0275text"](4),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"div",25),l["\u0275\u0275text"](6),l["\u0275\u0275elementStart"](7,"a",26),l["\u0275\u0275text"](8,"support@fitdigits.com"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](9),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"](2);l["\u0275\u0275advance"](3),l["\u0275\u0275attribute"]("aria-label",i.Join_Move_txt),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",i.Join_Move_txt," "),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"]("",i.Click_Join_Move_Program_above_txt," "),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"](" ",i.with_your_Employee_ID_txt," ")}}function Lt(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",27),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",n.You_are_currently_enrolled_txt," ")}}function Rt(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1),l["\u0275\u0275pipe"](2,"uppercase"),l["\u0275\u0275pipe"](3,"translate"),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](2,1,l["\u0275\u0275pipeBind1"](3,3,"ROOT.Teams"))))}function jt(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"button",42),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"](2).$implicit;return l["\u0275\u0275nextContext"](3).teamAdmin(e)}),l["\u0275\u0275element"](1,"img",43),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"](5);l["\u0275\u0275attribute"]("aria-label",i.Admin_txt)}}function At(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"button",44),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"](2).$implicit;return l["\u0275\u0275nextContext"](3).leaveGroup(e.id)}),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275elementStart"](2,"mat-icon"),l["\u0275\u0275text"](3,"close"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}2&e&&l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](1,1,"ROOT.Leave Group"))}function Ft(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"a",45),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"](2).$implicit;return l["\u0275\u0275nextContext"](3).groupLiveTracking(e)}),l["\u0275\u0275elementStart"](1,"button",46),l["\u0275\u0275element"](2,"img",47),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"](5);l["\u0275\u0275advance"](1),l["\u0275\u0275attribute"]("aria-label",i.Group_Live_Tracking_txt)}}function Bt(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div"),l["\u0275\u0275elementStart"](1,"div",37),l["\u0275\u0275template"](2,jt,2,1,"button",38),l["\u0275\u0275template"](3,At,4,3,"button",39),l["\u0275\u0275template"](4,Ft,3,1,"a",40),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"div",41),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"]().$implicit;return l["\u0275\u0275nextContext"](3).coachCorner(e)}),l["\u0275\u0275text"](6),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"]().$implicit,r=l["\u0275\u0275nextContext"](3);l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("hidden",i.isTrainerGroup),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",(i.viewer.isOwner||i.viewer.isAdmin)&&!r.isAuditing),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!i.viewer.isOwner&&!r.isAuditing),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",i.liveSessionCount>0&&!r.isThemeBeColorado),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"](" ",i.name," ")}}function zt(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"tr",32),l["\u0275\u0275elementStart"](1,"td",33),l["\u0275\u0275elementStart"](2,"a",34),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=t.$implicit;return l["\u0275\u0275nextContext"](3).coachCorner(e)}),l["\u0275\u0275element"](3,"img",35),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](4,"td",36),l["\u0275\u0275template"](5,Bt,7,5,"div",5),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=t.$implicit;l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("src",i.profilePhoto,l["\u0275\u0275sanitizeUrl"]),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",!i.isTrainerGroup)}}function Nt(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"table",28),l["\u0275\u0275elementStart"](1,"thead"),l["\u0275\u0275elementStart"](2,"tr"),l["\u0275\u0275elementStart"](3,"th",29),l["\u0275\u0275text"](4,"\xa0"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"th",30),l["\u0275\u0275template"](6,Rt,4,5,"span",5),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](7,"tbody"),l["\u0275\u0275template"](8,zt,6,2,"tr",31),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275advance"](6),l["\u0275\u0275property"]("ngIf",!n.isThemeBeColorado&&n.hasGroups),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngForOf",n.teamGroups)}}function Ht(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1),l["\u0275\u0275pipe"](2,"uppercase"),l["\u0275\u0275pipe"](3,"translate"),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](2,1,l["\u0275\u0275pipeBind1"](3,3,"ROOT.Trainer"))))}function Vt(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"button",58),l["\u0275\u0275element"](1,"img",43),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](5);l["\u0275\u0275attribute"]("aria-label",n.Admin_txt)}}function Yt(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"a",45),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"](2).$implicit;return l["\u0275\u0275nextContext"](3).groupLiveTracking(e)}),l["\u0275\u0275elementStart"](1,"button",46),l["\u0275\u0275element"](2,"img",47),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"](5);l["\u0275\u0275advance"](1),l["\u0275\u0275attribute"]("aria-label",i.Group_Live_Tracking_txt)}}function Wt(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div"),l["\u0275\u0275elementStart"](1,"div",55),l["\u0275\u0275elementStart"](2,"a",56),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"]().$implicit;return l["\u0275\u0275nextContext"](3).teamAdmin(e)}),l["\u0275\u0275template"](3,Vt,2,1,"button",57),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](4,Yt,3,1,"a",40),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"]().$implicit,r=l["\u0275\u0275nextContext"](3);l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngIf",(i.viewer.isOwner||i.viewer.isAdmin)&&!r.isThemeBeColorado&&!r.isAuditing),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",i.liveSessionCount>0&&!r.isThemeBeColorado)}}function Gt(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"button",59),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"]().$implicit;return l["\u0275\u0275nextContext"](3).leaveGroup(e.id)}),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275elementStart"](2,"mat-icon"),l["\u0275\u0275text"](3,"close"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}2&e&&l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](1,1,"ROOT.Leave Group"))}function Ut(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"tr",32),l["\u0275\u0275elementStart"](1,"td",33),l["\u0275\u0275elementStart"](2,"div"),l["\u0275\u0275elementStart"](3,"a",41),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=t.$implicit;return l["\u0275\u0275nextContext"](3).coachCorner(e)}),l["\u0275\u0275element"](4,"img",50),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"td",36),l["\u0275\u0275template"](6,Wt,5,2,"div",5),l["\u0275\u0275template"](7,Gt,4,3,"button",51),l["\u0275\u0275elementStart"](8,"div",52),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=t.$implicit;return l["\u0275\u0275nextContext"](3).coachCorner(e)}),l["\u0275\u0275text"](9),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](10,"a",53),l["\u0275\u0275listener"]("click",function(e){l["\u0275\u0275restoreView"](n);var i=t.$implicit;return l["\u0275\u0275nextContext"](3).messageTrainer(e,i.trainer)}),l["\u0275\u0275element"](11,"i",54),l["\u0275\u0275text"](12),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=t.$implicit,r=l["\u0275\u0275nextContext"](3);l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("src",i.profilePhoto,l["\u0275\u0275sanitizeUrl"]),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",i.viewer.isAdmin&&!r.isAuditing),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!i.viewer.isOwner&&1!=r.isAuditing),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](i.name),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("hidden",i.viewer.isAdmin),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"](" \xa0 ",r.Message_txt,"")}}function qt(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"table",48),l["\u0275\u0275elementStart"](1,"thead"),l["\u0275\u0275elementStart"](2,"tr"),l["\u0275\u0275elementStart"](3,"th",29),l["\u0275\u0275text"](4,"\xa0"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"th",49),l["\u0275\u0275template"](6,Ht,4,5,"span",5),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](7,"tbody"),l["\u0275\u0275template"](8,Ut,13,6,"tr",31),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275advance"](6),l["\u0275\u0275property"]("ngIf",!n.isThemeBeColorado&&n.hasGroups),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngForOf",n.trainerGroups)}}function Zt(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div",60),l["\u0275\u0275elementStart"](1,"div"),l["\u0275\u0275elementStart"](2,"a",61),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"](2).joinAnotherGroup()}),l["\u0275\u0275text"](3,"Join Another Group"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}}function $t(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"button",68),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"](3).joinGroup()}),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275text"](2),l["\u0275\u0275pipe"](3,"translate"),l["\u0275\u0275elementEnd"]()}2&e&&(l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](1,2,"ROOT.Join Team")),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](3,4,"ROOT.Join Team")," "))}function Xt(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"button",72),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"](4).createGroup()}),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275text"](2),l["\u0275\u0275pipe"](3,"translate"),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"](4);l["\u0275\u0275property"]("hidden",!(i.isStarUser&&i.groupCreationCredits>=1)),l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](1,3,"ROOT.Create a Team")),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](3,5,"ROOT.Create a Team")," ")}}function Kt(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"button",73),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275text"](2),l["\u0275\u0275pipe"](3,"translate"),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](4);l["\u0275\u0275property"]("hidden",!(n.isStarUser&&0==n.groupCreationCredits)),l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](1,3,"ROOT.Create a Team")),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](3,5,"ROOT.Create a Team")," ")}}function Jt(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",69),l["\u0275\u0275template"](1,Xt,4,7,"button",70),l["\u0275\u0275template"](2,Kt,4,7,"button",71),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](3);l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay)}}function Qt(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",80),l["\u0275\u0275text"](1),l["\u0275\u0275pipe"](2,"translate"),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](4);l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate2"](" ",n.groupCreationCredits,"\xa0",l["\u0275\u0275pipeBind1"](2,2,"ROOT.Group Credits")," ")}}function en(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",80),l["\u0275\u0275text"](1),l["\u0275\u0275pipe"](2,"translate"),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](4);l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate2"](" ",n.groupCreationCredits,"\xa0",l["\u0275\u0275pipeBind1"](2,2,"ROOT.Group Credit")," ")}}function tn(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",74),l["\u0275\u0275elementStart"](1,"div",75),l["\u0275\u0275template"](2,Qt,3,4,"div",76),l["\u0275\u0275template"](3,en,3,4,"div",77),l["\u0275\u0275elementStart"](4,"span",78),l["\u0275\u0275text"](5),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](6,"br"),l["\u0275\u0275elementStart"](7,"a",79),l["\u0275\u0275text"](8),l["\u0275\u0275pipe"](9,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](10,"div",16),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](3);l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",n.groupCreationCredits>1&&n.isStarUser),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",1==n.groupCreationCredits&&n.isStarUser),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("hidden",!(0==n.groupCreationCredits&&!n.isStarUser)),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"]("\xa0",n.Become_a_Star_Member_txt," "),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](9,5,"ROOT.more info"))}}function nn(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",62),l["\u0275\u0275elementStart"](1,"div",63),l["\u0275\u0275elementStart"](2,"div",64),l["\u0275\u0275template"](3,$t,4,6,"button",65),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](4,Jt,3,2,"div",66),l["\u0275\u0275template"](5,tn,11,7,"div",67),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",n.isStarUser&&!n.showLoadingOverlay),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!n.showLoadingOverlay)}}function rn(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div"),l["\u0275\u0275elementStart"](1,"div",13),l["\u0275\u0275template"](2,Dt,10,4,"div",14),l["\u0275\u0275template"](3,Lt,2,1,"div",15),l["\u0275\u0275element"](4,"div",16),l["\u0275\u0275template"](5,Nt,9,2,"table",17),l["\u0275\u0275template"](6,qt,9,2,"table",18),l["\u0275\u0275template"](7,Zt,4,0,"div",19),l["\u0275\u0275element"](8,"div",16),l["\u0275\u0275template"](9,nn,6,3,"div",20),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",n.isThemeBeColorado&&!n.isBecoloradoEnrolled&&!n.showLoadingOverlay),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",n.isThemeBeColorado&&n.isBecoloradoEnrolled&&!n.isBecoloradoUCH),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",n.hasGroups),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",n.hasGroups),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",n.isThemeBeColorado&&!n.showLoadingOverlay),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",!n.isThemeBeColorado)}}function an(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"button",88),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275elementStart"](2,"a",89),l["\u0275\u0275text"](3),l["\u0275\u0275pipe"](4,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](1,3,"ROOT.Learn More")),l["\u0275\u0275advance"](2),l["\u0275\u0275propertyInterpolate1"]("routerLink","/memberships?embed=",n.isMobileEmbedded,""),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](4,5,"ROOT.Learn More")," ")}}function on(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"button",90),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275text"](2),l["\u0275\u0275pipe"](3,"translate"),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275attribute"]("aria-label",l["\u0275\u0275pipeBind1"](1,2,"ROOT.Learn More")),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](3,4,"ROOT.Learn More")," "))}function sn(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div"),l["\u0275\u0275elementStart"](1,"div",81),l["\u0275\u0275element"](2,"img",82),l["\u0275\u0275element"](3,"img",83),l["\u0275\u0275elementStart"](4,"div",84),l["\u0275\u0275elementStart"](5,"h2"),l["\u0275\u0275text"](6,"Whether you are managing "),l["\u0275\u0275element"](7,"br"),l["\u0275\u0275text"](8,"2 or 20,000, we can help you "),l["\u0275\u0275element"](9,"br"),l["\u0275\u0275text"](10,"track and train them all. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](11,"div",16),l["\u0275\u0275elementStart"](12,"div",85),l["\u0275\u0275template"](13,an,5,7,"button",86),l["\u0275\u0275template"](14,on,4,6,"button",87),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](13),l["\u0275\u0275property"]("ngIf",n.isMobileEmbedded&&!n.showLoadingOverlay),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!n.ThemeService.isMobileEmbedded&&!n.showLoadingOverlay)}}function ln(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div"),l["\u0275\u0275elementStart"](1,"div",91),l["\u0275\u0275elementStart"](2,"a",92),l["\u0275\u0275element"](3,"img",93),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](4,"div",94),l["\u0275\u0275elementStart"](5,"a",95),l["\u0275\u0275elementStart"](6,"div",96),l["\u0275\u0275text"](7),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](8,"h3"),l["\u0275\u0275text"](9,"CU Health Plan. Move."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](10,"h4"),l["\u0275\u0275text"](11,"Earning the Incentive with Active Days"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](12,"p"),l["\u0275\u0275text"](13,"To earn the monthly activity incentive from the Be Colorado. Move. program, you must be enrolled and active in the Be Colorado. Move. Program. during the incentive earning dates plus any criteria also outlined in the "),l["\u0275\u0275elementStart"](14,"a",97),l["\u0275\u0275text"](15,"Move Official FAQs"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](16,". You must also meet the criteria of 12 Active Days (see below and as defined in the FAQs) during the month of the incentive, and have uploaded or confirmed upload of the activities to the Move program site by the 5th of the following month in question."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](17,"br"),l["\u0275\u0275element"](18,"br"),l["\u0275\u0275elementStart"](19,"a",98),l["\u0275\u0275text"](20," Download the Move. app for iOS"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](21,"br"),l["\u0275\u0275element"](22,"br"),l["\u0275\u0275elementStart"](23,"a",99),l["\u0275\u0275text"](24," Download the Move. app for Android"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](25,"br"),l["\u0275\u0275element"](26,"br"),l["\u0275\u0275elementStart"](27,"a",100),l["\u0275\u0275text"](28,"See a list of supported tracking partners"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](29,"br"),l["\u0275\u0275element"](30,"br"),l["\u0275\u0275elementStart"](31,"p"),l["\u0275\u0275elementStart"](32,"strong"),l["\u0275\u0275text"](33,"Checking if you are Enrolled in the Be Colorado. Move. Program:"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](34,"ol",101),l["\u0275\u0275elementStart"](35,"li"),l["\u0275\u0275text"](36,"Log into "),l["\u0275\u0275elementStart"](37,"a",102),l["\u0275\u0275text"](38,"https://becolorado.fitdigits.com"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](39,"li"),l["\u0275\u0275text"](40,"Tap Groups, you should see your University of Colorado group there ("),l["\u0275\u0275elementStart"](41,"a",103),l["\u0275\u0275text"](42,"https://becolorado.fitdigits.com/groups"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](43,") "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](44,"li"),l["\u0275\u0275text"](45,"If you don't see a Join Now link, you are enrolled."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](46,"p"),l["\u0275\u0275elementStart"](47,"strong"),l["\u0275\u0275text"](48,"The requirements for the Move. program Active day:"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](49,"ul",101),l["\u0275\u0275elementStart"](50,"li"),l["\u0275\u0275text"](51,"30+ minutes of activity tracked in the Move. app = 1 Active Day"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](52,"ul"),l["\u0275\u0275elementStart"](53,"li"),l["\u0275\u0275text"](54,"This can be done all at once or a minimum of 10 minutes per tracked activity over multiple times (so one 10.01 minute walk + a 20 minutes walk would count, or three 10+ minute walks, in a given day. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](55,"li"),l["\u0275\u0275text"](56,"Only two manually entered workouts count per month. All others must be tracked with the app or by an activity monitor. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](57,"li"),l["\u0275\u0275text"](58,"-OR-"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](59,"li"),l["\u0275\u0275text"](60,"Using an Activity Monitor or a phone with a supported activity monitor, such as Fitbit, Apple Health, Google Fit, or Garmin "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](61,"ul"),l["\u0275\u0275elementStart"](62,"li"),l["\u0275\u0275text"](63,"Get 10,000 steps in one day"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](64,"li"),l["\u0275\u0275text"](65,"Fitbit, Google Fit or Apple Watch only \u2013 record 30+ minutes in the Very Active or Highly Active time "),l["\u0275\u0275element"](66,"br"),l["\u0275\u0275text"](67,"(see how Fitbit changed their algorithm in "),l["\u0275\u0275elementStart"](68,"a",104),l["\u0275\u0275text"](69,"2015"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](70," and then added "),l["\u0275\u0275elementStart"](71,"a",104),l["\u0275\u0275text"](72,"Zone Minutes in 2021"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](73,".) "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](74,"p"),l["\u0275\u0275elementStart"](75,"strong"),l["\u0275\u0275text"](76,"Checking on Incentive Progress or If the Incentive was Earned:"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](77,"ul",101),l["\u0275\u0275elementStart"](78,"li"),l["\u0275\u0275text"](79,"Log into "),l["\u0275\u0275elementStart"](80,"a",105),l["\u0275\u0275text"](81,"https://becolorado.fitdigits.com"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](82," or the app"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](83,"li"),l["\u0275\u0275text"](84,"Go to Menu > Calendar"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](85,"li"),l["\u0275\u0275text"](86,"For any given month you select, you will see a yellow ribbon on all qualifying days (you need 12 in a month to qualify), as well as a banner below the month that shows a progress bar \u2013 if the progress bar says 100% within 5 days of the following month then you met your qualifying criteria for activity.* "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](87,"p"),l["\u0275\u0275text"](88,"*Reports are run on the 5th of each month for the previous month, so all qualifying activities "),l["\u0275\u0275elementStart"](89,"strong"),l["\u0275\u0275text"](90,"must be posted by then"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](91,". See the "),l["\u0275\u0275elementStart"](92,"a",97),l["\u0275\u0275text"](93,"Official FAQ"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](94," for other rules and regulations."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](95,"p"),l["\u0275\u0275elementStart"](96,"strong"),l["\u0275\u0275text"](97,"Payments:"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](98,"p"),l["\u0275\u0275text"](99,"Fitdigits isn't authorized to speak to payments, only tracking issues. Payment schedules are shown in the FAQs but generally are paid once every quarter depending on your affiliation. For example:"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](100,"ul",101),l["\u0275\u0275elementStart"](101,"li"),l["\u0275\u0275text"](102,"July payment: Incentives earned for April through June"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](103,"li"),l["\u0275\u0275text"](104,"October payment: Incentives earned for July through September"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](105,"li"),l["\u0275\u0275text"](106,"January payment: Incentives earned for October through December"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](107,"li"),l["\u0275\u0275text"](108,"April payment: Incentives earned for January through March"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](109,"br"),l["\u0275\u0275elementStart"](110,"p"),l["\u0275\u0275text"](111,"*CU Medicine employees are paid one month after the payment month listed."),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](112,"p"),l["\u0275\u0275text"](113,"\xa0"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](7),l["\u0275\u0275textInterpolate1"](" ",n.Questions_About_the_App_txt," ")}}var cn=function(e){return[e]};function dn(e,t){1&e&&l["\u0275\u0275element"](0,"mat-spinner",9),2&e&&l["\u0275\u0275property"]("diameter",25)}function un(e,t){if(1&e&&l["\u0275\u0275element"](0,"img",15),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275property"]("src",n.trainer_logo_url,l["\u0275\u0275sanitizeUrl"])}}function pn(e,t){if(1&e&&l["\u0275\u0275element"](0,"img",15),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275property"]("src",n.trainer_image_url,l["\u0275\u0275sanitizeUrl"])}}function hn(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"span",16),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](n.error_message)}}function mn(e,t){1&e&&l["\u0275\u0275element"](0,"mat-spinner",17)}var gn=function(){function e(e,t,n,i,r,a,o,s){var l=this;this.titleService=e,this.dialog=t,this.AccountService=n,this.PermissionsService=i,this.groupService=r,this.router=a,this.translate=o,this.ThemeService=s,this.trainerGroups=[],this.teamGroups=[],this.groups=[],this.headerImage="images/fd_team_listing_banner.png",this.Join_Team_txt="Join Team",this.Join_Move_txt="Join Move Program",this.Learn_More_txt="Learn More",this.Create_a_Team_txt="Create a Team",this.Become_a_Star_Member_txt="Become a Star member",this.more_info_txt="more info",this.Admin_txt="Admin",this.My_Teams_txt="My Teams",this.group_credits_txt="group credits",this.group_credit_txt="group credit",this.No_txt="No",this.Group_Live_Tracking_txt="Group Live Tracking",this.TEAMS_txt="TEAMS",this.TRAINER_txt="TRAINER",this.Message_txt="Message",this.Join_Another_Group_txt="Join Another Group",this.Questions_About_the_App_txt="Questions about the App, Website or Progress? Click here.",this.Click_Join_Move_Program_above_txt="Click Join Move Program above to continue enrollment. For support, please contact",this.with_your_Employee_ID_txt="with your Employee ID and the issue.",this.You_are_currently_enrolled_txt="You are currently enrolled in the Move Program",this.Leave_team_txt="Leave team",this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(e){l.localize(e.lang)})}return e.prototype.ngOnInit=function(){this.host=this.AccountService.getHostname(),this.isThemeBeColorado=this.ThemeService.isThemeBecolorado,this.isAuditing=this.AccountService.isAuditing,this.getUserGroups(),this.isMobileEmbedded=this.ThemeService.isMobileEmbedded,this.setPermissions(),this.isDarkTheme=this.ThemeService.isDarkTheme},e.prototype.localize=function(e){"es"===e?(this.Join_Team_txt="Unirme a un grupo",this.Learn_More_txt="M\xe1s informaci\xf3n",this.Create_a_Team_txt="Crear un grupo",this.Become_a_Star_Member_txt="Convi\xe9rtete en un miembro Estrella",this.more_info_txt="m\xe1s informaci\xf3n",this.Admin_txt="Admin",this.My_Teams_txt="Mis grupos",this.group_credits_txt="cr\xe9ditos grupales",this.group_credit_txt="cr\xe9dito grupal",this.Group_Live_Tracking_txt="Seguimiento de Grupo en Vivo",this.TEAMS_txt="EQUIPOS",this.TRAINER_txt="ENTRENDAOR",this.Message_txt="Mensaje",this.Join_Another_Group_txt="\xdanete a Otro Grupo",this.Questions_About_the_App_txt="\xbfPreguntas Sobre la Aplicaci\xf3n, el Sitio Web o el Progreso? Haga Clic Aqu\xed.",this.Click_Join_Move_Program_above_txt="Haga clic en Unirse al programa Move Move para continuar la inscripci\xf3n. Para soporte, contacte ",this.with_your_Employee_ID_txt="con su identificaci\xf3n de empleado y el problema.",this.You_are_currently_enrolled_txt="Actualmente est\xe1 inscrito en el programa Move",this.Join_Move_txt="Unirse al programa Move",this.No_txt="No",this.Leave_team_txt="Dejar equipo"):"fr"===e?(this.Join_Team_txt="Rejoindre le Groupe",this.Learn_More_txt="Apprendre Encore Plus",this.Create_a_Team_txt="Cr\xe9er un groupe",this.Become_a_Star_Member_txt="Devenir membre Star",this.more_info_txt="plus d'info",this.Admin_txt="Admin",this.My_Teams_txt="Mes groupes",this.group_credits_txt="cr\xe9dits de groupe",this.group_credit_txt="cr\xe9dit de groupe",this.Group_Live_Tracking_txt="Suivi en Direct de Groupe",this.TEAMS_txt="\xc9QUIPES",this.TRAINER_txt="ENTRA\xceNEUR",this.Join_Another_Group_txt="Rejoignez un Autre Groupe",this.Questions_About_the_App_txt="Des Questions sur l'Application, le Site Web ou Progress? Cliquez Ici.",this.Click_Join_Move_Program_above_txt="Cliquez sur Rejoindre le programme Move Move ci-dessus pour continuer l'inscription. Pour obtenir de l'aide, veuillez contacter",this.with_your_Employee_ID_txt="avec votre num\xe9ro d'employ\xe9 et le probl\xe8me.",this.You_are_currently_enrolled_txt="Vous \xeates actuellement inscrit au programme Move",this.Join_Move_txt="Rejoindre le programme Move",this.No_txt="Non",this.Leave_team_txt="Quitter l'\xe9quipe"):"it"===e?(this.Join_Team_txt="Unirsi al gruppo",this.Learn_More_txt="Per Saperne di Pi\xf9",this.Create_a_Team_txt="Crea un gruppo",this.Become_a_Star_Member_txt="Diventa un membro Star",this.more_info_txt="ulteriori info",this.Admin_txt="Admin",this.My_Teams_txt="I Miei Gruppi",this.group_credits_txt="crediti di gruppo",this.group_credit_txt="credito di gruppo",this.Group_Live_Tracking_txt="Rilevamento Live di Gruppo",this.TEAMS_txt="SQUADRE",this.TRAINER_txt="ALLENATORE",this.Message_txt="Messaggio",this.Join_Another_Group_txt="Unisciti a un Altro Gruppo",this.Questions_About_the_App_txt="Domande sull'App, sul Sito Web o Sui Qrogressi? Clicca Qui.",this.Click_Join_Move_Program_above_txt="Fai clic su Iscriviti al programma Move sopra per continuare la registrazione. Per assistenza, contatta",this.with_your_Employee_ID_txt="con il tuo ID dipendente e il problema",this.You_are_currently_enrolled_txt="Attualmente sei iscritto al programma Mov",this.Join_Move_txt="Unisciti al programma Move",this.No_txt="No",this.Leave_team_txt="Lascia la squadra"):"de"===e&&(this.Join_Team_txt="Gruppe Beitreten",this.Learn_More_txt="Lern Mehr",this.Create_a_Team_txt="Erstellen Sie eine Gruppe",this.Become_a_Star_Member_txt="Star-Mitglied werden",this.more_info_txt="mehr Info",this.Admin_txt="Admin",this.My_Teams_txt="Meine Gruppen",this.group_credits_txt="gruppennachweise",this.group_credit_txt="gruppenkredit",this.Group_Live_Tracking_txt="Gruppen-Live-Tracking",this.Message_txt="Nachricht",this.Join_Another_Group_txt="Treten Sie einer Anderen Gruppe Bei",this.Questions_About_the_App_txt="Fragen zur App, Website oder zum Fortschritt? Klick Hier.",this.Click_Join_Move_Program_above_txt="Klicken Sie oben auf Join Move Program, um die Registrierung fortzusetzen. F\xfcr Unterst\xfctzung wenden Sie sich bitte an ",this.with_your_Employee_ID_txt="Mit Ihrer Mitarbeiter-ID und dem Problem.",this.You_are_currently_enrolled_txt="Sie sind derzeit im Umzugsprogramm angemeldet",this.Join_Move_txt="Move-Programm Beitreten",this.No_txt="Nein",this.Leave_team_txt="Team verlassen")},e.prototype.getGroupIconPath=function(e){return this.host+"/api/v2/group_photo?path="+e.group_path+"&photo_type=profile"},e.prototype.setPermissions=function(){var e=this;this.isStarUser=this.PermissionsService.starAccess,this.PermissionsService.getGroupCredits().subscribe(function(t){e.groupCreationCredits=t.response.groupCredits})},e.prototype.messageTrainer=function(e,t){var n=window.screen.width>300?"50vw":"300px";this.dialog.open(yn,{panelClass:this.isDarkTheme?"dark-theme":"",data:t,width:n}).afterClosed().subscribe(function(e){})},e.prototype.leaveGroup=function(e){var t=this;this.dialog.open(vn,{panelClass:this.isDarkTheme?"dark-theme":"",data:e,minWidth:"50vw",maxWidth:"100vw",maxHeight:"100vh"}).afterClosed().subscribe(function(e){e&&t.getUserGroups()})},e.prototype.getUserGroups=function(){var e=this;this.showLoadingOverlay=!0,this.groupService.listGroups().subscribe(function(t){e.showLoadingOverlay=!1,e.groups=t.response.records,e.organizeGroups()})},e.prototype.organizeGroups=function(){this.trainerGroups=[],this.teamGroups=[];var e=this.groups.length;this.hasGroups=e>0;for(var t=0;t<e;t++){var n=new a.a(this.groups[t]);n.isBCGroup&&(this.isBecoloradoEnrolled=!0),9592177===n.id&&(this.isBecoloradoUCH=!0),n.isTrainerGroup?this.trainerGroups.push(n):this.teamGroups.push(n)}this.showLoadingOverlay=!1,this.sortGroups()},e.prototype.sortGroups=function(){this.teamGroups=this.teamGroups.sort(function(e,t){return e.name.localeCompare(t.name)}),this.trainerGroups=this.trainerGroups.sort(function(e,t){return e.name.localeCompare(t.name)})},e.prototype.createGroup=function(){0!==this.groupCreationCredits&&this.router.navigate(["/create-team"])},e.prototype.joinGroup=function(){this.router.navigate(["/join-team"])},e.prototype.subnavJoinMoveProgram2=function(){var e=this;this.joinFailure=!1,this.dialog.open(fn,{panelClass:this.isDarkTheme?"dark-theme":"",width:"90vw"}).afterClosed().subscribe(function(t){console.log("closed"),t&&(e.isBecoloradoEnrolled=!0)})},e.prototype.joinAnotherGroup=function(){this.router.navigate(["/join-team"])},e.prototype.coachCorner=function(e){this.router.navigate(["/groups",e.id])},e.prototype.teamAdmin=function(e){this.router.navigate(["/groups",e.id,"admin"])},e.prototype.groupLiveTracking=function(e){this.router.navigate(["/groups",e.id,"livetracking"])},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](b.Title),l["\u0275\u0275directiveInject"](s.b),l["\u0275\u0275directiveInject"](re.a),l["\u0275\u0275directiveInject"](f.a),l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](r.d),l["\u0275\u0275directiveInject"](c.d),l["\u0275\u0275directiveInject"](y.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-groups"]],decls:8,vars:8,consts:[["id","team-listing",3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[1,"sectionStructure"],[1,"row","margin-top-30",2,"margin-left","0px","margin-right","0px"],[1,"loading-overlay",3,"hidden"],[4,"ngIf"],[1,"main-menu-section-heading"],[2,"float","right","margin-top","-8px"],["mat-icon-button","",3,"matMenuTriggerFor"],["menu","matMenu"],["mat-menu-item","",2,"width","200px",3,"click"],[1,"menu-button-icon","button-text"],[1,"title"],[1,"groupListingOverview"],["style","width:100% !important;",4,"ngIf"],["style","border:1px solid; width:100%; background-color:#3FAE48; color:#fff; text-align:center;",4,"ngIf"],[2,"clear","both"],["class","table table-bordered table-responsive member-status groupTableListing",4,"ngIf"],["class","table table-bordered table-responsive groupTableListing",4,"ngIf"],["style","clear: both; width: 85%; margin: auto;",4,"ngIf"],["class","group-buttons",4,"ngIf"],[2,"width","100% !important"],[1,"groupPageButtonContainer",2,"width","100% !important","text-align","center"],[3,"click"],["mat-raised-button","",1,"groupsPageButton-small","big-button","themedButton",2,"margin","auto","color","inherit"],[1,"groupPageJoinMoveText"],["href","mailto:support@fitdigits.com"],[2,"border","1px solid","width","100%","background-color","#3FAE48","color","#fff","text-align","center"],[1,"table","table-bordered","table-responsive","member-status","groupTableListing"],[1,"groupTh",2,"border","none !important"],[1,"groupTh",2,"float","right","margin-right","30px","border","none !important"],["class","member-animation",4,"ngFor","ngForOf"],[1,"member-animation"],[1,"groupIconSm"],[2,"display","block",3,"click"],[1,"groupIconSmImg",2,"margin-left","0px",3,"src"],[2,"vertical-align","top","border-left","0px","border-right","0px"],[1,"group-admin-column",3,"hidden"],["mat-button","","class","themedButton adminGear",3,"click",4,"ngIf"],["mat-icon-button","",3,"click",4,"ngIf"],["class","groupLiveTracking",3,"click",4,"ngIf"],[1,"group-user",2,"display","block",3,"click"],["mat-button","",1,"themedButton","adminGear",3,"click"],["src","/static/img/gear_icon_white.png",1,"group-admin-gear"],["mat-icon-button","",3,"click"],[1,"groupLiveTracking",3,"click"],["mat-button","",2,"float","right"],["src","/static/img/Asset-1livetracking.png",1,"groupLiveTrackingImg"],[1,"table","table-bordered","table-responsive","groupTableListing"],[1,"groupTh","groupTitleTh",2,"border","none !important"],[1,"groupIconSmImg",3,"src"],["mat-button","","class","themedButton","style","float:right;font-size: 20px; border-radius: 0; margin-right:12px;",3,"click",4,"ngIf"],[1,"group-user",3,"click"],[3,"hidden","click"],[1,"fa","fa-envelope-o",2,"float","left","margin-top","2px"],[1,"group-admin-column"],[1,"group-owner",3,"click"],["mat-button","","class","themedButton adminGear",4,"ngIf"],["mat-button","",1,"themedButton","adminGear"],["mat-button","",1,"themedButton",2,"float","right","font-size","20px","border-radius","0","margin-right","12px",3,"click"],[2,"clear","both","width","85%","margin","auto"],[2,"cursor","pointer","display","block","float","right","padding-bottom","20px",3,"click"],[1,"group-buttons"],[2,"padding-left","45px"],[1,"groupPageButtonContainer",2,"float","right"],["class","themed-clear-button","style","float:right;",3,"click",4,"ngIf"],["class","groupPageButtonContainer","style","float:left;",4,"ngIf"],["class","groupPageButtonContainer","style","width:100%; text-align:center;margin:30px 0px;",4,"ngIf"],[1,"themed-clear-button",2,"float","right",3,"click"],[1,"groupPageButtonContainer",2,"float","left"],["class","themed-clear-button","style","float:left;",3,"hidden","click",4,"ngIf"],["class","themed-clear-button","routerLink","/teams/overview",3,"hidden",4,"ngIf"],[1,"themed-clear-button",2,"float","left",3,"hidden","click"],["routerLink","/teams/overview",1,"themed-clear-button",3,"hidden"],[1,"groupPageButtonContainer",2,"width","100%","text-align","center","margin","30px 0px"],[1,"groupCredits"],["style","width:100%;text-align:center;",4,"ngIf"],["style","width:100%; text-align:center;",4,"ngIf"],[3,"hidden"],["routerLink","/teams/overview","target","_blank",2,"color","#4597CB","text-decoration","none","cursor","pointer"],[2,"width","100%","text-align","center"],[1,"team-graphic"],["src","/static/img/groups_overview.png",1,"group-feature"],["src","/static/img/star-upgrade.png",1,"star-feature"],[2,"clear","both","float","left","width","100%"],[2,"text-align","center","margin","30px"],["class","themed-clear-button",4,"ngIf"],["class","themed-clear-button","routerLink","/teams/overview",4,"ngIf"],[1,"themed-clear-button"],[1,"joinGroupButton",3,"routerLink"],["routerLink","/teams/overview",1,"themed-clear-button"],[2,"text-align","center","clear","both"],["href","http://becolorado.org/programs/be-colorado-move/"],["src","/static/img/be-colorado-faqs-pict.png",2,"margin","auto","width","100%","max-width","508px"],[1,"loggedinnotenrolled-support",2,"padding","30px 10px"],["routerLink","/support",2,"cursor","pointer","display","block","text-decoration","none"],[1,"loggedinnotenrolled-enroll"],["href","https://becolorado.org/programs/be-colorado-move/"],["href","https://itunes.apple.com/us/app/be-colorado.-move./id616346637?mt=8"],["href","https://play.google.com/store/apps/details?id=com.fitdigits.becolorado.app&hl=en"],["routerLink","/partners"],[1,"list-spacing"],["routerLink","/"],["routerLink","/groups"],["routerLink","/partners/fitbit"],["routerLink","/home"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",0),l["\u0275\u0275template"](1,Tt,19,10,"div",1),l["\u0275\u0275elementStart"](2,"div",2),l["\u0275\u0275elementStart"](3,"section",3),l["\u0275\u0275element"](4,"div",4),l["\u0275\u0275template"](5,rn,10,6,"div",5),l["\u0275\u0275template"](6,sn,15,2,"div",5),l["\u0275\u0275template"](7,ln,114,1,"div",5),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275property"]("ngClass",l["\u0275\u0275pureFunction1"](6,cn,t.ThemeService.isDarkTheme?"dark-theme":"")),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded&&t.AccountService.isLoggedIn),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.AccountService.isLoggedIn),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeFitdigits&&!t.showLoadingOverlay),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.ThemeService.isThemeBecolorado))},directives:[h.NgClass,h.NgIf,u.b,ge.d,fe.a,ge.a,ge.b,h.NgForOf,r.e,r.f],pipes:[c.c,h.UpperCasePipe],styles:[".team-graphic[_ngcontent-%COMP%]{padding-top:20px;height:190px;width:100%;max-width:960px;margin:auto;text-align:center}.groupTableListing[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{border:none}.groupTableListing[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]:hover{text-decoration:none;color:#4597cb!important}.adminGear[_ngcontent-%COMP%]{float:right;margin-top:5px}.groupCredits[_ngcontent-%COMP%]{min-width:230px;text-align:center;clear:both;margin:60px auto auto}.leave-group[_ngcontent-%COMP%]{float:right;font-size:20px;border-radius:0;margin:0 12px 0 0}a[_ngcontent-%COMP%]:hover{cursor:pointer;text-decoration:none}a[_ngcontent-%COMP%]{color:#4597cb}.group-user[_ngcontent-%COMP%]{font-size:20px;cursor:pointer;display:block}.group-buttons[_ngcontent-%COMP%]{width:100%;float:left;margin-top:30px}.group-feature[_ngcontent-%COMP%]{width:300px;margin-left:-130px}.themedButton[_ngcontent-%COMP%]{background-color:transparent!important}.star-feature[_ngcontent-%COMP%]{height:190px;float:left;margin:-80px 0 0 -30px}@media (max-width:600px){.group-user[_ngcontent-%COMP%]{font-size:20px;margin-top:10px}}"]}),e}(),fn=function(){function e(e,t,n,i,r,a){this.dialog=e,this.groupService=t,this.ThemeService=n,this.translate=i,this.dialogRef=r,this.AccountService=a,this.ableToJoin=!0,this.Move_Program_Enrollment_txt="Move Program Enrollment",this.Cancel_txt="Cancel",this.Last_Name_txt="Last Name",this.Employee_ID_txt="Employee ID",this.Joining_a_program_txt="Joining the program is subject to accepting the Fitdigits and CU Health. Move.",this.Participant_Agreement_txt="Participant Agreement",this.and_the_txt="and the",this.terms_and_conditions_txt="terms and conditions",this.which_will_be_presented_txt="which will be presented on the following screen.",this.Next_txt="Next"}return e.prototype.ngOnInit=function(){var e=this;this.isDarkTheme=this.ThemeService.isDarkTheme,this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(t){e.localize(t.lang)})},e.prototype.localize=function(e){"es"==e?(this.Move_Program_Enrollment_txt="Programmregistrierung Verschieben",this.Cancel_txt="Stornieren",this.Last_Name_txt="Nachname",this.Employee_ID_txt="Mitarbeiter-ID",this.Joining_a_program_txt="F\xfcr die Teilnahme an einem Programm m\xfcssen die Fitdigits und CU Health akzeptiert werden. Bewegung.",this.Participant_Agreement_txt="Teilnehmervereinbarung",this.and_the_txt="und der",this.terms_and_conditions_txt="Gesch\xe4ftsbedingungen",this.which_will_be_presented_txt="die auf dem folgenden Bildschirm angezeigt wird.",this.Next_txt="N\xe4chster"):"fr"==e?(this.Move_Program_Enrollment_txt="D\xe9placer l'inscription au programme",this.Cancel_txt="Annuler",this.Last_Name_txt="Nom de famille",this.Employee_ID_txt="ID d'employ\xe9",this.Joining_a_program_txt="Rejoindre un programme est soumis \xe0 l'acceptation des Fitdigits et CU Health. Bouge toi.",this.Participant_Agreement_txt="Accord du participant",this.and_the_txt="et le",this.terms_and_conditions_txt="Termes et conditions",this.which_will_be_presented_txt="qui sera pr\xe9sent\xe9 sur l'\xe9cran suivant.",this.Next_txt="Prochain"):"it"==e?(this.Move_Program_Enrollment_txt="Sposta iscrizione al programma",this.Cancel_txt="Annulla",this.Last_Name_txt="Cognome",this.Employee_ID_txt="Numero Identit\xe0 dell'impiegato",this.Joining_a_program_txt="Partecipare a un programma \xe8 soggetto all'accettazione di Fitdigits e CU Health. Mossa.",this.Participant_Agreement_txt="Accordo per i partecipanti",this.and_the_txt="e il",this.terms_and_conditions_txt="termini e condizioni",this.which_will_be_presented_txt="che verr\xe0 presentato nella schermata seguente.",this.Next_txt="Il prossimo"):"de"==e&&(this.Move_Program_Enrollment_txt="Programmregistrierung verschieben",this.Cancel_txt="Stornieren",this.Last_Name_txt="Nachname",this.Employee_ID_txt="Mitarbeiter-ID",this.Joining_a_program_txt="F\xfcr die Teilnahme an einem Programm m\xfcssen die Fitdigits und CU Health akzeptiert werden. Bewegung.",this.Participant_Agreement_txt="Teilnehmervereinbarung",this.and_the_txt="und der",this.terms_and_conditions_txt="Gesch\xe4ftsbedingungen",this.which_will_be_presented_txt="die auf dem folgenden Bildschirm angezeigt wird.",this.Next_txt="N\xe4chster")},e.prototype.nextAgreement=function(e,t){var n=this;this.idIsValid(t)?this.dialog.open(It.a,{panelClass:this.isDarkTheme?"dark-theme":"",width:"50vw",maxHeight:"90vh",disableClose:!0}).afterClosed().subscribe(function(e){e?n.groupService.BCEnroll(n.employee_id,n.last_name).subscribe(function(e){if(e.response.error){if("11108"==e.response.error.code){var t=e.response.error.message.split(":")[1];n.joinFailureTxt=n.translate.instant("ERROR."+e.response.error.code,{value:t})}else n.joinFailureTxt=n.translate.instant("ERROR."+e.response.error.code);n.ableToJoin=!1}else n.dialogRef.close(!0)}):n.dialogRef.close(!1)}):(this.ableToJoin=!1,this.joinFailureTxt="UCHealth no longer participates in the Move. program. If you have any questions please contact questions@becolorado.org")},e.prototype.idIsValid=function(e){return 4===e.length||6===e.length},e.prototype.tryEmployeeJoinGroup=function(){var e,t,n=!1;try{for(var i=Object(Mt.__values)(["9595181","9605139","9592177","9967050","6128464457367552"]),r=i.next();!r.done;r=i.next())return this.groupService.companyEmployeeJoinGroup({employeeID:this.employee_id,lastName:this.last_name,pipe_path:r.value}).subscribe(function(e){e.response.error||(n=!0)}),n||n}catch(a){e={error:a}}finally{try{r&&!r.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](s.b),l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](y.a),l["\u0275\u0275directiveInject"](c.d),l["\u0275\u0275directiveInject"](s.f),l["\u0275\u0275directiveInject"](re.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-join-move"]],decls:37,vars:18,consts:[[1,"modal-header","md-primary",2,"background-color","#4597CB"],["mat-button","",1,"md-icon-button",2,"font-size","20px","float","right","margin-top","-8px",3,"click"],["src","/static/img/icons/deleteXIconWhite.png"],[2,"margin","0px"],[1,"modal-body"],["name","forgotPasswordForm",1,"form-horizontal","form-validation"],[1,"form-group"],[1,"col-sm-3"],[2,"padding-top","8px"],[1,"col-sm-9"],["type","text","required","","name","last_name",1,"form-control",3,"ngModel","ngModelChange"],["type","text","required","","name","employee_id",1,"form-control",3,"ngModel","ngModelChange"],["id","signUpAgree",3,"hidden"],["href","https://www.fitdigits.com/becolorado/becolorado-participant-agreement.html","target","_blank"],["href","http://www.fitdigits.com/terms-and-conditions.html","target","_blank"],[2,"text-align","right","display","block"],["type","button",1,"btn-primary","float-right","themedRoundButton",3,"click"],[3,"hidden"],["id","",1,"popupFailureMsg"],["src","/static/img/icons/erroricon_sm.png",2,"padding-right","10px"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",0),l["\u0275\u0275elementStart"](1,"button",1),l["\u0275\u0275listener"]("click",function(){return t.dialogRef.close()}),l["\u0275\u0275element"](2,"img",2),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](3,"h3",3),l["\u0275\u0275text"](4),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"div",4),l["\u0275\u0275elementStart"](6,"form",5),l["\u0275\u0275elementStart"](7,"fieldset"),l["\u0275\u0275elementStart"](8,"div",6),l["\u0275\u0275elementStart"](9,"div",7),l["\u0275\u0275elementStart"](10,"label",8),l["\u0275\u0275text"](11),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](12,"div",9),l["\u0275\u0275elementStart"](13,"input",10),l["\u0275\u0275listener"]("ngModelChange",function(e){return t.last_name=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](14,"fieldset"),l["\u0275\u0275elementStart"](15,"div",6),l["\u0275\u0275elementStart"](16,"div",7),l["\u0275\u0275elementStart"](17,"label",8),l["\u0275\u0275text"](18),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](19,"div",9),l["\u0275\u0275elementStart"](20,"input",11),l["\u0275\u0275listener"]("ngModelChange",function(e){return t.employee_id=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](21,"div",12),l["\u0275\u0275text"](22),l["\u0275\u0275elementStart"](23,"a",13),l["\u0275\u0275text"](24),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](25),l["\u0275\u0275elementStart"](26,"a",14),l["\u0275\u0275text"](27),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](28),l["\u0275\u0275element"](29,"br"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](30,"section",15),l["\u0275\u0275elementStart"](31,"button",16),l["\u0275\u0275listener"]("click",function(){return t.nextAgreement(t.last_name,t.employee_id)}),l["\u0275\u0275text"](32),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](33,"div",17),l["\u0275\u0275elementStart"](34,"div",18),l["\u0275\u0275element"](35,"img",19),l["\u0275\u0275text"](36),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](1),l["\u0275\u0275attribute"]("aria-label",t.Cancel_txt),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](t.Move_Program_Enrollment_txt),l["\u0275\u0275advance"](7),l["\u0275\u0275textInterpolate"](t.Last_Name_txt),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngModel",t.last_name),l["\u0275\u0275attribute"]("aria-label",t.Last_Name_txt),l["\u0275\u0275advance"](5),l["\u0275\u0275textInterpolate"](t.Employee_ID_txt),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngModel",t.employee_id),l["\u0275\u0275attribute"]("aria-label",t.Employee_ID_txt),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("hidden",!t.ableToJoin),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",t.Joining_a_program_txt," "),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](t.Participant_Agreement_txt),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",t.and_the_txt," "),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](t.terms_and_conditions_txt),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",t.which_will_be_presented_txt,""),l["\u0275\u0275advance"](3),l["\u0275\u0275attribute"]("aria-label",t.Next_txt),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate"](t.Next_txt),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("hidden",t.ableToJoin),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](t.joinFailureTxt))},directives:[u.b,p.z,p.p,p.q,p.c,p.w,p.o,p.r],styles:[""]}),e}(),vn=function(){function e(e,t,n,i){this.dialogRef=e,this.group_id=t,this.groupService=n,this.translate=i,this.loading=!1,this.Leave_Group_txt="Leave Group",this.Leave_txt="Leave",this.Cancel_txt="Cancel",this.Are_You_Sure_txt="Are You Sure?",this.error_message=!1}return e.prototype.ngOnInit=function(){var e=this;this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(t){e.localize(t.lang)})},e.prototype.localize=function(e){"es"==e?(this.Leave_Group_txt="Abandonar Grupo",this.Leave_txt="Salir",this.Cancel_txt="Cancelar",this.Are_You_Sure_txt="\xbfEst\xe1s Seguro?"):"fr"==e?(this.Leave_Group_txt="Quitter le Groupe",this.Leave_txt="Laisser",this.Cancel_txt="Annuler",this.Are_You_Sure_txt="\xcates-vous S\xfbr?"):"it"==e?(this.Leave_Group_txt="Lascia il Gruppo",this.Leave_txt="Partire",this.Cancel_txt="Annulla",this.Are_You_Sure_txt="Sei Sicuro?"):"de"==e&&(this.Leave_Group_txt="Gruppe Verlassen",this.Leave_txt="Verlassen",this.Cancel_txt="Stornieren",this.Are_You_Sure_txt="Bist du sicher?")},e.prototype.leaveGroup=function(){var e=this;this.loading=!0,this.error_message=!1,this.groupService.leaveGroup(this.group_id).subscribe(function(t){t.response.error?(e.loading=!1,e.error_message=e.translate.instant("ERROR."+t.response.error.code)):(e.loading=!1,e.dialogRef.close(!0))})},e.prototype.cancel=function(){this.dialogRef.close(!1)},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](s.f),l["\u0275\u0275directiveInject"](s.a),l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](c.d))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-leave-group"]],decls:16,vars:7,consts:[["mat-dialog","","aria-label","Leave Group"],["color","primary"],["mat-dialog-title",""],[2,"flex","1 1 auto"],["mat-icon-button","",2,"font-size","20px","border-radius","0",3,"click"],[2,"text-align","center","margin-top","50px","margin-bottom","50px"],["layout","row","layout-align","center center"],[1,"delete-cancel",2,"min-width","212px","margin","auto",3,"disabled","click"],["style","display: inline-flex;vertical-align: middle;padding-bottom: 5px;",3,"diameter",4,"ngIf"],[2,"display","inline-flex","vertical-align","middle","padding-bottom","5px",3,"diameter"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",0),l["\u0275\u0275elementStart"](1,"mat-toolbar",1),l["\u0275\u0275elementStart"](2,"h3",2),l["\u0275\u0275text"](3),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](4,"span",3),l["\u0275\u0275elementStart"](5,"button",4),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275elementStart"](6,"mat-icon"),l["\u0275\u0275text"](7,"close"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](8,"mat-dialog-content",5),l["\u0275\u0275elementStart"](9,"h5"),l["\u0275\u0275text"](10),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](11,"mat-dialog-actions",6),l["\u0275\u0275elementStart"](12,"button",7),l["\u0275\u0275listener"]("click",function(){return t.leaveGroup()}),l["\u0275\u0275elementStart"](13,"span"),l["\u0275\u0275text"](14),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](15,dn,1,1,"mat-spinner",8),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"](" ",t.Leave_Group_txt," "),l["\u0275\u0275advance"](2),l["\u0275\u0275attribute"]("aria-label",t.Cancel_txt),l["\u0275\u0275advance"](5),l["\u0275\u0275textInterpolate1"](" ",t.Are_You_Sure_txt," "),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("disabled",t.loading),l["\u0275\u0275attribute"]("aria-label",t.Leave_txt),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](t.Leave_txt),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.loading))},directives:[d.a,s.g,u.b,fe.a,s.d,s.c,h.NgIf,ee.c],styles:[""]}),e}(),yn=function(){function e(e,t,n,i){this.inboxService=e,this.dialogRef=t,this.translate=n,this.trainer=i,this.To_txt="To",this.Title_txt="Title",this.characters_left_txt="characters left",this.Send_txt="Send",this.Close_txt="Close",this.Message_txt="Message",this.maxTitleLength=50,this.maxMessageLength=280,this.messageTitle="",this.messageText="",this.loading=!1}return e.prototype.ngOnInit=function(){var e=this;this.trainer_logo_url="https://my.fitdigits.com/api/v2/group_member_photo/"+this.trainer.id,this.trainer_image_url="https://storage.googleapis.com/image_manager/profile_image/"+this.trainer.id+"/"+this.trainer.image_filename,this.localize(this.translate.currentLang),this.translate.onLangChange.subscribe(function(t){e.localize(t.lang)})},e.prototype.localize=function(e){"es"==e?(this.To_txt="A",this.Title_txt="T\xedtulo",this.characters_left_txt="quedan caracteres",this.Send_txt="Enviar",this.Close_txt="Cerca",this.Message_txt="Mensaje"):"fr"==e?(this.To_txt="\xc0",this.Title_txt="Titre",this.characters_left_txt="caract\xe8res restants",this.Send_txt="Envoyer",this.Close_txt="Proche"):"it"==e?(this.To_txt="Per",this.Title_txt="Titolo",this.characters_left_txt="caratteri rimanenti",this.Send_txt="Spedire",this.Close_txt="Vicino",this.Message_txt="Messaggio"):"de"==e&&(this.To_txt="Zu",this.Title_txt="Titel",this.characters_left_txt="Zeichen \xfcbrig",this.Send_txt="Senden",this.Close_txt="Schlie\xdfen",this.Message_txt="Nachricht")},e.prototype.sendMessage=function(){var e=this;this.loading=!0,this.error_message=!1,this.inboxService.createConversation([this.trainer.id],this.messageTitle,this.messageText).subscribe(function(t){t.response.error?(e.loading=!1,e.error_message=t.response.error.message):(e.loading=!1,e.dialogRef.close(!0))})},e.prototype.cancel=function(){this.dialogRef.close(!1)},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](ae.a),l["\u0275\u0275directiveInject"](s.f),l["\u0275\u0275directiveInject"](c.d),l["\u0275\u0275directiveInject"](s.a))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-message-trainer"]],decls:28,vars:21,consts:[["mat-dialog","","aria-label","Message Trainer"],["color","primary"],["mat-dialog-title",""],[1,"fa","fa-envelope-o","fa-fw","position"],[2,"flex","1 1 auto"],["mat-icon-button","",2,"font-size","20px","border-radius","0",3,"click"],[2,"width","100%","display","flex","padding-top","15px"],["style","max-height: 64px;",3,"src",4,"ngIf"],["appearance","outline",2,"width","100%",3,"hintLabel"],["matInput","",3,"maxLength","placeholder","ngModel","ngModelChange"],["matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","5","cdkAutosizeMaxRows","10",3,"maxLength","ngModel","ngModelChange"],["layout","row",2,"display","flex"],["style","color: red",4,"ngIf"],["diameter","20",4,"ngIf"],["mat-raised-button","",3,"disabled","click"],[2,"max-height","64px",3,"src"],[2,"color","red"],["diameter","20"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",0),l["\u0275\u0275elementStart"](1,"mat-toolbar",1),l["\u0275\u0275elementStart"](2,"h3",2),l["\u0275\u0275element"](3,"i",3),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](4,"span",4),l["\u0275\u0275elementStart"](5,"button",5),l["\u0275\u0275listener"]("click",function(){return t.cancel()}),l["\u0275\u0275elementStart"](6,"mat-icon"),l["\u0275\u0275text"](7,"close"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](8,"mat-dialog-content"),l["\u0275\u0275elementStart"](9,"div",6),l["\u0275\u0275elementStart"](10,"p"),l["\u0275\u0275text"](11),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](12,"span",4),l["\u0275\u0275template"](13,un,1,1,"img",7),l["\u0275\u0275template"](14,pn,1,1,"img",7),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](15,"br"),l["\u0275\u0275elementStart"](16,"mat-form-field",8),l["\u0275\u0275elementStart"](17,"input",9),l["\u0275\u0275listener"]("ngModelChange",function(e){return t.messageTitle=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](18,"br"),l["\u0275\u0275elementStart"](19,"mat-form-field",8),l["\u0275\u0275elementStart"](20,"textarea",10),l["\u0275\u0275listener"]("ngModelChange",function(e){return t.messageText=e}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](21,"mat-dialog-actions",11),l["\u0275\u0275template"](22,hn,2,1,"span",12),l["\u0275\u0275template"](23,mn,1,0,"mat-spinner",13),l["\u0275\u0275element"](24,"span",4),l["\u0275\u0275elementStart"](25,"button",14),l["\u0275\u0275listener"]("click",function(){return t.sendMessage()}),l["\u0275\u0275elementStart"](26,"span"),l["\u0275\u0275text"](27),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](5),l["\u0275\u0275attribute"]("aria-label",t.Close_txt),l["\u0275\u0275advance"](6),l["\u0275\u0275textInterpolate2"](" ",t.To_txt,": ",t.trainer.name," "),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",!t.trainer.has_image),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.trainer.has_image),l["\u0275\u0275advance"](2),l["\u0275\u0275propertyInterpolate2"]("hintLabel","",t.maxTitleLength-t.messageTitle.length," ",t.characters_left_txt,""),l["\u0275\u0275advance"](1),l["\u0275\u0275propertyInterpolate"]("placeholder",t.Title_txt),l["\u0275\u0275property"]("maxLength",t.maxTitleLength)("ngModel",t.messageTitle),l["\u0275\u0275attribute"]("aria-label",t.Title_txt),l["\u0275\u0275advance"](2),l["\u0275\u0275propertyInterpolate2"]("hintLabel","",t.maxMessageLength-t.messageText.length," ",t.characters_left_txt,""),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("maxLength",t.maxMessageLength)("ngModel",t.messageText),l["\u0275\u0275attribute"]("aria-label",t.Message_txt),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",t.error_message),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",t.loading),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("disabled",t.loading),l["\u0275\u0275attribute"]("aria-label",t.Send_txt),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate"](t.Send_txt))},directives:[d.a,s.g,u.b,fe.a,s.d,h.NgIf,w.c,S.b,p.c,p.o,p.r,Pt.b,s.c,ee.c],styles:[""]}),e}(),bn=n("FoCD"),xn=n("wZkO"),_n=n("ePeK"),wn=n("kHM/"),Sn=n("BwfH"),Cn=n("TU8p");function kn(e,t){1&e&&l["\u0275\u0275element"](0,"mat-progress-bar",5)}function On(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"span",30),l["\u0275\u0275text"](1,"\xa0"),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]().$implicit,i=l["\u0275\u0275nextContext"](3);l["\u0275\u0275propertyInterpolate"]("matBadge",i.activities[n.dateString].length)}}var En=function(e){return{backgroundColor:e}};function Mn(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div",31),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=t.$implicit;return l["\u0275\u0275nextContext"](3).showDay(e)}),l["\u0275\u0275elementStart"](1,"div",32),l["\u0275\u0275elementStart"](2,"div",33),l["\u0275\u0275text"](3),l["\u0275\u0275pipe"](4,"date"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](5,"div",34),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](6,"div",35),l["\u0275\u0275template"](7,On,2,1,"span",36),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=t.$implicit,r=l["\u0275\u0275nextContext"](3);l["\u0275\u0275property"]("ngStyle",l["\u0275\u0275pureFunction1"](6,En,r.selectedString==i.dateString?"#98BFDE":"")),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind2"](4,3,i.time,"d")),l["\u0275\u0275advance"](4),l["\u0275\u0275property"]("ngIf",r.activities[i.dateString])}}function In(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"tr",25),l["\u0275\u0275elementStart"](1,"td",26),l["\u0275\u0275elementStart"](2,"div"),l["\u0275\u0275template"](3,Mn,8,8,"div",27),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](4,"div",17),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=t.index;return l["\u0275\u0275nextContext"](2).selectWeek(e)}),l["\u0275\u0275elementStart"](5,"div",28),l["\u0275\u0275elementStart"](6,"div",29),l["\u0275\u0275elementStart"](7,"span",30),l["\u0275\u0275text"](8,"\xa0"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=t.$implicit,r=t.index,a=l["\u0275\u0275nextContext"](2);l["\u0275\u0275property"]("ngStyle",l["\u0275\u0275pureFunction1"](3,En,a.selectedString==r?"#98BFDE":"")),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngForOf",i),l["\u0275\u0275advance"](4),l["\u0275\u0275propertyInterpolate"]("matBadge",a.weekData[r].length)}}function Pn(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1),l["\u0275\u0275pipe"](2,"date"),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" - ",l["\u0275\u0275pipeBind2"](2,1,n.selectedDateRange[1],"fullDate"),"")}}function Tn(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"td",20),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"]().$implicit;return l["\u0275\u0275nextContext"](2).export(e.id,e.summary.accountID)}),l["\u0275\u0275elementStart"](1,"mat-icon"),l["\u0275\u0275text"](2,"download"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}}function Dn(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"td",43),l["\u0275\u0275text"](1," \xa0 "),l["\u0275\u0275elementEnd"]())}var Ln=function(e){return{"background-image":e}};function Rn(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"tr",37),l["\u0275\u0275elementStart"](1,"td",38),l["\u0275\u0275listener"]("click",function(e){l["\u0275\u0275restoreView"](n);var i=t.$implicit;return l["\u0275\u0275nextContext"](2).goToActivity(e,i.shareId)}),l["\u0275\u0275element"](2,"img",39),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](3,"td",17),l["\u0275\u0275listener"]("click",function(e){l["\u0275\u0275restoreView"](n);var i=t.$implicit;return l["\u0275\u0275nextContext"](2).goToActivity(e,i.shareId)}),l["\u0275\u0275elementStart"](4,"div",40),l["\u0275\u0275text"](5),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](6,"td",20),l["\u0275\u0275listener"]("click",function(e){l["\u0275\u0275restoreView"](n);var i=t.$implicit;return l["\u0275\u0275nextContext"](2).goToActivity(e,i.shareId)}),l["\u0275\u0275text"](7),l["\u0275\u0275pipe"](8,"number"),l["\u0275\u0275pipe"](9,"milesToKm"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](10,"td",20),l["\u0275\u0275listener"]("click",function(e){l["\u0275\u0275restoreView"](n);var i=t.$implicit;return l["\u0275\u0275nextContext"](2).goToActivity(e,i.shareId)}),l["\u0275\u0275text"](11),l["\u0275\u0275pipe"](12,"number"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](13,"td",20),l["\u0275\u0275listener"]("click",function(e){l["\u0275\u0275restoreView"](n);var i=t.$implicit;return l["\u0275\u0275nextContext"](2).goToActivity(e,i.shareId)}),l["\u0275\u0275text"](14),l["\u0275\u0275pipe"](15,"secondsToH"),l["\u0275\u0275elementStart"](16,"small",14),l["\u0275\u0275pipe"](17,"secondsToH"),l["\u0275\u0275text"](18,"h"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275text"](19),l["\u0275\u0275pipe"](20,"secondsToM"),l["\u0275\u0275elementStart"](21,"small",14),l["\u0275\u0275pipe"](22,"secondsToM"),l["\u0275\u0275text"](23,"m"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](24,Tn,3,0,"td",41),l["\u0275\u0275template"](25,Dn,2,0,"td",42),l["\u0275\u0275elementEnd"]()}if(2&e){var i=t.$implicit,r=l["\u0275\u0275nextContext"](2);l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngStyle",l["\u0275\u0275pureFunction1"](29,Ln,"url("+i.account.profilePhoto+")")),l["\u0275\u0275advance"](1),l["\u0275\u0275propertyInterpolate"]("src",i.icon,l["\u0275\u0275sanitizeUrl"]),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](i.displayTitle),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"](" ",r.isMetric?i.distance?l["\u0275\u0275pipeBind3"](9,14,i.distance,r.isMetric,2):"--":i.distance?l["\u0275\u0275pipeBind2"](8,11,i.distance,"1.2-2"):"--"," "),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate1"](" ",i.calories?l["\u0275\u0275pipeBind2"](12,18,i.calories,"1.0-0"):"--",""),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](15,21,i.elapsedSeconds),""),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("hidden",!l["\u0275\u0275pipeBind1"](17,23,i.elapsedSeconds)),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](20,25,i.elapsedSeconds),""),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("hidden",!l["\u0275\u0275pipeBind1"](22,27,i.elapsedSeconds)),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngIf",null==i||null==i.summary||null==i.summary.accountID?null:i.summary.accountID.length),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!(null!=i&&null!=i.summary&&null!=i.summary.accountID&&i.summary.accountID.length))}}function jn(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div",6),l["\u0275\u0275elementStart"](1,"table",7),l["\u0275\u0275elementStart"](2,"thead"),l["\u0275\u0275elementStart"](3,"tr",8),l["\u0275\u0275elementStart"](4,"td"),l["\u0275\u0275elementStart"](5,"div",9),l["\u0275\u0275text"](6,"S"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](7,"div",9),l["\u0275\u0275text"](8,"M"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](9,"div",9),l["\u0275\u0275text"](10,"T"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](11,"div",9),l["\u0275\u0275text"](12,"W"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](13,"div",9),l["\u0275\u0275text"](14,"T"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](15,"div",9),l["\u0275\u0275text"](16,"F"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](17,"div",9),l["\u0275\u0275text"](18,"S"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](19,"div",9),l["\u0275\u0275text"](20),l["\u0275\u0275pipe"](21,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](22,"tbody",10),l["\u0275\u0275template"](23,In,9,5,"tr",11),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](24,"div",12),l["\u0275\u0275elementStart"](25,"div"),l["\u0275\u0275text"](26),l["\u0275\u0275pipe"](27,"date"),l["\u0275\u0275template"](28,Pn,3,4,"span",13),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](29,"div",14),l["\u0275\u0275text"](30,"Please select a date"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](31,"table",15),l["\u0275\u0275elementStart"](32,"thead",16),l["\u0275\u0275elementStart"](33,"th",17),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().sortActivities("ecomodule")}),l["\u0275\u0275element"](34,"img",18),l["\u0275\u0275element"](35,"img",19),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](36,"th",17),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().sortActivities("displayTitle")}),l["\u0275\u0275text"](37),l["\u0275\u0275pipe"](38,"translate"),l["\u0275\u0275element"](39,"img",18),l["\u0275\u0275element"](40,"img",19),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](41,"th",20),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().sortActivities("distance")}),l["\u0275\u0275element"](42,"img",21),l["\u0275\u0275elementStart"](43,"span",14),l["\u0275\u0275text"](44),l["\u0275\u0275pipe"](45,"capitalize"),l["\u0275\u0275pipe"](46,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](47,"span",14),l["\u0275\u0275text"](48),l["\u0275\u0275pipe"](49,"capitalize"),l["\u0275\u0275pipe"](50,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](51,"img",18),l["\u0275\u0275element"](52,"img",19),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](53,"th",20),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().sortActivities("calories")}),l["\u0275\u0275element"](54,"img",22),l["\u0275\u0275text"](55),l["\u0275\u0275pipe"](56,"translate"),l["\u0275\u0275element"](57,"img",18),l["\u0275\u0275element"](58,"img",19),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](59,"th",20),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().sortActivities("elapsedSeconds")}),l["\u0275\u0275element"](60,"img",23),l["\u0275\u0275element"](61,"img",18),l["\u0275\u0275element"](62,"img",19),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](63,"tbody"),l["\u0275\u0275template"](64,Rn,26,31,"tr",24),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](20),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](21,22,"ROOT.Totals")),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngForOf",i.month),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"]("",l["\u0275\u0275pipeBind2"](27,24,i.selectedDateRange[0],"fullDate")," "),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",i.selectedDateRange[1]),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("hidden",i.selectedActivities.length>0),l["\u0275\u0275advance"](5),l["\u0275\u0275property"]("hidden",!("ecomodule"==i.currentSortedType&&1==i.reverse)),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("hidden",!("ecomodule"==i.currentSortedType&&0==i.reverse)),l["\u0275\u0275advance"](2),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](38,27,"ROOT.Title")," "),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("hidden",!("displayTitle"==i.currentSortedType&&1==i.reverse)),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("hidden",!("displayTitle"==i.currentSortedType&&0==i.reverse)),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("hidden",i.isMetric),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](45,29,l["\u0275\u0275pipeBind1"](46,31,"ROOT.mi")),""),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("hidden",!i.isMetric),l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](49,33,l["\u0275\u0275pipeBind1"](50,35,"ROOT.km")),""),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("hidden",!("distance"==i.currentSortedType&&1==i.reverse)),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("hidden",!("distance"==i.currentSortedType&&0==i.reverse)),l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](56,37,"ROOT.Cal")," "),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("hidden",!("calories"==i.currentSortedType&&0==i.reverse)),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("hidden",!("calories"==i.currentSortedType&&1==i.reverse)),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("hidden",!("elapsedSeconds"==i.currentSortedType&&0==i.reverse)),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("hidden",!("elapsedSeconds"==i.currentSortedType&&1==i.reverse)),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngForOf",i.selectedActivities)}}var An=function(){function e(e,t,n,i,r,a,o){this.router=e,this.WorkoutTypes=t,this.ThemeService=n,this.GroupService=i,this.translate=r,this.AccountService=a,this.workoutService=o,this.weekData=[],this.weekActivities=[],this.loading=!0,this.totals={},this.activities={},this.weeklyview=!1,this.selectedActivities=[],this.isMetric=!1,this.isDarkTheme=!1,this.currentSortedType="",this.showLoadingOverlay=!1,this.showweek=1,this.activitiesForDay=[],this.length=length}return e.prototype.displayEventsForDayDiv=function(e){},e.prototype.getTotalsForDay=function(){},e.prototype.export=function(e,t){var n=this;this.workoutService.exportGroupWorkout(e,t,"tcx").subscribe(function(e){e.response&&e.response.file_id?(n.redirect_uri="/api/v2/table/download?file_id="+e.response.file_id+"&account_id="+t,console.log(n.redirect_uri),window.open(n.redirect_uri,"_blank")):console.error("Invalid file_id:",e)})},e.prototype.goToActivity=function(e,t){!0===e.ctrlKey?window.open("activity-share/"+t,"_blank"):this.router.navigate(["/activity-share",t])},e.prototype.addActivitiesToCalendar=function(e){for(var t=0;t<e.length;t++){var n=e[t],i=e[t].workoutDate.split("T")[0];this.activities.hasOwnProperty(i)||(this.activities[i]=[]),this.activities[i].push(n)}},e.prototype.sortActivities=function(e){},e.prototype.inMonth=function(e){var t=new Date(e),n=new Date(this.startOfMonth);return n=Object(I.m)(1,n),t.getMonth()===new Date(n).getMonth()},e.prototype.constructMonth=function(e){var t=this;this.loading=!0,this.month=[],this.activities={};var n,i,r=ue();this.daysInMonth=this.currMonthStart.year()==r.year()&&this.currMonthStart.month()==r.month()?r.date():this.endOfMonth.date();var a,o=new Date(e.year(),e.month(),1),s=new Date(e.year(),e.month()+1,0),l=864e5;o.getDay()>0&&(o=new Date(o.getTime()-l*o.getDay())),s.getDay()<=6&&(s=new Date(s.getTime()+l*(7-s.getDay()))),n=o.getTime(),i=s.getTime(),this.GroupService.listGroupFeed(this.group.id,this.startOfMonth,this.endOfMonth).subscribe(function(e){console.log("feed");for(var r=n,o=0;r<i;r+=l){var s=new Date(r);a&&a<s.getTimezoneOffset()&&(s.setHours(s.getHours()+1),r+=l),a=s.getTimezoneOffset();var c={time:r,dateString:(s=new Date(s)).getFullYear()+"-"+Object(I.I)(s.getMonth()+1)+"-"+Object(I.I)(s.getDate())};t.inMonth(s),o%7==0&&t.month.push([]),t.month[t.month.length-1].push(c),o++}for(var d=0;d<e.response.response.length;d++){var u=new _n.a(e.response.response[d],t.WorkoutTypes,t.translate.currentLang);try{t.activities[u.summary.accountID[d]]=e.response.response[d].summary.account.account}catch(p){console.log(p)}null==t.activities[u.dateString.split("T")[0]]&&(t.activities[u.dateString.split("T")[0]]=[]),t.activities[u.dateString.split("T")[0]].push(u)}t.selectedActivities=null!=t.activities[t.today.toISOString().split("T")[0]]?t.activities[t.today.toISOString().split("T")[0]]:[],t.selectedString=t.today.toISOString().split("T")[0],t.selectedDateRange=[t.today,null],t.generateWeeklyTotals()})},e.prototype.generateWeeklyTotals=function(){this.weekData=[],this.weekActivities=[];for(var e=0;e<this.month.length;e++){for(var t=[],n=0;n<this.month[e].length;n++)null!=this.activities[this.month[e][n].dateString]&&(t=t.concat(this.activities[this.month[e][n].dateString]));this.weekData.push(t)}this.loading=!1},e.prototype.selectWeek=function(e){this.selectedActivities=this.weekData[e],this.selectedString=e,this.selectedDateRange=[this.month[e][0].time,this.month[e][this.month[e].length-1].time]},e.prototype.showDay=function(e){this.selectedActivities=this.activities[e.dateString],null==this.selectedActivities&&(this.selectedActivities=[]),this.selectedString=e.dateString,this.selectedDateRange=[e.time,null],console.log(e)},e.prototype.getMonthlyCalendarForDateObj=function(e){var t,n,i=new Date(e.getFullYear(),e.getMonth(),1),r=new Date(e.getFullYear(),e.getMonth()+1,0),a=864e5,o=[];i.getDay()>0&&(i=new Date(i.getTime()-a*i.getDay())),r.getDay()<6&&(r=new Date(r.getTime()+a*(6-r.getDay()))),t=Object(I.r)(i)?i.getTime()+6e4*i.getTimezoneOffset():i.getTime(),n=Object(I.r)(r)?r.getTime():r.getTime()-6e4*r.getTimezoneOffset();for(var s=t,l=0;s<n;s+=a){var c=new Date(s),d={time:s,dateString:c.getFullYear()+"-"+Object(I.I)(c.getMonth()+1)+"-"+Object(I.I)(c.getDate())};l%7==0&&o.push([]),o[o.length-1].push(d),l++}return o},e.prototype.updateMonth=function(e){this.currMonthStart=ue(new Date(this.currMonthStart.year(),this.currMonthStart.month()+e,1)),this.startOfMonth=ue(new Date(this.currMonthStart.year(),this.currMonthStart.month(),1)),this.endOfMonth=ue(new Date(this.currMonthStart.year(),this.currMonthStart.month()+1,0)),this.constructMonth(this.currMonthStart)},e.prototype.ngOnInit=function(){this.today=ue(),this.currMonthStart=ue(),this.isDarkTheme=this.ThemeService.isDarkTheme,this.account=this.AccountService.account,this.isMetric="us"!==this.account.unitOfMeasure.toLowerCase(),this.updateMonth(0)},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](r.d),l["\u0275\u0275directiveInject"](wn.a),l["\u0275\u0275directiveInject"](y.a),l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](c.d),l["\u0275\u0275directiveInject"](re.a),l["\u0275\u0275directiveInject"](Sn.b))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-group-calendar"]],inputs:{group:"group"},decls:8,vars:6,consts:[[1,"center","relative",2,"max-width","300px","margin","0 auto"],["src","/static/img/grey-arrow-back.png","width","12px",1,"abs",2,"left","0","top","0",3,"click"],["src","/static/img/grey-arrow-forward.png","width","12px",1,"abs",2,"right","0","top","0",3,"click"],["mode","indeterminate","class","conversation-loading",4,"ngIf"],["style","display: flex;flex-wrap: wrap;justify-content: center",4,"ngIf"],["mode","indeterminate",1,"conversation-loading"],[2,"display","flex","flex-wrap","wrap","justify-content","center"],[1,"full-width","calendarTable",2,"max-width","500px","margin-right","13px","overflow","hidden"],[1,"calendarTableHeader"],[1,"headerMidCol"],[1,"calendarTableBody"],["class","calendarTableBodyRow",3,"ngStyle",4,"ngFor","ngForOf"],[2,"flex-grow","2","max-width","900px"],[4,"ngIf"],[3,"hidden"],[1,"full-width"],[1,"listingHeader"],[3,"click"],["src","/images/sort_descending.png",3,"hidden"],["src","/images/sort_ascending.png",3,"hidden"],[2,"text-align","right",3,"click"],["src","/static/img/icons/squareDistanceIcon.png",1,"distanceIcon",2,"width","16px"],["src","/static/img/theme/site/calorie-icon.png",1,"calorieIcon",2,"width","16px"],["src","/static/img/icons/squareDurationIcon.png",1,"durationIcon",2,"width","16px"],["class","activityRow","style","background: unset;",4,"ngFor","ngForOf"],[1,"calendarTableBodyRow",3,"ngStyle"],[2,"height","80px"],["class","calendarPrevNextMonthCell","style","cursor:pointer;height: 80px",3,"ngStyle","click",4,"ngFor","ngForOf"],[1,"calendarPrevNextMonthCell","calendar-month-week-totals",2,"height","80px !important"],[2,"border-top","#B2B2B2 1px dotted","padding-top","5px"],["matBadgeOverlap","false",2,"min-height","40px","top","20px","right","15px",3,"matBadge"],[1,"calendarPrevNextMonthCell",2,"cursor","pointer","height","80px",3,"ngStyle","click"],[1,"calendarStepsAndDayLabel"],[1,"calendarDayLabel"],[1,"clearboth"],["id","activityImages",1,"calendarWorkoutList",2,"min-height","40px"],["matBadgeOverlap","false","style","min-height: 40px;top: 20px;right: 15px;",3,"matBadge",4,"ngIf"],[1,"activityRow",2,"background","unset"],[1,"workoutPaneProfileandActivityIcon",3,"ngStyle","click"],[1,"workoutPaneActivityIcon",2,"width","26px","margin-left","25px","margin-top","25px",3,"src"],[2,"float","left"],["style","text-align:right;",3,"click",4,"ngIf"],["style","text-align:right;",4,"ngIf"],[2,"text-align","right"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",0),l["\u0275\u0275elementStart"](1,"img",1),l["\u0275\u0275listener"]("click",function(){return t.updateMonth(-1)}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](2,"h3"),l["\u0275\u0275text"](3),l["\u0275\u0275pipe"](4,"date"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"img",2),l["\u0275\u0275listener"]("click",function(){return t.updateMonth(1)}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](6,kn,1,0,"mat-progress-bar",3),l["\u0275\u0275template"](7,jn,65,39,"div",4)),2&e&&(l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind2"](4,3,t.startOfMonth,"MMMM")),l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngIf",t.loading),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!t.loading))},directives:[h.NgIf,E.a,h.NgForOf,h.NgStyle,Cn.a,fe.a],pipes:[h.DatePipe,c.c,I.o,h.DecimalPipe,I.Q,I.cb,I.ib],styles:[".homeGraph[_ngcontent-%COMP%]{width:100%;height:300px;display:block}li[_ngcontent-%COMP%]{cursor:unset}.ui-content[_ngcontent-%COMP%]{text-shadow:none} .mat-tab-label.mat-tab-label-active{opacity:1}.smallMetricIcon[_ngcontent-%COMP%]{width:16px;float:left;margin-right:3px}.graphHeaderTitle[_ngcontent-%COMP%]{visibility:visible}.moveGoalProgressContentListItem[_ngcontent-%COMP%]{max-width:962px;height:109px;background:transparent url(/static/img/bkgrnd/beColoradoGoalProgressBkgrnd.png) 0 0 no-repeat;margin:auto}.moveGoalProgressContent[_ngcontent-%COMP%]{width:500px;margin:0 auto;text-align:center}.goalProgressText[_ngcontent-%COMP%], .moveGoalProgressText[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:12px;font-size:16px}.progressBarLargeText[_ngcontent-%COMP%]{text-align:center;padding:7px 0}.progressBarLargeContainer[_ngcontent-%COMP%]{margin:0 auto;width:381px;height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOffBkgrnd.png) 0 no-repeat}.progressBarLargeOnBkgrnd[_ngcontent-%COMP%]{height:40px;background:transparent url(/static/img/bkgrnd/progressBarLrgOnBkgrnd.png) 0 no-repeat}.progressBarLargeMarkerImg[_ngcontent-%COMP%]{padding-top:2px;float:right;position:relative;font-size:14px;left:14px;text-align:center;font-weight:700}#viewChange[_ngcontent-%COMP%]{width:100%;font-size:24px;font-weight:100;color:#8f8f8f;cursor:pointer}.weekSelectedClass[_ngcontent-%COMP%]{background:#4f99c9;color:#fff}.week[_ngcontent-%COMP%], .weekSelectedClass[_ngcontent-%COMP%]{float:left;padding-top:8px;padding-bottom:8px;text-align:center;width:50%;cursor:pointer;font-size:16px;border-left:1px solid #4f99c9;border-top:1px solid #4f99c9;border-bottom:1px solid #4f99c9;margin-top:0;margin-bottom:20px}.week[_ngcontent-%COMP%]{background-color:transparent;color:#4f99c9}.monthSelectedClass[_ngcontent-%COMP%]{background:#4f99c9;color:#fff}.month[_ngcontent-%COMP%], .monthSelectedClass[_ngcontent-%COMP%]{float:right;padding-top:8px;padding-bottom:8px;text-align:center;width:50%;cursor:pointer;font-size:16px;border:1px solid #4f99c9;margin-top:0;margin-bottom:20px}.month[_ngcontent-%COMP%]{background-color:transparent;color:#4f99c9}.calendarContainer[_ngcontent-%COMP%]{clear:both}.calendarWeekRange[_ngcontent-%COMP%]{font-size:24px;font-weight:300;height:30px;padding-bottom:0}.calendarYearLabel[_ngcontent-%COMP%]{font-size:14px;font-weight:400;text-align:center}.calendarTableBody[_ngcontent-%COMP%]   td.activeCalendarDay[_ngcontent-%COMP%]{background-color:#4892c3;color:#fff}.w_calendarWorkoutList[_ngcontent-%COMP%]{height:65px;margin-top:5px}.w_calendarWorkoutList[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:0 2px;cursor:pointer}.w_calendarWorkoutListSmall[_ngcontent-%COMP%]{min-height:20px;margin-top:1px;margin-bottom:1px!important;height:auto;clear:both}.w_calendarWorkoutListSmall[_ngcontent-%COMP%]:hover{background-color:rgba(226,227,228,.2)}.w_calendarWorkoutListSmall[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin:0;cursor:pointer}\n\n.calStatNameOverall[_ngcontent-%COMP%]{padding-top:20px;font-weight:100}.calStatTotals[_ngcontent-%COMP%]{padding-bottom:4px!important;padding-top:10px;border-bottom:1px dotted #b2b2b2;text-align:center;width:25%}.calStatName[_ngcontent-%COMP%]{margin-left:5px;font-size:24px;font-weight:400!important}.calStatTotalsLabel[_ngcontent-%COMP%], .calStatValue[_ngcontent-%COMP%]{font-size:14px}.calStatValue[_ngcontent-%COMP%]{margin-right:5px;font-weight:400}.calFootnotesName[_ngcontent-%COMP%]{margin-left:5px;font-size:16px;font-weight:100}.dailyTotalRow[_ngcontent-%COMP%]{margin-top:6px;margin-left:0;font-size:11px;width:100%;background-color:#d9d9d9;float:left}.dailyTotalRow[_ngcontent-%COMP%], td.calStatValue[_ngcontent-%COMP%]{text-align:right}div.stats-container[_ngcontent-%COMP%]{margin:5px 10px 0}.filterButtonHome[_ngcontent-%COMP%]{width:120px;float:left;margin-left:10px!important;margin-top:10px!important;background-color:rgba(226,227,228,.2)}.filterButtonLabel[_ngcontent-%COMP%]{visibility:hidden;float:left;width:0}.isNotStar[_ngcontent-%COMP%]{float:left;text-align:center;width:100%}.homeStepsIcon[_ngcontent-%COMP%]{float:left;margin-left:28px;width:24px}.white[_ngcontent-%COMP%]{color:#fff}.black[_ngcontent-%COMP%]{color:#000}@media(max-width:480px){.graphHeaderTitle[_ngcontent-%COMP%]{visibility:hidden;width:1px}#activityImages[_ngcontent-%COMP%]{margin-top:10px}.filterButton[_ngcontent-%COMP%]{float:right;margin-right:0!important;margin-left:10px!important;margin-top:20px!important}.filterButtonLabel[_ngcontent-%COMP%]{float:left;clear:both;margin-top:30px;visibility:visible;width:auto}}",".calendarContainerOverview[_ngcontent-%COMP%]{margin:20px}.calendarTable[_ngcontent-%COMP%]{margin-top:20px}.popover-wrap[_ngcontent-%COMP%]{padding:9px 14px;text-align:center;border:3px solid #4597cb!important;max-width:400px;background-clip:padding-box;border-radius:6px;box-shadow:0 5px 10px rgba(0,0,0,.2);white-space:normal}.popover-inner-box[_ngcontent-%COMP%]{text-align:center;font-size:18px;width:33%;height:24px;background:none}.menu-icon[_ngcontent-%COMP%]{margin-right:5px;vertical-align:middle}.routineFilterButton[_ngcontent-%COMP%]{display:block;clear:both;float:right}.partnerIcon[_ngcontent-%COMP%]{width:30px;float:left;margin-top:10px}.calendar-widget-day[_ngcontent-%COMP%], .calendar-widget-day-week-view[_ngcontent-%COMP%]{padding:0!important;text-align:center!important;color:#000;background-color:#fff!important;border-color:#eaebec!important}.calendar-widget-day-week-view[_ngcontent-%COMP%]{width:12.5%;float:left}.calendarCurrentMonthCell[_ngcontent-%COMP%]{border-color:#eaebec!important;width:100%}.calendarCurrentMonthCell[_ngcontent-%COMP%], .calendarPrevNextMonthCell[_ngcontent-%COMP%]{padding:0!important;text-align:center!important;float:left}.calendarPrevNextMonthCell[_ngcontent-%COMP%]{border-color:#b2b2b2!important;width:12.5%;border-right:1px solid;position:relative;height:180px}.calendar-widget-off-day[_ngcontent-%COMP%]{height:100%!important;padding:0!important;color:#000;border-color:#eaebec}.ui-content[_ngcontent-%COMP%]{text-shadow:none}.scheduleButton[_ngcontent-%COMP%]{width:200px;margin-bottom:10px;text-decoration:none;text-align:center;float:left}.scheduleLink[_ngcontent-%COMP%]{display:block;text-decoration:none!important;border:1px solid}#viewChange[_ngcontent-%COMP%]{width:100%;font-size:24px;font-weight:100;color:#8f8f8f;cursor:pointer}.selectedView[_ngcontent-%COMP%]{background-color:#4597cb}.unSelectedView[_ngcontent-%COMP%]{background-color:transparent;border-bottom:1px solid #4597cb}.selectLabel[_ngcontent-%COMP%]{margin-top:6px;float:left}.weekSelectedClass[_ngcontent-%COMP%]{background:#4f99c9;color:#fff}.week[_ngcontent-%COMP%], .weekSelectedClass[_ngcontent-%COMP%]{float:left;padding-top:8px;padding-bottom:8px;text-align:center;width:50%;cursor:pointer;font-size:16px;border-left:1px solid #4f99c9;border-top:1px solid #4f99c9;border-bottom:1px solid #4f99c9;margin-top:0;margin-bottom:20px}.week[_ngcontent-%COMP%]{background-color:transparent;color:#4f99c9}.monthSelectedClass[_ngcontent-%COMP%]{background:#4f99c9;color:#fff}.month[_ngcontent-%COMP%], .monthSelectedClass[_ngcontent-%COMP%]{float:right;padding-top:8px;padding-bottom:8px;text-align:center;width:50%;cursor:pointer;font-size:16px;border:1px solid #4f99c9;margin-top:0;margin-bottom:20px}.month[_ngcontent-%COMP%]{background-color:transparent;color:#4f99c9}.calendarContainer[_ngcontent-%COMP%]{clear:both}.calendarWeekRange[_ngcontent-%COMP%]{font-size:24px;font-weight:300;height:30px;padding-bottom:0}.calendarYearLabel[_ngcontent-%COMP%]{font-size:14px;font-weight:400;text-align:center}.calendarTableBody[_ngcontent-%COMP%]   td.activeCalendarDay[_ngcontent-%COMP%]{background-color:#4892c3;color:#fff}.calStatNameOverall[_ngcontent-%COMP%]{padding-top:20px;font-weight:100}.calStatTotals[_ngcontent-%COMP%]{padding-bottom:4px!important;padding-top:10px;border-bottom:0 dotted #b2b2b2;text-align:center;width:25%}.calStatsBorder[_ngcontent-%COMP%]{border-bottom:1px dotted #b2b2b2}.calStatName[_ngcontent-%COMP%]{margin-left:5px;font-size:24px;font-weight:400!important}.calStatTotalsLabel[_ngcontent-%COMP%], .calStatValue[_ngcontent-%COMP%]{font-size:14px}.calStatValue[_ngcontent-%COMP%]{margin-right:5px;font-weight:400}.calFootnotesName[_ngcontent-%COMP%]{margin-left:5px;font-size:16px;font-weight:100}.planItemActivityPhrase[_ngcontent-%COMP%]{margin-left:15px;font-size:14px;padding:0}.calendarTableBody[_ngcontent-%COMP%]   td.activeCalendarDay[_ngcontent-%COMP%]{background-color:#4892c3!important}.calendarMonthName[_ngcontent-%COMP%]{font-size:32px}.calendarContainer[_ngcontent-%COMP%]{width:860px;margin:10px auto 35px}.calendarButtons[_ngcontent-%COMP%]{width:330px;text-align:center;margin:16px auto 10px;padding-top:10px}.week-month-view-button[_ngcontent-%COMP%]{width:120px;overflow:hidden!important;float:right;margin-left:0!important;margin-top:10px!important;padding-left:5px;text-align:center;cursor:pointer}.toggleViewIcon[_ngcontent-%COMP%]{float:left;margin:4px}.calendarTable[_ngcontent-%COMP%]{table-layout:fixed;margin:20px 0;float:left}.calendarTable[_ngcontent-%COMP%]   td[_ngcontent-%COMP%], .calendarTable[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{border:1px solid}.calendarTableHeader[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{margin-top:20px}.calendarTableHeader[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{height:40px;text-transform:uppercase;font-size:14px;text-align:center}.calendarTableHeader[_ngcontent-%COMP%]   td.headerFirstCol[_ngcontent-%COMP%]{background:transparent url(/static/img/bkgrnd/calendarHeaderFirstColBkgrnd.png) 0 0 no-repeat;width:36px}.calendarTableHeader[_ngcontent-%COMP%]   td.headerMidCol[_ngcontent-%COMP%]{background:transparent url(/static/img/bkgrnd/calendarHeaderMidColBkgrnd.png) 0 0 no-repeat;width:36px}.calendarTableHeader[_ngcontent-%COMP%]   td.headerTotalsCol[_ngcontent-%COMP%]{width:139px;background:transparent url(/static/img/bkgrnd/calendarHeaderTotalsColBkgrnd.png) 0 0 no-repeat}.calendarTableBody[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{height:117px;vertical-align:top}.calendarTableBodyWeek[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{height:auto}.calendarTableBody[_ngcontent-%COMP%]   td.calendarCurrentMonthCell[_ngcontent-%COMP%]{background-color:rgba(226,227,228,.2)}.calendarTableBody[_ngcontent-%COMP%]   td.calendarCurrentDayCell[_ngcontent-%COMP%]{background-color:#fff}.calendarTableBody[_ngcontent-%COMP%]   td.calendarTotalsCell[_ngcontent-%COMP%]{color:#236d9e;background:#dedede url(/static/img/bkgrnd/calendarTotalsCellBkgrnd.png) 0 0 no-repeat}.calendarStepsAndDayLabel[_ngcontent-%COMP%]{height:auto}.calendarStepsAndDayLabelWeek[_ngcontent-%COMP%]{height:auto;background-color:rgba(226,227,228,.3);float:left;width:100%;text-align:center}.calendarTotalsHeader[_ngcontent-%COMP%]{border-bottom:1px solid #b2b2b2;border-left:20px;text-align:left}.calendarWeeklyDetailRow[_ngcontent-%COMP%]{border-bottom:1px dotted;cursor:pointer;float:left;width:100%;padding:10px 0;display:block}div.monthlyTotalStatsList[_ngcontent-%COMP%]{margin:0}div.stats-container[_ngcontent-%COMP%]{margin:5px 10px 0}span.calendarWeekRange[_ngcontent-%COMP%]{font-size:24px;font-weight:400;height:30px;padding-bottom:20px}div.calendarButtons.calendarWeekButtons[_ngcontent-%COMP%]{width:50%;margin-top:0;display:block}img.calendarWeightIcon[_ngcontent-%COMP%]{margin-bottom:6px}.calendarActivityIconContainer[_ngcontent-%COMP%]{margin:auto;text-align:center}.calendarActivityIcon[_ngcontent-%COMP%]{float:left;width:26px;margin-right:2px}.calendarHealthItemList[_ngcontent-%COMP%]{margin-bottom:5px;height:21px!important;text-align:center;font-weight:700}.monthlyCalendarStepsIcon[_ngcontent-%COMP%]{margin-top:-5px;margin-right:5px}.CUCalendarStepIcon[_ngcontent-%COMP%]{height:22px;margin:0 5px 0 0}.searchIcon[_ngcontent-%COMP%]{height:20px;margin:5px 5px 5px 0}.weekday-activity-detail[_ngcontent-%COMP%]{width:20%;float:left;border:0 solid red;line-height:40px;vertical-align:middle;padding-left:10px;text-align:left}.weekday-activity-detail-title[_ngcontent-%COMP%]{background-color:transparent}.weekday-activity-detail-time[_ngcontent-%COMP%], .weekday-activity-detail-title[_ngcontent-%COMP%]{width:40%;float:left;border:0 solid red;line-height:40px;vertical-align:middle;padding-left:10px;text-align:left;overflow:hidden;white-space:nowrap}.weekday-total-detail[_ngcontent-%COMP%]{width:20%;border:0 solid red}.weekday-total[_ngcontent-%COMP%], .weekday-total-detail[_ngcontent-%COMP%]{float:right;line-height:40px;vertical-align:middle;padding-right:10px;text-align:right}.weekday-total[_ngcontent-%COMP%]{width:100%}.weekday-steps-detail[_ngcontent-%COMP%]{float:right;margin-right:10px}.calendar-month-week-totals[_ngcontent-%COMP%]{height:100%!important;padding:0!important;font-size:14px;text-align:right;border:none}.detailHealthRow[_ngcontent-%COMP%]{border-top:0 solid}@media(max-width:480px){.monthlyCalendarStepsIcon[_ngcontent-%COMP%]{clear:both}.CUCalendarStepIcon[_ngcontent-%COMP%]{height:16px}.CalendarActivityIcon[_ngcontent-%COMP%], .CUCalendarGoalIcon[_ngcontent-%COMP%]{width:12px}.calendarStepsValue[_ngcontent-%COMP%]{margin-bottom:30px}#activityImages[_ngcontent-%COMP%]{margin-bottom:10px}.calendarContainerOverview[_ngcontent-%COMP%]{margin:2px}.stepsIcon[_ngcontent-%COMP%]{clear:both}.dayDateTitle[_ngcontent-%COMP%]{margin-top:10px}div.calendarButtons.calendarWeekButtons[_ngcontent-%COMP%]{width:100%;float:left}}.calendarWorkoutList[_ngcontent-%COMP%]{margin:0 5px}.calendarHealthList[_ngcontent-%COMP%], .calendarStepsList[_ngcontent-%COMP%], .calendarWorkoutList[_ngcontent-%COMP%]{text-align:center;float:left;width:100%}.calendarHealthList[_ngcontent-%COMP%]{margin:10px 5px 0;padding:2px 0 5px;border-top:0 solid #b2b2b2;position:absolute;bottom:0}.calendarScheduleList[_ngcontent-%COMP%]{text-align:center;margin:0 5px;float:left;width:100%}.headerMidCol[_ngcontent-%COMP%]{background:none!important;height:40px;padding-top:10px;color:#fff;width:12.5%;float:left}.CalendarWeeklyStepIcon[_ngcontent-%COMP%]{width:20px;margin:5px}table.calendarTable[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background:#4892c3}td.headerMidCol[_ngcontent-%COMP%]{background:none!important;height:40px;color:#fff}td.calStatValue[_ngcontent-%COMP%]{text-align:right}div.monthlyTotalStatsList[_ngcontent-%COMP%]{width:100%;display:block}div.monthlyTotalStatsList[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{margin:20px 0 10px}div.stats-container[_ngcontent-%COMP%]{margin-top:0;margin-left:0}div.calendarDayLabel[_ngcontent-%COMP%]{padding:5px;text-align:center;float:right;font-weight:400;font-size:14px}.calendarWorkoutList[_ngcontent-%COMP%]   .daily-steps-achievement[_ngcontent-%COMP%]{color:#3fae48;text-align:center}.calendarHealthItemList[_ngcontent-%COMP%]{white-space:nowrap;font-weight:400}.arrowBtn[_ngcontent-%COMP%]{border:none;background:none}.commentDiv[_ngcontent-%COMP%]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin:4px}.popover-steps[_ngcontent-%COMP%]{font-size:24px;font-weight:700;margin-top:3px}.popover-steps-date[_ngcontent-%COMP%]{font-size:16px;margin-top:0;width:100%;font-weight:400}.separator[_ngcontent-%COMP%]{clear:both}@media(max-width:768px){#activityImages[_ngcontent-%COMP%]{overflow-x:visible}.calendarScheduleList[_ngcontent-%COMP%], .calendarWorkoutList[_ngcontent-%COMP%]{height:auto!important;margin:0}.weekday-activity-detail[_ngcontent-%COMP%]{padding-left:0!important}}@media(max-width:320px){.calendarPrevNextMonthCell[_ngcontent-%COMP%]{height:195px}}@media(max-width:440px){.calendarScheduleButton[_ngcontent-%COMP%]{float:left;margin-left:0!important}.filterButton[_ngcontent-%COMP%]{float:right;margin-right:0!important;margin-left:10px!important;margin-top:20px!important}.filterButtonLabel[_ngcontent-%COMP%]{float:left;clear:both;margin-top:30px;visibility:visible;width:auto}}"]}),e}(),Fn=function(){function e(e,t){this.groupService=e,this.sanitized=t}return e.prototype.ngOnInit=function(){var e=this;console.log("message"),this.groupService.getGroupMessage(this.group.id).subscribe(function(t){e.widget=null!=t.response.content.html?e.sanitized.bypassSecurityTrustHtml(t.response.content.html):"No messages at this time"})},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](b.DomSanitizer))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-group-message"]],inputs:{group:"group"},decls:2,vars:1,consts:[[1,"group-messages-container"],[3,"innerHTML"]],template:function(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",0),l["\u0275\u0275element"](1,"div",1),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("innerHTML",t.widget,l["\u0275\u0275sanitizeHtml"]))},styles:[".group-messages-container{margin:20px}"],encapsulation:2}),e}(),Bn=n("XNiG"),zn=n("Wp6s");function Nn(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1,"-"),l["\u0275\u0275elementEnd"]())}function Hn(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",12),l["\u0275\u0275text"](1),l["\u0275\u0275pipe"](2,"translate"),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"](" ",l["\u0275\u0275pipeBind1"](2,1,"ROOT.private")," "))}var Vn=function(e){return{background:e}};function Yn(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div"),l["\u0275\u0275elementStart"](1,"a",5),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=t.$implicit;return l["\u0275\u0275nextContext"]().navigateToMember(e.mentionable)}),l["\u0275\u0275elementStart"](2,"mat-card",6),l["\u0275\u0275elementStart"](3,"mat-card-header",7),l["\u0275\u0275elementStart"](4,"mat-card-title",8),l["\u0275\u0275text"](5),l["\u0275\u0275template"](6,Nn,2,0,"span",9),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275element"](7,"div",10),l["\u0275\u0275template"](8,Hn,3,3,"div",11),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=t.$implicit;l["\u0275\u0275advance"](5),l["\u0275\u0275textInterpolate1"](" ",i.name,"\xa0 "),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf","Your Name"==i.name||null===i.name),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngStyle",l["\u0275\u0275pureFunction1"](4,Vn,"url("+i.profilePhoto+") no-repeat")),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!i.mentionable)}}var Wn=function(){function e(e){this.router=e,this.filteredMembers=[],this.searchInput="",this.searchChanged=new Bn.a}return e.prototype.navigateToMember=function(e){e&&this.router.navigate(["/member",e])},e.prototype.ngOnInit=function(){var e=this;this.filteredMembers=this.members,this.searchSubscription=this.searchChanged.subscribe(function(t){e.filteredMembers=[],e.searchInput=t;for(var n=0;n<e.members.length;n++)e.members[n].name.toLowerCase().includes(t.toLowerCase())&&e.filteredMembers.push(e.members[n])})},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](r.d))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-group-roster"]],inputs:{group:"group",viewer:"viewer",members:"members"},decls:8,vars:5,consts:[[2,"margin-top","20px"],["appearance","outline",1,"group-roster-container"],["matInput","","type","text",3,"ngModel","ngModelChange"],[1,"group-roster-list"],[4,"ngFor","ngForOf"],[1,"group-member-link",3,"click"],[1,"followCard"],[1,"user-card-header"],[1,"user-card-user-name"],[4,"ngIf"],[1,"thumbnail-img",3,"ngStyle"],["class","clear-both center",4,"ngIf"],[1,"clear-both","center"]],template:function(e,t){1&e&&(l["\u0275\u0275element"](0,"div",0),l["\u0275\u0275elementStart"](1,"mat-form-field",1),l["\u0275\u0275elementStart"](2,"mat-label"),l["\u0275\u0275text"](3),l["\u0275\u0275pipe"](4,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](5,"input",2),l["\u0275\u0275listener"]("ngModelChange",function(e){return t.searchInput=e})("ngModelChange",function(e){return t.searchChanged.next(e)}),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](6,"div",3),l["\u0275\u0275template"](7,Yn,9,6,"div",4),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](3),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](4,3,"ROOT.search")),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngModel",t.searchInput),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngForOf",t.filteredMembers))},directives:[w.c,w.g,S.b,p.c,p.o,p.r,h.NgForOf,zn.a,zn.d,zn.g,h.NgIf,h.NgStyle],pipes:[c.c],styles:[".followCard[_ngcontent-%COMP%]{margin:15px;width:140px;height:160px;padding:0;cursor:pointer;border:1px solid #efefef;border-radius:15px}.group-roster-container[_ngcontent-%COMP%]{margin:15px 0 0 10px}.group-roster-list[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}.group-member-link[_ngcontent-%COMP%]{text-decoration:none!important}@media (max-width:330px){.followCard[_ngcontent-%COMP%]{margin:5px}}.thumbnail-img[_ngcontent-%COMP%]{justify-content:center;display:flex;height:80px;max-width:80px;background-position:50%!important;margin:auto;flex-wrap:wrap;background-size:80px auto!important;border-radius:15px}"]}),e}();function Gn(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"div",9),l["\u0275\u0275elementStart"](1,"a",10),l["\u0275\u0275element"](2,"img",11),l["\u0275\u0275elementStart"](3,"strong"),l["\u0275\u0275elementStart"](4,"h4",12),l["\u0275\u0275text"](5),l["\u0275\u0275pipe"](6,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275advance"](5),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](6,1,"ROOT.Teams")))}function Un(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"div",13),l["\u0275\u0275elementStart"](1,"div",14),l["\u0275\u0275element"](2,"img",15),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("src",n.group.bannerPhoto,l["\u0275\u0275sanitizeUrl"])}}function qn(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div",16),l["\u0275\u0275elementStart"](1,"button",17),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().openSharePermissions()}),l["\u0275\u0275element"](2,"img",18),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}}function Zn(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275advance"](1),l["\u0275\u0275textInterpolate1"]("\xa0 ",n.onlineCount," Active")}}function $n(e,t){1&e&&(l["\u0275\u0275elementStart"](0,"span"),l["\u0275\u0275text"](1,"\xa0 LiveTracking"),l["\u0275\u0275elementEnd"]())}function Xn(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div",19),l["\u0275\u0275elementStart"](1,"button",17),l["\u0275\u0275listener"]("click",function(){l["\u0275\u0275restoreView"](n);var e=l["\u0275\u0275nextContext"]();return e.router.navigate(["/groups",e.groupId,"livetracking"])}),l["\u0275\u0275element"](2,"img",20),l["\u0275\u0275template"](3,Zn,2,1,"span",21),l["\u0275\u0275template"](4,$n,2,0,"span",21),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](3),l["\u0275\u0275property"]("ngIf",i.onlineCount>=1),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",i.onlineCount<1)}}function Kn(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div",22),l["\u0275\u0275elementStart"](1,"a",23),l["\u0275\u0275element"](2,"img",24),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementStart"](3,"button",25),l["\u0275\u0275listener"]("click",function(){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().router.navigate(["/support"])}),l["\u0275\u0275text"](4,"Questions about the App, Website or Progress? Click here. "),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()}}function Jn(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"mat-tab",31),l["\u0275\u0275element"](1,"app-group-calendar",32),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("group",n.group)}}function Qn(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"mat-tab",33),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275element"](2,"app-member-listing",34),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275propertyInterpolate"]("label",l["\u0275\u0275pipeBind1"](1,3,"ROOT.Leaderboard")),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("group",n.group)("viewer",n.groupMember)}}function ei(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"mat-tab",33),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275element"](2,"app-group-message",32),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275propertyInterpolate"]("label",l["\u0275\u0275pipeBind1"](1,2,"ROOT.Messages")),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("group",n.group)}}function ti(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"mat-tab",33),l["\u0275\u0275pipe"](1,"translate"),l["\u0275\u0275element"](2,"app-group-roster",35),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275propertyInterpolate"]("label",l["\u0275\u0275pipeBind1"](1,4,"ROOT.Roster")),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("group",n.group)("viewer",n.groupMember)("members",n.members)}}var ni=function(e){return["/groups",e,"admin"]};function ii(e,t){if(1&e&&(l["\u0275\u0275elementStart"](0,"a",36),l["\u0275\u0275elementStart"](1,"button",37),l["\u0275\u0275element"](2,"img",38),l["\u0275\u0275elementStart"](3,"span",39),l["\u0275\u0275text"](4),l["\u0275\u0275pipe"](5,"translate"),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e){var n=l["\u0275\u0275nextContext"](2);l["\u0275\u0275property"]("routerLink",l["\u0275\u0275pureFunction1"](4,ni,n.groupId)),l["\u0275\u0275advance"](4),l["\u0275\u0275textInterpolate"](l["\u0275\u0275pipeBind1"](5,2,"ROOT.Admin"))}}function ri(e,t){if(1&e){var n=l["\u0275\u0275getCurrentView"]();l["\u0275\u0275elementStart"](0,"div",26),l["\u0275\u0275elementStart"](1,"mat-tab-group",27),l["\u0275\u0275listener"]("selectedTabChange",function(e){return l["\u0275\u0275restoreView"](n),l["\u0275\u0275nextContext"]().handleChange(e)}),l["\u0275\u0275template"](2,Jn,2,1,"mat-tab",28),l["\u0275\u0275template"](3,Qn,3,5,"mat-tab",29),l["\u0275\u0275template"](4,ei,3,4,"mat-tab",29),l["\u0275\u0275template"](5,ti,3,6,"mat-tab",29),l["\u0275\u0275elementEnd"](),l["\u0275\u0275template"](6,ii,6,6,"a",30),l["\u0275\u0275elementEnd"]()}if(2&e){var i=l["\u0275\u0275nextContext"]();l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngClass",i.ThemeService.themeClass),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",i.group.components.calendar||i.groupMember.isAdmin),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",i.group.components.leaderboard),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",i.group.components.messages),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",i.group.components.roster),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",i.groupMember.isAdmin)}}var ai=[{path:":groupId",component:function(){function e(e,t,n,i,r,a,o,s){this.titleService=e,this.groupService=t,this.dialog=n,this.ThemeService=i,this.ActivatedRoute=r,this.translate=a,this.route=o,this.router=s,this.focus=null,this.showLoadingOverlay=!0,this.members=[],this.onlineCount=0}return e.prototype.openSharePermissions=function(){var e=this;this.dialog.open(bn.a,{data:this.group,maxWidth:"100vw",maxHeight:"100vh",minWidth:"50vw"}).afterClosed().subscribe(function(t){!0===t&&e.router.navigate(["/groups"])})},e.prototype.handleChange=function(e){5==e.index&&this.router.navigate(["/livetracking"])},e.prototype.ngOnInit=function(){var e=this;this.ActivatedRoute.queryParams.subscribe(function(t){e.groupId=t.id,e.focus=t.focus}),this.groupId||(this.groupId=this.route.snapshot.paramMap.get("groupId")),Object(v.a)([this.groupService.getGroup(this.groupId),this.groupService.getGroupMember(this.groupId),this.groupService.membership(this.groupId)]).subscribe(function(t){e.group=new a.a(t[0].response),e.groupMember=new a.b(t[1].response),e.onlineCount=t[2].response.livetrack_count;try{for(var n=0;n<t[2].response.records.length;n++)e.members.push(new a.b(t[2].response.records[n]))}catch(i){}e.showLoadingOverlay=!1})},e.\u0275fac=function(t){return new(t||e)(l["\u0275\u0275directiveInject"](b.Title),l["\u0275\u0275directiveInject"](o.a),l["\u0275\u0275directiveInject"](s.b),l["\u0275\u0275directiveInject"](y.a),l["\u0275\u0275directiveInject"](r.a),l["\u0275\u0275directiveInject"](c.d),l["\u0275\u0275directiveInject"](r.a),l["\u0275\u0275directiveInject"](r.d))},e.\u0275cmp=l["\u0275\u0275defineComponent"]({type:e,selectors:[["app-group"]],inputs:{groupId:["groupid","groupId"]},decls:9,vars:8,consts:[[1,"loading-overlay",3,"hidden"],[3,"ngClass"],["class","main-menu-section-heading",4,"ngIf"],[1,"sectionStructure"],["id","three-column-layout","class","widget-layout",4,"ngIf"],["style","float:right;",4,"ngIf"],["style","float:left;",4,"ngIf"],["class","cuhp_landing",4,"ngIf"],["style","clear:both;",4,"ngIf"],[1,"main-menu-section-heading"],["routerLink","/groups"],["src","/static/img/grey-arrow-back.png",1,"titleBackarrow"],[1,"title"],["id","three-column-layout",1,"widget-layout"],[1,"list","items-container","banner"],[2,"width","100%","margin","auto",3,"src"],[2,"float","right"],["mat-button","",3,"click"],["src","/static/img/settings_gear.png",2,"width","26px"],[2,"float","left"],["src","/static/img/Asset-1livetracking.png",2,"width","16px"],[4,"ngIf"],[1,"cuhp_landing"],["href","https://becolorado.org/programs/be-colorado-move/"],["src","/static/img/be-colorado-faqs-pict.png"],["mat-stroked-button","",3,"click"],[2,"clear","both"],["mat-align-tabs","center",3,"ngClass","selectedTabChange"],["label","Calendar",4,"ngIf"],[3,"label",4,"ngIf"],["style","float:right; max-width:160px;",3,"routerLink",4,"ngIf"],["label","Calendar"],[3,"group"],[3,"label"],[3,"group","viewer"],[3,"group","viewer","members"],[2,"float","right","max-width","160px",3,"routerLink"],["mat-raised-button","",1,"group-button","group-admin-edit-button","themedButton",2,"float","right","margin-right","10px","margin-bottom","10px","width","unset !important"],["src","/static/img/gear_icon_white.png",1,"group-admin-gear",2,"margin-top","-4px"],[2,"padding","5px"]],template:function(e,t){1&e&&(l["\u0275\u0275element"](0,"div",0),l["\u0275\u0275elementStart"](1,"div",1),l["\u0275\u0275template"](2,Gn,7,3,"div",2),l["\u0275\u0275elementStart"](3,"div",3),l["\u0275\u0275template"](4,Un,3,1,"div",4),l["\u0275\u0275template"](5,qn,3,0,"div",5),l["\u0275\u0275template"](6,Xn,5,2,"div",6),l["\u0275\u0275template"](7,Kn,5,0,"div",7),l["\u0275\u0275template"](8,ri,7,6,"div",8),l["\u0275\u0275elementEnd"](),l["\u0275\u0275elementEnd"]()),2&e&&(l["\u0275\u0275property"]("hidden",!t.showLoadingOverlay),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngClass",t.ThemeService.themeClass),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!t.ThemeService.isMobileEmbedded),l["\u0275\u0275advance"](2),l["\u0275\u0275property"]("ngIf",!t.showLoadingOverlay),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!t.showLoadingOverlay),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!t.showLoadingOverlay&&t.group.components.livetracking),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!t.showLoadingOverlay&&t.group.isBCGroup),l["\u0275\u0275advance"](1),l["\u0275\u0275property"]("ngIf",!t.showLoadingOverlay&&t.ThemeService.isThemeFitdigits))},directives:[h.NgClass,h.NgIf,r.f,u.b,xn.b,xn.a,An,Ie,Fn,Wn],pipes:[c.c],styles:[".mat-tab-label.mat-tab-label-active{opacity:1}.mat-tab-label[_ngcontent-%COMP%]{display:flex}.cuhp_landing[_ngcontent-%COMP%]{margin:0 auto;display:flex;flex-direction:column;max-width:500px}.mat-tab-header[_ngcontent-%COMP%]{margin-bottom:10px}a[_ngcontent-%COMP%]:hover{cursor:pointer;text-decoration:none}a[_ngcontent-%COMP%]{color:#4597cb}"]}),e}()},{path:":groupId/admin",component:$e,pathMatch:"full",data:{title:"Team Admin | Fitdigits"}},{path:":groupId/admin/edit",component:Et,pathMatch:"full",data:{title:"Edit Team or Group | Fitdigits"}},{path:":groupId/message_members",component:O,pathMatch:"full",data:{title:"Message Members | Fitdigits"}},{path:"",component:gn}],oi=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=l["\u0275\u0275defineInjector"]({imports:[[r.g.forChild(ai)],r.g]}),e}(),si=function(){function e(){}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l["\u0275\u0275defineNgModule"]({type:e}),e.\u0275inj=l["\u0275\u0275defineInjector"]({providers:[{provide:wt,useValue:"tinymce/tinymce.min.js"}],imports:[[oi,i.b,kt]]}),e}()},zP0r:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("Ji7U"),r=n("LK+K"),a=n("1OyB"),o=n("vuIU"),s=n("7o/Q");function l(e){return function(t){return t.lift(new c(e))}}var c=function(){function e(t){Object(a.a)(this,e),this.total=t}return Object(o.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new d(e,this.total))}}]),e}(),d=function(e){Object(i.a)(n,e);var t=Object(r.a)(n);function n(e,i){var r;return Object(a.a)(this,n),(r=t.call(this,e)).total=i,r.count=0,r}return Object(o.a)(n,[{key:"_next",value:function(e){++this.count>this.total&&this.destination.next(e)}}]),n}(s.a)},zVF4:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n("mrSG"),r={NODE_CLIENT:!1,NODE_ADMIN:!1,SDK_VERSION:"${JSCORE_VERSION}"},a=function(e,t){if(!e)throw o(t)},o=function(e){return new Error("Firebase Database ("+r.SDK_VERSION+") INTERNAL ASSERT FAILED: "+e)},s=function(e){for(var t=[],n=0,i=0;i<e.length;i++){var r=e.charCodeAt(i);r<128?t[n++]=r:r<2048?(t[n++]=r>>6|192,t[n++]=63&r|128):55296==(64512&r)&&i+1<e.length&&56320==(64512&e.charCodeAt(i+1))?(r=65536+((1023&r)<<10)+(1023&e.charCodeAt(++i)),t[n++]=r>>18|240,t[n++]=r>>12&63|128,t[n++]=r>>6&63|128,t[n++]=63&r|128):(t[n++]=r>>12|224,t[n++]=r>>6&63|128,t[n++]=63&r|128)}return t},l={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray:function(e,t){if(!Array.isArray(e))throw Error("encodeByteArray takes an array as a parameter");this.init_();for(var n=t?this.byteToCharMapWebSafe_:this.byteToCharMap_,i=[],r=0;r<e.length;r+=3){var a=e[r],o=r+1<e.length,s=o?e[r+1]:0,l=r+2<e.length,c=l?e[r+2]:0,d=(15&s)<<2|c>>6,u=63&c;l||(u=64,o||(d=64)),i.push(n[a>>2],n[(3&a)<<4|s>>4],n[d],n[u])}return i.join("")},encodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?btoa(e):this.encodeByteArray(s(e),t)},decodeString:function(e,t){return this.HAS_NATIVE_SUPPORT&&!t?atob(e):function(e){for(var t=[],n=0,i=0;n<e.length;){var r=e[n++];if(r<128)t[i++]=String.fromCharCode(r);else if(r>191&&r<224){var a=e[n++];t[i++]=String.fromCharCode((31&r)<<6|63&a)}else if(r>239&&r<365){var o=((7&r)<<18|(63&(a=e[n++]))<<12|(63&(s=e[n++]))<<6|63&e[n++])-65536;t[i++]=String.fromCharCode(55296+(o>>10)),t[i++]=String.fromCharCode(56320+(1023&o))}else{a=e[n++];var s=e[n++];t[i++]=String.fromCharCode((15&r)<<12|(63&a)<<6|63&s)}}return t.join("")}(this.decodeStringToByteArray(e,t))},decodeStringToByteArray:function(e,t){this.init_();for(var n=t?this.charToByteMapWebSafe_:this.charToByteMap_,i=[],r=0;r<e.length;){var a=n[e.charAt(r++)],o=r<e.length?n[e.charAt(r)]:0,s=++r<e.length?n[e.charAt(r)]:64,l=++r<e.length?n[e.charAt(r)]:64;if(++r,null==a||null==o||null==s||null==l)throw Error();i.push(a<<2|o>>4),64!==s&&(i.push(o<<4&240|s>>2),64!==l&&i.push(s<<6&192|l))}return i},init_:function(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(var e=0;e<this.ENCODED_VALS.length;e++)this.byteToCharMap_[e]=this.ENCODED_VALS.charAt(e),this.charToByteMap_[this.byteToCharMap_[e]]=e,this.byteToCharMapWebSafe_[e]=this.ENCODED_VALS_WEBSAFE.charAt(e),this.charToByteMapWebSafe_[this.byteToCharMapWebSafe_[e]]=e,e>=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(e)]=e,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(e)]=e)}}},c=function(e){try{return l.decodeString(e,!0)}catch(t){console.error("base64Decode failed: ",t)}return null};function d(e,t){if(!(t instanceof Object))return t;switch(t.constructor){case Date:return new Date(t.getTime());case Object:void 0===e&&(e={});break;case Array:e=[];break;default:return t}for(var n in t)t.hasOwnProperty(n)&&(e[n]=d(e[n],t[n]));return e}var u=function(){function e(){var e=this;this.reject=function(){},this.resolve=function(){},this.promise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return e.prototype.wrapCallback=function(e){var t=this;return function(n,i){n?t.reject(n):t.resolve(i),"function"==typeof e&&(t.promise.catch(function(){}),1===e.length?e(n):e(n,i))}},e}();function p(){return"undefined"!=typeof navigator&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function h(){try{return"[object process]"===Object.prototype.toString.call(global.process)}catch(e){return!1}}var m=function(e){function t(n,i){var r=e.call(this,i)||this;return r.code=n,r.name="FirebaseError",Object.setPrototypeOf(r,t.prototype),Error.captureStackTrace&&Error.captureStackTrace(r,g.prototype.create),r}return i.__extends(t,e),t}(Error),g=function(){function e(e,t,n){this.service=e,this.serviceName=t,this.errors=n}return e.prototype.create=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=t[0]||{},r=this.service+"/"+e,a=this.errors[e],o=a?f(a,i):"Error",s=this.serviceName+": "+o+" ("+r+").",l=new m(r,s),c=0,d=Object.keys(i);c<d.length;c++){var u=d[c];"_"!==u.slice(-1)&&(u in l&&console.warn('Overwriting FirebaseError base field "'+u+'" can cause unexpected behavior.'),l[u]=i[u])}return l},e}();function f(e,t){return e.replace(v,function(e,n){var i=t[n];return null!=i?String(i):"<"+n+"?>"})}var v=/\{\$([^}]+)}/g;function y(e){return JSON.parse(e)}var b=function(e){var t={},n={},i={},r="";try{var a=e.split(".");t=y(c(a[0])||""),n=y(c(a[1])||""),r=a[2],i=n.d||{},delete n.d}catch(o){}return{header:t,claims:n,data:i,signature:r}},x=function(){function e(){this.chain_=[],this.buf_=[],this.W_=[],this.pad_=[],this.inbuf_=0,this.total_=0,this.blockSize=64,this.pad_[0]=128;for(var e=1;e<this.blockSize;++e)this.pad_[e]=0;this.reset()}return e.prototype.reset=function(){this.chain_[0]=1732584193,this.chain_[1]=4023233417,this.chain_[2]=2562383102,this.chain_[3]=271733878,this.chain_[4]=3285377520,this.inbuf_=0,this.total_=0},e.prototype.compress_=function(e,t){t||(t=0);var n=this.W_;if("string"==typeof e)for(var i=0;i<16;i++)n[i]=e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|e.charCodeAt(t+3),t+=4;else for(i=0;i<16;i++)n[i]=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3],t+=4;for(i=16;i<80;i++)n[i]=4294967295&((u=n[i-3]^n[i-8]^n[i-14]^n[i-16])<<1|u>>>31);var r,a,o=this.chain_[0],s=this.chain_[1],l=this.chain_[2],c=this.chain_[3],d=this.chain_[4];for(i=0;i<80;i++){i<40?i<20?(r=c^s&(l^c),a=1518500249):(r=s^l^c,a=1859775393):i<60?(r=s&l|c&(s|l),a=2400959708):(r=s^l^c,a=3395469782);var u=(o<<5|o>>>27)+r+d+a+n[i]&4294967295;d=c,c=l,l=4294967295&(s<<30|s>>>2),s=o,o=u}this.chain_[0]=this.chain_[0]+o&4294967295,this.chain_[1]=this.chain_[1]+s&4294967295,this.chain_[2]=this.chain_[2]+l&4294967295,this.chain_[3]=this.chain_[3]+c&4294967295,this.chain_[4]=this.chain_[4]+d&4294967295},e.prototype.update=function(e,t){if(null!=e){void 0===t&&(t=e.length);for(var n=t-this.blockSize,i=0,r=this.buf_,a=this.inbuf_;i<t;){if(0===a)for(;i<=n;)this.compress_(e,i),i+=this.blockSize;if("string"==typeof e){for(;i<t;)if(r[a]=e.charCodeAt(i),++i,++a===this.blockSize){this.compress_(r),a=0;break}}else for(;i<t;)if(r[a]=e[i],++i,++a===this.blockSize){this.compress_(r),a=0;break}}this.inbuf_=a,this.total_+=t}},e.prototype.digest=function(){var e=[],t=8*this.total_;this.update(this.pad_,this.inbuf_<56?56-this.inbuf_:this.blockSize-(this.inbuf_-56));for(var n=this.blockSize-1;n>=56;n--)this.buf_[n]=255&t,t/=256;this.compress_(this.buf_);var i=0;for(n=0;n<5;n++)for(var r=24;r>=0;r-=8)e[i]=this.chain_[n]>>r&255,++i;return e},e}(),_=function(){function e(e,t){var n=this;this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=t,this.task.then(function(){e(n)}).catch(function(e){n.error(e)})}return e.prototype.next=function(e){this.forEachObserver(function(t){t.next(e)})},e.prototype.error=function(e){this.forEachObserver(function(t){t.error(e)}),this.close(e)},e.prototype.complete=function(){this.forEachObserver(function(e){e.complete()}),this.close()},e.prototype.subscribe=function(e,t,n){var i,r=this;if(void 0===e&&void 0===t&&void 0===n)throw new Error("Missing Observer.");void 0===(i=function(e,t){if("object"!=typeof e||null===e)return!1;for(var n=0,i=["next","error","complete"];n<i.length;n++){var r=i[n];if(r in e&&"function"==typeof e[r])return!0}return!1}(e)?e:{next:e,error:t,complete:n}).next&&(i.next=w),void 0===i.error&&(i.error=w),void 0===i.complete&&(i.complete=w);var a=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(function(){try{r.finalError?i.error(r.finalError):i.complete()}catch(e){}}),this.observers.push(i),a},e.prototype.unsubscribeOne=function(e){void 0!==this.observers&&void 0!==this.observers[e]&&(delete this.observers[e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))},e.prototype.forEachObserver=function(e){if(!this.finalized)for(var t=0;t<this.observers.length;t++)this.sendOne(t,e)},e.prototype.sendOne=function(e,t){var n=this;this.task.then(function(){if(void 0!==n.observers&&void 0!==n.observers[e])try{t(n.observers[e])}catch(i){"undefined"!=typeof console&&console.error&&console.error(i)}})},e.prototype.close=function(e){var t=this;this.finalized||(this.finalized=!0,void 0!==e&&(this.finalError=e),this.task.then(function(){t.observers=void 0,t.onNoObservers=void 0}))},e}();function w(){}function S(e,t,n){var i="";switch(t){case 1:i=n?"first":"First";break;case 2:i=n?"second":"Second";break;case 3:i=n?"third":"Third";break;case 4:i=n?"fourth":"Fourth";break;default:throw new Error("errorPrefix called with argumentNumber > 4.  Need to update it?")}return e+" failed: "+i+" argument "}var C=144e5;t.CONSTANTS=r,t.Deferred=u,t.ErrorFactory=g,t.FirebaseError=m,t.MAX_VALUE_MILLIS=C,t.RANDOM_FACTOR=.5,t.Sha1=x,t.areCookiesEnabled=function(){return!(!navigator||!navigator.cookieEnabled)},t.assert=a,t.assertionError=o,t.async=function(e,t){return function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];Promise.resolve(!0).then(function(){e.apply(void 0,n)}).catch(function(e){t&&t(e)})}},t.base64=l,t.base64Decode=c,t.base64Encode=function(e){var t=s(e);return l.encodeByteArray(t,!0)},t.calculateBackoffMillis=function(e,t,n){void 0===t&&(t=1e3),void 0===n&&(n=2);var i=t*Math.pow(n,e),r=Math.round(.5*i*(Math.random()-.5)*2);return Math.min(C,i+r)},t.contains=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.createSubscribe=function(e,t){var n=new _(e,t);return n.subscribe.bind(n)},t.decode=b,t.deepCopy=function(e){return d(void 0,e)},t.deepExtend=d,t.errorPrefix=S,t.getUA=p,t.isAdmin=function(e){var t=b(e).claims;return"object"==typeof t&&!0===t.admin},t.isBrowser=function(){return"object"==typeof self&&self.self===self},t.isBrowserExtension=function(){var e="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof e&&void 0!==e.id},t.isElectron=function(){return p().indexOf("Electron/")>=0},t.isEmpty=function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},t.isIE=function(){var e=p();return e.indexOf("MSIE ")>=0||e.indexOf("Trident/")>=0},t.isIndexedDBAvailable=function(){return"indexedDB"in self&&null!=indexedDB},t.isMobileCordova=function(){return"undefined"!=typeof window&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(p())},t.isNode=h,t.isNodeSdk=function(){return!0===r.NODE_CLIENT||!0===r.NODE_ADMIN},t.isReactNative=function(){return"object"==typeof navigator&&"ReactNative"===navigator.product},t.isSafari=function(){return!h()&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")},t.isUWP=function(){return p().indexOf("MSAppHost/")>=0},t.isValidFormat=function(e){var t=b(e).claims;return!!t&&"object"==typeof t&&t.hasOwnProperty("iat")},t.isValidTimestamp=function(e){var t=b(e).claims,n=Math.floor((new Date).getTime()/1e3),i=0,r=0;return"object"==typeof t&&(t.hasOwnProperty("nbf")?i=t.nbf:t.hasOwnProperty("iat")&&(i=t.iat),r=t.hasOwnProperty("exp")?t.exp:i+86400),!!n&&!!i&&!!r&&n>=i&&n<=r},t.issuedAtTime=function(e){var t=b(e).claims;return"object"==typeof t&&t.hasOwnProperty("iat")?t.iat:null},t.jsonEval=y,t.map=function(e,t,n){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(i[r]=t.call(n,e[r],r,e));return i},t.querystring=function(e){for(var t=[],n=function(e,n){Array.isArray(n)?n.forEach(function(n){t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))}):t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))},i=0,r=Object.entries(e);i<r.length;i++){var a=r[i];n(a[0],a[1])}return t.length?"&"+t.join("&"):""},t.querystringDecode=function(e){var t={};return e.replace(/^\?/,"").split("&").forEach(function(e){if(e){var n=e.split("=");t[n[0]]=n[1]}}),t},t.safeGet=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0},t.stringLength=function(e){for(var t=0,n=0;n<e.length;n++){var i=e.charCodeAt(n);i<128?t++:i<2048?t+=2:i>=55296&&i<=56319?(t+=4,n++):t+=3}return t},t.stringToByteArray=function(e){for(var t=[],n=0,i=0;i<e.length;i++){var r=e.charCodeAt(i);if(r>=55296&&r<=56319){var o=r-55296;i++,a(i<e.length,"Surrogate pair missing trail surrogate."),r=65536+(o<<10)+(e.charCodeAt(i)-56320)}r<128?t[n++]=r:r<2048?(t[n++]=r>>6|192,t[n++]=63&r|128):r<65536?(t[n++]=r>>12|224,t[n++]=r>>6&63|128,t[n++]=63&r|128):(t[n++]=r>>18|240,t[n++]=r>>12&63|128,t[n++]=r>>6&63|128,t[n++]=63&r|128)}return t},t.stringify=function(e){return JSON.stringify(e)},t.validateArgCount=function(e,t,n,i){var r;if(i<t?r="at least "+t:i>n&&(r=0===n?"none":"no more than "+n),r)throw new Error(e+" failed: Was called with "+i+(1===i?" argument.":" arguments.")+" Expects "+r+".")},t.validateCallback=function(e,t,n,i){if((!i||n)&&"function"!=typeof n)throw new Error(S(e,t,i)+"must be a valid function.")},t.validateContextObject=function(e,t,n,i){if((!i||n)&&("object"!=typeof n||null===n))throw new Error(S(e,t,i)+"must be a valid context object.")},t.validateIndexedDBOpenable=function(){return new Promise(function(e,t){try{var n=!0,i="validate-browser-context-for-indexeddb-analytics-module",r=window.indexedDB.open(i);r.onsuccess=function(){r.result.close(),n||window.indexedDB.deleteDatabase(i),e(!0)},r.onupgradeneeded=function(){n=!1},r.onerror=function(){var e;t((null===(e=r.error)||void 0===e?void 0:e.message)||"")}}catch(a){t(a)}})},t.validateNamespace=function(e,t,n,i){if((!i||n)&&"string"!=typeof n)throw new Error(S(e,t,i)+"must be a valid firebase namespace.")}},zgtG:function(e,t,n){"use strict";n.d(t,"d",function(){return l}),n.d(t,"b",function(){return c}),n.d(t,"c",function(){return d}),n.d(t,"a",function(){return u});var i=n("uJc7"),r=n("+ic2"),a=n("Bu+s"),o=n("fXoL"),s=n("tk/3"),l=function(){function e(e,t){this.http=e,this.AccountService=t,this._getNewLivetrackSessionsURL="/api/v2/activity/live/get_new_sessions",this._getSessionDataURL="/api/v2/activity/live/get_all_for_group",this._endRogueSessionURL="/api/v2/activity/live/end_rogue_session",this._getLegacySessionDataURL="/api/v2/activity/live/get_all_for_group",this._getSessionMetaDataURL="/api/v2/activity/live/get_group_meta_data",this._livetrackingCheerURL="/api/v2/activity/live/send_cheer",this._livetrackingCheerReplyURL="/api/v2/activity/live/reply_cheers",this._shareIDURL="/api/v2/activity/live/get_workout_id",this._getLiveCount="/api/v2/activity/live/get_live_count_for_all"}return e.prototype.getNewSessions=function(e,t){var n={params:{group_id:e}};return t&&(n.anonymousId="ABCD",n.params.isAnonymous=!0),this.http.post(this.AccountService.getPy3Host()+this._getNewLivetrackSessionsURL,n,{})},e.prototype.endRogueSession=function(e,t){var n={params:{livetrack_id:e}};return t&&(n.anonymousId="ABCD",n.params.isAnonymous=!0),this.http.post(this.AccountService.getPy3Host()+this._endRogueSessionURL,n,{})},e.prototype.getSessionData=function(e,t,n){var i={params:{group_id:t,livetrack_ids:e}};return n&&(i.anonymousId="ABCD",i.params.isAnonymous=!0),this.http.post(this.AccountService.getPy3Host()+this._getSessionDataURL,i,{})},e.prototype.getLegacySessionData=function(e,t,n){var i={params:{group_id:t,livetrack_ids:e}};return n&&(i.anonymousId="ABCD",i.params.isAnonymous=!0),this.http.post(this.AccountService.getHostname()+this._getLegacySessionDataURL,i,{})},e.prototype.getSessionMetaData=function(e,t,n){var i={params:{group_id:t,livetracking_ids:e}};return n&&(i.anonymousId="ABCD",i.params.isAnonymous=!0),this.http.post(this.AccountService.getPy3Host()+this._getSessionMetaDataURL,i,{})},e.prototype.getShareID=function(e,t){var n={params:{live_workout_session_id:e}};return t&&(n.anonymousId="ABCD",n.params.isAnonymous=!0),this.http.post(this.AccountService.getPy3Host()+this._shareIDURL,n,{})},e.prototype.getLiveCount=function(){return this.http.post(this.AccountService.getPy3Host()+this._getLiveCount,{},{})},e.prototype.sendLivetrackingCheer=function(e,t,n,i){return this.http.post(this.AccountService.getPy3Host()+this._livetrackingCheerURL,{params:{accountID:t,message:n,cheer_type:e,source:i}},{})},e.prototype.replyToCheers=function(e,t,n){return this.http.post(this.AccountService.getPy3Host()+this._livetrackingCheerReplyURL,{params:{accountID:t,message:n,source:e}},{})},e.\u0275fac=function(t){return new(t||e)(o["\u0275\u0275inject"](s.b),o["\u0275\u0275inject"](i.a))},e.\u0275prov=o["\u0275\u0275defineInjectable"]({token:e,factory:e.\u0275fac,providedIn:"root"}),e}(),c=function(){function e(e,t){var n;this.darkMode=!1,this.markers=[],this.gpsCoords=[],this.latlngbounds=new google.maps.LatLngBounds,this.defaultOptions={zoom:18,mapTypeId:google.maps.MapTypeId.ROADMAP},t&&(this.darkMode=!0,n=[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}]),this.defaultOptions.styles=n,this.map=new google.maps.Map(e,this.defaultOptions)}return e.prototype.addPolyLine=function(e,t,n){this.darkMode&&"#000000"==t&&(t="#FCB424");var i=new google.maps.Polyline({path:e,geodesic:!0,strokeColor:t,strokeOpacity:1,strokeWeight:5});n&&(i=new google.maps.Polyline({path:e,geodesic:!0,strokeColor:t,strokeOpacity:0,strokeWeight:2,icons:[{icon:a.L,offset:"0",repeat:"1%"}]})),i.setMap(this.map),this.markers.push(i)},e.prototype.markPositionCustom=function(e,t,n,i){var r={url:n,scaledSize:new google.maps.Size(32,32)},a={fillColor:i,path:"M0 0 H 17 -17 V -33 -33 H 17 V 0",fillOpacity:0,strokeOpacity:1,strokeWeight:3,strokeColor:i},o=new google.maps.Marker({position:new google.maps.LatLng(e,t),map:this.map,icon:a,zIndex:9});this.markers.push(o);var s=new google.maps.Marker({position:new google.maps.LatLng(e,t),map:this.map,icon:r,zIndex:10});this.markers.push(s)},e.prototype.removeAllMarkers=function(){this.clear(),this.markers=[]},e.prototype.clear=function(){for(var e=0;e<this.markers.length;e++)this.markers[e].setMap(null);this.markers=[],this.gpsCoords=[]},e}(),d=function(){function e(e){if(this.latestDistance=0,this.totalSnapshots=0,this.profileImage="",this.profileImageURL="",this.accountId="",this.status=0,this.openCustomCheer=!1,this.weather={f:"",c:"",weather_image_url:""},this.lastUpdate=new Date,this.lastUpdateAsNumber=0,this.path=[],this.hidden=!1,this.rawGhostSnapshots=[],this.ghostSnapshots=[],this.hasGPS=!1,this.hasHR=!1,this.hasPower=!1,this.hasImage=!1,this.shareId=null,this.hasFirstData=!1,this.ended=!1,this.snapshots=[],this.closed=!1,this.chartSnapshots=[],this.showHRChart=!1,this.zoneChartLow=[50],this.zoneChartMax=[],this.id=e.livetrack_id,this.color=e.color,this.deviceId=e.device_id,this.profileImage=e.filename,this.hasGPS=e.has_gps,this.hasHR=e.has_hr,this.hasPower=e.has_power,this.hasImage=e.has_profile_image,this.maxHR=e.maxhr,this.name=e.name,this.zones=e.zones,this.powerzones=e.powerzones,this.ecomodule=e.activity_type,e.routine&&e.routine.ghost&&(this.rawGhostSnapshots=e.routine.ghost.snapshots),this.mostRecent={avgBPM:void 0,avgPace:void 0,avgPaceKm:void 0,avgRPM:void 0,avgSpeed:void 0,avgSpeedKm:void 0,avgWatts:void 0,bpm:void 0,calories:void 0,currKPH:void 0,dist:void 0,distance:void 0,distance_km:void 0,elapsed:void 0,lat:void 0,lon:void 0,mhr:void 0,pace_imperial:void 0,pace_metric:void 0,powerZone:void 0,rpm:void 0,speed:void 0,watts:void 0,zone:void 0},this.workoutTypeURL={0:"iUnknownWorkout",1:"iCardioWorkout",2:"iBikerWorkout",3:"iCoreWorkout",4:"iSpinWorkout",5:"iSpinPowerWorkout",8:"iPowerWorkout",128:"iRunnerWorkout",256:"iWalkerWorkout",512:"iHikerWorkout",1024:"iOtherWorkout",2048:"iImportWorkout",81:"MountainBikeWorkout",21:"EllipticalWorkout",16:"CrossfitWorkout",12:"BalletWorkout",71:"BarreWorkout",26:"GymnasticsWorkout",32:"JumpRopeWorkout",36:"MartialArtsWorkout",40:"P90XWorkout",75:"HIITWorkout",44:"RockClimbWorkout",43:"PilatesWorkout",65:"YogaWorkout",76:"StretchWorkout",45:"RowWorkout",79:"PaddleboardWorkout",66:"ZumbaWorkout",63:"WeightLiftWorkout",80:"KettlebellsWorkout",78:"CircuitTrainWorkout",60:"TreadmillRunWorkout",61:"TreadmillWalkWorkout",58:"TableTennisWorkout",83:"StairsWorkout",82:"StairStepperWorkout",54:"SquashWorkout",31:"InsanityWorkout",18:"DanceWorkout",10:"AerobicsWorkout",11:"BadmintonWorkout",13:"BaseballWorkout",14:"BasketballWorkout",23:"FootballWorkout",25:"GolfWorkout",62:"VolleyballWorkout",59:"TennisWorkout",57:"SwimWorkout",53:"SoccerWorkout",30:"InlineSkateWorkout",69:"IceSkateWorkout",51:"SnowboardWorkout",70:"SkiWorkout",15:"CrossCountrySkiWorkout",67:"BoxWorkout",73:"FamilyPlayWorkout",74:"FocusT25Workout",77:"TRXWorkout",68:"DogWalkWorkout"}[e.activity_type],e.routine){this.routine=new r.a(e.routine,!1,null);for(var t=0;t<this.rawGhostSnapshots.length;t++)try{this.ghostSnapshots.push(new google.maps.LatLng(this.rawGhostSnapshots[t].latitude,this.rawGhostSnapshots[t].longitude))}catch(a){}}e.weather&&(this.weather=e.weather),e.snapshots&&this.update(e.snapshots);for(var n=0;n<this.zones[0].length;n++){var i=Object.keys(this.zones[0][n])[0];this.zoneChartLow.push(this.zones[0][n][i][0]),this.zoneChartMax.push(this.zones[0][n][i][1])}}return e.prototype.update=function(e){var t=e[e.length-1];this.snapshots=e,this.totalSnapshots=e.length,this.latestDistance=t.dist,this.hasFirstData=!0,this.hasGPS&&this.updatePath()},e.prototype.updatePath=function(){if(this.path.length<this.totalSnapshots)for(var e=this.path.length;e<this.totalSnapshots;e++)this.snapshots[e].lat&&(this.path.push({lat:parseFloat(this.snapshots[e].lat),lng:parseFloat(this.snapshots[e].lon)}),this.chartSnapshots.push([this.snapshots[e].elapsed,this.snapshots[e].bpm]))},e}();function u(e,t){var n=document.createElement("div");n.style.backgroundImage="url(/static/img/location-zoom-center.png)",n.style.backgroundSize="contain",n.style.height="50px",n.style.width="50px",n.title="Click to recenter the map",e.appendChild(n),n.addEventListener("click",function(){t()})}},zn8P:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"},zp1y:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("KQm4"),r=n("JX7q"),a=n("Ji7U"),o=n("LK+K"),s=n("1OyB"),l=n("vuIU"),c=n("l7GE"),d=n("ZUHj");function u(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){var n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new p(t,n))}}var p=function(){function e(t,n){Object(s.a)(this,e),this.observables=t,this.project=n}return Object(l.a)(e,[{key:"call",value:function(e,t){return t.subscribe(new h(e,this.observables,this.project))}}]),e}(),h=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e,i,a){var o;Object(s.a)(this,n),(o=t.call(this,e)).observables=i,o.project=a,o.toRespond=[];var l=i.length;o.values=new Array(l);for(var c=0;c<l;c++)o.toRespond.push(c);for(var u=0;u<l;u++){var p=i[u];o.add(Object(d.a)(Object(r.a)(o),p,void 0,u))}return o}return Object(l.a)(n,[{key:"notifyNext",value:function(e,t,n){this.values[n]=t;var i=this.toRespond;if(i.length>0){var r=i.indexOf(n);-1!==r&&i.splice(r,1)}}},{key:"notifyComplete",value:function(){}},{key:"_next",value:function(e){if(0===this.toRespond.length){var t=[e].concat(Object(i.a)(this.values));this.project?this._tryProject(t):this.destination.next(t)}}},{key:"_tryProject",value:function(e){var t;try{t=this.project.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(c.a)},zx2A:function(e,t,n){"use strict";n.d(t,"a",function(){return d}),n.d(t,"b",function(){return u}),n.d(t,"c",function(){return p});var i=n("1OyB"),r=n("vuIU"),a=n("Ji7U"),o=n("LK+K"),s=n("7o/Q"),l=n("HDdC"),c=n("SeVD"),d=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(e){var r;return Object(i.a)(this,n),(r=t.call(this)).parent=e,r}return Object(r.a)(n,[{key:"_next",value:function(e){this.parent.notifyNext(e)}},{key:"_error",value:function(e){this.parent.notifyError(e),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(),this.unsubscribe()}}]),n}(s.a),u=function(e){Object(a.a)(n,e);var t=Object(o.a)(n);function n(){return Object(i.a)(this,n),t.apply(this,arguments)}return Object(r.a)(n,[{key:"notifyNext",value:function(e){this.destination.next(e)}},{key:"notifyError",value:function(e){this.destination.error(e)}},{key:"notifyComplete",value:function(){this.destination.complete()}}]),n}(s.a);function p(e,t){if(!t.closed)return e instanceof l.a?e.subscribe(t):Object(c.a)(e)(t)}},zx6S:function(e,t,n){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],d:["jedan dan","jednog dana"],dd:["dan","dana","dana"],M:["jedan mesec","jednog meseca"],MM:["mesec","meseca","meseci"],y:["jednu godinu","jedne godine"],yy:["godinu","godine","godina"]},correctGrammaticalCase:function(e,t){return e%10>=1&&e%10<=4&&(e%100<10||e%100>=20)?e%10==1?t[0]:t[1]:t[2]},translate:function(e,n,i,r){var a,o=t.words[i];return 1===i.length?"y"===i&&n?"jedna godina":r||n?o[0]:o[1]:(a=t.correctGrammaticalCase(e,o),"yy"===i&&n&&"godinu"===a?e+" godina":e+" "+a)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_\u010detvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._\u010det._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_\u010de_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[ju\u010de u] LT",lastWeek:function(){return["[pro\u0161le] [nedelje] [u] LT","[pro\u0161log] [ponedeljka] [u] LT","[pro\u0161log] [utorka] [u] LT","[pro\u0161le] [srede] [u] LT","[pro\u0161log] [\u010detvrtka] [u] LT","[pro\u0161log] [petka] [u] LT","[pro\u0161le] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:t.translate,dd:t.translate,M:t.translate,MM:t.translate,y:t.translate,yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(n("wd/R"))}},[[0,1]]]);